WO2022253182A1 - Communication method and apparatus, electronic device, and readable storage medium - Google Patents

Communication method and apparatus, electronic device, and readable storage medium Download PDF

Info

Publication number
WO2022253182A1
WO2022253182A1 PCT/CN2022/095972 CN2022095972W WO2022253182A1 WO 2022253182 A1 WO2022253182 A1 WO 2022253182A1 CN 2022095972 W CN2022095972 W CN 2022095972W WO 2022253182 A1 WO2022253182 A1 WO 2022253182A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
target
communication
input
communication application
Prior art date
Application number
PCT/CN2022/095972
Other languages
French (fr)
Chinese (zh)
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 维沃移动通信(杭州)有限公司
Publication of WO2022253182A1 publication Critical patent/WO2022253182A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Definitions

  • the present application belongs to the technical field of communication, and in particular relates to a communication method, device, electronic equipment and readable storage medium.
  • the user when a user needs to communicate with a user through a communication application, the user can click on the icon of the communication application to trigger the electronic device to display the contact list interface of the communication application, and then the user can search the contact list interface Go to a specific contact, and click on the contact to trigger the electronic device to display a chat interface corresponding to the contact, so that the user can communicate with the user through the chat interface.
  • the communication needs to be realized through the chat interface in the communication application, and the chat interface may block the display of the content (such as movies or e-books) originally displayed by the electronic device, thus resulting in poor display effect of the electronic device.
  • the chat interface may block the display of the content (such as movies or e-books) originally displayed by the electronic device, thus resulting in poor display effect of the electronic device.
  • the purpose of the embodiments of the present application is to provide a communication method, device and electronic device, which can solve the problem that the display effect of the electronic device is poor due to the content originally displayed by the electronic device being blocked by the chat interface.
  • the embodiment of the present application provides a communication method, the method includes: displaying a first interface and M logos on the screen of the electronic device, each logo indicates a communication application, and M is a positive integer; condition, keep displaying the first interface, and execute the target operation corresponding to the target condition; wherein, when the target condition is to receive the first input of the first identification in the M identifications, the target operation is any of the following One item: sending a message through the first communication application, outputting a message received through the first communication application, where the first communication application is the communication application indicated by the first identification; or, when the target condition is to receive the first message through the first communication application , the target operation is to output the message received through the first communication application.
  • the embodiment of the present application provides a communication device, which may include: a display module, an execution module, and a receiving module.
  • the display module is used to display the first interface and M logos on the screen of the electronic device, each logo indicates a communication application, and M is a positive integer; the display module is also used to keep displaying the first interface when the target condition is met.
  • An interface configured to execute a target operation corresponding to the target condition when the display module keeps displaying the first interface; wherein, when the target condition is that the receiving module receives the first identification among the M identifications, the target operation is any of the following: send a message through the first communication application, output a message received through the first communication application, and the first communication application is the communication application indicated by the first identification; or, when the target condition is When the receiving module receives the first message through the first communication application, the target operation is to output the message received through the first communication application.
  • the embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is executed by the processor to realize As the steps of the method of the first aspect.
  • an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method in the first aspect are implemented.
  • the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the method in the first aspect.
  • the first interface and M logos may be displayed on the screen of the electronic device, each logo indicates a communication application, and M is a positive integer; when the target condition is met, the first interface is kept displayed, And execute the target operation corresponding to the target condition; when the target condition is to receive the first input of the first identification in the M identifications, the target operation is any of the following: send a message through the first communication application, output through The message received by the first communication application, wherein the first communication application is the communication application indicated by the first identification; or, when the target condition is that the first message is received through the first communication application, the target operation is to output the message through the first communication application received message.
  • the communication application indicated by these identifiers can be used to communicate while keeping the first interface displayed, thereby avoiding The first interface is blocked, so the display effect of the electronic device can be improved.
  • FIG. 1 is a schematic diagram of a communication method provided in an embodiment of the present application.
  • FIG. 2 is one of the interface schematic diagrams of the application of the communication method provided by the embodiment of the present application.
  • FIG. 3 is the second schematic diagram of the interface of the application of the communication method provided by the embodiment of the present application.
  • Fig. 4 is the third schematic diagram of the application interface of the communication method provided by the embodiment of the present application.
  • FIG. 5 is the fourth schematic diagram of the application interface of the communication method provided by the embodiment of the present application.
  • FIG. 6 is a schematic diagram of a communication device provided by an embodiment of the present application.
  • FIG. 7 is a schematic diagram of an electronic device provided in an embodiment of the present application.
  • FIG. 8 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present application.
  • logos in the embodiments of the present application are used to indicate text, symbols, images, etc. of information, and controls or other containers may be used as carriers for displaying information, including but not limited to text logos, symbol logos, and image logos.
  • the communication method provided by the embodiment of the present application can be applied to a scene where a user communicates through the electronic device when the user plays games, watches movies, browses webpages or reads novels through the electronic device.
  • the currently displayed interface (such as the first interface in the embodiment of the present application) on the screen of the electronic device may be suspended to display the logo indicating the communication application (such as the M logos in the embodiment of the present application), Therefore, based on the M identifiers, the user can communicate through the communication application indicated by the M identifiers while keeping the first interface displayed.
  • the logo indicating the communication application such as the M logos in the embodiment of the present application
  • the message when a message received by a communication application indicated by one of the above M identifiers is received, the message may be output directly without switching to the communication interface corresponding to the message before the message can be output, In this way, the communication interface can be prevented from blocking the content originally displayed on the current interface, so that the display effect of the electronic device can be improved.
  • the user can input one of the M identifiers.
  • the message can be sent directly through the communication application indicated by the identifier without switching to the communication interface of the communication application. Only after that can the message be input and sent, so that the content originally displayed on the current interface can be prevented from being blocked by the communication interface, so that the display effect of the electronic device can be improved.
  • the user may input one of the M identifiers, and when the input triggers the output of a message, the message received by the communication application indicated by the identifier may be directly output without switching to the M identifier. Only after the communication interface of the communication application can output the message received through the communication application, so as to prevent the communication interface from blocking the content originally displayed on the current interface, thus improving the display effect of the electronic device.
  • an embodiment of the present application provides a communication method, and the method may include the following steps 101 and 102 .
  • the communication method is exemplarily described below by taking the communication device executing the communication method as an example.
  • Step 101 the communication device displays a first interface and M logos on the screen of the electronic device.
  • each identifier indicates a communication application
  • M is a positive integer
  • the communication device displays the first interface and the M identifications on the screen of the electronic device to indicate that: the first interface and the M identifications are displayed on the screen. It is not used to limit the display time of the "first interface” and "M logos", that is, the first interface can be displayed first, and then the M logos can be displayed; or the M logos can be displayed first, and then the first interface can be displayed.
  • the communication application indicated by each identifier may be a communication application installed on the electronic device, or a communication application not installed on the electronic device.
  • the first interface may be any interface displayed on the screen of the electronic device.
  • the first interface may be an interface in any application installed in the electronic device, such as a game interface, an e-book interface, a movie playback interface, a web page, or an interface in a communication application.
  • the communication device may display the M logos in a floating manner, or may display the M logos superimposed, which may be determined according to actual usage requirements, and is not limited in the embodiment of the present application.
  • the communication device may display M logos in any area of the screen, which may be determined according to actual usage requirements, and is not limited in the embodiment of the present application.
  • the user may trigger adjustment of the display position of the logo on the screen by dragging the logo.
  • the communication device when the communication device displays M signs, the communication device can detect whether the signs among the M signs (such as the following target signs) meet the preset conditions (such as the following target condition), if the target identifier satisfies the target condition, the communication device may keep displaying the first interface, and execute the target operation corresponding to the target condition, that is, execute the following step 102. If the target condition is not met, continue testing.
  • the signs among the M signs such as the following target signs
  • the preset conditions such as the following target condition
  • Step 102 when the target condition is met, the communication device keeps displaying the first interface, and executes a target operation corresponding to the target condition.
  • the target condition may be: the communication device receives the user's first input of the first identification among the M identifications (a possible implementation), or the communication device passes the first communication The application receives the first message (another possible implementation manner); wherein, the first communication application is the communication application indicated by the first identifier.
  • the target conditions are different, and the target operations corresponding to the target conditions may also be different. specific:
  • the target operation may be any of the following: send message, outputting a message received through the first communication application.
  • the target operation is to output the message received through the first communication application.
  • the message sent by the communication device through the first communication application is the message input by the user during the input process of the first input.
  • the communication device when the target operation is to output a message received through the first communication application, the communication device may output any message received through the first communication application.
  • the communication device may output the last message received through the first communication application (that is, the above-mentioned first message), or output the message received before receiving the first message among the messages received through the first communication application.
  • the communication device when the target operation is to output a message received through the first communication application, the communication device may output a message sent by any contact object in the first communication application.
  • the communication device may output the message received through the first communication application in text form and/or voice form.
  • the communication device may send a message through the first communication application in a text form or a voice form.
  • the first input may be a user's touch input on the first identification.
  • the first input may be any possible input such as a user's long press input, click input, or slide input on the first identifier.
  • the first input may be an input of a long press by the user on the first identification, and the communication device may record a voice message during the long press; or, the first input may be It includes two sub-inputs, one sub-input is used to trigger the start of voice message recording, and the other sub-input is used to trigger the end of voice message recording.
  • the communication device may send the recorded voice message through the first communication application.
  • the communication device may display a floating window prompting the sending failure, and the user may click on the floating window to trigger the communication device to resend the message.
  • the user can also press and hold the first logo again to trigger re-entering the message, and when the user's finger leaves the screen of the electronic device again, the communication device can send the re-entering message to the target contact person.
  • the communication device when the user presses and holds the first logo, if the communication device does not detect voice information, the communication device may stop recording the message and output a prompt message to prompt the user to re-enter the voice information.
  • the screen of the electronic device displays the first interface and M identifications indicating the communication application
  • one/some identifications in the M identifications may be received Instruct the communication application to receive a message, or, when receiving a specific input (for example, the first input) from the user to one of the M identifiers, the information indicated by these identifiers may be displayed while the first interface is still displayed.
  • the communication application communicates, so that the first interface can be prevented from being blocked, and thus the display effect of the electronic device can be improved.
  • the communication application can communicate with the communication application indicated by the first identifier without switching to the communication interface of the communication application, the communication efficiency of the electronic device can be improved.
  • one identifier may specifically be used to indicate a contact object in a communication application.
  • the contact object indicated by the identification may be a contact or a contact group.
  • the identifier when an identifier indicates a contact object, the identifier may include at least one of the contact object's name, note name, and avatar.
  • step 102 may be specifically implemented by the following step 102a or step 102b.
  • Step 102a when the communication device receives the first input of the first identifier from the user, keep displaying the first interface, and send a message to the target contact object or output the message sent by the target contact object.
  • sending a message to a contact object by the communication device is essentially sending the message to the equipment of the contact object; Message sent by the device.
  • Step 102a will be described exemplarily below with reference to the accompanying drawings.
  • the floating display indicates the sign 22 of the contact "Zhang San", the sign 23 of the contact "Li Si” and the sign 24 of the contact group "family", i.e. M logo. Therefore, the user can long press any one of the M symbols to trigger the communication device to record a voice message, and after the user's finger leaves the screen, the communication device can keep displaying the first interface 21 and send a message to the contact "Zhang San” Send recorded voice messages.
  • Step 102b when the communication device receives the first message sent by the target contact object, keep displaying the first interface, and output the message sent by the target contact object.
  • the target contact object may specifically send a message (for example, the first message) through its device.
  • some of the above M identifiers may indicate communication applications, and the other part of identifiers may indicate contact objects, which may be determined according to actual usage requirements.
  • step 102a and step 102b For other descriptions of step 102a and step 102b, reference may be made to the relevant description of the above step 102 for details, and details are not repeated here to avoid repetition.
  • target message For the convenience of description, the message when the target operation is to output "a message received through the first communication application" is called “target message” below, and the two have the same meaning and can be interchanged.
  • the target operation is to output a message received through the first communication application (that is, the target message), and the output format of the target message by the communication device is in text form
  • the above-mentioned step 102 can be specifically implemented as follows Step 102c or step 102d described above is realized.
  • Step 102c in the case of receiving the first input of the first identification, the communication device keeps displaying the first interface, and scrolls and displays the target message in the target area.
  • Step 102d in the case of receiving the first message through the first communication application, the communication device keeps displaying the first interface, and scrolls and displays the target message in the target area.
  • the target area is: an area on the screen where the status bar is displayed, an area on the screen where the first logo is displayed, or an area on the screen adjacent to the area where the first logo is displayed.
  • the communication device may scroll and display the target message in the form of text bubbles.
  • the first logo 23 indicates the contact "Li Si", and the first The logo 23 is displayed on the left blank area of the electronic device screen 20.
  • the communication device can display a text bubble 25 at the bottom left of the first logo 23, and in the text bubble 25, the text The form scrolls to display the target message.
  • step 102c and step 102d for details, refer to the relevant description in step 102 above, and to avoid repetition, details are not repeated here.
  • the communication device can scroll and display the messages received through the first communication application in the target area of the screen of the electronic device, it can not only ensure that the content displayed on the current interface is not blocked to the greatest extent, but also ensure that the content displayed in the current interface is not blocked.
  • the normal output of the audio content corresponding to the content displayed on the current interface can improve the user experience.
  • the target operation is to output a target message (that is, a message received through the first communication application)
  • the user can also use other An input (different from the first input) triggers the communication device to output a specific message received via the first communication application.
  • the specific message may be any message received through the first communication application; for example, the specific message may be the target message, the first message, or the message received through the first communication application except the target message and the first message other news.
  • the communication method provided by the embodiment of the present application may further include the following steps 103 and 104.
  • Step 103 the communication device receives a user's target input on the first identifier.
  • the target input may be a user's touch input on the first identifier.
  • the target input may be any possible input such as a user's click input or slide input on the first sign.
  • the target input is different from the first input.
  • the first input is a click input on the first logo
  • the target input is an input of sliding right on the first logo.
  • Step 104 The communication device outputs a second message in response to the target input.
  • the second message is a message received by the communication device through the first communication application, and the time of receiving the second message by the communication device is earlier than the time of receiving the first message.
  • the second message is a historical message that should be received through the first communication, for example, the second message may be an unread message among messages received through the first communication application.
  • the user can customize the input form of the target input, so as to facilitate the user to quickly browse the historical information received through the first communication application.
  • the user may trigger the output of any historical message received through the first communication application through the target input, which may be specifically determined according to the input form of the target input.
  • the communication device may output the last piece of information (ie message 2) received through the first communication application; when the target input is that the user slides to the right on the first logo, the communication device The next message received through the first communication application (ie message 1) may be output.
  • the user since the user can trigger the communication device to output the historical messages received by the communication application indicated by the identification by inputting the target of one of the M identifications, it is possible to improve the display effect of the electronic device , to further improve the flexibility for users to view messages.
  • the user may trigger the communication device to select a contact object from a communication application installed in the electronic device by inputting, so as to trigger the communication device to display an identification indicating these contact objects.
  • the above M identifiers may be triggered and set by the user.
  • the user may trigger the communication device to set at least one of the above M identifiers once.
  • the communication method provided in the embodiment of the present application may further include the following Step 105 and Step 106 of .
  • Step 105 the communication device receives a second input from the user.
  • the second input may be used to select N contact objects in the second communication application, where N is a positive integer less than or equal to M.
  • the second communication application may be any communication application installed in the electronic device.
  • the second communication application may be the same as or different from the first communication application.
  • the user may perform a second input on the interface displaying the contact list (hereinafter referred to as the contact list interface) in the second communication application, so as to trigger the communication device to select from the contact list interface.
  • the contact list interface displaying the contact list (hereinafter referred to as the contact list interface) in the second communication application, so as to trigger the communication device to select from the contact list interface.
  • Select N contact objects Select N contact objects.
  • Step 106 the communication device responds to the second input, and displays N logos on the screen of the electronic device.
  • each of the N identifiers may indicate a contact object of the N contact objects, and the N identifiers are identifiers of the M identifiers.
  • the communication device may first determine whether the second communication application allows setting the identification indicating the contact object, and if the second communication application allows setting the identification indicating the contact object, the communication device may display N logo. If the second communication application does not allow setting the identification indicating the contact object, the communication device may display a prompt message to prompt the user to enable the permission of the first application to allow setting the identification indicating the contact object; for example, the communication device may display a prompt popup window, the prompt pop-up window includes "Do you want to open the communication floating window permission of the first application?", "Yes" option and "No” option, if the user clicks on the "Yes” option, the communication device can open the first application The permission of the communication floating window, and display N logos; if the user clicks on the "Yes” option, the communication device will not display N logos.
  • step 105 and step 106 will be described as an example below with reference to FIG. 4 .
  • the second communication application allows setting the identification indicating the contact object in it; and assume that the contact list interface of the second communication application is displayed on the screen of the electronic device, then: if the user demand setting indicates that the contact "Zhang San” , then as shown in (a) in FIG. 4 , the user can press and hold the contact "Zhang San” in the contact list interface 40 to trigger the communication device to display the option 41 of "open chat floating logo", Therefore, the user can click on this option 41 , as shown in (b) in FIG. 4 , the communication device floats on the contact list interface 40 to display a sign 42 indicating the contact "Zhang San".
  • the above-mentioned second input may include the user's long-press input on the contact "Zhang San” and the click input on the option "open chat floating logo". Further, when the user triggers the communication device to switch from the contact list interface to the video playback interface, the communication device may display an identification indicating the contact "Zhang San" on the video playback interface.
  • the above example is an example of a user selecting a contact object. Select multiple contact objects in the contact list interface, and trigger setting to indicate the identifiers of the selected contact objects.
  • the user can trigger the communication device to set the identifier indicating the communication application by inputting on the setting interface or on the desktop. For example, the user may input an application icon of the communication application displayed on the desktop to trigger the communication device to display an identification indicating the communication application on the screen of the electronic device.
  • the user can trigger the electronic device to display N signs indicating N contact objects through the second input according to actual usage requirements, the flexibility of setting signs is improved.
  • the user can directly realize the communication with the contact objects indicated by these identifications through the identification displayed by the communication device, without having to display the communication interface corresponding to these contact objects to realize the communication with these contact objects, so not only can It prevents the communication interface from blocking the content originally displayed on the screen, and can improve the communication efficiency of the electronic device.
  • the user can input any one of the M identifiers to trigger the communication device to set the communication application indicated by the identifier (such as the third communication application described below) to send a message , or set the format for outputting messages received through the third communication application. That is, users can flexibly set the form of outputting and/or sending messages according to their actual usage requirements, thereby improving the flexibility of operations.
  • the communication method provided in the embodiment of the present application may further include the following steps 107 to 110.
  • Step 107 The communication device receives a third input from the user on the second identifier among the M identifiers.
  • the second identifier indicates the third communication application.
  • the second identifier may be the same as or different from the first identifier, which may be determined according to actual usage requirements, and is not limited in this embodiment of the application.
  • the third communication application when the second identity is the same as the first identity, the third communication application is the same as the first communication application; when the second identity is different from the first identity, the third communication application is the same as the first identity Communication applications are different.
  • the third input is a user's touch input on the second identifier.
  • the third input may be an input in which the user draws a circle on the second mark, or an input in which the user clicks multiple times (two or more times) on the second mark.
  • the third input is an input different from the first input and the second input.
  • Step 108 the communication device displays a setting menu in response to the third input.
  • the above setting menu may include multiple menu items, and each menu item indicates a form of sending or outputting a message.
  • the above-mentioned setting menu includes a first submenu and/or a second submenu, the menu items in the first submenu are used to set the form of sending messages, and the menu items in the second submenu Used to set the form of the output message.
  • the fourth input is a user's touch input on the target menu item.
  • the fourth input may be any possible input such as long press input, click input or slide input of the user on the target menu item.
  • Step 109 the communication device receives a fourth input from the user on a target menu item among the plurality of menu items.
  • step 110 the communication device sets, in response to the fourth input, the form of sending or outputting a message through the third communication application as the form indicated by the target menu item.
  • the communication device sets the form of sending or outputting messages through the third communication application as the form indicated by the target menu item, specifically: setting the message of sending messages through the third communication application as the target menu
  • the form indicated by the item, or, the form of the message received through the third communication application is output as the form indicated by the target menu item.
  • step 107 to step 110 will be exemplarily described below with reference to FIG. 5 .
  • a video playback interface 21 i.e. the first interface
  • a sign 22 indicating the contact "Zhang San” are displayed on the screen of the electronic device, and the user can click on the sign 22 Double click (i.e.
  • the communication device can display a menu 26, which includes a second submenu 26-1 for setting the form of the output message, the second submenu 26-1
  • the second sub-menu 26-1 includes two menu items, respectively "voice output” menu item and "text output” menu item, so if the user needs to output the message sent by the contact "Zhang San” in voice form, the user can click on Click on the "Voice Output" menu item (ie, the target menu item) to trigger the communication device to set the format of the message sent by the output contact "Zhang San” as a voice format (ie, the format indicated by the target menu item).
  • the communication device can output the message sent by the contact "San Zhang” in the form of voice, for example, the communication device receives the message sent by the contact "San Zhang".
  • text message the communication device may convert the text message into a voice message before outputting the voice message. It can be understood that after triggering and setting the form of the output message, the user can click on the screen of the electronic device to trigger the communication device to cancel the display of the menu 26 .
  • the user may trigger the communication device to set different forms of sending or outputting messages through different communication applications.
  • the form of sending messages through the communication application 1 is set as a voice form
  • the form of sending messages through the communication application 2 is set as a text form.
  • the user can trigger the communication device to preset the form of sending or outputting a message indicated by the communication application as the target menu item through the third input and the fourth input for one of the M identifications
  • the form of the indication thus it can be ensured that the communication device outputs and/or transmits the message in a form that meets the needs of the user. This increases the flexibility of communication.
  • M identities indicate M communication applications.
  • M identities can also indicate M contact objects.
  • the communication device may display an identifier indicating the communication application in a display mode (such as the first display mode described below), if the message sent through a communication application includes unread messages , the communication device may display the identifier indicating the communication application in another display manner (for example, the second display manner described below). In this way, the user can quickly learn which communication applications include unread messages in the received messages.
  • the embodiment of the present application it is assumed that when the message received through the first communication application does not include unread messages, the first identification is displayed in the first display mode; then before the above step 102, the embodiment of the present application provides The communication method may also include the following step 111 .
  • Step 111 upon receiving the message sent by the first communication application, the communication device updates the display mode of the first logo from the first display mode to the second display mode.
  • the first display manner is different from the second display manner.
  • the display color of the first logo is white (that is, the first display mode)
  • the communication device after the communication device receives the message sent through the first communication application, it can display the The display color of the first logo is updated to red (that is, the second display mode).
  • the user when receiving a message sent through the first communication application, since the communication device can update the display mode of the first identification, the user can know the message received through the first communication application based on the display mode of the first identification. Whether unread messages are included in the message, which can improve user experience.
  • the communication device outputs the M contact objects
  • the communication device may output the other message after outputting the message sent by the one contact object. The message sent by the contact object, so that the user does not miss the message.
  • the user can pre-select and set the trigger condition for outputting the message sent by the M contact objects.
  • the trigger condition for outputting the message sent by one of the M contact objects can be preset to automatically output after receiving the message.
  • the trigger condition for outputting messages sent by other contact objects except the one contact object among the M contact objects is preselected to be output after the user triggers.
  • the trigger condition for outputting the messages sent by the M contact objects can be set according to the order in which the identifiers indicating the M contact objects are set, for example, assuming that the identifier indicating the contact "Zhang San" is set first, Then the communication device can automatically output the message after receiving the message sent by the contact "Zhang San"; After output.
  • the execution subject may be a communication device, or an execution module in the communication device for executing the communication method.
  • the communication device provided in the embodiment of the present application is described by taking the communication device executing the communication method as an example.
  • the embodiment of the present application provides a communication device 60, which may include: a display module 61, a receiving module 62 and an execution module 63; the display module 61 may be used to display the first The interface and M identifications, each identification can indicate a communication application, and M is a positive integer; the display module 61 can also be used to keep displaying the first interface when the target condition is met; the execution module 63 can be used to When the display module 61 keeps displaying the first interface, execute the target operation corresponding to the target condition; wherein, when the target condition is that the receiving module 62 receives the first input of the first identification in the M identifications, the target operation Be any of the following: send a message through the first communication application, output a message received through the first communication application, and the first communication application is a communication application that can be indicated by the first identification; or, when the target condition is that the receiving module 62 passes the first When the communication application receives the first message, the target operation is to output the message received through the first communication application.
  • each of the above-mentioned M identifiers may indicate a contact object in a communication application, and the first identifier may indicate a target contact object in the first communication application;
  • the display module 61 can specifically be used to keep displaying the first interface when the receiving module 62 receives the first input to the first identification; and the execution module 63 can specifically be used to keep displaying the first interface on the display module 61 In the case of , send a message to the target contact object, or output the message sent by the target contact object; or, the display module 61 can specifically be used to keep displaying the message when the receiving module 62 receives the first message sent by the target contact object
  • the first interface; and the executing module 63 may specifically be configured to output a message sent by the target contact object when the display module 61 keeps displaying the first interface.
  • the receiving module 62 can also be used to receive the target input of the first identification after the execution module 63 outputs the message received through the first communication application; the execution module 63 can also be used to In response to the target input, output a second message, the second message is a message received through the first communication application; wherein, the time of receiving the second message is earlier than the time of receiving the first message.
  • the receiving module 62 can also be used to receive a second input from the user before the display module 61 displays the first interface on the screen, and the second input can be used in the second communication application Select N contact objects; the display module 61 can also be used to display N identifications on the screen in response to the second input received by the receiving module 62, and each identification in the N identifications can indicate one of the N contact objects A contact object, and the N identifiers are identifiers among the M identifiers; wherein, N is a positive integer less than or equal to M.
  • the receiving module 62 may also be configured to receive a third input of the second identifier among the M identifiers after the display module 61 displays the first interface on the screen, the second identifier Can indicate a third communication application; the display unit can also be used to display a setting menu in response to the third input received by the receiving module 62.
  • the setting menu can include a plurality of menu items, and each menu item can indicate a transmission or output In the form of a message; the receiving module 62 can also be used to receive a fourth input to a target menu item in a plurality of menu items; the execution module 63 can also be used to respond to the fourth input received by the receiving module 62, and pass the 3.
  • the form of sending or outputting the message by the communication application is set as a form that can be indicated by the target menu item.
  • the communication device when the first interface and M identifications indicating communication applications are displayed on the screen of the electronic device, since one/some identifications in the M identifications may be received Instruct the communication application to receive a message, or, when receiving a specific input (for example, the first input) from the user to one of the M identifiers, the information indicated by these identifiers may be displayed while the first interface is still displayed.
  • the communication application communicates, so that the first interface can be prevented from being blocked, and thus the display effect of the electronic device can be improved.
  • the communication device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal.
  • the device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant).
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the communication device in this embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
  • the communication device 60 provided in the embodiment of the present application can implement various processes implemented by the communication method embodiment in the method embodiments in FIG. 1 to FIG. 5 , and details are not repeated here to avoid repetition.
  • the embodiment of the present application also provides an electronic device 200, including a processor 202, a memory 201, and a program or instruction stored in the memory 201 and operable on the processor 202.
  • the program or instruction is processed When executed by the device 202, each process of the above-mentioned communication method embodiment can be realized, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010, etc. part.
  • the electronic device 1000 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 1010 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 8 does not constitute a limitation to the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, and details will not be repeated here. .
  • the display unit 1006 can be used to display the first interface and M logos on the screen of the electronic device, each logo can indicate a communication application, and M is a positive integer; the display unit 1006 can also be used to In the case of , keep displaying the first interface; the radio frequency unit 1001/audio output unit 1003/display unit 1006 can be used to execute the target operation corresponding to the target condition when the display unit 1006 keeps displaying the first interface; wherein,
  • the target operation is any of the following: sending a message through the first communication application, outputting a message received through the first communication application
  • the first communication application is a communication application that can be indicated by the first identifier; or, when the target condition is that the first message is received through the first communication application, the target operation is to output the message received through the first communication application.
  • each of the above-mentioned M identifiers may indicate a contact object in a communication application, and the first identifier may indicate a target contact object in the first communication application;
  • the display unit 1006 Specifically, it can be used to keep displaying the first interface when the user input unit 1007 receives the first input to the first identifier;
  • the radio frequency unit 1001 can be used to keep displaying the first interface when the display unit 1006 keeps displaying, Send a message to the target contact object; or
  • the audio output unit 1003/display unit 1006 can specifically be used to output a message sent by the target contact object when the display unit 1006 keeps displaying the first interface; or, the display unit 1006 can specifically It can be used to keep displaying the first interface when the radio frequency unit 1001 receives the first message sent by the target contact object;
  • the audio output unit 1003/display unit 1006 can specifically be used to keep displaying the first interface on the display unit 1006 case, output the message sent by the target contact object.
  • the user input unit 1007 may also be configured to receive a target input for the first identification after the audio output unit 1003/display unit 1006 outputs the message received through the first communication application; the audio output Unit 1003/display unit 1006 may also be configured to output a second message in response to target input, where the second message is a message received through the first communication application; wherein, the time of receiving the second message is earlier than the time of receiving the first message time.
  • the user input unit 1007 may also be used to receive a second input from the user before the display unit 1006 displays the first interface on the screen, and the second input may be used in the second communication application Select N contact objects among them; the display unit 1006 can also be configured to display N identifications on the screen in response to the second input received by the user input unit 1007, and each identification in the N identifications can indicate one of the N contact objects.
  • a contact object of , and the N identifiers are the identifiers of the M identifiers; wherein, N is a positive integer less than or equal to M.
  • the user input unit 1007 may also be configured to receive a third input to the second identifier among the M identifiers after the display unit 1006 displays the first interface on the screen.
  • the identification may indicate a third communication application;
  • the display unit may also be configured to display a setting menu in response to a third input received by the user input unit 1007, where multiple menu items may be included in the setting menu, and each menu item may indicate a transmission or in the form of an output message;
  • the user input unit 1007 may also be used to receive a fourth input to a target menu item in a plurality of menu items;
  • the execution module may also be used to respond to the fourth input received by the user input unit 1007, A form of sending or outputting a message through the third communication application is set as a form that can be indicated by the target menu item.
  • the screen of the electronic device displays the first interface and M identifications indicating the communication application
  • one/some identifications in the M identifications may be received Instruct the communication application to receive a message, or, when receiving a specific input (for example, the first input) from the user to one of the M identifiers, the information indicated by these identifiers may be displayed while the first interface is still displayed.
  • the communication application communicates, so that the first interface can be prevented from being blocked, and thus the display effect of the electronic device can be improved.
  • the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 is used for the image capture device (such as the image data of the still picture or video obtained by the camera) for processing.
  • the display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 1007 includes a touch panel 10071 and other input devices 10072 .
  • the touch panel 10071 is also called a touch screen.
  • the touch panel 10071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 10072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • the memory 1009 can be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • Processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 1010 .
  • the embodiment of the present application also provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, each process of the above-mentioned communication method embodiment is realized, and the same technology can be achieved. Effect, in order to avoid repetition, will not repeat them here.
  • the above-mentioned processor is the processor in the electronic device in the above-mentioned embodiment.
  • the above-mentioned readable storage medium includes a computer readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to realize the various processes of the above-mentioned communication method embodiments, and can achieve the same Technical effects, in order to avoid repetition, will not be repeated here.
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
  • the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

A communication method and apparatus, an electronic device, and a readable storage medium, relating to the technical field of communications. The method comprises: displaying a first interface and M identifiers on a screen of an electronic device, each identifier indicating one communication application, and M being a positive integer; and when a target condition is satisfied, keeping displaying the first interface, and executing a target operation corresponding to the target condition. When the target condition is that a first input of a first identifier among the M identifiers is received, the target operation is any one of the following operations: sending a message by means of a first communication application, and outputting a message received by means of the first communication application, wherein the first communication application is a communication application indicated by the first identifier; or when the target condition is that a first message is received by means of the first communication application, the target operation is outputting the message received by means of the first communication application.

Description

通信方法、装置、电子设备以及可读存储介质Communication method, device, electronic device, and readable storage medium
相关申请的交叉引用Cross References to Related Applications
本申请主张在2022年06月02日在中国提交的中国专利申请号202110616260.1的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202110616260.1 filed in China on June 2, 2022, the entire contents of which are hereby incorporated by reference.
技术领域technical field
本申请属于通信技术领域,具体涉及一种通信方法、装置、电子设备以及可读存储介质。The present application belongs to the technical field of communication, and in particular relates to a communication method, device, electronic equipment and readable storage medium.
背景技术Background technique
目前,用户可以通过电子设备中安装的通讯应用与其他用户通讯。Currently, users can communicate with other users through communication applications installed in electronic devices.
示例性地,当用户需求通过通讯应用与一个用户通讯时,用户可以在通讯应用的图标上点击,以触发电子设备显示通讯应用的联系人列表界面,然后用户可以在该联系人列表界面中查找到特定联系人,并在该联系人上点击,以触发电子设备显示与该联系人对应的聊天界面,从而用户可以通过该聊天界面实现与该用户的通讯。Exemplarily, when a user needs to communicate with a user through a communication application, the user can click on the icon of the communication application to trigger the electronic device to display the contact list interface of the communication application, and then the user can search the contact list interface Go to a specific contact, and click on the contact to trigger the electronic device to display a chat interface corresponding to the contact, so that the user can communicate with the user through the chat interface.
然而,按照上述方法,由于需要通过通讯应用中的聊天界面才能实现通讯,而聊天界面可能遮挡电子设备原本显示的内容(例如电影或电子书)的显示,因此导致电子设备的显示效果较差。However, according to the above method, the communication needs to be realized through the chat interface in the communication application, and the chat interface may block the display of the content (such as movies or e-books) originally displayed by the electronic device, thus resulting in poor display effect of the electronic device.
发明内容Contents of the invention
本申请实施例的目的是提供一种通信方法、装置和电子设备,能够解决因聊天界面遮挡电子设备原本显示的内容导致电子设备的显示效果较差的问题。The purpose of the embodiments of the present application is to provide a communication method, device and electronic device, which can solve the problem that the display effect of the electronic device is poor due to the content originally displayed by the electronic device being blocked by the chat interface.
第一方面,本申请实施例提供了一种通信方法,该方法包括:在电子设备的屏幕上显示第一界面以及M个标识,每个标识指示一个通信应用,M为正整数;在满足目标条件的情况下,保持显示第一界面,并执行与目标条件对应的目标操作;其中,当目标条件为接收到对该M个标识中的第一标识的第一输入时,目标操作为以下任一项:通过第一通信应用发送消息、输出通过第一通信应用接收的消息,第一通信应用为第一标识指示的通信应用;或者,当目标条件为通过第一通信应用接收到第一消息时,目标操作为输出通过第一通信应用接收到的消息。In the first aspect, the embodiment of the present application provides a communication method, the method includes: displaying a first interface and M logos on the screen of the electronic device, each logo indicates a communication application, and M is a positive integer; condition, keep displaying the first interface, and execute the target operation corresponding to the target condition; wherein, when the target condition is to receive the first input of the first identification in the M identifications, the target operation is any of the following One item: sending a message through the first communication application, outputting a message received through the first communication application, where the first communication application is the communication application indicated by the first identification; or, when the target condition is to receive the first message through the first communication application , the target operation is to output the message received through the first communication application.
第二方面,本申请实施例提供了一种通信装置,该装置可以包括:显示模块、执行模块和接收模块。显示模块,用于在电子设备的屏幕上显示第一界面以及M个标识,每个标识指示一个通信应用,M为正整数;显示模块,还用于在满足目标条件的情况下,保持显示第一界面;执行模块,用于在显示模块保持显示第一界面的情况下,执行与目标条件对应的目标操作;其中,当目标条件为接收模块接收到对该M个标识中的第一标识的第一输入时,目标操作为以下任一项:通过第一通信应用发送消息、输 出通过第一通信应用接收的消息,第一通信应用为第一标识指示的通信应用;或者,当目标条件为接收模块通过第一通信应用接收到第一消息时,目标操作为输出通过第一通信应用接收到的消息。In a second aspect, the embodiment of the present application provides a communication device, which may include: a display module, an execution module, and a receiving module. The display module is used to display the first interface and M logos on the screen of the electronic device, each logo indicates a communication application, and M is a positive integer; the display module is also used to keep displaying the first interface when the target condition is met. An interface; an execution module, configured to execute a target operation corresponding to the target condition when the display module keeps displaying the first interface; wherein, when the target condition is that the receiving module receives the first identification among the M identifications When the first input is made, the target operation is any of the following: send a message through the first communication application, output a message received through the first communication application, and the first communication application is the communication application indicated by the first identification; or, when the target condition is When the receiving module receives the first message through the first communication application, the target operation is to output the message received through the first communication application.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序或指令,该程序或指令被处理器执行时实现如第一方面的方法的步骤。In the third aspect, the embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is executed by the processor to realize As the steps of the method of the first aspect.
第四方面,本申请实施例提供了一种可读存储介质,该可读存储介质上存储程序或指令,该程序或指令被处理器执行时实现如第一方面的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method in the first aspect are implemented.
第五方面,本申请实施例提供了一种芯片,该芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现如第一方面的方法。In the fifth aspect, the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the method in the first aspect.
在本申请实施例中,可以在电子设备的屏幕上显示第一界面以及M个标识,每个标识指示一个通信应用,M为正整数;在满足目标条件的情况下,保持显示第一界面,并执行与目标条件对应的目标操作;当目标条件为接收到对该M个标识中的第一标识的第一输入时,目标操作为以下任一项:通过第一通信应用发送消息、输出通过第一通信应用接收的消息,其中,第一通信应用为第一标识指示的通信应用;或者,当目标条件为通过第一通信应用接收到第一消息时,目标操作为输出通过第一通信应用接收到的消息。通过该方案,当电子设备的屏幕上显示有第一界面和指示通信应用的M个标识时,由于可以在接收到通过该M个标识中的某个/某些标识指示通信应用接收的消息,或者,在接收到用户对该M个标识中的某个标识的特定输入(例如第一输入)时,可以在保持显示第一界面的情况下,通过这些标识指示的通信应用通信,从而可以避免第一界面被遮挡,因此可以提高电子设备的显示效果。In the embodiment of the present application, the first interface and M logos may be displayed on the screen of the electronic device, each logo indicates a communication application, and M is a positive integer; when the target condition is met, the first interface is kept displayed, And execute the target operation corresponding to the target condition; when the target condition is to receive the first input of the first identification in the M identifications, the target operation is any of the following: send a message through the first communication application, output through The message received by the first communication application, wherein the first communication application is the communication application indicated by the first identification; or, when the target condition is that the first message is received through the first communication application, the target operation is to output the message through the first communication application received message. Through this solution, when the first interface and M identifications indicating the communication application are displayed on the screen of the electronic device, since the message received by the communication application may be indicated by some/some identifications in the M identifications, Or, when receiving a specific input (for example, the first input) from the user to a certain identifier among the M identifiers, the communication application indicated by these identifiers can be used to communicate while keeping the first interface displayed, thereby avoiding The first interface is blocked, so the display effect of the electronic device can be improved.
附图说明Description of drawings
图1为本申请实施例提供的通信方法的示意图;FIG. 1 is a schematic diagram of a communication method provided in an embodiment of the present application;
图2为本申请实施例提供的通信方法应用的界面示意图之一;FIG. 2 is one of the interface schematic diagrams of the application of the communication method provided by the embodiment of the present application;
图3为本申请实施例提供的通信方法应用的界面示意图之二;FIG. 3 is the second schematic diagram of the interface of the application of the communication method provided by the embodiment of the present application;
图4为本申请实施例提供的通信方法应用的界面示意图之三;Fig. 4 is the third schematic diagram of the application interface of the communication method provided by the embodiment of the present application;
图5为本申请实施例提供的通信方法应用的界面示意图之四;FIG. 5 is the fourth schematic diagram of the application interface of the communication method provided by the embodiment of the present application;
图6为本申请实施例提供的通信装置的示意图;FIG. 6 is a schematic diagram of a communication device provided by an embodiment of the present application;
图7为本申请实施例提供的电子设备的示意图;FIG. 7 is a schematic diagram of an electronic device provided in an embodiment of the present application;
图8为本申请实施例提供的电子设备的硬件示意图。FIG. 8 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范 围。The following will clearly describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of them. All other embodiments obtained by persons of ordinary skill in the art based on the embodiments in this application belong to the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.
需要说明的是,本申请实施例中的标识用于指示信息的文字、符号、图像等,可以以控件或者其他容器作为显示信息的载体,包括但不限于文字标识、符号标识、图像标识。It should be noted that the logos in the embodiments of the present application are used to indicate text, symbols, images, etc. of information, and controls or other containers may be used as carriers for displaying information, including but not limited to text logos, symbol logos, and image logos.
下面首先对本申请的权利要求书和说明书中涉及的一些名词或者术语进行解释说明。Firstly, some nouns or terms involved in the claims and description of the present application will be explained below.
本申请实施例提供的通信方法可以应用于用户在通过电子设备玩游戏、看电影、浏览网页或阅读小说的情况下,通过该电子设备进行通信的场景中。The communication method provided by the embodiment of the present application can be applied to a scene where a user communicates through the electronic device when the user plays games, watches movies, browses webpages or reads novels through the electronic device.
本申请实施例中,可以在电子设备的屏幕上当前显示的界面(例如本申请实施例中的第一界面)上悬浮显示指示通信应用的标识(例如本申请实施例中的M个标识),从而用户可以基于该M个标识,在保持显示第一界面的情况下,通过该M个标识指示的通信应用进行通信。具体地:In the embodiment of the present application, the currently displayed interface (such as the first interface in the embodiment of the present application) on the screen of the electronic device may be suspended to display the logo indicating the communication application (such as the M logos in the embodiment of the present application), Therefore, based on the M identifiers, the user can communicate through the communication application indicated by the M identifiers while keeping the first interface displayed. specifically:
一种情况下,当接收到通过上述M个标识中的一个标识指示的通信应用接收的消息时,可以直接输出该消息,而无需在切换至与该消息对应的通信界面之后才能输出该消息,从而可以避免通信界面遮挡当前界面原本显示的内容,如此可以提高电子设备的显示效果。In one case, when a message received by a communication application indicated by one of the above M identifiers is received, the message may be output directly without switching to the communication interface corresponding to the message before the message can be output, In this way, the communication interface can be prevented from blocking the content originally displayed on the current interface, so that the display effect of the electronic device can be improved.
另一种情况下,用户可以对M个标识中的一个标识输入,当该输入为输入一个消息时,可以直接通过该标识指示的通信应用发送该消息,而无需在切换至通信应用的通信界面之后才能输入并发送消息,从而可以避免通信界面遮挡当前界面原本显示的内容,如此可以提高电子设备的显示效果。In another case, the user can input one of the M identifiers. When the input is a message, the message can be sent directly through the communication application indicated by the identifier without switching to the communication interface of the communication application. Only after that can the message be input and sent, so that the content originally displayed on the current interface can be prevented from being blocked by the communication interface, so that the display effect of the electronic device can be improved.
又一种情况下,用户可以对M个标识中的一个标识输入,当该输入为触发输出消息的输入时,可以直接输出通过该标识指示的通信应用接收的消息,而无需在切换至与该通信应用的通信界面之后才能输出通过该通信应用接收的消息,从而可以避免通信界面遮挡当前界面原本显示的内容,如此可以提高电子设备的显示效果。In another case, the user may input one of the M identifiers, and when the input triggers the output of a message, the message received by the communication application indicated by the identifier may be directly output without switching to the M identifier. Only after the communication interface of the communication application can output the message received through the communication application, so as to prevent the communication interface from blocking the content originally displayed on the current interface, thus improving the display effect of the electronic device.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的通信方法、装置、电子设备以及可读存储介质进行详细地说明。The communication method, device, electronic device, and readable storage medium provided by the embodiments of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
结合图1,本申请实施例提供一种通信方法,该方法可以包括下述的步骤101和步骤102。下面以通信装置执行该通信方法为例对该通信方法进行示例性地说明。Referring to FIG. 1 , an embodiment of the present application provides a communication method, and the method may include the following steps 101 and 102 . The communication method is exemplarily described below by taking the communication device executing the communication method as an example.
步骤101、通信装置在电子设备的屏幕上显示第一界面以及M个标识。 Step 101, the communication device displays a first interface and M logos on the screen of the electronic device.
其中,每个标识指示一个通信应用,M为正整数。Wherein, each identifier indicates a communication application, and M is a positive integer.
本申请实施例中,通信装置在电子设备的屏幕上显示第一界面以及M个标识表示:屏幕上显示有第一界面和M个标识。并不用于限定“第一界面”和“M个标识”的显示时刻,即第一界面可以先显示,然后再显示M个标识;或者可以先显示M个标识,然后再显示第一界面。In the embodiment of the present application, the communication device displays the first interface and the M identifications on the screen of the electronic device to indicate that: the first interface and the M identifications are displayed on the screen. It is not used to limit the display time of the "first interface" and "M logos", that is, the first interface can be displayed first, and then the M logos can be displayed; or the M logos can be displayed first, and then the first interface can be displayed.
可选地,本申请实施例中,每个标识指示的通信应用均可以为电子设备已安装的通信应用,也可以电子设备未安装的通信应用。Optionally, in this embodiment of the present application, the communication application indicated by each identifier may be a communication application installed on the electronic device, or a communication application not installed on the electronic device.
可选地,本申请实施例中,第一界面可以为电子设备的屏幕上显示的任意界面。例如,第一界面可以为游戏界面、电子书界面、电影播放界面、网页、通信应用中的界面等电子设备中安装的任意应用中的界面。Optionally, in this embodiment of the present application, the first interface may be any interface displayed on the screen of the electronic device. For example, the first interface may be an interface in any application installed in the electronic device, such as a game interface, an e-book interface, a movie playback interface, a web page, or an interface in a communication application.
可选地,本申请实施例中,通信装置可以悬浮显示M个标识,也可以叠加显示该M个标识,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in the embodiment of the present application, the communication device may display the M logos in a floating manner, or may display the M logos superimposed, which may be determined according to actual usage requirements, and is not limited in the embodiment of the present application.
可选地,本申请实施例中,通信装置可以在屏幕的任意区域显示M个标识,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in the embodiment of the present application, the communication device may display M logos in any area of the screen, which may be determined according to actual usage requirements, and is not limited in the embodiment of the present application.
可选地,本申请实施例中,用户可以通过拖动标识的方式,触发调整该标识在屏幕上的显示位置。Optionally, in this embodiment of the present application, the user may trigger adjustment of the display position of the logo on the screen by dragging the logo.
需要说明的是,本申请实施例中,在通信装置显示M个标识的情况下,通信装置可以检测该M个标识中的标识(例如下述的目标标识)是否满足预设条件(例如下述目标条件),若目标标识满足目标条件,则通信装置可以保持显示第一界面,并执行与目标条件对应的目标操作,即执行下述的步骤102。若不满足目标条件,则继续检测。对于目标条件的描述,将在下述实施例中进行详细描述,为了避免重复,此处不予赘述。It should be noted that, in the embodiment of the present application, when the communication device displays M signs, the communication device can detect whether the signs among the M signs (such as the following target signs) meet the preset conditions (such as the following target condition), if the target identifier satisfies the target condition, the communication device may keep displaying the first interface, and execute the target operation corresponding to the target condition, that is, execute the following step 102. If the target condition is not met, continue testing. The description of the target conditions will be described in detail in the following embodiments, and will not be repeated here to avoid repetition.
步骤102、通信装置在满足目标条件的情况下,保持显示第一界面,并执行与目标条件对应的目标操作。 Step 102 , when the target condition is met, the communication device keeps displaying the first interface, and executes a target operation corresponding to the target condition.
可选地,本申请实施例中,目标条件可以为:通信装置接收到用户对M个标识中的第一标识的第一输入(一种可能的实现方式),或,通信装置通过第一通信应用接收到第一消息(另一种可能的实现方式);其中,第一通信应用为第一标识指示的通信应用。Optionally, in this embodiment of the present application, the target condition may be: the communication device receives the user's first input of the first identification among the M identifications (a possible implementation), or the communication device passes the first communication The application receives the first message (another possible implementation manner); wherein, the first communication application is the communication application indicated by the first identifier.
本申请实施例中,目标条件不同,与目标条件对应的目标操作也可能不同。具体的:In the embodiment of the present application, the target conditions are different, and the target operations corresponding to the target conditions may also be different. specific:
在上述一种可能的实现方式中,即当目标条件为通信装置接收到用户对M个标识中的第一标识的第一输入时,目标操作可以为以下任一项:通过第一通信应用发送消息、输出通过第一通信应用接收的消息。在上述另一种可能的实现方式中,即当目标条件为通信装置通过第一通信应用接收到第一消息时,目标操作为输出通过第一通信应用接收到的消息。In one of the above possible implementations, that is, when the target condition is that the communication device receives the user's first input on the first identifier among the M identifiers, the target operation may be any of the following: send message, outputting a message received through the first communication application. In another possible implementation manner above, when the target condition is that the communication device receives the first message through the first communication application, the target operation is to output the message received through the first communication application.
本申请实施例中,通信装置通过第一通信应用发送的消息为用户在第一输入输入 的输入过程中输入的消息。In the embodiment of the present application, the message sent by the communication device through the first communication application is the message input by the user during the input process of the first input.
可选地,本申请实施例中,当目标操作为输出通过第一通信应用接收的消息时,通信装置可以输出通过第一通信应用接收的任一个消息。Optionally, in this embodiment of the present application, when the target operation is to output a message received through the first communication application, the communication device may output any message received through the first communication application.
例如,通信装置可以输出最近一次通过第一通信应用接收的消息(即上述第一消息),或者输出通过第一通信应用接收的消息中在接收第一消息之前接收的消息。For example, the communication device may output the last message received through the first communication application (that is, the above-mentioned first message), or output the message received before receiving the first message among the messages received through the first communication application.
可选地,本申请实施例中,当目标操作为输出通过第一通信应用接收的消息时,通信装置可以输出第一通信应用中的任一联系对象发送的消息。Optionally, in this embodiment of the present application, when the target operation is to output a message received through the first communication application, the communication device may output a message sent by any contact object in the first communication application.
可选地,本申请实施例中,通信装置可以以文本形式和/或语音形式输出通过第一通信应用接收的消息。对应地,通信装置可以以文本形式或语音形式,通过第一通信应用发送消息。Optionally, in this embodiment of the present application, the communication device may output the message received through the first communication application in text form and/or voice form. Correspondingly, the communication device may send a message through the first communication application in a text form or a voice form.
可选地,本申请实施例中,第一输入可以为用户对第一标识的触控输入。具体的,第一输入可以为用户在第一标识上的长按输入、点击输入或滑动输入等任意可能的输入。Optionally, in this embodiment of the present application, the first input may be a user's touch input on the first identification. Specifically, the first input may be any possible input such as a user's long press input, click input, or slide input on the first identifier.
例如,当目标操作为通过第一通信应用发送消息时,第一输入可以为用户在第一标识上长按的输入,通信装置可以在长按过程中,录制语音消息;或者,第一输入可以包括两个子输入,一个子输入用于触发开始语音消息的录制,另一个子输入用于触发结束语音消息的录制。从而,在第一输入结束之后,通信装置可以通过第一通信应用发送录制的语音消息。For example, when the target operation is to send a message through the first communication application, the first input may be an input of a long press by the user on the first identification, and the communication device may record a voice message during the long press; or, the first input may be It includes two sub-inputs, one sub-input is used to trigger the start of voice message recording, and the other sub-input is used to trigger the end of voice message recording. Thus, after the first input is finished, the communication device may send the recorded voice message through the first communication application.
如果通信装置发送消息失败,那么可以显示提示发送失败的悬浮窗,用户可以在该悬浮窗上点击,以触发通信装置重新发送消息。当然,用户也可以重新长按第一标识,以触发重新录入消息,且在用户手指再次离开电子设备的屏幕时,通信装置可以向目标联系对象发送重新录入的消息。If the communication device fails to send the message, it may display a floating window prompting the sending failure, and the user may click on the floating window to trigger the communication device to resend the message. Of course, the user can also press and hold the first logo again to trigger re-entering the message, and when the user's finger leaves the screen of the electronic device again, the communication device can send the re-entering message to the target contact person.
可选地,本申请实施例中,在用户长按第一标识的情况下,若通信装置没有检测到语音信息,则通信装置可以停止消息的录制,并输出提示信息,以提示用户重新录入语音信息。Optionally, in this embodiment of the application, when the user presses and holds the first logo, if the communication device does not detect voice information, the communication device may stop recording the message and output a prompt message to prompt the user to re-enter the voice information.
在本申请实施例提供的通信装置中,当电子设备的屏幕中显示有第一界面和指示通信应用的M个标识时,由于可以在接收到通过该M个标识中的某个/某些标识指示通信应用接收的消息,或者,在接收到用户对该M个标识中的某个标识的特定输入(例如第一输入)时,可以在保持显示第一界面的情况下,通过这些标识指示的通信应用通信,从而可以避免第一界面被遮挡,因此可以提高电子设备的显示效果。In the communication device provided in the embodiment of the present application, when the screen of the electronic device displays the first interface and M identifications indicating the communication application, since one/some identifications in the M identifications may be received Instruct the communication application to receive a message, or, when receiving a specific input (for example, the first input) from the user to one of the M identifiers, the information indicated by these identifiers may be displayed while the first interface is still displayed. The communication application communicates, so that the first interface can be prevented from being blocked, and thus the display effect of the electronic device can be improved.
进一步地,由于无需切换至与第一标识指示的通信应用的通信界面即可该通信应用进行通信,因此可以提高电子设备的通信效率。Further, since the communication application can communicate with the communication application indicated by the first identifier without switching to the communication interface of the communication application, the communication efficiency of the electronic device can be improved.
可选地,本申请实施例中,对于上述M个标识中的每个标识,一个标识具体可以用于指示一个通信应用中的一个联系对象。Optionally, in this embodiment of the present application, for each of the above M identifiers, one identifier may specifically be used to indicate a contact object in a communication application.
可选地,本申请实施例中,标识指示的联系对象可以为联系人或联系群组。Optionally, in this embodiment of the present application, the contact object indicated by the identification may be a contact or a contact group.
可选地,本申请实施例中,当一个标识指示一个联系对象时,该标识中可以包括该联系对象的名称、备注名称和头像中的至少一项。Optionally, in this embodiment of the present application, when an identifier indicates a contact object, the identifier may include at least one of the contact object's name, note name, and avatar.
可选地,本申请实施例中,假设第一标识指示第一通信应用中的目标联系对象,那么,上述的步骤102具体可以通过下述的步骤102a或步骤102b实现。Optionally, in this embodiment of the present application, assuming that the first identifier indicates the target contact object in the first communication application, then the above step 102 may be specifically implemented by the following step 102a or step 102b.
步骤102a、通信装置在接收到用户对第一标识的第一输入的情况下,保持显示第一界面,并向目标联系对象发送消息或输出目标联系对象发送的消息。Step 102a, when the communication device receives the first input of the first identifier from the user, keep displaying the first interface, and send a message to the target contact object or output the message sent by the target contact object.
可以理解,本申请实施例中,通信装置向一个联系对象发送消息实质上为向该联系对象的设备发送该消息;对应地,通信装置接收一个联系对象发送的消息实质上为接收该联系对象的设备发送的消息。It can be understood that in the embodiment of the present application, sending a message to a contact object by the communication device is essentially sending the message to the equipment of the contact object; Message sent by the device.
下面结合附图对步骤102a进行示例性地说明。Step 102a will be described exemplarily below with reference to the accompanying drawings.
示例性地,以通信装置输出目标联系对象发送的消息为例,如图2所示,通信装置可以在电子设备的屏幕20上显示第一界面21,并在该屏幕20中未显示内容的区域(具体为除第一界面21之外的区域)悬浮显示指示联系人“张三”的标识22,指示联系人“李四”的标识23和指示联系群组“家人”的标识24,即M个标识。从而用户可以在M个标识中的任一个标识上长按,以触发通信装置录制语音消息,且在用户手指离开屏幕之后,通信装置可以保持显示第一界面21,并向联系人“张三”发送录制的语音消息。Exemplarily, taking the communication device outputting the message sent by the target contact object as an example, as shown in FIG. (specifically the area other than the first interface 21) the floating display indicates the sign 22 of the contact "Zhang San", the sign 23 of the contact "Li Si" and the sign 24 of the contact group "family", i.e. M logo. Therefore, the user can long press any one of the M symbols to trigger the communication device to record a voice message, and after the user's finger leaves the screen, the communication device can keep displaying the first interface 21 and send a message to the contact "Zhang San" Send recorded voice messages.
步骤102b、通信装置在接收到目标联系对象发送的第一消息的情况下,保持显示第一界面,并输出目标联系对象发送的消息。Step 102b, when the communication device receives the first message sent by the target contact object, keep displaying the first interface, and output the message sent by the target contact object.
可以理解,本申请实施例中,目标联系对象具体可以通过其设备发送消息(例如第一消息)。It can be understood that in this embodiment of the present application, the target contact object may specifically send a message (for example, the first message) through its device.
需要说明的是,实际实现中,上述M个标识中的一部分标识可以指示通信应用,另一部分标识可以指示联系对象,具体可以根据实际使用需求确定。It should be noted that, in actual implementation, some of the above M identifiers may indicate communication applications, and the other part of identifiers may indicate contact objects, which may be determined according to actual usage requirements.
对于步骤102a和步骤102b的其他描述,具体可以参见对上述步骤102的相关描述,为避免重复,此处不再赘述。For other descriptions of step 102a and step 102b, reference may be made to the relevant description of the above step 102 for details, and details are not repeated here to avoid repetition.
本申请实施例中,当电子设备的屏幕上显示M个标识时,由于可以在保持显示第一界面的情况下,实现与这些标识指示的联系对象的通信,从而可以避免第一界面被遮挡,因此可以提高电子设备的显示效果。In the embodiment of the present application, when M logos are displayed on the screen of the electronic device, since the communication with the contact objects indicated by these logos can be realized while the first interface is kept displayed, the first interface can be prevented from being blocked, Therefore, the display effect of the electronic device can be improved.
为了便于描述,以下将目标操作为输出“通过第一通信应用接收的消息”时的消息称为“目标消息”,两者意思相同,可以互换。For the convenience of description, the message when the target operation is to output "a message received through the first communication application" is called "target message" below, and the two have the same meaning and can be interchanged.
可选地,本申请实施例中,当目标操作为输出通过第一通信应用接收的消息(即目标消息),且通信装置输出格式目标消息的形式为文本形式时,上述步骤102具体可以通过下述的步骤102c或步骤102d实现。Optionally, in this embodiment of the application, when the target operation is to output a message received through the first communication application (that is, the target message), and the output format of the target message by the communication device is in text form, the above-mentioned step 102 can be specifically implemented as follows Step 102c or step 102d described above is realized.
步骤102c、在接收到对第一标识的第一输入的情况下,通信装置保持显示第一界面,并在目标区域滚动显示目标消息。Step 102c, in the case of receiving the first input of the first identification, the communication device keeps displaying the first interface, and scrolls and displays the target message in the target area.
步骤102d、在通过第一通信应用接收到第一消息的情况下,通信装置保持显示第一界面,并在目标区域滚动显示目标消息。Step 102d, in the case of receiving the first message through the first communication application, the communication device keeps displaying the first interface, and scrolls and displays the target message in the target area.
其中,目标区域为:屏幕上显示状态栏的区域、屏幕上显示第一标识的区域,或者屏幕上与显示第一标识的区域相邻的区域。Wherein, the target area is: an area on the screen where the status bar is displayed, an area on the screen where the first logo is displayed, or an area on the screen adjacent to the area where the first logo is displayed.
可选地,本申请实施例中,通信装置可以以文字气泡的形式滚动显示目标消息。Optionally, in this embodiment of the present application, the communication device may scroll and display the target message in the form of text bubbles.
例如,以目标区域为电子设备的屏幕上与显示第一标识的区域相邻的区域为例,结合图2,如图3所示,第一标识23指示联系人“李四”,且第一标识23显示在电子设备屏幕20的左侧空白区域,当通信装置以文本形式输出目标消息时,通信装置可以在第一标识23的左下方显示文字气泡25,并在该文字气泡25中以文本形式滚动显示目标消息。For example, taking the target area as an example of an area adjacent to the area displaying the first logo on the screen of the electronic device, referring to FIG. 2, as shown in FIG. 3, the first logo 23 indicates the contact "Li Si", and the first The logo 23 is displayed on the left blank area of the electronic device screen 20. When the communication device outputs the target message in text form, the communication device can display a text bubble 25 at the bottom left of the first logo 23, and in the text bubble 25, the text The form scrolls to display the target message.
对于步骤102c和步骤102d的其他描述,具体可以参见上述步骤102中的相关描述,为了避免重复,此处不再赘述。For other descriptions of step 102c and step 102d, for details, refer to the relevant description in step 102 above, and to avoid repetition, details are not repeated here.
本申请实施例中,由于通信装置可以在电子设备的屏幕的目标区域,滚动显示通过第一通信应用接收的消息,因此不但可以最大程度地确保当前界面显示的内容不被遮挡,而且可以确保与当前界面显示的内容对应的音频内容的正常输出,如此可以提高用户体验感。In the embodiment of the present application, since the communication device can scroll and display the messages received through the first communication application in the target area of the screen of the electronic device, it can not only ensure that the content displayed on the current interface is not blocked to the greatest extent, but also ensure that the content displayed in the current interface is not blocked. The normal output of the audio content corresponding to the content displayed on the current interface can improve the user experience.
可选地,本申请实施例中,在目标操作为输出目标消息(即通过第一通信应用接收的消息)的情况下,在通信装置执行目标操作之后,用户还可以通过对第一标识的其他输入(与第一输入不同),触发通信装置输出通过第一通信应用接收的特定消息。其中,该特定消息可以为通过第一通信应用接收的任意一个消息;例如,该特定消息可以为目标消息、第一消息,或通过第一通信应用接收的消息中除目标消息和第一消息之外的其他消息。Optionally, in this embodiment of the present application, in the case where the target operation is to output a target message (that is, a message received through the first communication application), after the communication device executes the target operation, the user can also use other An input (different from the first input) triggers the communication device to output a specific message received via the first communication application. Wherein, the specific message may be any message received through the first communication application; for example, the specific message may be the target message, the first message, or the message received through the first communication application except the target message and the first message other news.
示例性地,在目标操作为输出通过第一通信应用接收的消息的情况下,在上述步骤102之后,本申请实施例提供的通信方法还可以包括下述的步骤103和步骤104。Exemplarily, in the case that the target operation is to output a message received through the first communication application, after the above step 102, the communication method provided by the embodiment of the present application may further include the following steps 103 and 104.
步骤103、通信装置接收用户对第一标识的目标输入。Step 103, the communication device receives a user's target input on the first identifier.
可选地,本申请实施例中,目标输入可以为用户对第一标识的触控输入。具体的,目标输入可以为用户在第一标识上的点击输入或滑动输入等任意可能的输入。Optionally, in this embodiment of the present application, the target input may be a user's touch input on the first identifier. Specifically, the target input may be any possible input such as a user's click input or slide input on the first sign.
需要说明的是,本申请实施例中,目标输入与第一输入不同。例如,第一输入为在第一标识上的点击输入,目标输入为在第一标识上向右滑动的输入。It should be noted that, in the embodiment of the present application, the target input is different from the first input. For example, the first input is a click input on the first logo, and the target input is an input of sliding right on the first logo.
步骤104、通信装置响应于目标输入,输出第二消息。Step 104: The communication device outputs a second message in response to the target input.
其中,第二消息为通信装置通过第一通信应用接收到的消息,且通信装置接收第二消息的时间早于接收第一消息的时间。Wherein, the second message is a message received by the communication device through the first communication application, and the time of receiving the second message by the communication device is earlier than the time of receiving the first message.
可以理解,本申请实施例中,第二消息为通过第一通信应接收的历史消息,例如,第二消息可以为通过第一通信应用接收的消息中的未读消息。It can be understood that, in this embodiment of the present application, the second message is a historical message that should be received through the first communication, for example, the second message may be an unread message among messages received through the first communication application.
可以理解,本申请实施例中,用户可以自定义目标输入的输入形式,以方便用户 快捷浏览通过第一通信应用接收的历史信息。It can be understood that in this embodiment of the present application, the user can customize the input form of the target input, so as to facilitate the user to quickly browse the historical information received through the first communication application.
可以理解,在本申请实施例中,用户可以通过目标输入触发输出通过第一通信应用接收的任意一个历史消息,具体可以根据目标输入的输入形式确定。It can be understood that in this embodiment of the present application, the user may trigger the output of any historical message received through the first communication application through the target input, which may be specifically determined according to the input form of the target input.
例如,假设通过第一通信应用接收到3条消息,且该3条消息按照接收时间的先后顺序依次为:消息1、消息2和消息3;又假设目标操作位输出消息2,那么:当目标输入为用户在第一标识上向左滑动时,通信装置可以输出通过第一通信应用接收的上一条信息(即消息2);当目标输入为用户在第一标识上向右滑动时,通信装置可以输出通过第一通信应用接收的下一条信息(即消息1)。For example, assume that 3 messages are received through the first communication application, and the 3 messages are in the order of receiving time: message 1, message 2, and message 3; and assuming that the target operation bit outputs message 2, then: when the target When the input is that the user slides to the left on the first logo, the communication device may output the last piece of information (ie message 2) received through the first communication application; when the target input is that the user slides to the right on the first logo, the communication device The next message received through the first communication application (ie message 1) may be output.
本申请实施例中,由于用户可以通过对M个标识中的一个标识的目标输入,触发通信装置输出通过该标识指示的通信应用接收的历史消息,因此可以在提高电子设备的显示效果的基础上,进一步提高用户查看消息的灵活性。In the embodiment of the present application, since the user can trigger the communication device to output the historical messages received by the communication application indicated by the identification by inputting the target of one of the M identifications, it is possible to improve the display effect of the electronic device , to further improve the flexibility for users to view messages.
可选地,本申请实施例中,用户可以通过输入,触发通信装置从电子设备中安装的通信应用中选择联系对象,以触发通信装置显示指示这些联系对象的标识。Optionally, in this embodiment of the present application, the user may trigger the communication device to select a contact object from a communication application installed in the electronic device by inputting, so as to trigger the communication device to display an identification indicating these contact objects.
可选地,本申请实施例中,上述M个标识可以为用户触发设置的。Optionally, in the embodiment of the present application, the above M identifiers may be triggered and set by the user.
可选地,本申请实施例中,用户可以触发通信装置一次设置上述M个标识中的至少一个标识。Optionally, in this embodiment of the present application, the user may trigger the communication device to set at least one of the above M identifiers once.
示例性地,本申请实施例中,假设M个标识中的每个标识指示一个通信应用中的一个联系对象,那么:在上述步骤101之前,本申请实施例提供的通信方法还可以包括下述的步骤105和步骤106。Exemplarily, in the embodiment of the present application, assuming that each of the M identifiers indicates a contact object in a communication application, then: before step 101 above, the communication method provided in the embodiment of the present application may further include the following Step 105 and Step 106 of .
步骤105、通信装置接收用户的第二输入。Step 105, the communication device receives a second input from the user.
其中,第二输入可以用于在第二通信应用中选择N个联系对象,N为小于或等于M的正整数。Wherein, the second input may be used to select N contact objects in the second communication application, where N is a positive integer less than or equal to M.
可选地,本申请实施例中,第二通信应用可以为电子设备中安装的任一个通信应用。Optionally, in this embodiment of the present application, the second communication application may be any communication application installed in the electronic device.
可选地,本申请实施例中,第二通信应用与第一通信应用可以相同,也可以不同。Optionally, in this embodiment of the present application, the second communication application may be the same as or different from the first communication application.
可选地,本申请实施例中,用户可以在第二通信应用中显示联系人列表的界面(以下称为联系人列表界面)上执行第二输入,以触发通信装置从该联系人列表界面中选择N个联系对象。Optionally, in the embodiment of the present application, the user may perform a second input on the interface displaying the contact list (hereinafter referred to as the contact list interface) in the second communication application, so as to trigger the communication device to select from the contact list interface. Select N contact objects.
步骤106、通信装置响应于第二输入,在电子设备的屏幕上显示N个标识。Step 106, the communication device responds to the second input, and displays N logos on the screen of the electronic device.
其中,N个标识中的每个标识可以指示N个联系对象中的一个联系对象,且该N个标识为M个标识中的标识。Wherein, each of the N identifiers may indicate a contact object of the N contact objects, and the N identifiers are identifiers of the M identifiers.
本申请实施例中,通信装置接收到第二输入之后,可以先判断第二通信应用是否允许设置指示联系对象的标识,若第二通信应用允许设置指示联系对象的标识,则通信装置可以显示N个标识。若第二通信应用不允许设置指示联系对象的标识,则通信装置可以显示一个提示信息,以提示用户启用第一应用的允许设置指示联系对象的标 识的权限;例如,通信装置可以显示一个提示弹窗,该提示弹窗中包括“是否开启第一应用的通信悬浮窗权限?”、“是”选项和“否”选项,若用户在“是”选项上点击,则通信装置可以开启第一应用的通信悬浮窗权限,并显示N个标识;若用户在“是”选项上点击,则通信装置不显示N个标识。In the embodiment of the present application, after the communication device receives the second input, it may first determine whether the second communication application allows setting the identification indicating the contact object, and if the second communication application allows setting the identification indicating the contact object, the communication device may display N logo. If the second communication application does not allow setting the identification indicating the contact object, the communication device may display a prompt message to prompt the user to enable the permission of the first application to allow setting the identification indicating the contact object; for example, the communication device may display a prompt popup window, the prompt pop-up window includes "Do you want to open the communication floating window permission of the first application?", "Yes" option and "No" option, if the user clicks on the "Yes" option, the communication device can open the first application The permission of the communication floating window, and display N logos; if the user clicks on the "Yes" option, the communication device will not display N logos.
下面结合附图4对上述步骤105和步骤106进行示例性说明。The above step 105 and step 106 will be described as an example below with reference to FIG. 4 .
示例性地,假设第二通信应用允许设置指示其中的联系对象的标识;又假设电子设备的屏幕中显示第二通信应用的联系人列表界面,那么:若用户需求设置指示联系人“张三”的标识,则如图4中的(a)所示,用户可以在联系人列表界面40中的联系人“张三”上长按,以触发通信装置显示“打开聊天悬浮标识”的选项41,从而用户可以在该选项41上点击,如图4中的(b)所示,通信装置在联系人列表界面40上悬浮显示指示联系人“张三”的标识42。可以理解,上述第二输入可以包括用户在联系人“张三”上的长按输入和在“打开聊天悬浮标识”选项上的点击输入。进一步地,当用户触发通信装置从联系列表界面切换至视频播放界面时,通信装置可以在视频播放界面上显示指示联系人“张三”的标识。Exemplarily, suppose that the second communication application allows setting the identification indicating the contact object in it; and assume that the contact list interface of the second communication application is displayed on the screen of the electronic device, then: if the user demand setting indicates that the contact "Zhang San" , then as shown in (a) in FIG. 4 , the user can press and hold the contact "Zhang San" in the contact list interface 40 to trigger the communication device to display the option 41 of "open chat floating logo", Therefore, the user can click on this option 41 , as shown in (b) in FIG. 4 , the communication device floats on the contact list interface 40 to display a sign 42 indicating the contact "Zhang San". It can be understood that the above-mentioned second input may include the user's long-press input on the contact "Zhang San" and the click input on the option "open chat floating logo". Further, when the user triggers the communication device to switch from the contact list interface to the video playback interface, the communication device may display an identification indicating the contact "Zhang San" on the video playback interface.
需要说明的是,本申请实施例中,上述示例中是以用户选择一个联系对象为例进行示意的,实际实现中,还可以先触发联系人列表界面处于可编辑状态,然后用户可以在该联系人列表界面中选择多个联系对象,并触发设置指示选择的这些联系对象的标识。It should be noted that, in the embodiment of this application, the above example is an example of a user selecting a contact object. Select multiple contact objects in the contact list interface, and trigger setting to indicate the identifiers of the selected contact objects.
需要说明的是,实际实现中,当M个标识中的一个标识指示一个通信应用时,用户可以通过在设置界面或在桌面上的输入,触发通信装置设置指示该通信应用的标识。例如,用户可以对桌面中显示的该通信应用的应用图标输入,以触发通信装置在电子设备的屏幕上显示指示该通信应用的标识。It should be noted that, in actual implementation, when one of the M identifiers indicates a communication application, the user can trigger the communication device to set the identifier indicating the communication application by inputting on the setting interface or on the desktop. For example, the user may input an application icon of the communication application displayed on the desktop to trigger the communication device to display an identification indicating the communication application on the screen of the electronic device.
本申请实施例中,一方面,由于用户可以根据实际使用需求,通过第二输入触发电子设备显示指示N个联系对象的N个标识,因此提高了设置标识的灵活性。另一方面,由于用户可以直接通过通信装置显示的标识实现与这些标识指示的联系对象的通信,而无需在显示与这些联系对象对应的通信界面之后才能实现与这些联系对象的通信,因此不但可以避免通信界面遮挡屏幕原本显示的内容,而且可以提高电子设备的通信的效率。In the embodiment of the present application, on the one hand, because the user can trigger the electronic device to display N signs indicating N contact objects through the second input according to actual usage requirements, the flexibility of setting signs is improved. On the other hand, since the user can directly realize the communication with the contact objects indicated by these identifications through the identification displayed by the communication device, without having to display the communication interface corresponding to these contact objects to realize the communication with these contact objects, so not only can It prevents the communication interface from blocking the content originally displayed on the screen, and can improve the communication efficiency of the electronic device.
可选地,本申请实施例中,用户可以对该M个标识中的任一标识输入,以触发通信装置设置通过该标识指示的通信应用(例如下述的第三通信应用)发送消息的形式,或设置输出通过第三通信应用接收的消息的形式。即用户可以根据其实际使用需求,灵活设置输出消息和/或发送消息的形式,从而可以提高操作的灵活性。Optionally, in this embodiment of the present application, the user can input any one of the M identifiers to trigger the communication device to set the communication application indicated by the identifier (such as the third communication application described below) to send a message , or set the format for outputting messages received through the third communication application. That is, users can flexibly set the form of outputting and/or sending messages according to their actual usage requirements, thereby improving the flexibility of operations.
示例性地,本申请实施例中,在上述步骤101之后,本申请实施例提供的通信方法还可以包括下述的步骤107至步骤110。Exemplarily, in the embodiment of the present application, after the above step 101, the communication method provided in the embodiment of the present application may further include the following steps 107 to 110.
步骤107、通信装置接收用户对M个标识中的第二标识的第三输入。Step 107. The communication device receives a third input from the user on the second identifier among the M identifiers.
其中,第二标识指示第三通信应用。Wherein, the second identifier indicates the third communication application.
可选地,本申请实施例中,第二标识与第一标识可以相同,也可以不同,具体可以根据实际使用需求确定,本申请实施例不作限定。Optionally, in this embodiment of the application, the second identifier may be the same as or different from the first identifier, which may be determined according to actual usage requirements, and is not limited in this embodiment of the application.
可选地,本申请实施例中,当第二标识与第一标识相同时,第三通信应用与第一通信应用相同;当第二标识与第一标识不同时,第三通信应用与第一通信应用不同。Optionally, in this embodiment of the application, when the second identity is the same as the first identity, the third communication application is the same as the first communication application; when the second identity is different from the first identity, the third communication application is the same as the first identity Communication applications are different.
可选地,本申请实施例中,第三输入为用户对第二标识的触控输入。Optionally, in this embodiment of the present application, the third input is a user's touch input on the second identifier.
例如,第三输入可以为用户在第二标识上画圈的输入,或用户在第二标识上多次(两次或两次以上)点击的输入。For example, the third input may be an input in which the user draws a circle on the second mark, or an input in which the user clicks multiple times (two or more times) on the second mark.
本申请实施例中,第三输入为与第一输入和第二输入不同的输入。In this embodiment of the present application, the third input is an input different from the first input and the second input.
步骤108、通信装置响应于第三输入,显示设置菜单。Step 108, the communication device displays a setting menu in response to the third input.
其中,上述设置菜单中可以包括多个菜单项,每个菜单项指示一种发送或输出消息的形式。Wherein, the above setting menu may include multiple menu items, and each menu item indicates a form of sending or outputting a message.
可以理解,本申请实施例中,上述设置菜单与第三通信应用对应。It can be understood that, in the embodiment of the present application, the above setting menu corresponds to the third communication application.
可选地,本申请实施例中,上述设置菜单包括第一子菜单和/或第二子菜单,第一子菜单中的菜单项用于设置发送消息的形式,第二子菜单中的菜单项用于设置输出消息的形式。Optionally, in this embodiment of the present application, the above-mentioned setting menu includes a first submenu and/or a second submenu, the menu items in the first submenu are used to set the form of sending messages, and the menu items in the second submenu Used to set the form of the output message.
可选地,本申请实施例中,第四输入为用户对目标菜单项的触控输入。Optionally, in this embodiment of the present application, the fourth input is a user's touch input on the target menu item.
例如,第四输入可以为用户在目标菜单项上的长按输入、点击输入或滑动输入等任意可能的输入。For example, the fourth input may be any possible input such as long press input, click input or slide input of the user on the target menu item.
步骤109、通信装置接收用户对多个菜单项中的目标菜单项的第四输入。Step 109, the communication device receives a fourth input from the user on a target menu item among the plurality of menu items.
步骤110、通信装置响应于第四输入,将通过第三通信应用发送或输出消息的形式设置为目标菜单项指示的形式。In step 110, the communication device sets, in response to the fourth input, the form of sending or outputting a message through the third communication application as the form indicated by the target menu item.
可选地,本申请实施例中,通信装置将通过第三通信应用发送或输出消息的形式设置为目标菜单项指示的形式,具体为:将通过第三通信应用发送消息的心事设置为目标菜单项指示的形式,或者,将输出通过第三通信应用接收的消息形式设置为目标菜单项指示的形式。Optionally, in this embodiment of the application, the communication device sets the form of sending or outputting messages through the third communication application as the form indicated by the target menu item, specifically: setting the message of sending messages through the third communication application as the target menu The form indicated by the item, or, the form of the message received through the third communication application is output as the form indicated by the target menu item.
下面结合附图5对上述步骤107至步骤110进行示例性地说明。The above step 107 to step 110 will be exemplarily described below with reference to FIG. 5 .
示例性地,如图5中的(a)所示,电子设备的屏幕上显示视频播放界面21(即第一界面)和指示联系人“张三”的标识22,用户可以在该标识22上双击(即第三输入),从而如图5中的(b)所示,通信装置可以显示菜单26,该菜单26中包括用于设置输出消息的形式的第二子菜单26-1,该第二子菜单26-1包括两个菜单项,分别为“语音输出”菜单项和“文本输出”菜单项,那么若用户需求以语音形式输出联系人“张三”发送的消息,那么用户可以在“语音输出”菜单项(即目标菜单项)上点击,以触发通信装置将输出联系人“张三”发送的消息的形式设置为语音形式(即目标菜单项指示的形式)。如此,无论联系人“张三”以哪种形式向通信装置发送消息, 通信装置均可以以语音形式输出联系人“张三”发送的消息,例如通信装置接收到联系人“张三”发送的文本消息,那么通信装置可以先将该文本消息转换成语音消息,然后再输出该语音消息。可以理解,在触发设置完输出消息的形式之后,用户可以电子设备的屏幕上点击,以触发通信装置取消显示菜单26。Exemplarily, as shown in (a) in FIG. 5 , a video playback interface 21 (i.e. the first interface) and a sign 22 indicating the contact "Zhang San" are displayed on the screen of the electronic device, and the user can click on the sign 22 Double click (i.e. the third input), so as shown in (b) in Figure 5, the communication device can display a menu 26, which includes a second submenu 26-1 for setting the form of the output message, the second submenu 26-1 The second sub-menu 26-1 includes two menu items, respectively "voice output" menu item and "text output" menu item, so if the user needs to output the message sent by the contact "Zhang San" in voice form, the user can click on Click on the "Voice Output" menu item (ie, the target menu item) to trigger the communication device to set the format of the message sent by the output contact "Zhang San" as a voice format (ie, the format indicated by the target menu item). In this way, no matter in which form the contact "San Zhang" sends a message to the communication device, the communication device can output the message sent by the contact "San Zhang" in the form of voice, for example, the communication device receives the message sent by the contact "San Zhang". text message, the communication device may convert the text message into a voice message before outputting the voice message. It can be understood that after triggering and setting the form of the output message, the user can click on the screen of the electronic device to trigger the communication device to cancel the display of the menu 26 .
可以理解,用户可以触发通信装置将通过不同通信应用发送或输出消息的形式设置为不同的形式。例如,将通过通信应用1发送消息的形式设置为语音形式,将通过通信应用2发送消息的形式设置为文字形式。It can be understood that the user may trigger the communication device to set different forms of sending or outputting messages through different communication applications. For example, the form of sending messages through the communication application 1 is set as a voice form, and the form of sending messages through the communication application 2 is set as a text form.
本申请实施例中,由于用户可以通过针对M个标识中的一个标识的第三输入和第四输入,触发通信装置预先设置通过该标识指示的通信应用发送或输出消息的形式设置为目标菜单项指示的形式;因此可以确保通信装置按照满足用户需求的形式输出和/或发送消息。如此可以提高通信的灵活性。In the embodiment of the present application, since the user can trigger the communication device to preset the form of sending or outputting a message indicated by the communication application as the target menu item through the third input and the fourth input for one of the M identifications The form of the indication; thus it can be ensured that the communication device outputs and/or transmits the message in a form that meets the needs of the user. This increases the flexibility of communication.
可选地,本申请实施例中,假设M个标识指示M个通信应用,当然M个标识也可以指示M个联系对象,那么对于该M个通信应用中的每个通信应用,若通过一个通信应用接收的消息中不包括未读消息,则通信装置可以以一个显示方式(例如下述的第一显示方式)显示指示该通信应用的标识,若通过一个通信应用发送的消息中包括未读消息,则通信装置可以以另一个显示方式(例如下述的第二显示方式)显示指示该通信应用的标识。如此,用户可以快速获知通过哪些通信应用接收的消息中包括未读消息。Optionally, in this embodiment of the present application, it is assumed that M identities indicate M communication applications. Of course, M identities can also indicate M contact objects. Then, for each communication application in the M communication applications, if a communication If the message received by the application does not include unread messages, the communication device may display an identifier indicating the communication application in a display mode (such as the first display mode described below), if the message sent through a communication application includes unread messages , the communication device may display the identifier indicating the communication application in another display manner (for example, the second display manner described below). In this way, the user can quickly learn which communication applications include unread messages in the received messages.
示例性地,本申请实施例中,假设通过第一通信应用接收的消息中不包括未读消息时,第一标识以第一显示方式显示;那么在上述步骤102之前,本申请实施例提供的通信方法还可以包括下述的步骤111。Exemplarily, in the embodiment of the present application, it is assumed that when the message received through the first communication application does not include unread messages, the first identification is displayed in the first display mode; then before the above step 102, the embodiment of the present application provides The communication method may also include the following step 111 .
步骤111、在接收到通过第一通信应用发送的消息的情况下,通信装置将第一标识的显示方式从第一显示方式更新为第二显示方式。Step 111 , upon receiving the message sent by the first communication application, the communication device updates the display mode of the first logo from the first display mode to the second display mode.
可选地,本申请实施例中,第一显示方式与第二显示方式不同。Optionally, in this embodiment of the present application, the first display manner is different from the second display manner.
例如,假设通信装置接收到通过第一通信应用发送的消息之前,第一标识的显示颜色为白色(即第一显示方式),那么通信装置接收到通过第一通信应用发送的消息之后,可以将第一标识的显示颜色更新为红色(即第二显示方式)。For example, assuming that before the communication device receives the message sent through the first communication application, the display color of the first logo is white (that is, the first display mode), then after the communication device receives the message sent through the first communication application, it can display the The display color of the first logo is updated to red (that is, the second display mode).
本申请实施例中,当接收到通过第一通信应用发送的消息时,由于通信装置可以更新第一标识的显示方式,因此用户可以基于第一标识的显示方式即可获知通过第一通信应用接收的消息中是否包括未读消息,从而可以提高用户体验感。In the embodiment of the present application, when receiving a message sent through the first communication application, since the communication device can update the display mode of the first identification, the user can know the message received through the first communication application based on the display mode of the first identification. Whether unread messages are included in the message, which can improve user experience.
可选地,本申请实施例中,在上述另一种可能的实现方式中,若M为大于1的整数,且M个标识指示M个联系对象,则在通信装置输出该M个联系对象中的一个联系对象发送的消息的过程中,若接收到该M个联系对象中的另一个联系对象发送的消息,则通信装置可以在输出该一个联系对象发送的消息结束后,再输出该另一个联系对象发送的消息,以避免用户错过消息。Optionally, in the embodiment of the present application, in another possible implementation manner above, if M is an integer greater than 1, and the M identifiers indicate M contact objects, then the communication device outputs the M contact objects In the process of sending a message sent by one of the contact objects, if a message sent by another contact object among the M contact objects is received, the communication device may output the other message after outputting the message sent by the one contact object. The message sent by the contact object, so that the user does not miss the message.
当然,用户可以预选设置输出该M个联系对象发送的消息的触发条件,例如,可以预先设置输出该M个联系对象中的一个联系对象的发送的消息的触发条件为接收到消息之后自动输出,并预选设置输出该M个联系对象中除该一个联系对象之外的其他联系对象发送的消息的触发条件为在用户触发后输出。或者,可以按照设置指示该M个联系对象的标识的先后顺序,设置输出该M个联系对象发送的消息的触发条件,例如,假设指示联系人“张三”的标识是第一个设置的,那么通信装置可以在接收到联系人“张三”发送的消息之后自动输出该消息;并且默认M个联系对象中除联系人“张三”之外的联系对象发送的消息的方式为在用户触发后输出。Of course, the user can pre-select and set the trigger condition for outputting the message sent by the M contact objects. For example, the trigger condition for outputting the message sent by one of the M contact objects can be preset to automatically output after receiving the message. And the trigger condition for outputting messages sent by other contact objects except the one contact object among the M contact objects is preselected to be output after the user triggers. Alternatively, the trigger condition for outputting the messages sent by the M contact objects can be set according to the order in which the identifiers indicating the M contact objects are set, for example, assuming that the identifier indicating the contact "Zhang San" is set first, Then the communication device can automatically output the message after receiving the message sent by the contact "Zhang San"; After output.
需要说明的是,本申请实施例提供的通信方法,执行主体可以为通信装置,或者该通信装置中的用于执行通信方法的执行模块。本申请实施例中以通信装置执行通信方法为例,说明本申请实施例提供的通信装置。It should be noted that, for the communication method provided in the embodiment of the present application, the execution subject may be a communication device, or an execution module in the communication device for executing the communication method. In the embodiment of the present application, the communication device provided in the embodiment of the present application is described by taking the communication device executing the communication method as an example.
结合图6,本申请实施例提供一种通信装置60,该通信装置60可以包括:显示模块61、接收模块62和执行模块63;显示模块61,可以用于在电子设备的屏幕上显示第一界面以及M个标识,每个标识可以指示一个通信应用,M为正整数;显示模块61,还可以用于在满足目标条件的情况下,保持显示第一界面;执行模块63,可以用于在显示模块61保持显示第一界面的情况下,执行与目标条件对应的目标操作;其中,当目标条件为接收模块62接收到对该M个标识中的第一标识的第一输入时,目标操作为以下任一项:通过第一通信应用发送消息、输出通过第一通信应用接收的消息,第一通信应用为第一标识可以指示的通信应用;或者,当目标条件为接收模块62通过第一通信应用接收到第一消息时,目标操作为输出通过第一通信应用接收到的消息。With reference to Fig. 6, the embodiment of the present application provides a communication device 60, which may include: a display module 61, a receiving module 62 and an execution module 63; the display module 61 may be used to display the first The interface and M identifications, each identification can indicate a communication application, and M is a positive integer; the display module 61 can also be used to keep displaying the first interface when the target condition is met; the execution module 63 can be used to When the display module 61 keeps displaying the first interface, execute the target operation corresponding to the target condition; wherein, when the target condition is that the receiving module 62 receives the first input of the first identification in the M identifications, the target operation Be any of the following: send a message through the first communication application, output a message received through the first communication application, and the first communication application is a communication application that can be indicated by the first identification; or, when the target condition is that the receiving module 62 passes the first When the communication application receives the first message, the target operation is to output the message received through the first communication application.
可选地,本申请实施例中,上述M个标识中的每个标识可以指示一个通信应用中的一个联系对象,且第一标识可以指示第一通信应用中的目标联系对象;Optionally, in this embodiment of the present application, each of the above-mentioned M identifiers may indicate a contact object in a communication application, and the first identifier may indicate a target contact object in the first communication application;
显示模块61,具体可以用于在接收模块62接收到对第一标识的第一输入的情况下,保持显示第一界面;且执行模块63,具体可以用于在显示模块61保持显示第一界面的情况下,向目标联系对象发送消息,或输出目标联系对象发送的消息;或者,显示模块61,具体可以用于在接收模块62接收到目标联系对象发送的第一消息的情况下,保持显示第一界面;且执行模块63,具体可以用于在显示模块61保持显示第一界面的情况下,输出目标联系对象发送的消息。The display module 61 can specifically be used to keep displaying the first interface when the receiving module 62 receives the first input to the first identification; and the execution module 63 can specifically be used to keep displaying the first interface on the display module 61 In the case of , send a message to the target contact object, or output the message sent by the target contact object; or, the display module 61 can specifically be used to keep displaying the message when the receiving module 62 receives the first message sent by the target contact object The first interface; and the executing module 63 may specifically be configured to output a message sent by the target contact object when the display module 61 keeps displaying the first interface.
可选地,本申请实施例中,接收模块62,还可以用于在执行模块63输出通过第一通信应用接收的消息之后,接收对第一标识的目标输入;执行模块63,还可以用于响应于目标输入,输出第二消息,第二消息为通过第一通信应用接收到的消息;其中,接收第二消息的时间早于接收第一消息的时间。Optionally, in the embodiment of the present application, the receiving module 62 can also be used to receive the target input of the first identification after the execution module 63 outputs the message received through the first communication application; the execution module 63 can also be used to In response to the target input, output a second message, the second message is a message received through the first communication application; wherein, the time of receiving the second message is earlier than the time of receiving the first message.
可选地,本申请实施例中,接收模块62,还可以用于在显示模块61在屏幕上显示第一界面之前,接收用户的第二输入,第二输入可以用于在第二通信应用中选择N个联系对象;显示模块61,还可以用于响应于接收模块62接收的第二输入,在屏幕 上显示N个标识,N个标识中的每个标识可以指示N个联系对象中的一个联系对象,且N个标识为该M个标识中的标识;其中,N为小于或等于M的正整数。Optionally, in this embodiment of the present application, the receiving module 62 can also be used to receive a second input from the user before the display module 61 displays the first interface on the screen, and the second input can be used in the second communication application Select N contact objects; the display module 61 can also be used to display N identifications on the screen in response to the second input received by the receiving module 62, and each identification in the N identifications can indicate one of the N contact objects A contact object, and the N identifiers are identifiers among the M identifiers; wherein, N is a positive integer less than or equal to M.
可选地,本申请实施例中,接收模块62,还可以用于在显示模块61在屏幕上显示第一界面之后,接收对该M个标识中的第二标识的第三输入,第二标识可以指示第三通信应用;显示单元,还可以用于响应于接收模块62接收的第三输入,显示设置菜单,设置菜单中可以包括多个菜单项,每个菜单项可以指示一种发送或输出消息的形式;接收模块62,还可以用于接收对多个菜单项中的目标菜单项的第四输入;执行模块63,还可以用于响应于接收模块62接收的第四输入,将通过第三通信应用发送或输出消息的形式设置为目标菜单项可以指示的形式。Optionally, in the embodiment of the present application, the receiving module 62 may also be configured to receive a third input of the second identifier among the M identifiers after the display module 61 displays the first interface on the screen, the second identifier Can indicate a third communication application; the display unit can also be used to display a setting menu in response to the third input received by the receiving module 62. The setting menu can include a plurality of menu items, and each menu item can indicate a transmission or output In the form of a message; the receiving module 62 can also be used to receive a fourth input to a target menu item in a plurality of menu items; the execution module 63 can also be used to respond to the fourth input received by the receiving module 62, and pass the 3. The form of sending or outputting the message by the communication application is set as a form that can be indicated by the target menu item.
在本申请实施例提供的通信装置中,当电子设备的屏幕上显示有第一界面和指示通信应用的M个标识时,由于可以在接收到通过该M个标识中的某个/某些标识指示通信应用接收的消息,或者,在接收到用户对该M个标识中的某个标识的特定输入(例如第一输入)时,可以在保持显示第一界面的情况下,通过这些标识指示的通信应用通信,从而可以避免第一界面被遮挡,因此可以提高电子设备的显示效果。In the communication device provided in the embodiment of the present application, when the first interface and M identifications indicating communication applications are displayed on the screen of the electronic device, since one/some identifications in the M identifications may be received Instruct the communication application to receive a message, or, when receiving a specific input (for example, the first input) from the user to one of the M identifiers, the information indicated by these identifiers may be displayed while the first interface is still displayed. The communication application communicates, so that the first interface can be prevented from being blocked, and thus the display effect of the electronic device can be improved.
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。For the beneficial effects of the various implementations in this embodiment, refer to the beneficial effects of the corresponding implementations in the foregoing method embodiments. To avoid repetition, details are not repeated here.
本申请实施例中的通信装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The communication device in the embodiment of the present application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant). assistant, PDA), etc., non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
本申请实施例中的通信装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The communication device in this embodiment of the present application may be a device with an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
本申请实施例提供的通信装置60能够实现图1至图5的方法实施例中通信方法实施例实现的各个过程,为避免重复,这里不再赘述。The communication device 60 provided in the embodiment of the present application can implement various processes implemented by the communication method embodiment in the method embodiments in FIG. 1 to FIG. 5 , and details are not repeated here to avoid repetition.
如图7所示,本申请实施例还提供一种电子设备200,包括处理器202,存储器201,存储在存储器201上并可在处理器202上运行的程序或指令,该程序或指令被处理器202执行时实现上述通信方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。As shown in FIG. 7, the embodiment of the present application also provides an electronic device 200, including a processor 202, a memory 201, and a program or instruction stored in the memory 201 and operable on the processor 202. The program or instruction is processed When executed by the device 202, each process of the above-mentioned communication method embodiment can be realized, and the same technical effect can be achieved. In order to avoid repetition, details are not repeated here.
需要注意的是,本申请实施例中的电子设备包括上述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图8为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、以及处理器1010等部件。The electronic device 1000 includes, but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and a processor 1010, etc. part.
本领域技术人员可以理解,电子设备1000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图8中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1000 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 1010 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions. The structure of the electronic device shown in FIG. 8 does not constitute a limitation to the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, and details will not be repeated here. .
其中,显示单元1006,可以用于在电子设备的屏幕上显示第一界面以及M个标识,每个标识可以指示一个通信应用,M为正整数;显示单元1006,还可以用于在满足目标条件的情况下,保持显示第一界面;射频单元1001/音频输出单元1003/显示单元1006,可以用于在显示单元1006保持显示第一界面的情况下,执行与目标条件对应的目标操作;其中,当目标条件为用户输入单元1007接收到对该M个标识中的第一标识的第一输入时,目标操作为以下任一项:通过第一通信应用发送消息、输出通过第一通信应用接收的消息,第一通信应用为第一标识可以指示的通信应用;或者,当目标条件为通过第一通信应用接收到第一消息时,目标操作为输出通过第一通信应用接收到的消息。Wherein, the display unit 1006 can be used to display the first interface and M logos on the screen of the electronic device, each logo can indicate a communication application, and M is a positive integer; the display unit 1006 can also be used to In the case of , keep displaying the first interface; the radio frequency unit 1001/audio output unit 1003/display unit 1006 can be used to execute the target operation corresponding to the target condition when the display unit 1006 keeps displaying the first interface; wherein, When the target condition is that the user input unit 1007 receives the first input of the first identifier among the M identifiers, the target operation is any of the following: sending a message through the first communication application, outputting a message received through the first communication application For a message, the first communication application is a communication application that can be indicated by the first identifier; or, when the target condition is that the first message is received through the first communication application, the target operation is to output the message received through the first communication application.
可选地,本申请实施例中,上述M个标识中的每个标识可以指示一个通信应用中的一个联系对象,且第一标识可以指示第一通信应用中的目标联系对象;显示单元1006,具体可以用于在用户输入单元1007接收到对第一标识的第一输入的情况下,保持显示第一界面;射频单元1001,具体可以用于在显示单元1006保持显示第一界面的情况下,向目标联系对象发送消息;或者,音频输出单元1003/显示单元1006,具体可以用于在显示单元1006保持显示第一界面的情况下,输出目标联系对象发送的消息;或者,显示单元1006,具体可以用于在射频单元1001接收到目标联系对象发送的第一消息的情况下,保持显示第一界面;音频输出单元1003/显示单元1006,具体可以用于在显示单元1006保持显示第一界面的情况下,输出目标联系对象发送的消息。Optionally, in this embodiment of the present application, each of the above-mentioned M identifiers may indicate a contact object in a communication application, and the first identifier may indicate a target contact object in the first communication application; the display unit 1006, Specifically, it can be used to keep displaying the first interface when the user input unit 1007 receives the first input to the first identifier; the radio frequency unit 1001 can be used to keep displaying the first interface when the display unit 1006 keeps displaying, Send a message to the target contact object; or, the audio output unit 1003/display unit 1006 can specifically be used to output a message sent by the target contact object when the display unit 1006 keeps displaying the first interface; or, the display unit 1006 can specifically It can be used to keep displaying the first interface when the radio frequency unit 1001 receives the first message sent by the target contact object; the audio output unit 1003/display unit 1006 can specifically be used to keep displaying the first interface on the display unit 1006 case, output the message sent by the target contact object.
可选地,本申请实施例中,用户输入单元1007,还可以用于在音频输出单元1003/显示单元1006输出通过第一通信应用接收的消息之后,接收对第一标识的目标输入;音频输出单元1003/显示单元1006,还可以用于响应于目标输入,输出第二消息,第二消息为通过第一通信应用接收到的消息;其中,接收第二消息的时间早于接收第一消息的时间。Optionally, in this embodiment of the application, the user input unit 1007 may also be configured to receive a target input for the first identification after the audio output unit 1003/display unit 1006 outputs the message received through the first communication application; the audio output Unit 1003/display unit 1006 may also be configured to output a second message in response to target input, where the second message is a message received through the first communication application; wherein, the time of receiving the second message is earlier than the time of receiving the first message time.
可选地,本申请实施例中,用户输入单元1007,还可以用于在显示单元1006在屏幕上显示第一界面之前,接收用户的第二输入,第二输入可以用于在第二通信应用中选择N个联系对象;显示单元1006,还可以用于响应于用户输入单元1007接收的 第二输入,在屏幕上显示N个标识,N个标识中的每个标识可以指示N个联系对象中的一个联系对象,且N个标识为该M个标识中的标识;其中,N为小于或等于M的正整数。Optionally, in this embodiment of the present application, the user input unit 1007 may also be used to receive a second input from the user before the display unit 1006 displays the first interface on the screen, and the second input may be used in the second communication application Select N contact objects among them; the display unit 1006 can also be configured to display N identifications on the screen in response to the second input received by the user input unit 1007, and each identification in the N identifications can indicate one of the N contact objects. A contact object of , and the N identifiers are the identifiers of the M identifiers; wherein, N is a positive integer less than or equal to M.
可选地,本申请实施例中,用户输入单元1007,还可以用于在显示单元1006在屏幕上显示第一界面之后,接收对该M个标识中的第二标识的第三输入,第二标识可以指示第三通信应用;显示单元,还可以用于响应于用户输入单元1007接收的第三输入,显示设置菜单,设置菜单中可以包括多个菜单项,每个菜单项可以指示一种发送或输出消息的形式;用户输入单元1007,还可以用于接收对多个菜单项中的目标菜单项的第四输入;执行模块,还可以用于响应于用户输入单元1007接收的第四输入,将通过第三通信应用发送或输出消息的形式设置为目标菜单项可以指示的形式。Optionally, in this embodiment of the present application, the user input unit 1007 may also be configured to receive a third input to the second identifier among the M identifiers after the display unit 1006 displays the first interface on the screen. The identification may indicate a third communication application; the display unit may also be configured to display a setting menu in response to a third input received by the user input unit 1007, where multiple menu items may be included in the setting menu, and each menu item may indicate a transmission or in the form of an output message; the user input unit 1007 may also be used to receive a fourth input to a target menu item in a plurality of menu items; the execution module may also be used to respond to the fourth input received by the user input unit 1007, A form of sending or outputting a message through the third communication application is set as a form that can be indicated by the target menu item.
在本申请实施例提供的电子设备中,当电子设备的屏幕上显示有第一界面和指示通信应用的M个标识时,由于可以在接收到通过该M个标识中的某个/某些标识指示通信应用接收的消息,或者,在接收到用户对该M个标识中的某个标识的特定输入(例如第一输入)时,可以在保持显示第一界面的情况下,通过这些标识指示的通信应用通信,从而可以避免第一界面被遮挡,因此可以提高电子设备的显示效果。In the electronic device provided in the embodiment of the present application, when the screen of the electronic device displays the first interface and M identifications indicating the communication application, since one/some identifications in the M identifications may be received Instruct the communication application to receive a message, or, when receiving a specific input (for example, the first input) from the user to one of the M identifiers, the information indicated by these identifiers may be displayed while the first interface is still displayed. The communication application communicates, so that the first interface can be prevented from being blocked, and thus the display effect of the electronic device can be improved.
本实施例中各种实现方式具有的有益效果具体可以参见上述方法实施例中相应实现方式所具有的有益效果,为避免重复,此处不再赘述。For the beneficial effects of the various implementations in this embodiment, refer to the beneficial effects of the corresponding implementations in the foregoing method embodiments. To avoid repetition, details are not repeated here.
应理解的是,本申请实施例中,输入单元1004可以包括图形处理器(Graphics Processing Unit,GPU)10041和麦克风10042,图形处理器10041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1006可包括显示面板10061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板10061。用户输入单元1007包括触控面板10071以及其他输入设备10072。触控面板10071,也称为触摸屏。触控面板10071可包括触摸检测装置和触摸控制器两个部分。其他输入设备10072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1009可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器1010可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1010中。It should be understood that, in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 is used for the image capture device ( Such as the image data of the still picture or video obtained by the camera) for processing. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 10071 and other input devices 10072 . The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts, a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, and joysticks, which will not be repeated here. The memory 1009 can be used to store software programs as well as various data, including but not limited to application programs and operating systems. Processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 1010 .
本申请实施例还提供一种可读存储介质,该可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述通信方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, each process of the above-mentioned communication method embodiment is realized, and the same technology can be achieved. Effect, in order to avoid repetition, will not repeat them here.
其中,上述处理器为上述实施例中的电子设备中的处理器。上述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。Wherein, the above-mentioned processor is the processor in the electronic device in the above-mentioned embodiment. The above-mentioned readable storage medium includes a computer readable storage medium, such as a computer read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,该芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现上述通信方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to realize the various processes of the above-mentioned communication method embodiments, and can achieve the same Technical effects, in order to avoid repetition, will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, the term "comprising", "comprising" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase "comprising a ..." does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of computer software products, which are stored in a storage medium (such as ROM/RAM, magnetic disk, etc.) , optical disc), including several instructions to enable a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.

Claims (15)

  1. 一种通信方法,所述方法包括:A communication method, the method comprising:
    在电子设备的屏幕上显示第一界面以及M个标识,每个标识指示一个通信应用,M为正整数;Displaying the first interface and M logos on the screen of the electronic device, each logo indicates a communication application, and M is a positive integer;
    在满足目标条件的情况下,保持显示所述第一界面,并执行与所述目标条件对应的目标操作;If the target condition is met, keep displaying the first interface, and execute a target operation corresponding to the target condition;
    其中,当所述目标条件为接收到对所述M个标识中的第一标识的第一输入时,所述目标操作为以下任一项:通过第一通信应用发送消息、输出通过所述第一通信应用接收的消息,所述第一通信应用为所述第一标识指示的通信应用;Wherein, when the target condition is receiving the first input of the first identifier among the M identifiers, the target operation is any of the following: sending a message through the first communication application, outputting the message through the first A message received by a communication application, where the first communication application is the communication application indicated by the first identifier;
    或者,当所述目标条件为通过所述第一通信应用接收到第一消息时,所述目标操作为输出通过所述第一通信应用接收到的消息。Alternatively, when the target condition is that a first message is received through the first communication application, the target operation is to output the message received through the first communication application.
  2. 根据权利要求1所述的方法,其中,所述每个标识指示所述一个通信应用中的一个联系对象,且所述第一标识指示所述第一通信应用中的目标联系对象;The method of claim 1, wherein each of said identifications indicates a contact object in said one communication application, and said first identification indicates a target contact object in said first communication application;
    所述在满足目标条件的情况下,保持显示所述第一界面,并执行与所述目标条件对应的目标操作,包括:The step of keeping displaying the first interface and performing a target operation corresponding to the target condition when the target condition is met includes:
    在接收到对所述第一标识的所述第一输入的情况下,保持显示所述第一界面,并向所述目标联系对象发送消息,或输出所述目标联系对象发送的消息;或者,When the first input of the first identification is received, keep displaying the first interface, and send a message to the target contact object, or output the message sent by the target contact object; or,
    在接收到所述目标联系对象发送的所述第一消息的情况下,保持显示所述第一界面,并输出所述目标联系对象发送的消息。If the first message sent by the target contact object is received, keep displaying the first interface, and output the message sent by the target contact object.
  3. 根据权利要求1或2所述的方法,其中,所述输出通过所述第一通信应用接收的消息之后,所述方法还包括:The method according to claim 1 or 2, wherein after outputting the message received through the first communication application, the method further comprises:
    接收对所述第一标识的目标输入;receiving target input for the first identification;
    响应于所述目标输入,输出第二消息,所述第二消息为通过所述第一通信应用接收到的消息;outputting a second message in response to the target input, the second message being a message received via the first communication application;
    其中,接收所述第二消息的时间早于接收所述第一消息的时间。Wherein, the time of receiving the second message is earlier than the time of receiving the first message.
  4. 根据权利要求2所述的方法,其中,所述在电子设备的屏幕上显示第一界面之前,所述方法还包括:The method according to claim 2, wherein, before displaying the first interface on the screen of the electronic device, the method further comprises:
    接收第二输入,所述第二输入用于在第二通信应用中选择N个联系对象;receiving a second input for selecting N contact objects in a second communication application;
    响应于所述第二输入,在所述屏幕上显示N个标识,所述N个标识中的每个标识指示所述N个联系对象中的一个联系对象,且所述N个标识为所述M个标识中的标识;In response to the second input, N identifications are displayed on the screen, each identification in the N identifications indicates a contact object in the N contact objects, and the N identifications are the an identifier among the M identifiers;
    其中,N为小于或等于M的正整数。Wherein, N is a positive integer less than or equal to M.
  5. 根据权利要求1所述的方法,其中,所述在电子设备的屏幕上显示第一界面之后,所述方法还包括:The method according to claim 1, wherein, after displaying the first interface on the screen of the electronic device, the method further comprises:
    接收对所述M个标识中的第二标识的第三输入,所述第二标识指示第三通信应用;receiving a third input of a second identity of the M identities, the second identity indicating a third communication application;
    响应于所述第三输入,显示设置菜单,所述设置菜单中包括多个菜单项,每个菜单项指示一种发送或输出消息的形式;In response to the third input, displaying a setup menu, the setup menu including a plurality of menu items, each menu item indicating a form of sending or outputting a message;
    接收对所述多个菜单项中的目标菜单项的第四输入;receiving a fourth input to a target menu item of the plurality of menu items;
    响应于所述第四输入,将通过所述第三通信应用发送或输出消息的形式设置为所述目标菜单项指示的形式。In response to the fourth input, the form of sending or outputting a message through the third communication application is set as the form indicated by the target menu item.
  6. 一种通信装置,其中,所述装置包括:显示模块、接收模块和执行模块;A communication device, wherein the device includes: a display module, a receiving module and an execution module;
    所述显示模块,用于在电子设备的屏幕上显示第一界面以及M个标识,每个标识指示一个通信应用,M为正整数;The display module is configured to display the first interface and M logos on the screen of the electronic device, each logo indicates a communication application, and M is a positive integer;
    所述显示模块,还用于在满足目标条件的情况下,保持显示所述第一界面;The display module is further configured to keep displaying the first interface when the target condition is met;
    所述执行模块,用于在所述显示模块保持显示所述第一界面的情况下,执行与所述目标条件对应的目标操作;The execution module is configured to execute a target operation corresponding to the target condition when the display module keeps displaying the first interface;
    其中,当所述目标条件为所述接收模块接收到对所述M个标识中的第一标识的第一输入时,所述目标操作为以下任一项:通过第一通信应用发送消息、输出通过所述第一通信应用接收的消息,所述第一通信应用为所述第一标识指示的通信应用;或者,Wherein, when the target condition is that the receiving module receives the first input of the first identifier among the M identifiers, the target operation is any of the following: sending a message through the first communication application, outputting A message received through the first communication application, where the first communication application is the communication application indicated by the first identifier; or,
    当所述目标条件为所述接收模块通过所述第一通信应用接收到第一消息时,所述目标操作为输出通过所述第一通信应用接收到的消息。When the target condition is that the receiving module receives a first message through the first communication application, the target operation is to output the message received through the first communication application.
  7. 根据权利要求6所述的装置,其中,所述每个标识指示所述一个通信应用中的一个联系对象,且所述第一标识指示所述第一通信应用中的目标联系对象;The apparatus of claim 6, wherein each identification indicates a contact object in the one communication application, and the first identification indicates a target contact object in the first communication application;
    所述显示模块,具体用于在所述接收模块接收到对所述第一标识的所述第一输入的情况下,保持显示所述第一界面;且所述执行模块,具体用于在所述显示模块保持显示所述第一界面的情况下,向所述目标联系对象发送消息,或输出所述目标联系对象发送的消息;The display module is specifically configured to keep displaying the first interface when the receiving module receives the first input to the first identification; and the execution module is specifically configured to When the display module keeps displaying the first interface, send a message to the target contact object, or output the message sent by the target contact object;
    或者,or,
    所述显示模块,具体用于在所述接收模块接收到所述目标联系对象发送的所述第一消息的情况下,保持显示所述第一界面;且所述执行模块,具体用于在所述显示模块保持显示所述第一界面的情况下,输出所述目标联系对象发送的消息。The display module is specifically configured to keep displaying the first interface when the receiving module receives the first message sent by the target contact object; and the execution module is specifically configured to When the display module keeps displaying the first interface, output the message sent by the target contact object.
  8. 根据权利要求6或7所述的装置,其中,Apparatus according to claim 6 or 7, wherein,
    所述接收模块,还用于在所述执行模块输出通过所述第一通信应用接收的消息之后,接收对所述第一标识的目标输入;The receiving module is further configured to receive a target input for the first identification after the execution module outputs the message received through the first communication application;
    所述执行模块,还用于响应于所述目标输入,输出第二消息,所述第二消息为通过所述第一通信应用接收到的消息;The execution module is further configured to output a second message in response to the target input, where the second message is a message received through the first communication application;
    其中,接收所述第二消息的时间早于接收所述第一消息的时间。Wherein, the time of receiving the second message is earlier than the time of receiving the first message.
  9. 根据权利要求7所述的装置,其中,The apparatus according to claim 7, wherein,
    所述接收模块,还用于在所述显示模块在所述屏幕上显示所述第一界面之前,接收用户的第二输入,所述第二输入用于在第二通信应用中选择N个联系对象;The receiving module is further configured to receive a second input from the user before the display module displays the first interface on the screen, and the second input is used to select N contacts in the second communication application object;
    所述显示模块,还用于响应于所述接收模块接收的所述第二输入,在所述屏幕上显示N个标识,所述N个标识中的每个标识指示所述N个联系对象中的一个联系对象,且所述N个标识为所述M个标识中的标识;The display module is further configured to, in response to the second input received by the receiving module, display N identifications on the screen, and each identification of the N identifications indicates one of the N contact objects. A contact object of , and the N identifiers are identifiers in the M identifiers;
    其中,N为小于或等于M的正整数。Wherein, N is a positive integer less than or equal to M.
  10. 根据权利要求6所述的装置,其中,The apparatus of claim 6, wherein,
    所述接收模块,还用于在所述显示模块在所述屏幕上显示所述第一界面之后,接收对所述M个标识中的第二标识的第三输入,所述第二标识指示第三通信应用;The receiving module is further configured to, after the display module displays the first interface on the screen, receive a third input to a second identifier among the M identifiers, the second identifier indicating the first Three communication applications;
    所述显示单元,还用于响应于所述接收模块接收的所述第三输入,显示设置菜单,所述设置菜单中包括多个菜单项,每个菜单项指示一种发送或输出消息的形式;The display unit is further configured to display a setting menu in response to the third input received by the receiving module, the setting menu includes a plurality of menu items, and each menu item indicates a form of sending or outputting a message ;
    所述接收模块,还用于接收对所述多个菜单项中的目标菜单项的第四输入;The receiving module is further configured to receive a fourth input to a target menu item among the plurality of menu items;
    所述执行模块,还用于响应于所述接收模块接收的所述第四输入,将通过所述第三通信应用发送或输出消息的形式设置为所述目标菜单项指示的形式。The executing module is further configured to, in response to the fourth input received by the receiving module, set the form of sending or outputting a message through the third communication application as the form indicated by the target menu item.
  11. 一种电子设备,其中,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1至5中任一项所述的通信方法的步骤。An electronic device, including a processor, a memory, and a program or instruction stored in the memory and operable on the processor, when the program or instruction is executed by the processor, the invention according to claim 1 is realized The steps of the communication method described in any one of to 5.
  12. 一种可读存储介质,其中,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1至5中任一项所述的通信方法的步骤。A readable storage medium, wherein a program or an instruction is stored on the readable storage medium, and when the program or instruction is executed by a processor, the steps of the communication method according to any one of claims 1 to 5 are implemented.
  13. 一种计算机软件产品,所述计算机软件产品被至少一个处理器执行以实现如权利要求1至5中任一项所述的通信方法。A computer software product, the computer software product is executed by at least one processor to implement the communication method according to any one of claims 1 to 5.
  14. 一种电子设备,包括电子设备被配置成用于执行如权利要求1至5中任一项所述的通信方法。An electronic device, comprising the electronic device configured to execute the communication method according to any one of claims 1 to 5.
  15. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至5中任一项所述的通信方法。A chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, the processor is used to run programs or instructions, and realize the communication as described in any one of claims 1 to 5 method.
PCT/CN2022/095972 2021-06-02 2022-05-30 Communication method and apparatus, electronic device, and readable storage medium WO2022253182A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110616260.1 2021-06-02
CN202110616260.1A CN113434226A (en) 2021-06-02 2021-06-02 Communication method, communication device, electronic equipment and readable storage medium

Publications (1)

Publication Number Publication Date
WO2022253182A1 true WO2022253182A1 (en) 2022-12-08

Family

ID=77803609

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/095972 WO2022253182A1 (en) 2021-06-02 2022-05-30 Communication method and apparatus, electronic device, and readable storage medium

Country Status (2)

Country Link
CN (1) CN113434226A (en)
WO (1) WO2022253182A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113434226A (en) * 2021-06-02 2021-09-24 维沃移动通信(杭州)有限公司 Communication method, communication device, electronic equipment and readable storage medium
CN114896536A (en) * 2022-05-31 2022-08-12 北京字跳网络技术有限公司 Message processing method, device, equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108415657A (en) * 2018-03-12 2018-08-17 网易(杭州)网络有限公司 Message method, device, medium and electronic equipment
CN110913066A (en) * 2019-10-31 2020-03-24 维沃移动通信有限公司 Display method and electronic equipment
CN111124706A (en) * 2019-12-05 2020-05-08 维沃移动通信有限公司 Application program sharing method and electronic equipment
CN111666009A (en) * 2020-05-28 2020-09-15 维沃移动通信有限公司 Interface display method and electronic equipment
WO2020233285A1 (en) * 2019-05-17 2020-11-26 维沃移动通信有限公司 Message display method and terminal device
CN113434226A (en) * 2021-06-02 2021-09-24 维沃移动通信(杭州)有限公司 Communication method, communication device, electronic equipment and readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105930043A (en) * 2016-04-15 2016-09-07 苏州佳世达电通有限公司 Message display method and electronic device
CN107992248B (en) * 2017-11-27 2020-09-29 北京小米移动软件有限公司 Message display method and device
CN111596830B (en) * 2020-05-15 2023-09-05 腾讯科技(深圳)有限公司 Message reminding method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108415657A (en) * 2018-03-12 2018-08-17 网易(杭州)网络有限公司 Message method, device, medium and electronic equipment
WO2020233285A1 (en) * 2019-05-17 2020-11-26 维沃移动通信有限公司 Message display method and terminal device
CN110913066A (en) * 2019-10-31 2020-03-24 维沃移动通信有限公司 Display method and electronic equipment
CN111124706A (en) * 2019-12-05 2020-05-08 维沃移动通信有限公司 Application program sharing method and electronic equipment
CN111666009A (en) * 2020-05-28 2020-09-15 维沃移动通信有限公司 Interface display method and electronic equipment
CN113434226A (en) * 2021-06-02 2021-09-24 维沃移动通信(杭州)有限公司 Communication method, communication device, electronic equipment and readable storage medium

Also Published As

Publication number Publication date
CN113434226A (en) 2021-09-24

Similar Documents

Publication Publication Date Title
CN111061574B (en) Object sharing method and electronic device
CN111049663A (en) Method, electronic device and medium for creating topic group
US20160196006A1 (en) Customizable Bladed Applications
WO2022253182A1 (en) Communication method and apparatus, electronic device, and readable storage medium
US11934648B2 (en) Permission setting method and apparatus and electronic device
WO2022161432A1 (en) Display control method and apparatus, and electronic device and medium
CN113141293B (en) Message display method and device and electronic equipment
WO2020192299A1 (en) Information display method and terminal device
CN112306325B (en) Interaction control method and device
WO2022048632A1 (en) Notification message display method and apparatus, electronic device, and readable storage medium
CN110971970B (en) Video processing method and electronic equipment
WO2023046184A1 (en) Message processing method and apparatus, and electronic device
WO2019201140A1 (en) Application display method and apparatus, storage medium, and electronic device
WO2022161431A1 (en) Display method, apparatus, and electronic device
US20230328018A1 (en) Sending method and apparatus, and electronic device
WO2023005828A1 (en) Message display method and apparatus, and electronic device
KR20130011905A (en) Apparatus and method for character input through a scroll bar in a mobile device
WO2023024970A1 (en) Information processing method, related device, and readable storage medium
WO2023040845A1 (en) Message transmission method and apparatus, and electronic device
WO2023030129A1 (en) Message display method, apparatus and electronic device
WO2023016463A1 (en) Display control method and apparatus, and electronic device and medium
WO2022242586A1 (en) Application interface method and apparatus, and electronic device
WO2022213945A1 (en) Application reminding method and apparatus, and electronic device
CN112286612A (en) Information display method and device and electronic equipment
WO2023160443A1 (en) Application processing method and device

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: 22815227

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 22815227

Country of ref document: EP

Kind code of ref document: A1