CN112199245A - Mobile terminal screen detection method, system, storage medium and mobile terminal - Google Patents

Mobile terminal screen detection method, system, storage medium and mobile terminal Download PDF

Info

Publication number
CN112199245A
CN112199245A CN202011154447.6A CN202011154447A CN112199245A CN 112199245 A CN112199245 A CN 112199245A CN 202011154447 A CN202011154447 A CN 202011154447A CN 112199245 A CN112199245 A CN 112199245A
Authority
CN
China
Prior art keywords
display data
address
mobile terminal
data segment
abnormal
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.)
Granted
Application number
CN202011154447.6A
Other languages
Chinese (zh)
Other versions
CN112199245B (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.)
Jingyuan Times Shenzhen Technology Co ltd
Original Assignee
TCL Communication Ningbo 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 TCL Communication Ningbo Ltd filed Critical TCL Communication Ningbo Ltd
Priority to CN202011154447.6A priority Critical patent/CN112199245B/en
Publication of CN112199245A publication Critical patent/CN112199245A/en
Application granted granted Critical
Publication of CN112199245B publication Critical patent/CN112199245B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1407General aspects irrespective of display type, e.g. determination of decimal point position, display with fixed or driving decimal point, suppression of non-significant zeros
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]

Abstract

The application discloses a mobile terminal screen detection method, a mobile terminal screen detection system, a storage medium and a mobile terminal. This application is through dividing the display data section in the mobile terminal screen into two the same size first display data sections and second display data section, in the display data of duplicating the first display data section to the first address of second display data section, when the display data appears unusually, mobile terminal's central processing unit duplicates the display data and adds in the second address in the second display data section with the demonstration, and whether show successfully through the display data, with the abnormal point of quick judgement, thereby improve the solution efficiency and promote user experience.

Description

Mobile terminal screen detection method, system, storage medium and mobile terminal
Technical Field
The application relates to the technical field of mobile communication, in particular to a mobile terminal screen detection method, a mobile terminal screen detection system, a storage medium and a mobile terminal.
Background
At present, the whole screen of the display area is adopted by the mobile terminal, and the display area in the mobile terminal has larger display experience compared with the traditional functional mobile phone, and is suitable for watching video, playing games and other application scenes. These mobile terminals have high requirements for the display screen, otherwise it is difficult to meet the real-time processing of a large amount of display data. Generally, the screen is divided into two types, one is to send display data to the screen periodically through a baseband chip of the mobile terminal, for example, if display data of a frame of current time (including minutes and seconds) needs to be displayed, the baseband chip needs to send the display data to the screen for display at regular intervals (for example, 0.05 seconds). Although the time changes once in a minute, the display content is to send 1200 full-screen display data to the screen in a minute by the baseband chip. The other is to arrange a first display data segment in the screen, where the first display data segment is self-refreshed, and the screen displays the content in the first display data segment periodically, so that the display data of a frame of current time (including minutes and seconds) needs to be displayed, and the baseband chip only needs to send the display data to the screen for display at regular intervals (for example, 60 seconds). Although the second screen with the first display data segment is convenient to use and high in efficiency, if a problem occurs in the first display data segment, the display content is abnormal for a long time and the abnormal point is not easy to judge.
Therefore, it is desirable to provide a method, a system, a storage medium and a mobile terminal for detecting a screen of a mobile terminal to solve the above problems.
Disclosure of Invention
The application provides a mobile terminal screen detection method, a mobile terminal screen detection system, a storage medium and a mobile terminal, and solves the problems that once a problem occurs in a first display data segment of a screen provided with the first display data segment, display contents are abnormal for a long time and abnormal points are difficult to judge.
According to a first aspect of the present application, the present application provides a mobile terminal screen detection method, including: when the mobile terminal displays, acquiring display data and the address and the size of the display data in the first display data segment; copying the display data to the second display data segment, and simultaneously recording a first address and a size of the display data in the second display data segment; when the display data is abnormal, copying the display data to a second address in the second display data segment, wherein the second address is different from the first address; judging whether the display data is successfully displayed; when the display data is judged to be successfully displayed, judging that the second display data segment is abnormal; and when the display data is judged to be abnormal, judging that the first display data segment is abnormal.
Further, the method further comprises: and recording the abnormal address of the first display data segment or the second display data segment.
Further, before the step of acquiring display data and the address and size of the display data in the first display data segment when the mobile terminal displays, the method further includes: dividing the display data segment in the screen of the mobile terminal into a first display data segment and a second display data segment which have the same size.
Further, in the step of determining that there is an abnormality in the second display data segment, the method further includes: sequentially performing writing 0 xFF operation or writing 0 x 00 operation on the display content at each address of the second display data segment; sequentially reading the data written into the addresses; and when the read data is not equal to 0 × FF or 0 × 00, identifying the written address as an abnormal address.
Further, in the step of determining that there is an abnormality in the first display data segment, the method further includes: sequentially performing writing 0 xFF operation or writing 0 x 00 operation on the display content at each address of the first display data segment; sequentially reading the data written into the addresses; and when the read data is not equal to 0 × FF or 0 × 00, identifying the written address as an abnormal address.
According to a second aspect of the present application, there is provided a mobile terminal screen detection system, the system comprising: the acquisition module is used for acquiring display data and the address and the size of the display data in the first display data segment when the mobile terminal displays; the first copying module is used for copying the display data to the second display data segment and recording a first address and a size of the display data in the second display data segment; the second copying module is used for copying the display data to a second address in the second display data segment when the display data is abnormal, wherein the second address is different from the first address; the judging module is used for judging whether the display data is successfully displayed; the first judging module is used for judging that the second display data segment is abnormal when the display data is judged to be successfully displayed; and the second judging module is used for judging that the first display data segment is abnormal when the display data is judged to be abnormal.
Further, the system further comprises: and the recording module is used for recording the abnormal address of the first display data segment or the second display data segment.
Further, the system further comprises: and the dividing module is used for dividing the display data segment in the screen of the mobile terminal into a first display data segment and a second display data segment with the same size.
According to a third aspect of the present application, there is provided a storage medium having stored therein a plurality of instructions adapted to be loaded by a processor to perform the above-mentioned mobile terminal screen detection method.
According to a fourth aspect of the present application, there is provided a mobile terminal, which includes a processor and a memory, wherein the processor is electrically connected to the memory, the memory is used for storing instructions and data, and the processor is used for executing the steps in the mobile terminal screen detection method.
The application provides a mobile terminal screen detection method, a mobile terminal screen detection system, a storage medium and a mobile terminal. The beneficial effect of this application lies in: the display data segment in the screen of the mobile terminal is divided into a first display data segment and a second display data segment which are the same in size, the display data in the first display data segment are copied to a first address of the second display data segment, when the display data are abnormal, a central processing unit of the mobile terminal copies the display data to a second address in the second display data segment for display, whether the display data are successfully displayed or not is judged quickly, and therefore the solution efficiency is improved, and the user experience is improved.
Drawings
The technical solution and other advantages of the present application will become apparent from the detailed description of the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating a method for detecting a screen of a mobile terminal according to an embodiment of the present application.
Fig. 2 is a flowchart illustrating a specific step of step S16 shown in fig. 1.
Fig. 3 is a flowchart illustrating a specific step of step S17 shown in fig. 1.
Fig. 4 is a schematic structural diagram of a mobile terminal screen detection system provided in an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a mobile terminal provided in an embodiment of the present application.
Fig. 6 is a schematic structural diagram of a mobile terminal provided in an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application. It is to be understood that the embodiments described are only a few embodiments of the present application and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Specifically, referring to fig. 1, an embodiment of the present application provides a method for detecting a screen of a mobile terminal, which includes the following steps.
And step S11, dividing the display data segment in the screen of the mobile terminal into a first display data segment and a second display data segment with the same size.
In the embodiment of the application, the display data segment is used for operating the display data, so that the display data is displayed in the screen.
Step S12, when the mobile terminal displays, obtaining display data and the address and size of the display data in the first display data segment.
In the embodiment of the application, when the mobile terminal displays, the first display data segment is used for displaying. The central processing unit of the mobile terminal obtains the address (including the start address) and the size of the display data in the first display data segment, that is, the start address and the data length of the display data.
And step S13, copying the display data to the second display data segment, and recording the first address and size of the display data in the second display data segment.
In the embodiment of the application, when the central processing unit of the mobile terminal copies the display data to the second display data segment, the first display data segment and the second data segment operate the display data together, so that the display data is displayed on the screen. The first address and the size of the display data in the second display data segment are recorded simultaneously, that is, the start address and the data length of the display data are recorded.
Step S14, when the display data is abnormal, copying the display data to a second address in the second display data segment, wherein the second address is different from the first address.
In the embodiment of the application, when display data is abnormal, the problem of the first display data segment or the second display data segment is described. The central processing unit of the mobile terminal copies the display data to the second address in the second display data segment for operation, so that whether the first display data segment or the second display data segment has a problem can be judged.
Step S15, determining whether the display data is successfully displayed.
Step S16, when the display data is successfully displayed, it is determined that the second display data segment is abnormal.
In the embodiment of the application, if the display data is successfully displayed, it indicates that the first address in the second display data segment is abnormal.
Referring to fig. 2, step S16 includes steps S21 through S23.
And step S21, sequentially performing a write 0 × FF operation or a write 0 × 00 operation on the display content at each address of the second display data segment.
In step S22, the data written to the address is sequentially read.
In step S23, when the read data is not equal to 0 × FF or 0 × 00, the written address is identified as an abnormal address.
In the embodiment of the present application, step S16 only judges that the first address (including the multi-bit address) is abnormal, and determines an abnormal address by performing a write operation and a read operation on each address.
Specifically, in one embodiment, a temporary variable n is set first, and zeroes are set. When the temporary variable n is judged to be smaller than the length of the second display data segment, 0 × FF or 0 × 00 is written into the start address Addr + n of the first address in the second display data segment, and data (data value) in the start address Addr + n of the first address is read. When the read data is not equal to 0 × FF or 0 × 00, the written address is identified as an abnormal address. And assigning n to be n +1, and repeating the operation until all the addresses in the second display data segment are judged to be normal.
In another embodiment, the temporary variable n is set first and zeroed. When the temporary variable n is judged to be smaller than the length of the second display data segment, 0 xFF is written into the starting address Addr + n of the first address in the second display data segment, and data (data value) in the starting address Addr + n of the first address is read. Then 0 × 00 is written into the start address Addr + n of the first address in the second display data segment, and the data (data value) in the start address Addr + n of the first address is read. When the data read twice is not equal to 0 × FF and 0 × 00, the written address is identified as an abnormal address. And assigning n to be n +1, and repeating the operation until all the addresses in the second display data segment are judged to be normal.
Continuing to refer to fig. 1, in step S17, when it is determined that the display data is abnormal, it is determined that there is an abnormality in the first display data segment.
Referring to fig. 3, step S17 includes steps S31 to S33.
And step S31, sequentially performing write 0 × FF operation or write 0 × 00 operation on the display content at each address of the first display data segment.
In step S32, the data written to the address is sequentially read.
In step S33, when the read data is not equal to 0 × FF or 0 × 00, the written address is identified as an abnormal address.
In the embodiment of the present application, step S17 judges that only the first display data segment (including the multi-bit address) is abnormal, and determines an abnormal address by performing a write operation and a read operation for each address.
Specifically, in one embodiment, a temporary variable n is set first, and zeroes are set. When the temporary variable n is judged to be smaller than the length of the first display data segment, 0 × FF or 0 × 00 is written to the start address Addr + n in the first display data segment, and data (data value) in the start address Addr + n of the first display data segment is read. When the read data is not equal to 0 × FF or 0 × 00, the written address is identified as an abnormal address. And assigning n to be n +1, and repeating the operation until all the addresses in the first display data segment are judged to be normal.
In another embodiment, the temporary variable n is set first and zeroed. When the temporary variable n is judged to be smaller than the length of the first display data segment, 0 xFF is written into the starting address Addr + n in the first display data segment, and the data (data value) in the starting address Addr + n of the first display data segment is read. Then 0 × 00 is written into the start address Addr + n in the first display data segment, and the data (data value) in the start address Addr + n of the first address is read. When the data read twice is not equal to 0 × FF and 0 × 00, the written address is identified as an abnormal address. And assigning n to be n +1, and repeating the operation until all the addresses in the first display data segment are judged to be normal.
Continuing to refer to fig. 1, step S18, an exception address of the first display data segment or the second display data segment is recorded.
In the embodiment of the application, the abnormal address is recorded, so that maintenance personnel or manufacturers can maintain the abnormal address more conveniently.
Referring to fig. 4, an embodiment of the present application provides a mobile terminal screen detection system. The mobile terminal screen detection system comprises a dividing module 401, an obtaining module 402, a first copying module 403, a second copying module 404, a judging module 405, a first judging module 406, a second judging module 407 and a recording module 408.
The dividing module 401 is configured to divide the display data segment in the screen of the mobile terminal into a first display data segment and a second display data segment with the same size.
In the embodiment of the application, the display data segment is used for operating the display data, so that the display data is displayed in the screen.
The obtaining module 402 is configured to obtain display data and an address and a size of the display data in the first display data segment when the mobile terminal displays the display data.
In the embodiment of the application, when the mobile terminal displays, the first display data segment is used for displaying. The central processing unit of the mobile terminal obtains the address (including the start address) and the size of the display data in the first display data segment, that is, the start address and the data length of the display data.
The first copying module 403 is configured to copy the display data into the second display data segment, and record a first address and a size of the display data in the second display data segment.
In the embodiment of the application, when the central processing unit of the mobile terminal copies the display data to the second display data segment, the first display data segment and the second data segment operate the display data together, so that the display data is displayed on the screen. The first address and the size of the display data in the second display data segment are recorded simultaneously, that is, the start address and the data length of the display data are recorded.
The second copying module 404 is configured to copy, when the display data is abnormal, the central processing unit of the mobile terminal to a second address in the second display data segment, where the second address is different from the first address.
In the embodiment of the application, when display data is abnormal, the problem of the first display data segment or the second display data segment is described. The central processing unit of the mobile terminal copies the display data to the second address in the second display data segment for operation, so that whether the first display data segment or the second display data segment has a problem can be judged.
The judging module 405 is configured to judge whether the display data is successfully displayed.
The first determining module 406 is configured to determine that the second display data segment is abnormal when the display data is determined to be successfully displayed.
In the embodiment of the application, if the display data is successfully displayed, it indicates that the first address in the second display data segment is abnormal.
Further, the display content is sequentially subjected to write 0 × FF operation or write 0 × 00 operation at each address of the second display data segment. The data written to the address is sequentially read. When the read data is not equal to 0 × FF or 0 × 00, the written address is identified as an abnormal address.
The first determining module 406 determines that an exception occurs only in the first address (including the multi-bit address), and determines an exception address by performing a write operation and a read operation on each address.
Specifically, in one embodiment, a temporary variable n is set first, and zeroes are set. When the temporary variable n is judged to be smaller than the length of the second display data segment, 0 xFF or 0 x 00 is written into the starting address Addr + n of the first address in the second display data segment, data (data value) in the starting address Addr + n of the first address is read, and when the read data is not equal to 0 xFF or 0 x 00, the written address is identified as an abnormal address. And assigning n to n +1 and repeating the operations until all the addresses in the second display data segment are judged to be normal.
In another embodiment, the temporary variable n is set first and zeroed. When n is judged to be smaller than the length of the second display data segment, 0 xFF is written into the starting address Addr + n of the first address in the second display data segment, and data (data value) in the starting address Addr + n of the first address is read. Then 0 × 00 is written into the start address Addr + n of the first address in the second display data segment, and the data (data value) in the start address Addr + n of the first address is read. When the data read twice is not equal to 0 × FF and 0 × 00, the written address is identified as an abnormal address. And assigning n to n +1 and repeating the operations until all the addresses in the second display data segment are judged to be normal.
The second determination module 407 is configured to determine that the first display data segment is abnormal when it is determined that the display data segment is abnormal.
Further, the display content is sequentially subjected to write 0 × FF operation or write 0 × 00 operation at each address of the first display data segment. The data written to the address is sequentially read. When the read data is not equal to 0 × FF or 0 × 00, the written address is identified as an abnormal address.
The second determination module 407 determines that only the first display data segment (including the multi-bit address) is abnormal, and determines an abnormal address by performing a write operation and a read operation on each address.
Specifically, in one embodiment, a temporary variable n is set first, and zeroes are set. When n is judged to be smaller than the length of the first display data segment, 0 × FF or 0 × 00 is written to the start address Addr + n in the first display data segment, and data (data value) in the start address Addr + n of the first display data segment is read. When the read data is not equal to 0 × FF or 0 × 00, the written address is identified as an abnormal address. And assigning n to be n +1, and repeating the operation until all the addresses in the first display data segment are judged to be normal.
In another embodiment, the temporary variable n is set first and zeroed. When the temporary variable n is judged to be smaller than the length of the first display data segment, 0 xFF is written into the starting address Addr + n in the first display data segment, and the data (data value) in the starting address Addr + n of the first display data segment is read. Then 0 × 00 is written into the start address Addr + n in the first display data segment, and the data (data value) in the start address Addr + n of the first address is read. When the data read twice is not equal to 0 × FF and 0 × 00, the written address is identified as an abnormal address. And assigning n to be n +1, and repeating the operation until all the addresses in the first display data segment are judged to be normal.
The recording module 408 is configured to record an abnormal address of the first display data segment or the second display data segment.
In the embodiment of the application, the abnormal address is recorded, so that maintenance personnel or manufacturers can maintain the abnormal address more conveniently.
Referring to fig. 5, an embodiment of the present application further provides a mobile terminal 500, where the mobile terminal 500 may be a device such as a mobile phone, a tablet, and a computer. As shown in fig. 5, the mobile terminal 500 includes a processor 501, a memory 502. The processor 501 is electrically connected to the memory 502.
The processor 501 is a control center of the mobile terminal 500, connects various parts of the entire mobile terminal using various interfaces and lines, and performs various functions of the mobile terminal and processes data by running or loading an application stored in the memory 502 and calling data stored in the memory 502, thereby integrally monitoring the mobile terminal.
In this embodiment, the mobile terminal 500 is provided with a plurality of memory partitions, where the plurality of memory partitions includes a system partition and a target partition, and the processor 501 in the mobile terminal 500 loads instructions corresponding to processes of one or more applications into the memory 502 according to the following steps, and the processor 501 runs the applications stored in the memory 502, so as to implement various functions:
when the mobile terminal displays, acquiring display data and the address and the size of the display data in the first display data segment;
copying the display data to the second display data segment, and simultaneously recording a first address and a size of the display data in the second display data segment;
when the display data is abnormal, copying the display data to a second address in the second display data segment, wherein the second address is different from the first address;
judging whether the display data is successfully displayed;
when the display data is judged to be successfully displayed, judging that the second display data segment is abnormal; and
and when the display data is judged to be abnormal, judging that the first display data segment is abnormal.
Referring to fig. 6, fig. 6 is a block diagram illustrating a specific structure of a mobile terminal 600 according to an embodiment of the present application, where the mobile terminal 600 may be used to implement the mobile terminal screen detection method provided in the foregoing embodiment. The mobile terminal 600 may be a mobile phone or a tablet. The mobile terminal 600 includes the following components.
The RF circuit 610 is used for receiving and transmitting electromagnetic waves, and performs interconversion between the electromagnetic waves and electrical signals, thereby communicating with a communication network or other devices. RF circuit 610 may include various existing circuit elements for performing these functions, such as an antenna, a radio frequency transceiver, a digital signal processor, an encryption/decryption chip, a Subscriber Identity Module (SIM) card, memory, and so forth. The RF circuit 610 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices over a wireless network. The wireless network may comprise a cellular telephone network, a wireless local area network, or a metropolitan area network. The Wireless network may use various Communication standards, protocols, and technologies, including, but not limited to, Global System for Mobile Communication (GSM), Enhanced Data GSM Environment (EDGE), Wideband Code Division Multiple Access (WCDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (Wi-Fi) (e.g., IEEE802.11a, IEEE802.11 b, IEEE 802.2.access, and/or IEEE802.11 n), Voice over Internet Protocol (VoIP), world wide Internet Microwave Access (Microwave for Wireless Communication), other suitable protocols for short message service (Max), and any other suitable protocols, and may even include those protocols that have not yet been developed.
The memory 620 may be used to store software programs and modules, such as program instructions/modules corresponding to the mobile terminal screen detection method in the above-mentioned embodiments, and the processor 680 may execute various functional applications and data processing by running the software programs and modules stored in the memory 620, that is, to implement the functions of the mobile terminal screen detection method. The memory 620 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 620 can further include memory located remotely from the processor 680, which can be connected to the mobile terminal 600 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input unit 630 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 630 may include a touch sensitive surface 631 as well as other input devices 632. The touch sensitive surface 631, also referred to as a touch display screen or a touch pad, may collect touch operations by a user (e.g., operations by a user on the touch sensitive surface 631 or near the touch sensitive surface 631 using any suitable object or attachment such as a finger, a stylus, etc.) on or near the touch sensitive surface 631 and drive the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 631 may comprise two parts, a touch detection means and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 680, and can receive and execute commands sent by the processor 680. In addition, the touch sensitive surface 631 may be implemented using various types of resistive, capacitive, infrared, and surface acoustic waves. The input unit 630 may include other input devices 632 in addition to the touch-sensitive surface 631. In particular, other input devices 632 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 640 may be used to display information input by or provided to the user and various graphical user interfaces of the mobile terminal 600, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 640 may include a Display panel 641, and optionally, the Display panel 641 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 631 may overlay the display panel 641, and when the touch-sensitive surface 631 detects a touch operation thereon or nearby, the touch operation is transmitted to the processor 680 to determine the type of the touch event, and then the processor 680 provides a corresponding visual output on the display panel 641 according to the type of the touch event. Although in FIG. 6, the touch-sensitive surface 631 and the display panel 641 are implemented as two separate components to implement input and output functions, in some embodiments, the touch-sensitive surface 631 and the display panel 641 may be integrated to implement input and output functions.
The mobile terminal 600 may also include at least one sensor 650, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 641 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 641 and/or the backlight when the mobile terminal 600 is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), can detect the magnitude and direction of gravity when the mobile phone is stationary, and can be used for applications of recognizing the posture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which may be further configured in the mobile terminal 600, further description is omitted here.
Audio circuit 660, speaker 661, and microphone 662 may provide an audio interface between a user and the mobile terminal 600. The audio circuit 660 may transmit the electrical signal converted from the received audio data to the speaker 661, and convert the electrical signal into an audio signal through the speaker 661 for output; on the other hand, the microphone 662 converts the collected sound signal into an electrical signal, which is received by the audio circuit 660 and converted into audio data, which is then processed by the audio data output processor 680 and then passed through the RF circuit 610 to be transmitted to, for example, another terminal, or output to the memory 620 for further processing. The audio circuit 660 may also include an earbud jack to provide communication of a peripheral headset with the mobile terminal 600.
The mobile terminal 600, which can assist the user in e-mail, web browsing, and streaming media access, etc., provides the user with wireless broadband internet access through the transmission module 670 (e.g., a Wi-Fi module). Although fig. 6 shows the transmission module 670, it is understood that it does not belong to the essential constitution of the mobile terminal 600 and may be omitted entirely within the scope not changing the essence of the invention as needed.
The processor 680 is a control center of the mobile terminal 600, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions of the mobile terminal 600 and processes data by operating or executing software programs and/or modules stored in the memory 620 and calling data stored in the memory 620, thereby integrally monitoring the mobile phone. Optionally, processor 680 may include one or more processing cores; in some embodiments, processor 680 may integrate an application processor, which handles primarily the operating system, user interface, applications, etc., and a modem processor, which handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into processor 680.
The mobile terminal 600 also includes a power supply 660 (e.g., a battery) for powering the various components, which may be logically coupled to the processor 680 through a power management system that may, in some embodiments, provide management of charging, discharging, and power consumption. The power supply 660 may also include any component of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the mobile terminal 600 may further include a camera (e.g., a front camera, a rear camera), a bluetooth module, and the like, which are not described in detail herein. Specifically, in this embodiment, the display unit of the mobile terminal is a touch screen display, the mobile terminal further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include instructions for:
when the mobile terminal displays, acquiring display data and the address and the size of the display data in the first display data segment;
copying the display data to the second display data segment, and simultaneously recording a first address and a size of the display data in the second display data segment;
when the display data is abnormal, copying the display data to a second address in the second display data segment, wherein the second address is different from the first address;
judging whether the display data is successfully displayed;
when the display data is judged to be successfully displayed, judging that the second display data segment is abnormal; and
and when the display data is judged to be abnormal, judging that the first display data segment is abnormal.
In specific implementation, the above modules may be implemented as independent entities, or may be combined arbitrarily to be implemented as the same or several entities, and specific implementation of the above modules may refer to the foregoing method embodiments, which are not described herein again.
It will be understood by those skilled in the art that all or part of the steps of the methods of the above embodiments may be performed by instructions or by instructions controlling associated hardware, and the instructions may be stored in a computer-readable storage medium and loaded and executed by a processor. To this end, embodiments of the present application provide a storage medium, in which a plurality of instructions are stored, where the instructions can be loaded by a processor to execute steps in any one of the mobile terminal screen detection methods provided in the embodiments of the present application.
Wherein the storage medium may include: read Only Memory (ROM), Random Access Memory (RAM), magnetic or optical disks, and the like.
Since the instructions stored in the storage medium can execute the steps in any of the mobile terminal screen detection methods provided in the embodiments of the present application, the beneficial effects that can be achieved by any of the mobile terminal screen detection methods provided in the embodiments of the present application can be achieved, which are detailed in the foregoing embodiments and will not be described again here. The above operations can be implemented in the foregoing embodiments, and are not described in detail herein.
The beneficial effect of this application lies in: the display data segment in the screen of the mobile terminal is divided into a first display data segment and a second display data segment which are the same in size, the display data in the first display data segment are copied to a first address of the second display data segment, when the display data are abnormal, a central processing unit of the mobile terminal copies the display data to a second address in the second display data segment for display, whether the display data are successfully displayed or not is judged quickly, and therefore the solution efficiency is improved, and the user experience is improved.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
The method, the system, the storage medium and the mobile terminal for detecting the mobile terminal screen provided by the embodiment of the application are introduced in detail, a specific example is applied in the text to explain the principle and the implementation mode of the application, and the description of the embodiment is only used for helping to understand the technical scheme and the core idea of the application; those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications or substitutions do not depart from the spirit and scope of the present disclosure as defined by the appended claims.

Claims (10)

1. A mobile terminal screen detection method is characterized by comprising the following steps:
when the mobile terminal displays, acquiring display data and the address and the size of the display data in the first display data segment;
copying the display data to the second display data segment, and simultaneously recording a first address and a size of the display data in the second display data segment;
when the display data is abnormal, copying the display data to a second address in the second display data segment, wherein the second address is different from the first address;
judging whether the display data is successfully displayed;
when the display data is judged to be successfully displayed, judging that the second display data segment is abnormal; and
and when the display data is judged to be abnormal, judging that the first display data segment is abnormal.
2. The mobile terminal screen detection method of claim 1, wherein the method further comprises:
and recording the abnormal address of the first display data segment or the second display data segment.
3. The mobile terminal screen detection method of claim 1, further comprising, before the steps of obtaining display data and an address and a size of the display data in the first display data segment when the mobile terminal is displaying:
dividing the display data segment in the screen of the mobile terminal into a first display data segment and a second display data segment which have the same size.
4. The mobile terminal screen detection method of claim 1, wherein in the step of determining that there is an abnormality in the second display data segment, comprising:
sequentially performing writing 0 xFF operation or writing 0 x 00 operation on the display content at each address of the second display data segment;
sequentially reading the data written into the addresses; and
when the read data is not equal to 0 × FF or 0 × 00, the written address is identified as an abnormal address.
5. The mobile terminal screen detection method of claim 1, wherein in the step of determining that the first display data segment is abnormal, comprising:
sequentially performing writing 0 xFF operation or writing 0 x 00 operation on the display content at each address of the first display data segment;
sequentially reading the data written into the addresses; and
when the read data is not equal to 0 × FF or 0 × 00, the written address is identified as an abnormal address.
6. A mobile terminal screen detection system, the system comprising:
the acquisition module is used for acquiring display data and the address and the size of the display data in the first display data segment when the mobile terminal displays;
the first copying module is used for copying the display data to the second display data segment and recording a first address and a size of the display data in the second display data segment;
the second copying module is used for copying the display data to a second address in the second display data segment when the display data is abnormal, wherein the second address is different from the first address;
the judging module is used for judging whether the display data is successfully displayed;
the first judging module is used for judging that the second display data segment is abnormal when the display data is judged to be successfully displayed; and
and the second judging module is used for judging that the first display data segment is abnormal when the display data is judged to be abnormal.
7. The mobile terminal screen detection system of claim 6, wherein the system further comprises:
and the recording module is used for recording the abnormal address of the first display data segment or the second display data segment.
8. The mobile terminal screen detection system of claim 6, wherein the system further comprises:
and the dividing module is used for dividing the display data segment in the screen of the mobile terminal into a first display data segment and a second display data segment with the same size.
9. A storage medium having stored therein a plurality of instructions adapted to be loaded by a processor to perform the mobile terminal screen detection method of any one of claims 1 to 5.
10. A mobile terminal, comprising a processor and a memory, wherein the processor is electrically connected to the memory, the memory is used for storing instructions and data, and the processor is used for executing the steps of the mobile terminal screen detection method according to any one of claims 1 to 5.
CN202011154447.6A 2020-10-26 2020-10-26 Mobile terminal screen detection method, system, storage medium and mobile terminal Active CN112199245B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011154447.6A CN112199245B (en) 2020-10-26 2020-10-26 Mobile terminal screen detection method, system, storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011154447.6A CN112199245B (en) 2020-10-26 2020-10-26 Mobile terminal screen detection method, system, storage medium and mobile terminal

Publications (2)

Publication Number Publication Date
CN112199245A true CN112199245A (en) 2021-01-08
CN112199245B CN112199245B (en) 2024-01-30

Family

ID=74011547

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011154447.6A Active CN112199245B (en) 2020-10-26 2020-10-26 Mobile terminal screen detection method, system, storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN112199245B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6996623B1 (en) * 1999-09-08 2006-02-07 Matsushita Electric Industrial Co., Ltd. Reception display apparatus and method for displaying screen partially with certain timing even when all data for the screen has not been received, and computer-readable record medium recording such reception display program
CN103379249A (en) * 2012-04-28 2013-10-30 鸿友科技股份有限公司 Wireless scanning device and scanning data processing and transmitting method
CN109218523A (en) * 2018-08-27 2019-01-15 惠州Tcl移动通信有限公司 Mobile terminal shows data exception detection method, mobile terminal and storage medium
CN109828688A (en) * 2019-01-23 2019-05-31 努比亚技术有限公司 Screen damage processing method, mobile terminal and computer readable storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6996623B1 (en) * 1999-09-08 2006-02-07 Matsushita Electric Industrial Co., Ltd. Reception display apparatus and method for displaying screen partially with certain timing even when all data for the screen has not been received, and computer-readable record medium recording such reception display program
CN103379249A (en) * 2012-04-28 2013-10-30 鸿友科技股份有限公司 Wireless scanning device and scanning data processing and transmitting method
CN109218523A (en) * 2018-08-27 2019-01-15 惠州Tcl移动通信有限公司 Mobile terminal shows data exception detection method, mobile terminal and storage medium
CN109828688A (en) * 2019-01-23 2019-05-31 努比亚技术有限公司 Screen damage processing method, mobile terminal and computer readable storage medium

Also Published As

Publication number Publication date
CN112199245B (en) 2024-01-30

Similar Documents

Publication Publication Date Title
CN107145386B (en) Data migration method, terminal device and computer readable storage medium
US11653227B2 (en) Method of controlling radio resource management measurement of neighboring cell, mobile communication terminal, and network side device
CN110874128B (en) Visualized data processing method and electronic equipment
CN108492837B (en) Method, device and storage medium for detecting audio burst white noise
CN111008090B (en) Battery electric quantity control method and device, storage medium and terminal equipment
CN109687922B (en) Signal monitoring method and device of wireless network, storage medium and mobile terminal
CN111443803A (en) Mode switching method, device, storage medium and mobile terminal
CN108965042B (en) Network delay obtaining method and device, terminal equipment and storage medium
CN112415367A (en) Drive chip abnormality detection method and device, electronic equipment and readable storage medium
CN112486350B (en) Detection method and device for touch screen of mobile terminal, storage medium and mobile terminal
CN110191503B (en) Audio playing method, system, storage medium and mobile terminal
CN111308303B (en) Method and device for detecting radio frequency power amplifier of mobile terminal
CN112367428A (en) Electric quantity display method and system, storage medium and mobile terminal
CN112199245B (en) Mobile terminal screen detection method, system, storage medium and mobile terminal
CN112286849A (en) Wireless charging base data switching method and system, storage medium and terminal equipment
CN110618798A (en) Multi-screen display method, multi-screen device, storage medium and terminal equipment
CN112379857B (en) Audio data processing method and device, storage medium and mobile terminal
CN105988801B (en) Method and device for displaying annotation information
CN112256610B (en) Connection control method, system, storage medium and mobile terminal
CN110972221B (en) Communication signal processing method and device and mobile terminal
CN112199021B (en) Application program opening method and device and mobile terminal
CN111651313B (en) Conversion method and system of identification card, storage medium and terminal equipment
CN110113482B (en) Display screen power supply method and device, storage medium and mobile terminal
CN109995441B (en) Communication information processing method, device and storage medium
CN106294025A (en) The method for down loading of a kind of terminal software and device

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
TA01 Transfer of patent application right

Effective date of registration: 20240105

Address after: 518000 Building 201, Zhongjing Zhiyun Science and Technology Park, No. 606 Fengtang Avenue, Zhancheng Community, Fuhai Street, Bao'an District, Shenzhen, Guangdong Province (one photo multi site enterprise)

Applicant after: Jingyuan Times (Shenzhen) Technology Co.,Ltd.

Address before: 6 / F, No. B5, Lane 999, Yangfan Road, Meixu street, Yinzhou District, Ningbo City, Zhejiang Province

Applicant before: TCL COMMUNICATION (NINGBO) Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant