CN114095599B - Message display method and electronic equipment - Google Patents

Message display method and electronic equipment Download PDF

Info

Publication number
CN114095599B
CN114095599B CN202010635467.9A CN202010635467A CN114095599B CN 114095599 B CN114095599 B CN 114095599B CN 202010635467 A CN202010635467 A CN 202010635467A CN 114095599 B CN114095599 B CN 114095599B
Authority
CN
China
Prior art keywords
message
equipment
message display
electronic equipment
display condition
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
CN202010635467.9A
Other languages
Chinese (zh)
Other versions
CN114095599A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN202010635467.9A priority Critical patent/CN114095599B/en
Publication of CN114095599A publication Critical patent/CN114095599A/en
Application granted granted Critical
Publication of CN114095599B publication Critical patent/CN114095599B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The embodiment of the application provides a message display method and electronic equipment, wherein in the message display method, the electronic equipment receives a new message, judges whether the use state information of the electronic equipment meets the message display condition, and displays the message on the electronic equipment if the use state information meets the message display condition; if the information display condition is not met, searching the associated equipment of which the use state information meets the information display condition from the associated equipment of the electronic equipment, if the associated equipment of which the use state information meets the information display condition is searched, selecting at least one associated equipment from the searched associated equipment as the information display equipment, and sending the information to the information display equipment so that the information display equipment can display the information, thereby reducing the privacy leakage problem which possibly occurs when a single user owns a plurality of electronic equipment.

Description

Message display method and electronic equipment
Technical Field
The application relates to the technical field of intelligent terminals, in particular to a message display method and electronic equipment.
Background
Currently, it has become a ubiquitous phenomenon for a single user to own multiple electronic devices. The user can surf the internet and make a call by using the mobile phone, watch videos by using a tablet personal computer (PAD), record the health data of the user by using wearable equipment such as a smart watch and the like, so that different electronic equipment can play unique advantages in different use occasions, and the life of the user is facilitated.
However, while the multiple electronic devices of a single user bring convenience to life of the user, privacy disclosure problems are also accompanied. For example, each electronic device of a single user may receive more or less information related to the privacy of the user, such as a short message, a telephone, an instant messaging message, etc., and since the electronic devices owned by the user are too many, it may not be possible to manage all the electronic devices owned by the user in time, for example, it may not be possible to carry all the electronic devices with the user, it may not be possible to view all the electronic devices at any time, and moreover, it may happen that the electronic devices are lent to other people for use. In the above situation, if one of the electronic devices of the user receives a message related to the privacy of the user, and another user appears in front of the electronic device or the electronic device is being used by another user, the user's information will be seen, and the privacy will be revealed.
Disclosure of Invention
The application provides a message display method and electronic equipment, which can reduce the privacy disclosure problem possibly occurring when a single user owns a plurality of electronic equipment.
In a first aspect, the present application provides a message display method applied to an electronic device, including:
receiving a new message;
judging whether the use state information of the electronic equipment meets the message display condition;
if the message display condition is met, displaying the message on the electronic equipment;
if the message display condition is not met, searching the associated equipment of which the use state information meets the message display condition from the associated equipment of the electronic equipment;
and if the associated equipment with the use state information meeting the message display condition is found, selecting at least one associated equipment from the found associated equipment as message display equipment, and sending the message to the message display equipment so that the message display equipment can display the message.
According to the method, the message is displayed only on the electronic equipment meeting the message display condition or the related equipment of the electronic equipment, so that the privacy disclosure problem which can occur when a single user owns a plurality of electronic equipment is reduced.
In one possible implementation manner, the determining whether the usage state information of the electronic device satisfies the message display condition includes:
judging whether the electronic equipment is used or not, and judging whether the electronic equipment detects a user which does not pass identity authentication or not;
if the electronic equipment is judged to be used and the electronic equipment does not detect the user which does not pass the identity authentication, judging that the use state of the electronic equipment meets the message display condition;
otherwise, judging that the using state of the electronic equipment does not meet the message display condition.
Through the processing, the received message is displayed on the electronic equipment only when the electronic equipment is used and the electronic equipment does not detect the user who fails to pass the identity authentication, so that the fact that other people except the user who passes the identity authentication cannot view the message is guaranteed, and the problem of user privacy disclosure which possibly occurs is further reduced.
In one possible implementation manner, searching for an associated device that satisfies a message display condition using status information from associated devices of an electronic device includes:
acquiring the use state information of the associated equipment from the associated equipment of the electronic equipment, and respectively judging whether the use state information of the associated equipment meets the message display condition; alternatively, the first and second electrodes may be,
and obtaining a judgment result of whether the use state information of the associated equipment meets the message display condition from the associated equipment of the electronic equipment, and searching the associated equipment with the judgment result meeting the message display condition.
In a possible implementation manner, selecting at least one associated device from the searched associated devices as a message display device includes:
and if at least 2 found associated devices exist, determining the priority among the found associated devices, and selecting a first number of associated devices as message display devices from high to low according to the priority.
And selecting the associated equipment as the message display equipment according to the priority from high to low, and selecting the associated equipment with high priority as the message display equipment as much as possible, so that the possible problem of privacy disclosure of the user can be further reduced.
In one possible implementation manner, the method further includes:
and if the associated equipment meeting the message display condition is not found, adding the message into a to-be-prompted list of the electronic equipment, and re-executing the step of judging whether the use state information of the electronic equipment meets the message display condition when the preset retry condition is met until the use state information of the electronic equipment meets the message display condition and displays the message, or sending the message to the message display equipment for display.
When the use state information of the electronic equipment does not meet the message display condition and the associated equipment meeting the message display condition cannot be found, the message is added into a list to be prompted of the electronic equipment, and when the use state information of the electronic equipment or the associated equipment of the electronic equipment meets the message display condition, the message is displayed, so that the problem of possible privacy disclosure of a user can be further reduced.
In a possible implementation manner, before determining whether the usage state information of the electronic device satisfies the message display condition, the method further includes:
determining an application to which the received message belongs;
and judging that the application opens the message protection.
By respectively setting the function of whether to start the message protection for each application, the individual requirements of a user on starting the message protection for some applications and not starting the message protection for some applications can be met, so that the user can use the message protection function more flexibly and conveniently, and the user experience is improved.
In a second aspect, an embodiment of the present application provides a message display method, which is applied to an electronic device, and includes:
receiving a query request sent by associated equipment, wherein the query request is used for querying the use state information of the electronic equipment and is sent when the associated equipment receives a new message and judges that the associated equipment does not meet the message display condition;
sending the use state information of the electronic equipment to the associated equipment as a query response;
if a message which is sent by the associated equipment and needs to be displayed is received, the message is displayed; and the message is sent when the associated equipment judges that the use state information of the electronic equipment meets the message display condition and selects the electronic equipment as the message display equipment.
In a third aspect, an embodiment of the present application provides a message display method, which is applied to an electronic device, and includes:
receiving an inquiry request sent by associated equipment, wherein the inquiry request is used for inquiring whether the electronic equipment meets the message display condition or not, and the inquiry request is sent when the associated equipment receives a new message and judges that the associated equipment does not meet the message display condition;
judging whether the electronic equipment meets the message display condition or not, and sending a judgment result to the associated equipment as a query response;
if a message which is sent by the associated equipment and needs to be displayed is received, the message is displayed; and the message is sent when the associated equipment selects the electronic equipment as the message display equipment according to the judgment result of the electronic equipment.
In one possible implementation manner, the determining whether the electronic device satisfies the message display condition includes:
judging whether the electronic equipment is used or not, and judging whether the electronic equipment detects a user which does not pass identity authentication or not;
if the electronic equipment is judged to be used and the electronic equipment does not detect the user which does not pass the identity authentication, judging that the use state of the electronic equipment meets the message display condition;
otherwise, judging that the using state of the electronic equipment does not meet the message display condition.
In a fourth aspect, an embodiment of the present application provides an electronic device, including:
a display screen; one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions, which when executed by the apparatus, cause the apparatus to perform the method of any of the first aspects.
In a fifth aspect, an embodiment of the present application provides an electronic device, including:
a display screen; one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions which, when executed by the apparatus, cause the apparatus to perform the method of the second aspect.
In a sixth aspect, an embodiment of the present application provides an electronic device, including:
a display screen; one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions which, when executed by the apparatus, cause the apparatus to perform the method of the third aspect.
In a seventh aspect, an embodiment of the present application provides a computer-readable storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the method according to any one of the first aspect.
In an eighth aspect, embodiments of the present application provide a computer-readable storage medium, in which a computer program is stored, which, when run on a computer, causes the computer to perform the method according to the second aspect.
In a ninth aspect, embodiments of the present application provide a computer-readable storage medium, in which a computer program is stored, which, when run on a computer, causes the computer to perform the method according to the third aspect.
In a tenth aspect, the present application provides a computer program for performing the method of any one of the first to third aspects when the computer program is executed by a computer.
In a possible design, the program in the tenth aspect may be stored in whole or in part on a storage medium packaged with the processor, or in part or in whole on a memory not packaged with the processor.
Drawings
Fig. 1 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
FIG. 2 is a block diagram of a software architecture of an electronic device according to an embodiment of the present application;
FIGS. 3A-3C are diagrams illustrating exemplary system architectures to which the message display method of the present application is applicable;
fig. 4 is an exemplary diagram of an application scenario of a message display method according to an embodiment of the present application;
FIGS. 5A-5C are diagrams illustrating examples of a setup interface according to embodiments of the present disclosure;
fig. 6 is an exemplary diagram of an application scenario of a message display method according to an embodiment of the present application;
FIG. 7 is a flow chart of one embodiment of a method for displaying messages of the present application;
FIG. 8 is a flow chart of another embodiment of a method for displaying messages of the present application;
FIG. 9 is a flow chart of yet another embodiment of a method for displaying messages of the present application;
FIG. 10 is a flow chart of yet another embodiment of a method for displaying messages of the present application;
FIG. 11 is a flow chart of yet another embodiment of a method for displaying messages of the present application;
FIG. 12 is a block diagram of one embodiment of a message display apparatus of the present application;
fig. 13 is a block diagram of another embodiment of a message display apparatus according to the present application.
Detailed Description
The terminology used in the description of the embodiments section of the present application is for the purpose of describing particular embodiments of the present application only and is not intended to be limiting of the present application.
In the existing implementation scheme, for a plurality of electronic devices 1 to n of a single user, n is an integer greater than or equal to 2, if an electronic device i (i is any integer between 1 and n) receives a new message, the electronic device i synchronizes the received new message to all electronic devices associated with the electronic device i, and displays the new message on all the electronic devices.
However, this information synchronization method does not take user privacy into consideration, for example, when the person using the electronic device is not the owner (user) of the electronic device, if the synchronized message is just the owner's privacy information, the person using the electronic device may see the owner's privacy information, which may cause the owner's privacy to be leaked.
Therefore, the message display method provided by the embodiment of the application can reduce privacy leakage of a user and protect the privacy of the user under the condition that the user has a plurality of electronic devices.
The method provided by the embodiment of the application can be applied to electronic equipment, for example: the mobile phone system comprises a mobile phone, a tablet computer (PAD), a Personal Computer (PC), a wearable device such as smart glasses, a smart watch, a smart screen, a smart internet Vehicle (ICV), a smart car (smart/Intelligent car) or a Vehicle-mounted device.
By way of example, fig. 1 shows a schematic structural diagram of an electronic device 100. The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a key 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identity Module (SIM) card interface 195, and the like. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
It is to be understood that the illustrated structure of the embodiment of the present invention does not specifically limit the electronic device 100. In other embodiments of the present application, the electronic device 100 may include more or fewer components than shown, or combine certain components, or split certain components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. Wherein, the different processing units may be independent devices or may be integrated in one or more processors.
The controller can generate an operation control signal according to the instruction operation code and the time sequence signal to finish the control of instruction fetching and instruction execution.
A memory may also be provided in processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
In some embodiments, processor 110 may include one or more interfaces. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a mobile industry processor interface (mobile industry processor interface, MIPI), a general-purpose-input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
The I2C interface is a bidirectional synchronous serial bus including a serial data line (SDA) and a Serial Clock Line (SCL). In some embodiments, processor 110 may include multiple sets of I2C buses. The processor 110 may be coupled to the touch sensor 180K, the charger, the flash, the camera 193, etc. through different I2C bus interfaces, respectively. For example: the processor 110 may be coupled to the touch sensor 180K through an I2C interface, so that the processor 110 and the touch sensor 180K communicate through an I2C bus interface to implement a touch function of the electronic device 100.
The I2S interface may be used for audio communication. In some embodiments, processor 110 may include multiple sets of I2S buses. The processor 110 may be coupled to the audio module 170 through an I2S bus to enable communication between the processor 110 and the audio module 170. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through the I2S interface, so as to implement a function of receiving a call through a bluetooth headset.
The PCM interface may also be used for audio communication, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled by a PCM bus interface. In some embodiments, the audio module 170 may also transmit the audio signal to the wireless communication module 160 through the PCM interface, so as to implement the function of answering a call through the bluetooth headset. Both the I2S interface and the PCM interface may be used for audio communication.
The UART interface is a universal serial data bus used for asynchronous communications. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is generally used to connect the processor 110 with the wireless communication module 160. For example: the processor 110 communicates with a bluetooth module in the wireless communication module 160 through a UART interface to implement a bluetooth function. In some embodiments, the audio module 170 may transmit the audio signal to the wireless communication module 160 through a UART interface, so as to realize the function of playing music through a bluetooth headset.
The MIPI interface may be used to connect the processor 110 with peripheral devices such as the display screen 194, the camera 193, and the like. The MIPI interface includes a Camera Serial Interface (CSI), a Display Serial Interface (DSI), and the like. In some embodiments, processor 110 and camera 193 communicate through a CSI interface to implement the capture functionality of electronic device 100. The processor 110 and the display screen 194 communicate through the DSI interface to implement the display function of the electronic device 100.
The GPIO interface may be configured by software. The GPIO interface may be configured as a control signal and may also be configured as a data signal. In some embodiments, a GPIO interface may be used to connect the processor 110 with the camera 193, the display 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface may also be configured as an I2C interface, I2S interface, UART interface, MIPI interface, and the like.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. And the method can also be used for connecting a headset and playing audio through the headset. The interface may also be used to connect other electronic devices, such as AR devices and the like.
It should be understood that the connection relationship between the modules according to the embodiment of the present invention is only illustrative, and is not limited to the structure of the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charging management module 140 is configured to receive charging input from a charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from a wired charger via the USB interface 130. In some wireless charging embodiments, the charging management module 140 may receive a wireless charging input through a wireless charging coil of the electronic device 100. The charging management module 140 may also supply power to the electronic device through the power management module 141 while charging the battery 142.
The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display 194, the camera 193, the wireless communication module 160, and the like. The power management module 141 may also be used to monitor parameters such as battery capacity, battery cycle count, battery state of health (leakage, impedance), etc. In other embodiments, the power management module 141 may be disposed in the processor 110. In other embodiments, the power management module 141 and the charging management module 140 may also be disposed in the same device.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The modem processor may include a modulator and a demodulator. The modulator is used for modulating a low-frequency baseband signal to be transmitted into a medium-high frequency signal. The demodulator is used for demodulating the received electromagnetic wave signal into a low-frequency baseband signal. The demodulator then passes the demodulated low frequency baseband signal to a baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and then transferred to the application processor. The application processor outputs a sound signal through an audio device (not limited to the speaker 170A, the receiver 170B, etc.) or displays an image or video through the display screen 194. In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be provided in the same device as the mobile communication module 150 or other functional modules, independent of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), global Navigation Satellite System (GNSS), frequency Modulation (FM), near Field Communication (NFC), infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), general Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou satellite navigation system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The electronic device 100 implements display functions via the GPU, the display screen 194, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. The processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 194 is used to display images, video, and the like. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into image signal in standard RGB, YUV and other formats. In some embodiments, electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor, which processes input information quickly by referring to a biological neural network structure, for example, by referring to a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the storage capability of the electronic device 100. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as music, video, etc. are saved in the external memory card.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The internal memory 121 may include a program storage area and a data storage area. The storage program area may store an operating system, an application program (such as a sound playing function, an image playing function, etc.) required by at least one function, and the like. The storage data area may store data (such as audio data, phone book, etc.) created during use of the electronic device 100, and the like. In addition, the internal memory 121 may include a high speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, a Universal Flash Storage (UFS), and the like. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The audio module 170 is used to convert digital audio information into an analog audio signal output and also to convert an analog audio input into a digital audio signal. The audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be disposed in the processor 110, or some functional modules of the audio module 170 may be disposed in the processor 110.
The speaker 170A, also called a "horn", is used to convert the audio electrical signal into an acoustic signal. The electronic apparatus 100 can listen to music through the speaker 170A or listen to a handsfree call.
The receiver 170B, also called "earpiece", is used to convert the electrical audio signal into a sound signal. When the electronic apparatus 100 receives a call or voice information, it can receive voice by placing the receiver 170B close to the ear of the person.
The microphone 170C, also referred to as a "microphone," is used to convert sound signals into electrical signals. When making a call or sending voice information, the user can input a voice signal to the microphone 170C by uttering a voice signal close to the microphone 170C through the mouth of the user. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C to achieve a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further include three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, perform directional recording, and so on.
The earphone interface 170D is used to connect a wired earphone. The headset interface 170D may be the USB interface 130, or may be a 3.5mm open mobile electronic device platform (OMTP) standard interface, a cellular telecommunications industry association (cellular telecommunications industry association of the USA, CTIA) standard interface.
The pressure sensor 180A is used for sensing a pressure signal, and can convert the pressure signal into an electrical signal. In some embodiments, the pressure sensor 180A may be disposed on the display screen 194. The pressure sensor 180A can be of a wide variety, such as a resistive pressure sensor, an inductive pressure sensor, a capacitive pressure sensor, and the like. The capacitive pressure sensor may be a sensor comprising at least two parallel plates having an electrically conductive material. When a force acts on the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the strength of the pressure from the change in capacitance. When a touch operation is applied to the display screen 194, the electronic apparatus 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic apparatus 100 may also calculate the touched position from the detection signal of the pressure sensor 180A. In some embodiments, the touch operations that are applied to the same touch position but different touch operation intensities may correspond to different operation instructions. For example: and when the touch operation with the touch operation intensity smaller than the first pressure threshold value acts on the short message application icon, executing an instruction for viewing the short message. And when the touch operation with the touch operation intensity larger than or equal to the first pressure threshold value acts on the short message application icon, executing an instruction of newly building the short message.
The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100. In some embodiments, the angular velocity of electronic device 100 about three axes (i.e., x, y, and z axes) may be determined by gyroscope sensor 180B. The gyro sensor 180B may be used for photographing anti-shake. For example, when the shutter is pressed, the gyro sensor 180B detects a shake angle of the electronic device 100, calculates a distance to be compensated for by the lens module according to the shake angle, and allows the lens to counteract the shake of the electronic device 100 through a reverse movement, thereby achieving anti-shake. The gyroscope sensor 180B may also be used for navigation, somatosensory gaming scenes.
The air pressure sensor 180C is used to measure air pressure. In some embodiments, electronic device 100 calculates altitude, aiding in positioning and navigation, from barometric pressure values measured by barometric pressure sensor 180C.
The magnetic sensor 180D includes a hall sensor. The electronic device 100 may detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip phone, the electronic device 100 may detect the opening and closing of the flip according to the magnetic sensor 180D. And then according to the detected opening and closing state of the leather sheath or the opening and closing state of the flip, the characteristics of automatic unlocking of the flip and the like are set.
The acceleration sensor 180E may detect the magnitude of acceleration of the electronic device 100 in various directions (typically three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. The method can also be used for recognizing the posture of the electronic equipment, and is applied to horizontal and vertical screen switching, pedometers and other applications.
A distance sensor 180F for measuring a distance. The electronic device 100 may measure the distance by infrared or laser. In some embodiments, taking a picture of a scene, electronic device 100 may utilize range sensor 180F to range for fast focus.
The proximity light sensor 180G may include, for example, a Light Emitting Diode (LED) and a light detector, such as a photodiode. The light emitting diode may be an infrared light emitting diode. The electronic device 100 emits infrared light to the outside through the light emitting diode. The electronic device 100 detects infrared reflected light from nearby objects using a photodiode. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100. When insufficient reflected light is detected, the electronic device 100 may determine that there are no objects near the electronic device 100. The electronic device 100 can utilize the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear for talking, so as to automatically turn off the screen to achieve the purpose of saving power. The proximity light sensor 180G can also be used in a holster mode, a pocket mode automatically unlocks and locks the screen.
The ambient light sensor 180L is used to sense the ambient light level. Electronic device 100 may adaptively adjust the brightness of display screen 194 based on the perceived ambient light level. The ambient light sensor 180L may also be used to automatically adjust the white balance when taking a picture. The ambient light sensor 180L may also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket to prevent accidental touches.
The fingerprint sensor 180H is used to collect a fingerprint. The electronic device 100 can utilize the collected fingerprint characteristics to unlock the fingerprint, access the application lock, photograph the fingerprint, answer an incoming call with the fingerprint, and so on.
The temperature sensor 180J is used to detect temperature. In some embodiments, electronic device 100 implements a temperature processing strategy using the temperature detected by temperature sensor 180J. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold, the electronic device 100 performs a reduction in performance of a processor located near the temperature sensor 180J, so as to reduce power consumption and implement thermal protection. In other embodiments, the electronic device 100 heats the battery 142 when the temperature is below another threshold to avoid the low temperature causing the electronic device 100 to shut down abnormally. In other embodiments, when the temperature is lower than a further threshold, the electronic device 100 performs boosting on the output voltage of the battery 142 to avoid abnormal shutdown due to low temperature.
The touch sensor 180K is also called a "touch device". The touch sensor 180K may be disposed on the display screen 194, and the touch sensor 180K and the display screen 194 form a touch screen, which is also called a "touch screen". The touch sensor 180K is used to detect a touch operation applied thereto or nearby. The touch sensor may communicate the detected touch operation to the application processor to determine the touch event type. Visual output associated with the touch operation may be provided through the display screen 194. In other embodiments, the touch sensor 180K may be disposed on a surface of the electronic device 100, different from the position of the display screen 194.
The bone conduction sensor 180M may acquire a vibration signal. In some embodiments, the bone conduction sensor 180M may acquire a vibration signal of the human vocal part vibrating the bone mass. The bone conduction sensor 180M may also contact the human pulse to receive the blood pressure pulsation signal. In some embodiments, the bone conduction sensor 180M may also be disposed in a headset, integrated into a bone conduction headset. The audio module 170 may analyze a voice signal based on the vibration signal of the bone block vibrated by the sound part obtained by the bone conduction sensor 180M, so as to implement a voice function. The application processor can analyze heart rate information based on the blood pressure beating signal acquired by the bone conduction sensor 180M, so as to realize the heart rate detection function.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100.
The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The motor 191 may also respond to different vibration feedback effects for touch operations applied to different areas of the display screen 194. Different application scenes (such as time reminding, receiving information, alarm clock, game and the like) can also correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization.
Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc.
The SIM card interface 195 is used to connect a SIM card. The SIM card can be attached to and detached from the electronic device 100 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195. The electronic device 100 may support 1 or N SIM card interfaces, N being a positive integer greater than 1. The SIM card interface 195 may support a Nano SIM card, a Micro SIM card, a SIM card, etc. The same SIM card interface 195 can be inserted with multiple cards at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 may also be compatible with different types of SIM cards. The SIM card interface 195 may also be compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as communication and data communication. In some embodiments, the electronic device 100 employs esims, namely: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100.
The software system of the electronic device 100 may employ a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the present invention uses an Android system with a layered architecture as an example to exemplarily illustrate a software structure of the electronic device 100.
Fig. 2 is a block diagram of a software configuration of the electronic apparatus 100 according to the embodiment of the present invention.
The layered architecture divides the software into several layers, each layer having a clear role and division of labor. The layers communicate with each other through a software interface. In some embodiments, the Android system is divided into four layers, an application layer, an application framework layer, an Android runtime (Android runtime) and system library, and a kernel layer from top to bottom.
The application layer may include a series of application packages.
As shown in fig. 2, the application package may include camera, gallery, calendar, phone call, map, navigation, WLAN, bluetooth, music, video, short message, etc. applications.
The application framework layer provides an Application Programming Interface (API) and a programming framework for the application program of the application layer. The application framework layer includes a number of predefined functions.
As shown in FIG. 2, the application framework layers may include a window manager, content provider, view system, phone manager, resource manager, notification manager, and the like.
The window manager is used for managing window programs. The window manager can obtain the size of the display screen, judge whether a status bar exists, lock the screen, intercept the screen and the like.
The content provider is used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and received, browsing history and bookmarks, phone books, etc.
The view system includes visual controls such as controls to display text, controls to display pictures, and the like. The view system may be used to build applications. The display interface may be composed of one or more views. For example, the display interface including the short message notification icon may include a view for displaying text and a view for displaying pictures.
The phone manager is used to provide communication functions for the electronic device 100. Such as management of call status (including on, off, etc.).
The resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and the like.
The notification manager enables the application to display notification information in the status bar, can be used to convey notification-type messages, can disappear automatically after a short dwell, and does not require user interaction. Such as a notification manager used to inform download completion, message alerts, etc. The notification manager may also be a notification that appears in the form of a chart or scrollbar text in a status bar at the top of the system, such as a notification of a running application in the background, or a notification that appears on the screen in the form of a dialog window. For example, prompting text information in the status bar, sounding a prompt tone, vibrating the electronic device, flashing an indicator light, etc.
The Android Runtime comprises a core library and a virtual machine. The Android runtime is responsible for scheduling and managing an Android system.
The core library comprises two parts: one part is a function which needs to be called by java language, and the other part is a core library of android.
The application layer and the application framework layer run in a virtual machine. And executing java files of the application program layer and the application program framework layer into a binary file by the virtual machine. The virtual machine is used for performing the functions of object life cycle management, stack management, thread management, safety and exception management, garbage collection and the like.
The system library may include a plurality of functional modules. For example: surface managers (surface managers), media Libraries (Media Libraries), three-dimensional graphics processing Libraries (e.g., openGL ES), 2D graphics engines (e.g., SGL), and the like.
The surface manager is used to manage the display subsystem and provide a fusion of the 2D and 3D layers for multiple applications.
The media library supports a variety of commonly used audio, video format playback and recording, and still image files, among others. The media library may support a variety of audio-video encoding formats, such as MPEG4, h.264, MP3, AAC, AMR, JPG, PNG, and the like.
The three-dimensional graphic processing library is used for realizing three-dimensional graphic drawing, image rendering, synthesis, layer processing and the like.
The 2D graphics engine is a drawing engine for 2D drawing.
The kernel layer is a layer between hardware and software. The inner core layer at least comprises a display driver, a camera driver, an audio driver and a sensor driver.
For convenience of understanding, in the following embodiments of the present application, an electronic device having a structure shown in fig. 1 and fig. 2 is taken as an example, and a message display method provided by the embodiments of the present application is specifically described in conjunction with the drawings and application scenarios.
First, a message in the embodiment of the present application will be described. The message in the embodiment of the application refers to information which is received by the electronic equipment and needs to be informed to the user. The message may be information sent to the electronic device by a device other than the electronic device, or may be information sent to the electronic device by an application in the electronic device. To illustrate the message: when the electronic equipment is a mobile phone, incoming call information or short messages and the like received by the mobile phone are received; messages sent by other users are received by an instant messaging application installed on the electronic equipment; notification information such as promotion information and the like which is received by an application installed in the electronic equipment and needs to be displayed to a user; when the application installed in the electronic device has completed executing the task instructed by the user, the application needs to prompt the user for information on completion of the task, such as completion of downloading.
The message display method of the embodiment of the application can be applied to a system architecture in which a user has at least 2 electronic devices. The association relationship can be established between at least 2 electronic devices owned by the user, and the association relationship can be established by logging in the same account on each electronic device by the user or establishing data connection between the electronic devices. For any one of the at least 2 electronic devices, the other electronic devices in the at least 2 electronic devices are all associated devices of the electronic device. For example, assuming that a user owns 4 electronic devices including a mobile phone, a PAD, a smart watch, and a PC, and an association relationship has been established among the 4 electronic devices, the PAD, the smart watch, and the PC are all associated devices of the mobile phone for the mobile phone, the smart watch, and the PC are all associated devices of the PAD for the PAD, and so on, which are not listed below.
Referring to fig. 3A to 3C, still taking the example that the user has 4 electronic devices, such as a mobile phone, a PAD, a smart watch, and a PC, and has established an association relationship, it should be noted that the example that the user has 4 electronic devices in fig. 3A to 3C is only an example, and is not used to limit the number of electronic devices that the user can simultaneously have or the number of electronic devices that establish an association relationship among the electronic devices that the user has.
In the embodiment of the present application, data communication can be performed between at least 2 electronic devices owned by a user, and a communication method between the electronic devices is not limited in the embodiment of the present application, and is exemplified below by fig. 3A to 3C.
As shown in fig. 3A, 4 electronic devices take a mobile phone as a center, and a PAD, a smart watch, and a PC are respectively connected to the mobile phone in a manner including but not limited to WiFi, bluetooth, and the like; correspondingly, data to be transmitted among the PAD, the intelligent watch and the PC can be forwarded through the mobile phone;
as shown in fig. 3B, the 4 electronic devices are connected to each other in a manner including, but not limited to, wiFi, bluetooth, etc.;
as shown in fig. 3C, the 4 electronic devices are respectively connected to a third-party electronic device, and data to be transmitted between the 4 electronic devices can be forwarded through the third-party electronic device; in a possible implementation manner, the third-party electronic device may be a server, for example, a cloud server in the cloud, and the user logs in the third-party electronic device using the same account in the 4 electronic devices respectively, and correspondingly, the third-party electronic device forwards data between the 4 electronic devices based on the same account.
With reference to the system architectures of fig. 3A to 3C, a message display method and a possible application scenario of the message display method according to the embodiment of the present application are illustrated by fig. 4 and 6. In the following embodiments, the mobile phone receives a new message as an example.
Referring to part 41 in fig. 4, the user starts the message protection function on the mobile phone, and sets the identity authentication information required by the message protection function on the mobile phone; optionally, the priority between the associated devices of the handset, i.e. between the PAD, the PC and the smart watch, may also be set on the handset.
Specifically, the message display method in the embodiment of the present application may exist as a function in an operating system of a mobile phone, and at this time, the operating system of the mobile phone may provide a setting interface of a message protection function, a setting interface of identity authentication information, a setting interface of priority among associated devices, and the like for a user; or, the message display method in the embodiment of the present application may exist as an application in an operating system of a mobile phone, and at this time, the application may provide the setting interface for the user.
The message display method in the embodiment of the present application is taken as an example of a function in an operating system of a mobile phone. Fig. 5A is an exemplary diagram of a message protection function setting interface provided by an operating system of a mobile phone for a user, where in the setting interface, the user may perform a selection operation on an "on" or "off" control corresponding to a message protection function, and the mobile phone may turn on or off the message protection function based on the operation of the user, and if the message protection function is turned on, the mobile phone displays a received message by using the message display method according to the embodiment of the present application, so as to reduce a risk of privacy disclosure of the user; if the message protection function is closed, the mobile phone can display the received message by using the existing related message display method.
Optionally, after the message protection function is started, the mobile phone may further allow the user to set, in a message protection function setting interface, whether each application installed in the mobile phone starts the message protection function, for example, in fig. 5A, the user may perform a selection operation on an "on" or "off" control corresponding to the message protection function of each application, the mobile phone may start or close the message protection function of the application based on the operation of the user, for example, the mobile phone may start the message protection function of the phone, the message, the application 1, and the application 2, and close the message protection function of the application 3 based on the operation of the user in fig. 5A. For example, if the message protection function of the application 1 is started, the mobile phone displays the received message of the application 1 by using the message display method in the embodiment of the application, so that the risk of privacy disclosure of the user is reduced; if the message protection function of the application 1 is closed, the mobile phone displays the received message of the application 1 by using the existing related message display method.
It should be noted that, a user may access the message protection function setting interface at any time to change the setting of whether to open the message protection function or whether to open the message protection function for a certain application, which is not limited in the embodiment of the present application.
Fig. 5B is an exemplary diagram of an authentication information setting interface provided by a mobile phone for a user regarding message protection, where the mobile phone obtains authentication information through an operation of the user in the authentication information setting interface, where the authentication information may be a password and/or biometric data such as a face, a fingerprint, an iris, and/or a heart pulse. In fig. 5B, taking the example that the identity authentication information includes five kinds of authentication information, namely, a password, a face, a fingerprint, an iris, and a heart, the identity authentication information may include one or more kinds of the above authentication information, and one or more pieces of authentication information may be set in each kind of authentication information, for example, the identity authentication information regarding message protection in a mobile phone may include: password 1, password 2, face 1, face 2, fingerprint 1, fingerprint 2, fingerprint 3. And/or the mobile phone can also acquire the identity authentication information with the message protection function from the identity authentication information existing in the mobile phone, such as the identity authentication information about screen unlocking of the mobile phone. It should be noted that, the user may access the identity authentication information setting interface related to the message protection at any time, and change the setting of the identity authentication information, which is not limited in the embodiment of the present application.
When a user starts a message protection function on a mobile phone, associated devices of the mobile phone, namely a PAD, a PC and a smart watch, may or may not start the message protection function, however, the associated devices of the mobile phone generally need to acquire identity authentication information related to message protection, so that when the mobile phone acquires the use state information of the associated devices from the associated devices, the associated devices can perform identity authentication related to message protection, thereby feeding back the use state information of the associated devices to the mobile phone. The identity authentication information about message protection in the associated device may be set by the user in the associated device based on a setting interface similar to that shown in fig. 5B, and/or the mobile phone sends the identity authentication information about message protection in the mobile phone to the associated device of the mobile phone, which is not limited in the embodiment of the present application. It should be noted that the identity authentication information about message protection in the mobile phone and the associated device of the mobile phone may be the same or different, for example, the identity authentication information about message protection in the mobile phone may include: password 1, password 2, face 1, face 2, fingerprint 1, fingerprint 2 and fingerprint 3; assuming that the PAD cannot perform fingerprint recognition, the identity authentication information about message protection in the PAD may include: password 1, password 2, face 1 and face 2; assuming that the smart watch cannot perform face recognition and fingerprint recognition but can perform heart pulse recognition, the identity authentication information about message protection in the smart watch may include: password 1, password 2 and heart pulse 1; and so on.
Fig. 5C is an exemplary diagram of a priority setting interface of the associated device provided by the mobile phone for the user, and the mobile phone may acquire the priority information of the associated device based on the information input by the user in the priority setting interface. It should be noted that, the user can access the priority setting interface at any time to change the priority setting for the associated device.
Referring to fig. 4, part 42, it is assumed that the mobile phone receives a new message, such as a short message, and the mobile phone determines that the usage status information of the mobile phone does not satisfy the message display condition.
It should be noted that, in fig. 4, for example, the usage state information of the mobile phone does not satisfy the message display condition, if the mobile phone determines that the usage state information of the mobile phone satisfies the message display condition, the mobile phone displays the received new message. The method for displaying the received new message by the mobile phone may refer to a display method of the message when the mobile phone is not set with message protection, and the embodiment of the present application is not limited, but only in the embodiment of the present application, when it is determined that the usage state information of the mobile phone satisfies the message display condition, the message is displayed.
The usage state information of the electronic device is used for describing the usage state of the electronic device, and the usage state information may include, but is not limited to: whether the electronic device is being used, whether the electronic device detects a user that is not authenticated with respect to the identity of the message protection. Optionally, the usage status information may further include: whether the electronic device detects a user authenticated with identity with respect to message protection, etc.
Whether an electronic device is being used or not may have different criteria for different electronic devices. For example: for mobile phones, PADs, PCs and the like, the mobile phones, PADs, PCs and the like are in a working state and not in a standby state and can be considered to be in use; with regard to wearable devices such as smartwatches, even if a user is not operating and is in a standby state, the wearable device can be considered to be in use as long as it is detected that the wearable device is worn on the body by the user.
Whether the electronic device detects a user that is not authenticated with respect to the message protection may be determined based on authentication information on the message protection preset in the electronic device. The preset identity authentication information about message protection in the electronic device is different, and the method for the electronic device to determine whether to detect a user who fails the identity authentication about message protection may be different. For example: if the electronic device is a mobile phone, the identity authentication information about message protection in the mobile phone comprises: the mobile phone can capture an image through a front camera, if face information other than the face 1 and the face 2 is included in the image, the mobile phone can judge that a user who fails identity authentication related to message protection is detected, or the mobile phone can show a password verification interface related to message protection to the user, prompt the user who is using the mobile phone to input a password related to message protection, judge that a user who fails identity authentication related to message protection is detected if the password input by the user is not the password 1 or the password 2, or acquire a fingerprint of the user who is using the mobile phone by showing the fingerprint verification interface related to message protection to the user, and judge that a user who fails identity authentication related to message protection is detected if the fingerprint of the user is not the fingerprint 1 or the fingerprint 2 or the fingerprint 3.
It should be noted that, although the electronic device may detect a user who fails the identity authentication for message protection to some extent by performing the identity authentication for message protection based on a password, a fingerprint, or the like, in the case where the user who can pass the identity authentication for message protection and another user use the electronic device at the same time, the user who fails the identity authentication for message protection based on a face of a person, an iris, or the like may be more accurately detected with respect to the password, the fingerprint, or the like, that is, it is determined that the user who fails the identity authentication for message protection is using the electronic device, and therefore, when performing the subsequent prioritization of the associated devices based on the usage state information, it is determined whether the associated device of the user who fails the identity authentication for message protection based on the face of a person, the iris, or the like has a higher priority than the associated device of the user who detects whether the identity authentication for message protection based on the password, the fingerprint, or the like.
Referring to fig. 4, part 43, the mobile phone queries the associated devices, i.e., PAD, PC, and smart watch, respectively, for their usage status information; each associated device feeds back the use state information of the associated device to the mobile phone;
the usage state information of the associated device is used to describe the usage state of the associated device, and the usage state information may include, but is not limited to: whether the associated device is being used, whether the associated device detects a user that has failed the identity authentication for message protection.
The implementation of the use state information of the associated device may refer to the related description of the use state information of the electronic device, which is not described herein again.
Referring to part 44 in fig. 4, the mobile phone respectively determines whether the usage state information of each associated device satisfies the message display condition based on the usage state information of each associated device, and if there is a device whose usage state information satisfies the message display condition among the associated devices, selects one or more associated devices from the associated devices satisfying the message display condition as the message display device, and sends the short message to the message display device for display.
The number of the selected message display devices is not limited in the embodiments of the present application, and in order to better protect the privacy of the user, the number of the message display devices is preferably smaller. Preferably, the number of message display devices may be 1.
The message display condition that the use state information of the associated device needs to satisfy may be: the associated device is being used and no user is detected that has failed the identity authentication for message protection.
If there are at least 2 associated devices satisfying the message display condition, when the mobile phone selects one or more associated devices from the associated devices satisfying the message display condition, the priority between the associated devices satisfying the message display condition may be based on the priority among the associated devices satisfying the message display condition, where the priority may be preset in the mobile phone by the user through a setting interface shown in fig. 5C, or may be determined in real time by the mobile phone based on the usage status information of the associated devices.
The determining, by the mobile phone, the priority of the associated device in real time based on the usage status information of the associated device that satisfies the message display condition may include: the associated equipment judges that the user who fails the identity authentication related to the message protection is not detected based on the modes of the face, the iris and the like, and the priority is highest; the associated device judges that the user who fails the identity authentication related to the message protection is not detected based on the password, the fingerprint and the like, and the priority is the second. Where it may happen that 2 or more associated devices are at the same priority.
For example, if the mobile phone determines that the use state information of the PAD and the smart watch in the PAD, the PC and the smart watch satisfies the message display condition, the mobile phone may select one device from the PAD and the smart watch as the message display device, or may select two devices as the message display devices, and if one device is selected from the PAD and the smart watch for short message display, a device with a high priority may be selected as the message display device according to the priority of the PAD and the smart watch; in fig. 4, the mobile phone has a decision result that the PAD is used as a message display device, and then the mobile phone sends the received short message to the PAD, and the PAD displays the short message.
Because the message received by the mobile phone may be a message in various applications installed in the mobile phone, there may be a case where the mobile phone sends a message of a certain application to the associated device, but the associated device does not install the application, so that the associated device cannot acquire an application status bar to which the message belongs and display the message, or cannot display the message in the application to which the message belongs, based on this: when the mobile phone sends a message to the associated device, the mobile phone may perform format conversion on the message, and convert the message into a format of the message that can be displayed by the associated device, for example, the message may be added with information such as a name of an application to which the message belongs, and then repackaged into a new message to be sent to the associated device, and the associated device may receive the repackaged message, obtain the message and information such as the name of the application to which the message belongs, and complete display of the message. For the associated device, if the application to which the message belongs does not exist in the associated device, the message can be displayed in a mode of displaying the message in a status bar; if the application to which the message belongs exists in the associated device, the associated device may display the message according to a display mode preset in the associated device for receiving the message, which is not limited in the embodiment of the present application. For example, if the mobile phone receives a message of an instant messaging App and sends the message to the PAD for display, if the instant messaging App is not installed in the PAD, the PAD may display the received message to the user in a status bar display manner, and if the instant messaging App is installed in the PAD, the PAD may display the message in a preset display manner related to the instant messaging App.
It should be noted that, a message protection function may also be set in the associated device, and when the mobile phone sends the message to the associated device for display, the mobile phone may instruct the associated device that the message is a message that is forwarded to the associated device for display based on the message protection function, thereby preventing the associated device from repeatedly processing the message as a new message according to the message display method of the present application, and saving processing resources of the associated device.
Referring to fig. 6, in section 61 of fig. 6, in a difference from section 43 of fig. 4, the determination of whether the usage state information of the associated device satisfies the message display condition is performed by each associated device, the mobile phone queries the associated device for the determination result of whether the usage state information of the associated device itself satisfies the message display condition, and each associated device feeds back the determination result of whether the usage state information of the associated device itself satisfies the message display condition to the mobile phone; accordingly, the method can be used for solving the problems that,
different from the part 44 in fig. 4, the mobile phone selects one or more associated devices as message display devices from the associated devices that satisfy the message display condition as a result of the received determination, and sends the short message to the message display device for display.
When the mobile phone selects one or more associated devices from the associated devices satisfying the message display condition, the priority between the associated devices satisfying the message display condition may be based on the priority that the user has set in the mobile phone in advance through the setting interface shown in fig. 5C, for example.
For example, assuming that the determination result fed back by the PAD and the smart watch in the PAD, the PC and the smart watch is that the use state information satisfies the message display condition, the mobile phone may select one device from the PAD and the smart watch as the message display device to display the short message, or both devices may select both devices as the message display devices to display the short message, and when one device is selected from the PAD and the smart watch as the message display device, a device with a high priority may be selected based on a priority between the PAD and the smart watch preset in the mobile phone, taking fig. 5C as an example, and the priority of the PAD is higher than that of the smart watch, the PAD may be selected as the message display device; in fig. 6, the mobile phone selects PAD to display the short message as a decision result, and then the mobile phone sends the received short message to PAD, and PAD displays the short message.
Hereinafter, a message display method according to an embodiment of the present application will be further described with reference to fig. 1 to 6. In the following embodiments, taking the example that the electronic device receiving the message is a mobile phone of the user, and the associated devices of the mobile phone are a PAD, a PC and a smart watch, the mobile phone may include: the device comprises a message management module, an equipment authentication module and a message notification module; wherein the content of the first and second substances,
and the message management module is used for recording whether the message protection function is started by the message of each application in the mobile phone. The message management module can realize user-defined of whether the message protection function is started for the applied message, that is, the user can specify which applied messages are started with the message protection function and which applied messages are not started with the message protection function. Specifically, the message management module may provide, for example, a message protection function setting interface shown in fig. 5A for the user, and accordingly, the message management module may acquire information about whether each application in the mobile phone, like that shown in table 1, starts the message protection function.
TABLE 1
Application name Whether to turn on message protection
Telephone set Is that
Information Is that
Applications 1 Is that
Applications 2 Is that
Application 3 Whether or not
The device authentication module is used for setting identity authentication information about message protection, the identity authentication information is used for identity authentication about message protection in the message display method of the embodiment of the application, and the identity authentication information can be passwords and/or biological characteristic data such as human faces, fingerprints, irises and/or heart veins. The device authentication module may provide an identity authentication information setting interface shown in fig. 5B for the user to acquire the identity authentication information, or the device authentication module may also acquire the identity authentication information from existing identity authentication information in the mobile phone, such as the identity authentication information of the mobile phone about screen unlocking.
The device authentication module may also manage priority information displayed for messages between the device and the associated device of the mobile phone, for example, the device authentication module may provide a priority setting interface shown in fig. 5C for the user, and obtain the priority information shown in table 2 below, for example.
TABLE 2
Associating device names Priority level
PAD
1
PC 2
Intelligent watch 3
The biometric data set in the device authentication module as the identity authentication information may be biometric data of the mobile phone owner or biometric data of a person trusted by the mobile phone owner, for example, the mobile phone owner may set face information of the mobile phone owner as the identity authentication information for message protection, and may set face information of a family as the identity authentication information for message protection.
The device authentication module may also make a decision on the display device of the message, i.e., may determine whether the display device of the message is a mobile phone or one or more associated devices. The decision basis here may include, but is not limited to: an electronic device (e.g., a cell phone or a device associated with a cell phone) is being used and the electronic device authenticates the current user. The authentication of the electronic device (e.g., a mobile phone or a device associated with a mobile phone) for the current user may include, but is not limited to: the electronic equipment determines that the number of the current users is 1, and the identity authentication of the current users passes; and/or when the electronic equipment determines that the number of the current users is 2 or more than 2, the identity authentication of each current user passes.
The message notification module can receive messages of all applications in the mobile phone, determine the application to which the message belongs, and display the message according to the display equipment of the message determined by the equipment authentication module.
Specifically, referring to fig. 7, a flowchart of an embodiment of the message display method of the present application is shown, and includes: an information presetting stage and an information display stage; wherein, the first and the second end of the pipe are connected with each other,
the information presetting stage is an optional stage, and in the information presetting stage, the mobile phone starts a message protection function and acquires related setting information based on the operation of a user.
The relevant setup information may include, but is not limited to: identity authentication information about message protection, and/or information such as whether each application in the mobile phone shown in table 1 turns on a message protection function, optionally, message display priority information of an associated device such as the mobile phone shown in table 2 may also be included.
The implementation of this step may refer to the relevant description of part 41, the message management module, and the device authentication module in fig. 4, which is not described herein again.
After the message protection function is started at the information presetting stage, the mobile phone executes the following steps 701 to 704 through the message notification module, the equipment authentication module and the message notification module, so as to realize the protection of the message in the display process of the message, specifically:
step 701: and the message notification module receives the new message, determines the application to which the received new message belongs, and sends the information of the application to which the new message belongs to the message management module.
Typically, the electronic device has a notification manager, such as the one shown in fig. 2, through which the message notification module can determine the application to which the new message belongs.
Step 702: and the message management module inquires whether the application to which the new message belongs starts message protection or not according to the received information of the application to which the new message belongs, and sends an inquiry result to the equipment authentication module.
Steps 701 to 702 correspond to the parts 42 in fig. 4 and 6, and the examples in fig. 4 and 6 are continued, assuming that the message notification module receives the short message, determines that the short message belongs to the application of "information", and sends the information of the application of "information" to the message management module; the message management module inquires 'information' in table 1 to apply the opening message protection, and sends the inquiry result to the equipment authentication module. In fig. 4 and fig. 6, the query result is used as "information" to apply the open message protection as an example.
Step 703: if the query result is that the application to which the new message belongs starts message protection, the device authentication module selects a device capable of displaying the new message from the mobile phone and the associated device of the mobile phone, and sends the selection result to the message notification module.
If the query result indicates that the application to which the new message belongs does not open message protection, the device authentication module may directly select the mobile phone as the device for displaying the new message, and send the selection result to the message notification module, which is not described herein.
If the equipment is selected, the equipment authentication module sends the selected equipment information to the message notification module, and if the equipment is not selected, the information which is not selected is sent to the message notification module.
The device authentication module may select a device capable of displaying a new message according to the usage state information of the mobile phone and the usage state information of the device associated with the mobile phone, and optionally, may set a message display condition, for example: the device capable of displaying the new message is selected with the device being used by the target user as a message display condition, or with the device being used by the target user and not being used by other users at the same time as a message display condition, or with the device being used by the non-target user as a message display condition. The target user here refers to a user that can be authenticated by an identity with respect to message protection.
The selected device for displaying the new message may be one device or a plurality of devices, and the embodiment of the present application is not limited. Preferably, for better protection of the privacy of the user, only one device may be selected to display the new message.
Optionally, the device authentication module may determine whether the new message can be displayed according to the use state information of the mobile phone, and select a device capable of displaying the new message from the associated devices according to the use state information of the associated devices of the mobile phone when the new message cannot be displayed.
This step may correspond to parts 42 and 43 in fig. 4 and 42 and 61 in fig. 6, taking the example in fig. 4 and 6 that the associated device selected by the device authentication module is a PAD.
Step 704: and if the equipment authentication module selects the equipment, the message notification module displays the message based on the equipment information sent by the equipment authentication module.
If the equipment selected by the equipment authentication module is the mobile phone, the message notification module displays the message on the mobile phone; if the equipment authentication module selects one or more associated equipment of the mobile phone, the message notification module sends the message to the associated equipment, and the associated equipment displays the message.
This step may correspond to parts 42 and 43 in fig. 4 and 42 and 61 in fig. 6, taking the example in fig. 4 and 6 that the associated device selected by the device authentication module is a PAD.
Referring to fig. 8, which is a flowchart of another embodiment of the message display method of the present application, different from the embodiment shown in fig. 7, steps 703 to 704 are replaced with the following steps 801 to 804, specifically:
step 801: the device authentication module judges that the query result is that the application to which the new message belongs does not open message protection, and executes step 802; judging that the query result is that the application to which the new message belongs starts message protection, and executing step 803;
step 802: the equipment authentication module sends the message display equipment to the message notification module to be a mobile phone; step 804 is executed;
step 803: the equipment authentication module selects the message display equipment according to the use state information of the mobile phone or the use state information of the mobile phone and the use state information of the relevant equipment of the mobile phone, and sends the selection result to the message notification module.
In one possible implementation, the device authentication module may select the message display device by:
the equipment authentication module judges whether the use state information of the mobile phone meets the message display condition, and if so, the mobile phone is selected as the message display equipment; if not, respectively acquiring the use state information of the associated equipment from each associated equipment;
the equipment authentication module respectively judges whether the use state information of each associated equipment meets the message display condition; and if at least one associated device with the use state information meeting the message display condition exists, sending the information of the at least one associated device to a message notification module.
Optionally, when too many associated devices whose usage state information satisfies the message display condition are used, in order to better protect privacy of the user, a preset first number of associated devices may be selected from the associated devices as message display devices, where the first number may be a natural number, and the specific numerical value is not limited in the embodiment of the present application. For example, when the associated apparatuses whose usage state information satisfies the message display condition exceed a preset threshold, a preset number of associated apparatuses may be selected as message display apparatuses from associated apparatuses having a higher priority in accordance with the priorities of the associated apparatuses.
The priority of the associated device may be obtained by providing a user with a priority setting interface such as that shown in fig. 5C, and acquiring user setting information, or may be determined in real time according to the use state information of the associated device.
In another possible implementation, the device authentication module may select the message display device by:
the equipment authentication module judges whether the use state information of the mobile phone meets the message display condition, and if so, the mobile phone is selected as the message display equipment; if not, respectively acquiring a judgment result whether the use state information of the associated equipment meets the message display condition from each associated equipment;
the equipment authentication module judges whether the associated equipment with the use state information meeting the information display condition exists in the associated equipment according to the received judgment result, and if at least one associated equipment with the use state information meeting the information display condition exists, the equipment authentication module sends the information of the at least one associated equipment to the information notification module.
Optionally, when there are too many associated devices whose usage status information satisfies the message display condition, in order to better protect the privacy of the user, a preset first number of associated devices may be selected as the message display devices. For example, when the associated apparatuses whose usage state information satisfies the message display condition exceed a preset threshold, a preset number of associated apparatuses may be selected as message display apparatuses from associated apparatuses having higher priorities in accordance with the priorities of the associated apparatuses.
The priority of the associated device may be obtained by obtaining user setting information by providing the user with a priority setting interface such as that shown in fig. 5C.
Step 804: the message notification module displays the new message on the equipment indicated by the equipment information if the selection result is the equipment information according to the selection result sent by the equipment authentication module; and if the selection result is that the information of the equipment is not selected, adding the new message into the message list to be prompted.
For the message added to the message list to be prompted, the message notification module may periodically start to execute steps 701 to 804 until the mobile phone meets the message display condition and displays the message, or search for the message display device from the associated device of the mobile phone and send the message to the message display device for display.
Based on the above embodiments, an embodiment of the present application further provides a message display method, which is suitable for an electronic device, such as a mobile phone receiving a short message in the foregoing examples, as shown in fig. 9, and the method may include:
step 901: receiving a new message;
step 902: judging whether the use state information of the electronic equipment meets the message display condition, and if the use state information meets the message display condition, executing step 903; otherwise, go to step 904;
step 903: displaying a message on the electronic equipment, and ending the branch process;
step 904: searching for associated equipment which uses the state information to meet the message display condition from the associated equipment of the electronic equipment; step 905 is executed;
step 905: and if the associated equipment with the use state information meeting the message display condition is found, selecting at least one associated equipment from the found associated equipment as message display equipment, and sending the message to the message display equipment so that the message display equipment can display the message.
According to the method, the message is displayed only on the electronic equipment meeting the message display condition or the related equipment of the electronic equipment, so that the privacy disclosure problem which can occur when a single user owns a plurality of electronic equipment is reduced.
Optionally, the determining whether the usage status information of the electronic device satisfies the message display condition may include:
judging whether the electronic equipment is used or not, and judging whether the electronic equipment detects a user which does not pass identity authentication or not;
if the electronic equipment is judged to be used and the electronic equipment does not detect the user which does not pass the identity authentication, judging that the use state of the electronic equipment meets the message display condition;
otherwise, judging that the using state of the electronic equipment does not meet the message display condition.
Through the processing, the received message is displayed on the electronic equipment only when the electronic equipment is used and the electronic equipment does not detect the user who does not pass the identity authentication, so that the message cannot be viewed by other people except the user who passes the identity authentication, and the problem of user privacy disclosure which possibly occurs is further reduced.
Optionally, searching for an associated device, which satisfies the message display condition using the status information, from associated devices of the electronic device may include:
acquiring the use state information of the associated equipment from the associated equipment of the electronic equipment, and respectively judging whether the use state information of the associated equipment meets the message display condition; alternatively, the first and second liquid crystal display panels may be,
and obtaining a judgment result of whether the use state information of the associated equipment meets the message display condition from the associated equipment of the electronic equipment, and searching the associated equipment with the judgment result meeting the message display condition.
The two implementation manners of finding the associated device with the use state information meeting the message display condition by the electronic device are provided above.
Optionally, selecting at least one associated device from the searched associated devices as a message display device may include:
and if at least 2 found associated devices exist, determining the priority among the found associated devices, and selecting a first number of associated devices as message display devices from high to low according to the priority.
And selecting the associated equipment as the message display equipment according to the priority from high to low, and selecting the associated equipment with high priority as the message display equipment as much as possible, so that the possible problem of privacy disclosure of the user can be further reduced.
Optionally, the method may further include:
and if the associated equipment meeting the message display condition is not found, adding the message into a to-be-prompted list of the electronic equipment, and re-executing the step of judging whether the use state information of the electronic equipment meets the message display condition when the preset retry condition is met until the use state information of the electronic equipment meets the message display condition and displays the message, or sending the message to the message display equipment for display.
When the using state information of the electronic equipment does not meet the message display condition and the associated equipment meeting the message display condition cannot be found, the message is added into a list to be prompted of the electronic equipment, and when the using state information met by the electronic equipment or the associated equipment of the electronic equipment meets the message display condition, the message is displayed, so that the problem of possible privacy disclosure of a user can be further reduced.
The retry condition may be retry time determined according to a certain period, or a trigger condition such as detecting an unlocking screen of the electronic device, or the like.
Optionally, before determining whether the electronic device satisfies the message display condition, the method may further include:
determining an application to which the received message belongs;
and judging that the application opens the message protection.
By respectively setting the function of whether to start the message protection for each application, the individual requirements of a user on starting the message protection for some applications and not starting the message protection for some applications can be met, so that the user can use the message protection function more flexibly and conveniently, and the user experience is improved.
Based on the above embodiments, the embodiments of the present application further provide a message display method, which is suitable for an electronic device, such as a PAD, a PC, or a smart watch associated with a mobile phone in the above examples. As shown in fig. 10, may include:
step 1001: and receiving a query request sent by the associated equipment, wherein the query request is used for querying the use state information of the electronic equipment, and the query request is sent when the associated equipment receives a new message and judges that the associated equipment does not meet the message display condition.
If the electronic device executing the method shown in fig. 10 is the associated device PAD, PAC or smart watch of the mobile phone in the above example, the associated device in this step may be the mobile phone in the above example.
Step 1002: and sending the use state information of the electronic equipment to the associated equipment as a query response aiming at the query request.
Step 1003: if a message which is sent by the associated equipment and needs to be displayed is received, the received message is displayed; the message is sent when the associated device judges that the use state information of the electronic device meets the message display condition and selects the electronic device as the message display device.
Based on the above embodiments, the embodiments of the present application further provide a message display method, which is suitable for an electronic device, such as a PAD, a PC, or a smart watch associated with a mobile phone in the above examples. As shown in fig. 11, may include:
step 1101: and receiving a query request sent by the associated equipment, wherein the query request is used for querying whether the electronic equipment meets the message display condition, and the query request is sent when the associated equipment receives a new message and judges that the associated equipment does not meet the message display condition.
If the electronic device executing the method shown in fig. 11 is the associated device PAD, PAC of the mobile phone in the above example, or the smart watch, the associated device in this step may be the mobile phone in the above example.
Step 1102: and judging whether the electronic equipment meets the message display condition or not, and sending a judgment result to the associated equipment as a query response.
Step 1103: if a message which is sent by the associated equipment and needs to be displayed is received, the message is displayed; and the message is sent when the associated equipment selects the electronic equipment as the message display equipment according to the judgment result of the electronic equipment.
Optionally, the determining whether the electronic device satisfies the message display condition may include:
determining whether the electronic device is being used, and determining whether the electronic device detects a user who fails identity authentication;
if the electronic equipment is judged to be used and the electronic equipment does not detect the user which does not pass the identity authentication, judging that the use state of the electronic equipment meets a message display condition;
otherwise, judging that the using state of the electronic equipment does not meet the message display condition.
The electronic devices shown in fig. 10 and 11 can cooperate with the associated device whose status information does not satisfy the message display condition to display the message, thereby reducing the privacy disclosure problem that may occur when a single user owns a plurality of electronic devices.
It is to be understood that some or all of the steps or operations in the above-described embodiments are merely examples, and other operations or variations of various operations may be performed by the embodiments of the present application. Further, the various steps may be performed in a different order presented in the above-described embodiments, and it is possible that not all of the operations in the above-described embodiments are performed.
Fig. 12 is a schematic structural diagram of an embodiment of the risk early warning device of the present application, and as shown in fig. 12, the device 1200 may include:
a receiving unit 1210 configured to receive a new message;
a judging unit 1220 for judging whether the use state information of the electronic device satisfies the message display condition;
a display unit 1230 for displaying a message on the electronic device if a message display condition is satisfied;
a searching unit 1240 for searching for an associated device satisfying the message display condition using the status information from the associated devices of the electronic device if the message display condition is not satisfied;
the display unit 1230 is further configured to: and if the associated equipment with the use state information meeting the message display condition is found, selecting at least one associated equipment from the found associated equipment as message display equipment, and sending the message to the message display equipment so that the message display equipment can display the message.
Optionally, the determining unit 1220 may specifically be configured to:
judging whether the electronic equipment is used or not, and judging whether the electronic equipment detects a user which does not pass identity authentication or not;
if the electronic equipment is judged to be used and the electronic equipment does not detect the user which does not pass the identity authentication, judging that the use state of the electronic equipment meets the message display condition;
otherwise, judging that the using state of the electronic equipment does not meet the message display condition.
Optionally, the finding unit 1240 may specifically be configured to:
acquiring the use state information of the associated equipment from the associated equipment of the electronic equipment, and respectively judging whether the use state information of the associated equipment meets the message display condition; alternatively, the first and second liquid crystal display panels may be,
and obtaining a judgment result of whether the use state information of the associated equipment meets the message display condition from the associated equipment of the electronic equipment, and searching the associated equipment with the judgment result of meeting the message display condition.
Optionally, the display unit 1230 may be specifically configured to: and if at least 2 found associated devices exist, determining the priority among the found associated devices, and selecting a first number of associated devices as message display devices from high to low according to the priority.
Optionally, the receiving unit 1210 may further be configured to: if the associated device meeting the message display condition is not found, the message is added to the to-be-prompted list of the electronic device, and when the preset retry condition is met, the determining unit 1220 is triggered to re-execute the step of determining whether the use state information of the electronic device meets the message display condition until the use state information of the electronic device meets the message display condition, the message is displayed, or the message is sent to the message display device for displaying.
Optionally, the method may further include:
the query unit is used for determining the application to which the received message belongs; and judging that the application opens the message protection.
Fig. 13 is a schematic structural diagram of an embodiment of a risk early warning apparatus according to the present application, where the apparatus may be disposed in an electronic device, and as shown in fig. 13, the apparatus 1300 may include: a receiving unit 1310, a transmitting unit 1320, and a display unit 1330; wherein the content of the first and second substances,
in one possible implementation:
a receiving unit 1310, configured to receive an inquiry request sent by an associated device, where the inquiry request is used to inquire about the use state information of an electronic device, and the inquiry request is sent when the associated device receives a new message and determines that the associated device does not satisfy a message display condition;
a sending unit 1320, configured to send the use state information of the electronic device to the associated device as a query response;
a display unit 1330, configured to display a message if a message that needs to be displayed and is sent by an associated device is received; the message is sent when the associated device selects the electronic device as the message display device based on the usage information of the electronic device.
In another possible implementation:
a receiving unit 1310, configured to receive a query request sent by an associated device, where the query request is used to query whether an electronic device meets a message display condition, and the query request is sent when the associated device receives a new message and determines that the associated device does not meet the message display condition;
a sending unit 1320, configured to determine whether the electronic device satisfies a message display condition, and send a determination result to the associated device as a query response;
a display unit 1330, configured to display a message if a message that needs to be displayed and is sent by an associated device is received; and the message is sent when the associated equipment selects the electronic equipment as the message display equipment according to the judgment result of the electronic equipment.
Optionally, the sending unit 1320 may specifically be configured to:
judging whether the electronic equipment is used or not, and judging whether the electronic equipment detects a user which does not pass identity authentication or not;
if the electronic equipment is judged to be used and the electronic equipment does not detect the user which does not pass the identity authentication, judging that the use state of the electronic equipment meets the message display condition;
otherwise, judging that the using state of the electronic equipment does not meet the message display condition.
The embodiments shown in fig. 12 to 13 provide apparatuses for implementing the technical solutions of the method embodiments shown in fig. 3A to 11 of the present application, and the implementation principles and technical effects thereof can be further referred to the related descriptions in the method embodiments.
It should be understood that the above division of the units of the apparatuses shown in fig. 12 to 13 is only a division of logical functions, and the actual implementation may be wholly or partially integrated into one physical entity or may be physically separated. And these units can be implemented entirely in software, invoked by a processing element; or can be implemented in the form of hardware; part of the units can also be realized in the form of software called by a processing element, and part of the units can be realized in the form of hardware. For example, the obtaining unit may be a processing element separately set up, or may be implemented by being integrated in a certain chip of the electronic device. The other units are implemented similarly. In addition, all or part of the units can be integrated together or can be independently realized. In implementation, the steps of the method or the units above may be implemented by hardware integrated logic circuits in a processor element or instructions in software.
An embodiment of the present application further provides an electronic device, including: a display screen; one or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, the one or more computer programs comprising instructions which, when executed by the apparatus, cause the apparatus to perform the methods illustrated in fig. 3A-11.
An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, and when the computer program runs on a computer, the computer is caused to execute the method provided by the embodiment shown in fig. 3A to fig. 11 of the present application.
Embodiments of the present application further provide a computer program product, which includes a computer program and when the computer program runs on a computer, the computer is caused to execute the method provided by the embodiments shown in fig. 3A to fig. 11 of the present application.
In the embodiments of the present application, "at least one" means one or more, and "a plurality" means two or more. "and/or" describes the association relationship of the associated objects, and indicates that three relationships may exist, for example, a and/or B, and may indicate that a exists alone, a and B exist simultaneously, and B exists alone. Wherein A and B can be singular or plural. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "at least one of the following" and similar expressions refer to any combination of these items, including any combination of singular or plural items. For example, at least one of a, b, and c may represent: a, b, c, a and b, a and c, b and c or a and b and c, wherein a, b and c can be single or multiple.
Those of ordinary skill in the art will appreciate that the various elements and algorithm steps described in connection with the embodiments disclosed herein can be implemented as electronic hardware, computer software, or combinations of electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, any function, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: a U disk, a portable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other media capable of storing program codes.
The above description is only for the specific embodiments of the present application, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present disclosure, and all the changes or substitutions should be covered by the protection scope of the present application. The protection scope of the present application shall be subject to the protection scope of the claims.

Claims (14)

1. A message display method is applied to electronic equipment and is characterized in that a message protection function in the electronic equipment is started, and identity authentication information required by the message protection function is set in the electronic equipment; the method comprises the following steps:
receiving a new message;
judging whether the use state information of the electronic equipment meets a message display condition or not;
if the message display condition is met, displaying the message on the electronic equipment;
if the message display condition is not met, searching the associated equipment of which the use state information meets the message display condition from the associated equipment of the electronic equipment; the condition that the use state information of the associated equipment meets the message display condition comprises the following steps: the associated device is being used and the associated device does not detect a user that fails identity authentication for message protection;
if the associated equipment with the use state information meeting the message display condition is found, selecting at least one associated equipment from the found associated equipment as message display equipment, and sending the message to the message display equipment so that the message display equipment can display the message;
the judging whether the use state information of the electronic equipment meets the message display condition comprises the following steps:
determining whether the electronic device is being used and whether the electronic device detects a user that has not been authenticated;
if the electronic equipment is judged to be used and the electronic equipment does not detect the user which does not pass the identity authentication, judging that the use state of the electronic equipment meets a message display condition;
otherwise, judging that the use state of the electronic equipment does not meet the message display condition.
2. The method according to claim 1, wherein the searching for the associated device with the usage status information meeting the message display condition from the associated devices of the electronic device comprises:
acquiring the use state information of the associated equipment from the associated equipment of the electronic equipment, and respectively judging whether the use state information of the associated equipment meets the message display condition; alternatively, the first and second electrodes may be,
and obtaining a judgment result of whether the use state information of the associated equipment meets the message display condition from the associated equipment of the electronic equipment, and searching the associated equipment with the judgment result of meeting the message display condition.
3. The method according to claim 2, wherein the selecting at least one associated device from the found associated devices as a message display device comprises:
and if at least 2 found associated devices exist, determining the priority among the found associated devices, and selecting a first number of associated devices as the message display device from high to low according to the priority.
4. The method of claim 1 or 2, further comprising:
if the associated equipment meeting the message display condition is not found, adding the message into a to-be-prompted list of the electronic equipment, and re-executing the step of judging whether the use state information of the electronic equipment meets the message display condition when the preset retry condition is met until the use state information of the electronic equipment meets the message display condition, displaying the message, or sending the message to the message display equipment for displaying.
5. The method according to claim 1 or 2, wherein before determining whether the usage status information of the electronic device satisfies the message display condition, the method further comprises:
determining an application to which the received message belongs;
and judging that the application opens the message protection.
6. A message display method is suitable for associated equipment, and is characterized by comprising the following steps:
receiving an inquiry request sent by electronic equipment, wherein the electronic equipment is used for executing the message display method of any one of claims 1 to 5, the inquiry request is used for inquiring the use state information of the associated equipment, and the inquiry request is sent when the electronic equipment receives a new message and judges that the electronic equipment does not meet the message display condition;
sending the use state information of the associated equipment to the electronic equipment as a query response;
if a message which needs to be displayed and is sent by the electronic equipment is received, displaying the message; and the message is sent when the electronic equipment judges that the use state information of the associated equipment meets the message display condition and selects the associated equipment as message display equipment.
7. A message display method is suitable for associated equipment, and is characterized by comprising the following steps:
receiving an inquiry request sent by electronic equipment, wherein the electronic equipment is used for executing the message display method of any one of claims 1 to 5, the inquiry request is used for inquiring whether the associated equipment meets the message display condition, and the inquiry request is sent when the electronic equipment receives a new message and judges that the electronic equipment does not meet the message display condition;
judging whether the associated equipment meets the message display condition or not, and sending the judgment result to the electronic equipment as a query response;
if a message which is sent by the electronic equipment and needs to be displayed is received, displaying the message; and the message is sent when the electronic equipment selects the electronic equipment as message display equipment according to the judgment result of the associated equipment.
8. The method of claim 7, wherein the determining whether the associated device satisfies a message display condition comprises:
judging whether the associated equipment is used or not, and judging whether the associated equipment detects a user which does not pass identity authentication or not;
if the associated equipment is judged to be used and the associated equipment is judged not to detect the user which does not pass the identity authentication, judging that the use state of the associated equipment meets the message display condition;
otherwise, judging that the use state of the associated equipment does not meet the message display condition.
9. An electronic device, comprising:
a display screen; one or more processors; a memory; and one or more programs, wherein the one or more programs are stored in the memory, the one or more programs comprising instructions, which when executed by the processor, cause the electronic device to perform the method of any of claims 1-5.
10. An association device, comprising:
a display screen; one or more processors; a memory; and one or more programs, wherein the one or more programs are stored in the memory, the one or more programs comprising instructions, which when executed by the processor, cause the associated device to perform the method of claim 6.
11. An association device, comprising:
a display screen; one or more processors; a memory; and one or more programs, wherein the one or more programs are stored in the memory, the one or more programs comprising instructions, which when executed by the processor, cause the associated device to perform the method of claim 7 or 8.
12. A readable storage medium, having stored therein a program which, when run on an electronic device, causes the electronic device to execute the method of any one of claims 1 to 5.
13. A readable storage medium, in which a program is stored which, when run on an associated device, causes the associated device to carry out the method according to claim 6.
14. A readable storage medium, in which a program is stored which, when run on an associated device, causes the associated device to carry out the method according to claim 7 or 8.
CN202010635467.9A 2020-07-03 2020-07-03 Message display method and electronic equipment Active CN114095599B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010635467.9A CN114095599B (en) 2020-07-03 2020-07-03 Message display method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010635467.9A CN114095599B (en) 2020-07-03 2020-07-03 Message display method and electronic equipment

Publications (2)

Publication Number Publication Date
CN114095599A CN114095599A (en) 2022-02-25
CN114095599B true CN114095599B (en) 2023-03-03

Family

ID=80294784

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010635467.9A Active CN114095599B (en) 2020-07-03 2020-07-03 Message display method and electronic equipment

Country Status (1)

Country Link
CN (1) CN114095599B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116033064B (en) * 2022-05-30 2023-10-20 荣耀终端有限公司 Card display method, electronic device and readable storage medium
CN116095224B (en) * 2022-08-31 2023-10-31 荣耀终端有限公司 Notification display method and terminal device
CN115202528A (en) * 2022-09-16 2022-10-18 潍坊学院 Message management method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103973786A (en) * 2014-05-07 2014-08-06 惠州Tcl移动通信有限公司 Synchronization method for notification messages of electronic device and electronic device
CN104184698A (en) * 2013-05-21 2014-12-03 中国电信股份有限公司 Over-screen control equipment binding method and gateway
CN105204605A (en) * 2014-06-09 2015-12-30 联想(北京)有限公司 Information processing method, first electronic equipment and second electronic equipment

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5985462B2 (en) * 2013-12-24 2016-09-06 シャープ株式会社 Image processing apparatus and remote control system for image processing apparatus

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104184698A (en) * 2013-05-21 2014-12-03 中国电信股份有限公司 Over-screen control equipment binding method and gateway
CN103973786A (en) * 2014-05-07 2014-08-06 惠州Tcl移动通信有限公司 Synchronization method for notification messages of electronic device and electronic device
CN105204605A (en) * 2014-06-09 2015-12-30 联想(北京)有限公司 Information processing method, first electronic equipment and second electronic equipment

Also Published As

Publication number Publication date
CN114095599A (en) 2022-02-25

Similar Documents

Publication Publication Date Title
CN113542839B (en) Screen projection method of electronic equipment and electronic equipment
CN111316199B (en) Information processing method and electronic equipment
EP3859576A1 (en) Application permission management method and electronic device
CN113722058B (en) Resource calling method and electronic equipment
CN114095599B (en) Message display method and electronic equipment
CN111602108B (en) Application icon display method and terminal
CN114125130B (en) Method for controlling communication service state, terminal device and readable storage medium
CN113254409A (en) File sharing method, system and related equipment
CN113778641B (en) Method for controlling camera, electronic device and computer readable storage medium
CN112543447A (en) Device discovery method based on address list, audio and video communication method and electronic device
CN113821767A (en) Application program authority management method and device and electronic equipment
CN114466107A (en) Sound effect control method and device, electronic equipment and computer readable storage medium
CN113141483B (en) Screen sharing method based on video call and mobile device
CN114222020B (en) Position relation identification method and device and readable storage medium
CN114817939A (en) Authority control method and electronic equipment
CN114995715B (en) Control method of floating ball and related device
CN113438366A (en) Information notification interaction method, electronic device and storage medium
US20240098354A1 (en) Connection establishment method and electronic device
CN113950045B (en) Subscription data downloading method and electronic equipment
WO2021147483A1 (en) Data sharing method and apparatus
CN114254334A (en) Data processing method, device, equipment and storage medium
CN115022807A (en) Express delivery information reminding method and electronic equipment
CN114765768A (en) Network selection method and equipment
CN110737916A (en) Communication terminal and processing method
CN114490006A (en) Task determination method, device, equipment and storage medium

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