CN112666491B - Method and system for detecting docking station of tablet personal computer - Google Patents

Method and system for detecting docking station of tablet personal computer Download PDF

Info

Publication number
CN112666491B
CN112666491B CN202110042735.0A CN202110042735A CN112666491B CN 112666491 B CN112666491 B CN 112666491B CN 202110042735 A CN202110042735 A CN 202110042735A CN 112666491 B CN112666491 B CN 112666491B
Authority
CN
China
Prior art keywords
information
detection
detection pin
obtaining
pin
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110042735.0A
Other languages
Chinese (zh)
Other versions
CN112666491A (en
Inventor
张凌鹤
杨明盛
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Lenovo Changfeng Technology Beijing Co Ltd
Original Assignee
Lenovo Changfeng Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Lenovo Changfeng Technology Beijing Co Ltd filed Critical Lenovo Changfeng Technology Beijing Co Ltd
Priority to CN202110042735.0A priority Critical patent/CN112666491B/en
Publication of CN112666491A publication Critical patent/CN112666491A/en
Application granted granted Critical
Publication of CN112666491B publication Critical patent/CN112666491B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Geophysics And Detection Of Objects (AREA)

Abstract

The invention discloses a method and a system for detecting a docking station of a tablet personal computer, wherein the method comprises the following steps: obtaining a first detection instruction, and connecting one end of the first detection PIN far away from the first embedded controller with one end of the second detection PIN far away from the first embedded controller on a first side surface of the docking station; obtaining a first control instruction; according to the first control instruction, setting the first detection PIN as a first output PIN and the second detection PIN as a second input PIN; obtaining a second control instruction; loading first square wave information to the first detection PIN according to the second control instruction; judging whether the second detection PIN receives the first square wave information or not; and if the first function information is received, acquiring a first detection result, and starting the first function information of the docking station. The technical problem that a tablet personal computer mainboard is burnt out due to detection misjudgment caused by short circuit of a locking interface is solved.

Description

Method and system for detecting docking station of tablet personal computer
Technical Field
The invention relates to the technical field of computer docking stations, in particular to a method and a system for detecting a tablet computer docking station.
Background
For convenience of connection with the docking station, the docking interface of the tablet computer is generally exposed, so that the PINs are required to have a good grounding protection function, and the tablet computer hardware cannot be damaged even if the PINs are accidentally shorted with the ground or the PINs are shorted, so that the docking station detection function is generally designed and controlled by the EC.
However, in the process of implementing the technical scheme of the embodiment of the application, the inventor discovers that the above technology has at least the following technical problems:
because the hardware detection circuit of docking has only one PIN, the docking station is in error detection, so that EC misoperation is caused, a power supply is turned on in error, and the mainboard of the tablet personal computer is burnt.
Disclosure of Invention
According to the method and the system for detecting the docking station of the tablet personal computer, the technical problem that the mainboard of the tablet personal computer is burnt out due to detection misjudgment caused by short circuit of the docking interface is solved, and the technical effects that the docking station side is used for designing two detection PINs, the two PINs are internally short-circuited, an EC is enabled to form a detection loop, the short circuit of the docking interface is accurately judged, and the safety of the tablet personal computer is protected are achieved.
The embodiment of the application provides a method for detecting a docking station of a tablet personal computer, which is applied to a docking station detection system, wherein the system comprises a first embedded controller, a first detection PIN and a second detection PIN, and the first embedded controller is respectively connected with the first detection PIN and the second detection PIN, and the method comprises the following steps: step 100: obtaining a first detection instruction; step 200: according to the first detection instruction, connecting one end of the first detection PIN far away from the first embedded controller with one end of the second detection PIN far away from the first embedded controller on the first side surface of the docking station so that the first detection PIN, the first embedded controller and the second detection PIN form a first detection loop; step 300: obtaining a first control instruction; step 400: according to the first control instruction, setting the first detection PIN as a first output PIN and the second detection PIN as a second input PIN; step 500: after the setting of the step 400 is completed, a second control instruction is obtained; step 600: loading first square wave information to the first detection PIN according to the second control instruction; step 700: judging whether the second detection PIN receives the first square wave information or not; step 800: if the second detection PIN receives the first square wave information, a first detection result is obtained; step 900: and opening first function information of the docking station according to the first detection result.
In another aspect, the present application also provides a system for tablet docking detection, wherein the system includes: a first obtaining unit: the first obtaining unit is used for obtaining a first detection instruction; a first connection unit: the first connection unit is used for connecting one end of the first detection PIN far away from the first embedded controller with one end of the second detection PIN far away from the first embedded controller on the first side surface of the docking station according to the first detection instruction, so that the first detection PIN, the first embedded controller and the second detection PIN form a first detection loop; a second obtaining unit: the second obtaining unit is used for obtaining a first control instruction; a first setting unit: the first setting unit is used for setting the first detection PIN as a first output PIN and the second detection PIN as a second input PIN according to the first control instruction; a third obtaining unit: the third obtaining unit is configured to obtain a second control instruction after the setting in the step 400 is completed; a first loading unit: the first loading unit is used for loading first square wave information to the first detection PIN according to the second control instruction; a first judgment unit: the first judging unit is used for judging whether the second detection PIN receives the first square wave information or not; fourth obtaining unit: the fourth obtaining unit is configured to obtain a first detection result if the second detection PIN receives the first square wave information; a first opening unit: the first opening unit is used for opening first function information of the docking station according to the first detection result.
One or more technical solutions provided in the embodiments of the present application at least have the following technical effects or advantages:
through at the panel computer side, design two detection PIN for the detection of docking station, with the inside short circuit of these two PIN, make EC form a detection loop to will detect PIN1 and detect PIN2 separately farther, avoid these two PIN direct short circuits, the misjudgement that leads to, make EC pass through the recognition mechanism of pulsed mode, reach and obtain more accurate and reliable recognition result, effectively solve the detection misjudgement that leads to because of the locking interface short circuit, the safe technological effect of panel computer has been protected.
The foregoing description is only an overview of the present application, and is intended to be implemented in accordance with the teachings of the present application in order that the same may be more clearly understood and to make the same and other objects, features and advantages of the present application more readily apparent.
Drawings
Fig. 1 is a flowchart of a method for detecting a docking station of a tablet computer according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a system for detecting a docking station of a tablet computer according to an embodiment of the present application;
Fig. 3 is a schematic structural diagram of an exemplary electronic device according to an embodiment of the present application.
FIG. 4 is a block diagram of a hardware design for tablet docking detection in accordance with an embodiment of the present application;
fig. 5 is a software flow chart for tablet docking detection according to an embodiment of the present application.
Reference numerals illustrate: the device comprises a first obtaining unit 11, a first connecting unit 12, a second obtaining unit 13, a first setting unit 14, a third obtaining unit 15, a first loading unit 16, a first judging unit 17, a fourth obtaining unit 18, a first starting unit 19, a bus 300, a receiver 301, a processor 302, a transmitter 303, a memory 304 and a bus interface 305.
Detailed Description
According to the method and the system for detecting the docking station of the tablet personal computer, the technical problem that the mainboard of the tablet personal computer is burnt out due to detection misjudgment caused by short circuit of the docking interface is solved, and the technical effects that the docking station side is used for designing two detection PINs, the two PINs are internally short-circuited, an EC is enabled to form a detection loop, the short circuit of the docking interface is accurately judged, and the safety of the tablet personal computer is protected are achieved.
Hereinafter, exemplary embodiments according to the present application will be described in detail with reference to the accompanying drawings. It should be apparent that the described embodiments are only some embodiments of the present application and not all embodiments of the present application, and it should be understood that the present application is not limited by the example embodiments described herein.
Summary of the application
For convenience of connection with the docking station, the docking interface of the tablet computer is generally exposed, so that the PINs are required to have a good grounding protection function, and the tablet computer hardware cannot be damaged even if the PINs are accidentally shorted with the ground or the PINs are shorted, so that the docking station detection function is generally designed and controlled by the EC. Because the hardware detection circuit of docking has only one PIN, the docking station is in error detection, so that EC misoperation is caused, a power supply is turned on in error, and the mainboard of the tablet personal computer is burnt.
Aiming at the technical problems, the technical scheme provided by the application has the following overall thought:
the embodiment of the application provides a method for detecting a docking station of a tablet personal computer, which is applied to a docking station detection system, wherein the system comprises a first embedded controller, a first detection PIN and a second detection PIN, and the first embedded controller is respectively connected with the first detection PIN and the second detection PIN, and the method comprises the following steps: step 100: obtaining a first detection instruction; step 200: according to the first detection instruction, connecting one end of the first detection PIN far away from the first embedded controller with one end of the second detection PIN far away from the first embedded controller on the first side surface of the docking station so that the first detection PIN, the first embedded controller and the second detection PIN form a first detection loop; step 300: obtaining a first control instruction; step 400: according to the first control instruction, setting the first detection PIN as a first output PIN and the second detection PIN as a second input PIN; step 500: after the setting of the step 400 is completed, a second control instruction is obtained; step 600: loading first square wave information to the first detection PIN according to the second control instruction; step 700: judging whether the second detection PIN receives the first square wave information or not; step 800: if the second detection PIN receives the first square wave information, a first detection result is obtained; step 900: and opening first function information of the docking station according to the first detection result.
In order to better understand the above technical solutions, the following detailed description will refer to the accompanying drawings and specific embodiments.
Example 1
As shown in fig. 1 and 5, an embodiment of the present application provides a method for detecting a docking station of a tablet computer, where the method further includes:
step 100: obtaining a first detection instruction;
step 200: according to the first detection instruction, connecting one end of the first detection PIN far away from the first embedded controller with one end of the second detection PIN far away from the first embedded controller on the first side surface of the docking station so that the first detection PIN, the first embedded controller and the second detection PIN form a first detection loop;
specifically, the docking station of the tablet computer is detected, a first detection instruction can be obtained first, the first detection instruction is that on a first side surface of the docking station, one end of the first detection PIN far away from the first embedded controller is connected with one end of the second detection PIN far away from the first embedded controller, as shown in fig. 4, the original detection PIN is further understood to be expanded into two, and in the hardware layout, the detection PIN1 and the detection PIN2 are separated far, so that erroneous judgment caused by direct short circuit of the two PINs is avoided. The docking station (docking) is used for enabling the tablet personal computer to be added with an expansion function, such as a usb, hdmi, AC power interface and the like, and the first Embedded Controller (EC) is a controller embedded in the tablet personal computer and is different from the CPU processor, is connected with the CPU processor through the LPC interface and is used for controlling key components such as a power supply, a keyboard and a battery of the system. And then make first detection PIN, first embedded controller, second detect PIN and constitute first detection return circuit for detect the docking station, reached and effectively solved the detection misjudgement because of the locking interface short circuit leads to, protected the security of panel computer.
Step 300: obtaining a first control instruction;
step 400: according to the first control instruction, setting the first detection PIN as a first output PIN and the second detection PIN as a second input PIN;
specifically, after a first detection loop is formed according to the first detection PIN, the first embedded controller and the second detection PIN, a first control instruction may be further obtained, where the first control instruction is to set the first detection PIN as a first output PIN and the second detection PIN as a second input PIN, further it may be understood that the dock detection PIN of the EC defaults to a high level, when the tablet computer is connected to the docking station, the corresponding PIN position on the docking station is grounded, the EC detects that the dock detection PIN becomes low, and the docking station is considered to be connected to the docking station, and each function PIN function including each power supply and the like is started, and then the first detection PIN may be considered as a detection PIN for outputting detection results of the EC and the dock, and the second detection PIN may be considered as a function PIN for inputting function feedback to the EC end, so as to confirm whether to turn on the power supply and each function of the docking station.
Step 500: after the setting of the step 400 is completed, a second control instruction is obtained;
step 600: loading first square wave information to the first detection PIN according to the second control instruction;
Specifically, after the first detection PIN is set to be a first output PIN and the second detection PIN is set to be a second input PIN, a second control instruction can be obtained, the second control instruction loads first square wave information on the first detection PIN, the second control instruction can be further understood as EC configuration detection PIN1 is output PIN, meanwhile, 100Hz square wave is generated, detection PIN2 is input PIN, 100Hz square wave is circularly detected, and whether the docking station is accessed can be judged through circularly detecting square wave information of the PINs 1 and 2.
Step 700: judging whether the second detection PIN receives the first square wave information or not;
step 800: if the second detection PIN receives the first square wave information, a first detection result is obtained;
step 900: and opening first function information of the docking station according to the first detection result.
Specifically, when the first detection PIN is loaded with first square wave information, namely 100Hz square wave, whether the second detection PIN receives the first square wave information is judged, namely whether the second detection PIN circularly detects 100Hz square wave is judged, if the second detection PIN receives the first square wave information, a first detection result is obtained, the first detection result is first function information of the docking station is started, and further, if the detection PIN2 receives 100Hz square wave, the docking station is considered to be connected, and the power supply and various functions of the docking station can be started.
Further, the step S700 further includes determining whether the second detection PIN receives the first square wave information:
step S710: if the second detection PIN does not receive the first square wave information, a second detection result is obtained;
step S720: and according to the second detection result, turning off the power supply of the docking station and disconnecting the first detection PIN and the second detection PIN.
Specifically, when judging whether the second detection PIN receives the first square wave information, if the second detection PIN does not receive the first square wave information, a first detection result is obtained, the first detection result is that the power supply of the docking station is turned off, the first detection PIN and the second detection PIN are disconnected, and further, if the square wave is not received, the docking station is considered to be removed, the power supply of the docking station is turned off, the function PINs of all paths are disconnected, and the technical effect of accurately judging whether the docking station is connected with the EC is achieved by judging whether the second detection PIN receives the first square wave information.
Further, before the step 200 connects the end of the first detection PIN away from the first embedded controller and the end of the second detection PIN away from the first embedded controller, the step 200 further includes:
Step S210: obtaining a first distance between the first detection PIN and the second detection PIN;
step S220: obtaining a first influence coefficient according to the first distance, wherein the first influence coefficient is the influence degree of the first distance on a detection result;
step S230: judging whether the first influence coefficient is in a preset influence range or not;
step S240: if not, a first adjustment instruction is obtained, wherein the first adjustment instruction is used for adjusting the first distance;
step S250: and if so, connecting one end of the first detection PIN far away from the first embedded controller with one end of the second detection PIN far away from the first embedded controller.
Specifically, in order to avoid erroneous judgment caused by direct short circuit of two PINs, when the hardware layout is adopted, the detected PIN1 and the detected PIN2 can be separated far, a first distance between the first detected PIN and the second detected PIN is obtained, the first distance is the length of the first detected PIN from the second detected PIN, further, according to the first distance, a first influence coefficient is obtained, the first influence coefficient is the influence degree of the first distance on the detected PIN, and whether the first influence coefficient is in a preset influence range is judged, the preset influence range is the preset standard distance between the first detected PIN and the second detected PIN, no larger influence is caused on the detected result, if the first distance is smaller, the direct short circuit of the two PINs is caused, if the first distance is larger, the detected result is influenced, therefore, the first distance needs to be ensured to reach the standard distance, then, a first adjustment instruction is obtained, the first adjustment instruction is used for adjusting the first distance to the detection PIN, the first end is controlled to reach the first distance, and the first distance is ensured to reach the first end, and further, the first distance is ensured to reach the first end detection result, and the first distance is ensured to be far away from the first end, and the first end detection PIN is controlled to be embedded in the first distance.
Further, in the step 600, according to the second control instruction, the step 600 further includes:
step S610: obtaining preset loading information;
step S620: obtaining preset frequency information according to the preset loading information;
step S630: and loading first square wave information to the first detection PIN according to the preset frequency information.
Specifically, when the first detection PIN is loaded with first square wave information, preset loading information can be obtained, the preset loading information is preset square wave information added to the first detection PIN, and because the EC software adopts a fixed-frequency pulse mode to detect the existence of the docking station, but not a fixed-level mode, and further according to the preset loading information, preset frequency information is obtained, wherein the preset frequency information is preset square wave added to the first detection PIN by 100Hz, and meanwhile, according to the preset frequency information, the first square wave information is loaded to the first detection PIN, and the technical effect that the detection result is more accurate and reliable is achieved by detecting the existence of the docking station by adopting the fixed-frequency pulse mode is achieved.
Further, the step S620 further includes:
Step S621: obtaining first parameter information of the first embedded controller;
step S622: obtaining second parameter information of the first detection PIN and third parameter information of the second detection PIN;
step S623: obtaining a first correction instruction according to the first parameter information, the second parameter information and the third parameter information;
step S624: and adjusting the preset frequency information according to the first correction instruction to obtain corrected preset frequency information.
Specifically, in order to obtain more accurate preset frequency information, first parameter information of the first embedded controller may be further obtained, where the first parameter information includes information such as rated voltage, rated power, working temperature, etc., second parameter information of the first detection PIN and third parameter information of the second detection PIN may be further obtained, the first parameter information and the second parameter information are respectively parameter information of the first detection PIN and parameter information of the second detection PIN, including information such as interface parameters, etc., and further according to the first parameter information, the second parameter information and the third parameter information, a first correction instruction is obtained, and the first correction instruction adjusts the preset frequency information, so that the preset frequency information meets parameter requirements of the first embedded controller, the first detection PIN and the second detection PIN, and finally obtains corrected preset frequency information, thereby achieving a technical effect of obtaining more accurate preset frequency information and further improving accuracy of a detection process.
Further, in the step 900, after the first function information of the docking station is turned on according to the first detection result, the step 900 further includes:
step S910: obtaining a first predetermined time;
step S920: acquiring first heating information of the docking station within the first preset time;
step S930: obtaining first volumetric information of the docking station;
step S940: obtaining first surface texture information of the docking station;
step S950: setting preset heating value information of the docking station according to the first volume information and the first surface material information;
step S960: judging whether the first heating information is within the preset heating value information or not;
step S970: if not, obtaining first alarm information;
step S980: and sending the first alarm information to a first user.
Specifically, after the first functional information of the docking station is started, a first predetermined time may be obtained, the first predetermined time may be a time period when the docking station starts to work, the time period may be half an hour or one hour, specific setting is not made here, further, first heat generation information of the docking station is obtained in the first predetermined time, meanwhile, first volume information and first surface texture information of the docking station are obtained, the first volume information is the volume size of the docking station, the first surface texture information is whether surface texture of the docking station is easy to dissipate heat or not, further, preset heat generation amount information of the docking station is set according to the first volume information and the first surface texture information, the preset heat generation amount information is the maximum heat generation amount information which can be born by the docking station, further, whether the first heat generation information is within the preset heat generation amount information is judged, if the first heat generation information is not within the preset heat generation amount information is not within, the docking station is described, the first volume information is obtained, the first volume information is the first volume information, the first volume information is the volume information of the docking station, the first volume information is the docking station, and the first volume information is not the first volume information, and the first volume information is the docking station is the first volume information, and the docking station is not normally.
Further, the embodiment of the application further comprises:
step S961: inputting the first heating information and the preset heating value information into a first training model, wherein the first training model is obtained through training of multiple groups of training data, and each group of training data in the multiple groups of training data comprises: the first heating information, the preset heating value information and identification information for identifying whether to send first alarm information;
step S962: and obtaining output information of the first training model, wherein the output information comprises information of whether to send first alarm information.
Specifically, in order to determine whether to send the first alarm information to the first user, the first heating information and the preset heating value information may be input into a first training model to perform continuous training, so that the output training result may be more accurate. The training model is a Neural network model, namely a Neural network model in machine learning, and a Neural Network (NN) is a complex Neural network system formed by a large number of simple processing units (called neurons) widely connected with each other, reflects many basic characteristics of brain functions of a human, and is a highly complex nonlinear power learning system. The neural network model is described based on a mathematical model of neurons. An artificial neural network (Artificial Neural Networks) is a description of the first order nature of the human brain system. In brief, it is a mathematical model. In the embodiment of the application, the first heating information and the preset heating value information are input into a first training model to be continuously trained, and whether the first alarm information is sent or not is identified to train the neural network model.
Further, the process of training the neural network model is essentially a process of supervised learning. The plurality of sets of training data specifically comprises: the first heating information, the preset heating value information, and identification information for identifying whether to transmit first alarm information. The neural network model outputs a training result by inputting the first heating information and the preset heating value information, namely the output information comprises the information of whether the first alarm information is sent or not, the output information is checked with the first alarm information which plays a role in identification or not, and if the output information is consistent with the requirement of whether the first alarm information which plays a role in identification or not is sent, the data supervision learning is completed, and the next group of data supervision learning is carried out; and if the output information is inconsistent with the requirement of whether the first alarm information is sent or not for playing the role of identification, the neural network learning model adjusts itself until the output result of the neural network learning model is consistent with the requirement of whether the first alarm information is sent or not for playing the role of identification, and then the supervision learning of the next group of data is carried out. The neural network learning model is continuously corrected and optimized through training data, the accuracy of the neural network learning model for processing the information is improved through the process of supervised learning, and the technical effect of enabling the judgment of whether the first alarm information is sent to the first user to be more accurate is achieved.
In summary, the method and the system for detecting the docking station of the tablet personal computer provided by the embodiment of the application have the following technical effects:
1. through at the panel computer side, design two detection PIN for the detection of docking station, with the inside short circuit of these two PIN, make EC form a detection loop to will detect PIN1 and detect PIN2 separately farther, avoid these two PIN direct short circuits, the misjudgement that leads to, make EC pass through the recognition mechanism of pulsed mode, reach and obtain more accurate and reliable recognition result, effectively solve the detection misjudgement that leads to because of the locking interface short circuit, the safe technological effect of panel computer has been protected.
2. The preset frequency information is adjusted according to the parameter information of the first embedded controller, the parameter information of the first detection PIN and the parameter information of the second detection PIN, so that the preset frequency information meets various parameter requirements, and meanwhile, the working heat dissipation capacity of the docking station is monitored in real time, the problem that normal work cannot be influenced due to the fact that the heat dissipation capacity reaches preset heat generation capacity and cannot be discharged in time is avoided, and the technical effect of ensuring the safety and reliability of the whole detection process is achieved.
Example two
Based on the same inventive concept as the method for detecting the docking station of the tablet computer in the foregoing embodiment, the present invention further provides a system for detecting the docking station of the tablet computer, as shown in fig. 2, the system includes:
the first obtaining unit 11: the first obtaining unit 11 is configured to obtain a first detection instruction;
the first connection unit 12: the first connection unit 12 is configured to connect, according to the first detection instruction, one end of the first detection PIN away from the first embedded controller and one end of the second detection PIN away from the first embedded controller on a first side of the docking station, so that the first detection PIN, the first embedded controller, and the second detection PIN form a first detection loop;
the second obtaining unit 13: the second obtaining unit 13 is configured to obtain a first control instruction;
the first setting unit 14: the first setting unit 14 is configured to set, according to the first control instruction, the first detection PIN as a first output PIN and the second detection PIN as a second input PIN;
the third obtaining unit 15: the third obtaining unit 15 is configured to obtain a second control instruction after the setting in the step 400 is completed;
The first loading unit 16: the first loading unit 16 is configured to load first square wave information on the first detection PIN according to the second control instruction;
the first judgment unit 17: the first judging unit 17 is configured to judge whether the second detection PIN receives the first square wave information;
fourth obtaining unit 18: the fourth obtaining unit is configured to obtain a first detection result if the second detection PIN receives the first square wave information;
the first opening unit 19: the first opening unit 19 is configured to open first function information of the docking station according to the first detection result.
Further, the system further comprises:
fifth obtaining unit: the fifth obtaining unit is configured to obtain a second detection result if the second detection PIN does not receive the first square wave information;
a first closing unit: the first closing unit is used for closing the power supply of the docking station and disconnecting the first detection PIN and the second detection PIN according to the second detection result.
Further, the system further comprises:
sixth obtaining unit: the sixth obtaining unit is configured to obtain a first distance between the first detection PIN and the second detection PIN;
Seventh obtaining unit: the seventh obtaining unit is configured to obtain a first influence coefficient according to the first distance, where the first influence coefficient is an influence degree of the first distance on a detection result;
a second judgment unit: the second judging unit is used for judging whether the first influence coefficient is in a preset influence range or not;
eighth obtaining unit: the eighth obtaining unit is configured to obtain a first adjustment instruction if the first distance is not the first distance, where the first adjustment instruction is used to adjust the first distance;
a second connection unit: and the second connection unit is used for connecting one end of the first detection PIN far away from the first embedded controller with one end of the second detection PIN far away from the first embedded controller if the first detection PIN is in the first connection unit.
Further, the system further comprises:
a ninth obtaining unit: the ninth obtaining unit is used for obtaining preset loading information;
tenth obtaining unit: the tenth obtaining unit is configured to obtain preset frequency information according to the preset loading information;
a second loading unit: the second loading unit is used for loading first square wave information to the first detection PIN according to the preset frequency information.
Further, the system further comprises:
eleventh obtaining unit: the eleventh obtaining unit is configured to obtain first parameter information of the first embedded controller;
a twelfth obtaining unit: the twelfth obtaining unit is used for obtaining second parameter information of the first detection PIN and third parameter information of the second detection PIN;
thirteenth obtaining unit: the thirteenth obtaining unit is configured to obtain a first correction instruction according to the first parameter information, the second parameter information, and the third parameter information;
a first adjusting unit: the first adjusting unit is used for adjusting the preset frequency information according to the first correction instruction to obtain corrected preset frequency information.
Further, the system further comprises:
fourteenth obtaining unit: the fourteenth obtaining unit is configured to obtain a first predetermined time;
fifteenth obtaining unit: the fifteenth obtaining unit is configured to obtain first heating information of the docking station within the first predetermined time;
sixteenth obtaining unit: the sixteenth obtaining unit is configured to obtain first volume information of the docking station;
seventeenth obtaining unit: the seventeenth obtaining unit is configured to obtain first surface texture information of the docking station;
A second setting unit: the second setting unit is used for setting preset heating value information of the docking station according to the first volume information and the first surface material information;
a third judgment unit: the third judging unit is used for judging whether the first heating information is within the preset heating value information;
eighteenth obtaining unit: the eighteenth obtaining unit is used for obtaining first alarm information if the first alarm information is not in the eighteenth obtaining unit;
a first transmitting unit: the first sending unit is used for sending the first alarm information to a first user.
Further, the system further comprises:
a first input unit: the first input unit is configured to input the first heating information and the preset heating value information into a first training model, where the first training model is obtained through training of multiple sets of training data, and each set of training data in the multiple sets of training data includes: the first heating information, the preset heating value information and identification information for identifying whether to send first alarm information;
nineteenth obtaining unit: the nineteenth obtaining unit is configured to obtain output information of the first training model, where the output information includes the information whether to send first alarm information.
The foregoing various modifications and specific examples of a method for detecting a docking station of a tablet computer in the first embodiment of fig. 1 are equally applicable to a system for detecting a docking station of a tablet computer in the present embodiment, and those skilled in the art will clearly know the implementation method of a system for detecting a docking station of a tablet computer in the present embodiment through the foregoing detailed description of a method for detecting a docking station of a tablet computer, so that the details will not be repeated again for the sake of brevity of the description.
Example III
An electronic device of an embodiment of the application is described below with reference to fig. 3.
Fig. 3 illustrates a schematic structural diagram of an electronic device according to an embodiment of the present application.
Based on the inventive concept of a method for tablet docking detection as in the previous embodiments, the present application further provides a system for tablet docking detection, on which a computer program is stored, which when executed by a processor, implements the steps of any of the methods for tablet docking detection as described above.
Where in FIG. 3 a bus architecture (represented by bus 300), bus 300 may comprise any number of interconnected buses and bridges, with bus 300 linking together various circuits, including one or more processors, represented by processor 302, and memory, represented by memory 304. Bus 300 may also link together various other circuits such as peripheral devices, voltage regulators, power management circuits, etc., as are well known in the art and, therefore, will not be described further herein. Bus interface 305 provides an interface between bus 300 and receiver 301 and transmitter 303. The receiver 301 and the transmitter 303 may be the same element, i.e. a transceiver, providing a means for communicating with various other apparatus over a transmission medium. The processor 302 is responsible for managing the bus 300 and general processing, while the memory 304 may be used to store data used by the processor 302 in performing operations.
The embodiment of the application provides a method for detecting a docking station of a tablet personal computer, which is applied to a docking station detection system, wherein the system comprises a first embedded controller, a first detection PIN and a second detection PIN, and the first embedded controller is respectively connected with the first detection PIN and the second detection PIN, and the method comprises the following steps: step 100: obtaining a first detection instruction; step 200: according to the first detection instruction, connecting one end of the first detection PIN far away from the first embedded controller with one end of the second detection PIN far away from the first embedded controller on the first side surface of the docking station so that the first detection PIN, the first embedded controller and the second detection PIN form a first detection loop; step 300: obtaining a first control instruction; step 400: according to the first control instruction, setting the first detection PIN as a first output PIN and the second detection PIN as a second input PIN; step 500: after the setting of the step 400 is completed, a second control instruction is obtained; step 600: loading first square wave information to the first detection PIN according to the second control instruction; step 700: judging whether the second detection PIN receives the first square wave information or not; step 800: if the second detection PIN receives the first square wave information, a first detection result is obtained; step 900: and opening first function information of the docking station according to the first detection result.
It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (8)

1. A method for tablet docking detection, the method being applied to a docking detection system, the system comprising a first embedded controller, a first detection PIN and a second detection PIN, wherein the first embedded controller is connected to the first detection PIN and the second detection PIN, respectively, the method comprising:
step 100: obtaining a first detection instruction;
step 200: according to the first detection instruction, connecting one end of the first detection PIN far away from the first embedded controller with one end of the second detection PIN far away from the first embedded controller on the first side surface of the docking station so that the first detection PIN, the first embedded controller and the second detection PIN form a first detection loop;
step 300: obtaining a first control instruction;
step 400: according to the first control instruction, setting the first detection PIN as a first output PIN and the second detection PIN as a second input PIN;
Step 500: after the setting of the step 400 is completed, a second control instruction is obtained;
step 600: loading first square wave information to the first detection PIN according to the second control instruction;
step 700: judging whether the second detection PIN receives the first square wave information or not;
step 800: if the second detection PIN receives the first square wave information, a first detection result is obtained;
step 900: according to the first detection result, starting first function information of the docking station;
wherein, in the step 200, before connecting the end of the first detection PIN away from the first embedded controller and the end of the second detection PIN away from the first embedded controller, the method further includes:
obtaining a first distance between the first detection PIN and the second detection PIN;
obtaining a first influence coefficient according to the first distance, wherein the first influence coefficient is the influence degree of the first distance on a detection result;
judging whether the first influence coefficient is in a preset influence range or not;
if not, a first adjustment instruction is obtained, wherein the first adjustment instruction is used for adjusting the first distance;
And if so, connecting one end of the first detection PIN far away from the first embedded controller with one end of the second detection PIN far away from the first embedded controller.
2. The method of claim 1, wherein the determining whether the first square wave information is received by the second detection PIN further comprises:
if the second detection PIN does not receive the first square wave information, a second detection result is obtained;
and according to the second detection result, turning off the power supply of the docking station and disconnecting the first detection PIN and the second detection PIN.
3. The method of claim 1, wherein in the step 600, loading the first detection PIN with first square wave information according to the second control instruction, the method further comprises:
obtaining preset loading information;
obtaining preset frequency information according to the preset loading information;
and loading first square wave information to the first detection PIN according to the preset frequency information.
4. The method of claim 3, wherein the obtaining preset frequency information according to the preset loading information, the method further comprises:
obtaining first parameter information of the first embedded controller;
Obtaining second parameter information of the first detection PIN and third parameter information of the second detection PIN;
obtaining a first correction instruction according to the first parameter information, the second parameter information and the third parameter information;
and adjusting the preset frequency information according to the first correction instruction to obtain corrected preset frequency information.
5. The method of claim 1, wherein in the step 900, after the first function information of the docking station is turned on according to the first detection result, the method further comprises:
obtaining a first predetermined time;
acquiring first heating information of the docking station within the first preset time;
obtaining first volumetric information of the docking station;
obtaining first surface texture information of the docking station;
setting preset heating value information of the docking station according to the first volume information and the first surface material information;
judging whether the first heating information is within the preset heating value information or not;
if not, obtaining first alarm information;
and sending the first alarm information to a first user.
6. The method of claim 5, wherein the method further comprises:
Inputting the first heating information and the preset heating value information into a first training model, wherein the first training model is obtained through training of multiple groups of training data, and each group of training data in the multiple groups of training data comprises: the first heating information, the preset heating value information and identification information for identifying whether to send first alarm information;
and obtaining output information of the first training model, wherein the output information comprises information of whether to send first alarm information.
7. A system for tablet docking detection, wherein the system comprises:
a first obtaining unit: the first obtaining unit is used for obtaining a first detection instruction;
a first connection unit: the first connection unit is used for connecting one end of the first detection PIN far away from the first embedded controller with one end of the second detection PIN far away from the first embedded controller on the first side surface of the docking station according to the first detection instruction, so that the first detection PIN, the first embedded controller and the second detection PIN form a first detection loop;
a second obtaining unit: the second obtaining unit is used for obtaining a first control instruction;
A first setting unit: the first setting unit is used for setting the first detection PIN as a first output PIN and the second detection PIN as a second input PIN according to the first control instruction;
a third obtaining unit: the third obtaining unit is used for obtaining a second control instruction after the first detection PIN is set to be a first output PIN and the second detection PIN is set to be a second input PIN;
a first loading unit: the first loading unit is used for loading first square wave information to the first detection PIN according to the second control instruction;
a first judgment unit: the first judging unit is used for judging whether the second detection PIN receives the first square wave information or not;
fourth obtaining unit: the fourth obtaining unit is configured to obtain a first detection result if the second detection PIN receives the first square wave information;
a first opening unit: the first opening unit is used for opening first function information of the docking station according to the first detection result;
sixth obtaining unit: the sixth obtaining unit is configured to obtain a first distance between the first detection PIN and the second detection PIN;
seventh obtaining unit: the seventh obtaining unit is configured to obtain a first influence coefficient according to the first distance, where the first influence coefficient is an influence degree of the first distance on a detection result;
A second judgment unit: the second judging unit is used for judging whether the first influence coefficient is in a preset influence range or not;
eighth obtaining unit: the eighth obtaining unit is configured to obtain a first adjustment instruction if the first distance is not the first distance, where the first adjustment instruction is used to adjust the first distance;
a second connection unit: and the second connection unit is used for connecting one end of the first detection PIN far away from the first embedded controller with one end of the second detection PIN far away from the first embedded controller if the first detection PIN is in the first connection unit.
8. A system for tablet docking detection comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method of any one of claims 1-6 when the program is executed by the processor.
CN202110042735.0A 2021-01-13 2021-01-13 Method and system for detecting docking station of tablet personal computer Active CN112666491B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110042735.0A CN112666491B (en) 2021-01-13 2021-01-13 Method and system for detecting docking station of tablet personal computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110042735.0A CN112666491B (en) 2021-01-13 2021-01-13 Method and system for detecting docking station of tablet personal computer

Publications (2)

Publication Number Publication Date
CN112666491A CN112666491A (en) 2021-04-16
CN112666491B true CN112666491B (en) 2023-08-22

Family

ID=75414840

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110042735.0A Active CN112666491B (en) 2021-01-13 2021-01-13 Method and system for detecting docking station of tablet personal computer

Country Status (1)

Country Link
CN (1) CN112666491B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113960502A (en) * 2021-09-15 2022-01-21 中国航空工业集团公司西安飞机设计研究所 State detection method for universal EWIS electric connector

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1249451A (en) * 1998-09-14 2000-04-05 富士通株式会社 Function expansion device, electronic device and electronic system
US6772264B1 (en) * 2000-05-22 2004-08-03 International Business Machines Corporation Enabling a docking station for ISA adapters
CN103901957A (en) * 2012-12-28 2014-07-02 联想(北京)有限公司 Control method and docking station
CN107194290A (en) * 2017-05-23 2017-09-22 济南浪潮高新科技投资发展有限公司 A kind of protection system for docking station USB
CN108132411A (en) * 2017-12-29 2018-06-08 重庆市灵龙自动化设备有限公司 For the efficient detection instrument of docking station
JP2019040239A (en) * 2017-08-22 2019-03-14 富士通クライアントコンピューティング株式会社 Electronic apparatus, electronic system and power supply control method
CN210109670U (en) * 2019-06-06 2020-02-21 浪潮集团有限公司 Docking station with interface protection function for mobile terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7840740B2 (en) * 2007-06-05 2010-11-23 Apple Inc. Personal media device docking station having an accessory device detector
US8724281B2 (en) * 2012-04-25 2014-05-13 Apple Inc. Techniques for detecting removal of a connector
US8954628B2 (en) * 2012-06-05 2015-02-10 Htc Corporation Portable device and peripheral extension dock
TWI648619B (en) * 2018-03-07 2019-01-21 和碩聯合科技股份有限公司 Connection detection system and detection method thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1249451A (en) * 1998-09-14 2000-04-05 富士通株式会社 Function expansion device, electronic device and electronic system
US6772264B1 (en) * 2000-05-22 2004-08-03 International Business Machines Corporation Enabling a docking station for ISA adapters
CN103901957A (en) * 2012-12-28 2014-07-02 联想(北京)有限公司 Control method and docking station
CN107194290A (en) * 2017-05-23 2017-09-22 济南浪潮高新科技投资发展有限公司 A kind of protection system for docking station USB
JP2019040239A (en) * 2017-08-22 2019-03-14 富士通クライアントコンピューティング株式会社 Electronic apparatus, electronic system and power supply control method
CN108132411A (en) * 2017-12-29 2018-06-08 重庆市灵龙自动化设备有限公司 For the efficient detection instrument of docking station
CN210109670U (en) * 2019-06-06 2020-02-21 浪潮集团有限公司 Docking station with interface protection function for mobile terminal

Also Published As

Publication number Publication date
CN112666491A (en) 2021-04-16

Similar Documents

Publication Publication Date Title
JP7029356B2 (en) How to handle impedance abnormalities in power adapters, terminals and charging circuits
CN111201689B (en) Electronic equipment and charging control method
US9444278B2 (en) USB charging with data communication
TWI573368B (en) Portable electronic device and charging method therefor
JP7487166B2 (en) Adapter test apparatus, method and computer storage medium
US10802574B2 (en) Semiconductor device and method of operating the same
EP3171480B1 (en) Method for identifying types of cables, power adaptor and cable
US20200290460A1 (en) Method for processing throttle control signal, electronic speed regulator, controller, and mobile platform
CN112666491B (en) Method and system for detecting docking station of tablet personal computer
JP2017506489A (en) Power adapter, terminal and charging circuit abnormality handling method
US10216550B2 (en) Technologies for fast boot with adaptive memory pre-training
US10431995B2 (en) Electronic device and charge control method
JP2019515614A (en) Charging method and related devices
CN111201690A (en) Charging control method, electronic device, power adapter and charging control system
CN111211937A (en) Method, device and system for testing stability of server link signals
KR102403478B1 (en) Charging method, terminal and computer storage medium
CN114721326B (en) Marketing inspection information processing method and device based on deep learning algorithm
US11108589B2 (en) Battery module, control method, program, and information processing system
CN115729756A (en) Test-accompanied hard disk, and method and system for test-accompanied server based on test-accompanied hard disk
CN114238190A (en) Terminal upgrading method, system, terminal, upgrading device and USB bus
CN113704066A (en) Machine room equipment monitoring and management method, storage medium and system
CN113866541A (en) Overvoltage protection test method, device and equipment for power module of direct current converter valve
CN113156244A (en) Method and device for testing charging device, electronic device and storage medium
CN107425570B (en) Charging method, system and device of terminal equipment
CN117516301B (en) Control data processing method and circuit for preventing misoperation

Legal Events

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