Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth such as the particular system architecture, 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 should 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 the present specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
As used in the present description and the appended claims, the term "if" may be interpreted as "when..once" or "in response to a determination" or "in response to detection" depending on the context. Similarly, the phrase "if a determination" or "if a [ described condition or event ] is detected" may be interpreted in the context of meaning "upon determination" or "in response to determination" or "upon detection of a [ described condition or event ]" or "in response to detection of a [ described condition or event ]".
Furthermore, the terms "first," "second," "third," and the like in the description of the present specification and in the appended claims, are used for distinguishing between descriptions and not necessarily for indicating or implying a relative importance.
Reference in the 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 application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," and the like in the specification are not necessarily all referring to the same embodiment, but mean "one or more but not all embodiments" unless expressly specified otherwise. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless expressly specified otherwise.
In application, manufacturers generally collect global software and hardware data in the life cycle of terminal equipment, and screen relevant software and hardware data at corresponding time when the terminal equipment fails, but the information quantity of the global software and hardware data is huge, so that the relevant software and hardware data are easy to screen in a missing or wrong screening manner in the screening process, the accuracy of determining the failure cause is reduced, and the failure detection and repair efficiency is affected. Therefore, how to improve the accuracy of determining the cause of the fault becomes a current urgent problem to be solved.
Aiming at the technical problems, the embodiment of the application provides a fault analysis method, which obtains corresponding various system data based on target faults; performing causal discovery on various system data to acquire causal relations among the various system data; based on the causal strength of the causal relation between each first system data and the second system data, determining the influence degree of each first system data on the target fault, by associating the data type of the acquired system data with the fault type of the target fault, the correlation between the acquired system data and the target fault can be improved, the system data related to the target fault is prevented from being missed or misplaced, the accuracy of determining the fault cause is improved, and the influence degree of each first system data on the target fault is determined by the causal strength, so that the quantification capability of fault analysis can be improved, the potential fault cause is effectively excavated, and the troubleshooting and repairing efficiency of the fault is improved.
The fault analysis method provided by the embodiment of the application can be applied to the terminal equipment. The terminal device may be a mobile phone, a tablet 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 (Personal DIGITAL ASSISTANT, PDA), or the like. The embodiment of the application does not limit the specific type of the terminal equipment.
Fig. 1 exemplarily shows a schematic structure of a terminal device 100, a processor 10, a memory 20, an audio module 30, a camera module 40, a sensor module 50, an input module 60, a display module 70, a wireless communication module 80, a power module 90, and the like of the terminal device 100. The audio module 30 may include a speaker 31, a microphone 32, and the like, the camera module 40 may include a short-focus camera 41, a long-focus camera 42, a flash 43, and the like, the sensor module 50 may include an infrared sensor 51, an acceleration sensor 52, a position sensor 53, a fingerprint sensor 54, an iris sensor 55, and the like, the input module 60 may include a touch panel 61, an external input unit 62, and the like, and the Wireless Communication module 80 may include Wireless Communication units such as bluetooth, optical Wireless Communication (Optical Wireless), mobile Communication (Mobile Communications), wireless local area network (Wireless Local Area Network, WLAN), near Field Communication (NFC), and ZigBee (ZigBee).
In Application, the Processor 10 may be a central processing unit (Central Processing Unit, CPU), which may also be other general purpose processors, digital signal processors (DIGITAL SIGNAL processors, DSPs), application SPECIFIC INTEGRATED Circuits (ASICs), off-the-shelf Programmable gate arrays (Field-Programmable GATE ARRAY, FPGA) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In applications, the memory 20 may in some embodiments be an internal storage unit of the terminal device, such as a hard disk or a memory of the terminal device. The memory 20 may also be an external storage device of the terminal device in other embodiments, such as a plug-in hard disk provided on the terminal device, a smart memory card (SMART MEDIA CARD, SMC), a Secure Digital (SD) card, a flash memory card (FLASH CARD), etc. Further, the memory 20 may also include both an internal storage unit of the terminal device and an external storage device. The memory 20 is used for storing a computer program 21 such as an operating system, an application program, a boot loader (BootLoader), and the like. The memory 20 may also be used to temporarily store data that has been output or is to be output.
In application, the display module 70 may be a straight screen, a curved screen, or a flexible screen, and in particular may be a folded screen, where the folded screen may include at least one flexible screen, or the folded screen may include at least one flexible screen and at least one straight screen or curved screen, and the embodiment of the present application does not limit the specific type of the display module 70.
It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the terminal device 100. In other embodiments of the application, terminal device 100 may include more or less components than shown, or may combine some components, or different components, such as may also include a graphics processor, etc. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
As shown in fig. 2, the fault analysis method provided by the embodiment of the present application includes the following steps S201 to S203:
step S201, acquiring corresponding various system data based on a target fault; the data type of the system data is associated with the fault type of the target fault.
In the application, the terminal equipment can judge whether the target fault occurs or not by monitoring the operation log, and when the terminal equipment has the target fault or after the target fault occurs, the fault type of the target fault is judged first: specifically, the target fault can be input into a preset mapping table in a table look-up mode to obtain the fault type of the target fault, and the preset mapping table stores a plurality of fault types and at least one local fault corresponding to each fault type in advance.
In the application, aiming at any fault type, the terminal equipment stores the data type of the system data associated with the fault type, so that after the fault type of the target fault is determined, the data type of the system data associated with the fault type can be determined, and then a plurality of corresponding system data in a preset period can be acquired. It should be noted that the system data may specifically be pre-collected buried point (EVENT TRACKING) data, and after determining the data types of all the system data associated with all the fault types, the terminal device may collect the buried point data based on all the data types, so that when any one target fault occurs, multiple corresponding system data in a preset time period may be obtained based on the buried point data, thereby implementing long-term collection of the system data and improving the acquisition speed of the system data associated with the occurrence of the target fault. Wherein the preset time period may include a period during which the target fault occurs, before the target fault occurs, and/or after the target fault occurs.
For example, fault types may include temperature faults, power consumption faults, operational faults (including auto-off, auto-restart, and crashes, etc.), network faults, audio faults, display faults, etc.;
Taking a temperature fault as an example, four local faults including overheating of a power supply module, overheating of a main board, overheating of a display module and overheating of a wireless communication module can be corresponding;
When the fault Type of the target fault is a temperature fault, the data Type of the corresponding system data may include a Model Type code (Model Type), a system version, a maximum current of a processor, an application packet name in operation, 50 bits of battery current, 50 bits of battery power consumption and an overheat time duty ratio;
In addition, on the basis of determining that the fault Type of the target fault is a temperature fault, if fault analysis is performed on a certain monitored application, the data Type of the corresponding system data can be further refined, and specifically includes Model Type (Model Type), system version, maximum current of a processor, application packet name of the monitored application, 50 bits of battery current during running of the monitored application, 50 bits of running duration of the monitored application, 50 bits of power consumption of the monitored application and an overheat time duty ratio.
Step S202, performing causal discovery on various system data to acquire causal relations among the various system data.
In the application, after various system data corresponding to the target fault are acquired, causal discovery can be performed on the various system data to acquire causal relationships among various systems. Specifically, various system data can be input as a data set to a preset algorithm for causal discovery, the preset algorithm can be a greedy equivalent search algorithm (FAST GREEDY Equivalence Search, FGES), a quick causal reasoning algorithm (REALLY FAST Causal Inference, RFCI) or a greedy quick causal reasoning algorithm (GREEDY FAST Causal Inference, GFCI) and other causal discovery algorithms, and the specific types of the causal discovery algorithm selected by the preset algorithm are not limited in the embodiment of the application.
In one embodiment, step S202 includes:
Performing causal discovery on various system data based on n preset algorithms to acquire n groups of sub-causal relations among the various system data;
aggregating the n groups of sub-causal relationships to obtain causal relationships among various system data;
n is an integer greater than or equal to 2, and n preset algorithms are different from each other.
In the application, the plurality of system data can be used as a data set to be respectively input into the n causal discovery algorithms to obtain the corresponding n groups of sub-causal relationships, and the n groups of sub-causal relationships are aggregated to obtain the causal relationships among the plurality of system data.
Specifically, the aggregation method of the causal relationship may include a sorting screening method and a threshold filtering method, which are specifically described below, for any two system data (assumed to be data a and data B), the sorting screening method may obtain causal relationships between data a and data B in a plurality of algorithms (the causal relationship may include four categories, respectively, a first category of causal relationship, data a points to data B, that is, data a has an effect on data B, a second category of causal relationship, data B points to data a, that is, data B has an effect on data a, a third category of causal relationship, in which data a and data B are related and not related, that is, data a and data B have no effect on each other, and a fourth category of causal relationship, that is, data a and data B have no effect on each other), and sort all causal relationships output in the plurality of algorithms according to the categories, and the causal relationship with the largest output number is used as the causal relationship between data a and data B; it should be noted that if the number of outputs of any two types of causal relationships from the first type to the third type is the same and greater than the number of outputs of the fourth type, the third type is taken as the causal relationship between the data a and the data B;
The threshold filtering method can acquire causal relations between data A and data B in a plurality of algorithms (the types of the causal relations can be described with reference to the related description, and are not repeated here), whether the output quantity of any type of causal relation is larger than a preset threshold value is judged, if so, the causal relation of the type with the largest output quantity is used as the causal relation between the data A and the data B, and if the output quantity of any two types of causal relations in the first type to the third type of causal relation is the same and is larger than the output quantity of the causal relation of the fourth type of causal relation, the causal relation of the third type of causal relation is used as the causal relation between the data A and the data B; if the result is smaller than the threshold, determining that the causal relationship between the data A and the data B is irrelevant.
Step S203, determining the influence degree of each first system data on the target fault based on the causal strength of the causal relation between each first system data and the second system data;
The first system data are used for representing local running conditions, and the second system data are used for representing fault conditions of target faults.
In an application, the system data may include a plurality of first system data and one second system data, and the data type of the second system data may be determined by the fault type of the target fault (for example, when the fault type is a temperature fault, the data type of the second system data may be an overheat time ratio). After the causal relationship between the plurality of system data is obtained and the data type of the second system data is determined, the causal strength of the causal relationship between each first system data and the second system data can be further determined, so that the influence degree of each first system data on the target fault is determined. The causal intensity and the degree of influence are positively correlated.
In one embodiment, before step S203, the method further includes:
Determining causal strength of the causal relationship based on the path length of the causal relationship and the causal strength of each path in the causal relationship for any causal relationship between the first system data and the second system data;
wherein the path length of the causal relationship is determined based on the amount of first system data associated with the corresponding causal relationship.
In an application, the causal strength of the causal relationship may be determined by obtaining the path length of the causal relationship, and the causal strength of each path in the causal relationship. Wherein the number of first system data associated with the causal relationship determines the number of paths of the corresponding causal relationship, thereby determining the path length of the causal relationship (the number of paths and the path length are positively correlated); the causal strength of any one path in the causal relationship is determined according to the causal strength of the two system data associated with the any one path, and it is to be noted that the path is composed of the two associated system data, the path has directivity, and the directivity of the path is determined according to the category of the causal relationship between the two associated system data.
In application, the causal strength of each path in the causal relationship may be determined by calculating a kendel (Kendall) rank correlation coefficient and/or a Cramer correlation coefficient (Cramer's V) between two system data associated with the corresponding path, and the method for calculating the causal strength of the path in the embodiment of the present application does not have any limitation.
In application, the causal strength of a causal relationship is inversely related to the causal relationship path length, and positively related to the causal strength of any one path in the causal relationship. The calculation formula for determining the causal strength of the causal relation is as follows:
Wherein e path represents the causal strength of the causal relationship, L represents the path length, i represents the number of any one system data in the path (the numbers of the system data can be ordered in reverse order or in positive order according to the path order), e i,i+1 represents the causal strength between the ith system data and the (i+1) th system data in the path, exp represents an exponential function based on a natural constant e, and α represents a control parameter of the decay rate.
In application, acquiring corresponding multiple system data based on target faults; performing causal discovery on various system data to acquire causal relations among the various system data; based on the causal strength of the causal relation between each first system data and the second system data, determining the influence degree of each first system data on the target fault, by associating the data type of the acquired system data with the fault type of the target fault, the correlation between the acquired system data and the target fault can be improved, the system data related to the target fault is prevented from being missed or misplaced, the accuracy of determining the fault cause is improved, and the influence degree of each first system data on the target fault is determined by the causal strength, so that the quantification capability of fault analysis can be improved, the potential fault cause is effectively excavated, and the troubleshooting and repairing efficiency of the fault is improved.
As shown in fig. 3, in one embodiment, based on the embodiment corresponding to fig. 2, the method includes the following steps S301 to S305:
step S301, acquiring various system data corresponding to a target fault in a first preset period;
step S302, acquiring various system data corresponding to the target fault in a second preset period;
wherein, the fault occurrence is not monitored locally in the first preset period, and the target fault occurrence is monitored locally in the second preset period.
In the application, after determining the data type of the associated system data according to the fault type of the target fault, multiple system data corresponding to the target fault in a first preset period and multiple system data corresponding to the target fault in a second preset period can be respectively obtained, so that two groups of system data are obtained, and the causal relationship of the two groups of system data is conveniently obtained for comparison, and a specific comparison method is described below.
Step S303, performing causal discovery on various system data, and acquiring causal relations among the various system data in a first preset period and causal relations among the various system data in a second preset period.
In the application, various system data in a first preset period and various system data in a second preset period can be respectively input into a preset algorithm to perform causal discovery, so that two groups of causal relationships are obtained according to whether the target fault is sent as a difference. The detailed method of causal discovery may refer to the description of step S202, and will not be described herein.
Step S304, screening suspicious system data from the plurality of first system data according to the causal relation among the plurality of system data in the first preset time period and the causal relation among the plurality of system data in the second preset time period;
The suspicious system data has no causal relation with the second system data in the first preset time period, and has causal relation with the second system data in the second preset time period.
In application, after two sets of causal relationships are obtained, the two sets of causal relationships may be compared to screen the suspicious system data from the plurality of first system data, and the screening of the suspicious system data is described below with reference to fig. 4 and 5.
Fig. 4 schematically illustrates a causal relationship diagram between various system data in a first preset period, and fig. 5 schematically illustrates a causal relationship diagram between various system data in a second preset period, wherein a filled circle represents the first system data and a hollow circle represents the second system data.
As can be seen from fig. 4 and 5, the application package name of the model coding and monitoring application has no causal relationship with the second system data in the first preset period, and has a causal relationship with the second system data in the second preset period, so the application package name of the model coding and monitoring application is filtered as suspicious system data in various first system data.
Step S305, determining the influence degree of each suspicious system data on the target fault based on the causal strength of the causal relation between each suspicious system data and the second system data;
The fault system data has no causal relation with the second system data in the first preset time period, and has causal relation with the second system data in the second preset time period.
In application, the method for determining the influence degree of the suspicious system data on the target fault may refer to the method for determining the influence degree of the first system data on the target fault in step S203, which is not described herein.
In the application, two groups of causal relationships are obtained by respectively acquiring system data when no fault occurs and target faults occur and respectively carrying out causal discovery; by comparing and analyzing the two groups of causal relationships, suspicious system data can be obtained through screening, and the judgment accuracy of fault reasons is further improved.
As shown in fig. 6, in one embodiment, based on the embodiment corresponding to fig. 3, the following steps S601 to S608 are included:
step S601, acquiring various system data corresponding to a target fault in a first preset period;
Step S602, acquiring various system data corresponding to the target fault in a second preset period;
wherein, the fault occurrence is not monitored locally in the first preset period, and the target fault occurrence is monitored locally in the second preset period.
In application, the fault analysis method provided in step S601 and step S602 is identical to the fault analysis method provided in step S301 and step S302, and will not be described herein.
In application, after various system data are acquired, data processing may be performed on the system data to improve usability of the system data, and a specific method of data processing is described below.
Step S603, after acquiring various system data, performing data screening on the various system data based on a preset null ratio so as to remove invalid data;
Step S604, if any system data has null value and the null value proportion is larger than the preset null value proportion, interpolating and filling the null value based on the non-null value of any system data.
In the application, the system data is recorded with values at a plurality of moments in a preset period, the terminal equipment can acquire the null value proportion of various system data, judge whether the null value proportion of each system data is smaller than the preset null value proportion, and if so, determine the corresponding system data as invalid data and discard the invalid data.
In the application, if any system data has a null value and the null value proportion is larger than the preset null value proportion, the null value can be interpolated and filled based on the non-null value of any system data. Specifically, an average value of non-null values of any one of the above system data may be calculated, and the null values may be interpolated and filled with the average value; and fitting can be performed based on the non-null value of any system data, and interpolation filling can be performed on the null value through the fitting result. The embodiment of the application does not limit the specific method for carrying out interpolation filling on the null value.
Step S605, after acquiring a plurality of system data, if the data format of the system data is continuous, discretizing the system data to convert the data format of the system data into discrete data.
In the application, after various system data are acquired, the data form of the system data can be acquired, if the data form of the system data is continuous, the data form of the corresponding system data can be converted into discrete form, and the difficulty of causal discovery and the operation efficiency of a preset algorithm are greatly improved due to various variable combination conditions during causal discovery are avoided, so that the causal discovery speed is improved, the local operation load is reduced, and the troubleshooting and repairing efficiency of faults is further improved.
In one embodiment, step S605 includes:
Determining a preset interval of an original value of the system data at each moment according to any system data with continuous data form;
and replacing the original value at the corresponding moment by the preset value corresponding to the preset interval.
In application, for any system data with continuous data form, the preset interval of the original value of the system data at each moment can be determined, and the original data is replaced according to the preset value corresponding to the preset interval. It should be noted that, the preset value corresponding to each preset interval may be preset, and the specific method for discretizing the system data in the embodiment of the present application is not limited.
Step S606, performing causal discovery on various system data, and acquiring causal relations among the various system data in a first preset period and causal relations among the various system data in a second preset period;
Step S607, screening suspicious system data from the plurality of first system data according to the causal relationship among the plurality of system data in the first preset period and the causal relationship among the plurality of system data in the second preset period;
the suspicious system data has no causal relation with the second system data in a first preset period, and has causal relation with the second system data in a second preset period;
step S608, determining the influence degree of each suspicious system data on the target fault based on the causal strength of the causal relation between each suspicious system data and the second system data;
The fault system data has no causal relation with the second system data in the first preset time period, and has causal relation with the second system data in the second preset time period.
In application, the fault analysis methods provided in steps S606 to S608 are identical to those provided in steps S303 to S305, and are not described herein.
It should be understood that the sequence number of each step in the foregoing embodiment does not mean that the execution sequence of each process should be determined by the function and the internal logic, and should not limit the implementation process of the embodiment of the present application.
As shown in fig. 7, the embodiment of the present application further provides a fault analysis device, which is configured to perform the steps in the above-described fault analysis method embodiment. The fault analysis means may be virtual means (virtual appliance) in the terminal device, run by a processor of the terminal device, or the terminal device itself.
As shown in fig. 7, a fault analysis apparatus 7 provided in an embodiment of the present application includes:
An acquiring module 710, configured to acquire a corresponding plurality of system data based on the target fault; the data type of the system data is associated with the fault type of the target fault;
The discovery module 720 is configured to perform causal discovery on multiple system data, and obtain causal relationships between the multiple system data;
An analysis module 730 for determining faulty system data among the plurality of first system data based on causal relationships between each of the first system data and the second system data;
The first system data are used for representing local running conditions, and the second system data are used for representing fault conditions of target faults.
In one embodiment, the acquisition module 710 includes:
the first acquisition unit is used for acquiring various system data corresponding to the target fault in a first preset period;
the second acquisition unit is used for acquiring various system data corresponding to the target fault in a second preset period;
wherein, the fault occurrence is not monitored locally in the first preset period, and the target fault occurrence is monitored locally in the second preset period.
In one embodiment, the discovery module 720 includes:
The sub-discovery unit is used for performing causal discovery on various system data, and acquiring causal relations among various system data in a first preset period and causal relations among various system data in a second preset period;
in one embodiment, the fault analysis apparatus 7 further comprises:
the screening module is used for screening suspicious system data from the plurality of first system data according to the causal relation among the plurality of system data in the first preset period and the causal relation among the plurality of system data in the second preset period;
the suspicious system data has no causal relation with the second system data in a first preset period, and has causal relation with the second system data in a second preset period;
in one embodiment, the analysis module 730 includes:
And the sub-analysis unit is used for determining the influence degree of each suspicious system data on the target fault based on the causal strength of the causal relation between each suspicious system data and the second system data.
In one embodiment, the fault analysis apparatus 7 further comprises:
The first data processing module is used for executing data screening on the plurality of system data based on a preset null value proportion after the plurality of system data are acquired so as to remove invalid data;
If any system data has null value and the null value proportion is larger than the preset null value proportion, interpolating and filling the null value based on the non-null value of any system data.
And the second data processing module is used for discretizing the system data for any system data after acquiring various system data if the data form of the system data is continuous so as to convert the data form of the system data into discrete form.
In application, each module in the fault analysis device 7 may be a software program module, may be implemented by different logic circuits integrated in a processor, or may be implemented by a plurality of distributed processors.
It should be noted that, because the content of information interaction and execution process between the modules and the embodiment of the method of the present application are based on the same concept, specific functions and technical effects thereof may be referred to in the method embodiment section, and details thereof are not repeated herein.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-described division of the functional modules is illustrated, and in practical application, the above-described functional allocation may be performed by different functional modules according to needs, i.e. the internal structure of the apparatus is divided into different functional modules to perform all or part of the functions described above. The functional modules in the embodiment may be integrated in one processing module, or each module may exist alone physically, or two or more modules may be integrated in one module, where the integrated modules may be implemented in a form of hardware or a form of software functional modules. In addition, the specific names of the functional modules are only for distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working process of the modules in the above system may refer to the corresponding process in the foregoing method embodiment, which is not described herein again.
Embodiments of the present application also provide a computer readable storage medium storing a computer program which, when executed by a processor, implements steps for implementing the above-described embodiments of the fault analysis method.
The integrated modules, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the present application may implement all or part of the flow of the method of the above embodiments, and may be implemented by a computer program to instruct related hardware, where the computer program may be stored in a computer readable storage medium, and when the computer program is executed by a processor, the computer program may implement the steps of each of the method embodiments described above. Wherein the computer program comprises computer program code which may be in source code form, object code form, executable file or some intermediate form etc. The computer readable storage medium may include at least: any entity or device capable of carrying computer program code to a photo terminal equipment, a recording medium, a computer Memory, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Such as a U-disk, removable hard disk, magnetic or optical disk, etc.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and in part, not described or illustrated in any particular embodiment, reference is made to the related descriptions of other embodiments.
Those of ordinary skill in the art will appreciate that the various illustrative modules 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 solution. 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 terminal device and method may be implemented in other manners. For example, the above-described embodiments of the terminal device are merely illustrative, and for example, the division of the modules is merely a logical function division, and there may be other manners of division in actual implementation, for example, multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection via interfaces, devices or modules, which may be in electrical, mechanical or other forms.
The above embodiments are only for illustrating the technical solution of the present application, and not for limiting the same; although the application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application.