CN112199245B - 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
CN112199245B
CN112199245B CN202011154447.6A CN202011154447A CN112199245B CN 112199245 B CN112199245 B CN 112199245B CN 202011154447 A CN202011154447 A CN 202011154447A CN 112199245 B CN112199245 B CN 112199245B
Authority
CN
China
Prior art keywords
display data
address
mobile terminal
data segment
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011154447.6A
Other languages
Chinese (zh)
Other versions
CN112199245A (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
Jingyuan Times Shenzhen Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jingyuan Times Shenzhen Technology Co ltd filed Critical Jingyuan Times Shenzhen Technology Co 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

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. According to the method and the device, the display data segment in the mobile terminal screen is divided into the first display data segment and the second display data segment with the same size, the display data in the first display data segment is copied to the first address of the second display data segment, when the display data is abnormal, the central processing unit of the mobile terminal copies the display data to the second address in the second display data segment for displaying, and whether the display data is successful or not is judged rapidly, so that the solution efficiency is improved, and the user experience is improved.

Description

Mobile terminal screen detection method, system, storage medium and mobile terminal
Technical Field
The present invention relates to the field of mobile communications technologies, and 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 mobile terminals all adopt the whole screen with one surface as a display area, and compared with the traditional functional mobile phones in the past, the display areas in the mobile terminals have larger display experience, so that the mobile terminals are suitable for application scenes such as video watching, game playing and the like. These mobile terminals have high demands on the displayed screen, otherwise it is difficult to satisfy real-time processing of a large amount of display data. The general screen is divided into two types, one is that the baseband chip of the mobile terminal periodically transmits display data to the screen for display, for example, a frame of display data of the current time (only including minutes and seconds) needs to be displayed, and then the baseband chip needs to transmit the display data to the screen for display at regular intervals (for example, 0.05 seconds). Although the time is one-time display change per minute, the display content is to send 1200 full screen display data to the screen within one minute by the baseband chip within one minute. The other is that a first display data segment is arranged in the screen, the first display data segment is self-refreshed, the screen can display the content in the first display data segment periodically, so that the display data of the current time (only including minutes and seconds) of a frame needs to be displayed, and the display data only needs to be sent to the screen by the baseband chip to be displayed at regular intervals (such as 60 seconds). Although the second screen provided 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 problem that abnormal points are difficult to judge is caused.
Therefore, it is desirable to provide a mobile terminal screen detection method, a mobile terminal screen detection system, a storage medium and a mobile terminal, so as 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 on a screen provided with the first display data segment, long-term abnormality of display content is caused 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, the method comprising: 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 into the second display data segment, and simultaneously recording a first address and a first size of the display data in the second display data segment; copying the display data to a second address in the second display data segment when the display data has abnormal display, wherein the second address is different from the first address; judging whether the display data is successfully displayed or not; 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: recording an abnormal address of the first display data segment or the second display data segment.
Further, before the step of acquiring display data and an address and a size of the display data in the first display data segment when the mobile terminal is displaying, the method further includes: dividing the display data segment in the mobile terminal screen into two first display data segments and second display data segments with the same size.
Further, in the step of determining that the second display data segment has an abnormality, the method further includes: sequentially performing a write 0 xFF operation or a write 0 x 00 operation on each address of the second display data segment of the display content; sequentially reading the data written with the addresses; and identifying the written address as an abnormal address when the read data is not equal to 0 xff or 0 x 00.
Further, in the step of determining that the first display data segment has an abnormality, the method further includes: sequentially performing a write 0 xFF operation or a write 0 x 00 operation on each address of the first display data segment of the display content; sequentially reading the data written with the addresses; and identifying the written address as an abnormal address when the read data is not equal to 0 xff or 0 x 00.
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; a first copying module, configured to copy the display data into the second display data segment, and record a first address and a first size of the display data in the second display data segment at the same time; a second copying module, configured to copy the display data to a second address in the second display data segment when the display data has a display abnormality, where the second address is different from the first address; the judging module is used for judging whether the display data is successfully displayed or not; the first judging module is used for judging that the second display data segment is abnormal when judging that the display of the display data is successful; and the second judging module is used for judging that the first display data segment has abnormality when judging that the display data has abnormality.
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 mobile terminal screen into a first display data segment and a second display data segment which are the same in 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-described 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, 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 effects of this application lie in: the display data segment in the screen of the mobile terminal is divided into the first display data segment and the second display data segment with the same size, the display data in the first display data segment is copied to the first address of the second display data segment, when the display data is abnormal, the central processing unit of the mobile terminal copies the display data to the second address in the second display data segment for displaying, and whether the display data is successfully displayed or not is judged rapidly, so that the resolution efficiency is improved, and the user experience is improved.
Drawings
Technical solutions and other advantageous effects of the present application will be made apparent from the following detailed description of specific embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a flowchart illustrating steps of a method for detecting a screen of a mobile terminal according to an embodiment of the present application.
Fig. 2 is a specific step flow diagram of step S16 shown in fig. 1.
Fig. 3 is a specific step flow diagram of step S17 shown in fig. 1.
Fig. 4 is a schematic structural diagram of a mobile terminal screen detection system according to an embodiment of the present application.
Fig. 5 is a schematic structural diagram of a mobile terminal according to an embodiment of the present application.
Fig. 6 is a schematic diagram of a specific structure of a mobile terminal according to 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 will be apparent that the described embodiments are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
Specifically, referring to fig. 1, in an embodiment of the present application, a method for detecting a screen of a mobile terminal is provided, which includes the following steps.
Step S11, dividing the display data segment in the mobile terminal screen into two first display data segments and second display data segments with the same size.
In the embodiment of the application, the display data segment is used for running the display data, so that the display data is displayed in a screen.
And step S12, when the mobile terminal displays, acquiring display data and the address and the 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, namely the start address and the data length of the display data, from the first display data segment.
And S13, copying the display data into the second display data segment, and simultaneously recording the first address and the first size of the display data in the second display data segment.
In this embodiment of the present application, when the central processor of the mobile terminal copies the display data to the second display data segment, the first display data segment and the second data segment together operate the display data, so that the display data is displayed in the screen. The first address and the size of the display data in the second display data segment are recorded at the same time, namely the starting address and the data length of the display data are recorded.
And step S14, when the display data has abnormal display, 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 the display data has abnormal display, the first display data segment or the second display data segment is indicated to have a problem. 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, judging whether the display data is successfully displayed.
And S16, when the display data is judged to be successfully displayed, judging that the second display data segment is abnormal.
In the embodiment of the application, if the display data is successfully displayed, the first address in the second display data segment is indicated to be abnormal.
Referring to fig. 2, step S16 includes steps S21 to S23.
Step S21, 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 sequence.
Step S22, sequentially reading the data written with the addresses.
In step S23, when the read data is not equal to 0 xff or 0 x 00, the written address is identified as an abnormal address.
In the embodiment of the present application, step S16 only determines that the first address (including the multi-bit address) is abnormal, and determines the abnormal address by performing a write operation and a read operation on each address.
Specifically, in one embodiment, the temporary variable n is set first and set to zero. When it is judged that the temporary variable n is smaller than the length of the second display data segment, 0 xff or 0 x 00 is written to 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 xff or 0 x 00, the written address is identified as an abnormal address. And assigning n=n+1, and repeating the operation until judging whether all addresses in the second display data segment are normal.
In another embodiment, a temporary variable n is set first and set to zero. When it is judged that the temporary variable n is smaller than the length of the second display data segment, 0 xff is written to 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. And writing 0 x 00 to the initial address addr+n of the first address in the second display data segment, and reading the data (data value) in the initial address addr+n of the first address. When the read twice data is not equal to 0 xff and 0 x 00, the written address is identified as an abnormal address. And assigning n=n+1, and repeating the operation until judging whether all addresses in the second display data segment are normal.
With continued reference to fig. 1, in step S17, when it is determined that the display data is abnormal, it is determined that the first display data segment is abnormal.
Referring to fig. 3 in combination, step S17 includes steps S31 to S33.
Step S31, performing a write 0×ff operation or a write 0×00 operation on the display content at each address of the first display data segment in sequence.
Step S32, sequentially reading the data written with the addresses.
In step S33, when the read data is not equal to 0 xff or 0 x 00, the written address is identified as an abnormal address.
In the embodiment of the present application, step S17 only determines that the first display data segment (including the multi-bit address) is abnormal, and determines the abnormal address by performing a write operation and a read operation on each address.
Specifically, in one embodiment, the temporary variable n is set first and set to zero. When it is determined that the temporary variable n is smaller than the length of the first display data segment, 0 xff or 0 x 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 xff or 0 x 00, the written address is identified as an abnormal address. And assigning n=n+1, and repeating the operation until judging whether all addresses in the first display data segment are normal.
In another embodiment, a temporary variable n is set first and set to zero. When it is determined that the temporary variable n is smaller than the length of the first display data segment, 0 xff 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. And writing 0 x 00 to the initial address addr+n in the first display data segment, and reading the data (data value) in the initial address addr+n of the first address. When the read twice data is not equal to 0 xff and 0 x 00, the written address is identified as an abnormal address. And assigning n=n+1, and repeating the operation until judging whether all addresses in the first display data segment are normal.
With continued reference to fig. 1, in step S18, an abnormal 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 factories can maintain more conveniently.
Referring to fig. 4, in one embodiment of the present application, a mobile terminal screen detection system is provided. 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 a display data segment in the mobile terminal screen into two first display data segments and second display data segments with the same size.
In the embodiment of the application, the display data segment is used for running the display data, so that the display data is displayed in a screen.
The acquiring module 402 is configured to acquire, when the mobile terminal displays, display data and an address and a 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, namely the start address and the data length of the display data, from the first display data segment.
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 this embodiment of the present application, when the central processor of the mobile terminal copies the display data to the second display data segment, the first display data segment and the second data segment together operate the display data, so that the display data is displayed in the screen. The first address and the size of the display data in the second display data segment are recorded at the same time, namely the starting address and the data length of the display data are recorded.
The second copying module 404 is configured to copy, when the display data has a display abnormality, the display data 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 the display data has abnormal display, the first display data segment or the second display data segment is indicated to have a problem. 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 has an abnormality when it is determined that the display of the display data is successful.
In the embodiment of the application, if the display data is successfully displayed, the first address in the second display data segment is indicated to be abnormal.
Further, a write 0 xff operation or a write 0 x 00 operation is sequentially performed on the display content 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 xff or 0 x 00, the written address is identified as an abnormal address.
Wherein the first decision module 406 decides that only the first address (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, the temporary variable n is set first and set to zero. When it is judged that the temporary variable n is smaller than the length of the second display data segment, 0 xFF or 0 x 00 is written to 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, 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=n+1 and repeating the operation until judging whether all addresses in the second display data segment are normal.
In another embodiment, a temporary variable n is set first and set to zero. When it is judged that n is smaller than the length of the second display data segment, 0 xff is written to 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. And writing 0 x 00 to the initial address addr+n of the first address in the second display data segment, and reading the data (data value) in the initial address addr+n of the first address. When the read twice data is not equal to 0 xff and 0 x 00, the written address is identified as an abnormal address. And assigning n=n+1 and repeating the operation until judging whether all addresses in the second display data segment are normal.
The second determining module 407 is configured to determine that the first display data segment is abnormal when it is determined that the display data is abnormal.
Further, a write 0 xff operation or a write 0 x 00 operation is sequentially performed on the display content 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 xff or 0 x 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 for each address.
Specifically, in one embodiment, the temporary variable n is set first and set to zero. When it is judged that n is smaller than the length of the first display data segment, 0 xff or 0 x 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 xff or 0 x 00, the written address is identified as an abnormal address. And assigning n=n+1, and repeating the operation until judging whether all addresses in the first display data segment are normal.
In another embodiment, a temporary variable n is set first and set to zero. When it is determined that the temporary variable n is smaller than the length of the first display data segment, 0 xff 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. And writing 0 x 00 to the initial address addr+n in the first display data segment, and reading the data (data value) in the initial address addr+n of the first address. When the read twice data is not equal to 0 xff and 0 x 00, the written address is identified as an abnormal address. And assigning n=n+1, and repeating the operation until judging whether all addresses in the first display data segment are 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 factories can maintain more conveniently.
Referring to fig. 5, the embodiment of the present application further provides a mobile terminal 500, where the mobile terminal 500 may be a mobile phone, a tablet, a computer, or other devices. 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 application programs stored in the memory 502 and calling data stored in the memory 502, thereby performing overall monitoring of the mobile terminal.
In this embodiment, the mobile terminal 500 is provided with a plurality of storage partitions, where the plurality of storage partitions include a system partition and a target partition, the processor 501 in the mobile terminal 500 loads instructions corresponding to the processes of one or more application programs into the memory 502 according to the following steps, and the processor 501 executes the application programs 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 into the second display data segment, and simultaneously recording a first address and a first size of the display data in the second display data segment;
copying the display data to a second address in the second display data segment when the display data has abnormal display, wherein the second address is different from the first address;
judging whether the display data is successfully displayed or not;
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 shows a specific block diagram of a mobile terminal 600 according to an embodiment of the present application, and the mobile terminal 600 may be used to implement the mobile terminal screen detection method provided in the above embodiment. The mobile terminal 600 may be a cell phone or tablet. The mobile terminal 600 includes the following components.
The RF circuit 610 is configured to receive and transmit electromagnetic waves, and to perform mutual conversion between the electromagnetic waves and the electrical signals, thereby communicating with a communication network or other devices. RF circuitry 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 the like. The RF circuitry 610 may communicate with various networks such as the internet, intranets, wireless networks, or other devices via wireless networks. The wireless network may include 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 communications (Global System for Mobile Communication, GSM), enhanced mobile communications technology (Enhanced Data GSM Environment, EDGE), wideband code division multiple access technology (Wideband Code Division Multiple Access, WCDMA), code division multiple access technology (Code Division Access, CDMA), time division multiple access technology (Time Division Multiple Access, TDMA), wireless fidelity technology (Wireless Fidelity, wi-Fi) (e.g., american society of electrical and electronic engineers standard IEEE802.11a, IEEE 802.11.11 b, IEEE802.11g, and/or IEEE802.11 n), internet telephony (Voice over Internet Protocol, voIP), worldwide interoperability for microwave access (Worldwide Interoperability for Microwave Access, wi-Max), other protocols for mail, instant messaging, and short messaging, and any other suitable communication protocols, even those not currently 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 embodiments, and the processor 680 performs various functional applications and data processing, i.e., functions of implementing the mobile terminal screen detection method, by running the software programs and modules stored in the memory 620. 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, memory 620 may further include memory located remotely from processor 680, which may be connected to 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 to 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 and 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 thereon or thereabout by a user (e.g., operations of the user on the touch-sensitive surface 631 or thereabout using any suitable object or accessory such as a finger, stylus, etc.), and actuate the corresponding connection device according to a predetermined program. Alternatively, the touch sensitive surface 631 may comprise two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth 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 detection device and converts it into touch point coordinates, which are then sent to the processor 680 and can receive commands from the processor 680 and execute them. In addition, the touch sensitive surface 631 may be implemented in various types of resistive, capacitive, infrared, surface acoustic wave, and the like. In addition to the touch-sensitive surface 631, the input unit 630 may also comprise other input devices 632. In particular, other input devices 632 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc.
The display unit 640 may be used to display information input by a user or information provided to the user and various graphical user interfaces of the mobile terminal 600, which may be composed 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 upon detection of a touch operation thereon or thereabout by the touch sensitive surface 631, the touch sensitive surface is communicated to the processor 680 to determine the type of touch event, and the processor 680 then provides a corresponding visual output on the display panel 641 based on the type of touch event. Although in fig. 6 the touch-sensitive surface 631 and the display panel 641 are implemented as two separate components for input and output functions, in some embodiments the touch-sensitive surface 631 may be integrated with the display panel 641 for 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. In particular, 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 moves to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and the direction when the mobile phone is stationary, and can be used for applications of recognizing the gesture of the mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured with the mobile terminal 600 are not described in detail herein.
Audio circuitry 660, speaker 661, microphone 662 may provide an audio interface between a user and mobile terminal 600. The audio circuit 660 may transmit the received electrical signal converted from audio data to the speaker 661, and the electrical signal is converted into a sound signal by the speaker 661 to be output; on the other hand, microphone 662 converts the collected sound signals into electrical signals, which are received by audio circuit 660 and converted into audio data, which are processed by audio data output processor 680 for transmission to, for example, another terminal via RF circuit 610, or which are output to memory 620 for further processing. Audio circuitry 660 may also include an ear bud jack to provide for communication of a peripheral ear bud with mobile terminal 600.
The mobile terminal 600 may facilitate user email, web browsing, streaming media access, etc. via the transmission module 670 (e.g., wi-Fi module) and provide wireless broadband internet access to the user. Although fig. 6 illustrates the transmission module 670, it is understood that it does not belong to the essential constitution of the mobile terminal 600, and can be omitted entirely as needed within the scope of not changing the essence of the invention.
Processor 680 is a control center of mobile terminal 600, and connects various parts of the entire handset using various interfaces and lines, performs various functions of mobile terminal 600 and processes data by running or executing software programs and/or modules stored in memory 620, and invoking data stored in memory 620, thereby performing overall monitoring of the handset. Optionally, processor 680 may include one or more processing cores; in some embodiments, processor 680 may integrate an application processor that primarily processes operating systems, user interfaces, applications, etc., with a modem processor that primarily processes wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 680.
The mobile terminal 600 also includes a power source 660 (e.g., a battery) for powering the various components, which in some embodiments may be logically connected to the processor 680 by a power management system so as to perform functions such as managing charging, discharging, and power consumption by the power management system. The power source 660 may also include one or more of any of a direct current or alternating current power source, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and the like.
Although not shown, the mobile terminal 600 may further include a camera (e.g., front camera, rear camera), a bluetooth module, etc., which will not be described herein. In particular, 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, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, the one or more programs including 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 into the second display data segment, and simultaneously recording a first address and a first size of the display data in the second display data segment;
copying the display data to a second address in the second display data segment when the display data has abnormal display, wherein the second address is different from the first address;
judging whether the display data is successfully displayed or not;
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 the implementation, each module may be implemented as an independent entity, or may be combined arbitrarily, and implemented as the same entity or several entities, and the implementation of each module may be referred to the foregoing method embodiment, which is not described herein again.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the various methods of the above embodiments may be performed by instructions or by controlling associated hardware, which 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 having stored therein a plurality of instructions capable of being loaded by a processor to perform steps in any of the mobile terminal screen detection methods provided by the embodiments of the present application.
Wherein the storage medium may include: read Only Memory (ROM), random access Memory (RAM, random Access Memory), magnetic or optical disk, and the like.
The steps in any mobile terminal screen detection method provided in the embodiments of the present application may be executed due to the instructions stored in the storage medium, so that the beneficial effects that any mobile terminal screen detection method provided in the embodiments of the present application may be achieved are achieved, and detailed descriptions of the previous embodiments are omitted herein. The specific implementation of each operation above may be referred to the previous embodiments, and will not be described herein.
The beneficial effects of this application lie in: the display data segment in the screen of the mobile terminal is divided into the first display data segment and the second display data segment with the same size, the display data in the first display data segment is copied to the first address of the second display data segment, when the display data is abnormal, the central processing unit of the mobile terminal copies the display data to the second address in the second display data segment for displaying, and whether the display data is successfully displayed or not is judged rapidly, so that the resolution efficiency is improved, and the user experience is improved.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to related descriptions of other embodiments.
The foregoing describes in detail a mobile terminal screen detection method, a system, a storage medium and a mobile terminal provided in the embodiments of the present application, and specific examples are applied to describe the principles and implementations of the present application, where the descriptions of the foregoing embodiments are only used to help understand the technical solutions and core ideas of the present application; those of ordinary skill in the art will appreciate that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.

Claims (8)

1. A mobile terminal screen detection method, the method comprising:
when the mobile terminal displays, acquiring display data and the address and the size of the display data in a first display data segment;
copying the display data into a second display data segment, and simultaneously recording a first address and a first size of the display data in the second display data segment;
copying the display data to a second address in the second display data segment when the display data has abnormal display, wherein the second address is different from the first address;
judging whether the display data is successfully displayed or not;
when the display data is judged to be successfully displayed, carrying out 0 xFF writing operation or 0 x 00 writing operation on each address of the second display data segment of the display content in sequence;
sequentially reading the data written with the addresses; and
when the read data is not equal to 0 xFF or 0 x 00, identifying the written address as an abnormal address; and
when the display data is judged to be abnormal, performing 0 xFF writing operation or 0 x 00 writing operation on each address of the first display data segment of the display content in sequence;
sequentially reading the data written with the addresses; and
when the read data is not equal to 0 xff or 0 x 00, the written address is identified as an abnormal address.
2. The mobile terminal screen detection method of claim 1, wherein the method further comprises:
recording an 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 step of acquiring display data and an address and a size of the display data in the first display data segment when the mobile terminal is displayed:
dividing the display data segment in the mobile terminal screen into two first display data segments and second display data segments with the same size.
4. 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 a first display data segment when the mobile terminal displays;
the first copying module is used for copying the display data into a second display data segment and simultaneously recording a first address and a first size of the display data in the second display data segment;
a second copying module, configured to copy the display data to a second address in the second display data segment when the display data has a display abnormality, where the second address is different from the first address;
the judging module is used for judging whether the display data is successfully displayed or not;
the first judging module is used for sequentially performing 0 xFF writing operation or 0 x 00 writing operation on each address of the second display data segment of the display content when judging that the display of the display data is successful;
sequentially reading the data written with the addresses; and
when the read data is not equal to 0 xFF or 0 x 00, identifying the written address as an abnormal address; and
a second judging module, configured to, when it is judged that the display data is abnormal, sequentially perform a write 0 xff operation or a write 0 x 00 operation on each address of the first display data segment for the display content;
sequentially reading the data written with the addresses; and
when the read data is not equal to 0 xff or 0 x 00, the written address is identified as an abnormal address.
5. The mobile terminal screen detection system of claim 4, 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.
6. The mobile terminal screen detection system of claim 4, wherein the system further comprises:
and the dividing module is used for dividing the display data segment in the mobile terminal screen into a first display data segment and a second display data segment which are the same in size.
7. 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 of claims 1 to 3.
8. 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 in the mobile terminal screen detection method according to any one of claims 1 to 3.
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 CN112199245A (en) 2021-01-08
CN112199245B true 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
CN112199245A (en) 2021-01-08

Similar Documents

Publication Publication Date Title
CN111984165A (en) Method and device for displaying message and terminal equipment
CN106911848B (en) Method for outputting prompt message and terminal equipment
CN107145386B (en) Data migration method, terminal device and computer readable storage medium
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
CN108965042B (en) Network delay obtaining method and device, terminal equipment and storage medium
CN111026457B (en) Hardware configuration method and device, storage medium and terminal equipment
CN110489177B (en) Application control method and device, storage medium and terminal equipment
CN106547400B (en) Method, device and terminal for reporting information
CN108269223B (en) Webpage graph drawing method and terminal
CN112261634B (en) Bluetooth transmission control method and device, terminal equipment and storage medium
CN106210325B (en) Method, device and terminal for setting incoming call ringtone of social application
CN112199245B (en) Mobile terminal screen detection method, system, storage medium and mobile terminal
CN111143580B (en) Multimedia data storage method and device, storage medium and electronic equipment
CN112367428A (en) Electric quantity display method and system, storage medium and mobile terminal
US11259222B2 (en) Mobile terminal and method and system for switching and controlling call link of mobile terminal
CN111459528B (en) Frequency band upgrading method, system, storage medium and mobile terminal
CN111163509B (en) Power saving display method and device, storage medium and mobile terminal
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
CN111651313B (en) Conversion method and system of identification card, storage medium and terminal equipment
CN111338452B (en) Method, system, storage medium and mobile terminal for simulating acceleration charging of U disk
CN111405649B (en) Information transmission method and device and mobile terminal
CN112243269B (en) Method and device for downloading data and mobile terminal
CN111654848B (en) NFC card detection method and device, storage medium and mobile terminal

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