Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
It will be understood that, as used herein, the terms "first," "second," and the like may be used herein to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another. For example, a first chip may be referred to as a second chip, and similarly, a second chip may be referred to as a first chip, without departing from the scope of the present application. The first chip and the second chip are both chips, but they are not the same chip.
Fig. 1 is a schematic diagram of a partial internal structure of an electronic device according to an embodiment. Theelectronic device 100 may include afirst chip 110, asecond chip 120, and atouch display 130. Thefirst chip 110 may include acommunication module 112, thefirst chip 110 may be connected to thesecond chip 120 and thetouch display screen 130 through a serial Peripheral interface SPI (serial Peripheral interface), and thesecond chip 120 may be connected to thefirst chip 110 and thetouch display screen 130 through an SPI interface. Thecommunication module 112 in thefirst chip 110 may be electrically connected with thesecond chip 120. The power consumption of thefirst chip 110 is greater than the power consumption of thesecond chip 120. When thecommunication module 112 in thefirst chip 110 receives the notification information of the application program, the notification information of the application program may be sent to thesecond chip 120, and thesecond chip 120 controls thetouch display 130 to display the notification information of the application program.
Before thecommunication module 112 in thefirst chip 110 detects the notification information of the application program, thefirst chip 110 may be disconnected from thecommunication module 112, i.e., thecommunication module 112 may not accept the control of thefirst chip 110. Thefirst chip 110 may send information of disconnection from thecommunication module 112 to thesecond chip 120, and after thesecond chip 120 receives the information of disconnection, thesecond chip 120 may establish connection with thecommunication module 112.
In one embodiment, as shown in fig. 2, thesecond chip 120 may include amicrocontroller 122, aprocessor 124, amemory 126, ascreen interface module 128, and acommunication interface module 129. Theprocessor 124 may include a digital Signal processor (dsp) module. Themicrocontroller 122 may be connected to the first chip through thecommunication interface module 129, themicrocontroller 122 may also be connected to theprocessor 124 and thescreen interface module 128, themicrocontroller 122 may communicate with the first chip through thecommunication interface module 129, for example, thesecond chip 120 may receive information that the first chip sends a disconnection through thecommunication interface module 129. Theprocessor 124 is connected to themicrocontroller 122 and thememory 126, respectively, and theprocessor 124 can process the notification information of the application program sent by the first chip, for example, the chat notification information of the chat application program, the news notification information of the news application program, the weather notification information of the weather application program, and the like. Thememory 126 is connected to theprocessor 124 and is used for storing notification information of the application program received by the second chip, such as chat notification information, news notification information, weather notification information, and the like. Thescreen interface module 128 is connected to themicrocontroller 122, and thescreen interface module 128 may also be connected to a touch display screen. When themicrocontroller 122 of thesecond chip 120 receives the information of disconnection sent by the first chip, themicrocontroller 122 may establish a connection with the display screen through thescreen interface module 128.
As shown in fig. 3, in one embodiment, an electronic device is also provided. For convenience of explanation, only the parts related to the embodiments of the present application are shown, and details of the specific technology are not disclosed. The electronic device may be a terminal device including a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a vehicle-mounted computer, a wearable device, and the like, taking the electronic device as the mobile phone as an example:
fig. 3 is a block diagram of a partial structure of a mobile phone related to an electronic device provided in an embodiment of the present application. Referring to fig. 3, the cellular phone includes: thefirst chip 110, thesecond chip 120, thedisplay unit 210, theinput unit 140, thememory 150, theaudio circuit 160, the wireless fidelity (WiFi)module 170, the Radio Frequency (RF)circuit 180, and thepower supply 190. Those skilled in the art will appreciate that the handset configuration shown in fig. 3 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components.
Thefirst chip 110 is a control center of the mobile phone, connects various parts of the whole mobile phone by using various interfaces and lines, and executes various functions and processes data of the mobile phone by running or executing software programs and/or modules stored in thememory 150 and calling data stored in thememory 150, thereby integrally monitoring the mobile phone. In one embodiment,first chip 110 may include one or more processing units. In one embodiment, thefirst chip 110 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, an application program, and the like; the modem processor handles primarily wireless communications. It is to be understood that the modem processor described above may not be integrated into thefirst chip 110. Thefirst chip 110 may include a communication module, and when thefirst chip 110 is disconnected from the communication module, the disconnected information may be sent to thesecond chip 120.
The power consumption of thesecond chip 120 is lower than that of thefirst chip 110. Thesecond chip 120 may be connected to thefirst chip 110 through the communication interface module, thesecond chip 120 may also be connected to thedisplay unit 210, and thesecond chip 120 may establish a connection with the communication module in thefirst chip 110 according to the received information of disconnection sent by thefirst chip 110. Thesecond chip 120 may determine whether the received notification information of the application is notification information to be displayed, and when the notification information of the application is the notification information to be displayed, thesecond chip 120 may control the touch display screen to display the notification information. Thesecond chip 120 may also obtain information content in the notification information of the application program, and obtain the category of the notification information of the application program according to the information content. Thesecond chip 120 may control thedisplay unit 210 to display the notification information of the application program according to the category of the notification information of the application program. When thedisplay unit 210 is in the off-screen state, thesecond chip 120 may control thedisplay unit 210 to turn on the screen, and control thedisplay unit 210 to display notification information of the application program in the on-screen state.
Thedisplay unit 210 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. Thedisplay unit 210 may include adisplay panel 211, and thedisplay panel 211 may be thetouch display 130. In one embodiment, theDisplay panel 211 may be configured in the form of a Liquid Crystal Display (LCD), an Organic Light-Emitting Diode (OLED), or the like. In one embodiment, thetouch panel 141 can cover thedisplay panel 211, and when thetouch panel 141 detects a touch operation on or near thetouch panel 141, the touch operation is transmitted to thefirst chip 110 to determine the type of the touch event, and then thefirst chip 110 provides a corresponding visual output on thedisplay panel 211 according to the type of the touch event. Although thetouch panel 141 and thedisplay panel 211 are shown as two separate components in fig. 3 to implement the input and output functions of the mobile phone, in some embodiments, thetouch panel 141 and thedisplay panel 211 may be integrated to implement the input and output functions of the mobile phone.
Theinput unit 140 may be used to receive input numeric or character information and generate key signal inputs related to user settings and function control of thecellular phone 100. Specifically, theinput unit 140 may include atouch panel 141 andother input devices 142. Thetouch panel 141, which may also be referred to as a touch screen, may collect touch operations of a user (e.g., operations of the user on thetouch panel 141 or near thetouch panel 141 using any suitable object or accessory such as a finger or a stylus) thereon or nearby, and drive the corresponding connection device according to a preset program. In one embodiment, thetouch panel 141 may include two parts of 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 sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to thefirst chip 110, and can receive and execute commands sent by thefirst chip 110. In addition, thetouch panel 141 may be implemented in various types, such as a resistive type, a capacitive type, an infrared ray, and a surface acoustic wave. Theinput unit 140 may includeother input devices 142 in addition to thetouch panel 141. In particular, theother input devices 142 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), and the like.
Thememory 150 may be used to store software programs and modules, and thefirst chip 110 executes various functional applications and data processing of the mobile phone by operating the software programs and modules stored in thememory 150. Thememory 150 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function (such as an application program for a sound playing function, an application program for an image playing function, and the like), and the like; the data storage area may store data (such as audio data, an address book, etc.) created according to the use of the mobile phone, and the like. Further, thememory 150 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
Audio circuitry 160,speaker 161 andmicrophone 162 may provide an audio interface between the user and the handset. Theaudio circuit 160 may transmit the electrical signal converted from the received audio data to thespeaker 161, and convert the electrical signal into a sound signal for output by thespeaker 161; on the other hand, themicrophone 162 converts the collected sound signal into an electrical signal, and the electrical signal is received by theaudio circuit 160 and then converted into audio data, and then the audio data is output to thefirst chip 110 for processing, and then the audio data can be sent to another mobile phone through theRF circuit 180, or the audio data is output to thememory 150 for subsequent processing.
WiFi belongs to short-distance wireless transmission technology, and the mobile phone can help a user to receive and send e-mails, browse webpages, access streaming media and the like through theWiFi module 170, and provides wireless broadband Internet access for the user. Although fig. 3 showsWiFi module 170, it is understood that it does not belong to an essential component ofhandset 100 and may be omitted as desired.
TheRF circuit 180 may be used for receiving and transmitting signals during information transmission or communication, and may receive downlink information of the base station and then process the received downlink information to thefirst chip 110; the uplink data may also be transmitted to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one Amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition,RF circuit 180 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to Global System for Mobile communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE)), e-mail, Short Messaging Service (SMS), and the like.
Themobile phone 100 further includes a power supply 190 (such as a battery) for supplying power to each component, and preferably, the power supply may be logically connected to thefirst chip 110 through a power management system, so as to implement functions of managing charging, discharging, and power consumption through the power management system.
In one embodiment, thehandset 100 may also include a camera, a bluetooth module, and the like.
In one embodiment, a method for processing notification information is provided, which is exemplified by being applied to the electronic device, as shown in fig. 4, and includes the following steps:
step 402, when the communication module in the first chip receives the notification information of the application program, the communication module sends the notification information of the application program to the second chip.
The first chip is a part of the electronic device and is used for controlling the operation and processing of the electronic device. For example, the first chip may be a central Processing unit (cpu). The communication module is part of a first chip, which receives or transmits information via the communication module. For example, the first chip may receive notification information of the application program through the communication module. The power consumption of the second chip is lower than that of the first chip. The first chip can be connected with the second chip through a Serial Peripheral Interface (SPI) (serial Peripheral interface), and meanwhile, the first chip can be connected with the touch display screen through the SPI, and the second chip can be connected with the touch display screen through the SPI. The second chip may be electrically connected with the communication module in the first chip.
The notification information of the application program can be divided into local notification information of the application program and push notification information of the application program. The local notification information of the application may be notification information transmitted according to time, for example, the local notification may be notification information that reminds of eating at 6:30 set in a memo. The application program is configured to push the received notification information to the user, where the application program does not run in the foreground, for example, after the chat application program receives notification information of a chat, the chat application program displays the notification information in the touch display screen to push the notification information to the user.
The communication module in the first chip may receive or transmit notification information of the application program. When the communication module in the first chip receives the notification information of the application program, the communication module may transmit the notification information of the application program to the second chip through the electrical connection.
And step 404, the second chip controls the touch display screen to display the notification information of the application program.
Touch screens are also part of electronic devices, including touch screens and display screens. The touch screen is also called a touch screen or a touch panel, and is an inductive display device capable of receiving input signals; a display screen is a display tool for displaying information on a screen and reflecting the information to human eyes, and for example, the display screen can display notification information of an application program. The state of the display screen can be a bright screen state, a dead screen state and the like.
The second chip can be connected with touch display screen through the SPI interface, and the second chip can be connected with first chip through the SPI interface, and the second chip can also be connected with the communication module in the first chip through the mode of electricity connection. After the second chip receives the notification information of the application program sent by the communication module in the first chip, the second chip can control the touch display screen to display the notification information of the application program.
When the communication module in the first chip receives the notification information of the application program, the communication module sends the notification information of the application program to the second chip, and the second chip controls the touch display screen to display the notification information of the application program, wherein the power consumption of the first chip is higher than that of the second chip. When the communication module receives the notification information of the application program, the notification information of the application program is sent to the first chip with lower power consumption, and the first chip controls the touch display screen to display the notification information of the application program, so that the power consumption of the electronic equipment can be reduced, and resources are saved.
In an embodiment, the provided method for processing notification information may further include a process of establishing a connection between the second chip and the communication module, and specifically includes: the first chip is disconnected from the communication module, the first chip sends the disconnected information to the second chip, and the second chip establishes connection with the communication module according to the disconnected information.
The communication module is located in the first chip and controlled by the first chip. The first chip is disconnected from the communication module, i.e. the communication module is not controlled by the first chip. The first chip can be disconnected from the communication module according to the received disconnection instruction, and the disconnection instruction can be generated by triggering of a button on the electronic device by a user. For example, when a user presses a button on the electronic device, the electronic device may generate a disconnection instruction and send the generated disconnection instruction to the first chip, and the first chip disconnects from the communication module according to the disconnection instruction. The disconnection instruction may also be generated by the electronic device according to a display state of the touch display screen. For example, when the electronic device detects that the display state of the touch display screen is the screen-off state, the electronic device may generate a disconnection instruction and send the disconnection instruction to the first chip, and the first chip disconnects from the communication module.
When the first chip is disconnected from the communication module, information of the disconnection may be generated. The first chip may send the information of the disconnection to a second chip, and the second chip establishes a connection with the communication module.
As shown in fig. 5, in an embodiment, theelectronic device 100 may include afirst chip 110 and asecond chip 120. Thefirst chip 110 may include acommunication module 112. When thefirst chip 110 is disconnected from thecommunication module 112, thefirst chip 110 may send the disconnection information to thesecond chip 120, and after thesecond chip 120 receives the disconnection information, thesecond chip 120 may establish a connection with thecommunication module 112.
In an embodiment, the provided notification information processing method may further include a process of determining whether the notification information of the application is notification information to be displayed, and specifically includes: the second chip judges whether the notification information of the application program is the notification information to be displayed or not, and controls the touch display screen to display the notification information of the application program when the notification information of the application program is the notification information to be displayed.
The notification information to be displayed refers to notification information that can be displayed in the touch display screen. The user can set whether the notification information of the application program is the information to be displayed. After receiving the notification information of the application program sent by the communication module, the second chip may determine whether the notification information of the application program is to-be-displayed information. For example, the notification information of the application is chat notification information of a chat application, and the second chip may determine that the chat notification information is to-be-displayed information.
When the second chip determines that the notification information of the application program is the notification information to be displayed, the second chip can control the touch display screen to display the notification information of the application program. For example, the notification information to be displayed set in the electronic device is chat notification information of a chat application, news notification information of a news application, and payment notification information of a bank application. When the notification information of the application program received by the second chip is the chat notification information of the chat application program, the second chip can judge that the chat notification information of the chat application program is the notification information to be displayed, and the second chip can control the touch display screen to display the chat notification information of the chat application program.
And judging whether the notification information of the application program is the notification information to be displayed or not through the second chip, and controlling the touch display screen to display the notification information of the application program when the notification information of the application program is the notification information to be displayed. The second chip is low in power consumption, the second chip judges the received notification information of the application program and controls the touch display screen to display the notification information of the application program, so that the power consumption of the electronic equipment can be reduced, and resources are saved.
In an embodiment, as shown in fig. 6, the provided processing method for notification information may further include a process in which the second chip controls the notification information to be displayed according to categories, and the specific steps include:
instep 602, the second chip extracts the information content in the notification information of the application program.
The information content may be specific text information in the notification information of the application program. After receiving the notification information of the application program, the second chip may extract information content in the notification information of the application program. For example, after the second chip receives the notification information of the application program, the information content in the notification information of the application program can be extracted as "your telephone charge is less than 10 yuan! ".
And step 604, the second chip acquires the type of the notification information of the application program according to the information content.
The second chip can classify the notification information of the application program according to the information content and acquire the category of the notification information of the application program. The category of the notification information of the application may be a financial category, an update category, a verification category, and the like. For example, the information content in the notification information of the application program extracted by the second chip is "your telephone charge is less than 10 yuan! ", the second chip can classify the notification information of the application program into financial classes according to the information content; the information content in the notification information of the application program extracted by the second chip is that "your verification code is: 123456! ", the second chip can classify the notification information of the application program into the verification class according to the information content.
And 606, controlling the touch display screen to display the notification information of the application program according to the type of the notification information of the application program by the second chip.
After the second chip acquires the type of the notification information of the application program, the touch display screen can be controlled to display the notification information of the application program according to the type of the notification information of the application program. For example, the types of the notification information of the application acquired by the second chip are a finance type and an authentication type, the second chip may control the touch display screen to display the notification information of the finance type application together, and the second chip may control the touch display screen to display the notification information of the authentication type application together. When the notification information of the application programs of the same category is multiple, the second chip can control the touch display screen to display according to the receiving time sequence of the notification information of the application programs.
The information content in the notification information of the application program is extracted through the second chip, the second chip obtains the type of the notification information of the application program according to the information content, and the second chip controls the touch display screen to display the notification information of the application program according to the type of the notification information of the application program. The second chip obtains the category of the notification information of the application program according to the information content of the notification information of the application program, and controls the touch display screen to display the notification information of the application program in a classified manner, so that the efficiency of displaying information by the touch display screen can be improved, the power consumption of the electronic equipment is reduced, and resources are saved.
As shown in fig. 7, in an embodiment, after receiving the notification information of the application program, the second chip may extract information content in the notification information of the application program, and obtain a category of the notification information according to the information content. The second chip can control the touch display screen to display the notification information of the application program according to the category of the notification information of the application program. As shown in fig. 7, the second chip may control the touch display to display aninterface 700 for classifying notification information. For example, the second chip divides the notification information of the application intofinancial notification information 710, updatenotification information 720 andverification notification information 730 according to the information content of the notification information of the application, and the second chip may control the touch display screen to sequentially display thefinancial notification information 710, theupdate notification information 720 and theverification notification information 730. As shown in FIG. 7, the financialclass notification message 710 may be "your bank card paid for 11 dollars! "," your bank card has been billed 50 dollars! "," your call charge has been less than 10 Yuan! ", the updateclass notification message 720 may be" your chat application updated! "," your music application has been updated! ", theverification class notification 730 may be" your verification code is: 123456! ".
In an embodiment, the provided processing method for notification information may further include a process in which the second chip controls the touch display screen to display the notification information of the application program, and specifically includes: when the touch display screen is in the screen-off state, the second chip controls the touch display screen to be bright and controls the touch display screen to display notification information of the application program in the bright state.
The second chip can be connected with the touch display screen through the SPI interface. The second chip can detect the display state of touch display screen, and when the touch display screen was in the state of turning off the screen, the second chip can be in the bright screen state through SPI interface control touch display screen after receiving bright screen instruction. The bright screen instruction can be generated by the user through the triggering of a button on the electronic device, or generated by the triggering when the second chip receives the notification information of the application program. The second chip can control the touch display screen to be bright according to the received bright screen instruction.
After the second chip controls the touch display screen to be bright, the second chip can control the touch display screen to display notification information of the application program in a bright screen state.
In one embodiment, a method for processing notification information is provided, and the specific steps for implementing the method are as follows:
the first chip is disconnected from the communication module, the first chip sends the disconnected information to the second chip, and the second chip establishes connection with the communication module according to the disconnected information. The first chip can be disconnected from the communication module according to the received disconnection instruction, and the disconnection instruction can be generated by triggering of a button on the electronic device by a user. The disconnection instruction may also be generated by the electronic device according to a display state of the touch display screen. When the first chip is disconnected from the communication module, information of the disconnection may be generated. The first chip may send the information of the disconnection to a second chip, and the second chip establishes a connection with the communication module.
When the communication module in the first chip receives the notification information of the application program, the communication module sends the notification information of the application program to the second chip. The communication module in the first chip may receive or transmit notification information of the application program. When the communication module in the first chip receives the notification information of the application program, the communication module may transmit the notification information of the application program to the second chip through the electrical connection.
The second chip judges whether the notification information of the application program is the notification information to be displayed or not, and controls the touch display screen to display the notification information of the application program when the notification information of the application program is the notification information to be displayed. The notification information to be displayed refers to notification information that can be displayed in the touch display screen. The user can set whether the notification information of the application program is the information to be displayed. After receiving the notification information of the application program sent by the communication module, the second chip may determine whether the notification information of the application program is to-be-displayed information. When the second chip determines that the notification information of the application program is the notification information to be displayed, the second chip can control the touch display screen to display the notification information of the application program.
The second chip extracts the information content in the notification information of the application program. The information content may be specific text information in the notification information of the application program. After receiving the notification information of the application program, the second chip may extract information content in the notification information of the application program. The second chip acquires the type of the notification information of the application program according to the information content. The second chip can classify the notification information of the application program according to the information content and acquire the category of the notification information of the application program. The second chip controls the touch display screen to display the notification information of the application program according to the type of the notification information of the application program. After the second chip acquires the type of the notification information of the application program, the touch display screen can be controlled to display the notification information of the application program according to the type of the notification information of the application program.
When the touch display screen is in the screen-off state, the second chip controls the touch display screen to be bright and controls the touch display screen to display notification information of the application program in the bright state. The second chip can be connected with the touch display screen through the SPI interface. The second chip can detect the display state of touch display screen, and when the touch display screen was in the state of turning off the screen, the second chip can be in the bright screen state through SPI interface control touch display screen after receiving bright screen instruction. The bright screen instruction can be generated by the user through the triggering of a button on the electronic device, or generated by the triggering when the second chip receives the notification information of the application program. The second chip can control the touch display screen to be bright according to the received bright screen instruction.
It should be understood that, although the steps in the respective flowcharts described above are shown in sequence as indicated by the arrows, the steps are not necessarily performed in sequence as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least a portion of the steps in each of the flowcharts described above may include multiple sub-steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of performing the sub-steps or the stages is not necessarily sequential, but may be performed alternately or alternatingly with other steps or at least a portion of the sub-steps or stages of other steps.
Any reference to memory, storage, database, or other medium used herein may include non-volatile and/or volatile memory. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which acts as external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synchronous Link (Synchlink) DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and bus dynamic RAM (RDRAM).
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present application. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.