CN115842930A - Cross-device information display method and electronic device - Google Patents

Cross-device information display method and electronic device Download PDF

Info

Publication number
CN115842930A
CN115842930A CN202111101841.8A CN202111101841A CN115842930A CN 115842930 A CN115842930 A CN 115842930A CN 202111101841 A CN202111101841 A CN 202111101841A CN 115842930 A CN115842930 A CN 115842930A
Authority
CN
China
Prior art keywords
electronic device
new message
electronic equipment
electronic
message
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.)
Pending
Application number
CN202111101841.8A
Other languages
Chinese (zh)
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 CN202111101841.8A priority Critical patent/CN115842930A/en
Priority to PCT/CN2022/112886 priority patent/WO2023040555A1/en
Publication of CN115842930A publication Critical patent/CN115842930A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/50Circuit switching systems, i.e. systems in which the path is physically permanent during the communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/422Input-only peripherals, i.e. input devices connected to specially adapted client devices, e.g. global positioning system [GPS]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • H04N21/4363Adapting the video stream to a specific local network, e.g. a Bluetooth® network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/462Content or additional data management, e.g. creating a master electronic program guide from data received from the Internet and a Head-end, controlling the complexity of a video stream by scaling the resolution or bit-rate based on the client capabilities
    • H04N21/4627Rights management associated to the content

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Databases & Information Systems (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Telephone Function (AREA)

Abstract

A cross-device information display method and electronic equipment are provided. The method comprises the following steps: the first electronic equipment receives a new message; the first electronic equipment sends the new message to the second electronic equipment; the second electronic device is a device authorized to present a new message of the first electronic device among one or more devices connected with the first electronic device; the second electronic device displays the new message. By the method, the privacy of the user can be protected, and the experience is better.

Description

Cross-device information display method and electronic device
Technical Field
The present application relates to the field of electronic technologies, and in particular, to a cross-device information display method and an electronic device.
Background
With the development of terminal technology, a user or a home often has a plurality of types of electronic devices. Different types of electronic devices generally have their own device features, for example, a mobile phone is more portable, a television screen has a better display effect, and a sound box has a better sound quality effect. In order to fully exploit the device characteristics of different electronic devices, different types of electronic devices can communicate with each other. For example, the user can display the mobile phone interface through the television to view the mobile phone interface better by utilizing the large-screen characteristic of the television. Or, the user can also play music on the mobile phone through the sound box so as to improve the playing effect of the music by using the sound box.
Although the cross-device information interaction can fully utilize the device characteristics of different types of electronic devices, the privacy of users is easily leaked. For example, when a mobile phone of a user receives a short message, if the short message is displayed on a television, all people watching the television can see the content of the short message of the user, so that privacy of the user is revealed.
Therefore, how to avoid the privacy disclosure of the user is a problem to be considered in a cross-device information interaction scenario.
Disclosure of Invention
The application aims to provide a cross-device information display method and electronic equipment, which are used for improving the safety of user privacy in a cross-device information interaction scene.
In a first aspect, a method for cross-device information presentation is provided. The method is applicable to a communication system comprising a first electronic device and one or more devices connected to the first electronic device. Wherein the first electronic device receives a new message; the first electronic equipment sends the new message to second electronic equipment; the second electronic device is a device authorized to present a new message of the first electronic device among one or more devices connected with the first electronic device; the second electronic device displays the new message.
That is, after the first electronic device receives the new message, the new message may be displayed on a second electronic device that is authorized to present the new message of the first electronic device. For example, the first electronic device is a mobile phone, and the mobile phone is connected with a plurality of devices, such as a tablet computer and a television. Assuming that the tablet computer is authorized to display the new message received by the mobile phone, the television is not authorized to display the new message received by the mobile phone. Then, after receiving the new message on the mobile phone, the new message can be displayed on the tablet computer, and the new message cannot be displayed on the television. By the method, new messages received by the mobile phone can be prevented from being displayed on unauthorized equipment, and the privacy of users can be protected.
In the embodiment of the application, a user can execute an authorization operation on first electronic equipment to authorize second electronic equipment to display a new message of the first electronic equipment; or, an authorization operation may also be performed on the second electronic device to authorize the first electronic device to present the received new message through the second electronic device. This is described in two cases.
In the first case, the first electronic device performs an authorization operation. Illustratively, the first electronic device detects a first operation; and the first electronic equipment authorizes the second electronic equipment to display a new message of the first electronic equipment in response to the first operation.
For example, a first electronic device displays a first interface in response to a first operation, where the first interface includes multiple identifiers, and the multiple identifiers include a device identifier and/or an account identifier; a first identifier of the plurality of identifiers corresponds to the second electronic device; and the first electronic equipment authorizes the second electronic equipment to display a new message of the first electronic equipment in response to the operation of selecting the first identifier. That is to say, the first electronic device may authorize, through the identifier selection operation in the first interface, the second electronic device corresponding to the selected identifier to display the new message received by the first electronic device. In this way, the user can autonomously select the second electronic device, and the experience is better.
In one possible design, the first electronic device authorizing the second electronic device to present a new message of the first electronic device in response to the first operation includes: the first electronic device responds to the first operation and sends a first request to the second electronic device, wherein the first request is used for requesting a new message allowing the first electronic device to be displayed on the second electronic device; and after receiving the agreement indication of the second electronic equipment, authorizing the second electronic equipment to display a new message of the first electronic equipment. For example, the first electronic device determines that the user selects the identifier corresponding to the second electronic device in the first interface, and the first electronic device may send the first request to the second electronic device, and after obtaining the confirmation of the second electronic device, authorize the second electronic device to display the new message received by the first electronic device. In this way, when the user authorizes the second electronic device to display the new message of the first electronic device on the first electronic device, the security is higher through the consent of the second electronic device.
In a possible design, after receiving the first request, the second electronic device displays first prompt information, where the first prompt information is used to prompt whether to allow a new message of the first electronic device to be displayed on the second electronic device; and when receiving a user confirmation instruction, the second electronic equipment sends the agreement indication to the first electronic equipment. For example, the first electronic device determines that the user selects the identifier corresponding to the second electronic device in the first interface, the first electronic device may send the first request to the second electronic device, the second electronic device displays the first prompt information, and after the user confirms, the first electronic device returns the agreement instruction. In this way, when the user of the first electronic device authorizes the second electronic device to display the new message of the first electronic device on the first electronic device, the security is higher after the user of the second electronic device agrees.
In the second case, an authorization operation is performed on the second electronic device. Illustratively, the second electronic device detects the second operation; and the second electronic equipment responds to the second operation and authorizes the first electronic equipment to display the received new message through the second electronic equipment.
For example, the authorizing, by the second electronic device and in response to the second operation, the first electronic device to display the received new message through the second electronic device includes: the second electronic equipment responds to the second operation and displays a second interface; the second interface comprises a plurality of identifications, the plurality of identifications comprise equipment identifications and/or account identifications, and a second identification in the plurality of identifications corresponds to the first electronic equipment; and the second electronic equipment authorizes the first electronic equipment to display the received new message through the second electronic equipment in response to the operation of selecting the first identifier in the second interface. That is to say, the second electronic device may authorize the first electronic device corresponding to the selected identifier to display the received new message through the second electronic device through the identifier selection operation in the second interface. In this way, the user can select the first electronic device autonomously, and the experience is better.
In one possible design, the second electronic device authorizing the first electronic device to present the received new message on the second electronic device in response to the second operation, including: the second electronic device responds to the second operation and sends a second request to the first electronic device, wherein the second request is used for requesting the first electronic device to display a new message through the second electronic device; after receiving the consent indication of the first electronic device, the second electronic device authorizes the first electronic device to present the received new message on the second electronic device. In this way, when the user authorizes the first electronic device to display the new message received by the user on the second electronic device through the first electronic device, the security is higher through the consent of the first electronic device.
In a possible design, after receiving the second request, the first electronic device displays a second prompt message, where the second prompt message is used to prompt whether to allow a new message of the first electronic device to be displayed through the second electronic device; and when receiving a user confirmation instruction, the first electronic equipment sends the agreement instruction to the second electronic equipment. In this way, when the user of the second electronic device authorizes the first electronic device to display the new message received by the first electronic device through the second electronic device, the security is higher after the user of the first electronic device agrees.
In one possible design, the new message is a new message for a first application; the second electronic device is a device, which allows presentation of a new message of the first application on the first electronic device, of one or more devices connected to the first electronic device. The first application may be any application in the first electronic device, such as an instant messaging application (e.g., sms, huayao instant messaging application, etc.).
In one possible design, a second application in the first electronic device receives a new message; the first electronic equipment sends a new message of the second application to third electronic equipment; the third electronic device is a device which allows a new message of the second application on the first electronic device to be shown in one or more devices connected with the first electronic device; the third electronic device displays a new message for the second application. Illustratively, the first electronic device is a mobile phone, and the mobile phone is connected with a notebook computer and a television. The notebook computer is authorized to display the new message of the instant messaging application on the mobile phone, and the television is authorized to display the system message on the mobile phone. Therefore, the mobile phone can display the new message of the instant messaging application through the notebook computer and display the system message through the television. That is, messages of different applications on the first electronic device are displayed through different external devices, for example, a new message of a more private application (for example, an instant messaging application) is displayed through a more private external device, and a new message of a less private application (for example, a system message) is displayed through a less private external device.
In one possible design, the new message includes: at least one of a notification message displayed on the lock screen interface, a notification message displayed in a pull-down notification bar or a pull-up notification bar, a notification message displayed in a status bar, and a notification message displayed in a message notification box. It should be noted that the above is an example of a new message, and other types of new messages may also be used, which is not an example in this application.
In one possible design, the second electronic device satisfies at least one of the following conditions:
accessing the same local area network with the first electronic equipment;
logging in the same user account with the first electronic equipment;
the distance between the first electronic equipment and the first electronic equipment is smaller than a first distance;
once connected to the first electronic device;
a new message for the first electronic device has been presented.
That is to say, the security of the second electronic device is higher, so that new messages received by the mobile phone can be prevented from being displayed on unauthorized devices, and the privacy of users can be protected.
In a second aspect, a cross-device information display method is further provided, and is applicable to a first electronic device. The first electronic equipment receives a new message; the first electronic equipment sends the new message to second electronic equipment; the second electronic device is a device authorized to present a new message of the first electronic device among one or more devices connected to the first electronic device.
In one possible design, the first electronic device detects a first operation; and the first electronic equipment authorizes the second electronic equipment to display a new message of the first electronic equipment in response to the first operation.
In one possible design, the first electronic device authorizing the second electronic device to present a new message of the first electronic device in response to the first operation includes: the first electronic equipment responds to a first operation and displays a first interface, wherein the first interface comprises a plurality of identifications, and the plurality of identifications comprise equipment identifications and/or account identifications; a first identifier of the plurality of identifiers corresponds to the second electronic device; and the first electronic equipment authorizes the second electronic equipment to display a new message of the first electronic equipment in response to the operation of selecting the first identifier.
In one possible design, the first electronic device authorizing the second electronic device to present a new message of the first electronic device in response to the first operation includes: the first electronic device responds to the first operation and sends a first request to the second electronic device, wherein the first request is used for requesting a new message allowing the first electronic device to be displayed on the second electronic device; and after the first electronic device receives the confirmation indication from the second electronic device, authorizing the second electronic device to display a new message of the first electronic device.
In one possible design, after the first electronic device receives a second request from the second electronic device, authorizing the second electronic device to present a new message of the first electronic device; the second request is used for requesting the first electronic equipment to display the received new message through the second electronic equipment.
In one possible design, authorizing the second electronic device to present a new message of the first electronic device after the first electronic device receives a second request from the second electronic device includes: after the first electronic device receives the first request, displaying second prompt information, wherein the second prompt information is used for prompting whether to allow a new message of the first electronic device to be displayed through the second electronic device; and when a confirmation instruction is received, authorizing the second electronic equipment to display a new message of the first electronic equipment.
In one possible design, the new message is a new message for a first application; the second electronic device is a device, which allows presentation of a new message of the first application on the first electronic device, of one or more devices connected to the first electronic device.
In one possible design, a second application in the first electronic device receives a new message; the first electronic equipment sends a new message of the second application to third electronic equipment; the third electronic device is a device which allows a new message of the second application on the first electronic device to be shown in one or more devices connected with the first electronic device; the third electronic device displays a new message for the second application.
In one possible design, the new message includes: at least one of a notification message displayed on the lock screen interface, a notification message displayed in a pull-down notification bar or a pull-up notification bar, a notification message displayed in a status bar, and a notification message displayed in a message notification box.
In one possible design, the second electronic device satisfies at least one of the following conditions:
accessing the same local area network with the first electronic equipment;
logging in the same user account with the first electronic equipment;
the distance between the first electronic equipment and the first electronic equipment is smaller than a first distance;
once connected to the first electronic device;
a new message for the first electronic device has been presented.
In a third aspect, a method for displaying cross-device information is also provided, which is suitable for a second electronic device. The second electronic equipment receives a new message sent by the first electronic equipment; the first electronic device is a device which is authorized to display the received new message on the second electronic device in one or more devices connected with the second electronic device; the second electronic device displays the new message.
In a possible design, after the second electronic device receives the first request sent by the first electronic device, authorizing the first electronic device to display the received new message through the second electronic device; the first request is for requesting permission to display a new message of the first electronic device on the second electronic device.
In one possible design, after the second electronic device receives the first request sent by the first electronic device, authorizing the first electronic device to present the received new message through the second electronic device includes: after receiving the first request, the second electronic device displays first prompt information, wherein the first prompt information is used for prompting whether to allow a new message of the first electronic device to be displayed on the second electronic device; and when a user confirmation instruction is received, authorizing the first electronic equipment to display the received new message through the second electronic equipment.
In one possible design, the second electronic device detects a second operation; and the second electronic equipment responds to the second operation and authorizes the first electronic equipment to display the received new message through the second electronic equipment.
In one possible design, the second electronic device, in response to the second operation, authorizing the first electronic device to present the received new message through the second electronic device includes: the second electronic equipment responds to the second operation and displays a second interface; the second interface comprises a plurality of identifications, the plurality of identifications comprise equipment identifications and/or account identifications, and a second identification in the plurality of identifications corresponds to the first electronic equipment; and the second electronic equipment authorizes the first electronic equipment to display the received new message through the second electronic equipment in response to the operation of selecting the first identifier in the second interface.
In one possible design, the second electronic device authorizing the first electronic device to present the received new message on the second electronic device in response to the second operation, including: the second electronic device responds to the second operation and sends a second request to the first electronic device, wherein the second request is used for requesting the first electronic device to display the received new message through the second electronic device; authorizing the first electronic device to present the received new message on the second electronic device after receiving the indication of consent from the first electronic device.
In one possible design, the new message is a new message for a first application; the second electronic device is a device, which is allowed to show a new message of the first application on the first electronic device, in one or more devices connected with the first electronic device.
In one possible design, a second application in the first electronic device receives a new message; the first electronic equipment sends a new message of the second application to third electronic equipment; the third electronic device is a device which allows a new message of the second application on the first electronic device to be shown in one or more devices connected with the first electronic device; the third electronic device displays a new message for the second application.
In one possible design, the new message includes: at least one of a notification message displayed on the lock screen interface, a notification message displayed in a pull-down notification bar or a pull-up notification bar, a notification message displayed in a status bar, and a notification message displayed in a message notification box.
In one possible design, the second electronic device satisfies at least one of the following conditions:
accessing the same local area network with the first electronic equipment;
logging in the same user account with the first electronic equipment;
the distance between the first electronic equipment and the first electronic equipment is smaller than a first distance;
once connected to the first electronic device;
a new message for the first electronic device has been presented.
In a fourth aspect, there is also provided a communication system, including: a first electronic device and a second electronic device;
the first electronic device includes: a processor; a memory; wherein the memory stores one or more computer programs comprising instructions which, when executed by the processor, cause the first electronic device to perform the steps of the first electronic device of the method as described in the first aspect above;
the second electronic device includes: a processor; a memory; wherein the memory stores one or more computer programs comprising instructions which, when executed by the processor, cause the second electronic device to perform the steps of the second electronic device in the method according to the first aspect.
In a fifth aspect, there is also provided an electronic device, including:
a processor, a memory, and one or more programs;
wherein the one or more programs are stored in the memory, the one or more programs comprising instructions which, when executed by the processor, cause the electronic device to perform the method steps as described in the second or third aspect above.
In a sixth aspect, there is also provided a computer readable storage medium for storing a computer program which, when run on a computer, causes the computer to perform the method of the first or second or third aspect.
A seventh aspect further provides a computer program product comprising a computer program which, when run on a computer, causes the computer to perform the method of the first or second or third aspect.
In an eighth aspect, there is also provided a graphical user interface on an electronic device, the electronic device having a display screen, a memory, and a processor configured to execute one or more computer programs stored in the memory, the graphical user interface comprising a graphical user interface displayed when the electronic device performs the method of the second or third aspect.
In a ninth aspect, an embodiment of the present application further provides a chip, where the chip is coupled with a memory in an electronic device, and is used to call a computer program stored in the memory and execute the technical solution of the first aspect, the second aspect, or the third aspect of the embodiment of the present application, and "coupled" in the embodiment of the present application means that two components are directly or indirectly combined with each other.
The beneficial effects of the second to ninth aspects are referred to in the beneficial effects of the first aspect, and are not repeated.
Drawings
Fig. 1 is a schematic diagram of a communication system according to an embodiment of the present application;
fig. 2 is a schematic diagram illustrating a connection between a mobile phone and other electronic devices according to an embodiment of the present application;
fig. 3A to fig. 3B are schematic diagrams illustrating a new message displayed by a mobile phone through an external device according to an embodiment of the present application;
fig. 4A to fig. 4B are schematic diagrams of an application scenario provided in an embodiment of the present application;
fig. 4C to fig. 4D are schematic diagrams of another application scenario provided in an embodiment of the present application;
fig. 5A to 5B are schematic diagrams of another application scenario provided in an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 7 is a schematic flowchart of a cross-device information displaying method according to an embodiment of the present application;
FIG. 8 is a diagram illustrating an authorized external device displaying a new message according to an embodiment of the present application;
fig. 9 is another schematic flowchart of a cross-device information displaying method according to an embodiment of the present application;
FIG. 10 is a diagram illustrating an authorized external device displaying a new message according to an embodiment of the present application;
fig. 11 is a schematic diagram illustrating a new message being displayed by a first electronic device through an external device according to an embodiment of the present application;
fig. 12 is a schematic flowchart of another cross-device information displaying method according to an embodiment of the present application;
fig. 13 is a schematic diagram illustrating an authorized external device locally displaying a new message according to an embodiment of the present application;
fig. 14A to 14B are schematic flowcharts illustrating another cross-device information displaying method according to an embodiment of the present application;
fig. 15 is a schematic diagram of an application scenario provided in an embodiment of the present application;
fig. 16 is a schematic flowchart of a cross-device camera invoking method according to an embodiment of the present application;
fig. 17 is a schematic interface diagram of an instant messaging application according to an embodiment of the present application;
18A-18B are schematic diagrams of a camera authorized to use an external device according to an embodiment of the present application;
fig. 19 is another schematic flow chart of a cross-device camera invoking method according to an embodiment of the present application;
fig. 20A-20B are schematic diagrams illustrating authorization of an external device to use a local camera according to an embodiment of the present application;
fig. 21 to 23 are schematic diagrams of a communication system according to an embodiment of the present application;
fig. 24 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The cross-device information display method is suitable for a communication system. Fig. 1 is a schematic diagram of a communication system according to an embodiment of the present application. The communication system comprises N electronic devices. N is an integer greater than or equal to 2. The electronic device may be a portable electronic device, such as a mobile phone, a tablet computer, a portable computer, a wearable device with a wireless communication function (e.g., a smart watch, smart glasses, a smart bracelet, or a smart helmet, etc.), and so on; or, the device can also be a vehicle-mounted device; or, the device can also be a desktop computer, an all-in-one machine and the like; or, the electronic equipment can also be smart home equipment such as a television, a sound box and the like, and in short, the type of the electronic equipment is not limited by the application.
The device types of the N electronic devices may be the same or different. For example, the N electronic devices are all mobile phones and are all tablet computers; or the N electronic devices include a mobile phone, a tablet computer, an all-in-one machine and the like. In fig. 1, 3 electronic devices are taken as examples, which are a mobile phone, a notebook computer and a television.
Applications (apps) in the N electronic devices may be the same or different. The application may include: communication type applications, video type applications, audio type applications, image capture type applications, and the like. The communication applications may include, for example, short message applications, open connections, and the like,
Figure BDA0003271219930000071
Figure BDA0003271219930000072
WhatsApp />
Figure BDA0003271219930000073
Figure BDA0003271219930000074
Figure BDA0003271219930000075
Photo sharing (Instagram), kakao>
Figure BDA0003271219930000076
Figure BDA0003271219930000077
And the like. The image capture class application may, for example, include a camera application (system camera or third party camera application). Video-like applications, which may include for example ≥ h>
Figure BDA0003271219930000078
Figure BDA0003271219930000079
Figure BDA00032712199300000710
Figure BDA00032712199300000711
Figure BDA00032712199300000712
Figure BDA00032712199300000713
And so on. Audio-like applications, for example, may include Google @>
Figure BDA00032712199300000714
Figure BDA00032712199300000715
Figure BDA00032712199300000716
And so on. The application mentioned in the embodiment of the present application may be an application installed when the electronic device leaves a factory, or an application downloaded from a network or acquired by another electronic device during the process of using the electronic device by a user. For example, inIn fig. 1, the mobile phone may include an instant messaging application and an image capturing application, and the like, and the television and the audio box may not include the instant messaging application and the image capturing application, and in short, the application does not limit that the same type of application must be included in the N electronic devices.
Connections can be established between the N electronic devices. Taking a mobile phone as an example, the mobile phone can establish connection with other devices. Illustratively, continuing with the example of the communication system shown in fig. 1, please refer to fig. 2 for understanding. As shown in fig. 2 (a), a home interface 201 is displayed on the mobile phone, and icons of various applications are included in the home interface 201. When the cellular phone detects a preset operation (e.g., an operation of sliding down from the upper direction of the screen of the main interface 201), the control center interface 202 shown in (b) of fig. 2 is displayed. The control center interface 202 includes a super terminal window 203. It should be noted that the name "super terminal" is merely an example, and may be replaced by another name, and the embodiment of the present application is not limited.
And the super terminal window 203 displays the identifications of the surrounding devices searched by the mobile phone. When an operation for the mark 204 in the super terminal window 203 is detected, an interface as shown in (c) in fig. 2 is displayed, the interface including: a television identifier 206, a notebook computer identifier 208 and a mobile phone identifier 207. Illustratively, each logo may be shown in the form of a bubble, the shape of which is not limited. The mobile phone identifier 207 is located in the middle, and other marks are located around the mobile phone identifier 207, and are used for representing that the devices around the mobile phone include a television and a notebook computer. Continuing with fig. 2 (c), assume that an operation is detected with respect to the tv identifier 206 (e.g., an operation of dragging the tv identifier 206 toward the cell phone identifier 207), a connection between the cell phone and the tv is established. At this time, the mobile phone displays an interface as shown in (d) of fig. 2, in which the tv identifier 206 and the mobile phone identifier 207 are displayed next to each other, representing that the mobile phone is connected to the tv. Assume that the connection between the mobile phone and the notebook computer is established when an operation of the user on the notebook computer identifier 208 (e.g., an operation of dragging the notebook computer identifier 208 to the mobile phone identifier 207) is detected. At this time, the mobile phone displays an interface as shown in (d) of fig. 2, in which the laptop id 208 and the mobile phone id 207 are displayed next to each other, representing that the mobile phone is connected to the laptop. In this way, the user can quickly and efficiently connect the mobile phone with one or more devices.
Continuing with fig. 2 (d) as an example, after the mobile phone establishes a connection with the television and the notebook computer, it can communicate with the television and the notebook computer. For example, the mobile phone may display the interface of the mobile phone through a television or a notebook computer, or may display a new message (e.g., a notification message received in a screen-locked state) received by the mobile phone through the television or the notebook computer. For convenience of description, one device refers herein to the presentation of a new message received by the device through another device as a cross-device message presentation.
Currently, there are two cross-device information presentation schemes as follows.
A first cross-device message display scheme is that a first application on a first electronic device receives a new message and is displayed by a second application on a second electronic device, where the second application and the first application need to be the same application. This approach requires the same application to be installed in both electronic devices (i.e., the message sender and the message receiver). Taking the example of (d) in fig. 2, after the mobile phone is connected to the television and the notebook computer, the short message application on the mobile phone receives the new message, and if the short message application is also installed on the television, the new message received by the mobile phone is displayed through the short message application on the television. If the short message application is not installed on the notebook computer, the notebook computer cannot display the new message received by the mobile phone.
The second cross-device message display scheme is that the first application on the first electronic device receives new information and displays the new information through the system message of the second electronic device. According to the scheme, the first application does not need to be installed in the message receiving end (namely the second electronic device), and the limitation that the same application needs to be installed in the message sending end and the message receiving end in the first scheme can be broken through. For example, taking fig. 2 (d) as an example, the mobile phone is connected to the television and the notebook computer, and when the short message application in the mobile phone receives a new message, the new message is displayed through the television and the notebook computer. For example, as shown in fig. 3A (a), the mobile phone is in a screen-locked state, and when the short message application in the mobile phone receives a new message, the new message is displayed through the television and the notebook computer, as shown in fig. 3A (b).
In the above two kinds of cross-device message display schemes, the problem of privacy disclosure of the user is not considered. For example, in fig. 3A, a new message received by the short message application on the mobile phone is displayed through the television, so that the new message is leaked to all people watching the television, and user experience is affected. In addition, in the second scheme, when the mobile phone is connected to multiple devices, a new message received by the mobile phone is displayed by the multiple devices (as shown in fig. 3A), privacy disclosure is more serious, and resources are wasted.
In order to solve the problem of user privacy disclosure, the embodiment of the application provides a cross-device message display method. In the method, when the first electronic device is connected with one or more devices and receives a new message, the new message can be displayed through the second electronic device. The second electronic device is a device of the one or more devices connected to the first electronic device that is authorized to present the new message of the first electronic device. For example, referring to fig. 3B, the mobile phone is connected to a notebook computer and a television. If the notebook computer is authorized to display the new message of the mobile phone and the television is not authorized to display the new message of the mobile phone, when the mobile phone receives the new message, the new message is displayed through the notebook computer, and the new message cannot be displayed on the television. By the method, the new message received by the first electronic equipment can be displayed only on the second electronic equipment authorized to display the new message of the first electronic equipment, and privacy disclosure of a user is avoided.
Wherein the second electronic device is a device authorized to present the new message of the first electronic device among the one or more devices connected to the first electronic device. It should be noted that before this, the second electronic device needs to be authorized to present a new message of the first electronic device. In the embodiment of the present application, a process (hereinafter, referred to as an authorization process) for authorizing a second electronic device to expose a first electronic device may be executed on the first electronic device, or executed on the second electronic device. Different application scenarios are described as examples below.
For example, fig. 4A is a schematic diagram of a first application scenario provided in the embodiment of the present application. The first application scenario is that the authorization process is executed on the first electronic device, and the first electronic device is a mobile phone.
As in fig. 4A (a), the cell phone displays a control center interface 202. The control center interface 202 includes a super terminal window 203. The super terminal window 203 includes a button 400 therein. When an operation for the button 400 is detected, the interface shown in (b) in fig. 4A is displayed. Included in the interface is an option 401 to allow notifications on the external device. It should be noted that, taking the example of opening the interface in fig. 4A (b) by triggering the button 400, it is understood that the interface in fig. 4A (b) may also be opened by other manners, for example, double-click operation or long-press operation at any position in the super terminal window 203, or opening by a voice instruction, and the like, and the embodiments of the present application are not necessarily examples.
With continued reference to fig. 4A (b), when option 401 is in the off state (e.g., button 402 is not selected), the handset only allows new messages received to be presented locally. When option 401 is on (e.g., button 402 is selected), the handset allows new messages to be received to be presented on the external device. Continuing with fig. 4A (b), with option 401 in the on state, the handset may display a list of devices. The device list includes the identification of the surrounding devices scanned by the mobile phone. Assuming that a first operation (e.g., an operation of selecting the television identifier) is detected for the television identifier, the handset authorizes the television to present the handset new message. As shown in fig. 4A (c) and (d), the handset receives the new message and displays the new message through the television.
In fig. 4A (b), the handset authorizes the tv set to present a new message of the handset in response to the selection of the tv set identifier. There is a possibility that the television set will be displayed as a passive receiving end when a new message from another device is received. In this case, the mobile phone authorizes the television to display the new message of the mobile phone in the foregoing, and it can be understood that the mobile phone allows the new message received by the mobile phone to be sent to the television. For unselected devices (e.g., laptop computers), the handset is not allowed to send new messages received locally to the device. In this way, although the device connected with the mobile phone is a passive receiving end, the mobile phone only sends a new message to the device (authorized device) selected by the user, and does not send the new message to the unselected device (unauthorized device), so that the privacy is better. In addition, in this way, the user only needs to select the second electronic device for displaying the new message of the first electronic device on the first electronic device, and the operation is convenient.
Optionally, for the sake of security, continuing to use (b) in fig. 4A as an example, the mobile phone responds to the selection operation of the tv identifier, temporarily displays a new message of the mobile phone on the unauthorized tv, and further performs a confirmation operation on the tv to complete the authorization process. For example, referring to fig. 4B (a), when the mobile phone detects an operation on the tv identifier (e.g., an operation of selecting the tv identifier), a request is sent to the tv to request that a new message of the mobile phone is allowed to be displayed on the tv. As shown in fig. 4B (B), after receiving the request, the tv may display a prompt message for prompting the user whether to allow a new message of the handset to be displayed on the tv. When the television set detects a confirmation instruction (such as an operation of clicking a "yes" button), an indication of consent may be returned to the handset, representing that a new message for the handset is allowed to be displayed on the television set. Thereafter, when the handset receives a new message, it is displayed by the television, as shown in fig. 4A (c) and (d). In this way, the user selects the second electronic device in the first electronic device and performs the confirmation operation on the second electronic device, so as to complete the authorization of the second electronic device, which is more secure.
In a first application scenario, a user may set on a mobile phone which external devices a new message of the mobile phone is displayed through. The new message may be any new message received by the mobile phone, such as a new message of a short message application, a new message of an instant messaging application, or a system new message (such as a system upgrade message), and the like. For example, taking fig. 4A (c) as an example, the mobile phone displays both the new message of the short message application and the new message of the system through the television. In this application scenario, after the user designates a new message on the mobile phone to be displayed by an external device, any new message received by the mobile phone may be displayed by the external device.
It will be appreciated that a wide variety of applications are included on the handset. In the embodiment of the application, the user can also set new messages of different applications on the mobile phone to be displayed through different external devices. In this way, for each application on the mobile phone, the external devices on which the new message of the application is displayed can be set, and the granularity is finer.
Illustratively, as in fig. 4C (a), the home interface is displayed on the mobile phone. The main interface comprises an icon of the short message application. When the operation of the icon for the short message application is detected, displaying an interface of the short message application as shown in (b) of fig. 4C. The interface includes a list of messages, and a control 403. When an operation for the control 403 is detected, an interface as shown in (C) in fig. 4C is displayed, in which a new message notification option is included. When an operation for a new message notification option is detected, an interface as shown in (d) in fig. 4C is displayed, which includes an option 404 to allow notification on the native device and an option 405 to allow notification on the external device. When option 405 is on (e.g., button 406 is selected), a list of devices is displayed, including the identity of the surrounding devices scanned by the handset. And if the identification that the user selects the television is detected, the mobile phone authorizes the television to display a new message of the short message application on the mobile phone. For example, as shown in fig. 4C (e), after receiving the new message of the short message application and the system new message, the mobile phone displays the new message of the short message application through the television, as shown in fig. 4C (d). It should be noted that, here, the interface shown in fig. 4C (d) is opened by the button 403 as an example, and of course, the interface shown in fig. 4C (d) may be opened in other manners, which is not limited in the embodiment of the present application.
Referring to fig. 4C and fig. 4A, in fig. 4C, a user may set which external devices the new message of a certain application on the mobile phone is displayed on. In fig. 4A, the user sets on which external devices the new message of the handset is presented. The two modes have different granularities, and the mode of fig. 4C has a finer granularity, so that new messages of different applications on the mobile phone can be displayed through different external devices.
Optionally, for the sake of security, continuing to use (d) in fig. 4C as an example, the mobile phone responds to the selection operation of the television identifier, temporarily displays a new message of the short message application on the mobile phone by the unauthorized television, and further needs to perform a confirmation operation on the television to complete the authorization process. Illustratively, as shown in fig. 4D (a), the handset sends a request to the television set in response to an operation directed to the television set identifier, for requesting permission to display a new message of the sms application on the television set. Optionally, as shown in fig. 4D (b), the television may display a prompt message for prompting the user whether to allow a new message of the sms application to be displayed on the television. When a confirmation instruction is received (for example, an operation of clicking a 'yes' button), an agreement instruction is returned to the mobile phone, a new message of the short message application on the mobile phone is allowed to be displayed on the television, and authorization is completed.
For example, fig. 5A is a schematic diagram of a second application scenario provided in the embodiment of the present application. The second application scenario is for example that the authorization process is executed on the second electronic device, and the second electronic device is a television.
As in (a) of fig. 5A, the main interface is displayed on the television. The main interface includes setting options. When an operation for setting the option is detected, an interface as shown in fig. 5A (b) is displayed, in which the external device message presentation authority setting option is included. When an operation of setting options for message presentation authority for the external device is detected, an interface as shown in (c) in fig. 5A is displayed, and the interface includes an option 501 allowing all external devices to present messages on the device and an option 502 allowing a specified external device to present messages on the device. When it is detected that option 501 is turned on (e.g., button 503 is selected), the television allows new messages for all external devices to be presented locally on the television. When it is detected that option 502 is turned on (e.g., button 504 is selected), the television displays a device list including the identities of the surrounding devices scanned by the television (including device identities or account identities). Assuming that an operation is detected for the handset identity (such as a selected operation of the handset identity), the television authorizes the handset to present the received new message locally on the television. For example, referring to (e) in fig. 5A, when the handset receives a new message, the new message is presented through the television set, as shown in (f) in fig. 5A.
In (c) in fig. 5A, the television grants the right of the new message to be displayed on the television in response to the selection operation of the mobile phone identifier. There is a possible situation that the mobile phone as a message sending end can send a new message to any device connected to the mobile phone, in this case, the foregoing gives the right of the new message to be displayed on the television, and it can be understood that the television allows the new message of the mobile phone to be displayed on the television. For the unselected device (e.g., notebook computer), the tv set does not allow the new message of the notebook computer to be displayed locally (e.g., the new message of the unselected device is not displayed even if the tv set receives the new message). In this way, the television only displays the new message of the device selected by the user, but not displays the new message of the unselected device, and the privacy is better. In addition, in this way, the user only needs to select the first electronic device capable of displaying the new message on the second electronic device, and the operation is convenient.
Optionally, for the sake of security, in (c) in fig. 5A, after the television responds to the selection operation of the mobile phone identifier, the right of the new message displayed on the television is not granted temporarily to the mobile phone, and the right may also be confirmed on the mobile phone to complete the authorization process. Illustratively, as shown in fig. 5B (a), the television set sends a request to the handset in response to a selection operation of the handset identifier, the request being for requesting the handset to present a new message via the television set. After receiving the request, the mobile phone may display a prompt message, as shown in fig. 5B (B), which is used to prompt the user whether to allow the new message of the mobile phone to be displayed on the television. Upon receiving a confirmation instruction (e.g., an operation of clicking a "yes" button), an agreement indication may be returned to the television set, representing agreement of the handset to present the received new message on the television set. In this way, the user selects the first electronic device in the second electronic device and confirms on the first electronic device to complete the authorization process, which is safer.
The following describes an electronic device related to the present application.
Referring to the electronic device, fig. 6 shows a schematic structural diagram of the electronic device 100. The electronic device 100 may be a message sender or a message receiver. As shown in fig. 6, the electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a Universal Serial Bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, a sensor module 180, a button 190, a motor 191, an indicator 192, a camera 193, a display screen 194, a Subscriber Identification Module (SIM) card interface 195, and the like.
Processor 110 may include one or more processing units, such as: the processor 110 may include an Application Processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a 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, among other things, a neural center and a command center of the electronic device 100. 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 the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. The memory may hold instructions or data that have just been used or recycled by the processor 110. If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Avoiding repeated accesses reduces the latency of the processor 110, thereby increasing the efficiency of the system.
The USB interface 130 is an interface conforming to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, or the like. The USB interface 130 may be used to connect a charger to charge the electronic device 100, and may also be used to transmit data between the electronic device 100 and a peripheral device. The charging management module 140 is configured to receive charging input from a charger. The power management module 141 is used to connect the battery 142, the charging management module 140 and the processor 110. The power management module 141 receives input from the battery 142 and/or the charge management module 140 and provides power to the processor 110, the internal memory 121, the external memory, the display 194, the camera 193, the wireless communication module 160, and the like.
The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, a modem processor, a baseband processor, and the like. The antennas 1 and 2 are used for transmitting and receiving electromagnetic wave signals. Each antenna in the electronic device 100 may be used to cover a single or multiple communication bands. Different antennas can also be multiplexed to improve the utilization of the antennas. For example: the antenna 1 may be multiplexed as a diversity antenna of a wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
The mobile communication module 150 may provide a solution including 2G/3G/4G/5G wireless communication applied to the electronic device 100. The mobile communication module 150 may include at least one filter, a switch, a power amplifier, a Low Noise Amplifier (LNA), and the like. The mobile communication module 150 may receive the electromagnetic wave from the antenna 1, filter, amplify, etc. the received electromagnetic wave, and transmit the electromagnetic wave to the modem processor for demodulation. The mobile communication module 150 may also amplify the signal modulated by the modem processor, and convert the signal into electromagnetic wave through the antenna 1 to radiate the electromagnetic wave. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the processor 110. In some embodiments, at least some of the functional modules of the mobile communication module 150 may be disposed in the same device as at least some of the modules of the processor 110.
The wireless communication module 160 may provide a solution for wireless communication applied to the electronic device 100, including Wireless Local Area Networks (WLANs) (e.g., wireless fidelity (Wi-Fi) networks), bluetooth (bluetooth, BT), global Navigation Satellite System (GNSS), frequency Modulation (FM), near Field Communication (NFC), infrared (IR), and the like. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2, performs frequency modulation and filtering processing on electromagnetic wave signals, and transmits the processed signals to the processor 110. The wireless communication module 160 may also receive a signal to be transmitted from the processor 110, perform frequency modulation and amplification on the signal, and convert the signal into electromagnetic waves through the antenna 2 to radiate the electromagnetic waves.
In some embodiments, antenna 1 of electronic device 100 is coupled to mobile communication module 150 and antenna 2 is coupled to wireless communication module 160 so that electronic device 100 can communicate with networks and other devices through wireless communication techniques. The wireless communication technology may include global system for mobile communications (GSM), general Packet Radio Service (GPRS), code division multiple access (code division multiple access, CDMA), wideband Code Division Multiple Access (WCDMA), time-division code division multiple access (time-division code division multiple access, TD-SCDMA), long Term Evolution (LTE), BT, GNSS, WLAN, NFC, FM, and/or IR technologies, etc. The GNSS may include a Global Positioning System (GPS), a global navigation satellite system (GLONASS), a beidou navigation satellite system (BDS), a quasi-zenith satellite system (QZSS), and/or a Satellite Based Augmentation System (SBAS).
The display screen 194 is used to display a display interface of an application, such as a viewfinder interface of a camera application. The display screen 194 includes a display panel. The display panel may adopt a Liquid Crystal Display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode (active-matrix organic light-emitting diode, AMOLED), a flexible light-emitting diode (FLED), a miniature, a Micro-oeld, a quantum dot light-emitting diode (QLED), and the like. In some embodiments, the electronic device 100 may include 1 or N display screens 194, N being a positive integer greater than 1.
The electronic device 100 may implement a shooting function through the ISP, the camera 193, the video codec, the GPU, the display 194, the application processor, and the like.
The ISP is used to process the data fed back by the camera 193. For example, when a photo is taken, the shutter is opened, light is transmitted to the camera photosensitive element through the lens, the optical signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing and converting into an image visible to naked eyes. The ISP can also carry out algorithm optimization on the noise, brightness and skin color of the image. The ISP can also optimize parameters such as exposure, color temperature and the like of a shooting scene. In some embodiments, the ISP may be provided in camera 193.
The camera 193 is used to capture still images or video. The object generates an optical image through the lens and projects the optical image to the photosensitive element. The photosensitive element may be a Charge Coupled Device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The light sensing element converts the optical signal into an electrical signal, which is then passed to the ISP where it is converted into a digital image signal. And the ISP outputs the digital image signal to the DSP for processing. The DSP converts the digital image signal into an image signal in a standard RGB, YUV and other formats. In some embodiments, electronic device 100 may include 1 or N cameras 193, N being a positive integer greater than 1.
The digital signal processor is used for processing digital signals, and can process digital image signals and other digital signals. For example, when the electronic device 100 selects a frequency bin, the digital signal processor is used to perform fourier transform or the like on the frequency bin energy.
Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 may play or record video in a variety of encoding formats, such as: moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, and the like.
The NPU is a neural-network (NN) computing processor, which processes input information quickly by referring to a biological neural network structure, for example, by referring to a transfer mode between neurons of a human brain, and can also learn by itself continuously. Applications such as intelligent recognition of the electronic device 100 can be realized through the NPU, for example: image recognition, face recognition, speech recognition, text understanding, and the like.
The internal memory 121 may be used to store computer-executable program code, which includes instructions. The processor 110 executes various functional applications of the electronic device 100 and data processing by executing instructions stored in the internal memory 121. The internal memory 121 may include a program storage area and a data storage area. Wherein, the storage program area can store an operating system, software codes of at least one application program (such as an Aichi art application, an instant communication application and the like), and the like. The data storage area may store data (e.g., captured images, recorded videos, etc.) generated during use of the electronic device 100, and the like. In addition, the internal memory 121 may include a high-speed random access memory, and may further include a nonvolatile memory, such as at least one magnetic disk storage device, a flash memory device, a universal flash memory (UFS), and the like.
The external memory interface 120 may be used to connect an external memory card, such as a Micro SD card, to extend the memory capability of the electronic device. The external memory card communicates with the processor 110 through the external memory interface 120 to implement a data storage function. For example, files such as pictures, videos, and the like are saved in an external memory card.
The electronic device 100 may implement audio functions via the audio module 170, the speaker 170A, the receiver 170B, the microphone 170C, the headphone interface 170D, and the application processor. Such as music playing, recording, etc.
The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, an ambient light sensor 180L, a bone conduction sensor 180M, and the like.
The keys 190 include a power-on key, a volume key, and the like. The keys 190 may be mechanical keys. Or may be touch keys. The electronic apparatus 100 may receive a key input, and generate a key signal input related to user setting and function control of the electronic apparatus 100. The motor 191 may generate a vibration cue. The motor 191 may be used for incoming call vibration cues, as well as for touch vibration feedback. For example, touch operations applied to different applications (e.g., photographing, audio playing, etc.) may correspond to different vibration feedback effects. The touch vibration feedback effect may also support customization. Indicator 192 may be an indicator light that may be used to indicate a state of charge, a change in charge, or a message, missed call, notification, etc. The SIM card interface 195 is used to connect a SIM card. The SIM card may be brought into and out of contact with the electronic device 100 by being inserted into the SIM card interface 195 or being pulled out of the SIM card interface 195.
It is to be understood that the components shown in fig. 6 are not to be construed as specifically limiting for electronic device 100, and that electronic device may include more or fewer components than shown, or some components may be combined, or some components may be split, or a different arrangement of components. In addition, the combination/connection relationship between the components in fig. 6 may also be modified.
The cross-device message display scheme provided by the embodiment of the application is described in detail below with reference to the accompanying drawings.
Example one
Fig. 7 is a flowchart illustrating a cross-device message display method according to an embodiment of the present application. The method may be applied to a communication system comprising a first electronic device and a second electronic device, the communication system being exemplarily shown in fig. 1. The method comprises the following steps:
and S701, connecting the first electronic device with the second electronic device.
Illustratively, the connection may be a wireless connection or a wired connection.
For example, the first electronic device is a mobile phone, and the second electronic device is a notebook computer or a television, please refer to fig. 2 for the connection process between the mobile phone and the notebook computer or the television, which will not be repeated herein for the sake of brevity.
S702, the first electronic device receives a new message.
Illustratively, the new message comprises a system level message or an application level message. The system level messages include system upgrade messages, alarm clock messages, low power alert messages, and the like. The application level message includes a message received by an application, such as an instant messaging application, for example, a short message application, a WeChat application, and the like.
Illustratively, the new message includes: at least one of a notification message displayed on the lock screen interface, a notification message displayed in a pull-down notification bar or a pull-up notification bar, a notification message displayed in a status bar, and a notification message displayed in a message notification box. The message notification box may appear in the display interface in the form of a pop-up box, for example, as follows: a banner notification; the message notification box may be suspended on the display interface.
Optionally, before S702, the first electronic device may be in a screen-locked and blank state, or in a screen-locked and bright state, or a first interface is displayed, where the first interface may be a main interface or an interface of an application, and the like.
S703, the first electronic device determines whether the second electronic device is a device authorized to display the new message of the first electronic device.
Optionally, S703 may include at least one of the following mode 1 and mode 2.
Mode 1, when determining that the device identifier of the second electronic device exists in the device list, determining that the second electronic device is a device authorized to display the new message of the first electronic device. Stored in the device list is a device identification of a device authorized to present a new message of the first electronic device.
For example, the user authorizes the tv to display a new message of the mobile phone in the manner shown in fig. 4A. And the mobile phone stores the equipment identification of the television in the equipment list. When the user cancels the new message of the mobile phone to allow the new message to be displayed on the television (such as deselecting the television identifier in fig. 4A (b)), the device identifier of the television is deleted in the device list.
In the mode 2, when the current login account of the second electronic device is determined to exist in the account list, the second electronic device is determined to be a device authorized to display the new message of the first electronic device. Stored in the account list is an account authorized to present a new message of the first electronic device.
For example, the user may set on which account devices the new message of the first electronic device is allowed to be presented. For example, as shown in fig. 8 (a), the cell phone displays the control center interface 202. The control center interface 202 includes a super terminal window 203. The super terminal window 203 includes a button 400 therein. When an operation for the button 400 is detected, the interface shown in (b) in fig. 8 is displayed. Included in the interface is an option 401 to allow notifications on the external device. When option 401 is in an on state (e.g., button 402 is selected), a list of accounts is displayed. The account list includes the account identifications of the surrounding devices scanned by the mobile phone. Assuming that the user is detected to select the Tony identifier, the handset, upon receiving the new message, allows the new message to be presented via a device whose account is Tony. As shown in fig. 8 (c), after the mobile phone receives the new message, it is displayed through the device (e.g., notebook computer) whose account is Tony, as shown in fig. 8 (d). Therefore, an account list can be recorded in the mobile phone, and the account list stores the identification of the account which is set by the user and allows the new message of the mobile phone to be displayed. For example, in the manner shown in fig. 8, after the user sets a new message for the mobile phone to allow the account number Tony to be displayed on the device whose account number is Tony, the mobile phone stores the account number Tony in the account number list. When the user cancels the new message of the mobile phone and allows the account number to be displayed on a device with the Tony (for example, the Tony identifier in FIG. 8 (b) is deselected), the account number Tony is deleted from the account list. Therefore, after the first electronic device establishes a connection with the second electronic device in S701, the second electronic device may send the current login account of the second electronic device to the first electronic device. And the first electronic equipment judges whether the current login account of the second electronic equipment exists in the account list, if so, the new message is allowed to be displayed on the second electronic equipment, otherwise, the new message is not allowed to be displayed on the second electronic equipment.
S704, when the first electronic device determines whether the second electronic device is a device authorized to display the new message of the first electronic device, the first electronic device sends the new message to the second electronic device.
S705, the second electronic device displays the new message.
In the first embodiment, the user can set, on the first electronic device (message sender), which external devices the new message of the first electronic device is allowed to be presented on. By the method, the first electronic device is prevented from displaying the new message through any external device, and the privacy of the user is prevented from being revealed.
Example two
The difference between the second embodiment and the first embodiment is: in the first embodiment, the user sets on the first electronic device on which external devices the new message of the first electronic device is allowed to be presented. Once the new message for the first electronic device is set to be presented on the second electronic device, any new message for the first electronic device may be displayed on the second electronic device. In the second embodiment, the user can set a new message of a different application of the first electronic device on the first electronic device to be displayed on a different external device. For example, a new message of a first application on a first electronic device is displayed on a second electronic device, and a new message of a second application on the first electronic device is displayed on a third electronic device. Thus, example two is finer in particle size than example one.
Fig. 9 is a schematic flowchart of another cross-device message presentation method according to an embodiment of the present application. The method comprises the following steps:
s901, the first electronic device is connected to the second electronic device and the third electronic device.
Wherein S901 includes S901a and S901b. S901a, connecting a first electronic device with a second electronic device; s901b, the first electronic device is connected to a third electronic device. The execution order between S901a and S901b is not limited. Taking the first electronic device as a mobile phone, the second electronic device as a notebook computer, and the third electronic device as a television as an example, please refer to fig. 2 for the connection process between the mobile phone and the notebook computer and the television, which will not be repeated herein for the sake of brevity.
S902, the first application in the first electronic device receives a new message.
S903, the second application in the first electronic device receives the new message. The second application and the first application are different applications.
S904, the first electronic device determines that the second electronic device is a device authorized to display a new message of the first application on the first electronic device.
Optionally, S904 may include at least one of the following mode 1 and mode 2.
In the mode 1, when it is determined that the device identifier of the second electronic device has the device list, it is determined that the second electronic device is a device authorized to display the new message of the first application on the first electronic device. Stored in the device inventory is a device identification of a device authorized to present a new message for the first application on the first electronic device.
For example, in the manner shown in fig. 4C, after the user sets a new message of the short message application on the mobile phone to allow the new message to be displayed on the television, the mobile phone stores the identifier of the television in the device list. When the user cancels the new message of the short message application on the mobile phone and allows the new message to be displayed on the television (for example, the television identifier in fig. 4B (d) is deselected), the television identifier is deleted in the device list.
In the mode 2, when the current login account of the second electronic device is determined to exist in the account list, the second electronic device is determined to be a device authorized to display the new message of the first application on the first electronic device. Stored in the account list is an account authorized to present new messages of the first application on the first electronic device.
For example, the user may set which accounts the new messages of the first application on the first electronic device are allowed to be displayed on the corresponding devices. For example, taking the first electronic device as a mobile phone and the first application as a short message application in the mobile phone, as shown in fig. 10 (a), the main interface is displayed on the mobile phone. The main interface comprises an icon of the short message application. When an operation for an icon of the short message application is detected, an interface of the short message application is displayed, as shown in fig. 10 (b). The interface includes a list of messages and a button 403. When an operation for the button 403 is detected, an interface as shown in (c) in fig. 10, in which a new message notification option is included, is displayed. When an operation for a new message notification option is detected, an interface as shown in (d) in fig. 10 is displayed, which includes an option 404 to allow notification on the native device and an option 405 to allow notification on the external device. When the option 405 is in an on state (e.g., the button 406 is selected), a device list is displayed, which includes login accounts of the surrounding devices scanned by the mobile phone. Assuming that the user selects the account Tony, the mobile phone allows a new message of the short message application to be displayed through a device with the current login account Tony. For example, as shown in fig. 10 (e), after receiving the new message of the sms application and the new message of the system, the mobile phone displays the new message of the sms application through a device (e.g., a television) with the current login account number of Tony, as shown in fig. 10 (d).
S905, the first electronic device sends the new message of the first application to the second electronic device.
And S906, the second electronic equipment displays a new message of the first application.
S907, the first electronic device determines that the third electronic device is a device authorized to present a new message of the second application on the first electronic device.
The first electronic device is connected with the second electronic device and the third electronic device. The third electronic device is different from the second electronic device, for example, one is a notebook computer and the other is a television. The second electronic device is a device authorized to present new messages of the first application on the first electronic device, and the third electronic device is a device authorized to present new messages of the second application in the first electronic device. Wherein the first application and the second application are different applications. For example, the first application is of a different type than the second application, the first application being an instant messaging application and the second application being another type of application (e.g., a system class application such as a clock, calendar, memo, etc.). In this way, new messages for different types of applications are exposed through different devices. Alternatively, the first application and the second application are user-specified applications, respectively, i.e., a new message for the user to set the first application is presented on the second electronic device, a new message for the user to set the second application is presented on the third electronic device, and so on.
Illustratively, the implementation principle of S907 is the same as that of S904, and the description is not repeated.
S908, the first electronic device sends a new message of the second application to the third electronic device.
S909, the third electronic device displays a new message of the second application.
For example, referring to fig. 11, a new message of the system on the mobile phone is displayed through the television, and a new message received by the instant messaging application or the short message application on the mobile phone is displayed through the notebook computer.
In the second embodiment, the user can set new messages of different applications of the first electronic device on the first electronic device to be displayed on different external devices, which is more flexible.
EXAMPLE III
The foregoing first and second embodiments are described from the perspective of the first electronic device (i.e., the message sender). The third embodiment is described from the perspective of the second electronic device (i.e., the message receiving end).
Fig. 12 is a schematic flowchart of a cross-device message presentation method according to an embodiment of the present application. The method comprises the following steps:
and S1201, connecting the first electronic device with the second electronic device.
S1202, the first electronic device receives a new message.
S1203, the first electronic device sends the new message to a second electronic device.
S1204, the second electronic device determines whether the first electronic device is a device authorized to display a new message on the second electronic device.
Wherein S1204 may include at least one of the following mode 1 or mode 2.
Mode 1, the second electronic device determines that the first electronic device exists in the device list, and determines that the first electronic device has the right to display the new message on the second electronic device. Stored in the device list is a device identification of the external device that is granted the right to display the new message locally on the second electronic device.
For example, after the user sets a new message allowing the mobile phone to be displayed on the television in the manner shown in fig. 5A, the television stores the identifier of the mobile phone in the device list. When the user deselects a new message that allows the handset to be presented on the television (e.g., deselects the handset identifier in fig. 5A (c)), the handset identifier is deleted in the device list.
And 2, the second electronic equipment determines that the first electronic equipment exists in the account list and determines that the first electronic equipment has the authority of displaying the new message on the second electronic equipment. The account list stores account identification of the external device which is granted with the permission of displaying the new message on the second electronic device local machine.
For example, the user may specify an account on the second electronic device that allows presentation of the new message on the second electronic device. For example, as shown in fig. 13 (a), a main interface is displayed on the television. The main interface includes setting options. When an operation for setting the option is detected, an interface as shown in fig. 13 (b) is displayed, in which the external device message presentation authority setting option is included. When an operation of setting options for message presentation authority for the external device is detected, an interface as shown in (c) in fig. 13 is displayed, and the interface includes an option 501 allowing all external devices to present a message on the device and an option 502 allowing a specified external device to present a message on the device. When it is detected that the option 502 is turned on (e.g., the button 504 is selected), the television displays an account list including login accounts of surrounding devices scanned by the television. Assuming that an operation of selecting the account Amy by the user is detected, the television allows a new message of a device of the account Amy to be displayed on the local television. For example, referring to (e) in fig. 13, when a device (e.g., a mobile phone) of the account Amy receives a new message, the new message is presented through a television, as shown in (f) in fig. 13.
S1205, if the second electronic device determines that the first electronic device is a device authorized to display a new message on the second electronic device, the new message is displayed.
The first to third embodiments may be implemented individually or in combination.
The first embodiment and the third embodiment are combined for example. Please refer to fig. 14A, which is a flowchart illustrating a cross-device message display method according to an embodiment of the present application. As shown in fig. 14A, the method includes:
and S1401, the first electronic device is connected with the second electronic device.
S1402, the first electronic device receives the new message. The new message may be any new message, such as a new message received by the first application in the first electronic device.
S1403, the first electronic device determines whether the second electronic device is a device authorized to display a new message of the first electronic device. If so, S1404 is performed.
And S1404, the first electronic device sends the new message to the second electronic device.
S1405, the second electronic device determines whether the first electronic device is a device authorized to present the new message on the second electronic device. If so, S1406 is performed.
And S1406, the second electronic device displays the new message.
When the first embodiment is combined with the second embodiment, the message sending end may perform a first judgment, for example, judge whether the message receiving end has the right to display the message of the message sending end, and the message receiving end may perform a second judgment, for example, judge whether the message sending end has the right to display the message on the message receiving end. In this way, the privacy of cross-device message display is further improved.
The second embodiment and the third embodiment are combined for example. Please refer to fig. 14B, which is a flowchart illustrating a cross-device message display method according to an embodiment of the present application. As shown in fig. 14B, the method includes:
s1501, the first electronic device is connected to the second electronic device and the third electronic device.
S1502, the first application in the first electronic device receives the new message.
S1503, the second application in the first electronic device receives the new message. The second application and the first application are different applications.
S1504, the first electronic device determines that the second electronic device is a device authorized to present a new message of the first application on the first electronic device.
S1505, the first electronic device sends a new message of the first application to the second electronic device.
S1506, the second electronic device determines whether the first electronic device is authorized to display the new message of the first application on the second electronic device. If so, S1507 is performed.
S1507, the second electronic device displays a new message of the first application.
S1508, the first electronic device determines that the third electronic device is a device authorized to present a new message of the second application on the first electronic device.
S1509, the first electronic device transmits a new message of the second application to the third electronic device.
S1510, the third electronic device determines whether the first electronic device is authorized to display the new message of the second application on the third electronic device. If so, S1511 is executed.
S1511, the third electronic device displays a new message of the second application.
Example four
In the foregoing first and second embodiments, the new message of the first electronic device may be displayed through the display screen of the second electronic device. In the third embodiment, the first application in the first electronic device may call other hardware of the second electronic device, such as a camera. The first application may be an application that needs to use a camera in the first electronic device, such as a camera application, an instant messaging application (for example, a video call function in the instant messaging application needs to use a camera), a social application (for example, a microblog, a small red book, and other published contents need to use a camera), and the like. In a third embodiment, when the first application in the first electronic device needs to use the camera, the camera of the second electronic device may be used.
For example, please refer to fig. 15, which is a schematic diagram of an application scenario provided in the fourth embodiment. The application scenario takes the first electronic device as a mobile phone, the second electronic device as a notebook computer, and the first application as an instant messaging application. The user A is working with a notebook computer, the mobile phone of the user A is placed on a desk, the mobile phone comprises an instant messaging application, and the instant messaging application can carry out video call. Assume that user B requests a video call with user a. After the user A uses the mobile phone to connect the call request of the user B, the mobile phone is placed on a desk to continue working with the notebook computer. At this time, according to a general scheme, since the user a places the mobile phone on the desktop, if the mobile phone a uses the rear camera, the rear camera is shielded by the desktop, and the mobile phone of the opposite side (i.e., the user B) sees black (because the camera of the user a is shielded by the desktop). According to the fourth technical scheme of the embodiment, the mobile phone of the user a can call the camera of the notebook computer, and the notebook computer can acquire the image of the user a because the user a is using the notebook computer. The notebook computer sends the collected image to the mobile phone of the user A, and the mobile phone of the user A sends the image to the user B, so that video call is realized. Therefore, the user A can see the user A without holding the mobile phone to face the user A, namely, the user B can see the user A, and the user experience is good.
First mode
Exemplarily, fig. 16 is a flowchart illustrating a cross-device interaction method provided in an embodiment of the present application. This flow is described by taking the application scenario of fig. 15 as an example. As shown, the process includes:
s1601, the first electronic device is connected with the second electronic device.
Illustratively, the first electronic device may be the mobile phone in fig. 15, and the second electronic device may be the notebook computer in fig. 15.
S1602, the first electronic device opens a first application.
The first application may be any application that needs to use a camera, such as an image capturing application (e.g., a camera application), or an instant messaging application (e.g., a WeChat application, a Huacheng application, etc.).
S1603, the first electronic device determines whether to allow the first application to use the camera of the second electronic device in response to an operation of the first application calling the camera.
Illustratively, taking an instant messaging application as an example, please refer to fig. 17, which is a chat interface with a contact (e.g., john) in the instant messaging application, and the operation for invoking the camera may be an operation of clicking a video call button 1701 in the chat interface.
Optionally, the determining, by the first electronic device in S1603, whether to allow the first application to use the camera of the second electronic device includes: when the second electronic device is a device which is specified by a user and allows the first application to use the camera thereof, and/or the current login account of the second electronic device is a user-specified account which allows the first application to use the camera thereof, determining to allow the first application to use the camera of the second electronic device.
Take the example where the second electronic device is a user-specified device that allows the first application to use its camera. For example, a user may set a camera on a first electronic device that allows the first application to use which external devices. As in fig. 18A (a), a home interface is displayed on the mobile phone. The main interface comprises an icon of the instant messaging application. The instant messaging application can be any application capable of video call, such as WeChat application, QQ and the like. When an operation for an icon of the instant messaging application is detected, an interface of the instant messaging application is displayed as in (b) of fig. 18A. The interface includes a setup option. When an operation for setting an option is detected, an interface as shown in (c) in fig. 18A is displayed, the interface including a camera call option. When an operation for a camera call option is detected, an interface as shown in (d) in fig. 18A is displayed, which includes an option 1801 to allow use of the native camera and an option 1802 to allow use of the external camera. When option 1802 is in the on state (e.g., button 1804 is selected), a device list is displayed, including the identity of the surrounding devices scanned by the cell phone. Assuming that the user is detected to select the identifier of the notebook computer, the mobile phone allows the instant messaging application to use the camera of the notebook computer. Illustratively, as in (e) of fig. 18A, the cell phone displays a chat interface with a contact (e.g., john) in an instant messaging application, and when an operation directed to the video call button 1805 is detected, an image is captured using a camera on the laptop, as in (f) of fig. 18A. After the camera on the notebook computer collects the image, the image is sent to the mobile phone, and the mobile phone displays the image as shown in (g) of fig. 18A. Therefore, the first electronic device stores a device list in which the external device specified by the user to allow the first application to use the camera is stored. For example, in fig. 18A (d), after the user selects the identifier of the notebook computer, the identifier of the notebook computer is stored in the device list. Therefore, the first electronic device may determine whether the second electronic device exists in the device list, and if so, determine to allow the first application to use the camera of the second electronic device, otherwise, determine not to allow the first application to use the camera of the second electronic device. It is understood that, continuing with the example in fig. 18A (d), when the user deselects the identifier of the notebook computer, the identifier of the notebook computer may be deleted from the device list.
Taking the example that the current login account of the second electronic device is an account for running the first application and using the camera thereof as a designated account. For example, a user may set on a first electronic device which accounts correspond to cameras on the device that the first application is allowed to use. As in (d) of fig. 18B, an option 1801 to allow use of the native camera and an option 1802 to allow use of the external camera are displayed on the cellular phone. When the option 1802 is in an on state (e.g., the button 1804 is selected), an account list is displayed, wherein the account list includes account ids of surrounding devices scanned by the mobile phone. Assuming that it is detected that the user selects the account number Tony, the mobile phone allows the first application to invoke a camera on a device with the current login account number Tony. Illustratively, as shown in fig. 18B (e), the instant messaging application on the mobile phone displays a chat interface with a contact (e.g., john), and when detecting an operation on the video call button 1805, an image is captured using a camera on a device (e.g., a notebook computer) with the current login account number of Tony, as shown in fig. 18B (f), and the image captured by the camera is displayed on the mobile phone, as shown in fig. 18B (g). Therefore, the first electronic device stores an account list in which the external device specified by the user to allow the first application to use the camera is stored. For example, in fig. 18B (d), after the user selects the account number Tony, the account number Tony is stored in the account number list. Therefore, the first electronic device may determine whether the current login account of the second electronic device exists in the account list, and if so, determine that the first application is allowed to use the camera of the second electronic device, otherwise, determine that the first application is not allowed to use the camera of the second electronic device. It is to be understood that, continuing with the example in fig. 18B (d), when the user deselects account number Tony, account number Tony may be deleted from the list of account numbers.
And S1604, when the first electronic device determines that the first application is allowed to use the camera of the second electronic device, sending an instruction to the second electronic device. The instruction is used for requesting to call the camera of the second electronic equipment.
And S1605, the second electronic equipment starts the camera to shoot images.
And S1606, the second electronic device sends the image to the first electronic device.
Second mode
Fig. 19 is another flowchart illustrating a cross-device interaction method according to an embodiment of the present application. This flow may be applicable to the application scenario shown in fig. 15. As shown, the process includes:
s1901, the first electronic device establishes a connection with the second electronic device.
S1902, the first electronic device opens a first application.
S1903, the first electronic device detects an operation of invoking the camera.
S1904, the first electronic device sends an instruction to the second electronic device. The instruction is used for requesting to call a camera on the second electronic device.
S1905, the second electronic device determines whether the local camera is allowed to be used by the first electronic device.
Wherein S1905 may include: and when the first electronic equipment is the equipment which is specified by the user and allows the camera of the local computer of the second electronic equipment to be used, and/or the current login account number of the first electronic equipment is the account number which is specified by the user and allows the camera of the local computer of the second electronic equipment to be used, determining that the camera of the local computer of the second electronic equipment is allowed to be used by the first electronic equipment.
Take the first electronic device as an example of a device that is specified by a user to allow use of the second electronic device's local camera. For example, a user may set on the second electronic device which external devices are allowed to use the second electronic device local camera. As shown in fig. 20A, (a) the notebook computer displays a desktop, and in response to a preset operation (e.g., a right mouse click operation), displays an interface as shown in fig. 20A, (b) the interface including an authority setting option for the external device to call the camera, (c) the interface as shown in fig. 20A including an option 2001 for allowing all external devices to use the local camera, and an option 2002 for allowing the external device to be specified to use the local camera, when an operation for the option is detected. When the option 2002 is in the on state (e.g., the button 2004 is selected), a device list is displayed, which includes the identifications of the surrounding devices scanned by the laptop. And if the mobile phone identification is detected to be selected by the user, allowing the mobile phone to use the local camera of the notebook computer. Illustratively, as in (e) of fig. 20A, the cell phone displays a chat interface with a contact (e.g., john) in an instant messaging application, and when an operation directed to the video call button 1805 is detected, an image is captured using a camera on the notebook computer, as in (f) of fig. 20A. After the camera on the notebook computer collects the image, the image is sent to the mobile phone, and the mobile phone displays the image, as shown in (g) of fig. 20A. Therefore, the second electronic device stores a device list in which the external device specified by the user to be allowed to use the local camera of the second electronic device is stored. For example, in fig. 20A (c), after the user selects the identifier of the mobile phone, the identifier of the mobile phone is stored in the device list. Therefore, the second electronic device may determine whether the first electronic device exists in the device list, and if so, determine that the local camera is allowed to be used by the first electronic device, otherwise, determine that the local camera is not allowed to be used by the first electronic device. It is to be understood that continuing with the example in fig. 20A (d), when the user deselects the identity of the handset, the identity of the handset may be deleted from the device list.
Taking the account number of the first electronic device which is currently logged in and is specified by the user to allow the camera of the second electronic device to be used as an example. For example, the user may use the local camera of the second electronic device for which account corresponding devices on the second electronic device are available. As shown in fig. 20B (c), the notebook computer displays an option 2001 allowing all external devices to use the local camera, and an option 2002 allowing a specified external device to use the local camera. When the option 2002 is in the on state (e.g., the button 2004 is selected), a list of accounts is displayed. If the fact that the user selects the account Amy is detected, the equipment part of which the current login account is the account Amy is allowed to use the camera of the local computer of the notebook computer. Illustratively, as shown in (d) and (e) of fig. 20B, the device (e.g., a mobile phone) whose current login account is the account Amy displays a chat interface with a contact (e.g., john) in an instant messaging application, and when an operation directed to the video call button 1805 is detected, a camera on a notebook computer is used to capture an image, as shown in (f) of fig. 20B. After the camera on the notebook computer collects the image, the image is sent to the mobile phone, and the mobile phone displays the image, as shown in (g) of fig. 20B.
And S1906, when the second electronic device determines that the camera of the second electronic device is allowed to be used by the first electronic device, the camera of the second electronic device is opened and images are collected.
S1907, the second electronic device transmits the image to the first electronic device.
The first mode and the second mode may be used alone or in combination, and the embodiments of the present application are not limited.
The cross-device message display method provided by the embodiment of the application can realize the new message authorization management strategies of different levels. Illustratively, as shown in fig. 21, various types of applications, such as a short message application, a system upgrade application, a stock market application, and the like, are included in the first electronic device. The first electronic device also includes a new message notification authorization management module that can implement different levels of new message authorization management policies. For example, a new message authorization management policy includes three levels: 1. an authorization management policy at a device level; 2. an application level authorization management policy; 3. account level authorization management policies.
1. For the device-level authorization management policy, please refer to the method 1 in the first embodiment, that is, which devices can be authorized by the first electronic device to display the new message of the first electronic device.
2. For example, a new message of the first application is presented through the second electronic device, and a new message of the second application is presented through the third electronic device.
3. Please refer to the method 2 in the first embodiment, which means that the first electronic device can authorize which devices of the account can display the new message of the first electronic device.
It should be noted that the foregoing has described the first embodiment and the second embodiment in detail, and the description is not repeated here for the sake of brevity.
Continuing with fig. 21, the second electronic device includes a message notification module for presenting the new message. Also included is a new message notification authorization management module that can implement different levels of new message authorization management policies. For example, a new message authorization management policy includes two levels: 1. an authorization management policy at a device level; 2. account level authorization management policies.
1. For the device-level authorization management policy, please refer to mode 1 in the third embodiment, that is, which devices are authorized by the second electronic device to present the new message received by the second electronic device on the second electronic device.
2. For the authorization management policy at the account level, please refer to the mode 2 in the third embodiment, that is, the second electronic device authorizes which account devices display the new message received by the account devices on the second electronic device.
Fig. 22 is a schematic diagram of a communication system according to an embodiment of the present application. The communication system comprises a first electronic device and a second electronic device. Various types of applications are included in the first electronic device, as well as a first cross-device message presentation framework. The second electronic equipment comprises a message display module used for displaying messages from other equipment; a second cross device message presentation framework is also included. The first cross-device message presentation framework and the second cross-device message presentation framework can realize communication between devices, such as wired or wireless communication and the like. Wherein, the first cross-device message presentation frame can also be called a client (client) cross-device message presentation frame; the second cross-device message presentation framework may also be referred to as a server-side (host) cross-device message presentation framework, and the name is not limited in this application.
Each application in the first electronic device may send registration information to the first cross-device message exposure frame, where the registration information is used to indicate that the application, receiving a new message, will send the new message to the first cross-device message exposure frame. Then each application, upon receiving the new message, will default to the first cross-device message exposure framework. The first cross-device message display frame is used for recording a first device list and/or a first account list. Wherein, the first device list stores the device identification of the external device authorized to display the new message of the first electronic device. And the account of the external equipment authorized to display the new message of the first electronic equipment is stored in the second account list. For the first device list and/or the first account list, please refer to the first embodiment. When a first cross-device message display frame receives a new message of an application, whether a second electronic device connected currently exists in a first device list or a current login account of the second electronic device exists in the first account list is judged, and if yes, the new message is sent to the second electronic device. Therefore, the first cross-device message display frame can judge whether the current connection device has the authority to display the new message of the first electronic device, and the privacy protection effect is achieved.
The second cross-device message display frame in the second electronic device is used for recording a second device list and/or a second account list. Stored in the second device manifest is a device identification of the external device that is granted the right to display new messages natively on the second electronic device. The account identification of the external device which is granted the permission to display the new message on the second electronic device local machine is stored in the second account list. For the second device list and/or the second account list, please refer to the third embodiment. After the second cross-device message display frame receives a new message from the first electronic device, whether the first electronic device is stored in the second device list or whether the current login account of the first electronic device exists in the second account list is judged, and if yes, the second cross-device message display frame displays the received new message through the message display module. Therefore, the second cross-device message display framework can judge which new messages of the external devices are allowed to be displayed on the second electronic device, and the safety is further improved.
For example, please refer to fig. 23, which is a schematic diagram of a communication system according to an embodiment of the present application. The communication system comprises a first electronic device and a second electronic device. The first electronic equipment comprises various applications needing to use a camera and a first cross-equipment message showing frame. The second electronic equipment comprises a camera and a second cross-equipment message display frame. The first cross-device message presentation framework and the second cross-device message presentation framework can realize communication between devices, such as wired or wireless communication and the like.
Each application in the first electronic device may send registration information to the first cross-device message display frame, where the registration information is used to indicate that the application will send a camera call instruction to the first cross-device message display frame. The first cross-device message display frame is used for recording a first device list and/or a first account list. The first device list stores device identifications of external devices allowing the first application in the first electronic device to use the camera. And the account of the external equipment allowing the first application in the first electronic equipment to use the camera is stored in the first account list. For the first device list and/or the first account list, please refer to the fourth embodiment. When the first cross-device message display frame receives an application camera call instruction, whether a second electronic device connected currently exists in a first device list or whether a current login account of the second electronic device exists in the first account list is judged, and if yes, the camera call instruction is sent to the second electronic device.
The second cross-device message display frame in the second electronic device is used for recording a second device list and/or a second account list. The second device list stores device identifiers of external devices allowed to use the local camera. And the account of the external equipment allowing to use the camera of the local equipment is stored in the second account list. For the second device list and/or the second account list, please refer to the fourth embodiment. After the second cross-device message display frame receives a camera call instruction from the first electronic device, whether the first electronic device is stored in the second device list or whether the current login account of the first electronic device exists in the second account list is judged, and if yes, the second cross-device message display frame starts a camera in the second electronic device based on the camera call instruction. And then, the second cross-device message display frame sends the image acquired by the camera to the first electronic device.
Based on the same concept, fig. 24 is a schematic structural diagram of an electronic device 2400 provided in an embodiment of the present application. The electronic device 2400 may be the first electronic device or the second electronic device in the foregoing. As shown in fig. 24, the electronic device 2400 may include: one or more processors 2401; one or more memories 2402; a communications interface 2403, and one or more computer programs 2404, which may be connected via one or more communications buses 2405. Wherein the one or more computer programs 2404 are stored in the memory 2402 described above and configured to be executed by the one or more processors 2401, the one or more computer programs 2404 comprising instructions. For example, the instructions may be used to perform the steps associated with the master device as in the corresponding embodiments above. The communication interface 2103 is used to enable communication between a first electronic device and a second electronic device, such as a transceiver.
Based on the same conception, the embodiment of the application also provides a communication system. The communication system comprises a first electronic device and a second electronic device. Illustratively, the first electronic device may be a mobile phone, a tablet computer, a PC, a watch, or the like having a display screen. The second electronic device may be a tablet computer, a PC, a television, or other large-screen device. The structure of the first electronic device and the second electronic device can be seen in fig. 24. For example, when the electronic device 2400 shown in fig. 24 is a first electronic device, the instructions of the one or more computer programs 2404, when executed by the processor, cause the electronic device 2400 to perform the steps of the first electronic device as previously described. When the electronic device 2400 shown in fig. 24 is a second electronic device, the instructions of the one or more computer programs 2404, when executed by the processor, cause the electronic device 2400 to perform the steps of the second electronic device as previously described.
In the embodiments provided in the present application, the method provided in the embodiments of the present application is described from the perspective of an electronic device (e.g., a first electronic device or a second electronic device) as an execution subject. In order to implement the functions in the method provided by the embodiments of the present application, the electronic device may include a hardware structure and/or a software module, and the functions are implemented in the form of a hardware structure, a software module, or a hardware structure and a software module. Whether any of the above functions is implemented as a hardware structure, a software module, or a combination of a hardware structure and a software module depends upon the particular application and design constraints imposed on the technical solution.
As used in the above embodiments, the terms "when 8230;" or "when 823030; after" may be interpreted to mean "if 8230;" or "after 8230;" or "in response to determining 8230;" or "in response to detecting 8230;", depending on the context. Similarly, the phrase "at the time of determination of \8230;" or "if (a stated condition or event) is detected" may be interpreted to mean "if it is determined 8230;" or "in response to the determination of 8230;" or "upon detection (a stated condition or event)" or "in response to the detection (a stated condition or event)" depending on the context. In addition, in the above-described embodiments, relational terms such as first and second are used to distinguish one entity from another entity without limiting any actual relationship or order between the entities.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
In the above embodiments, all or part of the implementation may be realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that includes one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), among others. The aspects of the above embodiments may all be used in combination without conflict.
It is noted that a portion of this patent application contains material which is subject to copyright protection. The copyright owner reserves the copyright rights whatsoever, except for making copies of the patent files or recorded patent document contents of the patent office.

Claims (28)

1. A cross-device information presentation method is applied to a communication system, wherein the communication system comprises a first electronic device and one or more devices connected with the first electronic device, and the method comprises the following steps:
the first electronic equipment receives a new message;
the first electronic equipment sends the new message to second electronic equipment; the second electronic device is a device authorized to present a new message of the first electronic device among one or more devices connected with the first electronic device;
the second electronic device displays the new message.
2. The method of claim 1, further comprising:
the first electronic device detects a first operation;
and the first electronic equipment authorizes the second electronic equipment to display a new message of the first electronic equipment in response to the first operation.
3. The method of claim 2, wherein authorizing, by the first electronic device in response to the first operation, the second electronic device to present a new message for the first electronic device comprises:
the first electronic equipment responds to a first operation and displays a first interface, wherein the first interface comprises a plurality of identifications, and the plurality of identifications comprise equipment identifications and/or account identifications; a first identifier of the plurality of identifiers corresponds to the second electronic device;
and the first electronic equipment authorizes the second electronic equipment to display a new message of the first electronic equipment in response to the operation of selecting the first identifier.
4. The method according to claim 2 or 3, wherein the first electronic device authorizes the second electronic device to present a new message of the first electronic device in response to the first operation, comprising:
the first electronic device responds to the first operation and sends a first request to the second electronic device, wherein the first request is used for requesting a new message allowing the first electronic device to be displayed on the second electronic device;
and after receiving the agreement indication of the second electronic equipment, authorizing the second electronic equipment to display a new message of the first electronic equipment.
5. The method of claim 4, further comprising:
after the second electronic device receives the first request, displaying first prompt information, wherein the first prompt information is used for prompting whether to allow a new message of the first electronic device to be displayed on the second electronic device;
and when receiving a user confirmation instruction, the second electronic equipment sends the agreement indication to the first electronic equipment.
6. The method of claim 1, further comprising:
the second electronic device detects a second operation;
and the second electronic equipment responds to the second operation and authorizes the first electronic equipment to display the received new message through the second electronic equipment.
7. The method of claim 6, wherein the second electronic device, in response to the second operation, authorizing the first electronic device to present the received new message through the second electronic device comprises:
the second electronic equipment responds to the second operation and displays a second interface; the second interface comprises a plurality of identifications, the plurality of identifications comprise equipment identifications and/or account identifications, and a second identification in the plurality of identifications corresponds to the first electronic equipment;
and the second electronic equipment authorizes the first electronic equipment to display the received new message through the second electronic equipment in response to the operation of selecting the first identifier in the second interface.
8. The method according to claim 6 or 7, wherein the second electronic device, in response to the second operation, authorizes the first electronic device to present the received new message on the second electronic device, comprising:
the second electronic device responds to the second operation and sends a second request to the first electronic device, wherein the second request is used for requesting the first electronic device to display a new message through the second electronic device;
after receiving the consent indication of the first electronic device, the second electronic device authorizes the first electronic device to present the received new message on the second electronic device.
9. The method of claim 8, further comprising:
after the first electronic device receives the second request, displaying second prompt information, wherein the second prompt information is used for prompting whether to allow a new message of the first electronic device to be displayed through the second electronic device;
and when receiving a user confirmation instruction, the first electronic equipment sends the agreement indication to the second electronic equipment.
10. The method according to any one of claims 1 to 9,
the new message is a new message for a first application; the second electronic device is a device, which allows presentation of a new message of the first application on the first electronic device, of one or more devices connected to the first electronic device.
11. The method of claim 10, further comprising:
a second application in the first electronic equipment receives a new message;
the first electronic equipment sends a new message of the second application to third electronic equipment; the third electronic device is a device which allows a new message of the second application on the first electronic device to be shown in one or more devices connected with the first electronic device;
the third electronic device displays a new message for the second application.
12. The method according to any one of claims 1 to 11,
the new message includes: at least one of a notification message displayed on the lock screen interface, a notification message displayed in a pull-down notification bar or a pull-up notification bar, a notification message displayed in a status bar, and a notification message displayed in a message notification box.
13. The method of any of claims 1-12, wherein the second electronic device satisfies at least one of the following conditions:
accessing the same local area network with the first electronic equipment;
logging in the same user account with the first electronic equipment;
the distance between the first electronic equipment and the first electronic equipment is smaller than a first distance;
once connected to the first electronic device;
a new message for the first electronic device has been presented.
14. A cross-device information display method is applicable to a first electronic device, and comprises the following steps:
the first electronic equipment receives a new message;
the first electronic equipment sends the new message to second electronic equipment; the second electronic device is a device authorized to present a new message of the first electronic device among one or more devices connected to the first electronic device.
15. The method of claim 14, further comprising:
the first electronic device detects a first operation;
and the first electronic equipment authorizes the second electronic equipment to display a new message of the first electronic equipment in response to the first operation.
16. The method of claim 15, wherein the first electronic device, in response to the first operation, authorizes the second electronic device to present a new message for the first electronic device, comprising:
the first electronic equipment responds to a first operation and displays a first interface, wherein the first interface comprises a plurality of identifications, and the plurality of identifications comprise equipment identifications and/or account identifications; a first identifier of the plurality of identifiers corresponds to the second electronic device;
and the first electronic equipment authorizes the second electronic equipment to display a new message of the first electronic equipment in response to the operation of selecting the first identifier.
17. The method of claim 15 or 16, wherein authorizing, by the first electronic device in response to the first operation, the second electronic device to present a new message for the first electronic device comprises:
the first electronic device responds to the first operation and sends a first request to the second electronic device, wherein the first request is used for requesting a new message allowing the first electronic device to be displayed on the second electronic device;
and after the first electronic equipment receives the agreement indication of the second electronic equipment, authorizing the second electronic equipment to display a new message of the first electronic equipment.
18. The method of claim 14, further comprising:
after the first electronic device receives a second request from the second electronic device, authorizing the second electronic device to display a new message of the first electronic device;
the second request is used for requesting the first electronic equipment to display the received new message through the second electronic equipment.
19. The method of claim 18, wherein authorizing the second electronic device to present a new message of the first electronic device after the first electronic device receives a second request from the second electronic device comprises:
after receiving the second request, the first electronic device displays second prompt information, wherein the second prompt information is used for prompting whether to allow a new message of the first electronic device to be displayed through the second electronic device;
and when a confirmation instruction is received, the first electronic equipment authorizes the second electronic equipment to display a new message of the first electronic equipment.
20. A cross-device information display method is applicable to a second electronic device, and comprises the following steps:
the second electronic equipment receives a new message sent by the first electronic equipment; the first electronic device is a device which is authorized to display the received new message on the second electronic device in one or more devices connected with the second electronic device;
the second electronic device displays the new message.
21. The method of claim 20, further comprising:
after the second electronic equipment receives the first request sent by the first electronic equipment, authorizing the first electronic equipment to display the received new message through the second electronic equipment;
the first request requests permission to display a new message of the first electronic device on the second electronic device.
22. The method of claim 21, wherein after the second electronic device receives the first request sent by the first electronic device, authorizing the first electronic device to present the received new message through the second electronic device comprises:
after the second electronic equipment receives the first request, displaying first prompt information, wherein the first prompt information is used for prompting whether to allow a new message of the first electronic equipment to be displayed on the second electronic equipment;
and when a user confirmation instruction is received, authorizing the first electronic equipment to display the received new message through the second electronic equipment.
23. The method of claim 21, further comprising:
the second electronic device detects a second operation;
and the second electronic equipment responds to the second operation and authorizes the first electronic equipment to display the received new message through the second electronic equipment.
24. The method of claim 23, wherein the second electronic device, in response to the second operation, authorizes the first electronic device to present the received new message through the second electronic device, comprising:
the second electronic equipment responds to the second operation and displays a second interface; the second interface comprises a plurality of identifications, the plurality of identifications comprise equipment identifications and/or account identifications, and a second identification in the plurality of identifications corresponds to the first electronic equipment;
and the second electronic equipment authorizes the first electronic equipment to display the received new message through the second electronic equipment in response to the operation of selecting the first identifier in the second interface.
25. The method of claim 23 or 24, wherein authorizing, by the second electronic device in response to the second operation, the first electronic device to present the received new message on the second electronic device comprises:
the second electronic device responds to the second operation and sends a second request to the first electronic device, wherein the second request is used for requesting the first electronic device to display the received new message through the second electronic device;
authorizing the first electronic device to present the received new message on the second electronic device after receiving the indication of consent from the first electronic device.
26. A communication system, comprising: a first electronic device and a second electronic device;
the first electronic device includes: a processor; a memory; wherein the memory stores one or more computer programs comprising instructions which, when executed by the processor, cause the first electronic device to perform the steps of the first electronic device of the method of any of claims 1 to 13;
the second electronic device includes: a processor; a memory; wherein the memory stores one or more computer programs comprising instructions which, when executed by the processor, cause the second electronic device to perform the steps of the second electronic device in the method of any of claims 1 to 13.
27. An electronic device, comprising:
a processor, a memory, and one or more programs;
wherein the one or more programs are stored in the memory, the one or more programs comprising instructions which, when executed by the processor, cause the electronic device to perform the method steps of any of claims 14 to 25.
28. A computer-readable storage medium for storing a computer program which, when run on a computer, causes the computer to perform the method of any one of claims 1 to 25.
CN202111101841.8A 2021-09-18 2021-09-18 Cross-device information display method and electronic device Pending CN115842930A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111101841.8A CN115842930A (en) 2021-09-18 2021-09-18 Cross-device information display method and electronic device
PCT/CN2022/112886 WO2023040555A1 (en) 2021-09-18 2022-08-16 Cross-device information display method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111101841.8A CN115842930A (en) 2021-09-18 2021-09-18 Cross-device information display method and electronic device

Publications (1)

Publication Number Publication Date
CN115842930A true CN115842930A (en) 2023-03-24

Family

ID=85575195

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111101841.8A Pending CN115842930A (en) 2021-09-18 2021-09-18 Cross-device information display method and electronic device

Country Status (2)

Country Link
CN (1) CN115842930A (en)
WO (1) WO2023040555A1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9792633B2 (en) * 2004-06-29 2017-10-17 Blake Bookstaff Method and system for intelligent processing of electronic information with cloud computing
CN105049329A (en) * 2015-07-08 2015-11-11 杭州木梢科技有限公司 Portable message pushing method in home environment and equipment control system
CN107171927B (en) * 2017-03-24 2021-12-24 联想(北京)有限公司 Information processing method and electronic equipment
CN115428413A (en) * 2020-02-19 2022-12-02 华为技术有限公司 Notification processing method, electronic equipment and system

Also Published As

Publication number Publication date
WO2023040555A1 (en) 2023-03-23

Similar Documents

Publication Publication Date Title
WO2021013158A1 (en) Display method and related apparatus
WO2021023032A1 (en) Device unlocking method and system, and related device
US9912660B2 (en) Apparatus for authenticating pairing of electronic devices and associated methods
CN114173204B (en) Message prompting method, electronic equipment and system
EP4113415A1 (en) Service recommending method, electronic device, and system
US20230422154A1 (en) Method for using cellular communication function, and related apparatus and system
WO2021036898A1 (en) Application activation method for apparatus having foldable screen, and related device
WO2021037146A1 (en) File sharing method and device for mobile terminal
WO2020150917A1 (en) Application permission management method and electronic device
WO2021253975A1 (en) Permission management method and apparatus for application, and electronic device
CN112130788A (en) Content sharing method and device
CN117014859A (en) Address book-based device discovery method, audio and video communication method and electronic device
EP4152780A1 (en) Content sharing method, apparatus and system
CN113946302B (en) Method and device for opening file
CN114692094A (en) Application program authority management method and electronic equipment
CN116340913A (en) Login method, electronic equipment and computer readable storage medium
WO2023040555A1 (en) Cross-device information display method and electronic device
CN116982042A (en) Flexible authorized access control method, related device and system
WO2021110115A1 (en) Event subscription method and electronic device
CN116056184A (en) Network access method, system, electronic equipment and storage medium
CN113688368A (en) Cross-device authentication method
CN114117367A (en) Data protection method and electronic equipment
US12028300B2 (en) Method, apparatus, and system for sending pictures after thumbnail selections
CN114697960B (en) Method and system for connecting external camera
WO2022267656A1 (en) Component access method and device, and computer-readable storage medium and chip

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