WO2022078295A1 - 一种设备推荐方法及电子设备 - Google Patents

一种设备推荐方法及电子设备 Download PDF

Info

Publication number
WO2022078295A1
WO2022078295A1 PCT/CN2021/123092 CN2021123092W WO2022078295A1 WO 2022078295 A1 WO2022078295 A1 WO 2022078295A1 CN 2021123092 W CN2021123092 W CN 2021123092W WO 2022078295 A1 WO2022078295 A1 WO 2022078295A1
Authority
WO
WIPO (PCT)
Prior art keywords
chat
user
prompt information
content
interface
Prior art date
Application number
PCT/CN2021/123092
Other languages
English (en)
French (fr)
Inventor
张丽
杜仲
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP21879339.6A priority Critical patent/EP4213489A4/en
Priority to US18/248,619 priority patent/US20230388407A1/en
Publication of WO2022078295A1 publication Critical patent/WO2022078295A1/zh

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. short messaging services [SMS] or e-mails
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B5/00Near-field transmission systems, e.g. inductive or capacitive transmission systems
    • H04B5/70Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes
    • H04B5/72Near-field transmission systems, e.g. inductive or capacitive transmission systems specially adapted for specific purposes for local intradevice communication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • H04M1/72412User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories using two-way short-range wireless interfaces
    • 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/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
    • 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/414Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance
    • H04N21/41407Specialised client platforms, e.g. receiver in car or embedded in a mobile appliance embedded in a portable device, e.g. video client on a mobile phone, PDA, laptop
    • 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/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4788Supplemental services, e.g. displaying phone caller identification, shopping application communicating with other users, e.g. chatting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72439User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for image or video messaging
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2250/00Details of telephonic subscriber devices
    • H04M2250/16Details of telephonic subscriber devices including more than one display unit

Definitions

  • the present application relates to the field of terminals, and in particular, to a device recommendation method and an electronic device.
  • users can share content such as audio, video or pictures with contacts in the form of chat messages in the chat app.
  • content such as audio, video or pictures
  • chat messages in the chat app.
  • user Jack uses the video APP to watch program A
  • the user Jack can jump to the chat APP through the sharing function in the video APP, and share the program A with the chat APP.
  • the message is sent to the contact Sam in the chat app.
  • the user Sam can receive a chat message 101 sent from the contact Jack in his chat APP, and the chat message 101 can display the relevant information of the program A in the video APP in the form of a card . If it is detected that the user (eg Sam) clicks on the chat message 101, as shown in (b) of FIG. Subsequently, if the user wishes to use another device to play the program A, the user can turn on the screen projection option 103 in the playback interface 102 to perform screen projection. For example, as shown in (c) of FIG. 1 , the mobile phone may display one or more screen-casting devices found in the device list 104 . After the user selects the corresponding screen projection device in the device list 104, the mobile phone can project the currently playing program A to the screen projection device selected by the user for playback.
  • chat message shared in the chat APP as the entrance to open the content in the chat message
  • the user needs to go through constant selection, and the mobile phone also needs to constantly switch apps and jump to the page accordingly.
  • the content in the chat message is opened in the desired device, which makes the presenting process of the content in the chat message relatively complicated.
  • the present application provides a device recommendation method and an electronic device. After receiving a chat message from a contact, the electronic device can quickly recommend a device for opening the relevant content in the chat message to a user, so that the presentation process of the content in the chat message is more convenient. Efficient and convenient.
  • the present application provides a device recommendation method, including: when a user uses a chat application to chat with a first contact, the first device may display a chat interface with the first contact, and the chat interface may include the first contact. Chat message; when the first chat message includes the first content, the first device can display first prompt information in the chat interface, and the first prompt information is used to recommend the second device to the user; in response to the user confirming the first prompt information For example, if the user clicks on the first prompt information, the first device can continue to display the second prompt information in the above chat interface, and the second prompt information is used to prompt the user to open the first content in the second device, that is, to the second device.
  • the user recommends using the second device to open the first content in the first chat message; further, in response to the user confirming the operation of the second prompt message, the user clicking on the second prompt message, etc., the first device may instruct the second device to open the first content. content.
  • the first device may present the second device (ie, the recommended device) related to the content in the chat message to the user. Subsequently, if it is detected that the user confirms to use the recommendation device, the first device may instruct the recommendation device to open the relevant content in the above chat message. In this way, the user takes the chat message in the chat application as the entry, and can quickly open the content of the chat message on the device recommended by the chat application, so that the content in the chat message can quickly complete the function of cross-device playback.
  • the content presentation process is also more efficient and convenient, improving the user experience.
  • the above-mentioned first chat message may be the last chat message in the chat interface.
  • the first chat message may be the last chat message sent by the contact.
  • the first chat message may be the last chat message sent by the user to the contact.
  • the first device stores correspondences between different types of content and different recommended devices; before the first device displays the second device recommended to the user in the chat interface, the method further includes: A device acquires one or more electronic devices associated with the first device, for example, one or more electronic devices that access the same communication network as the first device, or one or more electronic devices that log into the same account as the first device device; the first device may determine, according to the above-mentioned corresponding relationship, a second device corresponding to the first content in the first chat message from among the acquired one or more electronic devices.
  • the above-mentioned first content specifically includes video, audio, pictures, documents, or cards of a preset type (eg, video cards or music cards, etc.).
  • the above chat interface may include an input box for chat messages; wherein, the first device displaying the first prompt information in the chat interface includes: the first device may display the first prompt in the input box information, the first prompt information includes a preset symbol (for example, "@") and the identifier of the second device. That is, the first device can automatically input the first prompt information in the input box in the form of "@+device name", prompting the user to use the second device recommended this time to open the first content in the chat message.
  • the first device displaying the first prompt information in the chat interface includes: the first device may display the first prompt in the input box information, the first prompt information includes a preset symbol (for example, "@”) and the identifier of the second device. That is, the first device can automatically input the first prompt information in the input box in the form of "@+device name", prompting the user to use the second device recommended this time to open the first content in the chat message.
  • the method further includes: if it is detected that the input box has acquired the input focus within the first preset time, the first device determines that the user Confirm the above-mentioned first prompt information, and further, the first device may continue to display the above-mentioned second prompt information in the chat interface. In this way, the first prompt information recommended by the first device in the input box will not disturb the process of the user normally inputting the chat message in the input box.
  • the method further includes: if it is not detected that the input box has acquired the input focus within the first preset time, the first device may The above-mentioned first prompt information is hidden in the input box. In this way, the process of the first device presenting the recommended device to the user will not conflict with the process of the user chatting with the contact through the input box, and the user does not need to perform additional operations on the second device recommended by the first device to cancel this time.
  • the device recommendation process makes the human-computer interaction process more friendly.
  • the method further includes: if it is detected within the second preset time that the user clicks on the second prompt information or in the second prompt information If the confirmation button is pressed, the first device can determine that the user confirms the above-mentioned second prompt information, that is, the current device recommendation process is ended.
  • the method further includes: if it is not detected that the user clicks the second prompt information or the second prompt information within the second preset time the confirmation button, the first device hides the second prompt message in the chat interface, that is, the current device recommendation process ends.
  • the method before the first device instructs the second device to open the first content, the method further includes: the first device searches for the second device through a near field communication function (such as a Bluetooth function or an NFC function, etc.), indicating that The second device is located near the first device. At this time, the first device may instruct the second device to open the first content, so as to prevent the user from instructing the second device to open the first content in the first chat message due to misoperation.
  • a near field communication function such as a Bluetooth function or an NFC function, etc.
  • the above method further includes: if the first device does not search for the second device through the near field communication function, before instructing the second device to open the first content, the first device may first instruct the second device to open the first content.
  • the device displays third prompt information, where the third prompt information is used to prompt the user to determine to open the first content in the second device. If the user confirms the third prompt information in the second device, the first device may instruct the second device to open the first content to avoid the user instructing the second device to open the first content in the first chat message due to misoperation.
  • the present application provides a device recommendation method, including: when a user uses a chat application to chat with a first contact, the first device can display a chat interface with the first contact; in response to the user inputting in the chat interface
  • the preset operation (such as long press or input @), the first device can display a device recommendation list, the device recommendation list includes one or more electronic devices associated with the first device; further, in response to the user in the above-mentioned
  • the operation of selecting the second device in the device recommendation list the first device can display first prompt information, the first prompt information is used to prompt the user to use the second device to open one or more contents in the chat message; subsequently, in response to the user After confirming the operation of the first prompt message, the first device may instruct the second device to open one or more pieces of content.
  • the user can also manually trigger the first device in the chat interface to recommend to the user a recommended device related to the content in the chat message in the current chat interface, so that the content in the chat message can be more efficiently and conveniently presented on other devices middle.
  • the chat interface may include an input box for chat messages; wherein, the preset operation may be an operation of the user inputting a preset symbol (for example, "@") into the input box; wherein the first The device displays the device recommendation list, including: the first device jumps from the chat interface to the recommendation interface, and displays the above-mentioned device recommendation list in the recommendation interface. That is, if it is detected that the user inputs the preset symbol "@" into the input box, the first device can be triggered to jump to the recommendation interface to display one or more devices recommended for the user this time.
  • the preset operation may be an operation of the user inputting a preset symbol (for example, "@") into the input box
  • the first The device displays the device recommendation list, including: the first device jumps from the chat interface to the recommendation interface, and displays the above-mentioned device recommendation list in the recommendation interface. That is, if it is detected that the user inputs the preset symbol "@" into the input box, the first device can be triggered to jump to the recommendation
  • the first device displaying the first prompt information includes: the first device displays the first prompt information in the input box, and the first prompt information includes a preset symbol (for example, "@") and the second prompt information.
  • the first device can automatically input the first prompt information in the input box in the form of "@+device name", prompting the user to use the second device recommended this time to open the first content in the chat message.
  • the above chat interface may include a first chat message and a second chat message, the first chat message includes the first content, and the second chat message includes the second content; at this time, on the first device Before displaying the device recommendation list, the method further includes: the first device determines a first recommended device corresponding to the first content in one or more electronic devices associated with the first device; the first device is in one or more electronic devices associated with the first device; A second recommended device corresponding to the second content is determined among the plurality of electronic devices; at this time, the device recommendation list displayed by the first device includes the first recommended device and the second recommended device. That is, the first device can recommend to the user all the devices respectively associated with the contents of the multiple chat messages in the current chat interface.
  • first chat message and second chat message may be chat messages sent within the most recent preset time (for example, the last 24 hours), so as to ensure the timeliness of the device recommendation by the first device to the user .
  • the above-mentioned chat interface includes a third chat message, and the third chat message includes a third content; in this case, the above-mentioned preset operation may be a user's long-press operation on the third chat message; wherein,
  • the first device displays a device recommendation list, including: the first device displays a long-press menu in the chat interface, and the long-press menu includes the above-mentioned device recommendation list. That is, if it is detected that the user inputs a long-press operation to a chat message (eg, a third chat message) in the chat interface, the first device may be triggered to display one or more devices recommended for the user this time.
  • a chat message eg, a third chat message
  • the method further includes: the first device determines, in one or more electronic devices associated with the first device, a content corresponding to the third content The third recommended device; at this time, the device recommendation list displayed by the first device includes the third recommended device.
  • the method further includes: the first device displays a selection interface, the selection interface
  • the candidate item in the above-mentioned chat interface is the content contained in one or more chat messages; further, in response to the candidate item selected by the user in the selection interface, the first device may determine an item or an item to be played in the second device. multiple content. That is to say, the user can manually select the specific content to be played in the second device, which is not limited in this embodiment of the present application.
  • the present application provides an electronic device, comprising: a memory, a display screen and one or more processors; the memory, the display screen and the processor are coupled.
  • the electronic device may also include a touch sensor (the touch sensor and the display screen may be integrated into a touch screen), a mouse and other input devices.
  • the memory is used to store computer program codes, and the computer program codes include computer instructions; when the electronic device is running, the processor is used to execute one or more computer instructions stored in the memory, so that the electronic device executes the above-mentioned first aspect. Any one of the device recommendation methods.
  • the present application provides a computer-readable storage medium, including computer instructions, which, when the computer instructions are executed on the electronic device, cause the electronic device to execute any of the device recommendation methods described above.
  • the present application provides a computer program product that, when the computer program product runs on the above electronic device, enables the electronic device to execute any one of the device recommendation methods described above.
  • FIG. 1 is a schematic diagram of an application scenario of a screen projection method in the prior art
  • FIG. 2 is a schematic diagram 1 of the architecture of a recommendation system provided by an embodiment of the present application.
  • FIG. 3 is a second schematic diagram of the architecture of a recommendation system provided by an embodiment of the present application.
  • FIG. 4 is a schematic structural diagram 1 of an electronic device according to an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of an operating system of an electronic device according to an embodiment of the present application.
  • FIG. 6 is a schematic diagram 1 of an application scenario of a device recommendation method provided by an embodiment of the present application.
  • FIG. 7 is a second schematic diagram of an application scenario of a device recommendation method provided by an embodiment of the present application.
  • FIG. 8 is a schematic diagram 3 of an application scenario of a device recommendation method provided by an embodiment of the present application.
  • FIG. 9 is a fourth schematic diagram of an application scenario of a device recommendation method provided by an embodiment of the present application.
  • FIG. 10 is a schematic diagram 5 of an application scenario of a device recommendation method provided by an embodiment of the present application.
  • FIG. 11 is a sixth schematic diagram of an application scenario of a device recommendation method provided by an embodiment of the present application.
  • FIG. 12 is a seventh schematic diagram of an application scenario of a device recommendation method provided by an embodiment of the present application.
  • FIG. 13 is a schematic diagram 8 of an application scenario of a device recommendation method provided by an embodiment of the present application.
  • FIG. 14 is a schematic diagram 9 of an application scenario of a device recommendation method provided by an embodiment of the present application.
  • FIG. 15 is a tenth schematic diagram of an application scenario of a device recommendation method provided by an embodiment of the present application.
  • FIG. 16 is an eleventh schematic diagram of an application scenario of a device recommendation method provided by an embodiment of the present application.
  • FIG. 17 is a schematic diagram twelve of an application scenario of a device recommendation method provided by an embodiment of the present application.
  • FIG. 18 is a schematic diagram thirteen of an application scenario of a device recommendation method provided by an embodiment of the present application.
  • FIG. 19 is a fourteenth schematic diagram of an application scenario of a device recommendation method provided by an embodiment of the present application.
  • FIG. 20 is a fifteenth schematic diagram of an application scenario of a device recommendation method provided by an embodiment of the present application.
  • FIG. 21 is a sixteenth schematic diagram of an application scenario of a device recommendation method provided by an embodiment of the present application.
  • 22 is a schematic diagram seventeen of an application scenario of a device recommendation method provided by an embodiment of the present application.
  • FIG. 23 is a schematic diagram of an eighteenth application scenario of a device recommendation method provided by an embodiment of the present application.
  • FIG. 24 is a nineteenth schematic diagram of an application scenario of a device recommendation method provided by an embodiment of the present application.
  • FIG. 25 is a schematic diagram 20 of an application scenario of a device recommendation method provided by an embodiment of the present application.
  • FIG. 26 is a second schematic structural diagram of an electronic device according to an embodiment of the present application.
  • a device recommendation method provided by this embodiment of the present application can be applied to the recommendation system 200 .
  • the recommendation system 200 includes a first device 201, and the first device 201 is used to provide source data such as videos, audios, documents, links or pictures to be played.
  • the source data provided by the first device 201 may be stored locally in the first device 201, or the source data provided by the first device 201 may also be obtained by the first device 201 from a server or other devices.
  • the recommendation system 200 further includes one or more second devices 202 associated with the first device 201 .
  • the second device 202 may be a device located in the same communication network (eg, a Wi-Fi network) as the first device 201 .
  • the second device 202 may be a device that logs into the same account (eg, a Huawei account) as the first device 201 .
  • the above-mentioned first device 201 or second device 202 may specifically be a mobile phone, a tablet computer, a TV (also referred to as a smart screen, a large-screen device, etc.), a notebook computer, or an Ultra-mobile Personal Computer (Ultra-mobile Personal Computer).
  • UMPC Ultra-mobile Personal Computer
  • handheld computers netbooks
  • personal digital assistants Personal Digital Assistant, PDA
  • wearable electronic devices in-vehicle devices (also known as car devices), virtual reality devices, etc.
  • the embodiments of this application do not do anything to this limit.
  • the first device 201 can be installed with an application with a chat function (hereinafter referred to as a chat APP), and the user can use the chat APP to interact with chat objects such as friends, groups or strangers that have been added in the chat APP to exchange chat messages .
  • chat APP a chat function
  • users can also use the chat APP to interact with chat objects such as public accounts, robots, or small programs provided by the chat APP.
  • chat object of the user interacting with the chat message in the chat APP is uniformly referred to as a contact.
  • the first device 201 may select one or more of the second devices 202 according to the specific content of the chat message.
  • a recommended device suitable for opening the content, and the selected recommended device is recommended to the user in the chat APP, so that the user can use the recommended device recommended by the chat APP to open the relevant content in the chat message.
  • the first device 201 may determine the TV or tablet in the second device 202 as the recommended device.
  • the chat message contains audio or an audio link (eg, a music card)
  • the first device 201 may determine the speaker or car device in the second device 202 as the recommended device.
  • the second device 202 includes both a speaker and a TV
  • the first device 201 may also determine the speaker as the recommended device for audio content in the chat message, and the TV as the recommended device for video images in the chat message, that is, the recommended device
  • the equipment includes two devices, a speaker and a TV.
  • the chat APP may present the user with recommended devices related to the content in the chat message. Subsequently, if it is detected that the user confirms to use the recommended device (eg, a TV) recommended by the chat APP, the first device 201 may instruct the TV to open the relevant content in the above chat message. In this way, the user can use the chat message in the chat APP as an entry, and can quickly open the content of the chat message on the device recommended by the chat APP, so that the content in the chat message can quickly complete the function of cross-device playback, and improve the user's experience. Use experience.
  • the recommended device eg, a TV
  • the above-mentioned recommendation system 200 may further include one or more servers 203 .
  • the first device 201 may query the server 203 for one or more second devices 202 associated with the first device 201 .
  • the chat message contains a video link (eg, a video card) or an audio link (eg, a music card)
  • the first device 201 may also obtain the corresponding video or audio from the server 203 .
  • the first device 201 may also send an instruction message to the server 203 to instruct the server 203 to send and play the relevant information in the chat message to the TV.
  • Content instructions can send an instruction to play the relevant content in the chat message to the TV in response to the instruction message, so that the content in the chat message can be played across devices.
  • the method for the first device 201 to prompt the user to recommend a device according to the content in the chat message will be described in detail with reference to specific examples, so it will not be repeated here.
  • FIG. 4 shows a schematic structural diagram of the mobile phone.
  • the mobile phone may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, Speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, etc.
  • a processor 110 an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, an antenna 1, an antenna 2, a mobile communication module 150, a wireless communication module 160, an audio module 170, Speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, etc.
  • USB universal serial bus
  • the structures illustrated in the embodiments of the present invention do not constitute a specific limitation on the mobile phone.
  • the mobile phone may include more or less components than shown, or some components may be combined, or some components may be separated, or different component arrangements.
  • the illustrated components may be implemented in hardware, software, or a combination of software and hardware.
  • the processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, memory, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (NPU) Wait. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
  • application processor application processor, AP
  • modem processor graphics processor
  • graphics processor graphics processor
  • ISP image signal processor
  • controller memory
  • video codec digital signal processor
  • DSP digital signal processor
  • NPU neural-network processing unit
  • a memory may also be provided in the processor 110 for storing instructions and data.
  • the memory in the processor 110 is a cache memory. This 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. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
  • the wireless communication function of the mobile phone can be realized by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
  • Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals.
  • Each antenna in a cell phone can be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization.
  • the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
  • the mobile communication module 150 can provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the mobile phone.
  • the mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like.
  • the mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation.
  • the mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 .
  • at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
  • the wireless communication module 160 can provide applications on the mobile phone including wireless local area networks (WLAN) (such as wireless fidelity (Wi-Fi) networks), bluetooth (BT), global navigation satellite system ( global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), near field communication technology (near field communication, NFC), infrared technology (infrared, IR) and other wireless communication solutions.
  • WLAN wireless local area networks
  • BT wireless fidelity
  • GNSS global navigation satellite system
  • frequency modulation frequency modulation, FM
  • NFC near field communication technology
  • infrared technology infrared, IR
  • 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 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 .
  • the wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation
  • the antenna 1 of the mobile phone is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the mobile phone can communicate with the network and other devices through wireless communication technology.
  • the wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC , FM, and/or IR technology, etc.
  • the GNSS may include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou navigation satellite system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
  • global positioning system global positioning system, GPS
  • global navigation satellite system global navigation satellite system, GLONASS
  • Beidou navigation satellite system beidou navigation satellite system, BDS
  • quasi-zenith satellite system quadsi -zenith satellite system, QZSS
  • SBAS satellite based augmentation systems
  • the mobile phone realizes the display function through the GPU, the display screen 194, and the application processor.
  • the GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor.
  • the GPU is used to perform mathematical and geometric calculations for graphics rendering.
  • Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
  • Display screen 194 is used to display images, videos, and the like.
  • Display screen 194 includes a display panel.
  • the display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light).
  • LED diode AMOLED
  • flexible light-emitting diode flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on.
  • the handset may include 1 or N display screens 194, where N is a positive integer greater than 1.
  • the mobile phone can realize the shooting function through the ISP, the camera 193, the video codec, the GPU, the display screen 194 and the application processor.
  • the ISP is used to process the data fed back by the camera 193 .
  • the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye.
  • ISP can also perform algorithm optimization on image noise, brightness, and skin tone.
  • ISP can also optimize the exposure, color temperature and other parameters of the shooting scene.
  • the ISP may be provided in the camera 193 .
  • Camera 193 is used to capture still images or video.
  • the object is projected through the lens to generate an optical image onto the photosensitive element.
  • the photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor.
  • CMOS complementary metal-oxide-semiconductor
  • the photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal.
  • the ISP outputs the digital image signal to the DSP for processing.
  • DSP converts digital image signals into standard RGB, YUV and other formats of image signals.
  • the mobile phone may include 1 or N cameras 193 , where N is a positive integer greater than 1.
  • a digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the mobile phone selects the frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy, etc.
  • Video codecs are used to compress or decompress digital video.
  • a phone can support one or more video codecs.
  • the mobile phone can play or record videos in various encoding formats, such as: Moving Picture Experts Group (MPEG) 1, MPEG2, MPEG3, MPEG4, etc.
  • MPEG Moving Picture Experts Group
  • MPEG2 MPEG2, MPEG3, MPEG4, etc.
  • the external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the mobile phone.
  • the external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example to save files like music, video etc in external memory card.
  • Internal memory 121 may be used to store computer executable program code, which includes instructions.
  • the processor 110 executes various functional applications and data processing of the mobile phone by executing the instructions stored in the internal memory 121 .
  • the internal memory 121 may include a storage program area and a storage data area.
  • the storage program area can store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like.
  • the storage data area can store data (such as audio data, phone book, etc.) created during the use of the mobile phone.
  • the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like.
  • the mobile phone can implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, and an application processor. Such as music playback, recording, etc.
  • the audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
  • Speaker 170A also referred to as a “speaker” is used to convert audio electrical signals into sound signals.
  • the mobile phone can listen to music through the speaker 170A, or listen to hands-free calls.
  • the receiver 170B also referred to as "earpiece" is used to convert audio electrical signals into sound signals.
  • the voice can be received by placing the receiver 170B close to the human ear.
  • the microphone 170C also called “microphone” or “microphone” is used to convert sound signals into electrical signals.
  • the user can make a sound by approaching the microphone 170C through a human mouth, and input the sound signal into the microphone 170C.
  • the mobile phone may be provided with at least one microphone 170C.
  • the mobile phone may be provided with two microphones 170C, which in addition to collecting sound signals, may also implement a noise reduction function.
  • the mobile phone can also be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
  • the earphone jack 170D is used to connect wired earphones.
  • the earphone interface 170D can be the USB interface 130, or can be a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
  • OMTP open mobile terminal platform
  • CTIA cellular telecommunications industry association of the USA
  • the sensor module 180 may include a pressure sensor, a gyro sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, and the like.
  • the mobile phone may also include a charging management module, a power management module, a battery, a button, an indicator, and one or more SIM card interfaces, which are not limited in this embodiment of the present application.
  • the software system of the above mobile phone may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
  • the embodiments of the present application take an Android system with a layered architecture as an example to exemplarily describe the software structure of a mobile phone.
  • FIG. 5 is a block diagram of a software structure of a mobile phone according to an embodiment of the present application.
  • the layered architecture divides the software into several layers, and each layer has a clear role and division of labor. Layers communicate with each other through software interfaces.
  • the Android system is divided into four layers, which are, from top to bottom, an application layer, an application framework layer, an Android runtime (Android runtime) and a system library, and a kernel layer.
  • the application layer can include a series of application packages.
  • APPs applications
  • applications such as calls, memos, browsers, contacts, cameras, gallery, calendars, maps, Bluetooth, music, videos, and short messages can be installed in the application layer.
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer includes some predefined functions.
  • the application framework layer may include window managers, content providers, view systems, telephony managers, resource managers, notification managers, and the like.
  • the above-mentioned window manager is used for managing window programs.
  • the window manager can get the size of the display screen, determine whether there is a status bar, lock the screen, take screenshots, etc.
  • the above content providers are used to store and retrieve data and make these data accessible to applications.
  • the data may include video, images, audio, calls made and received, browsing history and bookmarks, phone book, etc.
  • Each display interface can consist of one or more controls.
  • controls may include interface elements such as icons, buttons, menus, tabs, text boxes, dialog boxes, status bars, navigation bars, and widgets.
  • the above-mentioned phone manager is used to provide the communication function of the mobile phone. For example, the management of call status (including connecting, hanging up, etc.).
  • the above resource managers provide various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
  • the notification manager described above enables applications to display notification information in the status bar, which can be used to convey notification-type messages, and can disappear automatically after a short stay without user interaction.
  • the notification manager is used to notify download completion, message reminders, etc.
  • the notification manager can also display notifications in the status bar at the top of the system in the form of graphs or scroll bar text, such as notifications of applications running in the background, and notifications on the screen in the form of dialog windows. For example, prompt text information in the status bar, send out a sound, vibrate, and flash the indicator light, etc.
  • the system library may include multiple functional modules. For example: layer integrator (SurfaceFlinger), media library (Media Libraries), 3D graphics processing library (eg: OpenGL ES), 2D graphics engine (eg: SGL) and so on.
  • SurfaceFlinger is used to manage the display subsystem and provides the fusion of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the 3D graphics processing library is used to implement 3D graphics drawing, image rendering, compositing, and layer processing.
  • 2D graphics engine is a drawing engine for 2D drawing.
  • Android Runtime includes core libraries and a virtual machine. Android runtime is responsible for scheduling and management of the Android system.
  • the core library consists of two parts: one is the function functions that the java language needs to call, and the other is the core library of Android.
  • the application layer and the application framework layer run in virtual machines.
  • the virtual machine executes the java files of the application layer and the application framework layer as binary files.
  • the virtual machine is used to perform functions such as object lifecycle management, stack management, thread management, safety and exception management, and garbage collection.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer at least includes a camera driver, an audio driver, a sensor driver, and the like, which are not limited in this embodiment of the present application.
  • a chat APP with a chat function is installed in the application layer of the mobile phone.
  • the chat APP can be a system-level application that comes with the mobile phone, or it can be a or and other third-party applications.
  • the chat APP in the mobile phone can recommend to the user an electronic device suitable for opening the relevant content in the chat message, so as to facilitate the user to use the electronic device recommended by the chat APP to open the content in the chat message.
  • the mobile phone may display a chat interface 601 with the contact Sara in the chat APP.
  • the chat APP can acquire the last chat message 602 sent by the contact Sara in the chat interface 601 in real time. Further, the chat APP can identify whether the chat message 602 contains preset target content such as video, audio, picture, document, or preset cards (such as video cards or music cards).
  • the correspondence between different target contents and recommended devices may be pre-stored in the mobile phone.
  • the corresponding recommended devices may include a TV and a tablet computer.
  • the corresponding recommended devices may include TVs, speakers, and car devices.
  • the target content is a sports and health card from a sports and health APP
  • the corresponding recommended device may include a TV.
  • the target content is a picture
  • the corresponding recommendation device may include a TV.
  • the corresponding recommended device may include a printer. That is, according to the characteristics of each type of target content, a recommendation device suitable for presenting the target content is provided for each type of target content.
  • the corresponding relationship shown in Table 1 may be pre-stored in the mobile phone when the mobile phone leaves the factory.
  • the mobile phone may also obtain the above correspondence from the server.
  • the mobile phone may also obtain the above-mentioned corresponding relationship from other electronic devices such as mobile phones, which is not limited in this embodiment of the present application.
  • the corresponding relationship shown in Table 1 may also be dynamically updated.
  • the server may record the operation records of the user in the multiple devices.
  • the server may set the recommended device corresponding to the audio as the car device in the above-mentioned corresponding relationship.
  • the server may set the priority of the car device to be higher than the priority of the speaker.
  • the server can send the updated correspondence between the target content and the recommended device to the mobile phone, so that the corresponding relationship stored in the mobile phone corresponds to the user's usage habits, thereby improving the accuracy and user experience when subsequently recommending the recommended device to the user. .
  • the mobile phone or server can also add new target content and recommended devices to the above-mentioned correspondence through some artificial intelligence algorithms, or delete old target content and recommended devices, or modify the recommended devices corresponding to the target content, etc.
  • This application implements The example does not impose any restrictions on this.
  • the chat APP in the mobile phone can determine by querying the above Table 1 that the recommended devices corresponding to the video A in the chat message 602 include: two types of TVs and tablet computers. Electronic equipment. The cell phone can then obtain one or more electronic devices currently associated with the cell phone. The one or more electronic devices associated with the mobile phone may be electronic devices that access the same communication network (eg, Wi-Fi network) as the mobile phone, or may be electronic devices that log into the same account as the mobile phone.
  • the same communication network eg, Wi-Fi network
  • the mobile phone can obtain from the server the electronic devices that are logged into the same account as the mobile phone, including: a TV 1 , a speaker 1 , a printer 1 and an air purifier 1 .
  • the mobile phone can search for two types of electronic devices, namely the TV and the tablet computer, in the TV 1 , the speaker 1 , the printer 1 and the air purifier 1 .
  • the chat APP in the mobile phone can display the TV 1 as the recommended device in the input box 603 of the chat interface 601.
  • the mobile phone may find multiple electronic devices that can be recommended to the user as recommended devices from the electronic devices currently logged into the same account as the mobile phone. For example, if the mobile phone, TV 1 and tablet computer 1 all log into the same account, the mobile phone can determine that the recommended devices corresponding to video A in the chat message 602 include TV 1 and tablet computer 1 according to the correspondence shown in Table 1. At this time, the mobile phone can select one of the TV 1 and the tablet computer 1 as the recommended device finally presented to the user. For example, the mobile phone may use the online devices in the TV 1 and the tablet computer 1 as the recommended devices that are finally presented to the user. For another example, the mobile phone may use devices that are frequently used in the TV 1 and the tablet computer 1 as the recommended devices that are finally presented to the user, which is not limited in this embodiment of the present application.
  • the chat APP can automatically recommend and chat to the user in the input box 603 based on the last chat message sent by the contact Sara (for example, the above chat message 602 ). Recommended devices that match the video content in message 602. Subsequently, the user can use the recommended device recommended by the chat APP to open the video A in the chat message 602 based on the above-mentioned first prompt information 701 .
  • the chat APP inputs the first prompt information 701 to the input box 603, the input box 603 has not acquired the input focus (input focus).
  • the input box 603 gains the input focus.
  • the mobile phone can display a cursor in the input box 603 to prompt the user to input corresponding content into the input box 603 .
  • the mobile phone can display an input method keyboard in the chat interface 601, so that the user can use the input method keyboard to input corresponding content into the input box 603.
  • the chat APP may set to stay in the input box 603 for a preset time, for example, 3 seconds, after the above-mentioned first prompt information 701 is displayed in the input box 603 .
  • the first prompt message 701 does not detect that the user clicks on the input box 603 during the 3 seconds of staying in the input box 603, it means that the user may not need to use the recommended device recommended by the chat APP to play the above video A, and further, the chat APP can display the video A.
  • the first prompt information 701 in the input box 603 is hidden, and the user can normally use the input box 603 to input the chat message to be sent. In this way, the first prompt information 701 recommended by the chat APP in the input box 603 will not disturb the process of the user normally inputting the chat message in the input box 603 .
  • the chat APP can also display the above-mentioned first prompt information 701 in other positions of the chat interface 601.
  • the first prompt information 701 can be displayed near the input box 603, which is not limited in this embodiment of the present application.
  • the chat APP displays the above-mentioned first prompt information 701 in the input box 603, if the chat APP detects that the user clicks on the input box 603 before the first prompt information 701 is hidden in the input box 603, it means that the user may wish to use the recommended information of the chat APP.
  • the TV 1 plays the video content in the chat message 602 , and the chat APP can determine that the user has input an operation of confirming the first prompt message 701 .
  • the chat APP can also display second prompt information 801 in the chat interface 601.
  • the second prompt information 801 is used to prompt the user to play the video A on the recommended device (eg TV 1 ) found by the chat APP.
  • a confirmation button 802 may be set in the above-mentioned second prompt information 801 . If it is detected that the user clicks the confirm button 802 , it means that the user confirms to use the recommended device (ie, TV 1 ) to play the video A in the chat message 602 , and the chat APP can determine that the user has input the operation of confirming the second prompt message 801 . At this time, as shown in FIG. 9 , the mobile phone can instruct the TV 1 to play the video A in the chat message 602 .
  • the chat APP can also determine that the user has entered an operation to confirm the second prompt message 801 , and can also trigger the mobile phone to instruct the TV 1 to play the video A in the chat message 602 .
  • the mobile phone can establish a communication connection with the TV 1 according to the identification of the TV 1, and then the mobile phone can send the video A to the TV 1 through the screen projection function, and the TV 1 plays the video A.
  • the mobile phone can send a play request to the server, and the play request can include the logo of the TV 1 and the video A, and then the server can respond to the play request and send a play instruction to play the video A to the TV 1 according to the logo of the TV 1, so that The TV 1 can play the video A according to the play instruction.
  • the server may cache the playback instruction for a period of time (for example, for 7 days).
  • the server can send the buffered playback instruction to the TV 1.
  • the server can delete the cached play instruction and no longer send the above play instruction to the TV 1 .
  • the mobile phone when the mobile phone detects that the user clicks the above confirmation button 802 or clicks the second prompt information 801, the mobile phone can also search for nearby devices through a near field communication function such as Bluetooth or Wi-Fi according to the identification of the TV 1. Whether to include TV 1. For example, if the mobile phone searches through Bluetooth and finds that the identification of device 1 is the same as that of TV 1, it means that device 1 is TV 1, and TV 1 is located near the mobile phone. Correspondingly, if the mobile phone does not find the identification of the TV 1 through Bluetooth, it means that the TV 1 on which the user chooses to play the video A is not near the mobile phone at this time.
  • a near field communication function such as Bluetooth or Wi-Fi
  • the mobile phone can directly instruct the TV 1 to start playing the video A in the chat message 602 . If the TV 1 is not near the mobile phone, in order to prevent the user from instructing the TV 1 to play the video A in the chat message 602 due to misoperation, as shown in FIG. Video A of the phone. If the TV 1 receives the user's confirmation of playing the video A from the mobile phone, the TV 1 can start playing the video A in the chat message 602 .
  • the chat APP displays the second prompt information 801 in the above chat interface 601, if it is not detected within a period of time (for example, 5 seconds) that the user clicks the second prompt information 801 or the second prompt information 801
  • the confirmation button 802 in the APP indicates that the user may not need to use the recommended device recommended by the chat APP to play the above video A
  • the chat APP can hide the above-mentioned second prompt information 801 and the first prompt information 701, that is, cancel the current device recommendation process.
  • the chat APP displays the first prompt information 701 in the input box 603 of the chat interface 601, if it is detected that the user inputs any characters such as text, expressions, numbers, etc. into the input box 603, it means that the user clicks the input box.
  • the purpose of 603 is to input the chat message to be sent into the input box 603, instead of using the recommended device to play the video A in the chat message 602.
  • the chat APP can also hide the second prompt information 801 and the first prompt information 701, that is, cancel the current device recommendation process.
  • the chat APP recommends a recommended device (such as TV 1) to the user in the input box 603 as an example.
  • the chat APP can also recommend multiple recommended devices to the user in a combined manner. .
  • the video content in the above-mentioned chat message 602 is video-type content
  • the video content can be played in a way of cooperating with a TV and a speaker.
  • a TV can be used to play video footage from a video
  • speakers can be used to play audio from a video.
  • the mobile phone detects that the devices currently logged into the same account as the mobile phone include TV 1 and speaker 1, the mobile phone can recommend the combination of "TV 1 + speaker 1" to the user.
  • the chat APP can display the first prompt message of “@TV 1 and speaker 1” in the input box 603 of the chat interface 601 1101.
  • the chat APP can display the second prompt information 1102 in the chat interface 601 .
  • the second prompt information 1102 is used to prompt the user to use the TV 1 and the speaker 1 recommended by the chat APP to play the video A in cooperation.
  • the mobile phone can instruct the TV 1 to play the video picture in the above video A, and the mobile phone can instruct the speaker 1 to play the audio in the above video A.
  • the chat APP can also recommend multiple recommended devices to the user based on the target content in the chat message, and present the target content in the chat message to the user through the cooperation of the multiple recommended devices.
  • the target content in the chat message 602 is used as an example of video A. It is understood that when the target content in the chat message 602 is music, pictures or documents, etc., the chat APP can also be based on Table 1. For the shown corresponding relationship, the corresponding recommended device is recommended to the user according to the recommendation method provided in the above embodiment.
  • the chat message sent by the contact may further include chat messages of card types such as video cards, music cards, or health and sports cards. Chat messages of this card type generally come from the corresponding application, and the card generally carries a link to the corresponding content. Still taking the example of the user chatting with the contact Sara in the chat APP, as shown in FIG. 12 , after the chat APP receives the chat message 1201 from the contact Sara in the chat interface 601, the chat APP can identify that the chat message 1201 includes: The video card from the video APP, the video card carries the video link of the corresponding video in the video APP.
  • chat messages of card types such as video cards, music cards, or health and sports cards. Chat messages of this card type generally come from the corresponding application, and the card generally carries a link to the corresponding content.
  • the chat APP can determine that the recommended device corresponding to the video card is the TV 1 among the devices currently logged into the same account as the mobile phone. Still as shown in FIG. 12 , the chat APP can automatically input the first prompt information 1202 of "@TV1" in the input box 603 with the TV 1 as the recommended device.
  • the chat APP can display the second prompt information 1203 in the chat interface 601, which is used to prompt the user to use the chat APP.
  • Recommended TV 1 plays the video content in the video card.
  • the video link can be the link A used by the mobile phone when playing the video in the video card, or the link B when the TV 1 is playing the video in the video card.
  • the server receives the ID of TV 1 and the video link of the video card, if the video link is link B, the server can send a playback instruction to TV 1 according to the ID of TV 1, and the playback instruction can carry the above link B.
  • the TV 1 can open the corresponding video APP according to the link B in the playing instruction, and display the playing interface of the corresponding video in the video APP.
  • the server can first obtain the link B when the TV 1 plays the video in the video card. Furthermore, the server may carry the link B in the playback instruction and send it to the TV 1 . Similarly, after receiving the playback instruction sent by the server, the TV 1 can open the corresponding video APP according to the link B in the playback instruction, and display the playback interface of the corresponding video in the video APP.
  • the chat APP can also recommend a corresponding recommended device to the user based on the card type, so that the user can use the recommended device recommended by the chat APP to open the specific content in the card.
  • the chat APP can also continue to search for the contact Whether other messages sent by Sara contain the target content. That is to say, the chat APP can recommend to the user a recommended device that plays the content in the chat message based on the last chat message containing the target content sent by the contact Sara.
  • the chat APP may also recommend recommended devices to the user based on the chat message sent by the user (ie, the sender of the chat message). For example, as shown in FIG. 13 , no matter whether the last chat message 1301 in the chat interface 601 is sent by the user himself or the contact Sara, when the chat message 1301 contains the above target content, the chat APP can be based on the content in the chat message 1301. The target content of the device determines the corresponding recommended device, and presents the recommended device to the user.
  • the chat APP can also obtain the last chat message in the group that contains the target content, and dynamically recommend the corresponding recommended device to the user based on the chat message to open the target content, This embodiment of the present application does not impose any limitation on this.
  • the chat APP can no longer recommend the corresponding recommended device to the user, that is, the current device recommendation process is cancelled, so as to avoid the device recommendation process from disturbing the user's normal use of the chat APP chat process.
  • the chat APP can also obtain the chat messages sent by the contact Sara within a certain period of time.
  • a chat APP can obtain N chat messages sent by the contact Sara in the last 24 hours.
  • the N chat messages may be displayed in the current chat interface, or may not be displayed in the current chat interface.
  • the chat APP may determine one or more recommended devices to be recommended to the user this time based on the target content contained in the N chat messages.
  • the first chat message contains video A (the first chat message is displayed in the chat interface 601), and the second chat message contains music B (the first chat message is displayed in the chat interface 601). Two chat messages are not displayed in the chat interface 601).
  • the chat APP determines that the recommended device corresponding to the video A in the first chat message is TV 1, and the recommended device corresponding to the music B in the second chat message is the speaker 2, then the chat APP
  • the first prompt information 1302 can be automatically input in the input box 603 , and the first prompt information 1302 includes the TV 1 and the speaker 2 .
  • the chat APP can display two second prompt information, namely the second prompt information 1303 and the second prompt information 1304.
  • the second prompt information 1303 is used to prompt the user to play the video A on the TV 1
  • the second prompt information 1304 is used to prompt the user to play the music B on the speaker 2 .
  • the chat APP can trigger the mobile phone to instruct the TV 1 to play according to the above method.
  • Video A if it is detected that the user inputs an operation to confirm the second prompt information 1304, for example, clicks the second prompt information 1304 or clicks the operation of the confirm button in the second prompt information 1304, the chat APP can trigger the mobile phone to instruct the speaker 2 according to the above method. Play music B.
  • chat APP may also recommend a recommended device to the user based on the last chat message containing the target content sent by the contact Sara within a certain period of time, which is not limited in this embodiment of the present application.
  • the chat APP automatically recommends the corresponding recommended device to the user according to the chat message in the chat interface.
  • the user can also manually trigger the chat APP to recommend the corresponding recommended device to the user in the chat interface.
  • the chat interface 1401 includes an input box 1402 and a shortcut menu 1400 for inputting chat messages.
  • the shortcut menu 1400 may include a preset symbol, for example, the preset symbol is "@".
  • the preset symbol "@" 1403 can be used to associate with a certain contact or electronic device in the chat message.
  • the above-mentioned preset symbols may also be other characters, which are not limited in this embodiment of the present application.
  • the above-mentioned shortcut menu 1400 may also include one or more items such as a picture adding button, an expression adding button, or a positioning button.
  • the above-mentioned preset symbols may also be referred to as reminder symbols, and in subsequent embodiments, the reminder symbols are used as the above-mentioned preset symbols for illustrative description.
  • the chat APP may prompt the user with one or more corresponding recommended devices based on the chat message in the chat interface 1401. For example, after detecting that the user clicks the above-mentioned reminder symbol "@" 1403, the chat APP can identify the chat message containing the above-mentioned target content in the chat interface 1401. For example, the target content in the chat message 1404 is a video, the target content in the chat message 1405 is a music card, and the target content in the chat message 1406 is a picture.
  • the chat APP can determine, according to the correspondence, the recommended devices respectively corresponding to the above target contents among the electronic devices currently logged into the same account as the mobile phone.
  • the electronic devices currently logged into the same account as the mobile phone include: a TV 1 , a tablet computer 1 , a speaker 1 , and a printer 1 .
  • the recommended devices corresponding to videos include TV 1 and tablet computer 1
  • the recommended devices corresponding to music cards include TV 1 and speaker 1
  • the recommended devices corresponding to pictures include TV 1 .
  • the chat APP can display the TV 1 , the tablet computer 1 and the speaker 1 (ie, the above-mentioned set of recommended devices) as the recommended devices this time in the device recommendation list 1502 in the recommendation interface 1501 .
  • TV 1 not only corresponds to the video in the chat message 1404, but also corresponds to the music card in the chat message 1405, and also corresponds to the picture in the chat message 1406, indicating the matching degree between the TV 1 and the chat message in the chat interface 1401.
  • the chat APP can take TV 1 as the recommended device with the highest priority, and display TV 1 at the top of the device recommendation list 1502 , so that the user can select the device to be used in the device recommendation list 1502 .
  • the chat APP can still display the printer 1 in the device recommendation list 1502 .
  • the chat APP may display Printer 1 at the end of the device recommendation list 1502 .
  • those skilled in the art can also set the display order or display mode of each recommended device in the recommendation interface 1501 according to actual experience or actual application scenarios, which is not limited in this embodiment of the present application.
  • the aforementioned recommendation interface 1501 may also include options such as contacts in the chat APP, official accounts, or mini programs.
  • the chat APP can determine one or more corresponding recommended devices based on the chat message in the chat interface 1401 at this time, and prompt the determined recommended devices to users.
  • the preset reminder symbol "@" 1403 can trigger the chat APP to recommend to the user the content in the current chat interface.
  • the recommended device corresponding to the target content.
  • the chat APP can obtain chat messages within a preset time (eg 24 hours) from the currently saved chat records.
  • the chat message within the preset time may be a chat message displayed in the chat interface 1401 , or may be a chat message not displayed in the chat interface 1401 .
  • the chat APP can identify the chat message containing the target content among the chat messages within the preset time.
  • the chat APP may recommend the recommended device corresponding to the target content to the user according to the above method. In this way, the chat APP recommends the recommended device to the user based on the target content in the chat message within a certain period of time, thereby ensuring the timeliness of the recommended device recommended to the user.
  • the chat APP can also first acquire the chat messages displayed in the chat interface 1401, and select the chat messages that are within a preset time and include the target content among the acquired chat messages, and then report to the user based on the acquired chat messages.
  • a recommended device corresponding to the target content is recommended, which is not limited in this embodiment of the present application.
  • the chat APP displays the device recommendation list 1502 including the recommended devices this time in the recommendation interface 1501 , the user can select the device to be used this time in the device recommendation list 1502 .
  • the chat APP can jump from the recommendation interface 1501 back to the chat interface 1401, and chat The first prompt information 1604 of "@TV1" is automatically input in the input box 1402 of the interface 1401. If the user confirms to use the TV 1 to play the target content in the chat message, that is, confirms the first prompt message 1604, the user can click the send button 1503 of the chat message in the chat interface 1401.
  • the chat APP When the chat APP detects that the user clicks the send button 1503 of the chat message, as shown in (a) of FIG. 18 , the chat APP can display a dialog box 1601 .
  • the chat APP may prompt the user whether to determine whether to play the picture C on the TV 1, that is, the target content in the last chat message 1406 containing the target content. If it is detected that the user clicks the confirmation button in the dialog 1601, the mobile phone can instruct the TV 1 to play the picture C.
  • the mobile phone can send the picture C in the chat message 1406 to the TV 1, and the TV 1 displays the picture C.
  • the mobile phone can send the picture C in the chat message 1406 to the server, and the server sends the picture C in the chat message 1406 to the TV 1, and then the TV 1 can display the received picture C.
  • the chat APP may display a dialog 1602 .
  • the chat APP may prompt the user whether to determine whether to play video A (ie the video in the chat message 1404), music B (ie the music card in the chat message 1405) and picture C (ie the chat message 1406) on the TV 1 pictures in ). If it is detected that the user clicks the confirmation button in the dialog 1602, the mobile phone can instruct the TV 1 to play the above-mentioned video A, music B and picture C.
  • the chat APP can also display in the dialog 1603 that the video A is played on the TV 1, and the video A on the TV 1 is displayed on the TV 1 respectively. three options to play music B in TV 1 and picture C in TV 1. In this way, the user can select the specific content to be played on the TV 1 in the dialog 1603 .
  • the chat APP can also determine that the user has confirmed the above-mentioned first prompt information 1604 . Similar to the device recommendation method in the above embodiment, the chat APP can continue to display second prompt information similar to the second prompt information 801 shown in FIG. 8 in the chat interface 1401, and the second prompt information displayed at this time can be used The user is prompted to use the TV 1 to play one or more target contents in the chat interface 1401, which is not limited in this embodiment of the present application.
  • the chat APP can prompt the user whether to print the photos or documents in the relevant chat message in the corresponding dialog box or prompt information. That is to say, the chat APP can perform corresponding operations on the target content in the chat message according to the function of the recommended device, which is not limited in this embodiment of the present application.
  • the mobile phone can also instruct the TV 1 to display the above-mentioned dialog box.
  • the TV 1 may display the above-mentioned dialog 1601 to prompt the user whether to determine whether to play the picture C (ie, the picture in the chat message 1406 ) on the TV 1 .
  • the TV 1 may display the above-mentioned dialog 1601 to prompt the user whether to determine whether to play the picture C (ie, the picture in the chat message 1406 ) on the TV 1 .
  • the TV 1 may display the above-mentioned dialog 1601 to prompt the user whether to determine whether to play the picture C (ie, the picture in the chat message 1406 ) on the TV 1 .
  • the picture C ie, the picture in the chat message 1406
  • the TV 1 may display the above-mentioned dialog 1602 to prompt the user whether to determine whether to play video A (ie the video in the chat message 1404 ), music B (ie the chat message 1404 ) on the TV 1 music card in message 1405) and picture C (ie, the picture in chat message 1406). If the TV 1 receives that the user selects the confirmation button in the dialog 1601 (or the dialog 1602), the TV 1 can start playing the target content in the chat message received from the mobile phone or the server. In this way, it can be avoided that the user mis-operates the chat APP in the mobile phone to trigger the TV 1 to play the target content in the chat message.
  • the chat APP displays the device recommendation list 1502 in the above-mentioned recommendation interface 1501, if it detects that the user selects a device in the device recommendation list 1502, such as TV 1, as shown in FIG. 20 (a ), the chat APP can also jump to the selection interface 1801.
  • the chat APP can display one or more target contents contained in the identified chat message as candidates in the selection interface 1801 , and the user can select which target contents to open in the TV 1 in the selection interface 1801 . For example, if it is detected that the user selects two candidates, video A and picture C, in the selection interface 1801 , the chat APP can trigger the mobile phone to send the video A and the picture C to the TV 1 .
  • the chat APP can trigger the mobile phone to send the video A and the picture C to the TV 1 .
  • a prompt box 1802 may be displayed, and the prompt box 1802 prompts the user whether to determine whether to play the video A and the picture C on the TV 1 . If the TV 1 receives that the user selects the confirmation button in the prompt box 1802, the TV 1 can start playing the video A and the picture C.
  • the TV 1 may not be able to support playing the target content in all chat messages, for example, the TV 1 may not be able to play the target content of the document type.
  • the chat APP may not display the target content of the document type in the chat message in the above selection interface 1801 , that is, the chat APP may only display the target content in the chat message supported by the TV 1 in the above selection interface 1801 .
  • the chat APP can also display the target content of the document type in the chat message in the above-mentioned selection interface 1801, but the target content cannot be selected, that is, the target content is not selectable for the user.
  • the user can also trigger the chat APP to display more target content in the chat message by scrolling the selection interface 1801. In this way, the user can also select more target contents from the chat APP to play on the TV 1 .
  • the user triggers the chat APP to recommend the corresponding recommended device to the user by inputting the preset reminder symbol "@" in the chat interface. It can be understood that those skilled in the art can also design other interactive manners to trigger the chat APP to recommend the recommended device corresponding to the target content in the chat message to the user.
  • the chat APP can search for the recommended devices corresponding to the video A in the chat message 1404 among the devices currently logged into the same account as the mobile phone, including: TV 1 , TV 2 , and tablet computer 1 . Further, as still shown in (a) of FIG. 21 , the chat APP can display TV 1, TV 2 and Tablet PC 1 as three options in the long-press menu 1901.
  • a preset operation for example, a long-press operation
  • options such as favorite, forward, and delete can also be set in the long-press menu 1901, which is not limited in this embodiment of the present application. That is, the user can trigger the chat APP to recommend the recommended device corresponding to the target content in the chat message to the user by inputting a preset operation into the chat message.
  • the chat APP directly displays the found TV 1, TV 2 and Tablet PC 1 in the menu long press 1901 as three options.
  • the chat APP may also set an option for querying recommended devices in the long-press menu 1901 , for example, displaying an option of “recommended devices” in the long-press menu 1901 . If it is detected that the user selects the option of "recommended device”, the chat APP can display the secondary menu of the long-press menu 1901, and display the TV 1, TV 2 and tablet PC 1 found by the chat APP in the secondary menu. The user can choose which device to use to open the video A in the chat message 1404 in the secondary menu.
  • the chat APP can display a dialog 1902, and prompt the user in the dialog 1902 whether to Confirm that Video A is playing on TV 1. If it is detected that the user selects the confirmation button in the dialog box 1902 , the chat APP can trigger the mobile phone to send the video A to the TV 1 .
  • the mobile phone can send video A to TV 1 through the server, and TV 1 plays video A.
  • the chat APP can jump to the selection interface 2001 .
  • the selection interface 2001 includes one or more target contents contained in the chat message identified by the chat APP, and the user can select which target contents to open on the TV 1 in the selection interface 2001 .
  • the chat APP can display a dialog box 2002, and in the dialog box 2002, the user is prompted whether to confirm whether to confirm that the TV 1 Play Video A and Picture C in the middle. If it is detected that the user selects the confirmation button in the dialog box 2002, the chat APP can trigger the mobile phone to send the video A and the picture C to the TV 1, and the TV 1 plays the video A and the picture C.
  • the chat APP recommends the relevant recommendation device to the user to open the target content based on the target content such as video, picture or card in the chat message as an example.
  • the chat APP may also recommend relevant service content to the user based on the text information in the chat message.
  • the chat interface 2101 includes an input box 2102 and a preset reminder symbol "@" 2103. If it is detected that the user clicks on the reminder symbol "@" 2103, as shown in (b) of FIG. 23, the chat APP can jump to the reminder interface 2104, and the reminder interface 2104 can include the smart assistant (or Can be called a voice assistant), for example, the intelligent assistant "Xiaoyi" 2105.
  • the reminder interface 2104 may also include options such as contacts in the chat APP, official accounts, or mini programs.
  • the chat APP can jump back to the chat interface 2101 and extract the last chat message 2201 containing text in the chat interface 2101 .
  • the chat APP can automatically input “@ ⁇ +text content in the chat message 2201” into the input box 2102 .
  • the chat APP can call the application service of the intelligent assistant "Xiaoyi", and input the text content in the chat message 2201 into the application service of "Xiaoyi", so that the intelligent assistant "Xiaoyi” "Art” can query related service content according to the text content in the chat message 2201.
  • the text content in the chat message 2201 is "nearby food", then the intelligent assistant "Xiaoyi” can search for nearby food according to the text content. Subsequently, as shown in (b) in Figure 24, the intelligent assistant "Xiaoyi” can send the searched service content to the chat APP, and the chat APP can display the intelligent assistant to the user through the card 2202 (or floating window, etc.). One or more service contents searched by "Xiaoyi".
  • the user can select the specific service content to be sent to the contact in the card 2202 .
  • the chat APP can share the first service content 2203 to the chat interface 2101 in the form of a chat message.
  • the chat APP can obtain information such as links, texts, thumbnails, etc. of the first service content 2203 from the server, and assemble the information into cards and display them in the chat interface 2101 .
  • the chat APP can send the link, text, thumbnail image and other information of the first service content 2203 to the mobile phone of the contact Sam through the server, and the mobile phone of the contact Sam assembles the received information into a card and displays it on the corresponding mobile phone. in the chat interface.
  • the user can trigger the intelligent assistant "Xiaoyi” to provide the corresponding service content to the user according to the text information in the chat message through the "@" intelligent assistant "Xiaoyi" in the chat interface, so that the user can select one or more services Content is shared with contacts in the chat interface.
  • the interaction process between the user and the intelligent assistant "Xiaoyi" is invisible to the contacts in the chat interface.
  • the service content in the card 2202 provided by the intelligent assistant "Xiaoyi" to the user will not be displayed in the chat interface of the contact Sam.
  • the user can also interact with the intelligent assistant "Xiaoyi” while chatting with the contact in the chat APP, and the mobile phone does not need to switch applications or jump pages during the interaction process, so that the user can chat with the current user in the chat APP. Chat with the contacts of the smart assistant "Xiaoyi", and share the results of the interaction with the smart assistant "Xiaoyi" to the contacts to improve the user's chat experience.
  • the chat APP can automatically input the information of "@ ⁇ " into the chat In the input box 2102 of the interface 2101, but the last chat message 2201 containing text in the chat interface 2101 is not input into the input box 2102.
  • the user can continue to input text information that needs to be interacted with the intelligent assistant "Xiaoyi" into the input box 2102, such as "how is the weather today” and the like.
  • the chat APP can call the application service of the intelligent assistant "Xiaoyi", and enter the user's input box 2102 into the application service of "Xiaoyi" Enter the text content input to "Xiaoyi" in the input box 2102, so that the intelligent assistant "Xiaoyi” can query the relevant service content according to the text content input by the user in the input box 2102 and present it to the user.
  • the chat APP can automatically input the information of "@ ⁇ " into the chat interface 2101 In the input box 2102, and the chat APP can display the text information 2301 of the last chat message 2201 containing text in the chat interface 2101 near the input box 2102.
  • the chat APP can call the application of the intelligent assistant "Xiaoyi” service, enter text information 2301 into the application service of "Xiaoyi", so that the intelligent assistant "Xiaoyi” can query the relevant service content according to the text information 2301 and present it to the user.
  • the chat APP shares the first service content 2203 to the chat interface 2101 in the form of a chat message.
  • Both the sender (ie, the user) and the receiver (ie, the contact Sam) of the chat message can open the above-mentioned first service content 2203 by using the chat message as an entrance. For example, if it is detected that the user clicks on the first service content 2203 in the chat message, the chat APP can call the startActivity interface, and pass the link of the first service content 2203 into the startActivity interface as an input parameter, and then the startActivity interface can run according to the link The corresponding application is opened, and the corresponding first service content 2203 is opened in the application. Similarly, after receiving the chat message containing the first service content 2203, the contact Sam can also open the corresponding first service content 2203 according to the above method, which is not limited in this embodiment of the present application.
  • an embodiment of the present application discloses an electronic device, such as the mobile phone in the foregoing embodiment.
  • the electronic device may specifically include: a display screen 2607; one or more processors 2602; a memory 2603; a communication module 2608; one or more application programs (not shown); Connections may be through one or more communication buses 2605.
  • the one or more computer programs 2604 are stored in the aforementioned memory 2603 and configured to be executed by the one or more processors 2602, and the one or more computer programs 2604 include instructions that can be used to perform the aforementioned Relevant steps performed by the mobile phone in the embodiment.
  • the electronic device may further include a touch sensor 2606 (the touch sensor 2606 and the display screen 2607 may be integrated into a touch screen 2601), a mouse and other input devices.
  • Each functional unit in each of the embodiments of the embodiments of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit.
  • the above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium.
  • a computer-readable storage medium includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor to execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: flash memory, removable hard disk, read-only memory, random access memory, magnetic disk or optical disk and other media that can store program codes.

Landscapes

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

Abstract

本申请提供一种设备推荐方法及电子设备,涉及终端领域,电子设备在接收到联系人发来的聊天消息后可快速为用户推荐打开该聊天消息中相关内容的设备,使聊天消息中内容的呈现过程更为高效、便捷。该方法包括:第一设备显示与第一联系人的聊天界面,聊天界面中包括第一聊天消息;当第一聊天消息包括第一内容时,第一设备在聊天界面中显示第一提示信息,第一提示信息用于向用户推荐第二设备;响应于用户确认第一提示信息的操作,第一设备在聊天界面中显示第二提示信息,第二提示信息用于提示用户在第二设备中打开第一内容;响应于用户确认第二提示信息的操作,第一设备指示第二设备打开第一内容。

Description

一种设备推荐方法及电子设备
本申请要求于2020年10月12日提交国家知识产权局、申请号为202011085324.1、申请名称为“一种设备推荐方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端领域,尤其涉及一种设备推荐方法及电子设备。
背景技术
目前,用户在聊天APP中可通过聊天消息的形式与联系人分享音频、视频或图片等内容。例如,用户Jack使用视频APP观看节目A时,如果希望将节目A分享给聊天APP中的联系人Sam,则用户Jack可通过视频APP中的分享功能跳转至聊天APP中,将节目A以聊天消息的形式发送给聊天APP中的联系人Sam。
此时,如图1中的(a)所示,用户Sam在其聊天APP中可接收到来自联系人Jack发送的聊天消息101,聊天消息101可以卡片的形式显示视频APP中节目A的相关信息。如果检测到用户(例如Sam)点击聊天消息101,如图1中的(b)所示,手机可从聊天APP跳转至视频APP中节目A的播放界面102开始播放节目A。后续,如果用户希望使用其他设备播放节目A,用户可以打开播放界面102中的投屏选项103进行投屏。例如,如图1中的(c)所示,手机可以将搜索到的一个或多个投屏设备显示在设备列表104中。用户在设备列表104中选择相应的投屏设备后,手机可将正在播放的节目A投射至用户选中的投屏设备中播放。
可以看出,当用户以聊天APP中分享的聊天消息为入口打开聊天消息中的内容时,用户需要经过不断的选择,手机也相应的需要经过不断的切换应用、跳转页面,才能在用户所期望的设备中打开聊天消息中的内容,使得聊天消息中内容的呈现过程较为繁琐。
发明内容
本申请提供一种设备推荐方法及电子设备,电子设备在接收到联系人发来的聊天消息后可快速为用户推荐打开该聊天消息中相关内容的设备,使聊天消息中内容的呈现过程更为高效、便捷。
为达到上述目的,本申请采用如下技术方案:
第一方面,本申请提供一种设备推荐方法,包括:当用户使用聊天应用与第一联系人聊天时,第一设备可显示与第一联系人的聊天界面,该聊天界面中可以包括第一聊天消息;当第一聊天消息中包括第一内容时,第一设备可在聊天界面中显示第一提示信息,第一提示信息用于向用户推荐第二设备;响应于用户确认第一提示信息的操作,例如,用户点击第一提示信息等操作,第一设备可在上述聊天界面中继续显示第二提示信息,第二提示信息用于提示用户在第二设备中打开第一内容,即向用户推荐使用第二设备打开第一聊天消息中的第一内容;进而,响应于用户确认第二提示信息的操作,用户点击第二提示信息等操作,第一设备可指示第二设备打开第一内容。
也就是说,用户使用第一设备在聊天应用中接收到某一聊天消息后,第一设备可向用户呈现与聊天消息中的内容相关的第二设备(即推荐设备)。后续,如果检测到用户确认使用该推荐设备,则第一设备可指示推荐设备打开上述聊天消息中的相关内容。这样,用户以聊天应用中的聊天消息为入口,可以快速在聊天应用推荐的设备上打开该聊天消息中的内容,使得该聊天消息中的内容能够快捷的完成跨设备播放的功能,聊天消息中内容的呈现过程也更为高效、便捷,提高用户的使用体验。
在一种可能的实现方式中,上述第一聊天消息可以为聊天界面中的最后一条聊天消息。例如,第一聊天消息可以为联系人发来的最后一条聊天消息。又例如,第一聊天消息可以为用户发送给联系人的最后一条聊天消息。
在一种可能的实现方式中,第一设备存储有不同类型的内容与不同推荐设备之间的对应关系;在第一设备在聊天界面中显示向用户推荐的第二设备之前,还包括:第一设备获取与第一设备关联的一个或多个电子设备,例如,与第一设备接入同一通信网络的一个或多个电子设备,或者,与第一设备登录同一账号的一个或多个电子设备;第一设备可根据上述对应关系,在获取到的一个或多个电子设备中确定与第一聊天消息中的第一内容对应的第二设备。
在一种可能的实现方式中,上述第一内容具体包括视频、音频、图片、文档或预设类型的卡片(例如视频卡片或音乐卡片等)。
在一种可能的实现方式中,上述聊天界面中可以包括聊天消息的输入框;其中,第一设备在聊天界面中显示第一提示信息,包括:第一设备可在输入框中显示第一提示信息,第一提示信息包括预设符号(例如“@”)以及第二设备的标识。也就是说,第一设备可按照“@+设备名称”的形式在输入框中自动输入第一提示信息,提示用户使用本次推荐的第二设备打开聊天消息中的第一内容。
在一种可能的实现方式中,在第一设备在输入框中显示第一提示信息之后,还包括:若在第一预设时间内检测到输入框获取到输入焦点,则第一设备确定用户确认上述第一提示信息,进而,第一设备可继续在聊天界面中显示上述第二提示信息。这样,第一设备在输入框中推荐的第一提示信息不会打扰用户在输入框中正常输入聊天消息的过程。
在一种可能的实现方式中,在第一设备在输入框中显示第一提示信息之后,还包括:若在第一预设时间内没有检测到输入框获取到输入焦点,则第一设备可在输入框中隐藏上述第一提示信息。这样一来,第一设备向用户呈现推荐设备的过程与用户通过输入框与联系人聊天的过程不会产生冲突,用户也不需要对第一设备推荐的第二设备执行额外的操作取消本次设备推荐过程,使得人机交互过程更加友好。
在一种可能的实现方式中,在第一设备在聊天界面中显示第二提示信息之后,还包括:若在第二预设时间内检测到用户点击第二提示信息或第二提示信息中的确认按钮,则第一设备可确定用户确认上述第二提示信息,即结束本次设备推荐过程。
在一种可能的实现方式中,在第一设备在聊天界面中显示第二提示信息之后,还包括:若在第二预设时间内没有检测到用户点击第二提示信息或第二提示信息中的确认按钮,则第一设备在聊天界面中隐藏第二提示信息,即结束本次设备推荐过程。
在一种可能的实现方式中,在第一设备指示第二设备打开第一内容之前,还包括: 第一设备通过近场通信功能(例如蓝牙功能或NFC功能等)搜索到第二设备,说明第二设备位于第一设备附近。此时,第一设备可指示第二设备打开第一内容,避免用户因误操作指示第二设备打开第一聊天消息中的第一内容。
在一种可能的实现方式中,上述方法还包括:如果第一设备通过近场通信功能没有搜索到第二设备,则第一设备在指示第二设备打开第一内容之前,可先指示第二设备显示第三提示信息,第三提示信息用于提示用户确定在第二设备中打开第一内容。如果用户在第二设备中确认了第三提示信息,则第一设备可指示第二设备打开第一内容,避免用户因误操作指示第二设备打开第一聊天消息中的第一内容。
第二方面,本申请提供一种设备推荐方法,包括:当用户使用聊天应用与第一联系人聊天时,第一设备可显示与第一联系人的聊天界面;响应于用户在聊天界面中输入的预设操作(例如长按或输入@等操作),第一设备可显示设备推荐列表,该设备推荐列表中包括与第一设备关联的一个或多个电子设备;进而,响应于用户在上述设备推荐列表中选择第二设备的操作,第一设备可显示第一提示信息,第一提示信息用于提示用户使用第二设备打开聊天消息中的一项或多项内容;后续,响应于用户确认第一提示信息的操作,第一设备可指示第二设备打开一项或多项内容。
也就是说,用户也可以在聊天界面中手动触发第一设备向用户推荐与当前聊天界面中聊天消息中的内容相关的推荐设备,使聊天消息中内容能够更为高效、便捷的呈现在其他设备中。
在一种可能的实现方式中,上述聊天界面中可以包括聊天消息的输入框;其中,上述预设操作可以为用户向输入框输入预设符号(例如“@”)的操作;其中,第一设备显示设备推荐列表,包括:第一设备从聊天界面跳转至推荐界面,并在推荐界面中显示上述设备推荐列表。也就是说,如果检测到用户向输入框输入预设符号“@”,可触发第一设备跳转至推荐界面中显示本次为用户推荐的一个或多个设备。
在一种可能的实现方式中,第一设备显示第一提示信息,包括:第一设备在输入框中显示第一提示信息,第一提示信息包括预设符号(例如“@”)以及第二设备的标识。同样,第一设备可按照“@+设备名称”的形式在输入框中自动输入第一提示信息,提示用户使用本次推荐的第二设备打开聊天消息中的第一内容。
在一种可能的实现方式中,上述聊天界面中可以包括第一聊天消息和第二聊天消息,第一聊天消息包括第一内容,第二聊天消息包括第二内容;此时,在第一设备显示设备推荐列表之前,还包括:第一设备在与第一设备关联的一个或多个电子设备中确定与第一内容对应的第一推荐设备;第一设备在与第一设备关联的一个或多个电子设备中确定与第二内容对应的第二推荐设备;此时,第一设备显示的设备推荐列表中包括第一推荐设备和第二推荐设备。即第一设备可将与当前聊天界面中多条聊天消息的内容分别关联的设备均推荐给用户。
在一种可能的实现方式中,上述第一聊天消息和第二聊天消息可以为最近预设时间(例如最近24小时)内发送的聊天消息,以保证第一设备向用户进行设备推荐的时效性。
在一种可能的实现方式中,上述聊天界面中包括第三聊天消息,第三聊天消息包括第三内容;此时,上述预设操作可以为用户对第三聊天消息的长按操作;其中,第 一设备显示设备推荐列表,包括:第一设备在聊天界面中显示长按菜单,长按菜单中包括上述设备推荐列表。也就是说,如果检测到用户向聊天界面中的聊天消息(例如第三聊天消息)输入长按操作时,可触发第一设备显示本次为用户推荐的一个或多个设备。
在一种可能的实现方式中,在第一设备在聊天界面中显示长按菜单之前,还包括:第一设备在与第一设备关联的一个或多个电子设备中确定与第三内容对应的第三推荐设备;此时,第一设备显示的设备推荐列表中包括第三推荐设备。
在一种可能的实现方式中,在检测到用户在设备推荐列表中选择第二设备的操作之后,在第一设备显示第一提示信息之前,还包括:第一设备显示选择界面,该选择界面中的候选项为上述聊天界面中的一条或多条聊天消息中包含的内容;进而,响应于用户在选择界面中选择的候选项,第一设备可确定在第二设备中播放的一项或多项内容。也就是说,用户可以手动选择在第二设备中播放的具体内容,本申请实施例对此不做任何限制。
第三方面,本申请提供一种电子设备,包括:存储器、显示屏和一个或多个处理器;存储器、显示屏与处理器耦合。当然,电子设备还可以包括触摸传感器(触摸传感器与显示屏可集成为触摸屏)、鼠标等输入设备。其中,存储器用于存储计算机程序代码,计算机程序代码包括计算机指令;当电子设备运行时,该处理器用于执行该存储器存储的一个或多个计算机指令,以使电子设备执行如上述第一方面中任一项所述的设备推荐方法。
第四方面,本申请提供一种计算机可读存储介质,包括计算机指令,当计算机指令在上述电子设备上运行时,使得电子设备执行上述任一项所述的设备推荐方法。
第五方面,本申请提供一种计算机程序产品,当计算机程序产品在上述电子设备上运行时,使得电子设备执行上述任一项所述的设备推荐方法。
可以理解地,上述各个方面所提供的电子设备、计算机可读存储介质以及计算机程序产品均应用于上文所提供的对应方法,因此,其所能达到的有益效果可参考上文所提供的对应的***或方法中的有益效果,此处不再赘述。
附图说明
图1为现有技术中投屏方法的应用场景示意图;
图2为本申请实施例提供的一种推荐***的架构示意图一;
图3为本申请实施例提供的一种推荐***的架构示意图二;
图4为本申请实施例提供的一种电子设备的结构示意图一;
图5为本申请实施例提供的一种电子设备的操作***的架构示意图;
图6为本申请实施例提供的一种设备推荐方法的应用场景示意图一;
图7为本申请实施例提供的一种设备推荐方法的应用场景示意图二;
图8为本申请实施例提供的一种设备推荐方法的应用场景示意图三;
图9为本申请实施例提供的一种设备推荐方法的应用场景示意图四;
图10为本申请实施例提供的一种设备推荐方法的应用场景示意图五;
图11为本申请实施例提供的一种设备推荐方法的应用场景示意图六;
图12为本申请实施例提供的一种设备推荐方法的应用场景示意图七;
图13为本申请实施例提供的一种设备推荐方法的应用场景示意图八;
图14为本申请实施例提供的一种设备推荐方法的应用场景示意图九;
图15为本申请实施例提供的一种设备推荐方法的应用场景示意图十;
图16为本申请实施例提供的一种设备推荐方法的应用场景示意图十一;
图17为本申请实施例提供的一种设备推荐方法的应用场景示意图十二;
图18为本申请实施例提供的一种设备推荐方法的应用场景示意图十三;
图19为本申请实施例提供的一种设备推荐方法的应用场景示意图十四;
图20为本申请实施例提供的一种设备推荐方法的应用场景示意图十五;
图21为本申请实施例提供的一种设备推荐方法的应用场景示意图十六;
图22为本申请实施例提供的一种设备推荐方法的应用场景示意图十七;
图23为本申请实施例提供的一种设备推荐方法的应用场景示意图十八;
图24为本申请实施例提供的一种设备推荐方法的应用场景示意图十九;
图25为本申请实施例提供的一种设备推荐方法的应用场景示意图二十;
图26为本申请实施例提供的一种电子设备的结构示意图二。
具体实施方式
下面将结合附图对本实施例的实施方式进行详细描述。
本申请实施例提供的一种设备推荐方法,可应用于推荐***200中。
如图2所示,推荐***200中包括第一设备201,第一设备201用于提供待播放的视频、音频、文档、链接或图片等源数据。第一设备201提供的源数据可以存储在第一设备201本地,或者,第一设备201提供的源数据也可以是第一设备201从服务器或其他设备中获取的。
仍如图2所示,推荐***200中还包括与第一设备201相关联的一个或多个第二设备202。例如,第二设备202可以是与第一设备201位于同一通信网络(例如Wi-Fi网络)中的设备。又例如,第二设备202可以是与第一设备201登录同一账号(例如华为账号)的设备。
示例性的,上述第一设备201或第二设备202具体可以为手机、平板电脑、电视(也可称为智慧屏、大屏设备等)、笔记本电脑、超级移动个人计算机(Ultra-mobile Personal Computer,UMPC)、手持计算机、上网本、个人数字助理(Personal Digital Assistant,PDA)、可穿戴电子设备、车载设备(也可称为车机)、虚拟现实设备等,本申请实施例对此不做任何限制。
其中,第一设备201中可安装具有聊天功能的应用(后续称为聊天APP),用户可使用聊天APP与聊天APP中已添加的好友、群组或者未添加的陌生人等聊天对象交互聊天消息。当然,用户也可使用聊天APP与聊天APP提供的公众号、机器人或小程序等聊天对象交互聊天消息。后续实施例中统一将用户在聊天APP中交互聊天消息的聊天对象称为联系人。
在本申请实施例中,用户使用第一设备201在聊天APP中与联系人交互聊天消息时,第一设备201可根据聊天消息中的具体内容,在上述一个或多个第二设备202中选择适合打开该内容的推荐设备,并在聊天APP中将选择出的推荐设备推荐给用户,以便用户使用聊天APP推荐的推荐设备打开聊天消息中的相关内容。
例如,当聊天消息中包含视频或视频链接(例如视频卡片)时,第一设备201可将第二设备202中的电视或平板确定为推荐设备。又例如,当聊天消息中包含音频或音频链接(例如音乐卡片)时,第一设备201可将第二设备202中的音箱或车机确定为推荐设备。或者,当第二设备202中既包括音箱又包括电视时,第一设备201还可以将音箱确定为聊天消息中音频内容的推荐设备,将电视确定为聊天消息中视频画面的推荐设备,即推荐设备包括音箱和电视两个设备。
也就是说,用户使用第一设备201在聊天APP中接收到某一聊天消息后,聊天APP可向用户呈现与聊天消息中的内容相关的推荐设备。后续,如果检测到用户确认使用聊天APP推荐的推荐设备(例如电视),则第一设备201可指示电视打开上述聊天消息中的相关内容。这样,用户以聊天APP中的聊天消息为入口,可以快速在聊天APP推荐的设备上打开该聊天消息中的内容,使得该聊天消息中的内容能够快捷的完成跨设备播放的功能,提高用户的使用体验。
在一些实施例中,如图3所示,上述推荐***200中还可以包括一个或多个服务器203。例如,第一设备201可从服务器203中查询与第一设备201关联的一个或多个第二设备202。又例如,当聊天消息中包含视频链接(例如视频卡片)或音频链接(例如音乐卡片)时,第一设备201还可以从服务器203获取对应的视频或音频。又例如,当用户在聊天APP推荐的推荐设备中选择了某一设备(例如电视)后,第一设备201还可以向服务器203发送指示消息,以指示服务器203向电视下发播放聊天消息中相关内容的指令。进而,服务器203可以响应该指示消息向电视发送播放聊天消息中相关内容的指令,使得聊天消息中的内容可以跨设备完成播放功能。
后续实施例中将结合具体示例详细阐述第一设备201根据聊天消息中的内容向用户提示推荐设备的方法,故此处不予赘述。
仍以手机作为上述推荐***200中的第一设备201举例,图4示出了手机的结构示意图。
手机可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180等。
可以理解的是,本发明实施例示意的结构并不构成对手机的具体限定。在本申请另一些实施例中,手机可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,存储器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理 器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了***的效率。
手机的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。
天线1和天线2用于发射和接收电磁波信号。手机中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。
移动通信模块150可以提供应用在手机上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。
无线通信模块160可以提供应用在手机上的包括无线局域网(wireless local area networks,WLAN)(如无线保真(wireless fidelity,Wi-Fi)网络),蓝牙(bluetooth,BT),全球导航卫星***(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR)等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。
在一些实施例中,手机的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得手机可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯***(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,和/或IR技术等。所述GNSS可以包括全球卫星定位***(global positioning system,GPS),全球导航卫星***(global navigation satellite system,GLONASS),北斗卫星导航***(beidou navigation satellite system,BDS),准天顶卫星***(quasi-zenith satellite system,QZSS)和/或星基增强***(satellite based augmentation systems,SBAS)。
手机通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,手机可以包括1个或N个显示屏194,N为大于1的正整数。
手机可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,手机可以包括1个或N个摄像头193,N为大于1的正整数。
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当手机在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。
视频编解码器用于对数字视频压缩或解压缩。手机可以支持一种或多种视频编解码器。这样,手机可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展手机的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。处理器110通过运行存储在内部存储器121的指令,从而执行手机的各种功能应用以及数据处理。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作***,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储手机使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。
手机可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接 口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。手机可以通过扬声器170A收听音乐,或收听免提通话。
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当手机接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入到麦克风170C。手机可以设置至少一个麦克风170C。在另一些实施例中,手机可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,手机还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。
传感器模块180中可以包括压力传感器,陀螺仪传感器,气压传感器,磁传感器,加速度传感器,距离传感器,接近光传感器,指纹传感器,温度传感器,触摸传感器,环境光传感器,骨传导传感器等。
当然,手机还可以包括充电管理模块、电源管理模块、电池、按键、指示器以及1个或多个SIM卡接口等,本申请实施例对此不做任何限制。
上述手机的软件***可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android***为例,示例性说明手机的软件结构。
图5是本申请实施例的手机的软件结构框图。
分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例中,将Android***分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和***库,以及内核层。
应用程序层可以包括一系列应用程序包。
如图5所示,应用程序层中可以安装通话,备忘录,浏览器,联系人,相机,图库,日历,地图,蓝牙,音乐,视频,短信息等APP(应用,application)。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。
如图5所示,应用程序框架层可以包括窗口管理器,内容提供器,视图***,电话管理器,资源管理器,通知管理器等。
其中,上述窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判 断是否有状态栏,锁定屏幕,截取屏幕等。
上述内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。
上述视图***可用于构建应用程序的显示界面。每个显示界面可以由一个或多个控件组成。一般而言,控件可以包括图标、按钮、菜单、选项卡、文本框、对话框、状态栏、导航栏、微件(Widget)等界面元素。
上述电话管理器用于提供手机的通信功能。例如通话状态的管理(包括接通,挂断等)。
上述资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。
上述通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在***顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,振动,指示灯闪烁等。
如图5所示,***库可以包括多个功能模块。例如:图层整合器(SurfaceFlinger),媒体库(Media Libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。SurfaceFlinger用于对显示子***进行管理,并且为多个应用程序提供了2D和3D图层的融合。媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。2D图形引擎是2D绘图的绘图引擎。
Android Runtime包括核心库和虚拟机。Android runtime负责安卓***的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
内核层是硬件和软件之间的层。内核层至少包含摄像头驱动,音频驱动,传感器驱动等,本申请实施例对此不做任何限制。
在本申请实施例中,手机的应用程序层中安装有具有聊天功能的聊天APP。例如,该聊天APP可以是手机自带的***级应用,也可以是
Figure PCTCN2021123092-appb-000001
Figure PCTCN2021123092-appb-000002
等第三方应用。手机中的聊天APP在接收到联系人发来的聊天消息后,可向用户推荐适合打开聊天消息中相关内容的电子设备,从而方便用户使用聊天APP推荐的电子设备打开聊天消息中的内容。
示例性的,如图6所示,用户使用手机中的聊天APP与联系人Sara聊天时,手机可显示聊天APP中与联系人Sara的聊天界面601。并且,聊天APP可实时获取聊天界面601中联系人Sara发送的最后一条聊天消息602。进而,聊天APP可识别聊天消 息602中是否包含视频、音频、图片、文档或预设卡片(例如视频卡片或音乐卡片)等预设的目标内容。
在本申请实施例中,手机中可预先存储不同目标内容与推荐设备之间的对应关系,即不同类型的内容与不同的推荐设备之间的对应关系。如表1所示,当目标内容为视频或来自视频APP的视频卡片时,对应的推荐设备可以包括电视和平板电脑。当目标内容为音频或来自音乐APP的音乐卡片时,对应的推荐设备可以包括电视、音箱和车机。当目标内容为来自运动健康类APP的运动健康类卡片时,对应的推荐设备可以包括电视。当目标内容为图片时,对应的推荐设备可以包括电视。当目标内容为文档时,对应的推荐设备可以包括打印机。也就是说,针对每一类目标内容的特点,为每一类目标内容设置有适合呈现该目标内容的推荐设备。
表1
目标内容 推荐设备
视频卡片、视频 电视、平板电脑
音乐卡片、音频 电视、音箱、车机
运动健康类卡片 电视
图片 电视
文档 打印机
其中,表1所示的对应关系可以在手机出厂时预先存储在手机中。或者,手机也可以从服务器获取上述对应关系。又或者,手机还可以从其他手机等电子设备中获取上述对应关系,本申请实施例对此不做任何限制。
在本申请的一些实施例中,表1所示的对应关系还可以动态更新。例如,用户使用同一账号登录多个设备后,服务器可以记录用户在这多个设备中的操作记录。示例性的,如果检测到用户经常使用车机播放来自手机中的音频,则服务器可在上述对应关系中将与音频对应的推荐设备设置为车机。或者,如果与音频对应的推荐设备包括车机、音箱等多个设备,则服务器可设置车机的优先级高于音箱的优先级。进而,服务器可将更新后的目标内容与推荐设备之间的对应关系发送给手机,使得手机中存储的对应关系与用户的使用习惯对应,提高后续向用户推荐推荐设备时的准确率和用户体验。
当然,手机或服务器还可以通过一些人工智能算法在上述对应关系中增加新的目标内容和推荐设备,或者删除旧的目标内容和推荐设备,或者修改与目标内容对应的推荐设备等,本申请实施例对此不做任何限制。
以聊天消息602中包括视频A(即第一内容)举例,手机中的聊天APP通过查询上述表1可以确定与聊天消息602中视频A对应的推荐设备包括:电视和平板电脑这两种类型的电子设备。那么,手机可获取当前与手机相关联的一个或多个电子设备。其中,与手机相关联的一个或多个电子设备可以是与手机接入同一通信网络(例如Wi-Fi网络)的电子设备,也可以是与手机登录同一账号的电子设备。
例如,手机可从服务器中获取与手机登录同一账号的电子设备包括:电视1、音箱1、打印机1以及空气净化器1。进而,手机可在电视1、音箱1、打印机1以及空气净化器1中查找电视和平板电脑这两种类型的电子设备。当手机确定出电视1为电 视这一类型的电子设备时,如图7所示,手机中的聊天APP可将电视1作为推荐设备显示在聊天界面601的输入框603中。
或者,在一些实施例中,手机在当前与手机登录同一账号的电子设备中可能查询到有多个电子设备均可作为推荐设备推荐给用户。例如,如果手机、电视1与平板电脑1均登录同一账号,则手机根据表1所示的对应关系可确定与聊天消息602中视频A对应的推荐设备包括电视1和平板电脑1。此时,手机可在电视1和平板电脑1中选择一个作为最终呈现给用户的推荐设备。例如,手机可将电视1和平板电脑1中在线的设备作为最终呈现给用户的推荐设备。又例如,手机可将电视1和平板电脑1中使用频率较高的设备作为最终呈现给用户的推荐设备,本申请实施例对此不做任何限制。
仍以电视1为手机确定出的推荐设备举例,如图7所示,聊天APP可按照“@+设备名称”的形式在输入框603中自动输入“@电视1”的第一提示信息701。聊天APP通过第一提示信息701向用户提示使用电视1这一设备播放聊天消息602中的视频A。其中,第一提示信息701可以通过标灰等方式提示用户第一提示信息701为聊天APP自动帮用户输入的内容。
这样一来,用户在聊天APP中与联系人Sara聊天的过程中,聊天APP可基于联系人Sara发送的最后一条聊天消息(例如上述聊天消息602),自动在输入框603中向用户推荐与聊天消息602中的视频内容匹配的推荐设备。后续,用户可基于上述第一提示信息701使用聊天APP推荐的推荐设备打开聊天消息602中的视频A。
仍如图7所示,聊天APP向输入框603输入第一提示信息701时,输入框603还没有获取到输入焦点(input focus)。当检测到用户点击输入框603时,输入框603获得输入焦点。输入框603获得输入焦点后,手机可在输入框603中显示光标,提示用户向输入框603中输入相应内容。并且,输入框603获得输入焦点后,手机可在聊天界面601中显示输入法键盘,方便用户使用输入法键盘向输入框603中输入相应内容。
示例性的,聊天APP可设置当上述第一提示信息701显示在输入框603后,在输入框603中停留预设时间,例如,停留3秒。如果第一提示信息701在输入框603中停留3秒的过程中没有检测到用户点击输入框603,则说明用户可能不需要使用聊天APP推荐的推荐设备播放上述视频A,进而,聊天APP可将输入框603中的第一提示信息701隐藏,用户可正常使用输入框603输入待发送的聊天消息。这样,聊天APP在输入框603中推荐的第一提示信息701不会打扰用户在输入框603中正常输入聊天消息的过程。
当然,聊天APP也可以将上述第一提示信息701显示在聊天界面601的其他位置,例如,可将第一提示信息701显示在输入框603的附近,本申请实施例对此不做任何限制。
聊天APP将上述第一提示信息701显示在输入框603后,如果在第一提示信息701在输入框603中隐藏之前,聊天APP检测到用户点击输入框603,说明用户可能希望使用聊天APP推荐的电视1播放聊天消息602中的视频内容,聊天APP可确定用户输入了确认第一提示信息701的操作。此时,如图8所示,聊天APP还可以在聊天界 面601中显示第二提示信息801。第二提示信息801用于提示用户在聊天APP查找到的推荐设备(例如电视1)中播放视频A。
示例性的,上述第二提示信息801中可以设置确认按钮802。如果检测到用户点击确认按钮802,说明用户确认使用推荐设备(即电视1)播放聊天消息602中的视频A,聊天APP可确定用户输入了确认第二提示信息801的操作。此时,如图9所示,手机可指示电视1播放聊天消息602中的视频A。或者,如果检测到用户点击第二提示信息801,聊天APP也可确定用户输入了确认第二提示信息801的操作,也可触发手机指示电视1播放聊天消息602中的视频A。
例如,手机可根据电视1的标识与电视1建立通信连接,进而,手机可通过投屏功能将视频A发送给电视1,由电视1播放该视频A。又例如,手机可向服务器发送播放请求,播放请求中可以包括电视1的标识以及视频A,进而,服务器可响应该播放请求,按照电视1的标识向电视1发送播放视频A的播放指令,使得电视1可按照该播放指令播放视频A。在一些实施例中,如果服务器向电视1发送上述播放指令时查询到电视1没有开机,则服务器可将上述播放指令缓存一段时间(例如,缓存7天)。在这7天内,如果服务器检测到电视1开机,则服务器可将缓存的播放指令发送给电视1。当然,如果服务器在7天内没有检测到电视1开机,则服务器可将缓存的播放指令删除,不再向电视1发送上述播放指令。
在一些实施例中,当手机检测到用户点击上述确认按钮802或点击第二提示信息801后,手机还可以根据电视1的标识,通过蓝牙或Wi-Fi等近场通信功能搜索附近的设备中是否包括电视1。例如,如果手机通过蓝牙搜索到设备1的标识与电视1的标识相同,则说明设备1即为电视1,此时电视1位于手机附近。相应的,如果手机通过蓝牙没有搜索到电视1的标识,说明用户选择播放视频A的电视1此时不在手机附近。
那么,如果电视1位于手机附近,则仍如图9所示,手机可直接指示电视1开始播放聊天消息602中的视频A。如果电视1不在手机附近,为了避免用户因误操作指示电视1播放聊天消息602中的视频A,如图10所示,手机可指示电视1显示弹窗1001,通过弹窗1001询问用户是否播放来自手机的视频A。如果电视1接收到用户确认播放来自手机中视频A的操作,则电视1可开始播放聊天消息602中的视频A。
在一些实施例中,当聊天APP在上述聊天界面601中显示出第二提示信息801后,如果在一段时间内(例如5秒)没有检测到用户点击第二提示信息801或第二提示信息801中的确认按钮802,说明用户可能不需要使用聊天APP推荐的推荐设备播放上述视频A,则聊天APP可隐藏上述第二提示信息801以及第一提示信息701,即取消本次设备推荐过程。
又或者,当聊天APP在上述聊天界面601的输入框603中显示出第一提示信息701后,如果检测到用户向输入框603中输入文字、表情、数字等任意字符,则说明用户点击输入框603的目的是向输入框603中输入待发送的聊天消息,而不是使用推荐设备播放聊天消息602中的视频A。此时,聊天APP也可隐藏上述第二提示信息801以及第一提示信息701,即取消本次设备推荐过程。这样一来,聊天APP向用户呈现推荐设备的过程与用户通过输入框603与联系人聊天的过程不会产生冲突,用户也不需 要对聊天APP显示的推荐设备(例如输入框603中的“@电视1”)执行额外的操作取消本次设备推荐过程,使得用户与手机中聊天APP的交互过程更加友好。
上述实施例中是以聊天APP在输入框603中向用户推荐一个推荐设备(例如电视1)举例说明的,在一些实施例中,聊天APP也可以将多个推荐设备以组合的方式推荐给用户。
例如,当上述聊天消息602中的目标内容为视频类型的内容时,可设置使用电视和音箱协同工作的方式播放视频内容。例如,电视可用于播放视频中的视频画面,音箱可用于播放视频中的音频。那么,如果手机检测到当前与手机登录同一账号的设备包括电视1和音箱1时,手机可将“电视1+音箱1”这一组合推荐给用户。如图11中的(a)所示,聊天APP接收到联系人Sara发来的聊天消息602后,可在聊天界面601的输入框603中显示“@电视1和音箱1”的第一提示信息1101。后续,与上述实施例类似的,如图11中的(b)所示,如果检测到用户点击输入框603,则聊天APP可在聊天界面601中显示第二提示信息1102。第二提示信息1102用于提示用户使用聊天APP推荐的电视1和音箱1协同播放视频A。那么,如果检测到用户点击第二提示信息1102中的确认按钮,手机可指示电视1播放上述视频A中的视频画面,并且,手机可指示音箱1播放上述视频A中的音频。也就是说,聊天APP还可以基于聊天消息中的目标内容向用户推荐多个推荐设备,通过多个推荐设备的配合向用户呈现聊天消息中的目标内容。
上述实施例中是以聊天消息602中的目标内容为视频A举例说明的,可以理解的是,当聊天消息602中的目标内容为音乐、图片或文档等内容时,聊天APP也可基于表1所示的对应关系,按照上述实施例中提供的推荐方法向用户推荐对应的推荐设备。
在一些实施例中,联系人发来的聊天消息中还可以包括视频卡片、音乐卡片或健康运动类卡片等卡片类型的聊天消息。这种卡片类型的聊天消息一般来自于对应的应用,卡片中一般携带有相应内容的链接。仍以用户在聊天APP中与联系人Sara聊天举例,如图12所示,聊天APP在聊天界面601中接收到联系人Sara发来的聊天消息1201后,聊天APP可识别出聊天消息1201中包括来自视频APP的视频卡片,该视频卡片中携带有视频APP中对应视频的视频链接。进而,聊天APP可基于表1所示的对应关系,在当前与手机登录同一账号的设备中确定与该视频卡片对应的推荐设备为电视1。仍如图12所示,聊天APP可将电视1作为推荐设备在输入框603中自动输入“@电视1”的第一提示信息1202。
与上述实施例类似的,如果检测到用户点击聊天界面601中的输入框603,仍如图12所示,聊天APP可在聊天界面601中显示第二提示信息1203,用于提示用户使用聊天APP推荐的电视1播放视频卡片中的视频内容。
后续,如果检测到用户点击第二提示信息1203中的确认按钮,仍如图12所示,聊天APP可向服务器发送电视1的标识以及聊天消息1201中视频卡片的视频链接。该视频链接可以为手机在播放视频卡片中的视频时使用的链接A,也可以为电视1播放视频卡片中的视频时的链接B。服务器接收到电视1的标识和视频卡片的视频链接后,如果该视频链接为链接B,则服务器可按照电视1的标识向电视1发送播放指令,该播放指令中可以携带上述链接B。这样,电视1接收到服务器发送的播放指令后, 可按照播放指令中的链接B打开对应的视频APP,并显示视频APP中对应视频的播放界面。
或者,服务器接收到电视1的标识和视频卡片的视频链接后,如果该视频链接为链接A,则服务器可先获取电视1播放上述视频卡片中的视频时的链接B。进而,服务器可将链接B携带在播放指令中发送给电视1。同样,电视1接收到服务器发送的播放指令后,可按照播放指令中的链接B打开对应的视频APP,并显示视频APP中对应视频的播放界面。
也就是说,对于卡片类型的聊天消息,聊天APP基于卡片类型也可以向用户推荐对应的推荐设备,使用户可以使用聊天APP推荐的推荐设备打开卡片中的具体内容。
上述实施例中是以聊天APP基于聊天界面601中联系人Sara发送的最后一条聊天消息包含目标内容(即视频A)举例说明的。在一些实施例中,如果聊天APP获取到联系人Sara发送的最后一条聊天消息不包含上述目标内容,例如,联系人Sara发送的最后一条聊天消息为文字消息,则聊天APP还可以继续查找联系人Sara发送的其他消息中是否包含目标内容。也就是说,聊天APP可基于联系人Sara发送的最后一条包含目标内容的聊天消息,向用户推荐播放该聊天消息中内容的推荐设备。
或者,聊天APP也可以基于用户(即聊天消息的发送方)发送的聊天消息向用户推荐推荐设备。例如,如图13所示,无论聊天界面601中的最后一条聊天消息1301是用户自身发送的还是联系人Sara发送的,当聊天消息1301中包含上述目标内容时,聊天APP可基于聊天消息1301中的目标内容确定对应的推荐设备,并向用户呈现该推荐设备。又或者,当聊天APP中的联系人为群组时,聊天APP也可以获取群组中最后一条包含目标内容的聊天消息,并基于该聊天消息动态的向用户推荐对应的推荐设备打开该目标内容,本申请实施例对此不做任何限制。
另外,如果聊天APP获取到的最后一条包含目标内容的聊天消息已经超出预设的时间范围,例如,预设的时间范围为24小时,而聊天界面601中最后一条包含目标内容的聊天消息是联系人Sara在24小时之前发送的,那么,聊天APP可以不再向用户推荐对应的推荐设备,即取消本次设备推荐过程,避免设备推荐过程对用户正常使用聊天APP的聊天过程产生打扰。
在另一些实施例中,仍以用户使用聊天APP与联系人Sara聊天举例,聊天APP还可以获取一定时间内联系人Sara发送的聊天消息。例如,聊天APP可以获取最近24小时内联系人Sara发送的N条聊天消息。这N条聊天消息可以显示在当前的聊天界面中,也可以不显示在当前的聊天界面中。进而,聊天APP可基于这N条聊天消息中包含的目标内容,确定本次向用户推荐的一个或多个推荐设备。
例如,在最近24小时内联系人Sara发送的N条聊天消息中,第一聊天消息内包括含视频A(第一聊天消息显示在聊天界面601中),第二聊天消息内包含音乐B(第二聊天消息没有显示在聊天界面601中)。那么,如图14所示,如果聊天APP确定出与第一聊天消息中的视频A对应的推荐设备为电视1,与第二聊天消息中的音乐B对应的推荐设备为音箱2,则聊天APP可在输入框603中自动输入第一提示信息1302,第一提示信息1302中包括电视1和音箱2。后续,如果检测到输入框603获取到输入焦点,仍如图14所示,聊天APP可显示两条第二提示信息,即第二提示信息1303和 第二提示信息1304。其中,第二提示信息1303用于提示用户在电视1中播放视频A,第二提示信息1304用于提示用户在音箱2中播放音乐B。
那么,如果检测到用户输入确认第二提示信息1303的操作,例如,点击第二提示信息1303或点击第二提示信息1303中确认按钮的操作,则聊天APP可触发手机按照上述方法指示电视1播放视频A。相应的,如果检测到用户输入确认第二提示信息1304的操作,例如,点击第二提示信息1304或点击第二提示信息1304中确认按钮的操作,则聊天APP可触发手机按照上述方法指示音箱2播放音乐B。
当然,聊天APP也可以基于最近一定时间内联系人Sara发送的最后一条包含目标内容的条聊天消息向用户推荐推荐设备,本申请实施例对此不做任何限制。
上述实施例是以用户在聊天APP中与联系人聊天时,聊天APP根据聊天界面中的聊天消息自动向用户推荐相应的推荐设备举例说明的。在一些实施例中,用户也可以在聊天界面中手动触发聊天APP向用户推荐相应的推荐设备。
示例性的,如图15所示,为聊天APP中与群组“家人”的聊天界面1401。聊天界面1401中包括输入框1402以及用于输入聊天消息的快捷菜单1400。例如,快捷菜单1400中可以包括预设符号,例如,该预设符号为“@”。预设符号“@”1403可用于在聊天消息中与某一联系人或电子设备建立关联。当然,上述预设符号还可以是其他字符,本申请实施例对此不做任何限制。另外,上述快捷菜单1400中还可以包括图片添加按钮、表情添加按钮或定位按钮等一项或多项。在一些实施例中,也可以将上述预设符号称为提醒符号,后续实施例中均以提醒符号作为上述预设符号进行示性的说明。
如果检测到用户点击上述提醒符号“@”1403,则聊天APP可基于聊天界面1401中的聊天消息向用户提示相应的一个或多个推荐设备。例如,检测到用户点击上述提醒符号“@”1403后,聊天APP可识别聊天界面1401中包含上述目标内容的聊天消息。例如,聊天消息1404中的目标内容为视频,聊天消息1405中的目标内容为音乐卡片,聊天消息1406中的目标内容为图片。进而,仍如表1所示的对应关系,聊天APP根据该对应关系可以确定当前与手机登录同一账号的电子设备中与上述各个目标内容分别对应的推荐设备。例如,当前与手机登录同一账号的电子设备包括:电视1、平板电脑1、音箱1以及打印机1。其中,与视频对应的推荐设备包括电视1和平板电脑1,与音乐卡片对应的推荐设备包括电视1和音箱1,与图片对应的推荐设备包括电视1。进而,如图16所示,聊天APP可将电视1、平板电脑1以及音箱1(即上述推荐设备的集合)作为本次推荐设备显示在推荐界面1501中的设备推荐列表1502中。
示例性的,电视1既与聊天消息1404中的视频对应,又与聊天消息1405中的音乐卡片对应,还与聊天消息1406中的图片对应,说明电视1与聊天界面1401中聊天消息的匹配程度最高,那么,聊天APP可将电视1作为优先级最高的推荐设备,将电视1显示在设备推荐列表1502的首位,方便用户在设备推荐列表1502中选择需要使用的设备。
在一些实施例中,当前与手机登录同一账号的打印机1虽然与聊天界面1401中的目标内容不对应,聊天APP仍然可以将打印机1显示在设备推荐列表1502中。例如,聊天APP可以将打印机1显示在设备推荐列表1502的末尾。当然,本领域技术人员 还可以根据实际经验或实际应用场景设置推荐界面1501中各个推荐设备的显示顺序或显示方式,本申请实施例对此不做任何限制。另外,除了设备推荐列表1502外,上述推荐界面1501中还可以包括聊天APP中的联系人、公众号或小程序等选项。
也就是说,用户在聊天界面1401中触发提醒符号“@”1403后,聊天APP可基于此时聊天界面1401中的聊天消息确定对应的一个或多个推荐设备,并将确定出的推荐设备提示给用户。这样,在用户与联系人聊天的过程中,当用户希望使用其他设备播放聊天界面1401中的目标内容时,通过预设的提醒符号“@”1403可触发聊天APP向用户推荐与当前聊天界面中目标内容对应的推荐设备。
在一些实施例中,当用户点击上述聊天界面1401中的提醒符号“@”1403后,聊天APP可以从当前保存的聊天记录中获取预设时间(例如24小时)内的聊天消息。预设时间内的聊天消息可以是显示在聊天界面1401中的聊天消息,也可以是没有在聊天界面1401中显示的聊天消息。进而,聊天APP可在上述预设时间内的聊天消息中识别包含目标内容的聊天消息。后续,聊天APP可按照上述方法向用户推荐与目标内容对应的推荐设备。这样,聊天APP是基于一定时间内的聊天消息中的目标内容向用户推荐推荐设备的,从而保证向用户推荐的推荐设备的时效性。
当然,聊天APP也可以先获取显示在聊天界面1401中的聊天消息,并在获取到的聊天消息中筛选在预设时间内、且包含目标内容的聊天消息,再基于获取到的聊天消息向用户推荐与目标内容对应的推荐设备,本申请实施例对此不做任何限制。
仍如图16所示,聊天APP在推荐界面1501中显示出包含本次推荐设备的设备推荐列表1502后,用户可在设备推荐列表1502中选择本次需要使用的设备。以用户选中设备推荐列表1502中的电视1举例,检测到用户点击设备推荐列表1502中的电视1后,如图17所示,聊天APP可从推荐界面1501跳转回聊天界面1401,并在聊天界面1401的输入框1402中自动输入“@电视1”的第一提示信息1604。如果用户确认使用电视1播放聊天消息中的目标内容,即确认第一提示信息1604,则可点击聊天界面1401中聊天消息的发送按钮1503。
当聊天APP检测到用户点击聊天消息的发送按钮1503后,如图18中的(a)所示,聊天APP可显示对话框1601。在对话框1601中,聊天APP可提示用户是否确定在电视1中播放图片C,即最后一条包含目标内容的聊天消息1406中的目标内容。如果检测到用户点击对话框1601中的确认按钮,则手机可指示电视1播放图片C。例如,手机可将聊天消息1406中的图片C发送给电视1,由电视1显示图片C。又例如,手机可将聊天消息1406中的图片C发送给服务器,由服务器将聊天消息1406中的图片C发送给电视1,进而,电视1可显示接收到的图片C。
或者,当聊天APP检测到用户点击聊天消息的发送按钮后,由于电视1既可以播放聊天消息1404中的视频,又可以播放聊天消息1405中的音乐卡片,还可以播放聊天消息1406中的图片,因此,如图18中的(b)所示,聊天APP可显示对话框1602。在对话框1602中,聊天APP可提示用户是否确定在电视1中播放视频A(即聊天消息1404中的视频)、音乐B(即聊天消息1405中的音乐卡片)以及图片C(即聊天消息1406中的图片)。如果检测到用户点击对话框1602中的确认按钮,则手机可指示电视1播放上述视频A、音乐B以及图片C。
又或者,如图18中的(c)所示,当聊天APP检测到用户点击聊天消息的发送按钮后,聊天APP也可以在对话框1603中分别显示在电视1中播放视频A、在电视1中播放音乐B以及在电视1中播放图片C的三个选项。这样,用户可以在对话框1603中选择需要在电视1中播放的具体内容。
在另一种可能的实现方式中,如果用户确认使用电视1播放聊天消息中的目标内容,用户也可以可点击输入框1402,使得输入框获取到输入焦点。此时,聊天APP也可确定用户确认了上述第一提示信息1604。与上述实施例中的设备推荐方法类似的,聊天APP可继续在聊天界面1401中显示与图8所示的第二提示信息801类似的第二提示信息,此时显示的第二提示信息可用于提示用户使用电视1播放聊天界面1401中的一项或多项目标内容,本申请实施例对此不做任何限制。
可以理解的是,如果用户在上述设备推荐列表1502中选择的设备为打印机,则聊天APP可在对应的对话框或提示信息中提示用户是否打印相关聊天消息中的照片或文档。也就是说,聊天APP可以根据推荐设备的功能对聊天消息中的目标内容执行对应的操作,本申请实施例对此不作任何限制。
在另一些实施例中,当聊天APP检测到用户点击聊天消息的发送按钮后,手机也可以指示电视1显示上述对话框。例如,如图19中的(a)所示,电视1可显示上述对话框1601,从而提示用户是否确定在电视1中播放图片C(即聊天消息1406中的图片)。又例如,如图19中的(b)所示,电视1可显示上述对话框1602,从而提示用户是否确定在电视1中播放视频A(即聊天消息1404中的视频)、音乐B(即聊天消息1405中的音乐卡片)以及图片C(即聊天消息1406中的图片)。如果电视1接收到用户选择对话框1601(或对话框1602)中的确认按钮,电视1可开始播放从手机或服务器接收到的聊天消息中的目标内容。这样,可以避免用户误操作手机中的聊天APP触发电视1播放聊天消息中目标内容的情况。
在另一些实施例中,聊天APP在上述推荐界面1501中显示出设备推荐列表1502后,如果检测到用户选中设备推荐列表1502中的某一设备,例如电视1,则如图20中的(a)所示,聊天APP还可以跳转至选择界面1801。聊天APP可将识别出的聊天消息中包含的一项或多项目标内容作为候选项显示在选择界面1801中,用户可在选择界面1801中选择在电视1中打开哪些目标内容。例如,如果检测到用户在选择界面1801中选中视频A和图片C这两个候选项,则聊天APP可触发手机将视频A和图片C发送给电视1。并且,如图20中的(b)所示,电视1在播放视频A和图片C之前,还可以显示提示框1802,在提示框1802中提示用户是否确定在电视1中播放视频A和图片C。如果电视1接收到用户选择提示框1802中的确认按钮时,电视1可开始播放视频A和图片C。
需要说明的是,用户在设备推荐列表1502中选择电视1后,电视1可能无法支持播放所有聊天消息中的目标内容,例如,电视1可能无法播放文档类的目标内容。此时,聊天APP可以不在上述选择界面1801中显示聊天消息中文档类的目标内容,即聊天APP可以仅将电视1支持播放的聊天消息中的目标内容显示在上述选择界面1801中。或者,聊天APP也可以在上述选择界面1801中显示聊天消息中文档类的目标内容,但该目标内容无法被选中,即该目标内容对用户来说是不可选的。
另外,聊天APP跳转至选择界面1801后,用户还可以通过滚动选择界面1801触发聊天APP显示更多聊天消息中的目标内容。这样,用户还可以从聊天APP中选择更多的目标内容在电视1中播放。
上述实施例中是以用户在聊天界面中通过输入预设的提醒符号“@”触发聊天APP向用户推荐相应的推荐设备举例说明的。可以理解的是,本领域技术人员还可以设计其他的交互方式触发聊天APP向用户推荐与聊天消息中目标内容对应的推荐设备。
示例性的,仍以聊天APP中与群组“家人”的聊天界面1401举例,如图21中的(a)所示,如果检测到用户对聊天消息1404输入预设操作(例如长按操作),则聊天APP可在当前与手机登录同一账号的设备中查找与聊天消息1404中视频A对应的推荐设备包括:电视1、电视2和平板电脑1。进而,仍如图21中的(a)所示,聊天APP可将电视1、电视2和平板电脑1作为三个选项显示在长按菜单1901中。当然,长按菜单1901中还可以设置收藏、转发、删除等选项,本申请实施例对此不做任何限制。也就是说,用户可以通过向聊天消息输入预设操作触发聊天APP向用户推荐与聊天消息中目标内容对应的推荐设备。
在上述实施例中,聊天APP将查找到的电视1、电视2和平板电脑1作为三个选项直接显示在菜单长按1901中。在另一些实施例中,聊天APP也可以在长按菜单1901中设置用于查询推荐设备的选项,例如,在菜单长按1901中显示“推荐设备”的选项。如果检测到用户选择“推荐设备”的选项,则聊天APP可显示长按菜单1901的二级菜单,在二级菜单中显示聊天APP查找到的电视1、电视2和平板电脑1。用户可在二级菜单中选择具体使用哪一设备打开聊天消息1404中的视频A。
后续,如果检测到用户在上述长按菜单1901中选择某一设备,例如电视1,则如图21中的(b)所示,聊天APP可显示对话框1902,在对话框1902中提示用户是否确认在电视1中播放视频A。如果检测到用户选中对话框1902中的确认按钮,则聊天APP可触发手机将视频A发送至电视1。例如,手机可通过服务器将视频A发送至电视1,由电视1播放视频A。
或者,如果检测到用户在上述长按菜单1901中选择某一设备,例如电视1,则如图22中的(a)所示,聊天APP可跳转至选择界面2001。选择界面2001中包括聊天APP识别出的聊天消息中包含的一项或多项目标内容,用户可在选择界面2001中选择在电视1中打开哪些目标内容。例如,如果检测到用户在选择界面2001中选中视频A和图片C,则如图22中的(b)所示,聊天APP可显示对话框2002,在对话框2002中提示用户是否确认在电视1中播放视频A和图片C。如果检测到用户选中对话框2002中的确认按钮,则聊天APP可触发手机将视频A和图片C发送至电视1,由电视1播放视频A和图片C。
上述实施例中是以聊天APP基于聊天消息中的视频、图片或卡片等目标内容向用户推荐打开该目标内容的相关推荐设备举例说明的。在本申请的一些实施例中,聊天APP还可以基于聊天消息中的文字信息,向用户推荐相关的服务内容。
示例性的,如图23中的(a)所示,为聊天APP中与联系人Sam的聊天界面2101。聊天界面2101中包括输入框2102以及预设的提醒符号“@”2103。如果检测到用户点击提醒符号“@”2103,则如图23中的(b)所示,聊天APP可跳转至提醒界面2104, 提醒界面2104中可以包括手机或聊天APP提供的智能助手(也可称为语音助手),例如,智能助手“小艺”2105。当然,提醒界面2104中还可以包括聊天APP中的联系人、公众号或小程序等选项。
如果检测到用户选择提醒界面2104中的智能助手“小艺”2105,说明用户需要和智能助手“小艺”2105进行交互。此时,如图24中的(a)所示,聊天APP可跳转回聊天界面2101,并提取聊天界面2101中最后一条包含文字的聊天消息2201。此时,聊天APP可向输入框2102中自动输入“@小艺+聊天消息2201中的文字内容”。如果检测到用户点击聊天消息的发送按钮,则聊天APP可调用智能助手“小艺”的应用服务,向“小艺”的应用服务中输入聊天消息2201中的文字内容,以使得智能助手“小艺”可以根据聊天消息2201中的文字内容查询相关的服务内容。
例如,聊天消息2201中的文字内容为“附近的美食”,那么,智能助手“小艺”可以根据该文字内容搜索附近的美食。后续,如图24中的(b)所示,智能助手“小艺”可将搜索到的服务内容发送给聊天APP,由聊天APP可以通过卡片2202(或悬浮窗等形式)向用户显示智能助手“小艺”搜索到的一项或多项服务内容。
后续,用户可以在卡片2202中选择需要发送给联系人的具体服务内容。例如,如果检测到用户选择卡片2202中的第一服务内容2203,则如图24中的(c)所示,聊天APP可以聊天消息的形式将第一服务内容2203分享至聊天界面2101中。例如,聊天APP可以从服务器获取第一服务内容2203的链接、文字、缩略图等信息,并将这些信息组装为卡片后显示在聊天界面2101中。类似的,聊天APP可通过服务器将第一服务内容2203的链接、文字、缩略图等信息发送给联系人Sam的手机,由联系人Sam的手机将接收到的信息组装为卡片后显示在对应的聊天界面中。
这样,用户在聊天界面中通过“@”智能助手“小艺”,可触发智能助手“小艺”根据聊天消息中的文字信息向用户提供相应的服务内容,以便用户选择一项或多项服务内容分享给聊天界面中的联系人。
并且,用户与智能助手“小艺”的交互过程对于聊天界面中的联系人是不可见的。例如,智能助手“小艺”向用户提供的卡片2202中的服务内容不会显示在联系人Sam的聊天界面中。这样,用户在聊天APP中与联系人聊天的同时中还可以与智能助手“小艺”交互,且在交互过程中手机不需要切换应用或跳转页面,使得用户可以在聊天APP中一边与当前的联系人聊天,一边与智能助手“小艺”交互,并将与智能助手“小艺”交互的结果分享给联系人,提高用户的聊天体验。
在一些实施例中,如果检测到用户选择提醒界面2104中的智能助手“小艺”2105,如图25中的(a)所示,聊天APP可以将“@小艺”的信息自动输入至聊天界面2101的输入框2102中,但不将聊天界面2101中最后一条包含文字的聊天消息2201输入至输入框2102中。相应的,用户可以向输入框2102中继续输入需要向智能助手“小艺”交互的文字信息,例如“今天天气怎么样”等。进而,如果检测到用户点击聊天消息的发送按钮,则与上述实施例类似的,聊天APP可调用智能助手“小艺”的应用服务,向“小艺”的应用服务中输入用户在输入框2102中输入向“小艺”输入的文字内容,以使得智能助手“小艺”可以根据用户在输入框2102中输入的文字内容查询到相关的服务内容并呈现给用户。
又或者,如果检测到用户选择提醒界面2104中的智能助手“小艺”2105,如图25中的(b)所示,聊天APP可以将“@小艺”的信息自动输入至聊天界面2101的输入框2102中,并且,聊天APP可以将聊天界面2101中最后一条包含文字的聊天消息2201的文字信息2301显示在输入框2102附近。后续,如果检测到用户点击输入框2102附近的文字信息2301,说明用户需要和智能助手“小艺”2105进行交互,则与上述实施例类似的,聊天APP可调用智能助手“小艺”的应用服务,向“小艺”的应用服务中输入文字信息2301,以使得智能助手“小艺”可以根据文字信息2301查询到相关的服务内容并呈现给用户。
进一步地,仍如图24中的(c)所示,聊天APP将第一服务内容2203以聊天消息的形式分享至聊天界面2101后。该聊天消息的发送方(即用户)以及接收方(即联系人Sam)均可以以聊天消息为入口打开上述第一服务内容2203。例如,如果检测到用户点击聊天消息中的第一服务内容2203,则聊天APP可调用startActivity接口,将第一服务内容2203的链接作为输入参数传入startActivity接口,进而,startActivity接口可根据该链接运行对应的应用,并在该应用中打开对应的第一服务内容2203。类似的,联系人Sam接收到包含第一服务内容2203的聊天消息后也可按照上述方法打开对应的第一服务内容2203,本申请实施例对此不做任何限制。
如图26所示,本申请实施例公开了一种电子设备,例如上述实施例中的手机。该电子设备具体可以包括:显示屏2607;一个或多个处理器2602;存储器2603;通信模块2608;一个或多个应用程序(未示出);以及一个或多个计算机程序2604,上述各器件可以通过一个或多个通信总线2605连接。其中,该一个或多个计算机程序2604被存储在上述存储器2603中并被配置为被该一个或多个处理器2602执行,该一个或多个计算机程序2604包括指令,该指令可以用于执行上述实施例中手机执行的相关步骤。该电子设备还可以包括触摸传感器2606(触摸传感器2606与显示屏2607可集成为触摸屏2601)、鼠标等输入设备。
通过以上的实施方式的描述,所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。上述描述的***,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请实施例各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:快闪存储器、移动硬盘、只读存储器、随机存取存储器、磁碟或者光盘等各种可以存储程序代码的 介质。
以上所述,仅为本申请实施例的具体实施方式,但本申请实施例的保护范围并不局限于此,任何在本申请实施例揭露的技术范围内的变化或替换,都应涵盖在本申请实施例的保护范围之内。因此,本申请实施例的保护范围应以所述权利要求的保护范围为准。

Claims (21)

  1. 一种设备推荐方法,其特征在于,包括:
    第一设备显示与第一联系人的聊天界面,所述聊天界面中包括第一聊天消息;
    当所述第一聊天消息包括第一内容时,所述第一设备在所述聊天界面中显示第一提示信息,所述第一提示信息用于向用户推荐第二设备;
    响应于用户确认所述第一提示信息的操作,所述第一设备在所述聊天界面中显示第二提示信息,所述第二提示信息用于提示用户在所述第二设备中打开所述第一内容;
    响应于用户确认所述第二提示信息的操作,所述第一设备指示所述第二设备打开所述第一内容。
  2. 根据权利要求1所述的方法,其特征在于,所述第一聊天消息为所述聊天界面中的最后一条聊天消息。
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一设备存储有不同类型的内容与不同推荐设备之间的对应关系;
    在所述第一设备在所述聊天界面中显示向用户推荐的第二设备之前,还包括:
    所述第一设备获取与所述第一设备关联的一个或多个电子设备;
    所述第一设备根据所述对应关系,在所述一个或多个电子设备中确定与所述第一聊天消息中的第一内容对应的第二设备。
  4. 根据权利要求1-3中任一项所述的方法,其特征在于,所述第一内容包括视频、音频、图片、文档或预设类型的卡片。
  5. 根据权利要求1-4中任一项所述的方法,其特征在于,所述聊天界面中还包括聊天消息的输入框;其中,所述第一设备在所述聊天界面中显示第一提示信息,包括:
    所述第一设备在所述输入框中显示第一提示信息,所述第一提示信息包括预设符号以及所述第二设备的标识。
  6. 根据权利要求5所述的方法,其特征在于,在所述第一设备在所述输入框中显示第一提示信息之后,还包括:
    若在第一预设时间内检测到所述输入框获取到输入焦点,则所述第一设备确定用户确认所述第一提示信息。
  7. 根据权利要求5所述的方法,其特征在于,在所述第一设备在所述输入框中显示第一提示信息之后,还包括:
    若在第一预设时间内没有检测到所述输入框获取到输入焦点,则所述第一设备在所述输入框中隐藏所述第一提示信息。
  8. 根据权利要求1-7中任一项所述的方法,其特征在于,在所述第一设备在所述聊天界面中显示第二提示信息之后,还包括:
    若在第二预设时间内检测到用户点击所述第二提示信息或所述第二提示信息中的确认按钮,则所述第一设备确定用户确认所述第二提示信息。
  9. 根据权利要求1-7中任一项所述的方法,其特征在于,在所述第一设备在所述聊天界面中显示第二提示信息之后,还包括:
    若在第二预设时间内没有检测到用户点击所述第二提示信息或所述第二提示信息中的确认按钮,则所述第一设备在所述聊天界面中隐藏所述第二提示信息。
  10. 根据权利要求1-9中任一项所述的方法,其特征在于,在所述第一设备指示所述第二设备打开所述第一内容之前,还包括:
    所述第一设备通过近场通信功能搜索到所述第二设备。
  11. 根据权利要求10所述的方法,其特征在于,所述方法还包括:
    若所述第一设备通过近场通信功能没有搜索到所述第二设备,则所述第一设备指示所述第二设备显示第三提示信息,所述第三提示信息用于提示用户确定在所述第二设备中打开所述第一内容。
  12. 一种设备推荐方法,其特征在于,包括:
    第一设备显示与第一联系人的聊天界面;
    响应于用户在所述聊天界面中输入的预设操作,所述第一设备显示设备推荐列表,所述设备推荐列表中包括与所述第一设备关联的一个或多个电子设备;
    响应于用户在所述设备推荐列表中选择第二设备的操作,所述第一设备显示第一提示信息,所述第一提示信息用于提示用户使用所述第二设备打开聊天消息中的一项或多项内容;
    响应于用户确认所述第一提示信息的操作,所述第一设备指示所述第二设备打开所述一项或多项内容。
  13. 根据权利要求12所述的方法,其特征在于,所述聊天界面中还包括聊天消息的输入框;其中,所述预设操作为用户向所述输入框输入预设符号的操作;
    其中,所述第一设备显示设备推荐列表,包括:
    所述第一设备从所述聊天界面跳转至推荐界面,并在所述推荐界面中显示设备推荐列表。
  14. 根据权利要求13所述的方法,其特征在于,所述第一设备显示第一提示信息,包括:
    所述第一设备在所述输入框中显示所述第一提示信息,所述第一提示信息包括所述预设符号以及所述第二设备的标识。
  15. 根据权利要求13所述的方法,其特征在于,所述聊天界面中包括第一聊天消息和第二聊天消息,所述第一聊天消息包括第一内容,所述第二聊天消息包括第二内容;
    在所述第一设备显示设备推荐列表之前,还包括:
    所述第一设备在与所述第一设备关联的一个或多个电子设备中确定与所述第一内容对应的第一推荐设备;
    所述第一设备在与所述第一设备关联的一个或多个电子设备中确定与所述第二内容对应的第二推荐设备;
    其中,所述设备推荐列表中包括所述第一推荐设备和所述第二推荐设备。
  16. 根据权利要求15所述的方法,其特征在于,所述第一聊天消息和所述第二聊天消息为最近预设时间内发送的聊天消息。
  17. 根据权利要求12所述的方法,其特征在于,所述聊天界面中包括第三聊天消息,所述第三聊天消息包括第三内容;其中,所述预设操作为用户对所述第三聊天消息的长按操作;
    其中,所述第一设备显示设备推荐列表,包括:
    所述第一设备在所述聊天界面中显示长按菜单,所述长按菜单中包括所述设备推荐列表。
  18. 根据权利要求17所述的方法,其特征在于,在所述第一设备在所述聊天界面中显示长按菜单之前,还包括:
    所述第一设备在与所述第一设备关联的一个或多个电子设备中确定与所述第三内容对应的第三推荐设备;其中,所述设备推荐列表中包括所述第三推荐设备。
  19. 根据权利要求12-18中任一项所述的方法,其特征在于,在检测到用户在所述设备推荐列表中选择第二设备的操作之后,在所述第一设备显示第一提示信息之前,还包括:
    所述第一设备显示选择界面,所述选择界面中的候选项为所述聊天界面中的一条或多条聊天消息中包含的内容;
    响应于用户在所述选择界面中选择的候选项,所述第一设备确定在所述第二设备中播放的一项或多项内容。
  20. 一种电子设备,其特征在于,所述电子设备包括:
    显示屏;
    一个或多个处理器;
    存储器;
    通信模块;
    其中,所述存储器中存储有一个或多个计算机程序,所述一个或多个计算机程序包括指令,当所述指令被所述电子设备执行时,使得所述电子设备执行如权利要求1-11或权利要求12-19中任一项第一设备执行的设备推荐方法。
  21. 一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,其特征在于,当所述指令在电子设备上运行时,使得所述电子设备执行如权利要求1-11或权利要求12-19中任一项第一设备执行的设备推荐方法。
PCT/CN2021/123092 2020-10-12 2021-10-11 一种设备推荐方法及电子设备 WO2022078295A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP21879339.6A EP4213489A4 (en) 2020-10-12 2021-10-11 DEVICE RECOMMENDATION METHOD AND ELECTRONIC DEVICE
US18/248,619 US20230388407A1 (en) 2020-10-12 2021-10-11 Device Recommendation Method and Electronic Device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202011085324.1A CN114422640B (zh) 2020-10-12 2020-10-12 一种设备推荐方法及电子设备
CN202011085324.1 2020-10-12

Publications (1)

Publication Number Publication Date
WO2022078295A1 true WO2022078295A1 (zh) 2022-04-21

Family

ID=81207486

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/123092 WO2022078295A1 (zh) 2020-10-12 2021-10-11 一种设备推荐方法及电子设备

Country Status (4)

Country Link
US (1) US20230388407A1 (zh)
EP (1) EP4213489A4 (zh)
CN (1) CN114422640B (zh)
WO (1) WO2022078295A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114995726A (zh) * 2022-04-22 2022-09-02 青岛海尔科技有限公司 交互方式的确定方法和装置、存储介质及电子装置
CN116016418A (zh) * 2022-11-18 2023-04-25 荣耀终端有限公司 一种信息交互方法及电子设备
WO2023207198A1 (zh) * 2022-04-26 2023-11-02 Oppo广东移动通信有限公司 信息处理方法、装置、移动终端及计算机可读存储介质

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116049241A (zh) * 2022-08-10 2023-05-02 荣耀终端有限公司 一种服务推荐方法、电子设备和介质

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103748610A (zh) * 2011-03-29 2014-04-23 Ti广场技术株式会社 用于在进行通信服务的同时提供多媒体内容共享服务的方法和***
CN104639957A (zh) * 2013-11-06 2015-05-20 株式会社Ntt都科摩 移动多媒体终端、视频节目推荐方法及其服务器
CN106385622A (zh) * 2016-10-10 2017-02-08 腾讯科技(北京)有限公司 媒体文件的播放方法及装置
CN107529066A (zh) * 2016-06-22 2017-12-29 腾讯科技(深圳)有限公司 视频的播放方法和装置
US20180314959A1 (en) * 2017-05-01 2018-11-01 International Business Machines Corporation Cognitive music selection system and method
US20190075373A1 (en) * 2016-03-16 2019-03-07 Orange Acquisition of extracts of a multimedia stream on a terminal
CN109660842A (zh) * 2018-11-14 2019-04-19 华为技术有限公司 一种播放多媒体数据的方法及电子设备
CN109842806A (zh) * 2017-11-29 2019-06-04 腾讯科技(深圳)有限公司 视频提醒播放、播放控制方法、装置、设备和存储介质
CN110381195A (zh) * 2019-06-05 2019-10-25 华为技术有限公司 一种投屏显示方法及电子设备
CN111586452A (zh) * 2020-04-30 2020-08-25 北京盛世辉科技有限公司 用于跨设备互动的方法及装置、播放设备
CN111741372A (zh) * 2020-07-08 2020-10-02 聚好看科技股份有限公司 一种视频通话的投屏方法、显示设备及终端设备

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100907B (zh) * 2014-04-28 2018-05-15 宇龙计算机通信科技(深圳)有限公司 选择性投屏的方法及其装置
CN106604151A (zh) * 2016-12-28 2017-04-26 深圳Tcl数字技术有限公司 视频聊天方法及装置
EP3624460B1 (en) * 2017-05-16 2022-06-29 Apple Inc. Methods and interfaces for home media control
CN110597473A (zh) * 2019-07-30 2019-12-20 华为技术有限公司 一种投屏方法与电子设备
CN111404802A (zh) * 2020-02-19 2020-07-10 华为技术有限公司 通知处理***、方法以及电子设备
CN115864520A (zh) * 2022-11-30 2023-03-28 国网北京市电力公司 一种基于高比例光伏能源接入混合电网的控制方法及***

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103748610A (zh) * 2011-03-29 2014-04-23 Ti广场技术株式会社 用于在进行通信服务的同时提供多媒体内容共享服务的方法和***
CN104639957A (zh) * 2013-11-06 2015-05-20 株式会社Ntt都科摩 移动多媒体终端、视频节目推荐方法及其服务器
US20190075373A1 (en) * 2016-03-16 2019-03-07 Orange Acquisition of extracts of a multimedia stream on a terminal
CN107529066A (zh) * 2016-06-22 2017-12-29 腾讯科技(深圳)有限公司 视频的播放方法和装置
CN106385622A (zh) * 2016-10-10 2017-02-08 腾讯科技(北京)有限公司 媒体文件的播放方法及装置
US20180314959A1 (en) * 2017-05-01 2018-11-01 International Business Machines Corporation Cognitive music selection system and method
CN109842806A (zh) * 2017-11-29 2019-06-04 腾讯科技(深圳)有限公司 视频提醒播放、播放控制方法、装置、设备和存储介质
CN109660842A (zh) * 2018-11-14 2019-04-19 华为技术有限公司 一种播放多媒体数据的方法及电子设备
CN110381195A (zh) * 2019-06-05 2019-10-25 华为技术有限公司 一种投屏显示方法及电子设备
CN111586452A (zh) * 2020-04-30 2020-08-25 北京盛世辉科技有限公司 用于跨设备互动的方法及装置、播放设备
CN111741372A (zh) * 2020-07-08 2020-10-02 聚好看科技股份有限公司 一种视频通话的投屏方法、显示设备及终端设备

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4213489A4

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114995726A (zh) * 2022-04-22 2022-09-02 青岛海尔科技有限公司 交互方式的确定方法和装置、存储介质及电子装置
CN114995726B (zh) * 2022-04-22 2023-07-21 青岛海尔科技有限公司 交互方式的确定方法和装置、存储介质及电子装置
WO2023207198A1 (zh) * 2022-04-26 2023-11-02 Oppo广东移动通信有限公司 信息处理方法、装置、移动终端及计算机可读存储介质
CN116016418A (zh) * 2022-11-18 2023-04-25 荣耀终端有限公司 一种信息交互方法及电子设备
CN116016418B (zh) * 2022-11-18 2023-12-12 荣耀终端有限公司 一种信息交互方法及电子设备

Also Published As

Publication number Publication date
CN114422640B (zh) 2023-10-13
US20230388407A1 (en) 2023-11-30
EP4213489A4 (en) 2024-02-07
CN114422640A (zh) 2022-04-29
EP4213489A1 (en) 2023-07-19

Similar Documents

Publication Publication Date Title
US11880628B2 (en) Screen mirroring display method and electronic device
US11722449B2 (en) Notification message preview method and electronic device
WO2021013158A1 (zh) 显示方法及相关装置
WO2020244492A1 (zh) 一种投屏显示方法及电子设备
CN112291764B (zh) 一种内容接续***
WO2022078295A1 (zh) 一种设备推荐方法及电子设备
WO2020155014A1 (zh) 智能家居设备分享***、方法及电子设备
US20230359424A1 (en) Multi-Screen Collaboration Method and System, and Electronic Device
JP7268275B2 (ja) 着信があるときに電子デバイス上に映像を提示するための方法、および電子デバイス
CN116360725B (zh) 显示交互***、显示方法及设备
WO2022127661A1 (zh) 应用共享方法、电子设备和存储介质
WO2023273543A1 (zh) 一种文件夹管理方法及装置
WO2020062014A1 (zh) 一种向输入框中输入信息的方法及电子设备
CN114064055A (zh) 一种***主题的配置方法及电子设备
JP2023534182A (ja) ファイルを開く方法およびデバイス
WO2023005711A1 (zh) 一种服务的推荐方法及电子设备
WO2022052706A1 (zh) 一种服务的分享方法、***及电子设备
US20210266273A1 (en) Message Display Method and Terminal
WO2020216144A1 (zh) 一种添加邮件联系人的方法和电子设备
CN116016418B (zh) 一种信息交互方法及电子设备
CN117851617A (zh) 显示方法、电子设备、存储介质及程序产品
CN118101641A (zh) 截图分享方法及电子设备
CN117827758A (zh) 文件打开方法及电子设备
CN114518965A (zh) 一种剪贴内容处理方法及其装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21879339

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 18248619

Country of ref document: US

ENP Entry into the national phase

Ref document number: 2021879339

Country of ref document: EP

Effective date: 20230411

NENP Non-entry into the national phase

Ref country code: DE