A host graphics card monitoring method, system, terminal and storage medium
By monitoring the vibration and displacement information of the graphics card, we can determine whether the graphics card changes abnormally during transportation, which solves the problem that the cause of graphics card damage during computer transportation, and reduces the occurrence of fault compensation disputes.
Patent Information
- Application Number
- CN202310650036.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-02
- Publication Date
- 2024-11-26
- Estimated Expiration
- 2043-06-02
AI Technical Summary
During computer transportation, it is difficult to determine whether the graphics card is damaged, resulting in frequent disputes over fault compensation between sellers and customers.
By monitoring the vibration information and displacement information of the graphics card, we can determine whether it changes abnormally during transportation. If it does not match, a damage alarm will be issued to help determine the cause of the damage.
It reduces the probability of failure compensation disputes, and clarifies whether the graphics card is damaged or artificial damage during transportation.
Smart Images

Figure CN116610509B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of equipment monitoring, and in particular to a monitoring method, system, terminal and storage medium for a host graphics card. Background Art
[0002] The graphics card is an important component of the computer and is usually installed in the computer's main chassis. The quality of a graphics card often determines the performance of the computer's image processing. Therefore, the graphics card also occupies a large proportion in the price composition of the computer.
[0003] Therefore, when purchasing a computer and transporting it, in order to prevent damage to the graphics card as much as possible, the graphics card is usually not inserted into the computer, but is packaged and shipped independently.
[0004] After some customers purchase a computer, they are not familiar with installing graphics cards, and it is very easy to damage the computer during the installation process. Therefore, some customers will ask the seller to install the graphics card before shipping, so as to minimize the losses caused by customer's man-made damage.
[0005] However, although the above method can make it convenient for customers to use computers, if the graphics card is damaged, the seller does not know whether the graphics card is damaged during transportation or caused by the customer, which can easily lead to disputes over compensation for failures. Summary of the invention
[0006] In order to facilitate the determination of whether the cause of damage to the graphics card during computer transportation is transportation damage or customer-induced damage, and to reduce the probability of disputes over fault compensation, the present application provides a host graphics card monitoring method, system, terminal and storage medium.
[0007] In a first aspect, the present application provides a host graphics card monitoring method, which adopts the following technical solution:
[0008] A method for monitoring a host graphics card, comprising:
[0009] When the graphics card is installed in the host and moves, obtaining a first current position of the graphics card;
[0010] Acquire a second current position of the graphics card based on a first preset duration;
[0011] Determining whether the first current position and the second current position are the same;
[0012] If different, obtain monitoring instructions;
[0013] Based on the monitoring instruction, control the monitoring device in the host to monitor and obtain change information of the graphics card, wherein the change information includes vibration information and displacement information;
[0014] Determining whether the change information matches preset safety change information, wherein the safety change information includes safety vibration information and safety displacement information;
[0015] If there is no match, graphics card damage alarm information is obtained based on the second current position.
[0016] By adopting the above technical solution, it is possible to determine whether the first current position and the second current position are the same, and whether the computer is in a moving or stationary state. If it is in a moving state, the monitoring instruction is obtained to control the monitoring device in the host to monitor and obtain the change information of the graphics card, and then it is determined whether the change information matches the preset safety change information, so as to determine whether the graphics card is damaged. If it does not match, the graphics card damage alarm information is obtained according to the second current position, and the seller can be alarmed, so as to facilitate the determination of the location where the graphics card fails. Therefore, it is convenient to determine whether the graphics card is damaged during the transportation of the computer due to transportation damage or customer damage, and reduce the probability of disputes over fault compensation.
[0017] Preferably, the determining whether the change information matches preset security change information includes:
[0018] Acquire all vibration frequencies of the graphics card within a second preset time period based on the vibration information;
[0019] Determining whether there is a vibration frequency exceeding a preset frequency;
[0020] Obtaining the initial position of the graphics card;
[0021] Acquire all displacement distances of the graphics card within a third preset time period based on the displacement information and the initial position;
[0022] Determining whether the displacement distance exceeds a preset distance;
[0023] If the vibration frequency exceeds the preset frequency and / or the displacement distance exceeds the preset distance, determining that the change information does not match the safety change information;
[0024] If the vibration frequency does not exceed the preset frequency, and the displacement distance does not exceed the preset distance, it is determined that the change information matches the safety change information.
[0025] By adopting the above technical solution, it is determined whether the vibration frequency exceeds the preset frequency, and whether the displacement distance exceeds the preset distance. If both do not exist, it proves that the change information matches the safety change information, otherwise it does not match. By judging the vibration frequency and the displacement distance at the same time, the accuracy of whether the change information matches the safety change information can be improved.
[0026] Preferably, before determining that the change information does not match the security change information, the method further includes:
[0027] Acquire the number of the displacement distances exceeding the preset distance as the excess number;
[0028] Determining whether the excess quantity is greater than a quantity threshold;
[0029] If so, determining that the change information does not match the security change information;
[0030] If not, it is determined that the change information matches the security change information.
[0031] By adopting the above technical solution, it is determined whether the excess quantity is greater than the quantity threshold, if so, it is proved to be mismatched, otherwise it is matched. It is possible to further determine whether the change information matches the security change information, thereby improving the accuracy of the judgment.
[0032] Preferably, if the excess quantity is not greater than the quantity threshold, before determining that the change information matches the security change information, the method further includes:
[0033] Acquire the vibration frequency that does not exceed the preset frequency as a normal frequency;
[0034] Obtaining the minimum normal frequency among all the normal frequencies as the minimum normal frequency;
[0035] Obtaining the current vibration frequency of the graphics card;
[0036] Determining whether the current vibration frequency is less than the minimum normal frequency;
[0037] If the current vibration frequency is greater than or equal to the minimum normal frequency, determining whether the current vibration frequency is less than the preset frequency;
[0038] If the current vibration frequency is less than the preset frequency, determining that the change information matches the safety change information;
[0039] If the current vibration frequency is less than the minimum normal frequency or the current vibration frequency is greater than or equal to the preset frequency, it is determined that the change information does not match the safety change information.
[0040] By adopting the above technical solution, it is determined whether the current vibration frequency is less than the minimum normal frequency, so as to determine whether the graphics card can vibrate normally. If it is greater than or equal to the minimum normal frequency, it proves that it can vibrate normally. At this time, it is determined whether the current vibration frequency is less than the preset frequency. If the current vibration frequency is less than the preset frequency, it is determined that the change information matches the security change information, otherwise it is not matched, thereby further improving the accuracy of the judgment.
[0041] Preferably, before acquiring the vibration frequency that does not exceed the preset frequency as the normal frequency, the method further includes:
[0042] Obtaining the current displacement distance of the graphics card as the current distance;
[0043] Determining whether the current distance gradually becomes zero within a fourth preset time period;
[0044] If not, determining that the change information does not match the security change information;
[0045] If yes, proceed to the next step.
[0046] By adopting the above technical solution, before obtaining the vibration frequency that does not exceed the preset frequency as the normal frequency, it is determined whether the current distance gradually becomes zero within the fourth preset time length, and it can be determined whether the graphics card can be reset during the displacement process. If not, it proves that it cannot be reset normally. At this time, it proves that the change information does not match the security change information, and no subsequent judgment is required. Otherwise, it is matched. At this time, the step of obtaining the vibration frequency that does not exceed the preset frequency as the normal frequency is continued, which can reduce the subsequent judgment steps, reduce unnecessary resource waste, and improve the efficiency and accuracy of judgment.
[0047] Preferably, before obtaining the first current position of the graphics card, the method further includes:
[0048] Obtaining logistics information of the graphics card;
[0049] Acquire the passing sites of the graphics card based on the logistics information;
[0050] Obtaining the predicted arrival time of the graphics card at each of the passing stations;
[0051] Get the current time;
[0052] Determining whether the current time matches the preset arrival time;
[0053] If they match, executing the step of obtaining the first current position of the graphics card;
[0054] If not, return to the step of determining whether the current time matches the preset arrival time.
[0055] By adopting the above technical solution, it is possible to determine whether the current time matches the preset arrival time, and whether to perform subsequent monitoring operations. If they match, the operation of obtaining the first current position is continued, otherwise the judgment is continued, so that there is no need to turn on the monitoring equipment all the time, which can reduce energy loss.
[0056] Preferably, before executing the step of returning to determine whether the current time matches the preset arrival time, the method further includes:
[0057] Acquire the passing site corresponding to the preset arrival time matching the current time as a matching site;
[0058] Obtaining a third current position of the graphics card;
[0059] Determining whether the third current location matches the matching site;
[0060] If they match, continue to execute the step of returning to determine whether the current time matches the preset arrival time;
[0061] If there is no match, directly execute the step of obtaining the first current position of the graphics card.
[0062] By adopting the above technical solution, it is possible to determine whether the third current location matches the matching site, whether there is a route delay, and whether the step of determining whether the current time matches the preset arrival time is accurate. If they do not match, it proves that the positioning of the time and position is inaccurate at this time, and the step of obtaining the first current location can be directly executed. If they match, the step of returning to determine whether the current time matches the preset arrival time can be continued. This can reduce the possibility of subsequent judgment errors due to the mismatch between the third current location and the matching site.
[0063] In a second aspect, the present application provides a host graphics card monitoring system, which adopts the following technical solution:
[0064] A monitoring system for a host graphics card, comprising:
[0065] A first position acquisition module, used for acquiring a first current position of the graphics card when the graphics card is installed in the host and moves;
[0066] A second position acquisition module, used for acquiring a second current position of the graphics card based on a first preset time length;
[0067] A position determination module, used to determine whether the first current position and the second current position are the same;
[0068] an instruction acquisition module, for acquiring a monitoring instruction if the first current position is different from the second current position;
[0069] An information acquisition module, used for controlling the monitoring device in the host to monitor and acquire change information of the graphics card based on the monitoring instruction, wherein the change information includes vibration information and displacement information;
[0070] An information judgment module, used to judge whether the change information matches preset safety change information, wherein the safety change information includes safety vibration information and safety displacement information;
[0071] The alarm module is used to obtain graphics card damage alarm information based on the second current position if the change information does not match the safety change information.
[0072] By adopting the above technical solution, according to the data transmission between each module, it is determined whether the first current position and the second current position are the same, and it can be determined whether the computer is in a moving or stationary state. If it is in a moving state, the monitoring instruction is obtained to control the monitoring device in the host to monitor and obtain the change information of the graphics card, and then it is determined whether the change information matches the preset safety change information, so as to determine whether the graphics card is damaged. If it does not match, the graphics card damage alarm information is obtained according to the second current position, and the seller can be alarmed, so as to facilitate the determination of the location where the graphics card fails. Therefore, it is convenient to determine whether the cause of the damage to the graphics card during the transportation of the computer is transportation damage or customer damage, and reduce the probability of failure compensation disputes.
[0073] In a third aspect, the present application provides a smart terminal, which adopts the following technical solution:
[0074] An intelligent terminal, comprising:
[0075] A memory for storing computer programs that can be run on the processor;
[0076] The processor, when running the computer program, can execute the steps of any of the above methods.
[0077] By adopting the above technical solution, the memory can store information, and the processor can retrieve the information and issue control instructions to ensure the orderly execution of the program and achieve the effect of the above solution.
[0078] In a fourth aspect, the present application provides a computer-readable storage medium, which adopts the following technical solution:
[0079] A computer-readable storage medium stores a computer program that can be loaded by a processor and execute any one of the above methods.
[0080] By adopting the above technical solution, when the computer-readable storage medium is installed in any computer, any computer can execute a host graphics card monitoring method provided by the present application.
[0081] In summary, the present application includes at least one of the following beneficial technical effects:
[0082] 1. Determine whether the first current position and the second current position are the same, and determine whether the computer is moving or stationary. Then determine whether the change information matches the preset safety change information, so as to determine whether the graphics card is damaged. If they do not match, the graphics card damage alarm information is obtained according to the second current position, and the seller can be alarmed, so as to facilitate the determination of the location where the graphics card fails. Therefore, it is convenient to determine whether the graphics card is damaged during the transportation of the computer due to transportation damage or customer damage, and reduce the probability of disputes over fault compensation;
[0083] 2. Before obtaining the vibration frequency that does not exceed the preset frequency as the normal frequency, determine whether the current distance gradually becomes zero within the fourth preset time length, so as to determine whether the graphics card can be reset during the displacement process, thereby determining whether to continue the subsequent execution steps, which can reduce the subsequent judgment steps, reduce unnecessary waste of resources, and improve the efficiency and accuracy of the judgment. BRIEF DESCRIPTION OF THE DRAWINGS
[0084] Figure 1 It is a flow chart of a host graphics card monitoring method provided by an embodiment of the present application;
[0085] Figure 2 It is a flowchart of steps S11 to S17 in one embodiment of the present application;
[0086] Figure 3 is a flowchart of steps S21 to S24 in one embodiment of the present application;
[0087] Figure 4 is a flowchart of steps S31 to S37 in one embodiment of the present application;
[0088] Figure 5 is a flowchart of step S41 to step S44 in one embodiment of the present application;
[0089] Figure 6 is a flowchart of steps S51 to S57 in one embodiment of the present application;
[0090] Figure 7 is a flowchart of steps S61 to S65 in one embodiment of the present application;
[0091] Figure 8It is a structural block diagram of a host graphics card monitoring system provided in an embodiment of the present application.
[0092] Description of reference numerals:
[0093] 1. First position acquisition module; 2. Second position acquisition module; 3. Position judgment module; 4. Instruction acquisition module; 5. Information acquisition module; 6. Information judgment module; 7. Alarm module. DETAILED DESCRIPTION
[0094] The following is combined with Figures 1 to 8 This application is described in further detail.
[0095] The embodiment of the present application discloses a method for monitoring a host graphics card.
[0096] Reference Figure 1 , the host graphics card monitoring method includes:
[0097] S1. When the graphics card is installed in the host and moved, obtain the first current position of the graphics card;
[0098] An independent power supply is installed in the host, such as a dry battery or a rechargeable power supply. At the same time, a positioning device is fixed in the host, such as a GPS positioning device. The power supply can power the GPS. When the seller needs to ship the host to the customer, the power supply can be turned on so that the power supply can power various devices connected to the power supply. When the power supply starts, the positioning device first obtains the current position, which is the first current position of the graphics card.
[0099] S2. Obtaining a second current position of the graphics card based on the first preset duration;
[0100] After obtaining the first current position, the second current position of the graphics card is obtained according to the first preset time. The specific method may be that an independent control chip is installed in the host, the power supply supplies power to the control chip, and the control chip is connected to the positioning device, which can control the positioning device to obtain the current position of the graphics card after the first preset time. The first preset time can be set according to actual conditions.
[0101] That is, after obtaining the first current position, after a first preset time period, the current position of the graphics card, that is, the second current position, can be obtained again, and the second current position is used as the first current position. Then, after a first preset time period, the current position of the graphics card is obtained again, so that a new second current position can be obtained, and the acquisition is repeated in sequence.
[0102] S3. Determine whether the first current position and the second current position are the same;
[0103] The judgment method can be that after obtaining the first current position and the second current position, the distance value between the two is obtained according to the coordinates of the first current position and the second current position, and whether the distance value is less than or equal to the preset distance value is judged. If so, it proves that the first current position and the second current position are the same, otherwise they are different.
[0104] S4. If different, obtain monitoring instructions;
[0105] If they are the same, it proves that the host has not moved, and there is no need to monitor the graphics card in the host. If they are different, it proves that the host is being transferred, and the graphics card may be damaged during transportation, so it is necessary to monitor the graphics card. Therefore, the monitoring instruction is obtained at this time, that is, the control chip generates a monitoring control signal and sends it to the monitoring device installed in the host. Among them, the monitoring device is still powered by the power supply.
[0106] S5. Based on the monitoring command, the monitoring device in the host is controlled to monitor and obtain the change information of the graphics card;
[0107] After the detection device receives the monitoring control signal, the monitoring device is powered on and starts working, thereby monitoring the change information of the graphics card, wherein the change information includes vibration information and displacement information. The monitoring device can be a vibration sensor and a displacement sensor, and the vibration direction and displacement direction of the graphics card detected by the vibration sensor and the displacement sensor are both along the direction perpendicular to the surface of the graphics card, that is, the direction perpendicular to the insertion direction of the graphics card.
[0108] S6. Determine whether the change information matches the preset security change information;
[0109] That is, it is determined whether the vibration information matches the safety vibration information, and whether the displacement information matches the safety displacement information. If both match, it proves that the change information matches the safety change information, otherwise it proves that the change information does not match the safety change information. The safety change information includes safety vibration information and safety displacement information.
[0110] A specific method may be to determine whether the vibration frequency in the vibration information matches the preset vibration frequency in the safety vibration information. The determination method may be to determine whether the vibration frequency is less than or equal to the preset vibration frequency. If the vibration frequency is less than or equal to the preset vibration frequency, it proves that the vibration information matches the safety vibration information, otherwise it does not match. The preset vibration frequency is the maximum vibration frequency at which the graphics card is damaged.
[0111] Whether the displacement information matches the safety displacement information can be determined by determining whether the displacement distance in the displacement information matches the preset displacement distance in the safety displacement information. The determination method can be that if the displacement distance is less than or equal to the preset displacement distance, it proves that the displacement information matches the safety displacement information, otherwise it does not match. The preset displacement distance is the maximum displacement distance at which the end of the graphics card away from its own plug-in end breaks and is damaged.
[0112] S7. If there is no match, obtaining graphics card damage alarm information based on the second current position;
[0113] If the change information matches the preset safety change information, it proves that although the graphics card is vibrating or displaced, it is not damaged, so there is no need to issue an alarm. If the change information does not match the preset safety change information, it proves that the graphics card may have been damaged. Therefore, in order to determine the location of the damage, the graphics card damage alarm information is obtained based on the second current position, that is, the graphics card damage alarm information includes the second current position, so that the current position of the graphics card closest to the graphics card where the damage occurs can be determined, thereby facilitating the process of determining the responsibility for the graphics card damage.
[0114] In another embodiment, after the graphics card damage alarm information is obtained, it can be sent to the seller's terminal device, such as a mobile phone or a computer, through a wireless communication module provided in the host, so as to remind the seller.
[0115] Therefore, the seller can be alerted in the above manner, which makes it easier to determine the location of the graphics card failure and the responsibility for the damage to the graphics card. It can also be easy to determine whether the graphics card was damaged during the transportation of the computer due to transportation damage or man-made damage by the customer, thereby reducing the probability of disputes over fault compensation.
[0116] Reference Figure 2 In order to ensure the accuracy of determining whether the change information matches the security change information as much as possible, in another embodiment, determining whether the change information matches the preset security change information includes:
[0117] S11. Obtaining all vibration frequencies of the graphics card within a second preset time period based on the vibration information;
[0118] The second preset duration can be set according to actual conditions, or can be set equal to the first preset duration. For example, multiple vibration frequencies can be measured and obtained within each second preset duration. When the vibration frequency is obtained, the time of each vibration frequency obtained will be recorded, that is, each vibration frequency corresponds to a unique time, that is, the vibration information includes all collected vibration frequencies and corresponding times.
[0119] S12. Determine whether there is a vibration frequency exceeding a preset frequency;
[0120] Among them, the preset frequency is the maximum vibration frequency at which the graphics card is damaged, that is, to determine whether there is a vibration frequency that can cause damage to the graphics card. If there is a vibration frequency exceeding the preset frequency, it proves that the graphics card is damaged. If there is no vibration frequency exceeding the preset frequency, it proves that the graphics card is not damaged.
[0121] S13. Get the initial position of the graphics card;
[0122] The initial position is the position of the graphics card away from its own plug-in end when the graphics card is normally inserted into the host without vibration and displacement. It can be obtained by locating it through an infrared laser sensor and setting it as the initial position, that is, the initial position is a preset position.
[0123] S14. Obtaining all displacement distances of the graphics card within a third preset time period based on the displacement information and the initial position;
[0124] When the graphics card is displaced, the displacement sensor will record the displacement distance of the graphics card in real time within a third preset time period. The third preset time period can be set according to actual needs, and the displacement distance is the distance that the graphics card swings back and forth based on the initial position, from the end away from its own plug-in end. Of course, all displacement distances are measured with the initial position as the starting point.
[0125] Of course, the swinging direction of the graphics card here is perpendicular to the graphics card insertion direction and perpendicular to the fan direction of the graphics card fan.
[0126] S15. Determine whether there is a displacement distance exceeding a preset distance;
[0127] The preset distance is the maximum displacement distance at which the end of the graphics card away from its own plug-in end breaks and is damaged. That is, it is determined whether there is a displacement distance that can cause damage to the graphics card. If there is a displacement distance exceeding the preset distance, it proves that the graphics card is damaged. If there is no displacement distance exceeding the preset distance, it proves that the graphics card is not damaged.
[0128] S16. If there is a vibration frequency exceeding a preset frequency and / or a displacement distance exceeding a preset distance, it is determined that the change information does not match the safety change information;
[0129] If there is a vibration frequency exceeding the preset frequency and / or a displacement distance exceeding the preset distance, that is, if both exist at the same time, or only one of them exists, it can be proved that the graphics card is damaged at this time. Therefore, it can be determined that the change information does not match the safety change information.
[0130] S17. If there is no vibration frequency exceeding the preset frequency, and there is no displacement distance exceeding the preset distance, it is determined that the change information matches the safety change information;
[0131] Correspondingly, if there is no vibration frequency exceeding the preset frequency, and there is no displacement distance exceeding the preset distance, it proves that the vibration frequency and displacement distance that can cause damage to the graphics card do not exist, so it can be determined that the change information matches the safe change information. Therefore, by judging the vibration frequency and displacement distance at the same time, the accuracy of judging whether the change information matches the safe change information can be further improved.
[0132] Reference Figure 3 In the actual transportation process, if the displacement distance exceeding the preset distance is obtained less frequently, for example, only once, the graphics card is unlikely to be damaged. In order to reduce the probability of misjudgment, in another embodiment, before determining that the change information does not match the safety change information, the following is further included:
[0133] S21. Obtaining the number of displacement distances exceeding the preset distance as the excess number;
[0134] That is, all displacement distances in the displacement information within the third preset time length are obtained, and the number of displacement distances greater than the preset distance is obtained as the excess number.
[0135] S22. Determine whether the excess quantity is greater than the quantity threshold;
[0136] That is, the excess quantity is compared with the quantity threshold, and it is determined whether the excess quantity is greater than the quantity threshold, wherein the quantity threshold is set according to actual conditions, for example, it can be set to a positive integer such as 1, 2 or 3.
[0137] S23. If yes, it is determined that the change information does not match the security change information;
[0138] S24. If not, execute the step of determining whether the change information matches the security change information.
[0139] If the number of excesses is greater than the number threshold, it is highly likely that the graphics card is damaged, so it can be determined that the change information does not match the security change information. On the contrary, if the number of excesses is less than or equal to the number threshold, it is less likely that the graphics card is damaged, so it can be determined that the change information matches the security change information. Thus, through the above method, the accuracy of judging whether the change information matches the security change information can be guaranteed as much as possible.
[0140] Reference Figure 4In order to further improve the accuracy of determining whether the change information matches the security change information, in another embodiment, if the excess amount is not greater than the amount threshold, before determining that the change information matches the security change information, the method further includes:
[0141] S31. Obtaining a vibration frequency that does not exceed a preset frequency as a normal frequency;
[0142] That is, the vibration frequency less than or equal to the preset frequency among all the vibration frequencies in the vibration information is obtained as the normal frequency.
[0143] S32. Obtain the minimum normal frequency among all normal frequencies as the minimum normal frequency;
[0144] Then all normal frequencies are compared, and the smallest normal frequency, that is, the minimum normal frequency, is obtained.
[0145] S33. Get the current vibration frequency of the graphics card;
[0146] The current vibration frequency can be obtained through a vibration sensor.
[0147] S34. Determine whether the current vibration frequency is less than the minimum normal frequency;
[0148] That is to obtain the vibration frequency generated by the current vibration of the graphics card to see if it is smaller than the minimum normal frequency. If so, it proves that the graphics card cannot vibrate normally at this time, so it means that the graphics card may be damaged. If the current vibration frequency is greater than or equal to the minimum normal frequency, subsequent judgments can continue.
[0149] S35. If the current vibration frequency is greater than or equal to the minimum normal frequency, determine whether the current vibration frequency is less than the preset frequency;
[0150] That is, if the current vibration frequency is greater than or equal to the minimum normal frequency, it is determined whether the current vibration frequency is less than the preset frequency, that is, whether the current vibration frequency is within the normal range.
[0151] S36. If the current vibration frequency is less than the preset frequency, it is determined that the change information matches the safety change information;
[0152] If the current vibration frequency is less than the preset frequency, it proves that the graphics card is vibrating within a normal range at this time, so it is determined that the change information matches the safety change information at this time.
[0153] S37. If the current vibration frequency is less than the minimum normal frequency or the current vibration frequency is greater than or equal to the preset frequency, it is determined that the change information does not match the safety change information;
[0154] If the current vibration frequency is lower than the minimum normal frequency, it means that the graphics card may have been deformed and cannot vibrate normally, or the current vibration frequency is greater than or equal to the preset frequency, it means that the graphics card is vibrating excessively and is damaged. Therefore, it can be determined that the change information does not match the safety change information.
[0155] Reference Figure 5 In order to reduce the waste of resources and the complexity of operation, in another embodiment, before obtaining the vibration frequency that does not exceed the preset frequency as the normal frequency, it also includes:
[0156] S41. Get the current displacement distance of the graphics card as the current distance;
[0157] That is to say, the displacement distance of the end of the graphics card away from its own plug-in end is obtained as the current distance.
[0158] S42. Determine whether the current distance gradually becomes zero within the fourth preset time length;
[0159] The fourth preset time length is the time required to reset the graphics card from the maximum displacement distance to the initial position when the graphics card is not damaged. The fourth preset time length can be obtained after testing according to actual conditions and pre-stored in the system.
[0160] It is determined whether the current distance gradually becomes zero within the fourth preset time length, that is, it is determined whether the graphics card can be normally reset to the initial position within the fourth preset time length, so as to determine whether the graphics card is damaged.
[0161] S43. If not, it is determined that the change information does not match the security change information;
[0162] S44. If yes, execute the step of obtaining a vibration frequency that does not exceed a preset frequency as a normal frequency.
[0163] If the current distance cannot gradually become zero within the fourth preset time length, it proves that the graphics card cannot be reset normally. At this time, it is highly likely that the graphics card has undergone irreversible deformation, resulting in the graphics card being unable to be reset normally. Therefore, it can be determined at this time that the change information does not match the security change information, and there is no need to perform subsequent operation steps, thereby reducing unnecessary resource usage and improving judgment efficiency.
[0164] If the current distance can gradually become zero within the fourth preset time length, it proves that the graphics card can be reset normally at this time, which means that the graphics card has not temporarily undergone irreversible deformation, so further confirmation is needed at this time. Therefore, the step of obtaining a vibration frequency that does not exceed the preset frequency as the normal frequency is continued at this time.
[0165] Reference Figure 6In order to improve the accuracy of the time of obtaining the position of the graphics card as much as possible, in another embodiment, before obtaining the first current position of the graphics card, the method further includes:
[0166] S51. Obtaining the logistics information of the graphics card;
[0167] The method of obtaining the information is to obtain the logistics name and route and store them in the system in advance. The route includes each station that the logistics will pass through, and the predicted time of arrival at each station calculated through historical data.
[0168] S52. Obtain the graphics card's passing sites based on logistics information;
[0169] That is to say, directly read the stations that the graphics card in the logistics information will pass through, that is, the passing stations.
[0170] S53. Get the predicted arrival time of the graphics card at each station along the way;
[0171] Similarly, the predicted time of arrival at each stop along the way is directly read from the logistics information, that is, the predicted arrival time.
[0172] S54. Get the current time;
[0173] The current time can be obtained in real time through the timer.
[0174] S55. Determine whether the current time matches the preset arrival time;
[0175] The judgment method may be to judge whether the current time is within the range of the preset arrival time, wherein the preset arrival time is a range value. If the current time is within the range value, it proves that the current time matches the preset arrival time, and if the current time is not within the range value, it proves that the current time does not match the preset arrival time.
[0176] S56. If a match is found, the step of obtaining the first current position of the graphics card is executed;
[0177] S57. If not, return to the step of determining whether the current time matches the preset arrival time.
[0178] If the current time matches the preset arrival time, it proves that the graphics card has arrived at the passing station, or is already near the passing station, so the step of obtaining the first current position of the graphics card can be continued at this time, so that the time of obtaining the first current position can be more accurate.
[0179] If the current time does not match the preset arrival time, it proves that the graphics card may not have arrived at the stopover site. At this time, you can continue to return to the step of determining whether the current time matches the preset arrival time, and continue until the current time matches the preset arrival time, so as to maximize the accuracy of the time for obtaining the graphics card's location.
[0180] Reference Figure 7 If the host graphics card is delayed during transportation, it is possible that the distance between the passing station matched at the current time and the actual station is too far away. At this time, the method of continuing to determine whether the current time matches the preset arrival time and obtaining the result has a large error. In order to minimize this error, in another embodiment, before returning to the step of determining whether the current time matches the preset arrival time, the method further includes:
[0181] S61. Obtain the en route site corresponding to the preset arrival time matching the current time as the matching site;
[0182] That is, the current time is matched with the predicted arrival time. When the corresponding predicted arrival time is matched, the corresponding passing site corresponding to the matched predicted arrival time, namely the matching site, can be obtained.
[0183] S62. Get the third current position of the graphics card;
[0184] The third current position is the current position of the graphics card obtained by the position sensor or positioning system at the current time when the matching site is matched.
[0185] S63. Determine whether the third current location matches the matching site;
[0186] Then the third current location is matched with the matching site in the same manner as matching the first current location with the second current location and determining whether the two are the same.
[0187] S64. If it matches, continue to execute the step of returning to determine whether the current time matches the preset arrival time;
[0188] S65. If there is no match, directly execute the step of obtaining the first current position of the graphics card.
[0189] If the third current position matches the matching site, it proves that even if the vehicle is delayed, the distance between the matched en route site and the actual site is small. Therefore, you can continue to return to determine whether the current time matches the preset arrival time. This can reduce the energy waste of continuously obtaining the position.
[0190] If the third current location does not match the matching site, it proves that the vehicle is delayed at this time, resulting in a large error. Therefore, there is no need to continue to execute the step of returning to determine whether the current time matches the preset arrival time. Instead, you can directly execute the step of obtaining the first current location, thereby ensuring the accuracy of the location acquisition as much as possible.
[0191] The implementation principle of a host graphics card monitoring method in an embodiment of the present application is as follows: when the graphics card is installed in the host and moves, the first current position of the graphics card is obtained, and then the second current position of the graphics card is obtained according to the first preset time length, and then it is determined whether the first current position and the second current position are the same, so as to determine whether the computer is in a moving or stationary state. If it is in a moving state, a monitoring instruction is obtained to control the monitoring device in the host to monitor and obtain the change information of the graphics card, and then it is determined whether the change information matches the preset safety change information, so as to determine whether the graphics card is damaged, wherein the change information includes vibration information and displacement information, and the safety change information includes safety vibration information and safety displacement information. If it does not match, at this time, the graphics card damage alarm information is obtained according to the second current position, and the seller can be alarmed, so as to facilitate the determination of the location where the graphics card fails. Therefore, it is convenient to determine whether the cause of the damage to the graphics card during the transportation of the computer is transportation damage or customer damage, thereby reducing the probability of disputes over fault compensation.
[0192] The embodiment of the present application also discloses a host graphics card monitoring system, which can achieve the same technical effect as the above-mentioned host graphics card monitoring method.
[0193] Reference Figure 8 , the host graphics card monitoring system includes:
[0194] A first position acquisition module 1, when the graphics card is installed in the host and moves, is used to acquire a first current position of the graphics card;
[0195] A second position acquisition module 2, used to acquire a second current position of the graphics card based on the first preset time length;
[0196] A position determination module 3, used to determine whether the first current position and the second current position are the same;
[0197] Instruction acquisition module 4, for acquiring monitoring instructions if the first current position is different from the second current position;
[0198] Information acquisition module 5, used to control the monitoring device in the host to monitor and obtain change information of the graphics card based on the monitoring instruction, the change information includes vibration information and displacement information;
[0199] An information judging module 6 is used to judge whether the change information matches the preset safety change information, where the safety change information includes safety vibration information and safety displacement information;
[0200] The alarm module 7 is used to obtain graphics card damage alarm information based on the second current position if the change information does not match the safety change information.
[0201] Specifically, when the graphics card is installed in the host and moved, the first position acquisition module 1 acquires the first current position of the graphics card and sends it to the position judgment module 3 connected thereto, and then the second position acquisition module 2 acquires the second current position of the graphics card based on the first preset time length, and sends it to the position judgment module 3 connected thereto.
[0202] Then, the position determination module 3 determines whether the first current position and the second current position are the same, and sends the determination result to the instruction acquisition module 4 connected thereto. If the first current position and the second current position are different, the instruction acquisition module 4 acquires the monitoring instruction and sends it to the information acquisition module 5 connected thereto.
[0203] Then the information acquisition module 5 controls the monitoring device in the host to monitor and acquire the change information of the graphics card based on the monitoring instruction, and sends it to the information judgment module 6 connected thereto. The change information includes vibration information and displacement information.
[0204] Then, the information determination module 6 determines whether the change information matches the preset safety change information, and sends the determination result to the alarm module 7 connected thereto. The safety change information includes safety vibration information and safety displacement information.
[0205] If the change information does not match the security change information, the alarm module 7 obtains the graphics card damage alarm information based on the second current position, and then can alarm the seller, so as to facilitate the determination of the location where the graphics card fails. Therefore, it is convenient to determine whether the graphics card is damaged during the transportation of the computer due to transportation damage or man-made damage by the customer, thereby reducing the probability of disputes over fault compensation.
[0206] The embodiment of the present application also discloses an intelligent terminal, including a memory and a processor. The memory stores an intelligent computer program. The processor, when running the intelligent computer program, can execute the steps of the host graphics card monitoring method. The intelligent computer program can use a known processing program to perform a series of steps such as querying, judging, and selecting data, thereby realizing the query of data.
[0207] An embodiment of the present application also discloses a computer-readable storage medium, which stores a computer program that can be loaded by a processor and executes the host graphics card monitoring method as described above. The computer-readable storage medium includes, for example: a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and other media that can store program codes.
[0208] The above are all preferred embodiments of the present application, and the protection scope of the present application is not limited thereto. Therefore, any equivalent changes made according to the structure, shape, and principle of the present application should be included in the protection scope of the present application.
Claims
1. A method for monitoring a host graphics card, It is characterized in that include: When the graphics card is installed in the host and moves, obtaining a first current position of the graphics card; Acquire a second current position of the graphics card based on a first preset duration; Determining whether the first current position and the second current position are the same; If different, obtain monitoring instructions; Based on the monitoring instruction, control the monitoring device in the host to monitor and obtain change information of the graphics card, wherein the change information includes vibration information and displacement information; Determining whether the change information matches preset safety change information, wherein the safety change information includes safety vibration information and safety displacement information; If they do not match, obtaining graphics card damage alarm information based on the second current position; The specific method is to determine whether the vibration frequency in the vibration information matches the preset vibration frequency in the safety vibration information. The determination method is to determine whether the vibration frequency is less than or equal to the preset vibration frequency. If the vibration frequency is less than or equal to the preset vibration frequency, it proves that the vibration information matches the safety vibration information, otherwise it does not match. The preset vibration frequency is the maximum vibration frequency at which the graphics card will be damaged; Whether the displacement information matches the safety displacement information is determined by determining whether the displacement distance in the displacement information matches the preset displacement distance in the safety displacement information. If the displacement distance is less than or equal to the preset displacement distance, it is proved that the displacement information matches the safety displacement information, otherwise it is not matched. The preset displacement distance is the maximum displacement distance at which the end of the graphics card away from its own plug-in end breaks and is damaged.
2. The monitoring method according to claim 1, It is characterized in that The determining whether the change information matches the preset security change information includes: Acquire all vibration frequencies of the graphics card within a second preset time period based on the vibration information; Determining whether there is a vibration frequency exceeding a preset frequency; Obtaining the initial position of the graphics card; The initial position is when the graphics card is normally inserted into the host without vibration or displacement, and the graphics card is far away from its own plug-in end; Based on the displacement information and the initial position, all displacement distances of the graphics card within a third preset time period are obtained. When the graphics card is displaced, the displacement sensor will record the displacement distance of the graphics card in real time within the third preset time period. The third preset time period can be set according to actual needs, and the displacement distance is the distance that the end of the graphics card away from its own plug-in end swings back and forth based on the initial position. Determining whether the displacement distance exceeds a preset distance; If the vibration frequency exceeds the preset frequency and / or the displacement distance exceeds the preset distance, determining that the change information does not match the safety change information; If the vibration frequency does not exceed the preset frequency, and the displacement distance does not exceed the preset distance, it is determined that the change information matches the safety change information.
3. The monitoring method according to claim 2, It is characterized in that Before determining that the change information does not match the security change information, the method further includes: Acquire the number of the displacement distances exceeding the preset distance as the excess number; Determining whether the excess quantity is greater than a quantity threshold; If so, determining that the change information does not match the security change information; If not, it is determined that the change information matches the security change information.
4. The monitoring method according to claim 3, It is characterized in that If the excess quantity is not greater than the quantity threshold, before determining that the change information matches the security change information, the method further includes: Acquire the vibration frequency that does not exceed the preset frequency as a normal frequency; Obtaining the minimum normal frequency among all the normal frequencies as the minimum normal frequency; Obtaining the current vibration frequency of the graphics card; Determining whether the current vibration frequency is less than the minimum normal frequency; If the current vibration frequency is greater than or equal to the minimum normal frequency, determining whether the current vibration frequency is less than the preset frequency; If the current vibration frequency is less than the preset frequency, determining that the change information matches the safety change information; If the current vibration frequency is less than the minimum normal frequency or the current vibration frequency is greater than or equal to the preset frequency, it is determined that the change information does not match the safety change information.
5. The monitoring method according to claim 4, It is characterized in that Before obtaining the vibration frequency that does not exceed the preset frequency as the normal frequency, the method further includes: Obtaining the current displacement distance of the graphics card as the current distance; Determining whether the current distance gradually becomes zero within a fourth preset time period; If not, determining that the change information does not match the security change information; If yes, proceed to the next step.
6. The monitoring method according to claim 1, It is characterized in that Before obtaining the first current position of the graphics card, the method further includes: Obtaining logistics information of the graphics card; Acquire the passing sites of the graphics card based on the logistics information; Obtaining the predicted arrival time of the graphics card at each of the passing stations; Get the current time; Determining whether the current time matches the preset arrival time; If they match, executing the step of obtaining the first current position of the graphics card; If not, return to the step of determining whether the current time matches the preset arrival time.
7. The monitoring method according to claim 6, It is characterized in that Before executing the step of returning to determine whether the current time matches the preset arrival time, the method further includes: Acquire the passing site corresponding to the preset arrival time matching the current time as a matching site; Obtaining a third current position of the graphics card; Determining whether the third current location matches the matching site; If they match, continue to execute the step of returning to determine whether the current time matches the preset arrival time; If there is no match, directly execute the step of obtaining the first current position of the graphics card.
8. An intelligent terminal, It is characterized in that include: A memory for storing computer programs that can be executed on the processor; The processor, when running the computer program, is capable of executing the steps of the method according to any one of claims 1 to 7.
9. A computer-readable storage medium, Features: A computer program is stored which can be loaded by a processor and execute the method according to any one of claims 1 to 7.
