Detection circuit, detection system, detection method, mainboard and readable storage medium
By normalizing the screen display parameters in the detection circuit, the problem of high software maintenance costs during point-screen software detection is solved, and software compilation and maintenance is realized on the same motherboard, reducing the cost of software development and maintenance.
Patent Information
- Application Number
- CN202311313477.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-10
- Publication Date
- 2025-04-11
AI Technical Summary
When using point-screen software to detect terminal screens, there is a problem of high software maintenance costs, because different software needs to be compiled and maintained on different motherboards.
By normalizing the official version of the screen display parameters and the screen display parameters of the point-screen version during testing in the detection circuit, the processor can call the corresponding target screen display parameters to detect the screen module according to the level signal output by the target pin, so as to compile and maintain software on the same motherboard.
It reduces the cost of software development and maintenance and avoids the complexity of software compilation and maintenance on different motherboards.
Smart Images

Figure CN119806921A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of detection, and in particular to a detection circuit, a detection system, a detection method, a mainboard and a readable storage medium. Background Art
[0002] With the development of terminal technology, the requirements for the display and touch functions of terminal screens are getting higher and higher. Therefore, before assembly, the terminal screen will be tested by a special fixture on the production line to test the display and touch functions of the terminal screen.
[0003] In the conventional technology, a version of screen-pointing software specially used for detecting the terminal screen is proposed for the detection environment of the fixture. However, when the screen-pointing software is used to detect the terminal screen, there is a problem of high software maintenance cost. Summary of the invention
[0004] The embodiments of the present application provide a detection circuit, a detection system, a detection method, a mainboard and a readable storage medium, which can reduce the software maintenance cost when using screen-pointing software to detect the terminal screen.
[0005] In a first aspect, an embodiment of the present application provides a detection circuit, comprising: a mainboard and a power supply, wherein the mainboard comprises a processor, and the power supply is respectively connected to a target pin of a screen module to be detected and the processor; the target pin of the screen module is also connected to the processor;
[0006] The processor is used to detect the screen module by calling the target screen display parameter corresponding to the level signal output by the target pin.
[0007] In a second aspect, an embodiment of the present application provides a detection system, which includes the detection circuit as described in the first aspect and a screen module to be detected.
[0008] In a third aspect, an embodiment of the present application provides a detection method, which is applied to the detection circuit described in the first aspect, and the method includes:
[0009] Obtaining the level signal output by the target pin;
[0010] According to the level signal, the target screen display parameter corresponding to the level signal is called to detect the screen module.
[0011] In a fourth aspect, an embodiment of the present application provides a mainboard, comprising a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the detection method described in the third aspect.
[0012] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method described in the third aspect are implemented.
[0013] In a sixth aspect, an embodiment of the present application provides a computer program product, including a computer program, which implements the steps of the method described in the third aspect when executed by a processor.
[0014] The above-mentioned detection circuit, detection system, detection method, mainboard and readable storage medium, the detection circuit includes a mainboard and a power supply, the mainboard includes a processor, the power supply is respectively connected to the target pin of the screen module to be detected and the processor, the target pin of the screen module is also connected to the above-mentioned processor, the processor can call the target screen display parameters corresponding to the level signal output by the target pin according to the level signal output by the target pin to detect the screen module, because the detection circuit normalizes the screen display parameters of the official version and the screen display parameters of the dot screen version during the test, so that the processor can call the target screen display parameters corresponding to the level signal output by the target pin according to the level signal output by the target pin, when compiling and maintaining the software, it only needs to be compiled and maintained on the same mainboard, without the need to compile and maintain different software on two mainboards respectively, saving the cost of software development and maintenance. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0016] Figure 1 is a schematic structural diagram of a detection circuit in one embodiment;
[0017] Figure 2 A schematic diagram of the structure of the connection between the detection circuit and the detection fixture in one embodiment;
[0018] Figure 3 is a schematic structural diagram of a detection circuit in one embodiment;
[0019] Figure 4 A schematic diagram of the structure of a detection system in one embodiment;
[0020] Figure 5 A schematic diagram of a detection method in an embodiment;
[0021] Figure 6 A schematic diagram of the internal structure of a mainboard in one embodiment;
[0022] Description of reference numerals:
[0023] 01: detection circuit; 10: mainboard; 101: processor;
[0024] 20: power supply; 30: resistance. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0026] It is understood that the terms "first", "second", etc. used in this application may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish a first element from another element. For example, without departing from the scope of this application, a first message may be referred to as a second message, and similarly, a second message may be referred to as a first message. Both the first message and the second message are messages, but they are not the same message.
[0027] Usually, before assembling the terminal screen with the terminal motherboard and other devices, the screen to be assembled will be tested for screen lighting using a special fixture on the production line to ensure that the display and touch functions of the screen unit to be assembled are normal, thereby preventing problems with defective rework after the screen is assembled. When performing screen lighting detection on the screen to be assembled, a mainboard with normal display is fastened with a pin using the fixture on the production line. At the same time, in order to facilitate the fastening and disassembly of the screen, a hot-swappable power supply board and an extension cable are added to perform screen lighting detection on the screen to be assembled. However, after adding the extension cable, the insertion loss of the mobile industry processor interface (MIPI) channel of the screen to be assembled becomes larger, the signal quality becomes worse, the screen frame rate and MIPI transmission rate are reduced, and the data throughput of the entire channel is reduced. In particular, when the screen module to be tested is a folding screen module, the insertion loss of the MIPI channel is particularly obvious. In this way, when the default formal production software of the whole machine is flashed into the fastened mainboard to perform screen lighting detection on the screen module, the screen module will experience screen flickering and flower screen, but after the screen module is installed in the whole machine environment, the screen module display is normal again. In this way, the fixture on the production line cannot play the role of selecting the screen module. Based on this, a special screen-pointing software is proposed for the fixture on the production line to perform screen lighting test on the screen module, ensuring that the normal screen module can display normally when the fixture is used for detection, so that the detection fixture on the production line can achieve the function of selecting bad screens. However, the official software and the screen-pointing software in the terminal are two different versions of software, and the screen display parameters of the two are not the same and cannot be compatible. The development of these two different versions of software requires separate debugging, and the official software and the screen-pointing software need to be installed on different motherboards, that is, the screen-pointing software is installed on the motherboard for testing the screen module, and the official software is installed on the motherboard for assembling the terminal. The official software and the screen-pointing software need to be maintained separately on different motherboards, thereby increasing the production line maintenance cost, so that when the above-mentioned screen-pointing software is used to perform screen lighting detection on the screen module of the terminal, there is a problem of high software maintenance cost. Based on this, the present application proposes a detection circuit, a detection system, a detection method, a motherboard and a readable storage medium, which is intended to solve the problem of high software maintenance cost when the screen-pointing software adapted to the detection fixture on the production line is used to perform screen lighting detection on the screen module of the terminal.
[0028] In one embodiment, Figure 1 As shown, a detection circuit 01 is provided, comprising: a mainboard 10 and a power supply 20, the mainboard 10 comprising a processor 101, the power supply 20 being respectively connected to the target pin of the screen module to be detected and the processor 101, and the target pin of the screen module is also connected to the processor 101; the processor 101 is used to detect the screen module by calling the target screen display parameters corresponding to the level signal according to the level signal output by the target pin.
[0029] The screen module to be tested is the screen module before being assembled with the terminal's mainboard and other devices. The screen module to be tested can be composed of any of a variety of electronic screens. After being assembled with the terminal's mainboard and other devices, the screen module to be tested can be used to provide visual content display. Optionally, the screen module to be tested in this embodiment can be a folding screen module, or a sliding screen module, etc., which is not limited in this embodiment.
[0030] Optionally, in this embodiment, the target pin of the screen module to be detected can be a physical signal line led out from the screen module to be detected. Since the power supply 20 of the detection circuit 01 is connected to the target pin of the screen module to be detected, the current can be input to the target pin of the screen module to be detected through the power supply 20. The target pin of the screen module to be detected can form different loops when the screen module is connected to the detection fixture and when the screen module is not connected to the detection fixture, so that the target pin can generate different level signals based on these two different connection conditions, and the processor 101 can detect the different level signals generated by the target pin. It should be noted that the detection fixture in this embodiment can be any existing fixture for detecting the screen module, but it is necessary to ensure that one end of the detection fixture is grounded so that the target pin of the screen module to be detected can generate different level signals when the screen module to be detected is connected to the detection fixture. This embodiment does not limit the specific type and structure of the detection fixture.
[0031] In this embodiment, the main board 10 is the largest circuit board in the terminal, on which the main circuit systems constituting the terminal are installed. Optionally, the screen display parameters of the screen-lighting software used when performing screen lighting detection on the screen module and the screen display parameters of the formal software in the terminal can be stored in advance on the main board 10, that is, the screen display parameters of the screen-lighting software and the screen display parameters of the formal software are normalized, and the screen display parameters of the screen-lighting software and the screen display parameters of the formal software are stored on the same main board.
[0032] Further, it can be understood that the circuit formed when the screen module to be detected is connected to the detection fixture is different from the circuit formed when the screen module to be detected is not connected to the detection fixture. Therefore, the level signal of the target pin output collected by the processor 101 when the screen module to be detected is connected to the detection fixture is different from the level signal of the target pin output collected when the screen module to be detected is not connected to the detection fixture. Therefore, the processor 101 can determine whether the screen module to be detected is connected to the detection fixture based on the level signal output by the target pin of the screen module to be detected, and call the target screen display parameters corresponding to the level signal output by the target pin to detect the screen module to be detected. For example, if the processor 101 determines that the screen module to be detected is connected to the detection fixture based on the level signal output by the target pin, the target screen display parameters corresponding to the level signal output by the target pin can be the screen display parameters corresponding to the screen-clicking software, and then the screen module to be detected is detected through the screen display parameters; if the processor 101 determines that the screen module to be detected is not connected to the detection fixture based on the level signal output by the target pin, the target screen display parameters corresponding to the level signal output by the target pin can be the screen display parameters corresponding to the correct version, and then the display screen of the screen module is controlled through the screen display parameters.
[0033] Optionally, in this embodiment, the detection result of the screen module to be detected may be that the display and touch functions of the screen module are normal, or it may be that the display and trigger functions of the screen module are abnormal, etc., and this embodiment does not limit this. It is understandable that if the processor 101 detects that the detection result of the screen module to be detected is that the display and trigger functions of the screen module are abnormal, then the processor 101 can further generate prompt information to remind production personnel that the screen module to be detected needs to be fully processed before it can be assembled with the terminal's mainboard and other devices, or the generated prompt information can be a prompt information used to remind production personnel that the screen module to be detected has a large loss and cannot be used normally, and the screen module can be discarded, etc. This embodiment does not limit the detailed content of the prompt information generated based on the detection result. Optionally, in the present embodiment, a signal light connected to the processor 101 may be provided in the detection circuit, and prompt information may be displayed by the color of the signal light. For example, if the color of the signal light is red, it may indicate that the detection result of the screen module to be detected is that the display and trigger functions of the screen module are abnormal; if the color of the signal light is yellow, it may indicate that the detection result of the screen module to be detected is that the display and trigger functions of the screen module are normal.
[0034] The above-mentioned detection circuit includes a mainboard and a power supply. The mainboard includes a processor. The power supply is respectively connected to the target pin of the screen module to be detected and the processor. The target pin of the screen module is also connected to the above-mentioned processor. The processor can call the target screen display parameters corresponding to the level signal output by the target pin according to the level signal output by the target pin to detect the screen module. Since the screen display parameters of the official version and the screen display parameters of the dot screen version during the test are normalized in the detection circuit, the processor can call the target screen display parameters corresponding to the level signal output by the target pin according to the level signal output by the target pin. When compiling and maintaining the software, it only needs to be compiled and maintained on the same mainboard, without the need to compile and maintain different software on two mainboards respectively, saving the cost of software development and maintenance.
[0035] On the basis of the above embodiment, the specific process of the processor calling the target screen display parameter corresponding to the level signal output by the target pin according to the level signal output by the target pin is described in detail in this embodiment. In one embodiment, the processor 101 is used to call the first screen display parameter to control the display screen of the screen module when the target pin outputs the first level; or, when the target pin outputs the second level, call the second screen display parameter to control the display screen of the screen module; wherein the second level is higher than the first level; and the display performance of the first screen display parameter is lower than the display performance of the second screen display parameter.
[0036] In this example, see Figure 2 When the screen module to be detected is connected to the detection fixture, since the detection fixture end is grounded, the current output by the power supply 20 will not flow to the target pin of the screen module to be detected, so that the target pin will generate a low level when the screen module to be detected is connected to the detection fixture, that is, the above-mentioned first level; when the screen module to be detected is not connected to the detection fixture, the current output by the power supply 20 will flow to the target pin of the screen module to be detected, so that the target pin will generate a high level when the screen module to be detected is not connected to the detection fixture, that is, the above-mentioned second level.
[0037] Further, as an optional implementation, when the screen module to be tested is connected to the detection fixture, that is, when the processor 101 detects that the target pin outputs the first level, the processor 101 can call the first screen display parameter of the point screen version to control the display screen of the screen module and detect the display and trigger functions of the screen module. As another optional implementation, when the screen module to be tested is not connected to the detection fixture, that is, when the processor 101 detects that the target pin outputs the second level, the processor 101 can call the second screen display parameter of the official version to control the display screen of the screen module. It can be understood that since the first screen display parameter of the point screen version is used to detect the display and triggering functions of the screen module, it can ensure that the screen module can display normally and does not require the display quality of the screen module to be relatively high at this time. The first screen display parameter with relatively low frame rate and frame speed can be used. The second screen display parameter of the official version is used for displaying visual content during the use of the terminal in the terminal. It is necessary to ensure the quality and clarity of the displayed picture. Therefore, the display performance of the first screen display parameter of the point screen version in this embodiment can be lower than the display performance of the second screen display parameter of the official version.
[0038] In this embodiment, the processor can call the first screen display parameter to control the display screen of the screen module when the target pin outputs the first level, and call the second screen display parameter to control the display screen of the screen module when the target pin outputs the second level. By calling different screen display parameters to control the display screen of the screen module when the target pin outputs different levels, the screen display parameters of the dot screen version and the screen display parameters of the formal version can be normalized, which facilitates the unified management of the screen display parameters of the dot screen version and the screen display parameters of the formal version, thereby reducing the cost of software maintenance when detecting the screen module.
[0039] Based on the above embodiment, as an optional implementation mode, Figure 3 As shown, the detection circuit 01 further includes a resistor 30 , which is connected to the power supply 20 , the screen module and the processor 101 respectively.
[0040] In this embodiment, the detection circuit 01 also includes a resistor 30. For further information, please continue to refer to Figure 3As an optional implementation, when the screen module to be detected is connected to the detection fixture, the current output by the power supply 20 can flow to the ground terminal of the detection fixture after passing through the resistor 30. At this time, no current will pass through the target pin of the screen module to be detected, and the target pin of the screen module will output the above-mentioned first level. As another optional implementation, when the screen module is not connected to the detection fixture, the current output by the power supply 20 will flow to the screen module to be detected after passing through the resistor 30. At this time, the target pin of the screen module will output the above-mentioned second level. It can be understood that in the above-mentioned detection circuit, since the current output by the power supply 20 first passes through the resistor 30, the size of the power supply output current can be limited by the resistor 30, and the resistor 30 plays a role in buffering the power supply output current, thereby avoiding the impact on the entire detection circuit when the current output by the power supply 30 is too large, thereby causing the occurrence of problems such as detection circuit failure.
[0041] In this embodiment, the detection circuit also includes a resistor, which can limit the magnitude of the power supply output current, thereby avoiding the impact of excessive power supply output current on the detection circuit, thereby avoiding the occurrence of problems such as detection circuit failure due to excessive power supply output current.
[0042] In some scenarios, it may be necessary to change different scenarios when testing the screen module to be tested. To test in different scenarios, the detection circuit for testing the screen module to be tested needs to be smaller in size and be able to be flexibly applied to a variety of different test scenarios. Based on the above embodiment, as an optional implementation, the processor 101 and the power supply 20 are both integrated on the mainboard 10.
[0043] In this embodiment, as an optional implementation, since the mainboard 10 is an indispensable device in the entire detection circuit, and the area on the mainboard 10 is usually large, other devices can be integrated on the mainboard for integrated setting. In this embodiment, in order to reduce the volume occupied by the detection circuit, as an optional implementation, the processor 101 and the power supply 20 can be integrated on the mainboard 10. However, it can be understood that, in addition to the implementation of this embodiment, the power supply 20 can also be a separate external power supply, which can be independently set outside the mainboard, rather than integrated on the mainboard, as long as it is ensured that the power supply 20 can be used to power the detection circuit 01. It can be understood that the above two implementations can be selected according to specific actual needs when they are specifically selected. When the volume of the detection circuit 01 is required to be small, the power supply 20 can be integrated on the mainboard 10. When there is no requirement for the volume of the detection circuit 01, the above two implementations can be used, as long as it can be ensured that the power supply 20 can be used to power the detection circuit.
[0044] In this embodiment, the processor and power supply in the detection circuit are integrated on the main board, which can greatly reduce the volume occupied by the detection circuit, making the detection circuit more flexible and facilitating screen lighting detection of the detection screen module in practice.
[0045] In one embodiment, Figure 4 As shown, a detection system is provided, which includes the detection circuit described in the above embodiment and a screen module to be detected.
[0046] In this embodiment, the detection system includes the detection circuit described in the above embodiment and the screen module to be detected. In this way, after the screen module to be detected is connected to the detection circuit described in the above embodiment in the detection system, when the screen module to be detected is also connected to the detection fixture, the detection circuit described in the above embodiment can be used to perform screen lighting detection on the screen module to be detected, so as to detect the display and triggering functions of the screen module to be detected, and whether the screen module is damaged or cannot display defects can be detected in time, thereby avoiding the problem of defective rework after the screen module is assembled with the terminal.
[0047] The above-mentioned detection system includes a detection circuit and a screen module to be detected. By connecting the screen module to be detected with the detection circuit, when the screen module to be detected is connected to the detection fixture, the detection circuit can promptly perform screen lighting detection on the screen module to be detected to ensure that the display and triggering functions of the screen module are normal, thereby avoiding the problem of defective rework after the screen module is assembled with the terminal.
[0048] In one embodiment, Figure 5 As shown, a detection method is provided, which is applied to the detection circuit in the above embodiment, and the method includes:
[0049] S201, obtaining the level signal output by the target pin.
[0050] S202: According to the level signal, call the target screen display parameters corresponding to the level signal to detect the screen module to be detected.
[0051] The screen module to be tested is the screen module before being assembled with the terminal, and the screen module to be tested can be composed of any of a variety of electronic screens, and the screen module to be tested can be used to provide visual content display. Optionally, in this embodiment, the screen module to be tested can be a folding screen module, or a sliding screen module.
[0052] Optionally, in the present embodiment, the target pin of the screen module to be detected can be a physical signal line led out from the screen module to be detected. Since the power supply of the detection circuit is connected to the target pin of the screen module to be detected, the power supply can input current to the target pin of the screen module to be detected, and the target pin can generate different level signals when the screen module is connected to the detection fixture and when the screen module is not connected to the detection fixture. It should be noted that the detection fixture in the present embodiment can be any existing fixture for detecting the screen module, but it is necessary to ensure that one end of the detection fixture is grounded so that the target pin of the screen module to be detected can generate different level signals when the screen module to be detected is connected to the detection fixture. The present embodiment does not limit the specific type and structure of the detection fixture.
[0053] In this embodiment, the main board is the largest circuit board in the terminal, on which the main circuit systems constituting the terminal are installed. The screen display parameters of the screen-pointing software used for screen lighting detection on the screen module and the screen display parameters of the formal software in the terminal can be pre-stored, that is, the screen display parameters of the screen-pointing software and the screen display parameters of the formal software are normalized, and the screen display parameters of the screen-pointing software and the screen display parameters of the formal software are stored on the same mainboard.
[0054] Further, it can be understood that the circuit formed when the screen module to be detected is connected to the detection fixture is different from the circuit formed when the screen module to be detected is not connected to the detection fixture. Therefore, the level signal of the target pin output collected by the processor when the screen module to be detected is connected to the detection fixture is different from the level signal of the target pin output collected when the screen module to be detected is not connected to the detection fixture. Therefore, the processor can determine whether the screen module to be detected is connected to the detection fixture based on the level signal output by the target pin of the screen module to be detected, and call the target screen display parameters corresponding to the level signal output by the target pin to detect the screen module to be detected. For example, if the processor determines that the screen module to be detected is connected to the detection fixture based on the level signal output by the target pin, the target screen display parameters corresponding to the level signal output by the target pin may be the screen display parameters corresponding to the screen-clicking software, and then the screen module to be detected is detected through the screen display parameters; if the processor determines that the screen module to be detected is not connected to the detection fixture based on the level signal output by the target pin, the target screen display parameters corresponding to the level signal output by the target pin may be the screen display parameters corresponding to the correct version, and then the screen module to be detected is detected through the screen display parameters.
[0055] Optionally, in the present embodiment, the detection result of the screen module to be detected may be that the display and touch functions of the screen module are normal, or it may be that the display and trigger functions of the screen module are abnormal, etc., and the present embodiment does not limit this. It is understandable that if the processor detects that the detection result of the screen module to be detected is that the display and trigger functions of the screen module are abnormal, a prompt message may be further generated to remind the production personnel that the screen module to be detected needs to be fully processed before it can be assembled with the terminal. Alternatively, the generated prompt message may be a prompt message used to remind the production personnel that the screen module to be detected has a large loss and cannot be used normally, and the screen module can be discarded, etc. The present embodiment does not limit the detailed content of the prompt message generated based on the detection result.
[0056] The above detection method is applied to a detection circuit, which includes a mainboard and a power supply. The mainboard includes a processor. The power supply is respectively connected to the target pin of the screen module to be detected and the processor. The target pin of the screen module is also connected to the above processor. The processor can call the target screen display parameters corresponding to the level signal output by the target pin to detect the screen module according to the level signal output by the target pin. Since the screen display parameters of the official version and the screen display parameters of the dot screen version during the test are normalized in the detection circuit, the processor can call the target screen display parameters corresponding to the level signal output by the target pin according to the level signal output by the target pin. When compiling and maintaining the software, it only needs to be compiled and maintained on the same mainboard, without the need to compile and maintain different software on two mainboards respectively, saving the cost of software development and maintenance.
[0057] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.
[0058] In one embodiment, a main board is provided, whose internal structure diagram can be as follows: Figure 6As shown. The mainboard includes a processor, a memory, an input / output interface, a communication interface and an input device. The processor, the memory and the input / output interface are connected via a system bus, and the communication interface and the input device are connected to the system bus via the input / output interface. The processor of the mainboard is used to provide computing and control capabilities. The memory of the mainboard includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the mainboard in the non-volatile storage medium. The input / output interface of the mainboard is used to exchange information between the processor and an external device. The communication interface of the mainboard is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. When the computer program is executed by the processor, a detection method is implemented.
[0059] Those skilled in the art will understand that Figure 6 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0060] In one embodiment, a mainboard is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the following steps when executing the computer program:
[0061] Get the level signal output by the target pin;
[0062] According to the level signal, the target screen display parameters corresponding to the level signal are called to detect the screen module to be detected.
[0063] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:
[0064] Get the level signal output by the target pin;
[0065] According to the level signal, the target screen display parameters corresponding to the level signal are called to detect the screen module to be detected.
[0066] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:
[0067] Get the level signal output by the target pin;
[0068] According to the level signal, the target screen display parameters corresponding to the level signal are called to detect the screen module to be detected.
[0069] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0070] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0071] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.
Claims
1. A detection circuit, characterized in that: include: A mainboard and a power supply, wherein the mainboard includes a processor, and the power supply is respectively connected to the target pin of the screen module to be detected and the processor; The target pin of the screen module is also connected to the processor; The processor is used to detect the screen module by calling the target screen display parameter corresponding to the level signal output by the target pin.
2. The detection circuit according to claim 1, characterized in that: The processor is used to call the first screen display parameter to control the display image of the screen module when the target pin outputs the first level; or call the second screen display parameter to control the display image of the screen module when the target pin outputs the second level; wherein the second level is higher than the first level; and the display performance of the first screen display parameter is lower than the display performance of the second screen display parameter.
3. The detection circuit according to claim 2, characterized in that: The target pin generates the first level when the screen module is connected to the detection fixture; or The target pin generates the second level when the screen module is not connected to the detection fixture.
4. The detection circuit according to any one of claims 1 to 3, characterized in that: The detection circuit also includes a resistor, which is respectively connected to the power supply, the screen module and the processor.
5. The detection circuit according to any one of claims 1 to 3, characterized in that: The processor and the power supply are both integrated on a mainboard.
6. The detection circuit according to claim 1, characterized in that: The screen module is a folding screen module; or, the screen module is a sliding screen module.
7. A detection system, characterized in that: The detection system comprises the detection circuit as described in any one of claims 1 to 6 and a screen module to be detected.
8. A detection method, characterized in that: The detection method is applied to the detection circuit according to any one of claims 1 to 6, and the method comprises: Obtaining the level signal output by the target pin; According to the level signal, the target screen display parameter corresponding to the level signal is called to detect the screen module.
9. A motherboard, comprising a memory and a processor, wherein a computer program is stored in the memory, wherein: When the computer program is executed by the processor, the processor is caused to perform the steps of the detection method according to any one of claim 8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: The computer program implements the steps of the method as claimed in claim 8 when executed by a processor.