CN113094143B - Cross-application message sending method and device, electronic equipment and readable storage medium - Google Patents

Cross-application message sending method and device, electronic equipment and readable storage medium Download PDF

Info

Publication number
CN113094143B
CN113094143B CN202110475432.8A CN202110475432A CN113094143B CN 113094143 B CN113094143 B CN 113094143B CN 202110475432 A CN202110475432 A CN 202110475432A CN 113094143 B CN113094143 B CN 113094143B
Authority
CN
China
Prior art keywords
application
message
contact
input
sending
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110475432.8A
Other languages
Chinese (zh)
Other versions
CN113094143A (en
Inventor
田昊宇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Hangzhou Co Ltd
Original Assignee
Vivo Mobile Communication Hangzhou Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Hangzhou Co Ltd filed Critical Vivo Mobile Communication Hangzhou Co Ltd
Priority to CN202110475432.8A priority Critical patent/CN113094143B/en
Publication of CN113094143A publication Critical patent/CN113094143A/en
Application granted granted Critical
Publication of CN113094143B publication Critical patent/CN113094143B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • 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/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • 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/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

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

Abstract

The application discloses a method and a device for transmitting cross-application messages, electronic equipment and a readable storage medium, and belongs to the field of Internet. The cross-application message sending method comprises the following steps: receiving a first input of an edit message in an edit area, wherein the edit area is an area in a window in a first application that dialogues with a first contact; receiving a second input; and responding to the second input, sending the first message to a second contact person in the second application, wherein the first message is the edited message in the editing area, and the second contact person is the contact person corresponding to the first contact person in the second application.

Description

Cross-application message sending method and device, electronic equipment and readable storage medium
Technical Field
The application belongs to the field of Internet, and particularly relates to a cross-application message sending method and device, electronic equipment and a readable storage medium.
Background
With the development of the internet, the number and variety of applications are becoming wider, and a large number of applications with social functions are being contacted in work and life. However, the functional features of different applications are different, and when two parties are engaged in a session chat within one application, the parties may require that some information be sent to the other application. At present, the user usually turns off the current application, opens another application, finds the contact person and starts a new session. This approach requires switching back and forth between different applications, which is inconvenient to operate.
Disclosure of Invention
An object of the embodiments of the present application is to provide a cross-application message sending method, apparatus, electronic device, and readable storage medium, which can solve the problem in the related art that a user is inconvenient to operate when sending a message in different applications.
In a first aspect, an embodiment of the present application provides a cross-application message sending method, where the method includes:
receiving a first input of an edit message in an edit area, wherein the edit area is an area in a window in a first application that dialogues with a first contact;
receiving a second input;
and responding to the second input, sending the first message to a second contact person in the second application, wherein the first message is the edited message in the editing area, and the second contact person is the contact person corresponding to the first contact person in the second application.
In a second aspect, an embodiment of the present application provides a cross-application messaging device, including:
a first receiving unit, configured to receive a first input of editing a message in an editing area, where the editing area is an area in a window in a first application that dialogues with a first contact;
a second receiving unit for receiving a second input;
and the first sending unit is used for responding to the second input and sending the first message to a second contact person in the second application, wherein the first message is the edited message in the editing area, and the second contact person is the contact person corresponding to the first contact person in the second application.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction implementing the steps of the cross-application messaging method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which, when executed by a processor, implement the steps of the cross-application messaging method as described in the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to execute a program or instructions to implement a cross-application messaging method according to the first aspect.
In the embodiment of the application, the first input of the editing message can be received through the editing area which is used for dialogue with the first contact person in the first application, then, the first message edited by the editing area is sent to the second contact person in the second application in response to the second input when the second input is received, and the second contact person is the contact person corresponding to the first contact person in the second application. Therefore, the problem of inconvenient operation of a user when sending the message in different applications in the related technology can be solved, the efficiency of sending the message between the applications can be improved, the operation of the user is simplified, and the user experience is improved by responding to the second input and sending the message to the corresponding contact person of another application.
Drawings
Fig. 1 is a flow chart of a cross-application message sending method provided in an embodiment of the present application;
fig. 2 is an interface schematic diagram one of a cross-application message sending method provided in an embodiment of the present application;
fig. 3 is a second interface schematic diagram of a cross-application message sending method according to an embodiment of the present application;
fig. 4 is an interface schematic diagram III of a cross-application message sending method provided in an embodiment of the present application;
fig. 5 is an interface schematic diagram four of a cross-application message sending method provided in an embodiment of the present application;
fig. 6 is an interface schematic diagram five of a cross-application message sending method provided in an embodiment of the present application;
FIG. 7 is a block diagram of a cross-application messaging device provided by an embodiment of the present application;
FIG. 8 is a block diagram of an electronic device provided by an embodiment of the present application;
fig. 9 is a block diagram of another electronic device provided in an embodiment of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The cross-application message sending method provided by the embodiment of the application is described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
Fig. 1 is a flow chart of a cross-application message sending method provided in an embodiment of the present application, as shown in fig. 1, the method may include the following steps:
step 101, a first input is received to edit a message in an edit area.
Wherein the edit area is an area in a window in the first application that is in conversation with the first contact.
The first application is an application in the electronic device, may be an application carried by a system when leaving a factory, or may be a third party application installed by a user using the electronic device, and the application is not limited thereto. The first application has a social function and can be used for carrying out a conversation with at least one contact (including the first contact in the embodiment of the application) through a conversation window. The conversation window may include an edit area for editing messages, and may further include a message display area for displaying transmitted and received information, as shown in fig. 2 as an exemplary conversation window 201, including an edit area 202 and a message display area 203.
For example, the user may enter the software headpage of the instant chat application by clicking on an instant chat application icon on the desktop of the cell phone, then the user may click on a first contact in the contacts to open a window for a conversation with the first contact, and then click on an editing area to edit the message by way of input provided by the editing area (e.g., keyboard input, handwriting input, voice input, adding files, etc.).
Step 102, a second input is received.
The second input is at least for indicating that the first message is sent with the edit field edited. The first message may be a partial message edited within the editing area. The messages edited within the editing area may include text or multimedia content such as voice, pictures, video, expressions, etc.
In some examples, such as some instant chat-like communication software, a user may select multimedia content (e.g., a picture, video, etc. stored locally on a cell phone) by clicking an icon control for adding a file in an edit area, and after the multimedia content is selected, the edited text content in the edit area may be ignored and the multimedia content may be sent directly, in which case the edited first message includes the selected multimedia content and not the edited text content. Here, the second input may include an operation of selecting and confirming multimedia contents, and the second input indicates to transmit a part of messages in the edited message, such as the selected multimedia contents described above, in addition to the edited message.
In other examples, such as some mailbox-like software, the user may add multimedia content within the edit area, after which the edited text content within the mail is not ignored, but rather the mail including the added multimedia content and the edited text content is sent after the user clicks the control icon for indicating sending the mail, in which case the edited first message includes all of the content within the mail, and the second input may include the user clicking the above-described operation for indicating sending the mail.
Step 103, in response to the second input, sending the first message to a second contact in the second application.
After receiving the second input, the first message is sent to a second contact in the second application, where the first message is an edited message in the editing area, and the second contact is a contact corresponding to the first contact in the second application, where the corresponding contact may be a contact with a preset correspondence relationship, for example, a contact pre-specified by the first contact, or a contact specified by an input received by the current device, or a contact matched according to a preset matching manner, for example, a binding relationship exists between the first contact and the second contact, or a binding phone number/mailbox … … with the same binding relationship, or the like.
It should be noted that, in addition to being sent to the second application, the first message may also be sent to the first contact of the first application, and accordingly, the conversation window with the first contact in the first application and the conversation window with the second contact in the second application may both display the first message, which may be illustrated in the message display area 203 shown in fig. 2. Of course, the first message may not be displayed in the dialog window of the first contact with the first application, and may be set according to circumstances, which is not limited in the embodiment of the present application.
According to the cross-application message sending method, the first input of the editing message can be received through the editing area which is used for dialogue with the first contact person in the first application, then the first message edited by the editing area is sent to the second contact person in the second application in response to the second input under the condition that the second input is received, and the second contact person is the same contact person corresponding to the first contact person in the second application. Therefore, the problem of inconvenient operation of a user when sending the message in different applications in the related technology can be solved, the efficiency of sending the message between the applications can be improved, the operation of the user is simplified, and the user experience is improved by responding to the second input and sending the message to the corresponding contact person of another application.
In step 103, it may be determined that the target application for sending the first message includes a second application according to the second input, and then searching for a second contact corresponding to the first contact in the second application. Alternatively, the second input may specify the second application and the second contact.
Alternatively, in another embodiment, it may be determined that the target application of the first message transmission includes a second application before performing step 103, and further, the second contact corresponding to the first contact is found in the second application.
By determining the target application first and then determining the second contact corresponding to the first contact in the target application, the sending object can be accurately found.
Upon determining that the target application of the first messaging includes the second application, this may be accomplished by a variety of alternative embodiments. An exemplary description is given below.
For example, a target control within an application or globally displayed by the system may be provided, as shown in FIG. 2, the target control may be a hover sphere 204. Within the target control, there are displayed a plurality of applications (including a second application) pre-bound to the first application, for example, after the user clicks the hover ball 204 shown in fig. 2, an interface shown in fig. 4 is displayed, a menu page for selecting a sending application is popped up, the user may select a target application for sending a first message, that is, the second application, among several applications provided by the menu page, the second application is a target application for sending the first message, and the second application may be more than one application.
Further, after selecting the target application, a contact list in the target application may also be provided, with the user specifying that the target contact to which the first message is sent is a second contact. In this way, after receiving a third input selecting a second application in the target control, it may be determined that the target application of the first messaging includes/is sent to a second contact of the second application.
The user actively selects a plurality of applications to send the first message through the target control, so that the user operation can be facilitated, the experience of sending the message by the user is improved, the sending paths of the plurality of applications are integrated through the target control, the efficiency of sending the message by the user is improved, and the user experience is improved.
Further, in an alternative embodiment, the target control may be pop-up displayed under certain conditions, for example, after receiving a second message sent by the second contact through the second application, the target control is popped up.
When it is determined that the second message sent by the second contact through the second application is received, an optional implementation manner may first determine that the source of the second message is one of a plurality of applications that the second application is bound to, and then determine that the second contact is a contact corresponding to the first contact. Then, after determining that the second message sent by the second contact through the second application is received, prompting in the target control whether to send to the second contact in the second application, and if the user selects to send the prompt, receiving a third input by the device, in response to the third input, determining that the target application sent by the first message includes the second application.
For example, the target control may be a hover ball 204 as shown in fig. 2, after receiving the second message, the second message may be prompted by hover ball 204, an exemplary interface schematic for prompting the second message by hover ball 204 is shown in fig. 5, alternatively, hover ball 204 may be hidden at ordinary times, hover ball 204 pops up after receiving the second message, and message box 501 displays the second message. Optionally, through the suspension ball 204, whether to send the edited message to the second application may be further prompted, as shown in fig. 6, a dialog box 601 is prompted, and if the user selects yes, the first message may be sent to the second contact of the second application.
In an alternative example, a user may bind a plurality of applications in advance, where the plurality of applications may include a first application and a second application, and the bound applications may send messages to each other. An alternative implementation of binding multiple applications may be: the user may select several applications to bind through the dialog box 301 of the binding application by entering the corresponding function setting page to perform setting through the setting provided by the mobile phone system, or by clicking the suspension ball 204 as illustrated in fig. 2 to enter the corresponding function setting page to perform setting, as illustrated in fig. 3, which is an exemplary interface schematic of the function setting page. The multiple bound applications can send messages across the applications, and further, when using the first application to talk with the first contact, if a second contact identical to the first contact in another bound application sends a message, the corresponding message can also be displayed in the target control.
In one example, after binding the applications, the send control icon in the edit area may provide options for the applications to send to, or in another example, the hover ball 204 as illustrated in fig. 2 may provide options for other applications to facilitate the user to select other applications, and optionally, the user may select a plurality of second applications, as illustrated in fig. 4 as an optional interface schematic, displaying a dialog 401 for selecting the sent application, and checkpointing the application at v as the second application. After the user selects the second application and confirms the transmission (second input), it may be determined that the target application of the first message transmission includes the second application according to the indication of the second input.
It should be noted that, the second application selected by the user may be a plurality of applications, and optionally, there may be a case where an application is not installed in the device, or a case where a corresponding application is installed, but no second contact corresponding to the first contact is found or is not present, where an alternative embodiment is provided: even if the user selects the second application conforming to the above, the first message is not transmitted to the corresponding second application.
Or, in another example, if a second message sent by the other contact through the second application is received and the contact that matches the sending of the second message is a second contact corresponding to the first contact, it may be determined that the sending object of the first message is a second contact of the second application.
Optionally, the user may set the second message alert by the suspension ball 204, for example, the user may set several ways to alert the second message in combination with vibration, sound effect, top pop-up window, etc.
Optionally, the step of determining that the second message sent by the second contact in the second application is received may further include a sub-step of: and determining a matching preset condition according to the second message. For example, the preset condition is that the semantic meaning of the second message is analyzed, which includes the semantic meaning of the message sent to the second contact, or the preset condition is that the second message includes a pre-specified keyword. Optionally, the user may also preset whether to perform fuzzy matching or accurate matching when the preset condition is matched, where the condition standard of fuzzy matching is lower than the condition standard of accurate matching.
Or in another example, in combination with the content in the chat message with the first contact, it may be further determined that the sending target of the first message is to send to the second application, so as to find the contact corresponding to the first contact in the second application, and send the message.
In particular, the content of the chat message may be determined by analyzing the semantics of the received message that has been sent when chatting with the first contact, for example by word segmentation processing in combination with natural language processing (Natural Language Processing, NLP) methods, analyzing the semantics of the third message. If the semantic meaning of the third message indicates that the composed message is to be sent to the second application or the second contact in the second application, it may be determined that the sending target of the first message is the second contact in the second application. Optionally, after determining that the sending target of the first message is the second contact in the second application, the user may also be prompted whether to send the first message to the second contact in the second application, and an interface schematic may be shown in fig. 6.
For example, after a first contact sends a statement such as "send photo to xx application bar," it can be determined by analyzing keywords "send to", "xx application" in the statement that the next message is sent to another xx application; further, the keyword 'photo' in the sentence can be analyzed, so that the photo is sent to the xx application in the message edited next can be determined, and the message can be sent more accurately.
According to the embodiment, the user does not need to actively select the second application and the second contact person, and under the condition that the second contact person indicating to send to the second application is included in the conversation content of the opposite side (the first contact person), the semantics are intelligently identified for sending, so that the operation of the user can be simplified, and the user experience is improved.
Further, in one example, after determining the second contact to send to the second application in connection with semantics, a prompt may also be provided to the user asking the user whether to send the message to the second contact of the second application, e.g., by popping up a prompt box, or by using a hover ball 204 prompt as shown in FIG. 2, etc., after the user confirms, the message is sent to the second contact of the second application.
In another example, the second contact may be further searched in the second application by identifying a preset identity in the first message, determining that the first message is to be sent to the second application based on the preset identity. Alternatively, the preset identity may directly indicate the second contact sent to the second application. That is, the preset identification may be used to indicate a transmission to the second application, or to a second contact in the second application.
Optionally, when the preset identifier is used for indicating to send to the second application, the contact corresponding to the first contact may be searched in the second application according to the identity information/binding information of the first contact. If the preset identity is used to indicate the second contact sent to the second application, for example, a nickname/ID of the second contact may be included in the preset identity, the second contact may be looked up in the second application directly based on the preset identity.
Since the second application may be a plurality of applications, in this case, the user may simultaneously transmit the first message to a plurality of applications other than the first application. An alternative embodiment is provided herein, which can be in one-to-one correspondence with a plurality of second applications of the transmission target by inserting a plurality of preset identifications.
In particular, in the case where the second application is a plurality of applications, the embodiment of determining that the target application of the first message transmission includes the second application may include: and determining that a plurality of preset identifiers are inserted into the first message, wherein the plurality of preset identifiers are respectively in one-to-one correspondence with the plurality of applications, and determining message fragments corresponding to each second application in the first message according to the insertion position of each preset identifier. Thus, when the first message is sent to the second contacts in the second applications, the message segment corresponding to each second application in the first message can be respectively sent to the second contacts corresponding to the first contacts in each second application.
For example, by inserting a "#xx" logo in the text, it is indicated that the text content between the previous logo and the appearance of the logo is sent to the xx application. The identification of multiple applications connected by the "and" identification indicates that multiple applications are sent simultaneously.
Illustratively, within a text edit box within the edit field, a segment of text may be edited: "text content #xx of first message segment #yy and #zz of second message segment," the text is used for indicating that the text of the first message segment is sent to xx application, and the text of the second message segment is sent to yy application and zz application.
In each second application, there may or may not be a contact (second contact) corresponding to the first contact. And if the second applications exist and the contacts corresponding to the first contacts exist, sending the message fragments corresponding to each second application to the second contacts corresponding to the first contacts in each second application. Otherwise, if there is no corresponding second application or no corresponding second contact exists in a certain second application, the message segment corresponding to the second application is not sent to the corresponding second application, and an alternative implementation is that the message segment is directly sent to the current first contact.
Through identifying the preset identifier input by the user, the sending object of the message can be determined, so that the corresponding message fragments can be conveniently and rapidly sent to the object corresponding to the preset identifier, the operation that the user switches among a plurality of applications to send is avoided, the efficiency of the user for sending the message across the applications is improved, and the user experience is improved.
It should be noted that, in the cross-application message sending method provided in the embodiment of the present application, the execution body may be a cross-application message sending device, or a control module in the cross-application message sending device for executing the cross-application message sending method. In the embodiment of the application, a cross-application message sending method is executed by a cross-application message sending device as an example, and the cross-application message sending device provided in the embodiment of the application is described.
The cross-application message sending device provided by the embodiment of the application is described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings. The content, which is not described in detail in the cross-application message sending device provided in the embodiment of the present application, may refer to the cross-application message sending method provided in the embodiment of the present application, and is not described herein again.
The block diagram of an optional cross-application message sending device provided in the embodiment of the present application is shown in fig. 7, and includes a first receiving unit 701, a second receiving unit 702, and a first sending unit 703.
The first receiving unit 701 is configured to receive a first input of editing a message in an editing area, where the editing area is an area in a window in a first application that dialogues with a first contact;
a second receiving unit 702 for receiving a second input;
the first sending unit 703 is configured to send a first message to a second contact in the second application in response to the second input, where the first message is an edited message in the editing area, and the second contact is a contact corresponding to the first contact in the second application.
Optionally, the apparatus may further include:
a first determining unit, configured to determine that the target application for sending the first message includes a second application;
the first searching unit is used for searching the second contact corresponding to the first contact in the second application.
Alternatively, the first determining unit may include:
the third receiving unit is used for receiving a third input for selecting a second application in the target control, wherein a plurality of applications pre-bound with the first application are displayed in the target control, and the plurality of applications comprise the second application;
and a second determining unit configured to determine, in response to the third input, that the target application to which the first message is sent includes the second application.
Optionally, the apparatus may further include:
a fourth receiving unit, configured to receive a second message sent by a second contact in the second application before receiving a third input for selecting the second application in the target control;
and the display unit is used for displaying the target control.
Alternatively, the display unit may include: the prompting unit is used for prompting whether to send the second contact person in the second application or not in the target control under the condition that the second application is the application pre-bound with the first application and the second contact person is the contact person corresponding to the first contact person;
accordingly, the third receiving unit may be further configured to receive a second input selecting a second contact to send to the second application in the target control.
Alternatively, the first determining unit may include:
an obtaining unit, configured to obtain a third message, where the third message includes a chat message in a window that dialogues with the first contact;
and the third determining unit is used for determining that the sending target of the first message is a second contact person in the second application according to the content of the third message.
Alternatively, the first determining unit may include:
a fourth determining unit, configured to determine that a preset identifier is inserted into the first message;
And a fifth determining unit, configured to determine, based on the preset identifier, that the sending target of the first message is the second application.
Alternatively, the second application may be a plurality of applications, and in this case, the first determining unit may include:
a sixth determining unit, configured to determine, in response to the second input, that a plurality of preset identifiers are inserted into the first message, where the plurality of preset identifiers are in one-to-one correspondence with the plurality of applications;
a seventh determining unit, configured to determine, in the first message, a message segment corresponding to each second application according to an insertion position of each preset identifier;
thus, the first transmitting unit 703 includes: and the second sending unit is used for respectively sending the message fragments corresponding to each second application in the first message to the second contact corresponding to the first contact in each second application.
According to the cross-application message sending device, the first input of the editing message can be received through the editing area which is used for dialogue with the first contact person in the first application, then the first message edited by the editing area is sent to the second contact person in the second application in response to the second input under the condition that the second input is received, and the second contact person is the same contact person corresponding to the first contact person in the second application. Therefore, the problem of inconvenient operation of a user when sending the message in different applications in the related technology can be solved, the efficiency of sending the message between the applications can be improved, the operation of the user is simplified, and the user experience is improved by responding to the second input and sending the message to the corresponding contact person of another application.
The cross-application message sending device in the embodiment of the application may be a device, or may be a component, an integrated circuit, or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a cell phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, wearable device, ultra-mobile personal computer (ultra-mobile personal computer, UMPC), netbook or personal digital assistant (personal digital assistant, PDA), etc., and the non-mobile electronic device may be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
The cross-application messaging device in the embodiments of the present application may be a device having 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 embodiments of the present application.
The cross-application message sending device provided in the embodiment of the present application can implement each process implemented by the embodiments of the methods of fig. 1 to 6, and in order to avoid repetition, a description is omitted here.
Optionally, as shown in fig. 8, the embodiment of the present application further provides an electronic device 900, including a processor 901, a memory 902, and a program or an instruction stored in the memory 902 and capable of running on the processor 901, where the program or the instruction implements each process of the above-mentioned cross-application message sending method embodiment when executed by the processor 901, and the process can achieve the same technical effect, and for avoiding repetition, a description is omitted herein.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 9 is a schematic hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1000 includes, but is not limited to: radio frequency unit 1001, network module 1002, audio output unit 1003, input unit 1004, sensor 1005, display unit 1006, user input unit 1007, interface unit 1008, memory 1009, and processor 1010.
Those skilled in the art will appreciate that the electronic device 1000 may also include a power source (e.g., a battery) for powering the various components, which may be logically connected to the processor 1010 by a power management system to perform functions such as managing charge, discharge, and power consumption by the power management system. The electronic device structure shown in fig. 9 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
Wherein the user input unit 1007 receives a first input of editing a message in an editing region, wherein the editing region is a region in a window in the first application that dialogues with the first contact; receiving a second input;
the network module 1002 is configured to send a first message to a second contact in a second application in response to a second input, where the first message is an edited message in an editing area, and the second contact is a contact in the second application corresponding to the first contact.
Optionally, the processor 1010 may further determine that the target application to which the first message is sent includes the second application before sending the first message to the second contact in the second application; and searching a second contact corresponding to the first contact in a second application.
Specifically, the user input unit 1007 may further receive a third input selecting the second application in the target control, wherein the target control has displayed therein a plurality of applications pre-bound with the first application, the plurality of applications including the second application; next, the processor 1010 may determine, in response to the third input, that the target application of the first messaging includes the second application.
Illustratively, the user input unit 1007 may also receive a second message sent by a second contact in the second application prior to receiving a third input selecting the second application in the target control; next, the display unit 1006 may display the target control.
In an optional implementation manner, the display unit 1006 may further prompt, in the target control, whether to send the prompt to the second contact in the second application, where the second application is determined to be an application that is pre-bound to the first application, and the second contact is a contact corresponding to the first contact; the user input unit 1007 may also receive a third input in the target control selecting a second contact to send to the second application.
Optionally, the processor 1010 may also obtain a third message, wherein the third message includes a chat message in a window of the conversation with the first contact; and determining that the sending target of the first message is a second contact person in the second application according to the content of the third message.
In one example, the processor 1010 may also determine that a preset identifier is inserted in the first message; and determining that the sending target of the first message is the second application based on the preset identification.
In another example, the second application may be a plurality of applications, such that the processor 1010 may further determine to insert a plurality of preset identifiers in the first message, where the plurality of preset identifiers respectively correspond to the plurality of applications one to one; determining a message segment corresponding to each second application in the first message according to the insertion position of each preset identifier; thus, the message segments corresponding to each second application in the first message are sent to the second contacts corresponding to the first contacts in each second application through the network module 1002.
The electronic device of the embodiment of the application may receive a first input of an editing message through an editing area in a first application, which is in dialogue with a first contact, and then, in case of receiving a second input, send the first message edited by the editing area to a second contact in a second application, which is the same contact corresponding to the first contact in the second application, in response to the second input. Therefore, the problem of inconvenient operation of a user when sending the message in different applications in the related technology can be solved, the efficiency of sending the message between the applications can be improved, the operation of the user is simplified, and the user experience is improved by responding to the second input and sending the message to the corresponding contact person of another application.
It should be appreciated that in embodiments of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing mode. The display unit 1006 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1007 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein. Memory 1009 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 1010 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 1010.
The embodiment of the application further provides a readable storage medium, where a program or an instruction is stored on the readable storage medium, and when the program or the instruction is executed by a processor, the processes of the above-mentioned cross-application message sending method embodiment are implemented, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium such as a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk or an optical disk, and the like.
The embodiment of the application further provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and the processor is configured to run a program or an instruction, implement each process of the above cross-application message sending method embodiment, and achieve the same technical effect, so that repetition is avoided, and no further description is given here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the methods described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (9)

1. A method for cross-application messaging, the method comprising:
receiving a first input of editing a message in an editing area, wherein the editing area is an area in a window for dialogue with a first contact in a first application;
receiving a second input;
responding to the second input, sending a first message to a second contact in a second application, wherein the first message is an edited message in the editing area, and the second contact is a contact corresponding to the first contact in the second application;
wherein before the first message is sent to the second contact in the second application, the method further comprises:
determining that the target application of the first message transmission comprises the second application;
searching the second contact corresponding to the first contact in the second application;
wherein the determining that the target application for sending the first message includes the second application includes:
obtaining a third message, wherein the third message comprises a chat message in a window of a conversation with the first contact;
in the case that the semantic meaning of the third message includes an instruction to send the edited message to a second application or a second contact in the second application, determining that the sending target of the first message is the second contact in the second application according to the content of the third message.
2. The method of claim 1, wherein the determining the target application for the first message transmission comprises the second application, comprising:
receiving a third input for selecting the second application in a target control, wherein a plurality of applications pre-bound with the first application are displayed in the target control, and the plurality of applications comprise the second application;
in response to the third input, it is determined that the target application of the first messaging includes the second application.
3. The method of claim 2, wherein the receiving a third input prior to selecting the second application in the target control further comprises:
receiving a second message sent by the second contact in the second application;
and displaying the target control.
4. The method of claim 3, wherein the displaying the target control comprises:
prompting whether to send to the second contact in the second application in the target control if the second application is determined to be an application pre-bound to the first application and the second contact is a contact corresponding to the first contact;
The receiving a third input selecting the second application in the target control, comprising:
the third input is received that selects the second contact in the second application to send to in the target control.
5. The method of claim 1, wherein the determining the target application for the first message transmission comprises the second application, comprising:
determining that a preset identifier is inserted into the first message; and determining that the sending target of the first message is the second application based on the preset identification.
6. The method of claim 1, wherein the second application is a plurality of applications, wherein the determining the target application for the first messaging comprises the second application, comprising:
determining that a plurality of preset identifiers are inserted into the first message, wherein the plurality of preset identifiers are respectively in one-to-one correspondence with the plurality of applications;
determining message fragments corresponding to each second application in the first message according to the insertion position of each preset identifier;
the sending the first message to a second contact in a second application includes:
and respectively sending the message fragments corresponding to each second application in the first message to the second contact corresponding to the first contact in each second application.
7. A cross-application messaging apparatus, the apparatus comprising:
a first receiving unit, configured to receive a first input of editing a message in an editing area, where the editing area is an area in a window in a first application that dialogues with a first contact;
a second receiving unit for receiving a second input;
a first sending unit, configured to send a first message to a second contact in a second application in response to the second input, where the first message is an edited message in the editing area, and the second contact is a contact corresponding to the first contact in the second application;
wherein the apparatus further comprises:
a first determining unit, configured to determine that the target application for sending the first message includes the second application;
the first searching unit is used for searching the second contact corresponding to the first contact in the second application;
an obtaining unit, configured to obtain a third message, where the third message includes a chat message in a window that dialogues with the first contact;
a third determining unit, configured to determine, according to the content of the third message, that the sending target of the first message is the second contact person in the second application, in a case where the semantic of the third message includes an instruction to send the edited message to the second application or the second contact person in the second application.
8. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, which when executed by the processor, implements the steps of the cross-application messaging method of any of claims 1-6.
9. A readable storage medium, wherein a program or instructions is stored on the readable storage medium, which when executed by a processor, implements the steps of the cross-application messaging method of any of claims 1-6.
CN202110475432.8A 2021-04-29 2021-04-29 Cross-application message sending method and device, electronic equipment and readable storage medium Active CN113094143B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110475432.8A CN113094143B (en) 2021-04-29 2021-04-29 Cross-application message sending method and device, electronic equipment and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110475432.8A CN113094143B (en) 2021-04-29 2021-04-29 Cross-application message sending method and device, electronic equipment and readable storage medium

Publications (2)

Publication Number Publication Date
CN113094143A CN113094143A (en) 2021-07-09
CN113094143B true CN113094143B (en) 2023-07-25

Family

ID=76680720

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110475432.8A Active CN113094143B (en) 2021-04-29 2021-04-29 Cross-application message sending method and device, electronic equipment and readable storage medium

Country Status (1)

Country Link
CN (1) CN113094143B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113885746A (en) * 2021-09-16 2022-01-04 维沃移动通信有限公司 Message sending method and device and electronic equipment
CN114020197B (en) * 2021-09-30 2022-11-22 荣耀终端有限公司 Cross-application message processing method, electronic device and readable storage medium
CN114422461A (en) * 2022-01-04 2022-04-29 维沃移动通信有限公司 Message reference method and device
CN114416267A (en) * 2022-01-26 2022-04-29 维沃移动通信有限公司 Information processing method and device and electronic equipment

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020020126A1 (en) * 2018-07-26 2020-01-30 维沃移动通信有限公司 Information processing method and terminal
CN111913629A (en) * 2020-06-29 2020-11-10 维沃移动通信有限公司 Information sending method and device and electronic equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102592210B (en) * 2011-12-21 2015-09-09 华为终端有限公司 Method, device and terminal device that information is pointed out
KR101942308B1 (en) * 2012-08-08 2019-01-25 삼성전자주식회사 Method for providing message function and an electronic device thereof
CN103973545B (en) * 2014-04-22 2015-09-23 腾讯科技(深圳)有限公司 The processing method of instant message, Apparatus and system
CN112311654A (en) * 2019-07-29 2021-02-02 腾讯科技(深圳)有限公司 Instant messaging message processing method, device, medium and electronic equipment
CN110752980B (en) * 2019-09-27 2022-04-19 维沃移动通信有限公司 Message sending method and electronic equipment
CN111447324B (en) * 2020-03-23 2022-02-25 维沃移动通信有限公司 Message display method and electronic equipment

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020020126A1 (en) * 2018-07-26 2020-01-30 维沃移动通信有限公司 Information processing method and terminal
CN111913629A (en) * 2020-06-29 2020-11-10 维沃移动通信有限公司 Information sending method and device and electronic equipment

Also Published As

Publication number Publication date
CN113094143A (en) 2021-07-09

Similar Documents

Publication Publication Date Title
CN113094143B (en) Cross-application message sending method and device, electronic equipment and readable storage medium
CN111884908B (en) Contact person identification display method and device and electronic equipment
WO2022161431A1 (en) Display method, apparatus, and electronic device
CN113285866B (en) Information sending method and device and electronic equipment
CN111859119A (en) Information processing method and device
CN113392178A (en) Message reminding method, related device, equipment and storage medium
CN111859900A (en) Message display method and device and electronic equipment
US20240089223A1 (en) Information display method and apparatus, and electronic device
US20150052211A1 (en) Message based conversation function execution method and electronic device supporting the same
CN113965614A (en) Session creation method and device and electronic equipment
CN112422735B (en) Information prompting method and device
CN113885746A (en) Message sending method and device and electronic equipment
CN112181351A (en) Voice input method and device and electronic equipment
WO2023046105A1 (en) Message sending method and apparatus and electronic device
CN114124874B (en) Chat information sending method and device
CN114221923B (en) Message processing method and device and electronic equipment
CN114374663B (en) Message processing method and message processing device
CN112383666B (en) Content sending method and device and electronic equipment
CN113138702B (en) Information processing method, device, electronic equipment and storage medium
CN113157966B (en) Display method and device and electronic equipment
CN113839789A (en) Information sending method and device
CN112818094A (en) Chat content processing method and device and electronic equipment
CN114401240B (en) Message processing method and device
CN112035032B (en) Expression adding method and device
CN116319656B (en) Mail group chat user invitation method, device, equipment and computer readable medium

Legal Events

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