[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

WO2021227922A1 - Communication object adding method and apparatus, and electronic device - Google Patents

Communication object adding method and apparatus, and electronic device Download PDF

Info

Publication number
WO2021227922A1
WO2021227922A1 PCT/CN2021/091921 CN2021091921W WO2021227922A1 WO 2021227922 A1 WO2021227922 A1 WO 2021227922A1 CN 2021091921 W CN2021091921 W CN 2021091921W WO 2021227922 A1 WO2021227922 A1 WO 2021227922A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
communication
application
account information
target
Prior art date
Application number
PCT/CN2021/091921
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 WO2021227922A1 publication Critical patent/WO2021227922A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/046Interoperability with other network applications or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services

Definitions

  • the embodiments of the present application relate to the field of communication technologies, and in particular, to a method, device, and electronic device for adding a communication object.
  • friends ie, communication objects
  • communication applications ie, social chat software
  • the user can input the account information of the friend to be added into the account information input box in the friend adding interface to trigger the addition of the friend through the communication application.
  • the user when the user browses to a certain account information contained in the text or picture displayed on the current interface, he may need to add the friend indicated by the account information through a specific communication application.
  • the user needs to trigger the electronic device to exit the current interface first, and then display the friend search bar in the communication application based on the trigger of the add friend control in the specific communication application, and then receive the user's manual input or manual paste to be added in the friend search bar.
  • Only the account information of the friend can display the friend adding interface of the communication object indicated by the account information, and then the electronic device can be triggered to add the friend in the communication application. In this way, in a scenario where the user browses to the account information of the friend to be added displayed on the electronic device, how to simplify the steps of adding a friend in a communication application becomes a problem to be solved.
  • the embodiments of the present application provide a method, a device, and an electronic device for adding a communication object, which can simplify the steps of adding a friend in a communication application when a user browses to the account information of a friend to be added displayed on the electronic device.
  • an embodiment of the present application provides a method for adding a communication object.
  • the method includes: receiving a user's first input of the first account information when the first content displayed on the first interface includes the first account information.
  • the first object addition interface in the target communication application is displayed; wherein, the first object addition interface is the object addition interface of the communication object indicated by the first account information.
  • an embodiment of the present application provides an apparatus for adding a communication object.
  • the apparatus includes: a receiving module and a display module; the receiving module is configured to, when the first content displayed on the first interface includes first account information, Receive the user's first input of the first account information; the display module is configured to display the first object adding interface in the target communication application in response to the first input received by the receiving module; wherein, the first object adding interface is the first account The object addition interface of the communication object indicated by the information.
  • an embodiment of the present application provides an electronic device that includes a processor, a memory, and a program that is stored on the memory and can run on the processor.
  • the program is executed by the processor, the implementation is as follows: The steps of the method for adding a communication object in the first aspect described above.
  • an embodiment of the present application provides a readable storage medium having a program stored on the readable storage medium, and when the program is executed by a processor, the steps of the communication object adding method in the first aspect are implemented.
  • an embodiment of the present application provides a chip that includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement a communication object as in the first aspect Add method.
  • the first object addition interface in the target communication application may be displayed through the user's first input of the first account information;
  • the first object adding interface is the object adding interface of the communication object indicated by the first account information. That is, when the user browses to the first content that includes the first account information, the user can trigger the display of the first object adding interface in the target communication application through the quicker first input of the first account information, and then through the first The object adding interface adds the communication object indicated by the first account information as a friend.
  • the user executes the triggering of the electronic device to exit the current first interface, then call up the friend search bar through the add friend control in the target communication application, and then manually enter or manually paste the first account information in the friend search bar, etc. step. Therefore, in a scenario where the user browses to the account information of the friend to be added displayed on the electronic device, the browsed account information can trigger the display of the friend adding interface corresponding to the account information with one click, which simplifies the process of adding friends in the communication application. Steps and reduce time-consuming.
  • FIG. 1 is a schematic flowchart of a method for adding a communication object provided by an embodiment of this application;
  • FIG. 2 is one of the schematic diagrams of the operation flow of adding a communication object provided by an embodiment of the application
  • FIG. 3 is the second schematic diagram of the operation flow of adding a communication object provided by an embodiment of the application.
  • FIG. 4 is the third schematic diagram of the operation flow of adding a communication object provided by an embodiment of the application.
  • FIG. 5 is a fourth schematic diagram of the operation flow of adding a communication object provided by an embodiment of this application.
  • FIG. 6 is the fifth schematic diagram of the operation flow of adding a communication object provided by an embodiment of this application.
  • FIG. 7 is a schematic structural diagram of an apparatus for adding communication objects provided by an embodiment of the application.
  • FIG. 8 is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the application.
  • words such as “exemplary” or “for example” are used as examples, illustrations, or illustrations. Any embodiment or design solution described as “exemplary” or “for example” in the embodiments of the present application should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as “exemplary” or “for example” are used to present related concepts in a specific manner.
  • multiple refers to two or more than two, for example, multiple communication objects refer to two or more communication objects, etc.
  • the first input of the first account information by the user can be used to display the first information in the target communication application.
  • Object adding interface is the object adding interface of the communication object indicated by the first account information. That is, when the user browses to the first content that includes the first account information, the user can trigger the display of the first object adding interface in the target communication application through the quicker first input of the first account information, and then through the first The object adding interface adds the communication object indicated by the first account information as a friend.
  • the user executes the triggering of the electronic device to exit the current first interface, then call up the friend search bar through the add friend control in the target communication application, and then manually enter or manually paste the first account information in the friend search bar, etc. step. Therefore, in a scenario where the user browses to the account information of the friend to be added displayed on the electronic device, the browsed account information can trigger the display of the friend adding interface corresponding to the account information with one click, which simplifies the process of adding friends in the communication application. Steps and reduce time-consuming.
  • the execution subject of the method for adding a communication object provided by the embodiment of the present application may be a device for adding a communication object, or a control module and/or a control entity in the device for adding a communication object for executing the method for loading a communication object.
  • the details can be determined according to actual use requirements, and the embodiments of the present application do not limit it.
  • the method for adding a communication object by loading a communication object performed by the apparatus for adding a communication object is taken as an example to illustrate the method for adding a communication object provided by the embodiment of the present application.
  • FIG. 1 it is a schematic flowchart of a method for adding a communication object according to an embodiment of this application.
  • the method for adding a communication object can be applied to a device for adding a communication object.
  • the method flow shown in FIG. 1 includes step 101 and step 102:
  • Step 101 In a case where the first content displayed on the first interface includes the first account information, the communication object adding apparatus receives the user's first input of the first account information.
  • the above-mentioned first interface may be an interface currently displayed by the communication object adding device.
  • the content type of the aforementioned first content is an image type or a text type. That is, the first content is an image (that is, a picture) or text.
  • the communication object corresponding to the above-mentioned first account information is the communication object to be added, that is, the friend to be added to the address book of a certain communication application.
  • the above-mentioned first input may be a click input or long-press input of the first account information by the user.
  • the input form of the first input may also be any other achievable form, which is not limited in the embodiment of the present invention.
  • the communication object adding device may identify and mark the first account information from the displayed first content. Specifically, the description of identifying and marking the first account information will be embodied in the following embodiments, and will not be repeated here.
  • Step 102 In response to the first input, the communication object adding device displays the first object adding interface in the target communication application.
  • the first object adding interface is the object adding interface of the communication object (denoted as communication object 1) indicated by the first account information, that is, the friend adding interface.
  • the first interface may be: an interface in the target communication application (denoted as application 1) that is different from the first object adding interface (denoted as interface 1), and an application other than the target communication application in the communication object adding device (such as Other communication applications) interface (denoted as interface 2), or the desktop interface (denoted as interface 3) in the device for adding communication objects, etc.
  • the first interface when the first interface is the aforementioned interface 1, the first interface may be a chat interface of an existing communication object (different from the aforementioned communication object 1) in the target communication application.
  • the first content is based The chat content between the computer user and the communication partner.
  • the first interface when the first interface is the aforementioned interface 2, the first interface may be a chat interface of an existing communication object in a communication application (denoted as application 2) that is different from the target communication object.
  • One content is the chat content between the user of the machine and the communication partner.
  • the communication object corresponding to the above-mentioned first account information is the communication object to be added, that is, the friend to be added to the address book of a certain communication application.
  • the above-mentioned first object adding interface may include first account information and an "add to address book” control.
  • the user's input to the "add to address book” control can trigger the communication object adding device to add the communication object indicated by the first account information as a friend.
  • the above-mentioned first object adding interface may also include information such as the nickname and avatar of the communication object 1 indicated by the first account information.
  • the first object adding interface also includes a "set remarks and tags" control, which is used to add remarks and tags to communication object 1 when communication object 1 is added.
  • the first object adding interface further includes a "source" identifier, which is used to indicate which communication application the first account information is derived from or through which adding path is added.
  • the device for adding communication objects when the device for adding communication objects detects that the first content of the first interface includes the first account information, it may add a hyperlink to the first account information, so that the first account information itself can be used to trigger the display of the first account information.
  • An object adding interface For example, the hyperlink added by the communication object adding device for the first account information is the hyperlink of the first object adding interface.
  • the first account information in the foregoing first content is displayed according to a preset display effect.
  • the preset display effect is used to indicate that the communication object indicated by the first account information is the communication object to be added, that is, the hyperlink added by the first account information is used to trigger the display of the first object addition interface.
  • the user can intuitively learn that through the first input of the first account information, the display of the first object adding interface can be triggered through the first input of the first account information displayed by the preset display effect.
  • the preset display effect may be highlight display, bold font display, blue font display, etc.
  • the embodiment of the present invention does not specifically limit this, and may be determined according to actual needs of the user.
  • the operation flowchart of adding a communication object shown in FIG. 2 is taken as an example to illustrate the method for adding a communication object provided by the embodiment of the present application.
  • the communication object adding device displays the first interface 201 (that is, the above-mentioned first interface) for chatting between the local user and the communication object "Xiao Ming" in the application 1 (different from the target communication object).
  • the first interface 201 includes the text type first content 2011 "The account of my application 2 is xm_12345, you add a friend".
  • the first content 2011 includes the first account information "xm_12345".
  • the user's click input (denoted as input 1) on the first account information "xm_12345” can trigger the communication object adding device to display the first object adding interface 202 in the application 2 in (b) of FIG. 2.
  • the first object adding interface 202 is an object adding interface of the communication object corresponding to the first account information "xm_12345".
  • the first object adding interface 202 includes the nickname ("Xiao Ming") and avatar of the communication object 1 indicated by the first account information "xm_12345", and the "set remarks and tags” for the user to set the remarks and tags on the communication object 1 Control, and the "source” identification, and the "add to address book” control.
  • the first input may include the aforementioned input 1, and application 2 is the target communication application.
  • the first account information "xm_12345” in FIG. 2 is displayed in bold font (that is, the preset display effect is displayed in bold font).
  • the communication is shown in FIG.
  • the object adding device may display the “add friend” control 31 and the “cancel” control 32 on the first interface 201. Subsequently, if the user performs a click input (denoted as input 2) on the "add friend” control 31 shown in FIG. 3, the communication object adding device may be triggered to display the first object adding interface as shown in (b) in FIG. 2 202. If the user clicks on the "cancel" control 32 shown in FIG. 3 (denoted as input 3), the communication object adding device can be triggered to not execute displaying the first object adding interface as shown in (b) in FIG. 2 202. At this time, the above-mentioned first input may include input 1 and input 2.
  • the communication object adding device can provide the "add friend” control and the "cancel” control in the first interface to support the user to choose whether to trigger the communication object adding device to display the first object adding interface, and then add the first account The communication object indicated by the information (ie, communication object 1). That is, the communication object adding device can support the user to manually confirm whether to choose to quickly call up the first object adding interface through the first account information. In this way, the human-computer interaction performance in the process of adding a communication object can be improved, and the user can prevent the user from erroneously triggering the input of the first account information in the first content and erroneously triggering the display of the first object adding interface.
  • the first input of the first account information by the user can be used to display the first information in the target communication application.
  • Object adding interface is the object adding interface of the communication object indicated by the first account information. That is, when the user browses to the first content that includes the first account information, the user can trigger the display of the first object adding interface in the target communication application through the quicker first input of the first account information, and then through the first The object adding interface adds the communication object indicated by the first account information as a friend.
  • the user executes the triggering of the electronic device to exit the current first interface, then call up the friend search bar through the add friend control in the target communication application, and then manually enter or manually paste the first account information in the friend search bar, etc. step. Therefore, in a scenario where the user browses to the account information of the friend to be added displayed on the electronic device, the browsed account information can trigger the display of the friend adding interface corresponding to the account information with one click, which simplifies the process of adding friends in the communication application. Steps and reduce time-consuming.
  • the first input includes a first sub-input and a second sub-input.
  • the above step 101 can be implemented through step 101a to step 101c, and correspondingly, the above step 102 can be implemented through step 102a:
  • Step 101a In a case where the first content displayed on the first interface includes the first account information, the communication object adding device receives the first sub-input of the first account information by the user.
  • the first sub-input may be a click input of the first account information, or may also be an input in any other achievable input form, which will not be repeated here.
  • Step 101b In response to the first sub-input, the communication object adding device displays at least one application identifier on the first interface, and each application identifier indicates a communication application.
  • an application identifier may be an icon of an application.
  • Step 101c The apparatus for adding a communication object receives a second sub-input of the target application identifier.
  • the target application identifier is an application identifier indicating the target communication application in at least one application identifier.
  • the second sub-input may be a click input to the target application identifier, or may be any other input that can be realized in the form of input, which will not be repeated here.
  • Step 102a In response to the second sub-input, the communication object adding device displays the first object adding interface in the target communication object.
  • a pop-up window 401 is displayed on the interface 201 (such as the bottom of the first interface 201).
  • the pop-up window 401 includes indication information "Select Application”, multiple application identifiers such as application identifier 4011 and application identifier 4012, and a sliding control 4013.
  • the indication information "select application” is used to instruct the user to select the application identifier in the pop-up window 401, so as to display the first object adding interface 202 in the communication application corresponding to the selected application identifier.
  • the application identifier 4011 is used to indicate application 2
  • the application identifier 4012 is used to indicate application 3.
  • the sliding control 4013 is used to indicate that the sliding input on the pop-up window 401 is used to trigger the update of the application identification in the pop-up window 401 to be displayed.
  • the communication object adding device may be triggered to display the first object addition in application 2 as shown in (b) in FIG. 2 Interface 202.
  • the aforementioned first input may include input 1 and input 4, or include input 1, input 2, and input 4.
  • application 2 is the target communication application.
  • the application identifier in the pop-up window 401 may be at least one application identifier described above.
  • step 102b may be implemented through step 102b:
  • Step 102b When the device for adding a communication object obtains the target authority of the target communication application, it displays the first object adding interface.
  • the target permission is: permission to trigger the launch of the target communication application through the first account information and display the permission of the first object adding interface.
  • the adding device can display a pop-up window 501 on the first interface 201.
  • the pop-up window 501 includes instruction information "Try to open application 2, whether to authorize", an "authorize” control 5011, and a "reject” control 5012.
  • the pop-up window 501 is used to prompt the user to authorize the application 2 to add friends with one click. Subsequently, if the user clicks on the "authorization" control 5011 shown in FIG.
  • the communication object adding device can be triggered to display the first object in the application 2 as shown in (b) of FIG. 2 Add interface 202. If the user clicks on the "reject" control 5012 shown in FIG. 5 (denoted as input 6), the communication object adding device can be triggered to not execute the display of the first object adding interface as shown in (b) in FIG. 2 202.
  • the above-mentioned first input may include input 1 and input 5, or include input 1, input 2, and input 5, or include input 1, input 2, input 4, and input 5.
  • the above-mentioned "authorization” control 5011 is used to indicate that the target permission of the target communication application is successfully obtained.
  • the "reject” control 5012 is used to indicate that the target permission of the target communication application cannot be obtained.
  • the communication object adding device displays the first object adding interface only when the target authority of the target communication application is acquired. For example, the communication object adding device displays the first object adding interface after the user manually triggers the acquisition of the target authority of the target communication application. That is, the communication object adding device cannot display the first object adding interface when the target authority of the target communication application is not obtained. Thus, it is beneficial to improve the use security of the target communication application.
  • the target communication application is a communication application determined according to the target keyword in the first content, and the target keyword is used to indicate the target communication application.
  • the communication object adding device may determine that the communication application corresponding to the first account information is application 2 (that is, the target communication application) according to the target keyword "application 2".
  • the target communication application can be determined according to the target keyword in the first content, and the user does not need to manually select which application the target communication application is, it is beneficial to further simplify the step of adding a communication object to the communication application.
  • step 103 is further included before step 101:
  • Step 103 The communication object adding device recognizes the first account information from the first content according to the content type of the first content.
  • the first account information is the character string in the first content; the type of the character string includes at least one of the following: letters, numbers, arithmetic symbols, punctuation marks, and functional symbols.
  • the punctuation marks may include the underscore “_”, etc.
  • the operation symbols may include the plus sign “+” and the minus sign “-”, etc.
  • the communication object adding apparatus may directly identify the first account information from the first content.
  • the user's input of the first account information may be a click input.
  • the communication object adding device may first call a text recognition (Optical Character Recognition, OCR) text detection interface to extract The text in the first content; further, the first account information is recognized from the extracted text, that is, the first account information is recognized from the first content.
  • OCR Optical Character Recognition
  • the first interface 601 displayed by the apparatus for adding a communication object includes the first content 6011 of the image type.
  • the OCR text detection interface can be called to extract the text in the first content 6011.
  • the communication object adding device recognizes the first account information "xm_12345” from the extracted text, and displays a pop-up window on the first interface 601 (such as the bottom of the first interface 601) as shown in (b) in FIG. 6 6012 includes the first account information "xm_12345" displayed with a bold font effect, and the instruction information "Please select an account to add friends".
  • the device for adding communication objects can be triggered to display as shown in (b) in Figure 2 ⁇ first object addition interface 202.
  • the first input may include input 6 and input 7.
  • the communication object adding device may identify character strings in the text in the first content, such as identifying numbers, letters, or a combination character string of numbers, letters, and underscores. Subsequently, the communication object adding device may determine the character string as the first account information to set a hyperlink that triggers the display of the first object adding interface to the first account information, so that the first account information supports the user to call the first object through the first input.
  • An object adding interface may be identified by the communication object adding device.
  • the communication object adding device can recognize the first account information from the first content of the text type or the image type. Therefore, while the first account information is triggered to display the first object adding interface corresponding to the first account information (ie, the friend adding interface) with one click, the user can be prevented from manually triggering the communication object adding device to copy the first account in the text type. Information, and the cumbersome steps of constantly viewing and memorizing the first account information in the image type.
  • the communication object adding device 70 shown in FIG. 7 includes a receiving module 71 and a display module 72: the receiving module 71 is used to receive the user's first account information when the first content displayed on the first interface includes the first account information. A first input of account information; the display module 72 is configured to display the first object addition interface in the target communication application in response to the first input received by the receiving module 71; wherein, the first object addition interface is the first account information indication The object of the communication object is added to the interface.
  • the first input of the first account information by the user may be used to display the first information in the target communication application.
  • Object adding interface is the object adding interface of the communication object indicated by the first account information. That is, when the user browses to the first content that includes the first account information, the user can trigger the display of the first object adding interface in the target communication application through the quicker first input of the first account information, and then through the first The object adding interface adds the communication object indicated by the first account information as a friend.
  • the user executes the triggering of the electronic device to exit the current first interface, then call up the friend search bar through the add friend control in the target communication application, and then manually enter or manually paste the first account information in the friend search bar, etc. step. Therefore, in a scenario where the user browses to the account information of the friend to be added displayed on the electronic device, the browsed account information can trigger the display of the friend adding interface corresponding to the account information with one click, which simplifies the process of adding friends in the communication application. Steps and reduce time-consuming.
  • the first input includes a first sub-input and a second sub-input;
  • the display module 72 is specifically configured to display at least one application identifier on the first interface in response to the first sub-input of the first account information, each Each application identifier indicates a communication application; in response to the second sub-input of the target application identifier, an object adding interface is displayed; wherein the target application identifier is an application identifier indicating the target communication application in at least one application identifier.
  • the communication object adding device can provide the user with at least one application identification, the user can control the communication object adding device to display the first target communication application indicated by the target application identification by inputting the target application identification in the at least one application identification.
  • An object adding interface Even if the first object adding interface is an object adding interface actually required by the user, the communication object indicated by the first account information added subsequently through the first object adding interface is a communication object added by the user according to actual requirements.
  • the display module 72 is specifically configured to display the first object adding interface when the target permission of the target communication application is obtained; wherein the target permission is: allowing the target communication application to be triggered and displayed by the first account information The permission of the first object to add the interface.
  • the communication object adding device displays the first object adding interface only when the target permission of the target communication application is obtained. For example, the communication object adding device displays the first object adding interface after the user manually triggers the acquisition of the target authority of the target communication application. That is, when the communication object adding device cannot obtain the target authority of the target communication application, the first object adding interface cannot be displayed. Thus, it is beneficial to improve the use security of the target communication application.
  • the target communication application is a communication application determined according to the target keyword in the first content, and the target keyword is used to indicate the target communication application.
  • the target communication application can be determined according to the target keyword in the first content, there is no need for the user to manually select which application the target communication application is, which is beneficial to further simplify the step of adding a communication object to the communication application.
  • the communication object adding device 70 further includes: an identification module, configured to identify the first content from the first content according to the content type of the first content before the receiving module 71 receives the first input of the user's first account information.
  • an identification module configured to identify the first content from the first content according to the content type of the first content before the receiving module 71 receives the first input of the user's first account information.
  • Account information where the first account information is a character string in the first content.
  • the communication object adding device can recognize the first account information from the first content of the text type or the image type. Therefore, while the first account information is triggered to display the first object adding interface corresponding to the first account information (ie, the friend adding interface) with one click, the user can be prevented from manually triggering the communication object adding device to copy the first account in the text type. Information, and the cumbersome steps of constantly viewing and memorizing the first account information in the image type.
  • the device for adding a communication object in the embodiments of the present application may be a device, or a component, integrated circuit, or chip in an electronic device.
  • the device can 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 (UMPC), a netbook, or a personal digital assistant (personal digital assistant).
  • UMPC ultra-mobile personal computer
  • netbook or a personal digital assistant (personal digital assistant).
  • non-mobile electronic devices can be servers, network attached storage (NAS), personal computers (PC), televisions (television, TV), teller machines or self-service machines, etc., this application
  • NAS network attached storage
  • PC personal computers
  • TV televisions
  • teller machines or self-service machines etc.
  • the device for adding a communication object in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
  • the apparatus for adding a communication object provided by the embodiment of the present application can implement each process implemented by the apparatus for adding a communication object in the method embodiment of FIG.
  • an embodiment of the present application further provides an electronic device, including a processor 1010, a memory 1009, a program or instruction that is stored on the memory 1009 and can run on the processor 1010, and the program or instruction is executed by the processor 1010
  • an electronic device including a processor 1010, a memory 1009, a program or instruction that is stored on the memory 1009 and can run on the processor 1010, and the program or instruction is executed by the processor 1010
  • the electronic devices in the embodiments of the present application may include the aforementioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 8 is a schematic diagram of the hardware structure of an electronic device that implements 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 the processor 1010 and other components.
  • the electronic device 1000 may also include a power source (such as a battery) for supplying power to various components.
  • the power source may be logically connected to the processor 1010 through a power management system, so that the power management system can manage charging, discharging, and power management. Consumption management and other functions.
  • the structure of the electronic device shown in FIG. 8 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than those shown in the figure, or some components may be combined, or different component arrangements, which will not be repeated here. .
  • the user input unit 1007 is configured to receive a user's first input of the first account information when the first content displayed on the first interface includes the first account information;
  • the display unit 1006 is configured to display the first object addition interface in the target communication application in response to the first input received by the user input unit 1007; wherein the first object addition interface is the object addition interface of the communication object indicated by the first account information .
  • the user's first input of the first account information can display the first object addition in the target communication application.
  • Interface where the first object adding interface is the object adding interface of the communication object indicated by the first account information. That is, when the user browses the first content including the first account information, the user can trigger the display of the first object adding interface in the target communication application through the quicker first input of the first account information, and then through the first object
  • the adding interface adds the communication object indicated by the first account information as a friend.
  • the user executes the triggering of the electronic device to exit the current first interface, then call up the friend search bar through the add friend control in the target communication application, and then manually enter or manually paste the first account information in the friend search bar, etc. step. Therefore, in a scenario where the user browses to the account information of the friend to be added displayed on the electronic device, the browsed account information can trigger the display of the friend adding interface corresponding to the account information with one click, which simplifies the process of adding friends in the communication application. Steps and reduce time-consuming.
  • the display unit 1006 is specifically configured to display at least one application identifier on the first interface in response to the first sub-input of the first account information, each application identifier indicating a communication application; in response to the identification of the target application The second sub-input of, displays the object adding interface; the first input includes the first sub-input and the second sub-input; wherein the target application identifier is an application identifier indicating the target communication application in the at least one application identifier.
  • the electronic device can provide the user with at least one application identification, the user can control the electronic device to display the first object addition interface of the target communication application indicated by the target application identification by inputting the target application identification in the at least one application identification.
  • the first object adding interface is an object adding interface actually required by the user
  • the communication object indicated by the first account information added subsequently through the first object adding interface is a communication object added by the user according to actual requirements.
  • the display unit 1006 is specifically configured to display the first object adding interface when the target permission of the target communication application is obtained; wherein, the target permission is: allowing the target communication application to be triggered and displayed by the first account information The permission of the first object to add the interface.
  • the electronic device displays the first object adding interface only when the target permission of the target communication application is obtained. For example, the electronic device displays the first object adding interface after the user manually triggers the acquisition of the target permission of the target communication application. That is, when the electronic device cannot obtain the target permission of the target communication application, the first object adding interface cannot be displayed. Thus, it is beneficial to improve the use security of the target communication application.
  • the target communication application is a communication application determined according to the target keyword in the first content, and the target keyword is used to indicate the target communication application.
  • the target communication application can be determined according to the target keyword in the first content, there is no need for the user to manually select which application the target communication application is, which is beneficial to further simplify the steps of the communication application adding communication objects.
  • the processor 1010 is configured to identify the first account information from the first content according to the content type of the first content before the user input unit 1007 receives the user's first input of the first account information;
  • An account information is a character string in the first content.
  • the electronic device can recognize the first account information from both the text type or the image type of the first content.
  • one-click display of the friend adding interface corresponding to the account information that is, the object adding interface
  • the user can avoid manually triggering the electronic device to copy the first account information in the text type, and constantly check And memorize the cumbersome steps of the first account information in the image type.
  • the structural diagram of the above-mentioned electronic device (for example, the user input unit 1007 in FIG. 8 can be implemented by the receiving module 71 in the above-mentioned communication object adding apparatus 70; 1006 can be implemented by the display module 72 in the aforementioned communication object adding device 70.
  • the processor 1010 in the schematic structural diagram of the aforementioned electronic device can be implemented by the identification module in the aforementioned communication object adding device 70.
  • the embodiment of the present application also provides a readable storage medium with a program or instruction stored on the readable storage medium.
  • the program or instruction is executed by a processor, each process of the foregoing communication object adding method embodiment is realized, and the same can be achieved. In order to avoid repetition, I won’t repeat them here.
  • the foregoing processor may be the processor in the electronic device in the foregoing embodiment.
  • the above-mentioned readable storage medium may include a computer readable storage medium, such as a computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
  • the embodiment of the present application further provides a chip, which includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or an instruction to implement each process of the foregoing communication object adding method embodiment, And can achieve the same technical effect, in order to avoid repetition, I will not repeat them here.
  • chips mentioned in the embodiments of the present application may also be referred to as system-level chips, system-on-chips, system-on-chips, or system-on-chips.
  • the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.
  • a storage medium such as ROM/RAM, magnetic disk,
  • the optical disc includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Telephone Function (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

Embodiments of the present application relate to the technical field of communications, and provide a communication object adding method and apparatus, and an electronic device. The method comprises: when first content displayed on a first interface comprises first account information, receiving a first input of a user for the first account information; and in response to the first input, displaying a first object adding interface in a target communication application program, the first object adding interface being an object adding interface of a communication object as indicated by the first account information.

Description

通信对象添加方法、装置及电子设备Method, device and electronic equipment for adding communication object
相关申请的交叉引用Cross-references to related applications
本申请主张在2020年05月09日在中国提交的中国专利申请号No.202010388631.0的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 202010388631.0 filed in China on May 9, 2020, the entire content of which is incorporated herein by reference.
技术领域Technical field
本申请实施例涉及通信技术领域,尤其涉及一种通信对象添加方法、装置及电子设备。The embodiments of the present application relate to the field of communication technologies, and in particular, to a method, device, and electronic device for adding a communication object.
背景技术Background technique
随着信息时代的不断发展,用户可以通过多种类别的通信应用(即社交聊天软件)添加好友(即通信对象),以与好友通过相应的通信应用聊天。其中,在一个通信应用显示好友添加界面时,用户可以在该好友添加界面中的账号信息输入框中输入待添加好友的账号信息,以触发通过该通信应用添加该好友。With the continuous development of the information age, users can add friends (ie, communication objects) through various types of communication applications (ie, social chat software), so as to chat with friends through corresponding communication applications. Wherein, when a communication application displays a friend adding interface, the user can input the account information of the friend to be added into the account information input box in the friend adding interface to trigger the addition of the friend through the communication application.
具体的,用户在浏览到当前界面显示的文字或图片等内容包含的某个账号信息时,可能需求通过特定的通信应用添加该账号信息表示的好友。目前,用户需要触发电子设备先退出当前界面、再基于特定通信应用中的添加好友控件的触发显示该通信应用中好友搜索栏,随后在该好友搜索栏中接收用户手动输入或手动粘贴的待添加好友的账号信息,才会显示该账号信息指示的通信对象的好友添加界面,进而才能触发电子设备在该通信应用中添加该好友。如此,在用户浏览到电子设备显示的待添加的好友的账号信息的场景下,如何简化在通信应用中添加好友的步骤成为待解决的问题。Specifically, when the user browses to a certain account information contained in the text or picture displayed on the current interface, he may need to add the friend indicated by the account information through a specific communication application. At present, the user needs to trigger the electronic device to exit the current interface first, and then display the friend search bar in the communication application based on the trigger of the add friend control in the specific communication application, and then receive the user's manual input or manual paste to be added in the friend search bar. Only the account information of the friend can display the friend adding interface of the communication object indicated by the account information, and then the electronic device can be triggered to add the friend in the communication application. In this way, in a scenario where the user browses to the account information of the friend to be added displayed on the electronic device, how to simplify the steps of adding a friend in a communication application becomes a problem to be solved.
发明内容Summary of the invention
本申请实施例提供一种通信对象添加方法、装置及电子设备,能够在用户浏览到电子设备显示的待添加的好友的账号信息的场景下,简化在通信应用中添加好友的步骤。The embodiments of the present application provide a method, a device, and an electronic device for adding a communication object, which can simplify the steps of adding a friend in a communication application when a user browses to the account information of a friend to be added displayed on the electronic device.
为了解决上述技术问题,本申请实施例是这样实现的:In order to solve the above technical problems, the embodiments of the present application are implemented as follows:
第一方面,本申请实施例提供了一种通信对象添加方法,该方法包括:在第一界面显示的第一内容包括第一账号信息的情况下,接收用户对第一账号信息的第一输入;响应于第一输入,显示目标通信应用中的第一对象添加界面;其中,第一对象添加界面为第一账号信息指示的通信对象的对 象添加界面。In the first aspect, an embodiment of the present application provides a method for adding a communication object. The method includes: receiving a user's first input of the first account information when the first content displayed on the first interface includes the first account information. In response to the first input, the first object addition interface in the target communication application is displayed; wherein, the first object addition interface is the object addition interface of the communication object indicated by the first account information.
第二方面,本申请实施例提供了一种通信对象添加装置,该装置包括:接收模块和显示模块;接收模块,用于在第一界面显示的第一内容包括第一账号信息的情况下,接收用户对第一账号信息的第一输入;显示模块,用于响应于接收模块接收的第一输入,显示目标通信应用中的第一对象添加界面;其中,第一对象添加界面为第一账号信息指示的通信对象的对象添加界面。In a second aspect, an embodiment of the present application provides an apparatus for adding a communication object. The apparatus includes: a receiving module and a display module; the receiving module is configured to, when the first content displayed on the first interface includes first account information, Receive the user's first input of the first account information; the display module is configured to display the first object adding interface in the target communication application in response to the first input received by the receiving module; wherein, the first object adding interface is the first account The object addition interface of the communication object indicated by the information.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在该存储器上并可在该处理器上运行的程序,该程序被该处理器执行时实现如上述第一方面中的通信对象添加方法的步骤。In a third aspect, an embodiment of the present application provides an electronic device that includes a processor, a memory, and a program that is stored on the memory and can run on the processor. When the program is executed by the processor, the implementation is as follows: The steps of the method for adding a communication object in the first aspect described above.
第四方面,本申请实施例提供了一种可读存储介质,该可读存储介质上存储程序,该程序被处理器执行时实现如上述第一方面中的通信对象添加方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium having a program stored on the readable storage medium, and when the program is executed by a processor, the steps of the communication object adding method in the first aspect are implemented.
第五方面,本申请实施例提供了一种芯片,该芯片包括处理器和通信接口,该通信接口和该处理器耦合,该处理器用于运行程序或指令,实现如第一方面中的通信对象添加方法。In a fifth aspect, an embodiment of the present application provides a chip that includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement a communication object as in the first aspect Add method.
在本申请实施例中,在第一界面显示的第一内容包括第一账号信息的情况下,可以通过用户对第一账号信息的第一输入,显示目标通信应用中的第一对象添加界面;其中,第一对象添加界面为第一账号信息指示的通信对象的对象添加界面。即,在用户浏览到包括第一账号信息的第一内容时,用户通过对第一账号信息较为快捷的第一输入,便可以触发显示目标通信应用中的第一对象添加界面,进而通过第一对象添加界面添加第一账号信息指示的通信对象为好友。如此,可以避免用户执行触发电子设备先退出当前第一界面,再通过目标通信应用中的添加好友控件调出好友搜索栏,进而在该好友搜索栏中手动输入或手动粘贴第一账号信息等繁琐步骤。从而,在用户浏览到电子设备显示的待添加的好友的账号信息的场景下,通过浏览到的账号信息可以一键触发显示该账号信息对应的好友添加界面,简化了在通信应用中添加好友的步骤,并减少了耗时。In the embodiment of the present application, when the first content displayed on the first interface includes the first account information, the first object addition interface in the target communication application may be displayed through the user's first input of the first account information; The first object adding interface is the object adding interface of the communication object indicated by the first account information. That is, when the user browses to the first content that includes the first account information, the user can trigger the display of the first object adding interface in the target communication application through the quicker first input of the first account information, and then through the first The object adding interface adds the communication object indicated by the first account information as a friend. In this way, it can be avoided that the user executes the triggering of the electronic device to exit the current first interface, then call up the friend search bar through the add friend control in the target communication application, and then manually enter or manually paste the first account information in the friend search bar, etc. step. Therefore, in a scenario where the user browses to the account information of the friend to be added displayed on the electronic device, the browsed account information can trigger the display of the friend adding interface corresponding to the account information with one click, which simplifies the process of adding friends in the communication application. Steps and reduce time-consuming.
附图说明Description of the drawings
图1为本申请实施例提供的一种通信对象添加方法的流程示意图;FIG. 1 is a schematic flowchart of a method for adding a communication object provided by an embodiment of this application;
图2为本申请实施例提供的添加通信对象的操作流程示意图之一;FIG. 2 is one of the schematic diagrams of the operation flow of adding a communication object provided by an embodiment of the application;
图3为本申请实施例提供的添加通信对象的操作流程示意图之二;FIG. 3 is the second schematic diagram of the operation flow of adding a communication object provided by an embodiment of the application;
图4为本申请实施例提供的添加通信对象的操作流程示意图之三;FIG. 4 is the third schematic diagram of the operation flow of adding a communication object provided by an embodiment of the application;
图5为本申请实施例提供的添加通信对象的操作流程示意图之四;FIG. 5 is a fourth schematic diagram of the operation flow of adding a communication object provided by an embodiment of this application;
图6为本申请实施例提供的添加通信对象的操作流程示意图之五;FIG. 6 is the fifth schematic diagram of the operation flow of adding a communication object provided by an embodiment of this application;
图7为本申请实施例提供的一种通信对象添加装置的结构示意图;FIG. 7 is a schematic structural diagram of an apparatus for adding communication objects provided by an embodiment of the application;
图8为本申请实施例提供的一种电子设备的硬件结构示意图。FIG. 8 is a schematic diagram of the hardware structure of an electronic device provided by an embodiment of the application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其它实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all of them. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first" and "second" in the specification and claims of this application are used to distinguish similar objects, but not to describe a specific sequence or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present application can be implemented in a sequence 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 associated objects before and after are in an "or" relationship.
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更优选或更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present application, words such as "exemplary" or "for example" are used as examples, illustrations, or illustrations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present application should not be construed as being more preferable or advantageous than other embodiments or design solutions. To be precise, words such as "exemplary" or "for example" are used to present related concepts in a specific manner.
在本申请实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个通信对象是指两个或者两个以上的通信对象等。In the description of the embodiments of the present application, unless otherwise specified, the meaning of “multiple” refers to two or more than two, for example, multiple communication objects refer to two or more communication objects, etc.
本申请实施例提供的通信对象添加方法,在第一界面显示的第一内容包括第一账号信息的情况下,可以通过用户对第一账号信息的第一输入,显示目标通信应用中的第一对象添加界面;其中,第一对象添加界面为第一账号信息指示的通信对象的对象添加界面。即,在用户浏览到包括第一账号信息的第一内容时,用户通过对第一账号信息较为快捷的第一输入,便可以触发显示目标通信应用中的第一对象添加界面,进而通过第一对象添加界面添加第一账号信息指示的通信对象为好友。如此,可以避免用户执行触发电子设备先退出当前第一界面,再通过目标通信应用中的添加好友控件调出好友搜索栏,进而在该好友搜索栏中手动输入或手动粘贴第一账号信息等繁琐步骤。从而,在用户浏览到电子设备显示的待添加的好友的账号信息的场景下,通过浏览到的账号信息可以一键触发显示该账号信息对应的好友添加界面,简化了在通信应用中添加好友的步骤,并减少了耗时。In the method for adding communication objects provided by the embodiments of the present application, when the first content displayed on the first interface includes the first account information, the first input of the first account information by the user can be used to display the first information in the target communication application. Object adding interface; wherein, the first object adding interface is the object adding interface of the communication object indicated by the first account information. That is, when the user browses to the first content that includes the first account information, the user can trigger the display of the first object adding interface in the target communication application through the quicker first input of the first account information, and then through the first The object adding interface adds the communication object indicated by the first account information as a friend. In this way, it can be avoided that the user executes the triggering of the electronic device to exit the current first interface, then call up the friend search bar through the add friend control in the target communication application, and then manually enter or manually paste the first account information in the friend search bar, etc. step. Therefore, in a scenario where the user browses to the account information of the friend to be added displayed on the electronic device, the browsed account information can trigger the display of the friend adding interface corresponding to the account information with one click, which simplifies the process of adding friends in the communication application. Steps and reduce time-consuming.
需要说明的是,本申请实施例提供的通信对象添加方法的执行主体可以为通信对象添加装置,或者该通信对象添加装置中的用于执行加载通信对象添加方法的控制模块和/或控制实体,具体的可以根据实际使用需求确定,本 申请实施例不作限定。其中,本申请实施例中以通信对象添加装置执行加载通信对象添加方法为例,对本申请实施例提供的通信对象添加方法进行示例性的说明。It should be noted that the execution subject of the method for adding a communication object provided by the embodiment of the present application may be a device for adding a communication object, or a control module and/or a control entity in the device for adding a communication object for executing the method for loading a communication object. The details can be determined according to actual use requirements, and the embodiments of the present application do not limit it. Wherein, in the embodiment of the present application, the method for adding a communication object by loading a communication object performed by the apparatus for adding a communication object is taken as an example to illustrate the method for adding a communication object provided by the embodiment of the present application.
如图1所示,为本申请实施例提供的一种通信对象添加方法的方法流程示意图。该通信对象添加方法可应用于通信对象添加装置,具体的,图1示出的方法流程中包括步骤101和步骤102:As shown in FIG. 1, it is a schematic flowchart of a method for adding a communication object according to an embodiment of this application. The method for adding a communication object can be applied to a device for adding a communication object. Specifically, the method flow shown in FIG. 1 includes step 101 and step 102:
步骤101、在第一界面显示的第一内容包括第一账号信息的情况下,通信对象添加装置接收用户对第一账号信息的第一输入。Step 101: In a case where the first content displayed on the first interface includes the first account information, the communication object adding apparatus receives the user's first input of the first account information.
其中,上述第一界面可以为通信对象添加装置当前显示的界面。Wherein, the above-mentioned first interface may be an interface currently displayed by the communication object adding device.
可选的,上述第一内容的内容类型为图像类型或文字类型。即第一内容为图像(即图片)或文字。Optionally, the content type of the aforementioned first content is an image type or a text type. That is, the first content is an image (that is, a picture) or text.
可以理解的是,上述第一账号信息对应的通信对象为待添加的通信对象,即待添加至某个通信应用程序通信录中的好友。It is understandable that the communication object corresponding to the above-mentioned first account information is the communication object to be added, that is, the friend to be added to the address book of a certain communication application.
示例性的,上述第一输入可以为用户对第一账号信息的点击输入或长按输入等。当然,第一输入的输入形式还可以为其他任意可实现形式,本发明实施例对此不作限定。Exemplarily, the above-mentioned first input may be a click input or long-press input of the first account information by the user. Of course, the input form of the first input may also be any other achievable form, which is not limited in the embodiment of the present invention.
需要说明的是,通信对象添加装置在接收用户的第一输入之前,可以从显示的第一内容中识别并标记出第一账号信息。具体的,对识别并标记第一账号信息的描述将在下述实施例中体现,此处不再赘述。It should be noted that, before receiving the user's first input, the communication object adding device may identify and mark the first account information from the displayed first content. Specifically, the description of identifying and marking the first account information will be embodied in the following embodiments, and will not be repeated here.
步骤102、响应于第一输入,通信对象添加装置显示目标通信应用中的第一对象添加界面。Step 102: In response to the first input, the communication object adding device displays the first object adding interface in the target communication application.
其中,第一对象添加界面为第一账号信息指示的通信对象(记为通信对象1)的对象添加界面,即好友添加界面。Wherein, the first object adding interface is the object adding interface of the communication object (denoted as communication object 1) indicated by the first account information, that is, the friend adding interface.
可选的,第一界面可以为:目标通信应用(记为应用1)中与第一对象添加界面不同的界面(记为界面1),通信对象添加装置中除目标通信应用以外的应用(如其他通信应用)的界面(记为界面2),或者通信对象添加装置中的桌面界面(记为界面3)等。Optionally, the first interface may be: an interface in the target communication application (denoted as application 1) that is different from the first object adding interface (denoted as interface 1), and an application other than the target communication application in the communication object adding device (such as Other communication applications) interface (denoted as interface 2), or the desktop interface (denoted as interface 3) in the device for adding communication objects, etc.
示例性的,在第一界面为上述界面1时,第一界面可以为目标通信应用中的某个已有的通信对象(与上述通信对象1不同)的聊天界面,此时第一内容为本机用户与该通信对象的聊天内容。Exemplarily, when the first interface is the aforementioned interface 1, the first interface may be a chat interface of an existing communication object (different from the aforementioned communication object 1) in the target communication application. In this case, the first content is based The chat content between the computer user and the communication partner.
示例性的,在第一界面为上述界面2时,第一界面可以为与目标通信对象不同的一个通信应用(记为应用2)中的某个已有的通信对象的聊天界面,此时第一内容为本机用户与该通信对象的聊天内容。Exemplarily, when the first interface is the aforementioned interface 2, the first interface may be a chat interface of an existing communication object in a communication application (denoted as application 2) that is different from the target communication object. One content is the chat content between the user of the machine and the communication partner.
可以理解的是,上述第一账号信息对应的通信对象为待添加的通信对象,即待添加至某个通信应用程序通信录中的好友。It is understandable that the communication object corresponding to the above-mentioned first account information is the communication object to be added, that is, the friend to be added to the address book of a certain communication application.
可选的是,上述第一对象添加界面中可以包括第一账号信息和“添加至通讯录”控件。其中,用户对“添加至通讯录”控件的输入,可以触发通信对象添加装置添加该第一账号信息指示的通信对象为好友。Optionally, the above-mentioned first object adding interface may include first account information and an "add to address book" control. Wherein, the user's input to the "add to address book" control can trigger the communication object adding device to add the communication object indicated by the first account information as a friend.
进一步,可选的,上述第一对象添加界面中还可以包括第一账户信息指示的通信对象1的昵称、头像等信息。Further, optionally, the above-mentioned first object adding interface may also include information such as the nickname and avatar of the communication object 1 indicated by the first account information.
可选的,第一对象添加界面中还包括“设置备注和标签”控件,用于添加通信对象1时对通信对象1添加备注和标签。Optionally, the first object adding interface also includes a "set remarks and tags" control, which is used to add remarks and tags to communication object 1 when communication object 1 is added.
可选的,第一对象添加界面中还包括“来源”标识,用于指示第一账号信息是来源于哪个通信应用或通过哪个添加路径添加的。Optionally, the first object adding interface further includes a "source" identifier, which is used to indicate which communication application the first account information is derived from or through which adding path is added.
可选的,通信对象添加装置在检测到第一界面的第一内容中包括第一账号信息的情况下,可以对第一账户信息添加超链接,使得第一账户信息本身可以用于触发显示第一对象添加界面。例如,通信对象添加装置为第一账户信息添加的超链接为第一对象添加界面的超链接。Optionally, when the device for adding communication objects detects that the first content of the first interface includes the first account information, it may add a hyperlink to the first account information, so that the first account information itself can be used to trigger the display of the first account information. An object adding interface. For example, the hyperlink added by the communication object adding device for the first account information is the hyperlink of the first object adding interface.
可选的,上述第一内容中的第一账号信息为按照预设显示效果显示的。该预设显示效果用于指示:第一账号信息指示的通信对象为待添加的通信对象,即第一账户信息添加的超链接用于触发显示第一对象添加界面。如此,使得用户可以直观的通过以预设显示效果显示的第一账号信息,获知可以通过对第一账号信息的第一输入,触发显示第一对象添加界面。Optionally, the first account information in the foregoing first content is displayed according to a preset display effect. The preset display effect is used to indicate that the communication object indicated by the first account information is the communication object to be added, that is, the hyperlink added by the first account information is used to trigger the display of the first object addition interface. In this way, the user can intuitively learn that through the first input of the first account information, the display of the first object adding interface can be triggered through the first input of the first account information displayed by the preset display effect.
示例性的,预设显示效果可以为高亮显示、字体加粗显示、蓝色字体显示等,本发明实施例对此不作具体限定,可以根据用户实际需求而定。Exemplarily, the preset display effect may be highlight display, bold font display, blue font display, etc. The embodiment of the present invention does not specifically limit this, and may be determined according to actual needs of the user.
示例性,以图2示出的添加通信对象的操作流程图为例,说明本申请实施例提供的通信对象添加方法。如图2中的(a)所示,通信对象添加装置显示应用1(与目标通信对象不同)中本机用户与通信对象“小明”聊天的第一界面201(即上述第一界面),该第一界面201中包括文字类型的第一内容2011“我的应用2的账号为xm_12345,你添加下好友”。其中,第一内容2011中包括第一账号信息“xm_12345”。具体的,用户对第一账号信息“xm_12345”的点击输入(记为输入1),可以触发通信对象添加装置显示如图2的(b)中的应用2中的第一对象添加界面202。其中,第一对象添加界面202为第一账号信息“xm_12345”对应的通信对象的对象添加界面。具体的,第一对象添加界面202中包括第一账号信息“xm_12345”指示的通信对象1的昵称(“小明”)、头像,以及用户对通信对象1设置备注和标签的“设置备注和标签”控件,和“来源”标识,以及“添加至通讯录”控件。此时,第一输入可以包括上述输入1,应用2为目标通信应用。其中,图2中的第一账号信息“xm_12345”按照字体加粗显示(即预设显示效果为字体加粗显示)。Exemplarily, the operation flowchart of adding a communication object shown in FIG. 2 is taken as an example to illustrate the method for adding a communication object provided by the embodiment of the present application. As shown in Figure 2(a), the communication object adding device displays the first interface 201 (that is, the above-mentioned first interface) for chatting between the local user and the communication object "Xiao Ming" in the application 1 (different from the target communication object). The first interface 201 includes the text type first content 2011 "The account of my application 2 is xm_12345, you add a friend". Among them, the first content 2011 includes the first account information "xm_12345". Specifically, the user's click input (denoted as input 1) on the first account information "xm_12345" can trigger the communication object adding device to display the first object adding interface 202 in the application 2 in (b) of FIG. 2. The first object adding interface 202 is an object adding interface of the communication object corresponding to the first account information "xm_12345". Specifically, the first object adding interface 202 includes the nickname ("Xiao Ming") and avatar of the communication object 1 indicated by the first account information "xm_12345", and the "set remarks and tags" for the user to set the remarks and tags on the communication object 1 Control, and the "source" identification, and the "add to address book" control. At this time, the first input may include the aforementioned input 1, and application 2 is the target communication application. Among them, the first account information "xm_12345" in FIG. 2 is displayed in bold font (that is, the preset display effect is displayed in bold font).
可选的,本发明实施例中,结合图2,如图3所示,在用户对图2中(a)示出的第一账号信息“xm_12345”进行点击输入之后,如图3所示通信对象添加装置可以在第一界面201上显示“添加好友”控件31和“取消”控件32。随后,若用户对图3示出的“添加好友”控件31进行点击输入(记为输入2),则可以触发通信对象添加装置显示如图2中的(b)示出的第一对象添加界面202。若用户对图3示出的“取消”控件32进行点击输入(记为输入3),则可以触发通信对象添加装置将不执行显示如图2中的(b)示出的第一对象添加界面202。此时,上述第一输入可以包括输入1和输入2。Optionally, in the embodiment of the present invention, in conjunction with FIG. 2, as shown in FIG. 3, after the user clicks and enters the first account information "xm_12345" shown in (a) in FIG. 2, the communication is shown in FIG. The object adding device may display the “add friend” control 31 and the “cancel” control 32 on the first interface 201. Subsequently, if the user performs a click input (denoted as input 2) on the "add friend" control 31 shown in FIG. 3, the communication object adding device may be triggered to display the first object adding interface as shown in (b) in FIG. 2 202. If the user clicks on the "cancel" control 32 shown in FIG. 3 (denoted as input 3), the communication object adding device can be triggered to not execute displaying the first object adding interface as shown in (b) in FIG. 2 202. At this time, the above-mentioned first input may include input 1 and input 2.
可以理解的是,由于通信对象添加装置可以在第一界面中提供“添加好友”控件和“取消”控件,以支持用户选择是否触发通信对象添加装置显示第一对象添加界面,进而添加第一账号信息指示的通信对象(即通信对象1)。即通信对象添加装置可以支持用户手动确认是否选择通过第一账号信息快捷地调出第一对象添加界面。如此,可以提高添加通信对象过程中的人机交互性能,并避免用户对误触发对第一内容中的第一账号信息的输入,而误触发显示第一对象添加界面。It is understandable that the communication object adding device can provide the "add friend" control and the "cancel" control in the first interface to support the user to choose whether to trigger the communication object adding device to display the first object adding interface, and then add the first account The communication object indicated by the information (ie, communication object 1). That is, the communication object adding device can support the user to manually confirm whether to choose to quickly call up the first object adding interface through the first account information. In this way, the human-computer interaction performance in the process of adding a communication object can be improved, and the user can prevent the user from erroneously triggering the input of the first account information in the first content and erroneously triggering the display of the first object adding interface.
本申请实施例提供的通信对象添加方法,在第一界面显示的第一内容包括第一账号信息的情况下,可以通过用户对第一账号信息的第一输入,显示目标通信应用中的第一对象添加界面;其中,第一对象添加界面为第一账号信息指示的通信对象的对象添加界面。即,在用户浏览到包括第一账号信息的第一内容时,用户通过对第一账号信息较为快捷的第一输入,便可以触发显示目标通信应用中的第一对象添加界面,进而通过第一对象添加界面添加第一账号信息指示的通信对象为好友。如此,可以避免用户执行触发电子设备先退出当前第一界面,再通过目标通信应用中的添加好友控件调出好友搜索栏,进而在该好友搜索栏中手动输入或手动粘贴第一账号信息等繁琐步骤。从而,在用户浏览到电子设备显示的待添加的好友的账号信息的场景下,通过浏览到的账号信息可以一键触发显示该账号信息对应的好友添加界面,简化了在通信应用中添加好友的步骤,并减少了耗时。In the method for adding communication objects provided by the embodiments of the present application, when the first content displayed on the first interface includes the first account information, the first input of the first account information by the user can be used to display the first information in the target communication application. Object adding interface; wherein, the first object adding interface is the object adding interface of the communication object indicated by the first account information. That is, when the user browses to the first content that includes the first account information, the user can trigger the display of the first object adding interface in the target communication application through the quicker first input of the first account information, and then through the first The object adding interface adds the communication object indicated by the first account information as a friend. In this way, it can be avoided that the user executes the triggering of the electronic device to exit the current first interface, then call up the friend search bar through the add friend control in the target communication application, and then manually enter or manually paste the first account information in the friend search bar, etc. step. Therefore, in a scenario where the user browses to the account information of the friend to be added displayed on the electronic device, the browsed account information can trigger the display of the friend adding interface corresponding to the account information with one click, which simplifies the process of adding friends in the communication application. Steps and reduce time-consuming.
可选的,第一输入包括第一子输入和第二子输入。具体的,上述步骤101可以通过步骤101a至步骤101c实现,相应的,上述步骤102可以通过步骤102a实现:Optionally, the first input includes a first sub-input and a second sub-input. Specifically, the above step 101 can be implemented through step 101a to step 101c, and correspondingly, the above step 102 can be implemented through step 102a:
步骤101a、在第一界面显示的第一内容包括第一账号信息的情况下,通信对象添加装置接收用户对第一账号信息的第一子输入。Step 101a: In a case where the first content displayed on the first interface includes the first account information, the communication object adding device receives the first sub-input of the first account information by the user.
示例性的,第一子输入可以为对第一账号信息的点击输入,还可以为其它任意可实现的输入形式的输入,此处不再赘述。Exemplarily, the first sub-input may be a click input of the first account information, or may also be an input in any other achievable input form, which will not be repeated here.
步骤101b、响应于第一子输入,通信对象添加装置在第一界面上显示至少一个应用标识,每个应用标识指示一个通信应用。Step 101b: In response to the first sub-input, the communication object adding device displays at least one application identifier on the first interface, and each application identifier indicates a communication application.
示例性的,一个应用标识可以为一个应用的图标。Exemplarily, an application identifier may be an icon of an application.
步骤101c、通信对象添加装置接收对目标应用标识的第二子输入。Step 101c: The apparatus for adding a communication object receives a second sub-input of the target application identifier.
其中,目标应用标识为至少一个应用标识中指示目标通信应用的应用标识。The target application identifier is an application identifier indicating the target communication application in at least one application identifier.
示例性的,第二子输入可以为对目标应用标识的点击输入,还可以为其他任意可实现输入形式的输入,此处不再赘述。Exemplarily, the second sub-input may be a click input to the target application identifier, or may be any other input that can be realized in the form of input, which will not be repeated here.
步骤102a、响应于第二子输入,通信对象添加装置显示目标通信对象中的第一对象添加界面。Step 102a: In response to the second sub-input, the communication object adding device displays the first object adding interface in the target communication object.
示例性的,结合图2或图3,如图4所示,在用户执行图2示出的输入1或图3示出的输入2之后,如图4所示通信对象添加装置可以在第一界面201上(如第一界面201的底部)显示弹窗401。其中,弹窗401中包括指示信息“选择应用”,应用标识4011和应用标识4012等多个应用标识,以及滑动控件4013。Exemplarily, in conjunction with FIG. 2 or FIG. 3, as shown in FIG. 4, after the user performs input 1 shown in FIG. 2 or input 2 shown in FIG. A pop-up window 401 is displayed on the interface 201 (such as the bottom of the first interface 201). Among them, the pop-up window 401 includes indication information "Select Application", multiple application identifiers such as application identifier 4011 and application identifier 4012, and a sliding control 4013.
其中,指示信息“选择应用”用于指示用户选择弹窗401中的应用标识,以在选中的应用标识对应的通信应用中显示第一对象添加界面202。应用标识4011用于指示应用2,应用标识4012用于指示应用3。滑动控件4013用于指示在弹窗401上的滑动输入用于触发更新显示弹窗401中的应用标识。The indication information "select application" is used to instruct the user to select the application identifier in the pop-up window 401, so as to display the first object adding interface 202 in the communication application corresponding to the selected application identifier. The application identifier 4011 is used to indicate application 2, and the application identifier 4012 is used to indicate application 3. The sliding control 4013 is used to indicate that the sliding input on the pop-up window 401 is used to trigger the update of the application identification in the pop-up window 401 to be displayed.
随后,在用户对图4示出的应用标识4011进行点击输入(记为输入4)之后,可以触发通信对象添加装置显示如图2中的(b)示出的应用2中的第一对象添加界面202。此时,上述第一输入可以包括输入1和输入4,或者包括输入1、输入2和输入4。并且,应用2为目标通信应用。弹窗401中的应用标识可以为上述至少一个应用标识。Subsequently, after the user clicks on the application identifier 4011 shown in FIG. 4 (denoted as input 4), the communication object adding device may be triggered to display the first object addition in application 2 as shown in (b) in FIG. 2 Interface 202. At this time, the aforementioned first input may include input 1 and input 4, or include input 1, input 2, and input 4. And, application 2 is the target communication application. The application identifier in the pop-up window 401 may be at least one application identifier described above.
如此,由于通信对象添加装置可以向用户提供至少一个应用标识,因此使得用户可以通过对至少一个应用标识中的目标应用标识的输入,控制通信对象添加装置显示目标应用标识指示的目标通信应用的第一对象添加界面。即使得第一对象添加界面为用户实际需求的对象添加界面,从而使得后续通过第一对象添加界面添加第一账号信息指示的通信对象为用户实际需求添加的通信对象。In this way, because the communication object adding device can provide the user with at least one application identification, the user can control the communication object adding device to display the first target communication application indicated by the target application identification by inputting the target application identification in the at least one application identification. An object adding interface. Even if the first object adding interface is an object adding interface actually required by the user, the communication object indicated by the first account information added subsequently through the first object adding interface is a communication object added by the user according to actual requirements.
可选的,上述步骤102可以通过步骤102b实现:Optionally, the foregoing step 102 may be implemented through step 102b:
步骤102b、通信对象添加装置在获取到目标通信应用的目标权限的情况下,显示第一对象添加界面。Step 102b: When the device for adding a communication object obtains the target authority of the target communication application, it displays the first object adding interface.
其中,目标权限为:允许通过第一账号信息触发启动目标通信应用并 显示第一对象添加界面的权限。Among them, the target permission is: permission to trigger the launch of the target communication application through the first account information and display the permission of the first object adding interface.
示例性的,结合图2至图4中的任一项,在执行图2示出的输入1、图3示出的输入2或者图4示出的输入4之后,如图5所示通信对象添加装置可以在第一界面201上显示弹窗501。其中,弹窗501中包括指示信息“尝试打开应用2,是否授权”,“授权”控件5011和“拒绝”控件5012。具体的,弹窗501用于提示用户需要授权应用2才能一键添加好友。随后,若用户对图5示出的“授权”控件5011进行点击输入(记为输入5),则可以触发通信对象添加装置显示如图2中的(b)示出应用2中的第一对象添加界面202。若用户对图5示出的“拒绝”控件5012进行点击输入(记为输入6),则可以触发通信对象添加装置将不执行显示如图2中的(b)示出的第一对象添加界面202。此时,上述第一输入可以包括输入1和输入5,或者包括输入1、输入2和输入5,或者包括输入1、输入2、输入4和输入5。Exemplarily, in conjunction with any one of FIGS. 2 to 4, after executing input 1, input 2 shown in FIG. 3, or input 4 shown in FIG. 4, the communication object shown in FIG. 5 The adding device can display a pop-up window 501 on the first interface 201. Wherein, the pop-up window 501 includes instruction information "Try to open application 2, whether to authorize", an "authorize" control 5011, and a "reject" control 5012. Specifically, the pop-up window 501 is used to prompt the user to authorize the application 2 to add friends with one click. Subsequently, if the user clicks on the "authorization" control 5011 shown in FIG. 5 (denoted as input 5), the communication object adding device can be triggered to display the first object in the application 2 as shown in (b) of FIG. 2 Add interface 202. If the user clicks on the "reject" control 5012 shown in FIG. 5 (denoted as input 6), the communication object adding device can be triggered to not execute the display of the first object adding interface as shown in (b) in FIG. 2 202. At this time, the above-mentioned first input may include input 1 and input 5, or include input 1, input 2, and input 5, or include input 1, input 2, input 4, and input 5.
具体的,上述“授权”控件5011用于指示成功获取目标通信应用的目标权限。相应的,“拒绝”控件5012用于指示无法获取目标通信应用的目标权限。Specifically, the above-mentioned "authorization" control 5011 is used to indicate that the target permission of the target communication application is successfully obtained. Correspondingly, the "reject" control 5012 is used to indicate that the target permission of the target communication application cannot be obtained.
如此,通信对象添加装置在获取到目标通信应用的目标权限的情况下才显示第一对象添加界面。例如,通信对象添加装置在用户手动触发获取目标通信应用的目标权限之后才显示第一对象添加界面。即通信对象添加装置未获取到目标通信应用的目标权限时无法显示第一对象添加界面。从而,有利于提高目标通信应用的使用安全性。In this way, the communication object adding device displays the first object adding interface only when the target authority of the target communication application is acquired. For example, the communication object adding device displays the first object adding interface after the user manually triggers the acquisition of the target authority of the target communication application. That is, the communication object adding device cannot display the first object adding interface when the target authority of the target communication application is not obtained. Thus, it is beneficial to improve the use security of the target communication application.
可选的,目标通信应用为根据第一内容中的目标关键字确定的通信应用,目标关键字用于指示目标通信应用。Optionally, the target communication application is a communication application determined according to the target keyword in the first content, and the target keyword is used to indicate the target communication application.
示例性,参照图2中的(a),第一内容2011“我的应用2的账号为xm_12345,你添加下好友”中包括目标关键字“应用2”。此时,通信对象添加装置可以根据目标关键字“应用2”,确定出第一账号信息对应的通信应用为应用2(即目标通信应用)。Exemplarily, referring to (a) in FIG. 2, the first content 2011 "The account of my application 2 is xm_12345, you add a friend" includes the target keyword "application 2". At this time, the communication object adding device may determine that the communication application corresponding to the first account information is application 2 (that is, the target communication application) according to the target keyword "application 2".
其中,由于目标通信应用可以根据第一内容中的目标关键字确定,而无需用户手动选择目标通信应用为哪个应用,因此有利于进一步简化在通信应用中添加通信对象的步骤。Among them, since the target communication application can be determined according to the target keyword in the first content, and the user does not need to manually select which application the target communication application is, it is beneficial to further simplify the step of adding a communication object to the communication application.
可选的,上述步骤101之前还包括步骤103:Optionally, step 103 is further included before step 101:
步骤103、通信对象添加装置根据第一内容的内容类型,从第一内容中识别出第一账号信息。Step 103: The communication object adding device recognizes the first account information from the first content according to the content type of the first content.
其中,第一账号信息为第一内容中的字符串;字符串的类型包括以下至少一项:字母、数字、运算符号、标点符号、功能性符号。The first account information is the character string in the first content; the type of the character string includes at least one of the following: letters, numbers, arithmetic symbols, punctuation marks, and functional symbols.
示例性的,标点符号可以包括下划线“_”等,运算符号可以包括加号“+”和减号“-”等。Exemplarily, the punctuation marks may include the underscore "_", etc., and the operation symbols may include the plus sign "+" and the minus sign "-", etc.
可选的,在应用场景1中,在通信对象添加装置确定第一内容的内容类型为文字类型的情况下,通信对象添加装置可以直接从第一内容中识别第一账号信息。此时,用户对第一账户信息的输入可以为点击输入。Optionally, in application scenario 1, in a case where the communication object adding apparatus determines that the content type of the first content is a text type, the communication object adding apparatus may directly identify the first account information from the first content. At this time, the user's input of the first account information may be a click input.
可选的,在应用场景2中,在通信对象添加装置确定第一内容的内容类型为图像类型的情况下,通信对象添加装置可以先调用文字识别(Optical Character Recognition,OCR)文本检测接口,提取第一内容中的文字;进而,从提取得到的文字中识别出第一账号信息,即从第一内容中识别第一账号信息。此时,用户对第一账户信息的输入可以为长按输入。Optionally, in application scenario 2, when the communication object adding device determines that the content type of the first content is an image type, the communication object adding device may first call a text recognition (Optical Character Recognition, OCR) text detection interface to extract The text in the first content; further, the first account information is recognized from the extracted text, that is, the first account information is recognized from the first content. At this time, the user's input of the first account information may be long-press input.
示例性的,如图6中的(a)所示,通信对象添加装置显示的第一界面601中包括图像类型的第一内容6011。在用户对图6中的(a)示出的图像6011进行长按输入(记为输入6)之后,可以调用OCR文本检测接口,提取第一内容6011中的文字。进而,通信对象添加装置从提取得到的文字中识别得到第一账号信息“xm_12345”,并如图6中的(b)所示在第一界面601(如第一界面601的底部)显示弹窗6012中包括以字体加粗效果显示的第一账号信息“xm_12345”,以及指示信息“请选择账号添加好友”。随后,用户对图6中的(b)中示出的第一账号信息“xm_12345”进行点击输入(记为输入7)之后,可以触发通信对象添加装置显示如图2中的(b)所示的第一对象添加界面202。此时,第一输入可以包括输入6和输入7。Exemplarily, as shown in (a) of FIG. 6, the first interface 601 displayed by the apparatus for adding a communication object includes the first content 6011 of the image type. After the user performs a long-press input (denoted as input 6) on the image 6011 shown in FIG. 6(a), the OCR text detection interface can be called to extract the text in the first content 6011. Furthermore, the communication object adding device recognizes the first account information "xm_12345" from the extracted text, and displays a pop-up window on the first interface 601 (such as the bottom of the first interface 601) as shown in (b) in FIG. 6 6012 includes the first account information "xm_12345" displayed with a bold font effect, and the instruction information "Please select an account to add friends". Subsequently, after the user clicks to input the first account information "xm_12345" shown in (b) in Figure 6 (denoted as input 7), the device for adding communication objects can be triggered to display as shown in (b) in Figure 2的 first object addition interface 202. At this time, the first input may include input 6 and input 7.
类似的,参照上述图2至图5,对图6中(b)示出的第一账号信息“xm_12345”执行输入7之后,还可以执行图3至图5中任一附图所示的操作过程,进而实现显示图2中(b)示出的第一对象添加界面202。Similarly, referring to Figures 2 to 5 above, after entering 7 for the first account information "xm_12345" shown in Figure 6(b), you can also perform the operations shown in any one of Figures 3 to 5 During the process, the first object adding interface 202 shown in (b) of FIG. 2 is displayed.
可选的,通信对象添加装置可以在第一内容中的文字中的字符串,例如识别数字、字母或者数字、字母以及下划线的组合字符串。随后,通信对象添加装置可以将该字符串确定为第一账号信息,以对第一账号信息设置触发显示第一对象添加界面的超链接,使得第一账号信息支持用户通过第一输入调出第一对象添加界面。Optionally, the communication object adding device may identify character strings in the text in the first content, such as identifying numbers, letters, or a combination character string of numbers, letters, and underscores. Subsequently, the communication object adding device may determine the character string as the first account information to set a hyperlink that triggers the display of the first object adding interface to the first account information, so that the first account information supports the user to call the first object through the first input. An object adding interface.
如此,通信对象添加装置从文字类型或图像类型的第一内容中均可以识别出第一账号信息。从而,在实现通过第一账号信息一键触发显示第一账号信息对应的第一对象添加界面(即好友添加界面)的同时,可以避免用户手动触发通信对象添加装置复制文字类型中的第一账号信息,以及不断查看并记忆图像类型中的第一账号信息的繁琐步骤。In this way, the communication object adding device can recognize the first account information from the first content of the text type or the image type. Therefore, while the first account information is triggered to display the first object adding interface corresponding to the first account information (ie, the friend adding interface) with one click, the user can be prevented from manually triggering the communication object adding device to copy the first account in the text type. Information, and the cumbersome steps of constantly viewing and memorizing the first account information in the image type.
需要说明的是,本申请实施例中,上述各个附图所示的通信对象添加 方法均是以结合本申请实施例中的一个附图为例示例性的说明的。具体实现时,上述各个附图所示通信对象添加方法还可以结合上述实施例中示意的其它可以结合的任意附图实现,此处不再赘述。It should be noted that, in the embodiments of the present application, the methods for adding communication objects shown in each of the above figures are all exemplified in combination with one figure in the embodiments of the present application. In specific implementation, the method for adding communication objects shown in each of the above figures can also be implemented in combination with any other figures that can be combined as illustrated in the above embodiments, and will not be repeated here.
如图7所示,为本申请实施例提供的一种通信对象添加装置的结构示意图。具体的,图7示出的通信对象添加装置70包括接收模块71和显示模块72:接收模块71,用于在第一界面显示的第一内容包括第一账号信息的情况下,接收用户对第一账号信息的第一输入;显示模块72,用于响应于接收模块71接收的第一输入,显示目标通信应用中的第一对象添加界面;其中,第一对象添加界面为第一账号信息指示的通信对象的对象添加界面。As shown in FIG. 7, a schematic structural diagram of an apparatus for adding a communication object provided by an embodiment of this application. Specifically, the communication object adding device 70 shown in FIG. 7 includes a receiving module 71 and a display module 72: the receiving module 71 is used to receive the user's first account information when the first content displayed on the first interface includes the first account information. A first input of account information; the display module 72 is configured to display the first object addition interface in the target communication application in response to the first input received by the receiving module 71; wherein, the first object addition interface is the first account information indication The object of the communication object is added to the interface.
本申请实施例提供的通信对象添加装置,在第一界面显示的第一内容包括第一账号信息的情况下,可以通过用户对第一账号信息的第一输入,显示目标通信应用中的第一对象添加界面;其中,第一对象添加界面为第一账号信息指示的通信对象的对象添加界面。即,在用户浏览到包括第一账号信息的第一内容时,用户通过对第一账号信息较为快捷的第一输入,便可以触发显示目标通信应用中的第一对象添加界面,进而通过第一对象添加界面添加第一账号信息指示的通信对象为好友。如此,可以避免用户执行触发电子设备先退出当前第一界面,再通过目标通信应用中的添加好友控件调出好友搜索栏,进而在该好友搜索栏中手动输入或手动粘贴第一账号信息等繁琐步骤。从而,在用户浏览到电子设备显示的待添加的好友的账号信息的场景下,通过浏览到的账号信息可以一键触发显示该账号信息对应的好友添加界面,简化了在通信应用中添加好友的步骤,并减少了耗时。In the communication object adding device provided by the embodiment of the present application, in the case that the first content displayed on the first interface includes the first account information, the first input of the first account information by the user may be used to display the first information in the target communication application. Object adding interface; wherein, the first object adding interface is the object adding interface of the communication object indicated by the first account information. That is, when the user browses to the first content that includes the first account information, the user can trigger the display of the first object adding interface in the target communication application through the quicker first input of the first account information, and then through the first The object adding interface adds the communication object indicated by the first account information as a friend. In this way, it can be avoided that the user executes the triggering of the electronic device to exit the current first interface, then call up the friend search bar through the add friend control in the target communication application, and then manually enter or manually paste the first account information in the friend search bar, etc. step. Therefore, in a scenario where the user browses to the account information of the friend to be added displayed on the electronic device, the browsed account information can trigger the display of the friend adding interface corresponding to the account information with one click, which simplifies the process of adding friends in the communication application. Steps and reduce time-consuming.
可选的,第一输入包括第一子输入和第二子输入;显示模块72,具体用于响应于对第一账号信息的第一子输入,在第一界面上显示至少一个应用标识,每个应用标识指示一个通信应用;响应于对目标应用标识的第二子输入,显示对象添加界面;其中,目标应用标识为至少一个应用标识中指示目标通信应用的应用标识。Optionally, the first input includes a first sub-input and a second sub-input; the display module 72 is specifically configured to display at least one application identifier on the first interface in response to the first sub-input of the first account information, each Each application identifier indicates a communication application; in response to the second sub-input of the target application identifier, an object adding interface is displayed; wherein the target application identifier is an application identifier indicating the target communication application in at least one application identifier.
如此,由于通信对象添加装置可以向用户提供至少一个应用标识,因此使得用户可以通过对至少一个应用标识中的目标应用标识的输入,控制通信对象添加装置显示目标应用标识指示的目标通信应用的第一对象添加界面。即使得第一对象添加界面为用户实际需求的对象添加界面,从而使得后续通过第一对象添加界面添加第一账号信息指示的通信对象为用户实际需求添加的通信对象。In this way, because the communication object adding device can provide the user with at least one application identification, the user can control the communication object adding device to display the first target communication application indicated by the target application identification by inputting the target application identification in the at least one application identification. An object adding interface. Even if the first object adding interface is an object adding interface actually required by the user, the communication object indicated by the first account information added subsequently through the first object adding interface is a communication object added by the user according to actual requirements.
可选的,显示模块72,具体用于在获取到目标通信应用的目标权限的情况下,显示第一对象添加界面;其中,目标权限为:允许通过第一账号 信息触发启动目标通信应用并显示第一对象添加界面的权限。Optionally, the display module 72 is specifically configured to display the first object adding interface when the target permission of the target communication application is obtained; wherein the target permission is: allowing the target communication application to be triggered and displayed by the first account information The permission of the first object to add the interface.
如此,通信对象添加装置在获取得到目标通信应用的目标权限的情况下才显示第一对象添加界面。例如,通信对象添加装置在用户手动触发获取目标通信应用的目标权限之后才显示第一对象添加界面。即通信对象添加装置无法获取目标通信应用的目标权限时无法显示第一对象添加界面。从而,有利于提高目标通信应用的使用安全性。In this way, the communication object adding device displays the first object adding interface only when the target permission of the target communication application is obtained. For example, the communication object adding device displays the first object adding interface after the user manually triggers the acquisition of the target authority of the target communication application. That is, when the communication object adding device cannot obtain the target authority of the target communication application, the first object adding interface cannot be displayed. Thus, it is beneficial to improve the use security of the target communication application.
可选的,目标通信应用为根据第一内容中的目标关键字确定的通信应用,目标关键字用于指示目标通信应用。Optionally, the target communication application is a communication application determined according to the target keyword in the first content, and the target keyword is used to indicate the target communication application.
其中,由于目标通信应用可以根据第一内容中的目标关键字确定的,无需用户手动选择目标通信应用为哪个应用,因此有利于进一步简化在通信应用中添加通信对象的步骤。Among them, since the target communication application can be determined according to the target keyword in the first content, there is no need for the user to manually select which application the target communication application is, which is beneficial to further simplify the step of adding a communication object to the communication application.
可选的,通信对象添加装置70还包括:识别模块,用于接收模块71接收用户对第一账号信息的第一输入之前,根据第一内容的内容类型,从第一内容中识别出第一账号信息;其中,第一账号信息为第一内容中的字符串。Optionally, the communication object adding device 70 further includes: an identification module, configured to identify the first content from the first content according to the content type of the first content before the receiving module 71 receives the first input of the user's first account information. Account information; where the first account information is a character string in the first content.
如此,通信对象添加装置从文字类型或图像类型的第一内容中均可以识别出第一账号信息。从而,在实现通过第一账号信息一键触发显示第一账号信息对应的第一对象添加界面(即好友添加界面)的同时,可以避免用户手动触发通信对象添加装置复制文字类型中的第一账号信息,以及不断查看并记忆图像类型中的第一账号信息的繁琐步骤。In this way, the communication object adding device can recognize the first account information from the first content of the text type or the image type. Therefore, while the first account information is triggered to display the first object adding interface corresponding to the first account information (ie, the friend adding interface) with one click, the user can be prevented from manually triggering the communication object adding device to copy the first account in the text type. Information, and the cumbersome steps of constantly viewing and memorizing the first account information in the image type.
本申请实施例中的通信对象添加装置可以是装置,也可以是电子设备中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The device for adding a communication object in the embodiments of the present application may be a device, or a component, integrated circuit, or chip in an electronic device. The device can 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 (UMPC), a netbook, or a personal digital assistant (personal digital assistant). assistant, PDA), etc., non-mobile electronic devices can be servers, network attached storage (NAS), personal computers (PC), televisions (television, TV), teller machines or self-service machines, etc., this application The embodiments are not specifically limited.
本申请实施例中的通信对象添加装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The device for adding a communication object in the embodiment of the present application may be a device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
本申请实施例提供的通信对象添加装置能够实现图1的方法实施例中通信对象添加装置实现的各个过程,为避免重复,此处不再赘述。The apparatus for adding a communication object provided by the embodiment of the present application can implement each process implemented by the apparatus for adding a communication object in the method embodiment of FIG.
可选的,本申请实施例还提供一种电子设备,包括处理器1010,存储器 1009,存储在存储器1009上并可在处理器1010上运行的程序或指令,该程序或指令被处理器1010执行时实现上述通信对象添加方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, an embodiment of the present application further provides an electronic device, including a processor 1010, a memory 1009, a program or instruction that is stored on the memory 1009 and can run on the processor 1010, and the program or instruction is executed by the processor 1010 Each process of the foregoing communication object adding method embodiment is realized at a time, 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 may include the aforementioned mobile electronic devices and non-mobile electronic devices.
图8为实现本申请实施例的一种电子设备的硬件结构示意图。如图8所示,电子设备1000包括但不限于:射频单元1001、网络模块1002、音频输出单元1003、输入单元1004、传感器1005、显示单元1006、用户输入单元1007、接口单元1008、存储器1009、以及处理器1010等部件。FIG. 8 is a schematic diagram of the hardware structure of an electronic device that implements an embodiment of the present application. As shown in FIG. 8, 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 the processor 1010 and other components.
本领域技术人员可以理解,电子设备1000还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1010逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图8中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 1000 may also include a power source (such as a battery) for supplying power to various components. The power source may be logically connected to the processor 1010 through a power management system, so that the power management system can manage charging, discharging, and power management. Consumption management and other functions. The structure of the electronic device shown in FIG. 8 does not constitute a limitation on the electronic device. The electronic device may include more or less components than those shown in the figure, or some components may be combined, or different component arrangements, which will not be repeated here. .
其中,用户输入单元1007,用于在第一界面显示的第一内容包括第一账号信息的情况下,接收用户对第一账号信息的第一输入;Wherein, the user input unit 1007 is configured to receive a user's first input of the first account information when the first content displayed on the first interface includes the first account information;
显示单元1006,用于响应于用户输入单元1007接收的第一输入,显示目标通信应用中的第一对象添加界面;其中,第一对象添加界面为第一账号信息指示的通信对象的对象添加界面。The display unit 1006 is configured to display the first object addition interface in the target communication application in response to the first input received by the user input unit 1007; wherein the first object addition interface is the object addition interface of the communication object indicated by the first account information .
本申请实施例提供的电子设备,在第一界面显示的第一内容包括第一账号信息的情况下,可以通过用户对第一账号信息的第一输入,显示目标通信应用中的第一对象添加界面;其中,第一对象添加界面为第一账号信息指示的通信对象的对象添加界面。即,在用户浏览包括第一账号信息的第一内容时,用户通过对第一账号信息较为快捷的第一输入,便可以触发显示目标通信应用中的第一对象添加界面,进而通过第一对象添加界面添加第一账号信息指示的通信对象为好友。如此,可以避免用户执行触发电子设备先退出当前第一界面,再通过目标通信应用中的添加好友控件调出好友搜索栏,进而在该好友搜索栏中手动输入或手动粘贴第一账号信息等繁琐步骤。从而,在用户浏览到电子设备显示的待添加的好友的账号信息的场景下,通过浏览到的账号信息可以一键触发显示该账号信息对应的好友添加界面,简化了在通信应用中添加好友的步骤,并减少了耗时。In the electronic device provided by the embodiment of the present application, when the first content displayed on the first interface includes the first account information, the user's first input of the first account information can display the first object addition in the target communication application. Interface; where the first object adding interface is the object adding interface of the communication object indicated by the first account information. That is, when the user browses the first content including the first account information, the user can trigger the display of the first object adding interface in the target communication application through the quicker first input of the first account information, and then through the first object The adding interface adds the communication object indicated by the first account information as a friend. In this way, it can be avoided that the user executes the triggering of the electronic device to exit the current first interface, then call up the friend search bar through the add friend control in the target communication application, and then manually enter or manually paste the first account information in the friend search bar, etc. step. Therefore, in a scenario where the user browses to the account information of the friend to be added displayed on the electronic device, the browsed account information can trigger the display of the friend adding interface corresponding to the account information with one click, which simplifies the process of adding friends in the communication application. Steps and reduce time-consuming.
可选的,显示单元1006,具体用于响应于对第一账号信息的第一子输入,在第一界面上显示至少一个应用标识,每个应用标识指示一个通信应用;响应于对目标应用标识的第二子输入,显示对象添加界面;第一输入 包括第一子输入和第二子输入;其中,目标应用标识为至少一个应用标识中指示目标通信应用的应用标识。Optionally, the display unit 1006 is specifically configured to display at least one application identifier on the first interface in response to the first sub-input of the first account information, each application identifier indicating a communication application; in response to the identification of the target application The second sub-input of, displays the object adding interface; the first input includes the first sub-input and the second sub-input; wherein the target application identifier is an application identifier indicating the target communication application in the at least one application identifier.
如此,由于电子设备可以向用户提供至少一个应用标识,因此使得用户可以通过对至少一个应用标识中的目标应用标识的输入,控制电子设备显示目标应用标识指示的目标通信应用的第一对象添加界面。即使得第一对象添加界面为用户实际需求的对象添加界面,从而使得后续通过第一对象添加界面添加第一账号信息指示的通信对象为用户实际需求添加的通信对象。In this way, since the electronic device can provide the user with at least one application identification, the user can control the electronic device to display the first object addition interface of the target communication application indicated by the target application identification by inputting the target application identification in the at least one application identification. . Even if the first object adding interface is an object adding interface actually required by the user, the communication object indicated by the first account information added subsequently through the first object adding interface is a communication object added by the user according to actual requirements.
可选的,显示单元1006,具体用于在获取得到目标通信应用的目标权限的情况下,显示第一对象添加界面;其中,目标权限为:允许通过第一账号信息触发启动目标通信应用并显示第一对象添加界面的权限。Optionally, the display unit 1006 is specifically configured to display the first object adding interface when the target permission of the target communication application is obtained; wherein, the target permission is: allowing the target communication application to be triggered and displayed by the first account information The permission of the first object to add the interface.
如此,电子设备在获取得到目标通信应用的目标权限的情况下才显示第一对象添加界面。例如,电子设备在用户手动触发获取目标通信应用的目标权限之后才显示第一对象添加界面。即电子设备无法获取目标通信应用的目标权限时无法显示第一对象添加界面。从而,有利于提高目标通信应用的使用安全性。In this way, the electronic device displays the first object adding interface only when the target permission of the target communication application is obtained. For example, the electronic device displays the first object adding interface after the user manually triggers the acquisition of the target permission of the target communication application. That is, when the electronic device cannot obtain the target permission of the target communication application, the first object adding interface cannot be displayed. Thus, it is beneficial to improve the use security of the target communication application.
可选的,目标通信应用为根据第一内容中的目标关键字确定的通信应用,目标关键字用于指示目标通信应用。Optionally, the target communication application is a communication application determined according to the target keyword in the first content, and the target keyword is used to indicate the target communication application.
其中,由于目标通信应用可以根据第一内容中的目标关键字确定的,无需用户手动选择目标通信应用为哪个应用,因此有利于进一步简化通信应用添加通信对象的步骤。Among them, since the target communication application can be determined according to the target keyword in the first content, there is no need for the user to manually select which application the target communication application is, which is beneficial to further simplify the steps of the communication application adding communication objects.
可选的,处理器1010,用于用户输入单元1007接收用户对第一账号信息的第一输入之前,根据第一内容的内容类型,从第一内容中识别出第一账号信息;其中,第一账号信息为第一内容中的字符串。Optionally, the processor 1010 is configured to identify the first account information from the first content according to the content type of the first content before the user input unit 1007 receives the user's first input of the first account information; An account information is a character string in the first content.
如此,电子设备从文字类型或图像类型的第一内容中均可以识别出第一账号信息。此时,实现通过第一账号信息一键触发显示该账号信息对应的好友添加界面(即对象添加界面)的同时,可以避免用户手动触发电子设备复制文字类型中的第一账号信息,以及不断查看并记忆图像类型中的第一账号信息的繁琐步骤。In this way, the electronic device can recognize the first account information from both the text type or the image type of the first content. At this time, it is realized that one-click display of the friend adding interface corresponding to the account information (that is, the object adding interface) is triggered by the first account information, and at the same time, the user can avoid manually triggering the electronic device to copy the first account information in the text type, and constantly check And memorize the cumbersome steps of the first account information in the image type.
可以理解,本申请实施例中,上述电子设备的结构示意图(例如图8中的用户输入单元1007可以通过上述通信对象添加装置70中的接收模块71实现;上述电子设备的结构示意图中的显示单元1006可以通过上述通信对象添加装置70中的显示模块72实现。上述电子设备的结构示意图中的处理器1010可以通过上述通信对象添加装置70中的识别模块实现。It can be understood that, in the embodiment of the present application, the structural diagram of the above-mentioned electronic device (for example, the user input unit 1007 in FIG. 8 can be implemented by the receiving module 71 in the above-mentioned communication object adding apparatus 70; 1006 can be implemented by the display module 72 in the aforementioned communication object adding device 70. The processor 1010 in the schematic structural diagram of the aforementioned electronic device can be implemented by the identification module in the aforementioned communication object adding device 70.
本申请实施例还提供一种可读存储介质,该可读存储介质上存储有程序 或指令,该程序或指令被处理器执行时实现上述通信对象添加方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium with a program or instruction stored on the readable storage medium. When the program or instruction is executed by a processor, each process of the foregoing communication object adding method embodiment is realized, and the same can be achieved. In order to avoid repetition, I won’t repeat them here.
其中,上述处理器可以为上述实施例中,电子设备中的处理器。上述可读存储介质可以包括计算机可读存储介质,如计算机只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等。The foregoing processor may be the processor in the electronic device in the foregoing embodiment. The above-mentioned readable storage medium may include a computer readable storage medium, such as a computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
本申请实施例另提供了一种芯片,该芯片包括处理器和通信接口,该通信接口和该处理器耦合,该处理器用于运行程序或指令,实现上述通信对象添加方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application further provides a chip, which includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run a program or an instruction to implement each process of the foregoing communication object adding method embodiment, And can achieve the same technical effect, in order to avoid repetition, I will not repeat them here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-level chips, system-on-chips, system-on-chips, or system-on-chips.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements that are not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the 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. The functions are performed, for example, the described method may be performed in a different order from the described order, and various steps may also be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台电子设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。Through the description of the above implementation manners, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of this application essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make an electronic device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the application are described above with reference to the accompanying drawings, but the application is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of this application, many forms can be made without departing from the purpose of this application and the scope of protection of the claims, all of which fall within the protection of this application.

Claims (15)

  1. 一种通信对象添加方法,所述方法包括:A method for adding a communication object, the method comprising:
    在第一界面显示的第一内容包括第一账号信息的情况下,接收用户对所述第一账号信息的第一输入;In a case where the first content displayed on the first interface includes the first account information, receiving a user's first input of the first account information;
    响应于所述第一输入,显示目标通信应用中的第一对象添加界面;In response to the first input, display the first object addition interface in the target communication application;
    其中,所述第一对象添加界面为所述第一账号信息指示的通信对象的对象添加界面。Wherein, the first object adding interface is an object adding interface of the communication object indicated by the first account information.
  2. 根据权利要求1所述的方法,其中,所述第一输入包括第一子输入和第二子输入;The method of claim 1, wherein the first input includes a first sub-input and a second sub-input;
    所述响应于所述第一输入,显示目标通信应用中的第一对象添加界面,包括:The displaying the first object adding interface in the target communication application in response to the first input includes:
    响应于对所述第一账号信息的第一子输入,在所述第一界面上显示至少一个应用标识,每个应用标识指示一个通信应用;In response to the first sub-input of the first account information, at least one application identifier is displayed on the first interface, each application identifier indicating a communication application;
    响应于对目标应用标识的第二子输入,显示所述目标通信应用中的所述第一对象添加界面;In response to the second sub-input of the target application identifier, displaying the first object adding interface in the target communication application;
    其中,所述目标应用标识为所述至少一个应用标识中指示所述目标通信应用的应用标识。Wherein, the target application identifier is an application identifier indicating the target communication application in the at least one application identifier.
  3. 根据权利要求1所述的方法,其中,所述显示目标通信应用中的第一对象添加界面,包括:The method according to claim 1, wherein said displaying the first object addition interface in the target communication application comprises:
    在获取到所述目标通信应用的目标权限的情况下,显示所述第一对象添加界面;In the case of obtaining the target authority of the target communication application, displaying the first object adding interface;
    其中,所述目标权限为:允许通过所述第一账号信息触发启动所述目标通信应用并显示所述第一对象添加界面的权限。Wherein, the target permission is: permission to trigger the start of the target communication application and display the first object adding interface through the first account information.
  4. 根据权利要求1所述的方法,其中,所述目标通信应用为根据所述第一内容中的目标关键字确定的通信应用,所述目标关键字用于指示所述目标通信应用。The method according to claim 1, wherein the target communication application is a communication application determined according to a target keyword in the first content, and the target keyword is used to indicate the target communication application.
  5. 根据权利要求1所述的方法,其中,The method of claim 1, wherein:
    所述接收用户对所述第一账号信息的第一输入之前,所述方法还包括:Before the receiving the user's first input of the first account information, the method further includes:
    根据所述第一内容的内容类型,从所述第一内容中识别出所述第一账号信息;其中,所述第一账号信息为所述第一内容中的字符串。The first account information is identified from the first content according to the content type of the first content; wherein, the first account information is a character string in the first content.
  6. 一种通信对象添加装置,所述装置包括:接收模块和显示模块;A device for adding a communication object, the device comprising: a receiving module and a display module;
    所述接收模块,用于在第一界面显示的第一内容包括第一账号信息的情况下,接收用户对所述第一账号信息的第一输入;The receiving module is configured to receive a user's first input of the first account information when the first content displayed on the first interface includes the first account information;
    所述显示模块,用于响应于所述接收模块接收的所述第一输入,显示目标通信应用中的第一对象添加界面;The display module is configured to display the first object addition interface in the target communication application in response to the first input received by the receiving module;
    其中,所述第一对象添加界面为所述第一账号信息指示的通信对象的对象添加界面。Wherein, the first object adding interface is an object adding interface of the communication object indicated by the first account information.
  7. 根据权利要求6所述的装置,其中,所述第一输入包括第一子输入和第二子输入;The device according to claim 6, wherein the first input includes a first sub-input and a second sub-input;
    所述显示模块,具体用于响应于对所述第一账号信息的第一子输入,在所述第一界面上显示至少一个应用标识,每个应用标识指示一个通信应用;且响应于对目标应用标识的第二子输入,显示所述目标通信应用中的所述第一对象添加界面;The display module is specifically configured to display at least one application identifier on the first interface in response to the first sub-input of the first account information, each application identifier indicating a communication application; and in response to the target The second sub-input of the application identifier displays the first object adding interface in the target communication application;
    其中,所述目标应用标识为所述至少一个应用标识中指示所述目标通信应用的应用标识。Wherein, the target application identifier is an application identifier indicating the target communication application in the at least one application identifier.
  8. 根据权利要求6所述的装置,其中,所述显示模块,具体用于在获取到所述目标通信应用的目标权限的情况下,显示所述第一对象添加界面;7. The device according to claim 6, wherein the display module is specifically configured to display the first object adding interface when the target permission of the target communication application is acquired;
    其中,所述目标权限为:允许通过所述第一账号信息触发启动所述目标通信应用并显示所述第一对象添加界面的权限。Wherein, the target permission is: permission to trigger the launch of the target communication application and display the first object adding interface through the first account information.
  9. 根据权利要求6所述的装置,其中,所述目标通信应用为根据所述第一内容中的目标关键字确定的通信应用,所述目标关键字用于指示所述目标通信应用。7. The apparatus according to claim 6, wherein the target communication application is a communication application determined according to a target keyword in the first content, and the target keyword is used to indicate the target communication application.
  10. 根据权利要求6所述的装置,其中,所述装置还包括:The device according to claim 6, wherein the device further comprises:
    识别模块,用于所述接收模块接收用户对所述第一账号信息的所述第一输入之前,根据所述第一内容的内容类型,从所述第一内容中识别出所述第一账号信息;An identification module, configured to identify the first account from the first content according to the content type of the first content before the receiving module receives the first input of the user's first account information information;
    其中,所述第一账号信息为所述第一内容中的字符串。Wherein, the first account information is a character string in the first content.
  11. 一种电子设备,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序,所述程序被所述处理器执行时实现如权利要求1至5中任一项所述的通信对象添加方法的步骤。An electronic device comprising a processor, a memory, and a program stored on the memory and capable of running on the processor, and the program is executed by the processor to implement any one of claims 1 to 5 The steps of the method for adding communication objects.
  12. 一种可读存储介质,所述可读存储介质上存储程序,所述程序被处理器执行时实现如权利要求1至5中任一项所述的通信对象添加方法的步骤。A readable storage medium on which a program is stored, and when the program is executed by a processor, the steps of the method for adding a communication object according to any one of claims 1 to 5 are realized.
  13. 一种计算机程序产品,所述程序产品被至少一个处理器执行以实现如权利要求1至5中任一项所述的通信对象添加方法。A computer program product, which is executed by at least one processor to implement the method for adding a communication object according to any one of claims 1 to 5.
  14. 一种电子设备,被配置成用于执行如权利要求1至5中任一项所述的通信对象添加方法。An electronic device configured to execute the method for adding a communication object according to any one of claims 1 to 5.
  15. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1至5中任一项所述的通信对象添加方法。A chip comprising a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used to run a program or an instruction to implement the communication according to any one of claims 1 to 5 Object adding method.
PCT/CN2021/091921 2020-05-09 2021-05-06 Communication object adding method and apparatus, and electronic device WO2021227922A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010388631.0 2020-05-09
CN202010388631.0A CN111641550A (en) 2020-05-09 2020-05-09 Communication object adding method and device and electronic equipment

Publications (1)

Publication Number Publication Date
WO2021227922A1 true WO2021227922A1 (en) 2021-11-18

Family

ID=72330863

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/091921 WO2021227922A1 (en) 2020-05-09 2021-05-06 Communication object adding method and apparatus, and electronic device

Country Status (2)

Country Link
CN (1) CN111641550A (en)
WO (1) WO2021227922A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111641550A (en) * 2020-05-09 2020-09-08 维沃移动通信有限公司 Communication object adding method and device and electronic equipment
CN112785312A (en) * 2021-01-21 2021-05-11 维沃移动通信有限公司 Information sharing method and device, electronic equipment and readable storage medium
CN115964104A (en) * 2021-10-08 2023-04-14 北京字跳网络技术有限公司 Method and device for displaying information, electronic equipment and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104572073A (en) * 2014-12-03 2015-04-29 贵阳朗玛信息技术股份有限公司 Method and device for adding good friends
KR20150116372A (en) * 2014-04-04 2015-10-15 (주)원더피플 System and method for providing buddy list
CN105897995A (en) * 2016-05-31 2016-08-24 努比亚技术有限公司 Contact person information adding method and apparatus
CN108540673A (en) * 2018-06-25 2018-09-14 奇酷互联网络科技(深圳)有限公司 Good friend's adding method, device, readable storage medium storing program for executing and mobile terminal
CN109525699A (en) * 2018-12-29 2019-03-26 努比亚技术有限公司 Good friend's adding method, device, mobile terminal and readable storage medium storing program for executing
CN111641550A (en) * 2020-05-09 2020-09-08 维沃移动通信有限公司 Communication object adding method and device and electronic equipment

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106791092A (en) * 2016-12-20 2017-05-31 北京小米移动软件有限公司 The searching method and device of contact person
CN107239193A (en) * 2017-05-25 2017-10-10 努比亚技术有限公司 A kind of contact person's adding method, mobile terminal and computer-readable recording medium
CN110830360B (en) * 2019-10-12 2022-11-25 中国平安财产保险股份有限公司 Multi-application program intercommunication method, electronic device and computer readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150116372A (en) * 2014-04-04 2015-10-15 (주)원더피플 System and method for providing buddy list
CN104572073A (en) * 2014-12-03 2015-04-29 贵阳朗玛信息技术股份有限公司 Method and device for adding good friends
CN105897995A (en) * 2016-05-31 2016-08-24 努比亚技术有限公司 Contact person information adding method and apparatus
CN108540673A (en) * 2018-06-25 2018-09-14 奇酷互联网络科技(深圳)有限公司 Good friend's adding method, device, readable storage medium storing program for executing and mobile terminal
CN109525699A (en) * 2018-12-29 2019-03-26 努比亚技术有限公司 Good friend's adding method, device, mobile terminal and readable storage medium storing program for executing
CN111641550A (en) * 2020-05-09 2020-09-08 维沃移动通信有限公司 Communication object adding method and device and electronic equipment

Also Published As

Publication number Publication date
CN111641550A (en) 2020-09-08

Similar Documents

Publication Publication Date Title
WO2022017525A1 (en) Page display method and apparatus, and electronic device
WO2021227922A1 (en) Communication object adding method and apparatus, and electronic device
CN111885258B (en) Unread message display method and device, electronic equipment and storage medium
US9075828B2 (en) Electronic device and method of controlling the same
WO2022001899A1 (en) Application management method and apparatus, and electronic device
WO2013094896A1 (en) Method and apparatus for managing message
WO2021238775A1 (en) Display method, display apparatus, and electronic device
WO2022161431A1 (en) Display method, apparatus, and electronic device
US10073618B2 (en) Supplementing a virtual input keyboard
CN112269508B (en) Display method and device and electronic equipment
CN113111647A (en) Information processing method and device, terminal and storage medium
US20120023175A1 (en) Method to Change Instant Messaging Status Based on Text Entered During Conversation
WO2022089409A1 (en) File sending method and apparatus, and electronic device
WO2022111394A1 (en) Information processing method and apparatus, and electronic devices
US8413069B2 (en) Method and apparatus for the automatic completion of composite characters
CN112416200A (en) Display method, display device, electronic equipment and readable storage medium
WO2021254251A1 (en) Input display method and apparatus, and electronic device
US20180343563A1 (en) Method and system for using a plurality of accounts in an instant messaging application
CN113311968A (en) Application program correlation method and device
CN113518026A (en) Message processing method and device and electronic equipment
WO2021233282A1 (en) Method and apparatus for displaying message detail page, and electronic device
CN112181253A (en) Information display method and device and electronic equipment
CN111857466B (en) Message display method and device
US20240272779A1 (en) Text Content Selection Method and Apparatus
US20240089223A1 (en) Information display method and apparatus, and electronic 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: 21803282

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

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 02/05/2023)

122 Ep: pct application non-entry in european phase

Ref document number: 21803282

Country of ref document: EP

Kind code of ref document: A1