CN115250261A - Information display method and electronic equipment - Google Patents

Information display method and electronic equipment Download PDF

Info

Publication number
CN115250261A
CN115250261A CN202110450537.8A CN202110450537A CN115250261A CN 115250261 A CN115250261 A CN 115250261A CN 202110450537 A CN202110450537 A CN 202110450537A CN 115250261 A CN115250261 A CN 115250261A
Authority
CN
China
Prior art keywords
electronic device
application
message
control
display
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110450537.8A
Other languages
Chinese (zh)
Other versions
CN115250261B (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 CN202110450537.8A priority Critical patent/CN115250261B/en
Publication of CN115250261A publication Critical patent/CN115250261A/en
Application granted granted Critical
Publication of CN115250261B publication Critical patent/CN115250261B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Telephone Function (AREA)

Abstract

The embodiment of the application provides an information display method and electronic equipment, relates to the technical field of electronic equipment, and can avoid the omission of prompt information by a user. The specific scheme comprises the following steps: the first electronic device may receive a first message from the second electronic device, the first message including hint information generated by a first application, the first application being any application program in the second electronic device. The first electronic device may then display a first control on the first interface, where the content displayed in the first control includes the prompt information, and the first interface includes the display content provided by the first electronic device.

Description

Information display method and electronic equipment
Technical Field
The embodiment of the application relates to the technical field of electronic equipment, in particular to an information display method and electronic equipment.
Background
With the development of science and technology, the types (such as mobile phones, tablet computers, notebook computers, smart televisions, and the like) and the number of electronic devices are increasing. A user may need to hold and use a plurality of electronic devices to meet the needs of daily life and work. However, each electronic device can only display the prompt information issued by the application installed in the respective electronic device. When a user uses a plurality of electronic devices, the prompt information of a certain electronic device may be missed by the user.
At present, in order to enable one electronic device (hereinafter, referred to as a slave device) to display prompt information issued by an application program in another electronic device (hereinafter, referred to as a source device), the source device may project display content in the source device to the slave device in a mirror image manner, so that the slave device displays the display content of the source device. In this way, when the source device displays the hint information, the slave device can also display the hint information in the source device.
However, in the above solution, after the source device projects the display content in the source device to the slave device, the slave device cannot display the display content of the slave device itself (for example, the prompt information sent from the application program in the device), and the user may still miss the prompt information.
Disclosure of Invention
The application provides an information display method and electronic equipment, which can avoid the omission of prompt information by a user.
In a first aspect, the present application provides a method for displaying information, which may be applied to a first electronic device.
In the method, a first electronic device may receive a first message from a second electronic device, where the first message includes a prompt generated by a first application, and the first application is any application program in the second electronic device. The first electronic device may then display a first control on the first interface, where the content displayed in the first control includes the prompt information, and the first interface includes the display content provided by the first electronic device.
That is to say, when the first electronic device displays the prompt message of the second electronic device, the display content provided by the first electronic device itself can still be displayed. For example, the display content provided by the first electronic device itself may include prompt information for an application in the first electronic device. Therefore, in the embodiment of the application, the first electronic device can simultaneously display the prompt information of the first electronic device and the prompt information of the second electronic device, so that the user can simultaneously view the prompt information of the second electronic device and the first electronic device when using the first electronic device, the omission of the prompt information is avoided, and the use experience of the user is improved.
With reference to the first aspect, in one possible design manner, the first message further includes: an application identification of the first application, and/or a device identification of the second electronic device. The content displayed in the first control further includes: an application identification of the first application, and/or a device identification of the second electronic device.
That is, when the first message further includes an application identification of the first application, the first electronic device may further display the application identification of the first application in the first control. When the first message further includes a device identification of the second electronic device, the first electronic device may further display the device identification of the second electronic device in the first control. When the first message further includes an application identification of the first application and a device identification of the second electronic device, the first electronic device may further display the application identification of the first application and the device identification of the second electronic device in the first control.
It can be understood that the first electronic device may display the prompt information and the application identifier of the first application on the first interface, so that the user may know the application which sent the prompt information. Therefore, the user can make corresponding operation according to the application scene of the application program, and the use experience of the user is improved. Illustratively, suppose the social application a is an application for office. The first electronic device displays prompt information sent by the social application A, and the prompt information is higher in importance. Therefore, the user can check and process the information in time, the user can process important events in time, and the use experience of the user is improved.
With reference to the first aspect, in another possible design manner, the first control is specifically: a notification message control, a notification bar control, or a pop-up control.
It can be understood that the first electronic device displays the prompt information from the second electronic device through the notification message control, the notification bar control or the pop-up box control, so that the display mode of the prompt information of the second electronic device on the first electronic device is increased, and the use experience of a user is improved.
With reference to the first aspect, in another possible design manner, the first message further includes a target control identifier, the target control identifier corresponds to the target control, and the target control is a notification message control, a notification bar control, or a pop-up box control. The above "the first electronic device may display the first control on the first interface", including: the first electronic device may determine that the target control identifies a corresponding target control. The first electronic device may display a target control on the first interface.
The first electronic device may store a plurality of control identifications and a display control corresponding to each control identification, and the target control identification is any one of the plurality of control identifications. Therefore, the first electronic device determines the target control corresponding to the target control identification according to the corresponding relation between the control identification and the display control.
It can be understood that, in the above-described scheme, the first electronic device can display the prompt information in the display method specified by the second electronic device by receiving the display mode from the second electronic device. When the second electronic device displays the prompt information through the target control, the first electronic device can display the prompt information in a display mode of the prompt information in the second electronic device. Therefore, the use habits of the user can be fitted, and the user experience is improved.
With reference to the first aspect, in another possible design manner, the first message may further include at least one preset option, and each preset option in the at least one preset option corresponds to an operation instruction acting on the prompt message. The content displayed in the first control may further include the at least one preset option.
The first electronic device can receive a first operation on a target option, wherein the target option is any one of at least one preset option. After that, in response to the first operation on the target option, the first electronic device may send a second message to the second electronic device, where the second message is used to instruct the second electronic device to execute an operation instruction corresponding to the target option through the first application.
It can be understood that, based on the above scheme, the first electronic device may feed back the received operation instruction to the second electronic device, and the second electronic device executes the corresponding operation instruction through the first application. That is, the prompt information does not need to be operated correspondingly through the second electronic device. Therefore, the steps for operating the electronic equipment can be simplified, the operation efficiency is improved, and the use experience of a user is improved.
With reference to the first aspect, in another possible design manner, the first electronic device may receive the second operation, and generate a first instruction, where the first instruction is used to instruct to cancel displaying the target control. In response to the second operation, the first electronic device may cancel displaying the target control. Thereafter, the first electronic device may send the first instruction to the second electronic device.
That is, after the user inputs the second operation to the first electronic device, both the first electronic device and the second electronic device may cancel displaying the target control. Therefore, the target control is prevented from influencing the use experience of the first electronic equipment, the second electronic equipment cancels the display of the target control, the power consumption of the second electronic equipment is reduced, the use duration of the second electronic equipment is prolonged, and the use experience of a user is improved.
With reference to the first aspect, in another possible design manner, after the first electronic device cancels the preset duration after the target control is displayed, the first electronic device may obtain the prompt information. Thereafter, the first electronic device may display the target control at the first interface.
It should be noted that the first electronic device may obtain the prompt information in the following two ways.
In a first mode, after the first electronic device receives the first message from the second electronic device, the first electronic device may store the first message. After the preset duration after the first electronic device cancels the display of the first control, the first electronic device may obtain the first message stored in the first electronic device.
In a second mode, after the first electronic device cancels the preset time length after the first control is displayed, the second electronic device may resend the first message to the first electronic device. Thereafter, the first electronic device may receive a first message from the second electronic device.
It can be understood that, after the first electronic device cancels the display of the target control, that is, after the first electronic device does not display the prompt message, the first electronic device may redisplay the prompt message after a preset time period. Therefore, the user can be reminded to process the prompt message, the user is prevented from omitting the prompt message, and the use experience of the user is improved.
In a second aspect, the present application provides a method for displaying information, which may be applied to a second electronic device including a first application.
In the method, the second electronic device may send a first message to the first electronic device when acquiring the prompt information of the first application, where the first message includes: the system comprises prompt information and at least one preset option, wherein each preset option in the at least one preset option corresponds to an operation instruction acting on the prompt information. Then, the second electronic device may receive a second message from the first electronic device, where the second message is used to instruct the second electronic device to execute an operation instruction corresponding to a target option through the first application, and the target option is any one of the at least one preset option. Then, the second electronic device can execute the operation instruction corresponding to the target option through the first application.
Based on the technical scheme, the second electronic device can send the prompt message and the at least one preset option to the first electronic device, and execute the operation instruction from the first electronic device. That is to say, the first electronic device may feed back the received operation instruction to the second electronic device, and the second electronic device executes the corresponding operation instruction through the first application. The prompt information does not need to be operated correspondingly through the second electronic equipment. Therefore, the steps of operating the electronic equipment can be simplified, the operation efficiency is improved, and the use experience of a user is improved.
Illustratively, suppose that the first electronic device displays the prompt message and the function options generated by the shopping application B in the second electronic device through a pop-up box. The prompt message may be "ask for an update? ", the function options may include a" yes "button for indicating agreement to update shopping application B and a" no "button for indicating disagreement with updating shopping application B. In case that the user inputs a selection operation at the "yes" button, the first electronic device may transmit an operation instruction indicating agreement to update the shopping application B and an application identification of the shopping application B to the second electronic device in response to the selection operation of the user acting on the "yes" button. Thereafter, the second electronic device can receive the operation instruction and the application identification from the first electronic device 102, and update the application through the shopping application B.
With reference to the first aspect, in a possible design manner, the first message further includes: an application identification of the first application, and/or a device identification of the second electronic device.
That is, the second electronic device may also send the application identification of the first application, and/or the device identification of the second electronic device, to the first electronic device. Therefore, the first electronic device can display the prompt message and the application identifier of the first application, so that the user can know the application sending the prompt message. Therefore, the user can perform corresponding operation according to the application scene of the application program, and the use experience of the user is improved.
With reference to the first aspect, in another possible design manner, the first message further includes a target control identifier, the target control identifier corresponds to the target control, and the target control is a notification message control, a notification bar control, or a pop-up box control. The second electronic device may display a target control, where the content displayed in the target control includes: the prompt message, and the application identifier of the first application, and/or the device identifier of the second electronic device.
That is to say, the second electronic device may not only send the first message to the first electronic device, but also cause the first electronic device to display the content such as the prompt message. The second electronic device itself may also display a target control containing content such as a prompt. Therefore, the first electronic equipment and the second electronic equipment can display the prompt information, and the probability of missing the prompt information is reduced.
With reference to the first aspect, in another possible design manner, the second electronic device may receive a first instruction from the first electronic device, where the first instruction is used to instruct to cancel displaying the target control. Thereafter, the second electronic device can cancel displaying the target control.
It is understood that the second electronic device may execute the operation instructions of the first electronic device. Therefore, the second electronic device can cancel the display of the target control, the power consumption of the second electronic device is reduced, the service life of the second electronic device is prolonged, and the use experience of a user is improved.
In a third aspect, the present application provides an electronic device, which is a first electronic device, comprising: a memory, a display screen, and one or more processors; the memory, the display screen and the processor are coupled, the memory being adapted to store computer program code comprising computer instructions which, when executed by the processor, cause the electronic device to perform the method according to the first aspect and any of its possible designs.
In a fourth aspect, the present application provides an electronic device, which is a second electronic device, comprising: a memory, a display screen, and one or more processors; the memory, the display screen and the processor are coupled, the memory is used for storing computer program code, the computer program code comprises computer instructions, which when executed by the processor cause the electronic device to perform the method according to the second aspect and any possible design thereof.
In a fifth aspect, the present application provides a chip system, which is applied to an electronic device. The system-on-chip includes one or more interface circuits and one or more processors. The interface circuit and the processor are interconnected by a line. The interface circuit is configured to receive a signal from a memory of the electronic device and to transmit the signal to the processor, the signal including computer instructions stored in the memory. When executed by a processor, the computer instructions cause an electronic device to perform the method according to the first or second aspect and any of its possible designs.
In a sixth aspect, the present application provides a computer storage medium comprising computer instructions which, when run on an electronic device, cause the electronic device to perform the method according to the first aspect or the second aspect and any possible design thereof.
In a seventh aspect, the present application provides a computer program product for, when running on a computer, causing the computer to perform the method according to the first or second aspect and any possible design thereof.
It should be understood that, for the electronic device according to the third aspect and any possible design manner thereof, the electronic device according to the fourth aspect and any possible design manner thereof, the chip system according to the fifth aspect, the computer storage medium according to the sixth aspect, and the beneficial effects that can be achieved by the computer program product according to the seventh aspect, reference may be made to the beneficial effects in the first aspect or the second aspect and any possible design manner thereof, and no further description is provided herein.
Drawings
Fig. 1 is a diagram of an example of a display interface of an electronic device according to an embodiment of the present disclosure;
fig. 2A is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present disclosure;
fig. 2B is a schematic diagram of a software structure of an electronic device according to an embodiment of the present disclosure;
fig. 2C is a schematic diagram of a software structure of another electronic device according to an embodiment of the present application;
fig. 3A is a diagram of an example of a display interface of another electronic device according to an embodiment of the present disclosure;
fig. 3B is a schematic diagram of a software structure of another electronic device according to an embodiment of the present application;
fig. 4A is a diagram of an example of a display interface of another electronic device according to an embodiment of the present application;
fig. 4B is a diagram of an example of a display interface of another electronic device according to an embodiment of the present application;
fig. 5 is a diagram of an example of a display interface of another electronic device according to an embodiment of the present disclosure;
fig. 6A is a diagram of an example of a display interface of another electronic device according to an embodiment of the present disclosure;
fig. 6B is a diagram of an example of a display interface of another electronic device according to an embodiment of the present application;
fig. 7A is a diagram of an example of a display interface of another electronic device according to an embodiment of the present application;
fig. 7B is a diagram of another example of a display interface of an electronic device according to an embodiment of the present application;
fig. 7C is a diagram of another example of a display interface of an electronic device according to an embodiment of the present application;
fig. 8A is a schematic diagram of a software structure of another electronic device according to an embodiment of the present application;
fig. 8B is a diagram of another example of a display interface of an electronic device according to an embodiment of the present disclosure;
fig. 9A is a diagram of an example of a display interface of another electronic device according to an embodiment of the present application;
fig. 9B is a diagram of another example of a display interface of an electronic device according to an embodiment of the present application;
fig. 9C is a diagram of another example of a display interface of an electronic device according to an embodiment of the present application;
fig. 10 is a diagram of an example of a display interface of another electronic device according to an embodiment of the present application;
fig. 11A is a diagram of an example of a display interface of another electronic device according to an embodiment of the present application;
fig. 11B is a diagram of another example of a display interface of an electronic device according to an embodiment of the present application;
fig. 12 is a diagram of an example of a display interface of another electronic device according to an embodiment of the present application;
fig. 13A is a schematic flow chart of information transmission according to an embodiment of the present application;
fig. 13B is a schematic flowchart of another information transmission method according to an embodiment of the present application;
fig. 14 is a schematic structural component diagram of a chip system according to an embodiment of the present disclosure.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The "/" character in this application generally indicates that the former and latter associated objects are in an "or" relationship. For example, A/B may be understood as A or B.
The terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of the present embodiment, "a plurality" means two or more unless otherwise specified.
Furthermore, the terms "including" and "having," and any variations thereof, as referred to in the description of the present application, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to the listed steps or modules but may alternatively include other steps or modules not listed or inherent to such process, method, article, or apparatus.
In addition, in the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as examples, illustrations or explanations. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "e.g.," is intended to present concepts in a concrete fashion.
With the development of science and technology, the types (such as mobile phones, tablet computers, notebook computers, smart televisions, and the like) and the number of electronic devices are increasing. A user may need to hold and use a plurality of electronic devices to meet the needs of daily life and work. However, when a user uses a plurality of electronic devices, each electronic device can only display the prompt information of the respective electronic device, which may cause the user to miss the prompt information of any one of the plurality of electronic devices.
Currently, displaying the prompt information in the source device from the device can be realized by the conventional technology one and the conventional technology two.
In a conventional technology one, a source device may project display content in the source device to a slave device in a mirroring manner, so that the slave device displays the display content of the source device. In this way, when the source device displays the hint information, the slave device can also display the hint information in the source device.
However, when the source device projects a screen to the slave device, a display control of the slave device needs to be occupied separately, so that the slave device can only display the display content in the source device, and cannot display the prompt information of the application being executed by the slave device. Moreover, when the source device projects a screen to the slave device, the slave device needs to receive all display contents displayed by the source device, and the occupied transmission bandwidth is large and the power consumption is high.
In the second conventional technique, preset applications are installed in both the source device and the slave device, and the account numbers of the preset applications logged in the source device and the slave device are the same. When both the source device and the slave device log in the preset application, both the source device and the slave device can display prompt information of the preset application. However, in the conventional technology, the same preset application needs to be installed in both the slave device and the source device, and the account number for logging in the preset application is the same. If the preset application is not available in the slave device, or the account number for logging in the preset application is different from the account number for logging in the preset application in the source device, the slave device cannot display the prompt information of the preset application in the source device.
In summary, in the conventional technology, when the slave device does not install the same application program as the preset application in the source device, it cannot be guaranteed that the prompt information of the preset application in the source device can be displayed, and the display content of the slave device itself can be displayed.
Therefore, the embodiment of the application provides an information display method. The method may be applied to a slave device that may display a prompt message issued by a source device. In the method, the slave device can receive prompt information from an application in the source device and display the prompt information on a first interface displayed by the slave device. The first interface is an interface provided by a slave device to display content.
That is, the slave device can still display the display content provided by the slave device itself when displaying the prompt information of the source device. For example, the display content provided by the slave device itself may include reminder information for applications in the slave device. Therefore, in the embodiment of the application, the slave device can simultaneously display the prompt message of the slave device and the prompt message of the source device, so that the user can simultaneously check the prompt messages in the source device and the slave device when using the slave device, the omission of the prompt messages is avoided, and the use experience of the user is improved.
And, the slave device receives only the alert information from the source device. The data size of the prompt message of the source device is smaller than the data size of all the display contents displayed by the source device. Therefore, the slave device receives the prompt message from the source device, the occupied transmission bandwidth is small, and the power consumption is low. Therefore, the service life of the electronic equipment can be prolonged, and the use experience of a user is improved.
It should be noted that the applications (e.g., the first application and the second application) in the embodiment of the present application may be embedded applications installed in the electronic device (i.e., system applications of the electronic device) or downloadable applications. An embedded application is an application provided as part of an implementation of an electronic device, such as a mobile phone. A downloadable application, which may be an application preinstalled in the terminal or a third party application that may be downloaded by a user and installed in the terminal, is an application that may provide its own Internet Protocol Multimedia Subsystem (IMS) connection. The application may be, for example, an embedded application installed in the terminal (i.e., a system application of the terminal). For example, the first application may be a short message application, and the second application may be a telephone application. Also for example, the application may be a downloadable application. For example, the first application may be a social application and the second application may be a weather application.
Illustratively, suppose the first application is a telephony application. When the telephone application of the source equipment generates the prompt message, the interface displayed by the source equipment is a video playing interface, and the interface displayed by the slave equipment is an image viewing interface. For example, as shown in fig. 1, the electronic device shown in (a) in fig. 1 is a source device 101, and the electronic device shown in (b) in fig. 1 is a slave device 102. When the source device 101 generates the prompt message, the source device 101 may display a video playing interface 103, where the video playing interface 103 includes a video 104; slave device 102 may display image viewing interface 106, which includes image 107.
After receiving the alert information from the source device, the slave device may display the alert information. As shown in fig. 1, upon receiving alert information 105 from source device 101 from device 102, source device 101 may display a notification message 108 on the video playback interface, where notification message 108 includes alert information 105, e.g., where alert information 105 may include "missed call"; alternatively, the prompt 105 may also include "15:15 × missed calls ". Slave device 102 may display a notification message 109 at image viewing interface 106, where notification message 109 includes reminder information 105.
It should be noted that the electronic device in the embodiment of the present application may be a tablet computer, a mobile phone, a desktop computer, a laptop computer, a handheld computer, a notebook computer, an ultra-mobile personal computer (UMPC), a netbook, a cellular phone, a Personal Digital Assistant (PDA), an Augmented Reality (AR) \ Virtual Reality (VR) device, a vehicle-mounted device, and the like, and the embodiment of the present application does not particularly limit the specific form of the electronic device.
The main body of the execution of the information display method provided by the present application may be an information display device, and the execution device may be an electronic device shown in fig. 2A. Meanwhile, the execution device may also be a Central Processing Unit (CPU) of the electronic device, or a control module for displaying the prompt information in the electronic device. In the embodiment of the present application, a method for displaying information executed by an electronic device is taken as an example, and a method for displaying information provided in the embodiment of the present application is described.
Referring to fig. 2A, the electronic device provided in the present application is described herein by taking the electronic device as the mobile phone 200 shown in fig. 2A as an example. Therein, the cell phone 200 shown in fig. 2A is merely one example of an electronic device, and the cell phone 200 may have more or fewer components than shown in the figures, may combine two or more components, or may have a different configuration of components. The various components shown in fig. 2A may be implemented in hardware, software, or a combination of hardware and software, including one or more signal processing and/or application specific integrated circuits.
As shown in fig. 2A, the handset 200 may include: the mobile terminal includes a processor 210, an external memory interface 220, an internal memory 221, a Universal Serial Bus (USB) interface 230, a charging management module 240, a power management module 241, a battery 242, an antenna 1, an antenna 2, a mobile communication module 250, a wireless communication module 260, an audio module 270, a speaker 270A, a receiver 270B, a microphone 270C, an earphone interface 270D, a sensor module 280, a button 290, a motor 291, an indicator 292, a camera 293, a display 294, and a Subscriber Identity Module (SIM) card interface 295.
The sensor module 280 may include a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
It is to be understood that the structure illustrated in the present embodiment does not specifically limit the mobile phone 200. In other embodiments, handset 200 may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 210 may include one or more processing units, such as: the processor 210 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller may be the neural center and command center of the cell phone 200. The controller can generate an operation control signal according to the instruction operation code and the timing signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in processor 210 for storing instructions and data. In some embodiments, the memory in the processor 210 is a cache memory. The memory may hold instructions or data that have just been used or recycled by processor 210. If the processor 210 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 210, thereby increasing the efficiency of the system.
In some embodiments, processor 210 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.
It should be understood that the connection relationship between the modules illustrated in this embodiment is only an exemplary illustration, and does not constitute a limitation to the structure of the mobile phone 200. In other embodiments, the mobile phone 200 may also adopt different interface connection manners or a combination of multiple interface connection manners in the above embodiments.
The charge management module 240 is configured to receive a charging input from a charger. The charger may be a wireless charger or a wired charger. The charging management module 240 may also supply power to the electronic device through the power management module 241 while charging the battery 242.
The power management module 241 is used to connect the battery 242, the charging management module 240 and the processor 210. The power management module 241 receives input from the battery 242 and/or the charging management module 240, and provides power to the processor 210, the internal memory 221, the external memory, the display 294, the camera 293, and the wireless communication module 260. In some embodiments, the power management module 241 and the charging management module 240 may also be disposed in the same device.
The wireless communication function of the mobile phone 200 can be implemented by the antenna 1, the antenna 2, the mobile communication module 250, the wireless communication module 260, the modem processor, the baseband processor, and the like. In some embodiments, antenna 1 of handset 200 is coupled to mobile communication module 250 and antenna 2 is coupled to wireless communication module 260, such that handset 200 may communicate with networks and other devices via wireless communication techniques. For example, in the embodiment of the present application, the mobile phone 200 may send the first message to other devices through a wireless communication technology.
The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the handset 200 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 250 may provide a solution including 2G/3G/4G/5G wireless communication applied to the handset 200. The mobile communication module 250 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 250 can 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 250 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 250 may be disposed in the processor 210. In some embodiments, at least some of the functional modules of the mobile communication module 250 may be disposed in the same device as at least some of the modules of the processor 210.
The wireless communication module 260 may provide solutions for wireless communication applied to the mobile phone 200, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity, wi-Fi) networks), bluetooth (BT), global Navigation Satellite System (GNSS), frequency Modulation (FM), near Field Communication (NFC), infrared (IR), and the like. For example, in the embodiment of the present application, the mobile phone 200 may access a Wi-Fi network through the wireless communication module 260.
The wireless communication module 260 may be one or more devices integrating at least one communication processing module. The wireless communication module 260 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 210. The wireless communication module 260 may also receive a signal to be transmitted from the processor 210, frequency-modulate and amplify the signal, and convert the signal into electromagnetic waves via the antenna 2 to radiate the electromagnetic waves.
The mobile phone 200 implements the display function through the GPU, the display screen 294, and the application processor. The GPU is a microprocessor for image processing, and is connected to the display screen 294 and an application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 210 may include one or more GPUs that execute program instructions to generate or alter display information.
The display screen 294 is used to display images, video, and the like. The display screen 294 includes a display panel. For example, in this embodiment, the display screen 294 may be used to display the first interface, such as an equipment sharing interface, an equipment searching interface, a two-dimensional code scanning interface, and the like.
The mobile phone 200 may implement a shooting function through the ISP, the camera 293, the video codec, the GPU, the display screen 294, and the application processor. The ISP is used to process the data fed back by the camera 293. The camera 293 is used to capture still images or video. In some embodiments, cell phone 200 may include 1 or N cameras 293, N being a positive integer greater than 1.
The external memory interface 220 may be used to connect an external memory card, such as a Micro SD card, to extend the storage capability of the mobile phone 200. The external memory card communicates with the processor 210 through the external memory interface 220 to implement a data storage function. For example, files such as music, video, etc. are saved in the external memory card.
Internal memory 221 may be used to store computer-executable program code, including instructions. The processor 210 executes various functional applications and data processing of the cellular phone 200 by executing instructions stored in the internal memory 221. For example, in the present embodiment, the processor 210 may execute instructions stored in the internal memory 221, and the internal memory 221 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 data storage area may store data (such as audio data, a phone book, etc.) created during use of the mobile phone 200, and the like. In addition, the internal memory 221 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 mobile phone 200 can implement an audio function through the audio module 270, the speaker 270A, the receiver 270B, the microphone 270C, the earphone interface 270D, and the application processor. Such as music playing, recording, etc.
The keys 290 include a power-on key, a volume key, etc. The keys 290 may be mechanical keys. Or may be touch keys. The motor 291 may generate a vibration cue. The motor 291 can be used for both incoming call vibration prompting and touch vibration feedback. Indicator 292 may be an indicator light that may be used to indicate a state of charge, a change in charge, or may be used to indicate a message, missed call, notification, etc. The SIM card interface 295 is used to connect a SIM card. The SIM card can be connected to or disconnected from the mobile phone 200 by being inserted into or pulled out of the SIM card interface 295. The handset 200 can support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 295 may support a Nano SIM card, a Micro SIM card, a SIM card, etc.
Although not shown in fig. 2A, the mobile phone 200 may also be a flash, a micro-projector, a Near Field Communication (NFC) device, etc., and will not be described herein.
After the description of the hardware structure of the electronic device, the system architecture of the electronic device provided in the present application is described by taking the electronic device as a mobile phone 200 as an example. The system architecture of the mobile phone 200 may be a layered architecture, an event-driven architecture, a micro-core architecture, a micro-service architecture, or a cloud architecture. The embodiment of the invention adopts a layered architecture
Figure BDA0003038482770000091
The system is an example of a software structure of the handset 200.
Fig. 2B is a block diagram of a software structure of a mobile phone 200 according to an 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. 2B, the application package may include camera, gallery, calendar, 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. 2B, the application framework layer may include a windows manager, a content provider, a view system, a telephony manager, a resource manager, a notification manager, a cross-device interaction system, and the like.
Wherein, the window manager is used for managing the window program. 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.
Content providers are used to store and retrieve data and make it accessible to applications. The data may include video, images, audio, calls made and answered, 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 the communication functions of the handset 200. 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 brief 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 cross-device interaction system is used for completing information interaction between devices. The cross-device interactive system may provide a registration interface and a deregistration interface for applications at the application layer. When the mobile phone 200 is a source device, the application program may call the registration interface to send the prompt message to another electronic device (e.g., a slave device). For example, a system application in the source device generates the reminder information, which the system application may call the registration interface to send to the slave device. When the mobile phone 200 is a slave device, the registration interface is used to receive prompt information sent from other electronic devices (e.g., a source device). The logout interface is used to disable the ability of the handset 200 to interact with other electronic devices for prompting messages. Moreover, when the mobile phone 200 is a source device, the cross-device interactive system may acquire an operation instruction input by a user from the device, and feed back the operation instruction to the application program through the callback interface. For example, the prompt information displayed from the device is "whether to approve updating the application". In response to the user input of the consent update operation, the slave device may transmit a consent update instruction to the source device. Thereafter, the source device may receive the consent update instruction and feed back the consent update instruction to the application.
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 fusion of 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, etc.
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.
A Hardware Abstraction Layer (HAL), which is an interface Layer between the operating system kernel and the Hardware circuitry, is intended to abstract the Hardware. It hides the hardware interface details of specific platform, provides virtual hardware platform for operation system, makes it have hardware independence, and can be transplanted on several platforms. For example, in the embodiment of the present application, WI-FI, bluetooth, camera, etc. are included.
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.
The following describes an exemplary process of displaying the hint information of the source device from the slave device, with reference to fig. 1, which is a scenario in which an application of the source device generates the hint information and the source device displays the hint information from the slave device, and a software structure block diagram shown in fig. 2B.
As shown in fig. 2C, the conversation application of the source device may send the alert information to the slave device through the cross-device interaction system. The slave device may receive the reminder information from the source device through the cross-device interaction system. The slave device may then display the reminder information via the notification manager.
The methods in the following embodiments may be implemented in an electronic device having the above hardware structure and the above system architecture. In the following embodiments, the method of the present application is described by taking a mobile phone (for example, the mobile phone 200) as an example of both the source device and the slave device.
Before the display method of the information provided by the embodiment of the application is executed, the source device and the slave device can be in wireless connection. Illustratively, the source device and the slave device may turn on wireless communication functionality (e.g., wiFi or bluetooth functionality). Thereafter, the source device may establish a wireless connection with the slave device through the wireless communication function. For example, after the source device turns on the bluetooth function, it may search for electronic devices around the source device that turn on the bluetooth function. As shown in fig. 3A, after the source device receives an operation of turning on the bluetooth function, the source device may search an interface 301 from the device, where the interface 301 includes a plurality of available devices, such as a mobile phone a, a smart watch B, a laptop computer C, and a smart television D, which are searched by the source device. The user may then select one electronic device (e.g., cell phone a) from the plurality of available devices as a slave device. That is, handset a may receive the alert message from the source device (see fig. 2C), and display the alert message. Alternatively, the user may select a plurality of electronic devices (e.g., cell phone a, smart watch B, and smart television D) from a plurality of available devices as the slave devices. That is, the mobile phone a, the smart watch B, and the smart television D may each receive the alert information from the source device (as shown in fig. 3B in conjunction with fig. 2C), and display the alert information.
It should be noted that the "mobile phone a", the smart watch B "," the notebook computer C ", and the" smart television D "may be identifiers of devices, account identification numbers (IDs) of users, and remarks of the devices (for example," zhang san "," lie ye ", and the like), which is not limited in this embodiment of the present application.
In an embodiment of the present application, after an application (e.g., a first application) in a source device generates hint information, the source device may send a first message to a slave device, where the first message includes hint information of the first application. Thereafter, the slave device may receive a first message from the source device. Illustratively, after the first application of the source device generates the reminder information, the source device may send a first message to the slave device via bluetooth. Thereafter, the slave device may receive a first message from the source device.
It should be noted that, after the first application of the source device generates the prompt information, the source device may display the prompt information or may not display the prompt information, which is not limited in this embodiment of the application.
In one possible design, the source device may not display the reminder after the first application of the source device generates the reminder. Illustratively, as shown in fig. 1 (a), after the phone application of the source device 101 generates the prompt message, the video playing interface 103 displayed by the source device 101 includes the video 104 and does not include the prompt message 105.
In another possible design, the source device may display the reminder after the first application of the source device generates the reminder. For example, the source device may display the hint information at a notification message control (hereinafter may be referred to simply as a notification message), a notification bar control (hereinafter may be referred to simply as a notification bar), or a pop-up control (hereinafter may be referred to simply as a pop-up). For example, as shown in fig. 1 (a), after the phone application of the source device generates the reminder information, the source device may display the reminder information 105 at the notification message 108. In general, in order to avoid the user missing the hint information, the hint information is also displayed by the source device after the first application of the source device generates the hint information.
The slave device may then display a first control on a first interface, display content in the first control including the hint information, the first interface including display content provided by the slave device. The slave device may display the prompt information in the following manner (a), manner (b), or manner (c).
Mode (a), the slave device may display the alert information in the notification message (as in (b) of fig. 1).
In mode (b), the slave device may display a prompt in the notification bar. Illustratively, in conjunction with (b) of fig. 1, the slave device may display a notification bar 401 on the image viewing interface 106 in response to an operation of opening the notification bar input by the user on the touch screen, the notification bar 401 including prompt information 402. For example, the prompt 402 may include "missed call"; alternatively, the prompt message 402 may further include "17:59 × missed calls ". As can be seen from fig. 1 (b), the image 107 is displayed on the bottom layer, and the notification bar 401 is displayed on the top layer of the image 107.
In mode (c), the slave device may display the reminder in a pop-up box. Illustratively, in conjunction with (B) of FIG. 1, as shown in FIG. 4B, the slave device may display a pop-up 404 on the image viewing interface 106, the pop-up 404 including the reminder information 402. Where the image 107 is displayed on the bottom layer and the pop-up box 404 is displayed on the top layer of the image 107.
It can be understood that, the slave device displays the prompt message from the source device in the above three ways (i.e. way (a), way (b), and way (c)), so that the way of displaying the prompt message of the source device on the slave device is increased, and the use experience of the user is improved.
It should be noted that, in the embodiment of the present application, the manner in which the slave device displays the prompt information from the source device may be different from the manner in which the prompt information is displayed. For example, as shown in fig. 5, in (a) in fig. 5, the source device 101 may display the prompt information 502 through the notification message 501. In fig. 5 (b), the slave device 102 may display the prompt message 502 from the source device through a pop-up box 503. Alternatively, the slave device may display the alert information from the source device in the same manner as the source device displays the alert information. For example, as shown in connection with fig. 1, in (a) of fig. 1, the source device 101 may display the hint information through a notification message 104, and the slave device may display the hint information from the source device through a notification message 105. In the following embodiments, the method of the embodiments of the present application is described by taking as an example that the slave device may display the prompt information from the source device in the same manner as the source device displays the prompt information.
In some embodiments, the manner in which the slave device displays the reminder information from the source device may be determined by the source device. Specifically, when a first application of the source device generates prompt information, the source device may send a first message to the slave device, where the first message includes the prompt information of the first application in the source device and a target control identifier, the target control identifier is used to indicate a target control, and the target control may be a notification message, a notification bar, or a pop-up box. The slave device may receive a first message from the source device. The slave device may then display the reminder information via the target control.
In one possible design, the slave device may determine a display mode for displaying the prompt information according to a correspondence between the target control identifier and the display mode.
It should be noted that the slave device stores the corresponding relationship between the target control identifier and the display mode. Illustratively, as shown in table 1, it shows the correspondence between the target control identification and the display manner.
TABLE 1
Target control identification Display mode
001 Notification message
002 Notification bar
003 Pop-up frame
That is, when the target control is identified as "001", the slave device may display the guidance information from the source device through the notification message (i.e., manner (a) described above). When the target control is identified as "002", the slave device may display the prompt information from the source device through the notification bar (i.e., manner (b) above). When the target control is identified as "003", the slave device may display the reminder information from the source device via a pop-up box (i.e., manner (c) above). Illustratively, when the first message sent by the source device includes the hint information and "003", the slave device may display the hint information via a pop-up box (e.g., fig. 4B).
The display mode of the presentation information transmitted from the source device to the slave device is the same as the default display mode of the presentation information on the source device. For example, if the default display mode of the reminder information a on the source device is a notification message, the source device may send "001" to the slave device, so that the source device may display the reminder information a through the notification message. For another example, if the default display mode of the prompt message b on the source device is a pop-up box, the source device may send "001" to the slave device, so that the source device may display the prompt message b through the pop-up box.
It should be noted that, the default display mode of the prompt information on the source device may refer to a method for displaying the prompt information generated by the application program by the electronic device in the conventional technology, which is not described herein again.
It is understood that the slave device can display the prompt message in the display mode of the prompt message in the source device by receiving the display mode from the source device. Therefore, the using habits of the user can be fitted, and the user experience is improved.
In some embodiments, if the content of the reminder information from the source device is excessive, the slave device may display only a portion of the content of the reminder information. After receiving the expansion operation of the user, the slave device may display the entire content of the prompt message. Illustratively, if the prompt from the source device is "[ call charge flow through train ]" respected user, by 31/01/2021, your remaining call charge is 0.5 yuan. In order to avoid influencing the normal use of the user, the user can pay for the telephone charge. ". As shown in fig. 6A, the source device 102 displays a partial prompt message 602 through a notification message 601, for example, the prompt message 602 is "[ traffic charge flow through vehicle ] respected user, and is up to \8230;". Thereafter, as shown in fig. 6B, in response to the click operation of the user, the source device 102 displays a prompt message 602 in its entirety by a notification message 601, for example, the prompt message 602 is "[ charge flow through vehicle ]" respecting the user, and by 31/01/31/2021, your remaining charge is 0.5 yuan. In order to avoid influencing the normal use of the user, the user can pay for the telephone charge. ".
It will be appreciated that when the content of the reminder information from the source device is excessive, the slave device may only display a portion of the content. Therefore, the coverage of the prompting information on the content displayed by the slave equipment can be reduced, and the use experience of a user is improved. And in response to the unfolding operation of the user, the slave equipment can display all contents in the prompt information, so that the user is prevented from missing the prompt information.
If the pieces of guidance information generated by the plurality of applications in the source device are the same, the slave device may display the same guidance information for different applications. Thus, when the source device displays the prompt message, if the prompt message cannot represent the application program that generates the prompt message (for example, the prompt message 403 in fig. 4A is "missed call", and the "missed call" can represent that the application program that generates the prompt message is a phone application), the user cannot know the application that generates the prompt message.
In some embodiments, in order to enable the slave device to display the application program generating the prompt message, the first message may further include an application identifier of the first application. Specifically, when the first application of the source device generates the prompt information, the source device may send a first message to the slave device, where the first message includes the prompt information of the first application in the source device and the application identifier of the first application. The slave device may receive a first message from the source device. Thereafter, the slave device may display a first control on the first interface, where the content displayed by the first control includes: the prompt message and the application identifier. Therefore, the user can know the application sending the prompt message, and further can perform further processing according to the user.
It should be noted that the application identifier is not limited in the embodiment of the present application. For example, the application identifier of the first application may be an application icon of the first application. For another example, the application identifier of the first application may be an application name of the first application. For another example, the application identifier of the first application may be an application name and an application icon of the first application.
Illustratively, suppose that a social application a and a social application B are installed in the source device. The social application A is an application program for office work, and the social application B is an application program for entertainment. After the social application a in the source device generates the prompt information, the source device may send the prompt information and the application identifier of the social application a to the slave device. As shown in fig. 7A, the slave device 102 may display prompt information 702 and an application identification 703 through a notification message 701. For example, the prompt 702 may be "you have an unread message" and the application id 703 may be "social application a". For another example, as shown in fig. 7B, the slave device 102 may display the prompt information 702 and the application identification 704 through the notification message 701. The prompt 702 may be "you have an unread message," and the application identifier 704 may be an application icon for social application a. Alternatively, the application identification of social application a may include: "social application A" and an application icon for social application A (e.g., application identifier 704 in FIG. 7B).
It should be noted that, when the first application is a social application, the prompt message may include a first contact, and the first contact is a contact sending a message in the social application. For example, the prompt may be "you have an unread message from Zhang III". In this manner, the slave device may display the contact sending the message so that the user can know the source of the message.
It will be appreciated that the slave device may display the reminder information and the application identification of the first application on the first interface so that the user may be aware of the application from which the reminder information originated. Therefore, the user can make corresponding operation according to the application scene of the application program, and the use experience of the user is improved. Illustratively, as can be seen from the above examples, the prompt information sent by the social application a is displayed in the device. The user knows that social application a is an application for office. Therefore, the user can check and process the information in time, the user can process important events in time, and the use experience of the user is improved.
The slave device may display the presentation information generated by the plurality of applications in the source device. Illustratively, as shown in fig. 7C, the slave device 102 may display a hint a706, a hint b707, and a hint C708 through a notification bar 705. For the specific setting manner of the number of the slave devices displaying the prompt messages and the sequence of displaying the prompt messages, reference may be made to a method for displaying a plurality of prompt messages by an electronic device in the conventional technology, which is not described herein again.
Of course, if the application program in each of the plurality of electronic devices generates the prompt information, the slave device may display the prompt information from the plurality of electronic devices. The electronic devices (i.e., source devices) need to establish wireless connection with the slave devices. In the following embodiments, the method in the present application is described with an example in which the mobile phone a, the smart watch B, the notebook computer C, and the slave device are in the same local area network (for example, the same WiFi), a first application that generates the prompt information in the mobile phone a is an application one, a first application that generates the prompt information in the smart watch B is an application two, and a first application that generates the prompt information in the notebook computer C is an application three.
In some embodiments, when the first application of the mobile phone a generates the prompt message a, the mobile phone a may send a first message to the slave device, where the first message includes the prompt message a; when the second application of the smart watch B generates the prompt message B, the smart watch B can send a second message to the slave device, wherein the second message comprises the prompt message B; when the third application of the notebook computer C generates the prompt message C, the notebook computer C may send a third message to the slave device, where the third message includes the prompt message C. Thereafter, the slave device may receive message one, message two, and message three. Exemplarily, in conjunction with fig. 2C, as shown in fig. 8A, the slave device may receive a message one from the mobile phone a, a message two from the smart watch B, and a message three from the notebook computer C through the cross-device interaction system, respectively.
After that, the slave device may display the above-mentioned prompt information a, prompt information b, and prompt information c. Illustratively, in conjunction with fig. 7C, the slave device 102 may display a hint a706, a hint b707, and a hint C708 via a notification bar 705. For example, the prompt message a706 is "17 |! ".
It should be noted that the message one, the message two, and the message three may further include an application identifier for generating each prompt message. For example, in conjunction with fig. 7C, the slave device 102 may display an application identifier of an application generating the prompt message b (e.g., a text message application) and an application identifier of an application generating the prompt message C (e.g., smart life) through the notification bar 705.
It will be appreciated that based on the above scheme, the slave device may display reminder information generated by an application in the plurality of source devices. Therefore, the user can check the prompt messages in the electronic devices through one electronic device, the possibility that the user omits the prompt messages is reduced, and the use experience of the user is improved.
Of course, if the slave device displays the pieces of guidance information from the plurality of source devices, the slave device does not display the sources of the pieces of guidance information, that is, the electronic device that transmitted the pieces of guidance information. This may result in the slave device being unable to distinguish the source of the reminder information, resulting in the user being unable to further process the event.
In some embodiments, to secure the source of the prompt message displayed from the device, the first message may include a device identifier. Specifically, when the first application of the mobile phone a generates the prompt message a, the mobile phone a may send a first message to the slave device, where the first message includes the prompt message a and the application identifier of the mobile phone a; when the second application of the smart watch B generates the prompt message B, the smart watch B can send a second message to the slave device, wherein the second message comprises the prompt message B and the application identifier of the smart watch B; when the third application of the notebook computer C generates the prompt message C, the notebook computer C may send a third message to the slave device, where the third message includes the prompt message C and the application identifier of the notebook computer C. And then, the slave device can receive the message I, the message II and the message III, and display the prompt message a, the application identifier of the mobile phone A, the prompt message B, the application identifier of the smart watch B, the prompt message C and the application identifier of the notebook computer C.
It should be noted that, in the embodiment of the present application, the device identifier is not limited. For example, the device identifier may be an account ID of a user who logs in the electronic device. For another example, the device identifier may be a remark name set by the user for the electronic device. For another example, the device identifier may be a device icon of the electronic device. For another example, the device identifier may be a combination of at least two of an account ID, a remark name, and a device icon. In the following implementation, the method of the embodiment of the present application is described by taking a device identifier as an example of a remark name set by a user for an electronic device.
Illustratively, in conjunction with fig. 7C, as shown in fig. 8B, the slave device 102 may display, through the notification bar 801, the reminder information a706 and the device identification 801 of the electronic device that transmitted the reminder information a706, the reminder information B707 and the device identification 802 of the electronic device that transmitted the reminder information B707, and the reminder information C708 and the device identification 803 of the electronic device that transmitted the reminder information C708. For example, the device identifier 801 is "mobile phone a", the device identifier 802 is "smart watch B", and the device identifier C803 is "notebook computer C". Of course, the slave device may also display an application identifier of the application program that generated the reminder information (see fig. 8B).
When the slave device displays only one piece of prompt information of the source device, the slave device may display the device identifier of the source device. Specifically, for the description of the process of displaying the device identifier of one source device by the slave device, reference may be made to the process of displaying the device identifiers of the mobile phone a, the smart watch B, and the notebook computer C by the slave device in the foregoing embodiment, which is not described herein again.
It can be understood that the display of the prompt message from the device and the device identifier of the electronic device sending the prompt message enable the user to know the source of the prompt message, and further enable the user to perform corresponding processing in combination with the source of the prompt message.
In other embodiments, the source device may determine the device state of the source device when acquiring the prompt information of the first application. The device status is used to indicate whether the source device is used. If the source device is in the used state, the source device may not send the hint information to the slave device. If the source device is in an unused state, the source device may send a prompt to the slave device.
For example, the source device in the unused state may be: and if the screen of the source equipment is in a screen closing state, and/or no application program runs in the screen closing state, and/or the source equipment does not acquire the user information through the camera. The source device being in use may be: if the screen of the source device is in a bright screen state, and/or an application program exists in the source device and is running, and/or the source device can acquire user information through a camera.
It can be understood that when the source device is in an unused state, the source device sends the prompt information to the slave device, and the slave device can display the prompt information, so that omission of the prompt information is avoided. When the source device is in the used state, the prompt message in the source device can be viewed by the user currently. The source device does not need to send prompt information to the slave device, power consumption in the source device can be reduced, and the service life of the source device is prolonged.
In some embodiments, the source device may display the reminder information in the slave device. The slave device acquires the prompt information in the slave device, and the slave device can send the prompt information in the slave device to the source device. The source device may then receive the reminder information from the slave device and display the reminder information at an interface of the source device. Therefore, both the slave equipment and the source equipment can display prompt messages of the other side, the user can be prevented from missing the prompt messages, and the user experience is improved.
After the slave device displays the prompt message from the source device, if the prompt message requires further operation by the user, the user is required to go to the source device for operation. Illustratively, as shown in FIG. 9A, if the slave device 102 displays a prompt message 902 via the notification message 901, the prompt message 902 is "see message, reply quickly! ". Optionally, the notification message 901 may also display the contact sending the message, such as "zhang san". Then, the user needs to reply the prompt message 902 through the source device, which is not only inefficient, but also tedious.
In some embodiments, in order to simplify the operation flow, the first message sent by the source device to the slave device may include at least one preset option, where each preset option corresponds to an operation instruction acting on the prompt message. After receiving the first message, the slave device may display the prompt message and the at least one preset option. And then, the slave device may receive a first operation of the user on the target option, and send a second message to the source device, where the second message is used to instruct the source device to execute an operation instruction corresponding to the target option through the first application, the second message includes an operation instruction and an application identifier corresponding to the target option, and the target option is any one of at least one preset option. Thereafter, the source device may receive the second message and execute the operation instruction through the application identifier corresponding to the first application.
Illustratively, in conjunction with fig. 9A, as shown in fig. 9B, the slave device 102 may display prompt information 902 and a function option 903 through a notification message 901, where the function option 903 is used for receiving an operation of a user for inputting the prompt information. For example, the function options 903 include a "reply" button for replying to the received reminder message 902 and an "ignore" button for canceling the display of the reminder message 901 (i.e., the reminder message 902 is not displayed from the device 102). Thereafter, in response to the user's operation of the "reply" button input, the slave device 102 may display an input box 904 as shown in FIG. 9C, e.g., the user may input "received! ". Thereafter, in response to user operation of the "send" button, the slave device 102 may send an operation instruction and an application identification (e.g., "social application A") to the source device, e.g., the operation instruction may instruct the source device to send "received!to Zhang three through social application A! ". Thereafter, the source device may receive the operation instructions and application identification from the slave device 102 and send a "received!to Zhang three through the social application A! ". Alternatively, in conjunction with fig. 9B, in response to a selection operation by the user acting on the "ignore" button, the slave device 102 may transmit an operation instruction to cancel displaying the notification message 901 and an application identification to the source device. The source device may then receive the operating instructions and application identification from the slave device 102 and cancel displaying the reminder information (or display controls, such as notification messages) displayed in the source device.
For another example, as shown in fig. 10, suppose that the slave device 102 displays, via a pop-up box 1001, prompt information 1002 and function options 1003 generated by the shopping application B in the source device. The prompt message 1002 may be "ask for an update? ", the function options 1003 may include a" yes "button for indicating agreement to update shopping application B and a" no "button for indicating disagreement with updating shopping application B. In case that the user inputs a selection operation at the "yes" button, the slave device 102 may transmit an operation instruction for indicating consent to update the shopping application B and an application identification of the shopping application B to the source device in response to the selection operation of the user acting on the "yes" button. Thereafter, the source device can receive operating instructions and an application identification from the slave device 102, updating the application through shopping application B.
It can be understood that, based on the above scheme, the slave device may feed back the received operation instruction to the source device, and the source device executes the corresponding operation instruction through the first application. That is, the source device does not need to perform corresponding operation on the prompt message. Therefore, the steps of operating the electronic equipment can be simplified, the operation efficiency is improved, and the use experience of a user is improved.
In some embodiments, when the source device acquires the prompt information of the first application, a target control may be displayed, and the content displayed in the target control includes the prompt information. And the slave device can display the prompt information through the target control. After that, the slave device may receive a second operation, and generate a first instruction, where the first instruction is used to instruct to cancel the display of the target control. In response to the second operation, the slave device may cancel displaying the target control. And, the slave device may transmit an operation instruction corresponding to the second operation to the source device. Thereafter, the source device may receive a first instruction from the slave device and cancel displaying the target control. Illustratively, as shown in fig. 11A, the source device 101 displays a prompt 1102 through a pop-up 1101, and the slave device 102 displays the prompt 1102 from the source device 101 through a pop-up 1103. In response to operation 1 of the user on the return option, the slave device 102 may transmit an operation instruction to cancel displaying the pop-up box 1101 to the source device 101. Thereafter, as shown in fig. 11B (a) and fig. 11B (B), the pop-up box 1101 is canceled from both the source device 101 and the slave device 102, that is, the prompt information 1102 is not displayed on the display interfaces of the source device 101 and the slave device 102.
In some embodiments, in order to avoid the user missing the prompt message that has been cancelled, after a preset time period after the slave device cancels the display of the first control, the slave device may acquire the prompt message and redisplay the first control containing the prompt message. The slave device can acquire the prompt information in the following two ways.
In a first manner, after the slave device receives the first message from the source device, the slave device may store the first message. After a preset time period after the slave device cancels the display of the first control, the slave device may obtain the first message stored in the slave device.
In a second mode, after the preset duration after the slave device cancels the display of the first control, the source device may resend the first message to the slave device. Thereafter, the slave device may receive a first message from the source device.
It can be understood that after the slave device cancels the display of the first control, that is, after the slave device does not display the prompt message, the slave device may redisplay the prompt message after a preset time period. Therefore, the user can be reminded to process the prompt message, the prompt message is prevented from being omitted, and the use experience of the user is improved.
When the slave device displays the presentation information from the source device, the slave device may display the presentation information generated by the application program in the slave device. Illustratively, as shown in fig. 12, the slave device 102 may display reminder information 1201 from the cell phone a, reminder information 1202 from the smart watch B, and reminder information 1203 from the slave device 102.
It will be appreciated that the slave device is capable of displaying not only the reminder information in the other electronic device (i.e. the source device), but also reminder information generated by an application in the slave device. Therefore, the method and the device can ensure that the slave device simultaneously displays the prompt messages of the slave device and the source device, avoid the user from missing the prompt messages in the source device or the slave device, and improve the use experience of the user.
Of course, if the slave device stores more prompt messages from the source device, the more prompt messages occupy the storage space of the slave device, and further affect the performance of the slave device.
In some embodiments, to reduce the storage space of the slave device occupied by the first message from the source device, the slave device may delete the first message. Specifically, the slave device may receive a third operation of the user, where the third operation is used to trigger the slave device to delete the first message. After that, the slave device may send an operation instruction corresponding to the third operation to the source device. The source device may delete the first message after receiving the operation instruction corresponding to the third operation.
In fact, the third operation is not limited in the embodiment of the present application. For example, the third operation may be a sliding operation (e.g., sliding from left to right). For another example, the third operation may be an operation of clicking a "clear" button (refer to a button for clearing the reminder information displayed in the notification bar in the conventional art).
It should be noted that, after the electronic device deletes the first message, the electronic device does not display the prompt message. That is, after the slave device receives the third operation, neither the slave device nor the source device displays the prompt information.
It should be noted that, the source device may share the hint information of the source device to other electronic devices (i.e., slave devices), and the hint information may belong to the private content of the user. Therefore, a problem of privacy disclosure is easily caused.
In some embodiments, to avoid a situation where the user privacy is leaked, before the source device sends the first message to the slave device, the source device may determine whether an account logged in from the device and an account logged in by the source device are associated accounts.
It should be noted that, the associated account refers to that an account logged in from the device and an account logged in from the source device are the same account. For example, if the account registered from the device is "zhangsan" and the account registered by the source device is "zhangsan", the account registered from the device and the account registered by the source device are the same account, that is, the account registered from the device and the account registered by the source device are associated accounts. Or, the associated account means that the account logged in from the device is different from the account logged in from the source device, and there is a link between the account logged in from the device and the account logged in from the source device. The existence of a connection between two different accounts includes: the account registered from the device is a family account of the account registered by the source device, the account registered from the device is a friend account of the account registered by the source device, and the like. Specifically, for the existing association between two different accounts, the setting may be performed in the electronic device (source device and/or slave device) by the user, which is not limited in this embodiment of the present application.
The login account of the electronic device may be a mobile phone number, a network name of a user, a network account of the user, or the like, which is not limited in this embodiment of the present application. However, in general, the source device may select a unique identifier (e.g., a mobile phone number, a network account, etc.) as a login account, so that the accuracy of verification may be improved.
It can be understood that, if the account registered from the device and the account registered by the source device are associated accounts, it indicates that the account registered from the device and the account registered by the source device are mutually trusted accounts. That is, the prompt information generated by the application in the source device is displayed in the slave device, and the privacy content of the source device cannot be leaked.
In one possible implementation, the source device may send a message to the slave device to obtain an account number logged in by the slave device. And after receiving the message, the slave device sends the account logged in by the slave device to the source device. The source device acquires an account logged in from the device, compares the account logged in from the device with the account logged in from the source device, and determines whether the account logged in from the device and the account logged in from the source device are related accounts.
In another possible implementation manner, the source device may send an account registered by the source device to the slave device, and after receiving the account registered by the source device, the slave device compares the account registered by the slave device with the account registered by the source device, and sends a comparison result to the source device. And the source equipment receives the comparison result and determines whether the account logged in from the equipment and the account logged in from the source equipment are related accounts or not according to the comparison result.
If the login account number of the slave device and the login account number of the source device are associated account numbers, the source device sends a first message to the slave device. If the login account number of the slave device and the login account number of the source device are not the associated account numbers, the source device does not send the first message to the slave device.
It is understood that if the login account of the slave device and the login account of the source device are associated accounts, it indicates that the user of the source device and the user of the slave device are the same user, or there is a relationship between the user of the source device and the user of the slave device. Thus, the source device may send a first message to the slave device so that the slave device may display the reminder information from the source device. Therefore, omission of prompt information is avoided, the risk of privacy disclosure of the user is reduced, and the use experience of the user is improved.
The scheme provided by the embodiment of the application is mainly introduced from the perspective of electronic equipment. It is understood that the electronic device comprises corresponding hardware structures and/or software modules for performing the respective functions in order to realize the above-mentioned functions. Those of skill in the art will readily appreciate that the steps of a method for displaying information of the examples described in connection with the embodiments disclosed herein may be implemented as hardware or a combination of hardware and computer software. Whether a function is performed as hardware or as software driven hardware in an electronic device depends upon the particular application and design constraints imposed on the solution. 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.
In the embodiment of the present application, the information display device may be divided into the functional modules or the functional units according to the method example, for example, each functional module or functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module may be implemented in a form of hardware, or may be implemented in a form of a software functional module or a functional unit. The division of the modules or units in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
The method according to the embodiment of the present application is specifically described below with reference to the software structure block diagram shown in fig. 2B. For example, suppose the slave device displays a prompt message from the source device via a notification bar. As shown in fig. 13A, a first application in a source device may generate a hint information. Thereafter, the first application may call the registration interface, sending a first message (e.g., a reminder, an application identification of the first application, a device identification of the source device, etc.) to the cross-device interaction system. Next, the cross-device interaction system of the source device may send a first message to the slave device. Thereafter, the cross-device interaction system of the slave device may receive and save the first message and send the first message to the notification manager. The notification manager may then invoke a display control (e.g., a notification bar control) to add the first message to the notification bar control. The notification bar control may then display the reminder information. If the content of the prompt message is more, the notification bar control may display only a part of the content of the prompt message (see fig. 6A). The notification bar control may then receive a user-entered expansion operation, displaying the full content of the reminder information (see fig. 6B). And, the notification bar control can receive a third operation (the third operation is used for deleting the first message) input by the user and cancel the display of the first control. And the notification bar control can send an operation instruction for deleting the first message to the notification manager, and the notification manager sends the operation instruction for deleting the first message to the cross-device interactive system. Then, the cross-device interaction system of the slave device may send an operation instruction to delete the first message to the source device. Then, the cross-device interaction system of the source device may receive the operation instruction for deleting the first message from the slave device, and call the callback interface to send the operation instruction for deleting the first message to the first application. The first application may then delete the first message.
For another example, suppose the slave device displays a prompt message from the source device via a pop-up box. As shown in fig. 13B, the first application in the source device may generate the reminder information. Thereafter, the first application may invoke the registration interface to send a first message (e.g., a reminder and at least one preset option) to the cross-device interaction system. Next, the cross-device interaction system of the source device may send a first message to the slave device. Thereafter, the cross-device interaction system of the slave device may receive and save the first message and send the first message to the notification manager. The notification manager can then invoke a display control (e.g., a pop-up control) to add the first message to the pop-up control. Thereafter, the pop-up control can display the reminder information and at least one preset option (as shown in FIG. 10). Then, the pop-up box control may receive an operation input by a user on the target option (any one of the at least one preset option), send an operation instruction corresponding to the target option to the notification manager, and send the operation instruction corresponding to the target option to the cross-device interaction system by the notification manager. Then, the cross-device interaction system of the slave device may send an operation instruction corresponding to the target option to the source device. Then, the cross-device interaction system of the source device may receive the operation instruction corresponding to the target option from the slave device, and call the callback interface to send the operation instruction corresponding to the target option to the first application. The first application may then execute the operating instructions corresponding to the target option (e.g., update the first application).
Other embodiments of the present application provide an electronic device (e.g., a mobile phone 200 shown in fig. 2A) having a plurality of preset applications installed therein. The electronic device may include: a memory and one or more processors. The memory is coupled to the processor. The electronic device may further include a camera. Or, the electronic device may be externally connected with a camera. The memory is for storing computer program code comprising computer instructions. When the processor executes the computer instructions, the electronic device may perform various functions or steps performed by the mobile phone in the above-described method embodiments. The structure of the electronic device may refer to the structure of the mobile phone 200 shown in fig. 2A.
Embodiments of the present application further provide a chip system, as shown in fig. 14, where the chip system includes at least one processor 1401 and at least one interface circuit 1402. The processor 1401 and the interface circuit 1402 may be interconnected by lines. For example, the interface circuit 1402 may be used to receive signals from other devices (e.g., a memory of an electronic device). Also for example, the interface circuit 1402 may be used to send signals to other devices, such as the processor 1401. Illustratively, the interface circuit 1402 may read instructions stored in memory and send the instructions to the processor 1401. The instructions, when executed by the processor 1401, may cause an electronic device, such as the cell phone 200 shown in fig. 2A, to perform the various steps in the embodiments described above. Of course, the chip system may further include other discrete devices, which is not specifically limited in this embodiment of the present application.
An embodiment of the present application further provides a computer storage medium, where the computer storage medium includes computer instructions, and when the computer instructions are run on the electronic device (e.g., the mobile phone 200 shown in fig. 2A), the electronic device is caused to perform various functions or steps performed by the mobile phone in the foregoing method embodiment.
The embodiment of the present application further provides a computer program product, which when running on a computer, causes the computer to execute each function or step executed by the mobile phone in the above method embodiments.
Through the description of the above embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical functional division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or multiple physical units, that is, may be located in one place, or may be distributed in multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a readable storage medium. Based on such understanding, the technical solutions of the embodiments of the present application may be essentially or partially contributed to by the prior art, or all or part of the technical solutions may be embodied in the form of a software product, where the software product is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a variety of media that can store program codes, such as a usb disk, a removable hard disk, a Read Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope of the present disclosure should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (14)

1. A method for displaying information, which is applied to a first electronic device, the method comprising:
the first electronic equipment receives a first message from second electronic equipment, wherein the first message comprises prompt information generated by a first application, and the first application is any application program in the second electronic equipment;
and the first electronic equipment displays a first control on a first interface, the content displayed in the first control comprises the prompt information, and the first interface comprises the display content provided by the first electronic equipment.
2. The method of claim 1, wherein the first message further comprises: an application identifier of the first application, and/or a device identifier of the second electronic device;
the content displayed in the first control further comprises: an application identifier of the first application, and/or a device identifier of the second electronic device.
3. The method according to claim 1 or 2, wherein the first control is specifically: a notification message control, a notification bar control, or a pop-up control.
4. The method of claim 3, wherein the first message further comprises a target control identification, wherein the target control identification corresponds to a target control, and wherein the target control is the notification message control, the notification bar control, or the pop-up box control;
the first electronic device displays a first control on a first interface, including:
the first electronic equipment determines a target control corresponding to the target control identification; the first electronic device stores a plurality of control identifications and display controls corresponding to each control identification, and the target control identification is any one of the control identifications;
the first electronic device displays the target control on a first interface.
5. The method according to any one of claims 1 to 4, wherein the first message further includes at least one preset option, and each preset option in the at least one preset option corresponds to an operation instruction acting on the prompt message; the content displayed in the first control further comprises the at least one preset option;
the method further comprises the following steps:
the first electronic equipment receives a first operation on a target option, wherein the target option is any one of the at least one preset option;
and responding to the first operation of the target option, the first electronic equipment sends a second message to the second electronic equipment, wherein the second message is used for indicating the second electronic equipment to execute an operation instruction corresponding to the target option through the first application.
6. The method according to claim 4 or 5, characterized in that the method further comprises:
the first electronic equipment receives a second operation and generates a first instruction, wherein the first instruction is used for indicating that the target control is cancelled to be displayed;
in response to the second operation, the first electronic device cancels display of the target control;
and the first electronic equipment sends the first instruction to the second electronic equipment.
7. The method of claim 6, further comprising:
after the first electronic device cancels the preset time length after the target control is displayed, the first electronic device acquires the prompt information;
and the first electronic equipment displays the target control on the first interface.
8. A method for displaying information, applied to a second electronic device including a first application, the method comprising:
the second electronic device sends a first message to the first electronic device after acquiring the prompt message of the first application, where the first message includes: the prompt message and at least one preset option, wherein each preset option in the at least one preset option corresponds to an operation instruction acting on the prompt message;
the second electronic device receives a second message from the first electronic device, wherein the second message is used for indicating the second electronic device to execute an operation instruction corresponding to a target option through the first application, and the target option is any one of the at least one preset option;
and the second electronic equipment executes the operation instruction corresponding to the target option through the first application.
9. The method of claim 8, wherein the first message further comprises: the application identifier of the first application, and/or the device identifier of the second electronic device.
10. The method of claim 8 or 9, wherein the first message further comprises a target control identification, wherein the target control identification corresponds to a target control, and wherein the target control is a notification message control, a notification bar control, or a pop-up box control; the method further comprises the following steps:
the second electronic equipment displays a target control, and the content displayed in the target control comprises: the prompt message, the application identifier of the first application, and/or the device identifier of the second electronic device.
11. The method of claim 10, further comprising:
the second electronic device receives a first instruction from the first electronic device, wherein the first instruction is used for indicating that the target control is cancelled to be displayed;
and the second electronic equipment cancels the display of the target control.
12. An electronic device, wherein the electronic device is a first electronic device, the electronic device comprising: a memory, a display screen, and one or more processors; the memory, the display screen, and the processor are coupled, the memory for storing computer program code comprising computer instructions that, when executed by the one or more processors, cause the electronic device to perform the method of any of claims 1-7.
13. An electronic device, wherein the electronic device is a second electronic device, the electronic device comprising: a memory, a display screen, and one or more processors; the memory, the display screen, and the processor are coupled, the memory for storing computer program code comprising computer instructions that, when executed by the one or more processors, cause the electronic device to perform the method of any of claims 8-11.
14. A computer storage medium comprising computer instructions that, when executed on an electronic device, cause the electronic device to perform the method of any of claims 1-11.
CN202110450537.8A 2021-04-25 2021-04-25 Information display method and electronic equipment Active CN115250261B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110450537.8A CN115250261B (en) 2021-04-25 2021-04-25 Information display method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110450537.8A CN115250261B (en) 2021-04-25 2021-04-25 Information display method and electronic equipment

Publications (2)

Publication Number Publication Date
CN115250261A true CN115250261A (en) 2022-10-28
CN115250261B CN115250261B (en) 2024-06-04

Family

ID=83696865

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110450537.8A Active CN115250261B (en) 2021-04-25 2021-04-25 Information display method and electronic equipment

Country Status (1)

Country Link
CN (1) CN115250261B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060212537A1 (en) * 2005-03-16 2006-09-21 Sun Microsystems, Inc. Card device for loading applications to a mobile device
CN103870224A (en) * 2012-12-13 2014-06-18 联想(北京)有限公司 Message prompt method, message display method and electronic device
CN106375201A (en) * 2016-11-09 2017-02-01 北京小米移动软件有限公司 Communication message prompting method and device
CN107682526A (en) * 2017-08-31 2018-02-09 珠海市君天电子科技有限公司 A kind of application message methods of exhibiting and its equipment
CN111404802A (en) * 2020-02-19 2020-07-10 华为技术有限公司 Notification processing system and method and electronic equipment
CN112187619A (en) * 2020-05-26 2021-01-05 华为技术有限公司 Instant messaging method and equipment
CN112445407A (en) * 2019-08-30 2021-03-05 华为技术有限公司 Display method and electronic device
CN112615960A (en) * 2019-09-19 2021-04-06 华为技术有限公司 Equipment capacity scheduling method and electronic equipment

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060212537A1 (en) * 2005-03-16 2006-09-21 Sun Microsystems, Inc. Card device for loading applications to a mobile device
CN103870224A (en) * 2012-12-13 2014-06-18 联想(北京)有限公司 Message prompt method, message display method and electronic device
CN106375201A (en) * 2016-11-09 2017-02-01 北京小米移动软件有限公司 Communication message prompting method and device
CN107682526A (en) * 2017-08-31 2018-02-09 珠海市君天电子科技有限公司 A kind of application message methods of exhibiting and its equipment
CN112445407A (en) * 2019-08-30 2021-03-05 华为技术有限公司 Display method and electronic device
CN112615960A (en) * 2019-09-19 2021-04-06 华为技术有限公司 Equipment capacity scheduling method and electronic equipment
CN111404802A (en) * 2020-02-19 2020-07-10 华为技术有限公司 Notification processing system and method and electronic equipment
CN112187619A (en) * 2020-05-26 2021-01-05 华为技术有限公司 Instant messaging method and equipment

Also Published As

Publication number Publication date
CN115250261B (en) 2024-06-04

Similar Documents

Publication Publication Date Title
WO2022089207A1 (en) Cross-device application interaction method, electronic device, and server
CN111464987B (en) Method for displaying Bluetooth device identification and electronic device
US20230094172A1 (en) Cross-Device Application Invoking Method and Electronic Device
CN115039378A (en) Audio output method and terminal equipment
CN111447323B (en) Application display continuing method and device
CN113986092B (en) Message display method and device
CN113806105A (en) Message processing method and device, electronic equipment and readable storage medium
CN115016706B (en) Thread scheduling method and electronic equipment
CN113923611A (en) Call forwarding system and related device
CN114489529A (en) Screen projection method of electronic device, medium thereof and electronic device
CN114442969A (en) Inter-device screen cooperation method and device
CN113608753A (en) Application uninstalling method, application recovery method, electronic device and storage medium
WO2023005711A1 (en) Service recommendation method and electronic device
CN114780268B (en) Notification message display method and electronic equipment
CN113805771B (en) Notification reminding method, terminal equipment and computer readable storage medium
CN115250261B (en) Information display method and electronic equipment
CN113835802A (en) Device interaction method, system, device and computer readable storage medium
CN115150502A (en) Display method and device of application widget
CN115278642A (en) Method for acquiring information of SIM card, electronic equipment and terminal equipment
CN115017473B (en) Authorization method and electronic equipment
CN110737765A (en) Dialogue data processing method for multi-turn dialogue and related device
WO2024067169A1 (en) Information processing method and electronic device
WO2024078412A1 (en) Cross-screen sharing method, graphical interface, and related apparatus
WO2023036001A1 (en) Call method and electronic device
WO2024066837A1 (en) Incoming call alert method and electronic device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant