[go: up one dir, main page]

CN108958816B - Initialization method, device and electronic device - Google Patents

Initialization method, device and electronic device Download PDF

Info

Publication number
CN108958816B
CN108958816B CN201810666171.6A CN201810666171A CN108958816B CN 108958816 B CN108958816 B CN 108958816B CN 201810666171 A CN201810666171 A CN 201810666171A CN 108958816 B CN108958816 B CN 108958816B
Authority
CN
China
Prior art keywords
screen
module
state
mipi
mipi module
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
CN201810666171.6A
Other languages
Chinese (zh)
Other versions
CN108958816A (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.)
Oppo Chongqing Intelligent Technology Co Ltd
Original Assignee
Oppo Chongqing Intelligent 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 Oppo Chongqing Intelligent Technology Co Ltd filed Critical Oppo Chongqing Intelligent Technology Co Ltd
Priority to CN201810666171.6A priority Critical patent/CN108958816B/en
Publication of CN108958816A publication Critical patent/CN108958816A/en
Application granted granted Critical
Publication of CN108958816B publication Critical patent/CN108958816B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4418Suspend and resume; Hibernate and awake
    • 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • 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/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Human Computer Interaction (AREA)
  • Computer Security & Cryptography (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application discloses an initialization method, an initialization device and an electronic device. The initialization method is applied to an electronic device provided with a screen, the electronic device further comprises a processor, the processor is connected with the screen through an MIPI module, and the method comprises the following steps: when the screen is in a screen extinguishing state, detecting the operation of lightening the screen; if the operation of lightening the screen is detected, detecting the state of the MIPI module; and if the MIPI module is detected to be in the LP00 state, initializing the MIPI module. If the MIPI module is detected to be in the LP00 state, the MIPI module is initialized, and therefore the problem that screen lightening triggering fails in the screen extinguishing state is solved.

Description

Initialization method, device and electronic device
Technical Field
The present disclosure relates to the field of electronic devices, and more particularly, to an initialization method and apparatus, and an electronic device.
Background
The electronic device is generally provided with a screen, the screen usually has various states such as screen lightening or screen extinguishing, when the screen of the electronic device is in the screen extinguishing state, a screen lightening instruction is sent to a driving layer for controlling the screen after a screen lightening event is detected, and the driving layer carries out initialization operation on the screen after receiving the screen lightening instruction. However, in the initialization process, an initialization error sometimes occurs to cause the screen not to be lighted.
Disclosure of Invention
In view of the above problems, the present application provides an initialization method, an initialization device, and an electronic device to improve the above problems.
In a first aspect, the present application provides an initialization method applied to an electronic device provided with a screen, where the electronic device further includes a processor, and the processor is connected to the screen through an MIPI module, and the method includes: when the screen is in a screen extinguishing state, detecting the operation of lightening the screen; if the operation of lightening the screen is detected, detecting the state of the MIPI module; and if the MIPI module is detected to be in the LP00 state, initializing the MIPI module.
In a second aspect, the present application provides an initialization apparatus, which operates in an electronic apparatus provided with a screen, the electronic apparatus further includes a processor, the processor and the screen are connected through an MIPI module, the apparatus includes: a lighting operation detection unit configured to detect a lighting operation of the screen when the screen is in a screen-off state; the MIPI detection unit is used for detecting the state of the MIPI module when the operation of lightening the screen is detected; the MIPI module initialization unit is used for initializing the MIPI module when the MIPI detection unit detects that the MIPI module is in the LP00 state.
In a third aspect, the present application provides an electronic device comprising one or more processors and a memory; 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 configured to perform the methods described above.
In a fourth aspect, the present application provides a computer-readable storage medium comprising a stored program, wherein the method described above is performed when the program is executed.
In a fifth aspect, the present application provides an electronic device, including a detection circuit, a processor, an MIPI module, and a screen, where the processor is connected to the screen through the MIPI module; the detection circuit is used for detecting the operation of lightening the screen when the screen is in a screen extinguishing state; the processor is used for detecting the state of the MIPI module if the operation of lightening the screen is detected; and if the MIPI module is detected to be in the LP00 state, initializing the MIPI module.
The application provides an initialization method, device and electron device still includes the treater at electron device, the treater with under the condition of connecting through the MIPI module between the screen, work as when the screen is in the screen state of putting out, begin to detect and light the screen operation, if detect and light during the operation of screen, detect the state of MIPI module if detect when the MIPI module is in LP00 state, it is right the MIPI module initializes to the realization is solving and is triggering the problem that screen bright screen fails under the screen state of putting out.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 shows a block diagram of an electronic device proposed in the present application;
fig. 2 is a block diagram illustrating another electronic device proposed in the present application;
FIG. 3 is a flow chart illustrating an initialization method proposed by the present application;
FIG. 4 shows a flow chart of another initialization method proposed by the present application;
fig. 5 is a block diagram illustrating an initialization apparatus proposed in the present application;
fig. 6 is a block diagram showing another initialization apparatus proposed in the present application;
fig. 7 shows a schematic structural diagram of an electronic device for executing an initialization method according to an embodiment of the present application.
Fig. 8 shows a block diagram of an electronic device for executing an initialization method 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, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the 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.
For modern electronic devices such as smart phones and tablet computers, too many devices with different interfaces need to be plugged into the electronic devices, which brings great difficulty to design and component selection of the electronic devices. Generally, internal interfaces such as storage, display, camera, audio, and the like are different in the electronic device. Even with the camera interface, different camera module manufacturers may use different interface forms, which brings great difficulty to mobile phone manufacturers in designing mobile phones and selecting devices.
In order to reduce the difficulty, the adaptability of the development of the electronic device is improved. The MIPI (mobile industry processor interface) alliance has initiated an open standard and a specification for mobile application processors for electronic devices. Mipi (mobile Industry Processor interface) is an alliance established by companies such as ARM, Nokia, ST, TI in 2003, and aims to standardize interfaces inside a mobile phone, such as a camera, a display interface, a radio frequency/baseband interface, and the like, thereby reducing the complexity of mobile phone design and increasing the design flexibility. Different WorkGroups exist below the MIPI alliance, and a series of internal interface standards of the mobile phone are respectively defined, such as a camera interface CSI, a display interface DSI, a radio frequency interface DigRF, a microphone/loudspeaker interface SLIMbus and the like. The advantage of unifying the interface standard is that cell-phone manufacturer can be from the nimble different chips and the module of selecting on the market as required, and is more convenient when changing design and function.
MIPI specifies a differential clock lane (lane) and a scalable number of data lanes from 1 to 4, which can adjust the data rate according to the requirements of the processor and peripherals. The tunnel mode and inline levels of MIPI are briefly described below. In a normal mode of operation, the data channel is in a high speed mode or a control mode. In the high-speed mode, the channel state is differential 0 or 1, that is, when P is higher than N in the line pair, it is defined as 1, and when P is lower than N, it is defined as 0, and the typical voltage on the line is differential 200MV, as a way, the image signal is transmitted in the high-speed mode; in the control mode, the high level is typically 1.2V, when the signals on P and N are not differential signals but independent of each other, and the MIPI protocol defines the state LP11 when P is 1.2V and N is also 1.2V, and similarly defines the state LP10 when P is 1.2V and N is 0V. By analogy, four different states of LP11, LP10, LP01 and LP00 can be formed in the control mode; the MIPI protocol specifies that different time sequences formed by 4 different states in the control mode represent that the high-speed mode is to be entered or exited, and the like; such as the LP11-LP01-LP00 sequence, and then enters the high speed mode. Wherein entering the high speed mode may be characterized as a process of the screen from being off to being on.
As shown in fig. 1, generally, the electronic device 100 includes a processor 102, a screen 210 and a MIPI module 211, as shown in fig. 2, the screen 210 includes a driving module 212 and a display module 213, wherein the driving module 212 is connected to the MIPI module 211, and is configured to receive an instruction and image data sent by the processor 102 through the MIPI module 211, and then control the display module 213 based on the received instruction or image data.
In this case, when the operation of triggering the bright screen is detected during the period from the screen being turned off to the screen being lit, that is, when the screen is in the screen being turned off state, for example, a touch gesture on the screen in the screen being turned off state is detected, or the electronic device is detected to be lifted, or a physical key in the electronic device is detected to be pressed, the state of the MIPI module starts to change from LP11 to LP01 to LP 00.
In the links of research and development, production, test and factory debugging of the MIPI module, whether the module works normally or not needs to be determined in a screen touch mode. The inventors have found that several results occur when performing a dot-screen operation: firstly, the module is successfully lightened, and the picture is normal; secondly, the module is successfully lightened, but the picture is abnormal; and thirdly, the module is not lighted.
In the case that the module is not lighted, the inventor finds, in a long-term study, that the screen may not be lighted after a screen-lighting event is triggered in the electronic device due to different designs of the driving module. The inventor found that the reason is that before the screen is turned on and before the screen is normally turned on, the processor enters the Driver IC into the deep standby mode (DSB mode) to save power consumption, and when the RESX is pulled down, the internal logic Voltage (VDD) is re-established. At this time, the MIPI module is found to be in the LP11, which results in unsuccessful initialization of the MIPI module, and causes that a subsequent MIPI command cannot be correctly transmitted to the driver module. Therefore, the inventor proposes an initialization method, an initialization device, and an electronic device provided in the present application to achieve an improvement of the foregoing problems.
Embodiments of the present application will be described in detail below with reference to the accompanying drawings.
Referring to fig. 3, an initialization method provided in the present application is applied to an electronic device with a screen, the electronic device further includes a processor, and the processor is connected to the screen through an MIPI module, and the method includes:
step S110: and detecting the operation of lighting the screen when the screen is in the screen extinguishing state.
When the screen is in the screen-off state, the screen may be in the unlocked state or in the screen-locked state. In the present application, there are various operations for lighting the screen. For example, as one way, the screen may be lit by detecting the posture of the electronic device. For example, the detection of the operation of lighting the screen may be determined by detecting that the electronic apparatus is lifted. Moreover, whether the operation of lightening the screen exists can be detected through the touch state of the physical key. For example, as one mode, when it is detected that the power key and the HOME key are touched, it is determined that an operation of lighting the screen is detected.
In addition, as another mode, whether the operation is the operation of lighting the screen may be detected by detecting a touch gesture acting on the screen. It can be understood that, even when some screens of the electronic device do not need to be read, the user may also hold the electronic device, and in order to facilitate not causing false triggering of the screen to light the screen, the operation of touching the screen to light the screen on the screen may be a touch gesture with a pressing strength greater than a preset strength, or a touch gesture with a pressing duration greater than a preset duration, or a touch gesture with multiple continuous touches within a preset time period.
Step S120: and if the operation of lightening the screen is detected, detecting the state of the MIPI module.
As can be seen from the above description, the MIPI module has a high speed state and a low speed state, and when an operation of lighting the screen, i.e. a screen-on event, is detected, the state of the MIPI module changes, and the states of the MIPI module in a change sequence are LP11, LP01 and LP00 in sequence. The initialization method provided by the application is related to the state of the MIPI configuration, and when the operation of lighting the screen is detected, the state of the MIPI module starts to be detected.
Step S130: and if the MIPI module is detected to be in the LP00 state, initializing the MIPI module.
The screen comprises a display module and a driving module, wherein the driving module is respectively connected with the MIPI module and the display module, and after the MIPI module is initialized, the display module and the driving module can be initialized again in order to ensure the display quality of the whole screen.
The application provides a pair of initialization method still includes the treater at electron device, the treater with under the condition of connecting through the MIPI module between the screen, work as when the screen is in the state of putting out the screen down, begin to detect and light the screen operation if detect and light during the operation of screen, detect the state of MIPI module if detect the MIPI module is when LP00 state, it is right the MIPI module initializes to the realization is solved and is being triggered the problem that the screen is bright to the screen failure under the state of putting out the screen.
Referring to fig. 4, an initialization method provided in the present application is applied to an electronic device with a screen, the electronic device further includes a processor, and the processor is connected to the screen through an MIPI module, and the method includes:
step S210: and detecting the operation of lighting the screen when the screen is in the screen extinguishing state.
Step S220: and if the operation of lightening the screen is detected, detecting the state of the MIPI module.
Step S230: whether the MIPI module fails to be initialized in the LP11 state is detected.
Step S240: if the MIPI module is detected not to fail to be initialized in the LP11 state, the MIPI module is initialized when the MIPI module is detected to be in the LP11 state.
It should be noted that the display modules of the screen are controlled by the driver module, and the initialization may be performed in the LP11 state or may be performed successfully in the LP00 state for different driver modules. In order to facilitate the initialization of screens of different electronic devices, the initialization results in the LP11 state and in the LP00 state for the MIPI module may be stored in the memory of the electronic device, so as to determine the currently adopted initialization mode according to the initialization results mentioned above.
Step S250: if the MIPI module is detected to fail to be initialized in the LP11 state, the MIPI module is initialized when the MIPI module is detected to be in the LP00 state.
It should be noted that there are two display modes for the MIPI signal and its module, one is that the VIDEO signal is sent to the module in a continuous data stream form, i.e. VIDEO mode, and the other is that the VIDEO signal is sent to the module in a register COMMAND form with VIDEO data, i.e. COMMAND mode. For VIDEO mode, which is generally used for VIDEO display in most occasions, especially for dynamic picture display, MIPI signals of the mode are generally transmitted to a module in a differential signal data stream characteristic in an HS state. The COMMAND mode is generally used for displaying a static picture or for module debugging and detecting occasions. Then, after the initialization of the MIPI module fails, the control instruction cannot be transmitted in the COMMAND mode, so that the display module of the screen cannot be lighted.
As a way, if it is detected that the screen is not lit within a preset time period after the screen is lit, it is determined that the initialization of the MIPI module in the LP11 state fails, where it may be determined whether the screen is lit by whether a display module of the screen is powered on. For the electronic device with the Android operating system, whether the screen is lighted or not can be detected by the following method:
PowerManager powerManager=(PowerManager)this
.getSystemService(Context.POWER_SERVICE);
boolean ifOpen=powerManager.isScreenOn();
wherein, if the value of ifOpen is true, the screen is represented to be lighted, and if the value of ifOpen is false, the screen is represented not to be lighted.
The LP11 state and the LP00 state are states in a MIPI module adjacent state schedule, respectively, in which the state of the MIPI module changes from LP11 to LP10 and LP00 in sequence in one of the MIPI module state schedules.
As one way, the electronic device may collect the current hardware environment and send the collected current hardware environment to the server after initially detecting that initialization fails when the MIPI module is in the LP11 state. The hardware environment can include a current state or a voltage state of the MIPI module, so that developers can download collected data from the server to a development end to analyze the data. Furthermore, the electronic device may store information that it is detected that initialization fails in the state where the MIPI module is in the LP11 state in the memory, so that when initialization is performed again next time, the LP11 state may be skipped and initialization may be performed in the LP00 state, and at the same time, the initialization device may be dynamically updated so that initialization may be performed in the LP00 state directly in the following without detecting whether initialization fails in the LP11 state.
The application provides a pair of initialization method still includes the treater at electron device, the treater with under the condition of connecting through the MIPI module between the screen, work as when the screen is in the state of putting out the screen, begin to detect and light screen operation if detect and light during the operation of screen, detect the state of MIPI module is detecting the MIPI module and is carrying out initialization failure after detecting the MIPI module under LP11 state, if detect when the MIPI module is in LP00 state, it is right the MIPI module initializes to the realization is solved and is being triggered the problem that screen bright screen fails under the state of putting out the screen.
Referring to fig. 5, an initialization apparatus 300 provided in the present application operates in an electronic apparatus having a screen, the electronic apparatus further includes a processor, the processor is connected to the screen through an MIPI module, and the apparatus 300 includes: a lighting operation detecting unit 310, a MIPI detecting unit 320, and a MIPI module initializing unit 330.
The lighting operation detection unit 310 is configured to detect a lighting operation of the screen when the screen is in a screen-off state.
A MIPI detecting unit 320, configured to detect the state of the MIPI module if the operation of lighting the screen is detected.
An MIPI module initialization unit 330 is configured to initialize the MIPI module if the MIPI detection unit detects that the MIPI module is in the LP00 state.
As one way, the screen includes a display module and a driving module, and the driving module is respectively connected to the MIPI module and the display module, in this case, the apparatus 300 includes a screen initialization unit 340 for initializing the display module and the driving module.
Referring to fig. 6, an initialization apparatus 400 provided in the present application operates in an electronic apparatus having a screen, the electronic apparatus further includes a processor, and the processor is connected to the screen through an MIPI module, the apparatus 400 includes:
a lighting operation detection unit 410, configured to detect a lighting operation of the screen when the screen is in a screen-off state.
An initialization state detection unit 420, configured to detect whether the MIPI module fails to be initialized in the LP11 state.
A MIPI detecting unit 430, configured to detect, by the initialization state detecting unit 420, the state of the MIPI module when detecting that the operation of lighting the screen is performed after the initialization of the MIPI module in the LP11 state fails.
An MIPI module initialization unit 440, configured to initialize the MIPI module if the MIPI detection unit detects that the MIPI module is in the LP00 state.
The MIPI module initialization unit 440 is further configured to initialize the MIPI module when the initialization state detection unit 420 detects that the initialization of the MIPI module in the LP11 state fails, and the MIPI detection unit detects that the MIPI module is in the LP11 state.
It should be noted that the foregoing apparatus embodiment corresponds to the foregoing method embodiment, and specific contents in the apparatus embodiment may refer to contents in the foregoing method embodiment.
To sum up, the initialization method, device and electronic device that this application provided still include the treater at electronic device, the treater with under the condition of connecting through the MIPI module between the screen, work as the screen is in when putting out the screen state under, begins to detect and lights the screen operation if detect and light during the operation of screen, detect the state of MIPI module if detect when the MIPI module is in LP00 state, it is right the MIPI module initializes to the realization is solved and is being put out the problem that screen lightening fails under the screen state.
An electronic device provided by the present application will be described with reference to fig. 7 and 8.
Referring to fig. 7, based on the data processing method and apparatus, an electronic apparatus 100 capable of executing the data processing method is further provided in the embodiment of the present application. The electronic device 100 includes an electronic body 10, and the electronic body 10 includes a housing 12 and a screen 120 disposed on the housing 12. The housing 12 may be made of metal, such as steel or aluminum alloy. In this embodiment, the screen 120 and the second screen 121 generally include a display panel 111, and may also include a circuit or the like for responding to a pressing operation on the display panel 111. The Display panel 111 may be a Liquid Crystal Display (LCD) panel, and in some embodiments, the Display panel 111 is a touch screen 109.
Referring to fig. 8, based on the initialization method and apparatus, an electronic apparatus 100 capable of performing the initialization method is also provided in the embodiment of the present application. The electronic device 100 includes one or more (only one shown) processors 102, a memory 104, an RF (Radio Frequency) module 106, an audio circuit 110, a sensor 114, an input module 118, and a power module 132. It will be understood by those skilled in the art that the present application is not limited to the structure of the electronic device 100. For example, the electronic device 100 may also include more or fewer components than shown, or have a different configuration than shown.
Those skilled in the art will appreciate that all other components are peripheral devices with respect to the processor 102, and the processor 102 is coupled to the peripheral devices through a plurality of peripheral interfaces 124. The peripheral interface 124 may be implemented based on the following criteria: universal Asynchronous Receiver/Transmitter (UART), General Purpose Input/Output (GPIO), Serial Peripheral Interface (SPI), and Inter-Integrated Circuit (I2C), but the present invention is not limited to these standards. In some examples, the peripheral interface 124 may comprise only a bus; in other examples, the peripheral interface 124 may also include other elements, such as one or more controllers, for example, a display controller for interfacing with the display panel 111 or a memory controller for interfacing with a memory. These controllers may also be separate from the peripheral interface 124 and integrated within the processor 102 or a corresponding peripheral.
The memory 104 may be used for storing software programs and modules, for example, programs and devices that can execute the initialization method provided in the present application, and the processor 102 executes various functional applications and data processing by operating the software programs and devices stored in the memory 104. The memory 104 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 104 may further include memory located remotely from the processor 102, which may be connected to the electronic device 100 or the screen 210 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.
An MIPI module 211 is connected between the processor 102 and the screen 210. The MIPI module 211 is configured to transmit a control command of the processor 102 to the screen 211.
The RF module 106 is configured to receive and transmit electromagnetic waves, and achieve interconversion between the electromagnetic waves and electrical signals, so as to communicate with a communication network or other devices. The RF module 106 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 module 106 may communicate with various networks such as the internet, an intranet, a wireless network, or with other devices via 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 Mobile Communication (Enhanced Data GSM Environment, EDGE), wideband Code division multiple Access (W-CDMA), Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Wireless Fidelity (WiFi) (e.g., IEEE802.1 a, IEEE802.11 b, IEEE802.1 g, and/or IEEE802.11 n), Voice over internet protocol (VoIP), world wide mail Access (Microwave for Wireless communications, wimax), and any other suitable protocol for instant messaging, and may even include those protocols that have not yet been developed.
The camera 220 is used as an image capturing device for capturing an image, for example, capturing data to be encrypted, and transmitting the data to the process 102 for processing. Alternatively, the electronic device 100 includes a touch device, a detection circuit, and a processing circuit, which are coupled to each other, where the touch device is used for a user to perform a touch operation; the detection circuit is used for acquiring touch parameters for triggering the touch operation for encrypting the data after detecting that the data needs to be encrypted; the processing circuit is used for determining a data encryption level based on the touch parameter of the touch operation; encrypting the data based on the encryption level.
The audio circuitry 110, speaker 101, sound jack 103, microphone 105 collectively provide an audio interface between a user and the electronic device 100 or the screen 210. Specifically, the audio circuit 110 receives sound data from the processor 102, converts the sound data into an electrical signal, and transmits the electrical signal to the speaker 101. The speaker 101 converts an electric signal into a sound wave audible to the human ear. The audio circuitry 110 also receives electrical signals from the microphone 105, converts the electrical signals to sound data, and transmits the sound data to the processor 102 for further processing. Audio data may be retrieved from the memory 104 or through the RF module 106. In addition, audio data may also be stored in the memory 104 or transmitted through the RF module 106.
The sensor 114 is disposed within the electronic device 100 or within the screen 210, examples of the sensor 114 include, but are not limited to: light sensors 114F, operational sensors, pressure sensors 114G, infrared heat sensors, distance sensors, acceleration sensors, and other sensors. The acceleration sensor can be used for acquiring the motion attitude of the electronic device in real time, for example, acquiring the acceleration value and the direction of the acceleration of the electronic device in real time.
Among them, the pressure sensor 114G may be a sensor that detects pressure generated by pressing on the electronic device 100. That is, the pressure sensor 114G detects pressure resulting from contact or pressing between the user and the electronic device, for example, contact or pressing between the user's ear and the electronic device. Thus, the pressure sensor 114G may be used to determine whether contact or pressure has occurred between the user and the electronic device 100, as well as the magnitude of the pressure.
Referring to fig. 8, in the embodiment shown in fig. 8, the light sensor 114F and the pressure sensor 114G are disposed adjacent to the display panel 111. The light sensor 114F can turn off the display output when an object is near the screen 210, such as when the electronic device 100 moves to the ear.
As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in various directions (generally three axes), detect the magnitude and direction of gravity when the electronic device is stationary, and can be used for applications (such as horizontal and vertical screen switching, related games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping) and the like for recognizing the attitude of the electronic device 100. In addition, the electronic device 100 may further be configured with other sensors such as a gyroscope, a barometer, a hygrometer and a thermometer, which are not described herein again. Wherein the gyroscope may acquire the rotation angular velocity of the electronic device 100 in real time, so that the electronic device may determine whether the electronic device is in a falling state according to the foregoing embodiments.
In this embodiment, the input module 118 may include the touch screen 109 disposed on the screen 210, and the touch screen 109 may collect a touch operation of the user (for example, an operation of the user on or near the touch screen 109 using any suitable object or accessory such as a finger, a stylus, etc.) and drive the corresponding connection device according to a preset program. Optionally, the touch screen 109 may include a touch detection device 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 detection device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 102, and can receive and execute commands sent by the processor 102. In addition, the touch detection function of the touch screen 109 may be implemented by using resistive, capacitive, infrared, and surface acoustic wave types. In addition to the touch screen 109, in other variations, the input module 118 may include other input devices, such as keys. The keys may include, for example, character keys for inputting characters, and control keys for triggering control functions. Examples of such control keys include a "back to home" key, a power on/off key, and the like.
The screen 210 is used to display information input by a user, information provided to the user, and various graphic user interfaces of the electronic device 100, which may be configured by graphics, text, icons, numbers, video, and any combination thereof, and in one example, the touch screen 109 may be disposed on the display panel 111 so as to be integrated with the display panel 111.
The power module 132 is used to provide power supply to the processor 102 and other components. Specifically, the power module 132 may include a power management system, one or more power sources (e.g., batteries or ac power), a charging circuit, a power failure detection circuit, an inverter, a power status indicator light, and any other components related to the generation, management, and distribution of power within the electronic device 100 or the screen 210.
The electronic device 100 further comprises a locator 119, the locator 119 being configured to determine an actual location of the electronic device 100. In this embodiment, the locator 119 uses a positioning service to locate the electronic device 100, and the positioning service is understood to be a technology or a service for obtaining the position information (e.g. longitude and latitude coordinates) of the electronic device 100 by a specific positioning technology and marking the position of the located object on the electronic map.
It should be understood that the electronic apparatus 100 described above is not limited to the smartphone terminal, and it should refer to a computer device that can be used in a mobile. Specifically, the electronic device 100 refers to a mobile computer device equipped with an intelligent operating system, and the electronic device 100 includes, but is not limited to, a smart phone, a smart watch, a tablet computer, and the like.
In the description herein, reference to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present application, "plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and the scope of the preferred embodiments of the present application includes other implementations in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present application.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments. In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present application have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present application, and that variations, modifications, substitutions and alterations may be made to the above embodiments by those of ordinary skill in the art within the scope of the present application.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not necessarily depart from the spirit and scope of the corresponding technical solutions in the embodiments of the present application.

Claims (9)

1. An initialization method is applied to an electronic device provided with a screen, the electronic device further comprises a processor, the processor is connected with the screen through an MIPI module, and the method comprises the following steps:
when the screen is in a screen extinguishing state, detecting the operation of lightening the screen;
if the operation of lightening the screen is detected, detecting the state of the MIPI module;
if the MIPI module fails to be initialized in the LP11 state, initializing the MIPI module when the MIPI module is detected to be in the LP00 state; if the MIPI module is detected not to fail to be initialized in the LP11 state, the MIPI module is initialized when the MIPI module is detected to be in the LP11 state.
2. The method of claim 1, wherein the screen includes a display module and a driver module, the driver module is respectively connected to the MIPI module and the display module, and the initializing the MIPI module when detecting that the MIPI module is in the LP00 state further includes:
and initializing the display module and the driving module.
3. The method of claim 1, further comprising:
if the screen is not lightened within a preset time period after the screen is lightened, judging that the initialization of the MIPI module in the LP11 state fails.
4. The method of claim 1, further comprising: the LP11 state and the LP00 state are states in a MIPI module adjacent state schedule, respectively, in which the state of the MIPI module changes from LP11 to LP10 and LP00 in sequence in one of the MIPI module state schedules.
5. The utility model provides an initialization apparatus, its characterized in that, operation in the electronic device who is provided with the screen, electronic device still includes the treater, the treater with connect through the MIPI module between the screen, the device includes:
a lighting operation detection unit configured to detect a lighting operation of the screen when the screen is in a screen-off state;
the MIPI detection unit is used for detecting the state of the MIPI module when the operation of lightening the screen is detected;
the MIPI module initialization unit is used for initializing the MIPI module when the MIPI module is detected to be failed to be initialized in the LP11 state and the MIPI detection unit detects that the MIPI module is in the LP00 state; if the MIPI module is detected not to fail to be initialized in the LP11 state, the MIPI module is initialized when the MIPI module is detected to be in the LP11 state.
6. The apparatus of claim 5, wherein the screen includes a display module, a driving module, and the driving module is respectively connected to the MIPI module and the display module, and the apparatus further includes:
and the screen initialization unit is used for initializing the display module and the driving module.
7. An electronic device comprising one or more processors and memory;
one or more programs stored in the memory and configured to be executed by the one or more processors, the one or more programs configured to perform the method of any of claims 1-4.
8. A computer-readable storage medium having program code executable by a processor, the computer-readable storage medium comprising a stored program, wherein the method of any of claims 1-4 is performed when the program is run.
9. An electronic device is characterized by comprising a detection circuit, a processor, an MIPI module and a screen, wherein the processor is connected with the screen through the MIPI module;
the detection circuit is used for detecting the operation of lightening the screen when the screen is in a screen extinguishing state;
the processor is used for detecting the state of the MIPI module if the operation of lightening the screen is detected; if the MIPI module fails to be initialized in the LP11 state, initializing the MIPI module when the MIPI module is detected to be in the LP00 state; if the MIPI module is detected not to fail to be initialized in the LP11 state, the MIPI module is initialized when the MIPI module is detected to be in the LP11 state.
CN201810666171.6A 2018-06-21 2018-06-21 Initialization method, device and electronic device Active CN108958816B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810666171.6A CN108958816B (en) 2018-06-21 2018-06-21 Initialization method, device and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810666171.6A CN108958816B (en) 2018-06-21 2018-06-21 Initialization method, device and electronic device

Publications (2)

Publication Number Publication Date
CN108958816A CN108958816A (en) 2018-12-07
CN108958816B true CN108958816B (en) 2021-12-14

Family

ID=64486742

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810666171.6A Active CN108958816B (en) 2018-06-21 2018-06-21 Initialization method, device and electronic device

Country Status (1)

Country Link
CN (1) CN108958816B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109857469B (en) * 2019-01-15 2022-07-08 Oppo广东移动通信有限公司 Display control method and related products
CN111162776A (en) * 2020-01-22 2020-05-15 深圳飞骧科技有限公司 Radio frequency circuit testing device and radio frequency circuit testing box

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102141695A (en) * 2011-01-11 2011-08-03 鞍山亚世光电显示有限公司 Detection system for intelligent liquid crystal display module
CN107403601A (en) * 2017-09-09 2017-11-28 深圳吉迪思电子科技有限公司 A kind of display driver chip and terminal device

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102141695A (en) * 2011-01-11 2011-08-03 鞍山亚世光电显示有限公司 Detection system for intelligent liquid crystal display module
CN107403601A (en) * 2017-09-09 2017-11-28 深圳吉迪思电子科技有限公司 A kind of display driver chip and terminal device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
"mipi调试经验";g_salamander;《CSDN》;20131119;第1-3页 *
"展讯mipi接口LCD调试流程(基于Android4.0版本以后)";requisite;《学步园》;20140905;第1-2页 *

Also Published As

Publication number Publication date
CN108958816A (en) 2018-12-07

Similar Documents

Publication Publication Date Title
US11237724B2 (en) Mobile terminal and method for split screen control thereof, and computer readable storage medium
CN108710456B (en) Application icon processing method, device and mobile terminal
CN108243282A (en) Message display method and device, mobile terminal and storage medium
CN108777731B (en) Key configuration method and device, mobile terminal and storage medium
WO2015154670A1 (en) Method and apparatus for invoking application programming interface
CN108717343A (en) Application icon processing method and device and mobile terminal
CN108769299B (en) Screen control method and device and mobile terminal
CN108512997B (en) Display method, display device, mobile terminal and storage medium
CN108737635A (en) message display method, device, mobile terminal and storage medium
CN109104521B (en) Proximity state correction method, device, mobile terminal and storage medium
CN108804005B (en) Terminal control method and device and mobile terminal
CN108390992A (en) Message display method and device, mobile terminal and storage medium
CN108984214A (en) Terminal state control method and device, mobile terminal and storage medium
CN108762466A (en) Display method, display device, mobile terminal and storage medium
CN109995933A (en) The method and terminal device of the alarm clock of controlling terminal equipment
CN108200546B (en) Data reporting method and device, mobile terminal and computer readable medium
CN112199246A (en) Terminal testing method and device, storage medium and mobile terminal
CN110351418B (en) Screen control method and device, mobile terminal and computer readable medium
CN110221882B (en) Display method, display device, mobile terminal and storage medium
CN107896256B (en) Information pushing method and device, mobile terminal, server and readable storage medium
CN108958816B (en) Initialization method, device and electronic device
CN110221736B (en) Icon processing method and device, mobile terminal and storage medium
US20130166789A1 (en) Controlling device setting based on device setting guide information
CN107918517B (en) Response method, device, mobile terminal and storage medium for screen rotation
CN108958578B (en) File control method and device and electronic 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
GR01 Patent grant
GR01 Patent grant