CN110674586B - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN110674586B
CN110674586B CN201910934056.7A CN201910934056A CN110674586B CN 110674586 B CN110674586 B CN 110674586B CN 201910934056 A CN201910934056 A CN 201910934056A CN 110674586 B CN110674586 B CN 110674586B
Authority
CN
China
Prior art keywords
current data
time
backlight current
laser
target formula
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910934056.7A
Other languages
Chinese (zh)
Other versions
CN110674586A (en
Inventor
温永阔
陈开帆
胡靖�
黄黎明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wuhan East Feiling Technology Co ltd
Original Assignee
Wuhan East Feiling Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wuhan East Feiling Technology Co ltd filed Critical Wuhan East Feiling Technology Co ltd
Priority to CN201910934056.7A priority Critical patent/CN110674586B/en
Publication of CN110674586A publication Critical patent/CN110674586A/en
Application granted granted Critical
Publication of CN110674586B publication Critical patent/CN110674586B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Lasers (AREA)
  • Semiconductor Lasers (AREA)

Abstract

The application is applicable to the technical field of computers, and provides a data processing method, which comprises the following steps: acquiring backlight current data of a laser, wherein the number of the backlight current data is more than one; generating a target formula according to the acquisition time corresponding to the backlight current data and the backlight current data, wherein the target formula can reflect the corresponding relation between the backlight current data variation and the time length; and predicting the corresponding failure time of the laser according to the target formula. By the method, the service life evaluation efficiency of the laser can be improved.

Description

Data processing method and device
Technical Field
The present application belongs to the field of computer technologies, and in particular, to a data processing method and apparatus.
Background
The laser is a basic unit for performing photoelectric signal conversion, and is widely applied to various application fields of the optical fiber communication industry, such as fiber-to-the-home, long-distance inter-city network communication and 4G/5G wireless network communication.
The lifetime of the laser is more and more emphasized, however, the current methods for evaluating the lifetime of the laser generally include: the laser was tested for a lifetime of 5000 hours according to GR-468 or the military standard. The whole experimental process is long in time consumption, and the evaluation efficiency of the service life of the laser is low.
Disclosure of Invention
The embodiment of the application provides a data processing method and device, and can solve the problem that the service life of the existing laser is low in evaluation efficiency.
In a first aspect, an embodiment of the present application provides a data processing method, including:
acquiring backlight current data of a laser, wherein the number of the backlight current data is more than one;
generating a target formula according to the acquisition time corresponding to the backlight current data and the backlight current data, wherein the target formula can reflect the corresponding relation between the backlight current data variation and the time length;
and predicting the corresponding failure time of the laser according to the target formula.
In a first possible implementation manner of the first aspect, before the generating a target formula according to the acquisition time corresponding to the backlight current data and the backlight current data, the method includes:
determining the acquisition time corresponding to the change rate of the backlight current data which is less than or equal to a first preset change rate threshold value as an expected initial time;
correspondingly, the generating a target formula according to the acquisition time corresponding to the backlight current data and the backlight current data includes:
and generating a target formula according to the predicted starting time, the acquisition time after the predicted starting time, the backlight current data corresponding to the predicted starting time and the backlight current data corresponding to the acquisition time after the predicted starting time.
Based on the first possible implementation manner of the first aspect of the present application, in a second possible implementation manner, the method includes:
and if the change rate of the backlight current data corresponding to the acquisition time after the expected starting time is less than or equal to a second preset change rate threshold, or/and the difference value between the maximum value and the minimum value of the backlight current data corresponding to the acquisition time after the expected starting time is less than or equal to a preset change amount threshold, determining the quality grade of the laser as a first quality grade, wherein the first preset change rate threshold is greater than the second preset change rate threshold.
Based on the first possible implementation manner of the first aspect of the present application, in a third possible implementation manner, the method includes:
and if the predicted starting time does not exist in the acquisition time corresponding to the backlight current data, determining the quality grade of the laser as a second quality grade.
Based on the first possible implementation manner of the first aspect of the present application, in a fourth possible implementation manner, the generating a target formula according to the predicted start time, the acquisition time after the predicted start time, the backlight current data corresponding to the predicted start time, and the backlight current data corresponding to the acquisition time after the predicted start time includes:
generating a line graph according to the estimated starting time, the acquisition time after the estimated starting time, the backlight current data corresponding to the estimated starting time and the backlight current data corresponding to the acquisition time after the estimated starting time;
and generating a target formula according to the line graph.
Based on the fourth possible implementation manner of the first aspect of the present application, in a fifth possible implementation manner, the generating a target formula according to the line graph includes:
and fitting the line graph to generate a target formula, wherein the fitting mode comprises linear fitting or N-order polynomial fitting, and N is a positive integer greater than one.
In a sixth possible implementation manner of the first aspect, after predicting the failure time corresponding to the laser according to the target formula, the method includes:
and outputting the corresponding failure time of the laser.
In a second aspect, an embodiment of the present application provides a data processing apparatus, including:
the device comprises an acquisition unit, a processing unit and a control unit, wherein the acquisition unit is used for acquiring backlight current data of the laser, and the number of the backlight current data is more than one;
the formula generation unit is used for generating a target formula according to the acquisition time corresponding to the backlight current data and the backlight current data, and the target formula can reflect the corresponding relation between the backlight current data variation and the time length;
and the prediction unit is used for predicting the corresponding failure time of the laser according to the target formula.
In a third aspect, an embodiment of the present application provides a terminal device, including: a memory, a processor and a computer program stored in the memory and executable on the processor, the processor implementing the steps of the data processing method as described when executing the computer program.
In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, including: the computer-readable storage medium stores a computer program which, when executed by a processor, implements the steps of the data processing method as described.
In a fifth aspect, an embodiment of the present application provides a computer program product, which, when run on a terminal device, causes the terminal device to execute the steps of the data processing method according to any one of the first aspect.
It is understood that the beneficial effects of the second aspect to the fifth aspect can be referred to the related description of the first aspect, and are not described herein again.
Compared with the prior art, the embodiment of the application has the advantages that: the forward light and the backlight of the laser are in a direct proportional change relationship, and the backlight light and the backlight current data are in a positive correlation relationship, so that the forward light and the backlight current data are in a positive correlation relationship, the change trend of the backlight current data reflects the change trend of the forward light, and a target formula can be generated according to the acquisition time and the backlight current data corresponding to the backlight current data, the target formula can reflect the corresponding relationship between the backlight current data change and the time length, namely the change trend of the backlight current data can be reflected, and the corresponding failure time of the laser can be predicted according to the target formula. The premise of generating the target formula is that backlight current data with the number larger than one are collected, and the time consumed for collecting the backlight current data is much shorter than that of the existing service life test, so that the service life evaluation efficiency of the laser is greatly improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart of a data processing method according to an embodiment of the present application;
FIG. 2 is a schematic flow chart diagram illustrating a data processing method according to another embodiment of the present application;
FIG. 3 is a schematic illustration of a line graph provided by an embodiment of the present application;
fig. 4 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
The data processing method provided by the embodiment of the application can be applied to terminal devices such as a mobile phone, a tablet personal computer, a wearable device, a vehicle-mounted device, an Augmented Reality (AR)/Virtual Reality (VR) device, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a Personal Digital Assistant (PDA), and the like, and the embodiment of the application does not limit the specific type of the terminal device at all.
The first embodiment is as follows:
fig. 1 shows a schematic flow chart of a first data processing method provided in an embodiment of the present application, which is detailed as follows:
step S101, collecting backlight current data of the laser, wherein the number of the backlight current data is more than one.
Specifically, the step S101 includes: and if the chip driving current of the laser is greater than or equal to the preset driving current threshold, acquiring backlight current data of the laser at preset time intervals.
By way of example and not limitation, the chip driving current of the laser may be 100mA, the preset time interval is 0.5 hour, and if the chip driving current of the laser is greater than or equal to 100mA, the backlight current data of the laser is collected every 0.5 hour.
Optionally, the step S101 includes: and if the temperature of the environment where the laser is located is greater than or equal to a preset temperature threshold value and the chip driving current of the laser is greater than or equal to a preset driving current threshold value, acquiring backlight current data of the laser.
By way of example and not limitation, the preset temperature threshold may be 100 degrees celsius.
When the temperature of the environment where the laser is located is higher or/and the chip driving current of the laser is higher, the laser with the defect is accelerated to age, so that the backlight current data corresponding to the laser with the defect can obviously show the attenuation trend, and the laser with the defect can be screened out quickly.
By way of example and not limitation, the temperature of the environment in which the laser is located may be controlled by a user, for example, by setting the temperature of the oven to control the temperature of the environment in which the laser is located in the oven. And step S102, generating a target formula according to the acquisition time corresponding to the backlight current data and the backlight current data, wherein the target formula can reflect the corresponding relation between the backlight current data variation and the time length.
Specifically, the step S102 includes: and determining backlight current data variation corresponding to the backlight current data, and generating a target formula according to the acquisition time corresponding to the backlight current data and the backlight current data variation corresponding to the backlight current data.
And S103, predicting the corresponding failure time of the laser according to the target formula.
Specifically, the step S103 includes: and taking the backlight current data variable quantity corresponding to the laser failure state as the input of the target formula, so as to calculate the failure time corresponding to the laser according to the target formula, wherein the backlight current data variable quantity corresponding to the laser failure state can be obtained by counting the backlight current data corresponding to the failed laser failure state.
Optionally, in order to facilitate the user to know the corresponding failure time of the laser, after step S103, the method includes: and outputting the corresponding failure time of the laser.
Specifically, the outputting the corresponding failure time of the laser includes: and outputting the corresponding failure time of the laser in a text or voice mode.
In the embodiment of the application, because the forward light and the backlight of laser are the direct proportion change relation, backlight and backlight current data become positive correlation, consequently, forward light and backlight current data become positive correlation to the trend of change of backlight current data can reflect the trend of change of forward light, because can be according to the acquisition time that backlight current data corresponds and backlight current data generation target formula again, the corresponding relation between target formula can reflect backlight current data variation and time length, can embody the trend of change of backlight current data, thereby according to the target formula can predict the dead time that the laser corresponds. The premise of generating the target formula is that backlight current data with the number larger than one is collected, and the time consumed for collecting the backlight current data is much shorter than that of the existing service life test, so that the service life evaluation efficiency of the laser can be greatly improved.
Example two:
fig. 2 shows a schematic flow chart of a second data processing method provided in the embodiment of the present application, where steps S201 and S204 in this embodiment are respectively the same as steps S101 and S103 in the first embodiment, and are not repeated here:
step S201, collecting backlight current data of the laser, wherein the number of the backlight current data is more than one.
Step S202, determining the acquisition time corresponding to the change rate of the backlight current data smaller than or equal to the first preset change rate threshold as the expected start time.
Wherein a change rate of the backlight current data is equal to a backlight current data change amount per unit time; after the laser obtains the power supply, because laser self can give off the heat, the temperature of laser self can rise fast, and the backlight current data can diminish fast, and after certain time, the rate of change of the temperature of laser self is less than or equal to predetermines the temperature rate of change, and the temperature of laser self is in certain stable condition promptly, and the backlight current data also can be gradually stable for the rate of change of backlight current data is less than or equal to first predetermined rate of change threshold value.
Specifically, the earliest acquisition time among the acquisition times corresponding to the rate of change of the backlight current data that is less than or equal to the first preset rate-of-change threshold is determined as the predicted start time.
By way of example and not limitation, assuming that there are backlight current data a1, a2, A3 and a4, a1, a2, A3 and a4 are 200uA, 250uA, 260uA and 270uA respectively, and the corresponding acquisition times are 1:10, 1:40, 2:10 and 2:40 respectively, the rate of change of the backlight current data corresponding to a2 is (250-200)/0.5-100, the rate of change of the backlight current data corresponding to A3 is (260-250)/0.5-20, the rate of change of the backlight current data corresponding to a4 is (270-260)/0.5-20, and assuming that the first preset rate of change threshold is 30, the acquisition times corresponding to the rate of change of the backlight current data smaller than or equal to the first preset rate of change threshold include: 2:10 and 2:40, wherein 2:10 is the earliest acquisition time in the acquisition times corresponding to the rate of change of the backlight current data being less than the first preset rate of change threshold, and 2:10 is determined as the expected start time.
Optionally, since the change rate of the backlight current data or the difference between the maximum value and the minimum value of the backlight current data may reflect the stability of the laser, and the stability of the laser may affect the quality evaluation of the laser, in order to evaluate the quality of the laser more accurately, if the change rate of the backlight current data corresponding to the acquisition time after the expected start time is less than or equal to a second preset change rate threshold, or/and the difference between the maximum value and the minimum value of the backlight current data corresponding to the acquisition time after the expected start time is less than or equal to a preset change amount threshold, the quality level of the laser is determined as a first quality level, and the first preset change rate threshold is greater than the second preset change rate threshold.
Since the first preset change rate threshold is greater than the second preset change rate threshold, it means that the stability of the backlight current data corresponding to the second preset change rate threshold is higher than the stability of the backlight current data corresponding to the second preset change rate threshold.
As an example and not by way of limitation, assuming that the preset variation threshold is 100uA, the maximum value of the backlight current data corresponding to the acquisition time after the predicted start time is 330uA, and the minimum value is 240uA, and the difference between the two values is 90uA and is less than 100uA, the quality grade of the laser is determined as a first quality grade, which may be an excellent grade among qualified product grades, and indicates that the laser has a longer life.
Optionally, the acquisition time corresponding to the change rate of the backlight current data which is less than or equal to the first preset change rate threshold is determined as the predicted start time, that is, the predicted start time is the time when the laser starts to be in a more stable state, if the predicted start time does not exist in the acquisition time corresponding to the backlight current data, the stability of the laser is low, and the classification criterion of the quality grade of the laser includes the stability.
By way of example and not limitation, assume that the acquisition time corresponding to the backlight current data comprises: 1:10, 1:40, 2:10 and 2:40, if there is no predicted start time in the acquisition time corresponding to the backlight current data, determining the quality grade of the laser as a second quality grade, which may be an unqualified product grade.
Step S203, generating a target formula according to the predicted start time, the acquisition time after the predicted start time, the backlight current data corresponding to the predicted start time, and the backlight current data corresponding to the acquisition time after the predicted start time.
Specifically, the step S203 includes:
performing the following steps (including step a1, step a2, and step A3) for each acquisition time after the projected start time:
step A1, calculating a time difference between the acquisition time after the predicted start time and the predicted start time, wherein the time difference is the time length between the acquisition time after the predicted start time and the predicted start time;
step A2, calculating a current data difference value between the backlight current data corresponding to the collection time after the expected start time and the backlight current data corresponding to the expected start time, wherein the current data difference value is a backlight current data variation corresponding to the backlight current data corresponding to the collection time after the expected start time;
step A3, calculating a current data quotient corresponding to the acquisition time after the expected starting time, wherein the current data quotient is a quotient obtained by dividing the current data difference value by the backlight current data corresponding to the expected starting time;
and generating a target formula according to all the current data quotients and all the time difference values.
Optionally, the generating a target formula according to the predicted start time, the collecting time after the predicted start time, the backlight current data corresponding to the predicted start time, and the backlight current data corresponding to the collecting time after the predicted start time includes: generating a line graph according to the estimated starting time, the acquisition time after the estimated starting time, the backlight current data corresponding to the estimated starting time and the backlight current data corresponding to the acquisition time after the estimated starting time; and generating a target formula according to the line graph. The generated line graph can more intuitively reflect the variation trend of the backlight current data.
Specifically, the following steps (including step B1, step B2, step B3, and step B4) are performed for each acquisition time following the expected start time:
step B1, calculating a time difference between the acquisition time after the predicted starting time and the predicted starting time, and determining the time difference as an abscissa corresponding to the acquisition time after the predicted starting time in the preset coordinate system;
step B2, calculating a current data difference value between the backlight current data corresponding to the collection time after the expected starting time and the backlight current data corresponding to the expected starting time;
step B3, calculating a current data quotient corresponding to the collection time after the expected starting time, and determining the current data quotient as a vertical coordinate corresponding to the collection time in the preset coordinate system;
step B4, determining a point corresponding to the collection time after the predicted starting time in the preset coordinate system according to the abscissa and the ordinate;
and generating a line graph according to all the determined points, and generating a target formula according to the line graph.
Optionally, in order to improve the accuracy of the generated target formula, the generating the target formula according to the line graph includes: and fitting the line graph to generate a target formula, wherein the fitting mode comprises linear fitting or N-order polynomial fitting, and N is a positive integer greater than one.
By way of example and not limitation, a second order polynomial fit is performed on the line graph, which may be as shown in FIG. 3, to generate a target formula.
And step S204, predicting the corresponding failure time of the laser according to the target formula.
In the embodiment of the application, since the change rate of the backlight current data can reflect the stability of the laser, the acquisition time corresponding to the change rate of the backlight current data which is less than or equal to the first preset change rate threshold is determined as the predicted start time, that is, the predicted start time is the time when the laser starts to be in a relatively stable state, so that the scientificity of the target formula generated according to the predicted start time, the acquisition time after the predicted start time, the backlight current data corresponding to the predicted start time and the backlight current data corresponding to the acquisition time after the predicted start time is relatively high, and the accuracy of the calculated failure time corresponding to the laser is greatly improved.
Example three:
corresponding to the above embodiments, fig. 4 shows a schematic structural diagram of a data processing apparatus provided in the embodiments of the present application, and for convenience of description, only the parts related to the embodiments of the present application are shown.
The data processing apparatus includes: an acquisition unit 401, a formula generation unit 402, and a prediction unit 403.
The acquisition unit 401 is configured to acquire backlight current data of the laser, where the number of the backlight current data is greater than one.
The acquisition unit 401 is specifically configured to: and acquiring backlight current data of the laser at preset time intervals within a preset acquisition time range.
The formula generating unit 402 is configured to generate a target formula according to the acquisition time corresponding to the backlight current data and the backlight current data, where the target formula can reflect a corresponding relationship between the backlight current data variation and the time length.
The formula generating unit 402 is specifically configured to: and determining backlight current data variation corresponding to the backlight current data, and generating a target formula according to the acquisition time corresponding to the backlight current data and the backlight current data variation corresponding to the backlight current data.
Optionally, the data processing apparatus further comprises: a time determination unit.
The time determination unit is configured to: before the formula generation unit 402 executes the generation of the target formula according to the acquisition time corresponding to the backlight current data and the backlight current data, determining the acquisition time corresponding to the change rate of the backlight current data which is less than or equal to a first preset change rate threshold value as an expected starting time; correspondingly, when the formula generating unit 402 executes the target formula generated according to the acquisition time corresponding to the backlight current data and the backlight current data, specifically, the formula generating unit is configured to: and generating a target formula according to the predicted starting time, the acquisition time after the predicted starting time, the backlight current data corresponding to the predicted starting time and the backlight current data corresponding to the acquisition time after the predicted starting time.
Wherein a change rate of the backlight current data is equal to a backlight current data change amount per unit time.
When the time determining unit determines, as the expected start time, the acquisition time corresponding to the change rate of the backlight current data smaller than or equal to the first preset change rate threshold, specifically: and determining the earliest acquisition time in the acquisition times corresponding to the change rate of the backlight current data which is less than or equal to the first preset change rate threshold value as the predicted starting time.
Optionally, the data processing apparatus further comprises: a first quality level determination unit.
The first quality level determination unit is configured to: and if the change rate of the backlight current data corresponding to the acquisition time after the expected starting time is less than or equal to a second preset change rate threshold, or/and the difference value between the maximum value and the minimum value of the backlight current data corresponding to the acquisition time after the expected starting time is less than or equal to a preset change amount threshold, determining the quality grade of the laser as a first quality grade, wherein the first preset change rate threshold is greater than the second preset change rate threshold.
Optionally, the data processing apparatus further comprises: a second quality level determination unit.
And if the predicted starting time does not exist in the acquisition time corresponding to the backlight current data, determining the quality grade of the laser as a second quality grade.
Optionally, when the formula generating unit 402 executes the target formula generated according to the predicted start time, the acquisition time after the predicted start time, the backlight current data corresponding to the predicted start time, and the backlight current data corresponding to the acquisition time after the predicted start time, the formula generating unit is specifically configured to: generating a line graph according to the estimated starting time, the acquisition time after the estimated starting time, the backlight current data corresponding to the estimated starting time and the backlight current data corresponding to the acquisition time after the estimated starting time; and generating a target formula according to the line graph.
Optionally, when the formula generating unit 402 executes the target formula generated according to the line graph, it is specifically configured to: and fitting the line graph to generate a target formula, wherein the fitting mode comprises linear fitting or N-order polynomial fitting, and N is a positive integer greater than one.
And a predicting unit 403, configured to predict a corresponding failure time of the laser according to the target formula.
The prediction unit 403 is specifically configured to: and taking the backlight current data variable quantity corresponding to the laser failure state as the input of the target formula, so as to calculate the failure time corresponding to the laser according to the target formula, wherein the backlight current data variable quantity corresponding to the laser failure state can be obtained by counting the backlight current data corresponding to the failed laser failure state.
Optionally, the data processing apparatus further comprises: and a time output unit.
The time output unit is specifically configured to: after the predicting unit 403 performs the prediction of the failure time corresponding to the laser according to the target formula, outputting the failure time corresponding to the laser.
The time output unit is specifically configured to, when the outputting of the corresponding failure time of the laser is performed: and outputting the corresponding failure time of the laser in a text or voice mode.
In the embodiment of the application, because the forward light and the backlight of laser are the direct proportion change relation, backlight and backlight current data become positive correlation, consequently, forward light and backlight current data become positive correlation to the trend of change of backlight current data can reflect the trend of change of forward light, because can be according to the acquisition time that backlight current data corresponds and backlight current data generation target formula again, the corresponding relation between target formula can reflect backlight current data variation and time length, can embody the trend of change of backlight current data, thereby according to the target formula can predict the dead time that the laser corresponds. The premise of generating the target formula is that backlight current data with the number larger than one is collected, and the time consumed for collecting the backlight current data is much shorter than that of the existing service life test, so that the service life evaluation efficiency of the laser can be greatly improved.
Example four:
fig. 5 is a schematic structural diagram of a data processing terminal device according to an embodiment of the present application. As shown in fig. 5, the data processing terminal device 5 of this embodiment includes: at least one processor 50 (only one shown in fig. 5), a memory 51, and a computer program 52 stored in the memory 51 and executable on the at least one processor 50, the processor 50 implementing the steps in any of the various data processing method embodiments described above when executing the computer program 52.
The data processing terminal device 5 may be a desktop computer, a notebook computer, a palm computer, a cloud server, or other computing devices. The data processing terminal device may include, but is not limited to, a processor 50, a memory 51. Those skilled in the art will appreciate that fig. 5 is only an example of the data processing terminal device 5, and does not constitute a limitation to the data processing terminal device 5, and may include more or less components than those shown, or combine some components, or different components, for example, and may also include input and output devices, network access devices, and the like.
The Processor 50 may be a Central Processing Unit (CPU), and the Processor 50 may be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 51 may in some embodiments be an internal storage unit of the data processing terminal 5, such as a hard disk or a memory of the data processing terminal 5. The memory 51 may also be an external storage device of the data processing terminal 5 in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the data processing terminal 5. Further, the memory 51 may also include both an internal storage unit and an external storage device of the data processing terminal device 5. The memory 51 is used for storing an operating system, an application program, a BootLoader (BootLoader), data, and other programs, such as program codes of the computer program. The memory 51 may also be used to temporarily store data that has been output or is to be output.
It should be noted that, because the contents of information interaction, execution process, and the like between the above units are based on the same concept as that of the embodiment of the method of the present application, specific functions and technical effects thereof may be specifically referred to a part of the embodiment of the method, and details thereof are not described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps in the above-mentioned method embodiments.
The embodiments of the present application provide a computer program product, which when running on a mobile terminal, enables the mobile terminal to implement the steps in the above method embodiments when executed.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or apparatus capable of carrying computer program code to a photographing terminal device, recording medium, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, and software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed network device and method may be implemented in other ways. For example, the above described network device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (9)

1. A data processing method is applied to terminal equipment, and is characterized by comprising the following steps:
acquiring backlight current data of a laser, wherein the acquiring of the backlight current data of the laser comprises: if the temperature of the environment where the laser is located is larger than or equal to a preset temperature threshold value, and the chip driving current of the laser is larger than or equal to a preset driving current threshold value, acquiring backlight current data of the laser at preset time intervals, wherein the number of the backlight current data is larger than one and is in an attenuation trend;
determining the acquisition time corresponding to the change rate of the backlight current data which is less than or equal to a first preset change rate threshold value as an expected initial time;
generating a target formula according to the acquisition time corresponding to the backlight current data and the backlight current data, wherein the target formula can reflect the corresponding relationship between the backlight current data variation and the time length, and the generating the target formula according to the acquisition time corresponding to the backlight current data and the backlight current data comprises: generating a target formula according to the estimated starting time, the acquisition time after the estimated starting time, the backlight current data corresponding to the estimated starting time and the backlight current data corresponding to the acquisition time after the estimated starting time;
and predicting the corresponding failure time of the laser according to the target formula.
2. The data processing method of claim 1, comprising:
and if the change rate of the backlight current data corresponding to the acquisition time after the expected starting time is less than or equal to a second preset change rate threshold, or/and the difference value between the maximum value and the minimum value of the backlight current data corresponding to the acquisition time after the expected starting time is less than or equal to a preset change amount threshold, determining the quality grade of the laser as a first quality grade, wherein the first preset change rate threshold is greater than the second preset change rate threshold.
3. The data processing method of claim 1, comprising:
and if the predicted starting time does not exist in the acquisition time corresponding to the backlight current data, determining the quality grade of the laser as a second quality grade.
4. The data processing method of claim 1, wherein generating a target formula based on the predicted start time, the acquisition time after the predicted start time, the backlight current data corresponding to the predicted start time, and the backlight current data corresponding to the acquisition time after the predicted start time comprises:
generating a line graph according to the estimated starting time, the acquisition time after the estimated starting time, the backlight current data corresponding to the estimated starting time and the backlight current data corresponding to the acquisition time after the estimated starting time;
and generating a target formula according to the line graph.
5. The data processing method of claim 4, wherein the generating a target formula from the line graph comprises:
and fitting the line graph to generate a target formula, wherein the fitting mode comprises linear fitting or N-order polynomial fitting, and N is a positive integer greater than one.
6. The data processing method of claim 1, wherein after predicting the corresponding failure time of the laser according to the target formula, comprising:
and outputting the corresponding failure time of the laser.
7. A data processing apparatus, characterized in that the data processing apparatus is applied to a terminal device, the data processing apparatus comprising:
the acquisition unit is used for acquiring backlight current data of the laser, and when the acquisition unit is used for acquiring the backlight current data of the laser, the acquisition unit is specifically used for: if the temperature of the environment where the laser is located is larger than or equal to a preset temperature threshold value, and the chip driving current of the laser is larger than or equal to a preset driving current threshold value, acquiring backlight current data of the laser at preset time intervals, wherein the number of the backlight current data is larger than one and is in an attenuation trend;
the time determining unit is used for determining the acquisition time corresponding to the change rate of the backlight current data which is less than or equal to a first preset change rate threshold value as the predicted starting time;
a formula generating unit, configured to generate a target formula according to the acquisition time corresponding to the backlight current data and the backlight current data, where the target formula can reflect a corresponding relationship between a backlight current data variation and a time length, and when the formula generating unit executes the generation of the target formula according to the acquisition time corresponding to the backlight current data and the backlight current data, the formula generating unit is specifically configured to: generating a target formula according to the estimated starting time, the acquisition time after the estimated starting time, the backlight current data corresponding to the estimated starting time and the backlight current data corresponding to the acquisition time after the estimated starting time;
and the prediction unit is used for predicting the corresponding failure time of the laser according to the target formula.
8. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN201910934056.7A 2019-09-29 2019-09-29 Data processing method and device Active CN110674586B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910934056.7A CN110674586B (en) 2019-09-29 2019-09-29 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910934056.7A CN110674586B (en) 2019-09-29 2019-09-29 Data processing method and device

Publications (2)

Publication Number Publication Date
CN110674586A CN110674586A (en) 2020-01-10
CN110674586B true CN110674586B (en) 2021-02-26

Family

ID=69080065

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910934056.7A Active CN110674586B (en) 2019-09-29 2019-09-29 Data processing method and device

Country Status (1)

Country Link
CN (1) CN110674586B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108521293A (en) * 2018-04-04 2018-09-11 中国人民解放军国防科技大学 Method for monitoring semiconductor laser degradation on line
CN109000734A (en) * 2018-08-18 2018-12-14 成都飞机工业(集团)有限责任公司 The method of real-time monitoring optical module working condition ageing process

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060159140A1 (en) * 2005-01-17 2006-07-20 Fanuc Ltd Laser oscillator and method of estimating the lifetime of a pump light source
CN201035122Y (en) * 2007-05-25 2008-03-12 河南大学 A drive electric power capable of detecting semiconductor laser operation life
US20130077646A1 (en) * 2007-09-28 2013-03-28 Jiaxi Kan Automatic modulation control for maintaining constant extinction ratio (er), or constant optical modulation amplitude (oma) in an optical transceiver
CN201796077U (en) * 2010-08-12 2011-04-13 深圳新飞通光电子技术有限公司 Laser device bias current monitoring circuit with APC (automatic phase control) function
CN102931579B (en) * 2012-11-09 2014-11-12 武汉电信器件有限公司 Drive control device of belt refrigeration laser and drive control method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108521293A (en) * 2018-04-04 2018-09-11 中国人民解放军国防科技大学 Method for monitoring semiconductor laser degradation on line
CN109000734A (en) * 2018-08-18 2018-12-14 成都飞机工业(集团)有限责任公司 The method of real-time monitoring optical module working condition ageing process

Also Published As

Publication number Publication date
CN110674586A (en) 2020-01-10

Similar Documents

Publication Publication Date Title
CN106445783A (en) Method and device for detecting jamming of electronic equipment and electronic equipment
CN106772091A (en) The update method of battery capacity value, device and terminal
EP3806008A1 (en) Model generation device for lifespan prediction, model generation method for lifespan prediction, and storage medium storing model generation program for lifespan prediction
US11193984B2 (en) Method and device for the service life-optimized usage of an electrochemical energy store
CN114996173B (en) Method and device for managing write operation of storage equipment
CN113815481B (en) Battery pack selection method and device, electronic equipment and storage medium
CN110674586B (en) Data processing method and device
CN112331249B (en) Method, device, terminal equipment and storage medium for predicting service life of storage device
CN116295902A (en) Method and device for detecting environmental temperature of electronic equipment
CN109683809B (en) Data storage method and terminal
CN114884813A (en) Network architecture determination method and device, electronic equipment and storage medium
CN114355208A (en) Battery fault determination method and device, electronic equipment and storage medium
CN111415066A (en) Risk assessment method and device
CN114435273B (en) Engine starting capability determining method and device, electronic equipment and storage medium
CN111157907A (en) Detection method and device, charging method and device, electronic device and storage medium
CN115754825B (en) Capacitance detection method and device and data board
CN112819491B (en) Method and device for converting data processing, electronic equipment and storage medium
CN113671387B (en) Electric quantity estimation method and device for lithium battery electric vehicle
CN114885231B (en) Communication protocol self-adaptive signal acquisition method, system, terminal and medium
CN111669104B (en) Motor driving method, device, terminal and storage medium
CN116754919B (en) Outfield life assessment method and device, electronic equipment and storage medium
CN115267312B (en) ADC voltage detection compensation method, device, equipment and storage medium
CN115290798B (en) Stability performance monitoring method and terminal of transformer oil chromatographic online monitoring device
CN116881801A (en) Method and device for optimizing and sampling inbound steel
CN117192251A (en) Aging performance testing method, device and equipment for super capacitor and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant