CN115695355A - Data sharing method and device, electronic equipment and medium - Google Patents

Data sharing method and device, electronic equipment and medium Download PDF

Info

Publication number
CN115695355A
CN115695355A CN202211344048.5A CN202211344048A CN115695355A CN 115695355 A CN115695355 A CN 115695355A CN 202211344048 A CN202211344048 A CN 202211344048A CN 115695355 A CN115695355 A CN 115695355A
Authority
CN
China
Prior art keywords
contact
input
chat interface
chat
target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211344048.5A
Other languages
Chinese (zh)
Inventor
王振拯
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202211344048.5A priority Critical patent/CN115695355A/en
Publication of CN115695355A publication Critical patent/CN115695355A/en
Pending legal-status Critical Current

Links

Images

Abstract

The application discloses a data sharing method, a data sharing device, electronic equipment and a medium, and belongs to the technical field of internet. The data sharing method comprises the following steps: the method comprises the steps that first equipment receives first input under the condition that a chat interface is displayed, wherein the chat interface is formed by a first contact and at least one second contact, and the first contact is associated with the first equipment; displaying at least one third contact identification in response to the first input; receiving a second input selecting a first target contact identifier from at least one third contact identifier; and responding to the second input, sending a chat interface to the second equipment associated with the first target contact identification so as to enable the second equipment associated with the first target contact identification to display the chat interface, wherein the chat interface is used for displaying the first chat information between the first contact and at least one second contact in real time.

Description

Data sharing method and device, electronic equipment and medium
Technical Field
The application belongs to the technical field of internet, and particularly relates to a data sharing method and device, electronic equipment and a medium.
Background
With the rapid development of communication technology, electronic devices are more and more widely used. For example, through a chat application of the electronic device, the user can conveniently communicate with other users, and social convenience is provided for the user. However, when a user uses the chat application to chat, if the user wants to share the chat content with other users, the user needs to select the content to be shared in sequence and then find the target user identifier, and then the content to be shared can be shared with the target user, so that the sharing is completed in the chat application, and the whole process is complex in operation and poor in real-time performance.
Disclosure of Invention
An embodiment of the present application aims to provide a data sharing method, an apparatus, an electronic device, and a medium, which enable a sharing process of chat content to be simple in operation and high in real-time.
In a first aspect, an embodiment of the present application provides a data sharing method, where the method includes:
the method comprises the steps that first input is received by first equipment under the condition that a chat interface is displayed, wherein the chat interface is the chat interface of a first contact and at least one second contact, and the first contact is associated with the first equipment;
displaying at least one third contact identification in response to the first input;
receiving a second input selecting a first target contact identifier from at least one third contact identifier;
and responding to the second input, sending a chat interface to the second equipment associated with the first target contact identification so as to enable the second equipment associated with the first target contact identification to display the chat interface, wherein the chat interface is used for displaying the first chat information between the first contact and at least one second contact in real time.
In a second aspect, an embodiment of the present application provides a data sharing apparatus, where the apparatus includes:
the receiving module is used for receiving a first input under the condition that the first chat interface is displayed;
a display module for displaying at least one first contact identification in response to a first input;
the receiving module is used for receiving a first input when the first equipment displays a chat interface, wherein the chat interface is a chat interface of a first contact and at least one second contact, and the first contact is associated with the first equipment;
a display module for displaying at least one third contact identifier in response to the first input;
the receiving module is further used for receiving second input for selecting the first target contact identification from at least one third contact identification;
and the sending module is used for responding to the second input and sending a chat interface to the second equipment associated with the first target contact identification so as to enable the second equipment associated with the first target contact identification to display the chat interface, and the chat interface is used for displaying the first chat information between the first contact and at least one second contact in real time.
In a third aspect, embodiments of the present application provide an electronic device, which includes a processor and a memory, where the memory stores a program or instructions executable on the processor, and the program or instructions, when executed by the processor, implement the steps of the method according to the first aspect.
In a fourth aspect, embodiments of the present application provide a readable storage medium on which a program or instructions are stored, which when executed by a processor, implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide 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 the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product, stored on a storage medium, for execution by at least one processor to implement a method as in the first aspect.
According to the embodiment of the application, when the first device displays the chat interface, the user can enable the first device associated with the first contact to display at least one third contact identifier by performing first input on the chat interface, so that the user can conveniently select the first target contact. After the user selects the first target contact identifier from the at least one third contact identifier through the second input, the first device can directly send a chat interface to the second device associated with the first target contact, and the chat interface received by the second device can display the first chat information between the first contact and the at least one second contact in real time, so that the first target contact can conveniently know the chat content in real time.
Drawings
Fig. 1 is a schematic flowchart of a data sharing method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of a first chat interface provided in an embodiment of the present application;
FIG. 3 is a schematic diagram illustrating sharing of a chat interface according to an embodiment of the present application;
FIG. 4 is a schematic diagram of an application identifier display provided by an embodiment of the present application;
FIG. 5 is a schematic view of a first window provided by an embodiment of the present application;
FIG. 6 is a diagram illustrating an editing operation provided by an embodiment of the present application;
fig. 7 is a schematic diagram illustrating a first device displaying a first target contact according to an embodiment of the present application;
fig. 8 is a schematic diagram of generating a contact group identifier according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a video shooting device according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
fig. 11 is a schematic hardware structure diagram of another electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments that can be derived by one of ordinary skill in the art from the embodiments given herein are intended to be within the scope of the present disclosure.
The terms first, second and the like in the description and in the claims of the present application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that embodiments of the application may be practiced in sequences other than those illustrated or described herein, and that the terms "first," "second," and the like are generally used herein in a generic sense and do not limit the number of terms, e.g., the first term can be one or more than one. In addition, "and/or" in the specification and claims means at least one of connected objects, a character "/" generally means that a preceding and succeeding related objects are in an "or" relationship.
With the rapid development of communication technology, electronic devices are more and more widely used. For example, through a chat application of the electronic device, the user can conveniently communicate with other users, and social convenience is provided for the user. However, when a user uses the chat application to chat, if the user wants to share the chat content with other users, the user needs to select the content to be shared in sequence and then find the target object to share the content in the chat application, and the whole process is complex in operation and poor in real-time performance.
In view of the above problems, embodiments of the present application provide a data sharing method, apparatus, electronic device, and medium, which enable the sharing process of chat content to be simple and have high real-time performance. The embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
Fig. 1 is a schematic flowchart of a data sharing method according to an embodiment of the present application, and referring to fig. 1, the data sharing method may include steps 110 to 140.
In step 110, the first device receives a first input while displaying the chat interface.
The chat interface is a chat interface of a first contact and at least one second contact, the first contact is associated with the first device, and the chat interface is associated with the first contact.
Specifically, the first contact is a user in a chat using a first device, for example, in a chat interface between the first contact and at least one second contact, the display content may include information sent by the first contact using the first device, and the display content may also include information received by the first device and sent by another device. Illustratively, the first device associated with the first contact is device a, the other devices are devices B, and information sent by the devices a and B can be displayed in the chat interface. The chat interface may also be a chat interface where a first contact chats with a plurality of second contacts. That is, the chat interface is a group chat interface. Information sent by the first device and the plurality of other electronic devices may be included in the display content of the group chat interface.
The number of information in the display content of the chat interface may include one or more. The information type may be words, pictures, emoticons, audio, video, files, etc., and is not particularly limited thereto.
As a specific example, an information display area and an information editing area may be included in the chat interface. Taking the text information as an example, in the information editing area, a user can input the text to be sent in the information editing area, after the text editing is finished, the text can be sent out through the electronic equipment, and the text is displayed on the chat interface. The information editing area can also comprise a preset control, and corresponding functions can be executed through the preset control. For example, through a picture control, pictures and videos stored in the electronic device can be selected as information to be sent; and selecting the file stored in the electronic equipment as the information to be sent through the file control. After the information is sent out, the information can be displayed on the chat interface.
In an embodiment of the present application, the first input may be an input that controls the first device to display a contact selection window.
A plurality of third contact identifications may be included in the contact selection window. Wherein each third contact identifies the associated third contact as being a contact related to the first contact. Specifically, taking the chat interface as an example of a chat interface for a first contact to chat by using a first application program in the first device, the third contact is a contact related to the first contact in the first application program. For example, the third contact and the first contact are in a friend relationship with each other; for another example, the third contact is a contact who has performed a temporary session with the first contact, where the temporary session between the third contact and the first contact is, for example, a session in which the first contact has sent a friend addition request to the third contact when the third contact and the first contact have not established a friend relationship with the first contact.
At least one third contact identification is displayed in response to the first input, step 120.
For example, a keyword for opening the contact selection window may be preset. The first input may be that the user inputs a keyword in the information editing region, and after the user inputs the keyword in the information editing region, a contact selection window is displayed in the chat interface, and at least one third contact identifier may be displayed in the contact selection window. Fig. 2 is a schematic diagram of a chat interface provided in an embodiment of the present application, where displayed content in the chat interface 201 includes chat information of a first contact 202 and a second contact 203.
In yet another example, the first input may also be a touch gesture input. The touch gesture may be a click gesture, a long-press gesture, a double-click gesture, a sliding gesture, or the like for any position or a designated position in the display screen, and the user may preset according to a use requirement, which is not specifically limited herein. After the user inputs a touch gesture to the first device, a contact person selection window pops up on a chat interface of the first device, and at least one third contact person identifier can be displayed in the contact person selection window. Where the third contact identification may be an avatar, a nickname, or the like.
Continuing with FIG. 2, chat information for a first contact 202 and a second contact 203 is included in a chat interface 201. In the contact selection window, a third contact identification for a plurality of third contacts, such as "contact a", "contact B", "contact C", and "contact D" shown in fig. 2, may be included.
Step 130, receiving a second input selecting the first target contact identifier from the at least one third contact identifier.
In particular, the second input is an input for selecting a third contact identification. The second input may specifically be a preset touch gesture input. The touch gesture may be a click gesture, a long-press gesture, a double-click gesture, a sliding gesture, or the like for any position or a designated position in the display screen, and the user may preset according to a use requirement, which is not specifically limited herein.
The user may select the first target contact identification from the display of the at least one third contact identification by making a second input to the first device. For example, as shown in fig. 2, selecting "contact C" as the first target contact identifier, where the second input may be a long-press and sliding gesture input, and dragging "contact C" to a display area of the chat content by long-pressing "contact C" to select "contact C" as the first target contact identifier.
After selecting the first target contact identification, the electronic device may perform step 140.
Step 140, in response to the second input, sending a chat interface to the second device associated with the first target contact identifier, so that the second device associated with the first target contact identifier displays the chat interface.
The chat interface is used for displaying first chat information between the first contact and at least one second contact in real time.
In some embodiments, the number of the first target contacts may be one or more. When a plurality of target contacts exist, the chat interface can be respectively sent to the second device associated with each first target contact identification. The second device with which the first target contact identification is associated is the electronic device used by the first target contact.
Illustratively, fig. 3 is a schematic diagram for providing chat interface sharing according to an embodiment of the present application. As shown in fig. 3, after the associated second device of the first target contact receives the chat interface, the first target contact may view the chat information of the first contact 202 and the second contact 203 in the second device in real time. That is, when new chat information is generated between the first contact 202 and the second contact 203, the newly generated chat information may be shared to the second device in real time and may be displayed in a chat interface received by the second device.
According to the embodiment of the application, when the first device displays the chat interface, the user can enable the first device associated with the first contact to display at least one third contact identifier by performing first input on the chat interface, so that the user can conveniently select the first target contact. After the user selects the first target contact identifier from the at least one third contact identifier through the second input, the first device can directly send a chat interface to the second device associated with the first target contact, and the chat interface received by the second device can display the first chat information between the first contact and the at least one second contact in real time, so that the first target contact can conveniently know the chat content in real time.
In some embodiments, the chat interface may be a chat interface corresponding to the first application; specifically, prior to displaying at least one third contact identifier, embodiments of the present application may include steps 201 through 204.
Step 201, under the condition that the chat interface receives a third input, displaying at least one application identifier in the first preset area, wherein each application identifier is associated with a second application program.
Step 202, a fourth input of selecting a target application identifier from the at least one application identifier is received.
Step 203, responding to the fourth input, and acquiring at least one second contact in the target application program corresponding to the target application identification.
And step 204, taking the virtual contact identification corresponding to each second contact as a third contact identification.
Alternatively, the third input may be an input for displaying an application identification, and may be an input to a chat interface. The fourth input may be an input for selecting the target application.
For example, after the first device associated with the first contact receives the third input, the first device may display an application identifier selection window in a first preset area of the display screen. At least one application identifier may be displayed in the application identifier selection window. Wherein each application identification is associated with a second application program. The application identification may be an icon, text, etc.
In one example, the third input may specifically be an input to a call control of the second application. Under the condition that the chat interface comprises an information editing area, a calling control of a second application program can be displayed in the information editing, a user carries out third input on the calling control of the second application program, the first device responds to the third input to display an application identifier selection window in a first preset area of the display screen, and an application identifier is displayed in the application identifier selection window. In another example, the third input may also be an input to start a split screen mode, and the first device starts the split screen mode in response to the third input, in the split screen mode, a first preset area of the display screen displays the application identifier selection window, and a second preset area of the display screen displays the chat interface.
Fig. 4 is a schematic diagram for displaying an application identifier according to an embodiment of the present application, and as shown in fig. 4, an application identifier selection window may include an application identifier. And after the application identifications are displayed, selecting a target application identification from the application identifications through a fourth input. As shown in fig. 4, the user may select APP6 as the target application identifier.
In some embodiments, after determining the target application identifier, the first application needs to obtain a second contact in the target application corresponding to the target application identifier. Specifically, the first application may request the target application for accessing the contact list, and after the target application agrees with the authorization, the first application may access the contact list of the target application, so that the first application may obtain the second contact in the target application corresponding to the target application identifier.
Wherein the contact list of the target application may include at least one second contact. The first application may generate a virtual contact identification for each second contact of the target application after accessing the contact list in the target application. Illustratively, in relation to step 120 above, the virtual contact identification is displayed as a third contact identification in the first device.
When a contact in the target application program is used as the first target contact, as shown in fig. 3, the first target contact may receive the chat interfaces of the first contact 202 and the second contact 203 at the second device associated therewith in real time, and view the chat information of the chat messages of the first contact 202 and the second contact 203 in the chat interfaces of the first contact 202 and the second contact 203. That is, when new chat information is generated between the first contact 202 and the second contact 203, the newly generated chat information can be shared in real time to the chat interface received by the first target contact.
According to the embodiment of the application, under the condition that the chat interface is displayed, the user can access the contacts in other application programs, so that the chat content between the cross application programs can be quickly shared.
As a specific example, after the first device sends a chat interface to the second device associated with the first target contact, the first target contact may receive a sharing notification through the second device. Alternatively, the first target contact may open the chat interface by clicking on the share notification. When the second device is displayed on the shared chat interface, the chat interface may also include an information editing area, and the first target contact may edit the chat information to be sent in the information editing area. After the chat information is edited, the first target contact person can send the chat information to the first device through the second device.
In some embodiments, after the first device sends the chat interface to the second device associated with the first target contact identification, the method further comprises: under the condition of receiving second chat information sent by second equipment, displaying a first window in a chat interface of the first equipment, wherein the first window is used for displaying the second chat information; receiving a fifth input of second chat information; in response to the fifth input, the first target contact identification and the second chat information are displayed in a chat interface of the first device.
For example, fig. 5 is a schematic diagram of a first window provided in an embodiment of the present application. As shown in connection with fig. 5 (a), the first target contact 502 may send second chat information to the first device using the second device associated therewith. After the first device receives the second chat information, the first device may display a first window 501 in the chat interface 201 of the first contact 202 and the second contact 203, wherein the second chat information sent by the second device may be displayed in the first window 501.
Optionally, the fifth input is an input for sending the second chat information. Illustratively, after the user sees the second chat information in the chat interface of the first device, the second chat information can be sent to the chat interface between the first contact 202 and the second contact 203 by making a fifth input to the second chat information. Specifically, the first target contact identification and the second chat information may be displayed in a chat interface of the first contact 202 and the second contact 203. As shown in fig. 5 (b), after receiving the fifth input for the second chat message, the chat interface between the first contact 202 and the second contact 203 may display the first target contact identifier 502 and the second chat message "do it need advance reservation".
Optionally, after receiving a fifth input of the second chat information, the second chat information is displayed in the chat interface of the first device in a manner that the first target contact is identified as the sender, so that the participation degree of the first target contact can be improved.
According to the embodiment of the application, the target contact can directly participate in the chat, and the convenience of multi-person chat is improved.
In some embodiments, the fifth input of the second chat information displayed in the first device by the user may specifically further include an editing input of the second chat information. For example, fig. 6 is a schematic diagram of an editing operation provided in an embodiment of the present application, and a control for selecting the second chat information, for example, a "reference" control 601, may be included in the first window 501. The editing operation may include selecting the second chat message, and after the second chat message is selected, the message editing area may display the second chat message. For example, in the information editing area, the user may add, delete, modify, etc. the second chat information, and is not limited in particular here. After the second chat message is edited, the edited second chat message can be obtained. Correspondingly, the edited second chat information and the first target contact identification are sent to the first chat interface.
According to the embodiment of the application, the target information sent by the target contact can be edited, so that the convenience of multi-person chatting can be improved.
In some embodiments, after the first device sends the chat interface to the second device, the first target contact identifier may be displayed in a second preset area of the chat interface of the first device. Fig. 7 is a schematic diagram of a first device displaying a first target contact according to an embodiment of the present application, and with reference to fig. 7, a second preset area 710 of a first interface may display a first target contact identifier, and fig. 7 shows that when a plurality of first target contact identifiers exist, the second preset area 710 displays a first target contact identifier 701, a first target contact identifier 702, and a first target contact identifier 703.
According to the embodiment of the application, after the target contact person associated with the target contact person identifier shares the first chat interface, the first target contact person identifier is displayed in the second preset area in the chat interface through the first device, so that the user can be reminded of the sharing state and the sharing object of the current chat interface. Optionally, in the sharing state of the chat interface of the first device, the user may also choose not to display the target contact identifier, so as to meet the privacy requirement of the user.
In some embodiments, after the first device sends the chat interface to the second device, the first device may further perform the following steps: receiving a sixth input of the first target contact identification under the condition that the second preset area of the chat interface of the first device displays the first target contact identification; in response to a sixth input, pausing the sending of the chat interface to the second device.
Specifically, the sixth input is an input to control the first device to suspend sending the chat interface to the second device. When the number of the first target contact person identifications is multiple, the user using the first device can perform sixth input on one first target contact person identification, and the user using the first device can also perform sixth input on the multiple first target contact person identifications respectively, so that the first device is controlled to pause sending of the chat interface to the second device which receives the sixth input and is associated with the first target contact person identifications.
For example, the sixth input may include a combination input of a long press and drag by the user on the first target contact identifier, for example, the long press and drag by the user on the first target contact identifier in a preset direction, so as to pause sending the chat interface to the second device associated with the first target contact identifier. For another example, the sixth input may also include an input to a control identified by the first target contact. Control controls such as pause controls, etc. And the user clicks and inputs the cross control or the pause control, so that the first equipment is controlled to pause sending the chat interface to the second equipment associated with the first target contact identification. The specific input form of the sixth input may be specifically set as required, and is not listed here.
According to the embodiment of the application, the user using the first equipment can control the first equipment to suspend the chat interface sharing to the target contact at any time, and the convenience of information sharing is improved.
In some embodiments, the first target contact identification is multiple, and prior to receiving the sixth input for the first target contact identification, the method further comprises: receiving a seventh input selecting at least one second target contact identification from the plurality of first target contact identifications; and generating a contact group identification in response to the seventh input, wherein the contact group identification comprises at least one second target contact identification.
Correspondingly, receiving a sixth input of the first target contact identifier may specifically include: receiving a sixth input identifying a contact group; and, in response to the sixth input, suspending sending the chat interface to the second device, which may specifically include: in response to a sixth input, pausing the sending of the chat interface to the second device associated with each second target contact identification.
Wherein the seventh input is an input to generate a contact group identification. Illustratively, a plurality of first target contact identifiers are displayed in the chat interface of the first device, and the user may select an identifier from the plurality of first target contact identifiers through a seventh input, where the selected first target contact identifier is the second target contact identifier.
For example, the seventh input of the plurality of first target contact identifiers by the user may specifically include dragging one first target contact identifier to a position where another first target contact identifier is located, so that one contact group identifier may be generated. Fig. 8 is a schematic diagram of generating a contact grouping identifier according to an embodiment of the present application, and in conjunction with fig. 8 (a), a user drags a first target contact identifier 701 displayed in a first device to a position where a first target contact identifier 703 is located, so as to generate a contact grouping identifier 704 shown in fig. 8 (b).
After generating the contact group identification, the user using the first device may make a sixth input to the contact group identification. When the sixth input is received by the contact group identification, the first device suspends the second device associated with the second target contact identification included in the contact group identification.
According to the embodiment of the application, after the first device establishes the contact person group identifier, the user can conveniently control the first device to suspend the chat interface sharing of the second device associated with the plurality of second target contact person identifiers through the sixth input once, and the convenience of information sharing is improved.
In some embodiments, after sending the chat interface to the second device associated with the first target contact identification, the method further comprises: in the event that an eighth input is received for the first target contact identification; or stopping sending the first chat information displayed in the chat interface to the second device associated with the first target contact person identifier under the condition of receiving the feedback information sent by the second device associated with the first target contact person identifier.
Specifically, the eighth input is an input for controlling the first device to stop sending the chat interface to the second device, and after the user performs the eighth input on the first contact identifier in the first device, the user may end the current sharing of the chat interface to the second device.
Alternatively, the user using the second device may actively end viewing the shared interface. For example, after the second device quits the displayed chat interface, the second device sends feedback information to the first device, and after receiving the feedback information, the first device stops sending the chat interface to the second device.
According to the embodiment of the application, the user using the first equipment can control the first equipment to suspend the chat interface sharing to the target contact at any time, and the convenience of information sharing is improved. The second device can also terminate the shared chat interface at any time, thereby improving the convenience and flexibility of the chat interface sharing process.
In some embodiments, after sending the chat interface to the second device associated with the first target contact identification, the method may further include the steps of: receiving a ninth input of third chat information and a first target contact identification under the condition that the chat interface comprises the third chat information, wherein the third chat information is information related to the target contact, and the target contact corresponds to the first target contact identification; and responding to the ninth input, and displaying prompt information on the chat interface, wherein the prompt information is used for prompting the target contact person to view the third chat information displayed by the second equipment.
Illustratively, the information related to the target contact is information such as task allocation information and item distribution information that needs to be focused by the target contact, and the user may perform ninth input on the first target contact identifier and the third chat information displayed on the first device at the same time to generate prompt information so as to prompt the target contact to view the third chat information displayed on the second device. As a specific example, the user triggers generation of prompt information by dragging the first contact identifier displayed by the first device to the position of the third chat information; for another example, the user displays the third chat information by long pressing the first device, displays the first target contact identifier at the associated position of the third chat information, and triggers generation of the prompt message by clicking the first target contact identifier displayed at the associated position, where the associated position of the third chat information may be a display position adjacent to the third chat information, such as above or below the third chat information, and is not particularly limited herein. Alternatively, the prompt message may be displayed through a preset display effect, where the preset display effect is, for example, a bubble window of the third chat message is displayed in a vibrating manner, a font in the third chat message is displayed in a bolding manner, and the like, and is not limited in detail herein.
According to the embodiment of the application, the prompt message is displayed in the chat interface, so that the target contact person is prevented from overlooking the third chat message in the process of the chat interface displayed by the second equipment.
In the data sharing method provided by the embodiment of the application, the execution subject can be a data sharing device. In the embodiment of the present application, a method for a data sharing apparatus to perform data sharing is taken as an example, and the data sharing apparatus provided in the embodiment of the present application is described.
Fig. 9 is a schematic structural diagram of a data sharing apparatus according to an embodiment of the present application. As shown in fig. 9, the data sharing apparatus includes: a receiving module 910, a displaying module 920 and a transmitting module 930.
A receiving module 910, configured to receive a first input by a first device when a chat interface is displayed, where the chat interface is a chat interface between a first contact and at least one second contact, and the first contact is associated with the first device;
a display module 920, configured to display at least one third contact identifier in response to the first input;
the receiving module 910 is further configured to receive a second input for selecting the first target contact identifier from the at least one third contact identifier;
a sending module 930, configured to send, in response to the second input, a chat interface to the second device associated with the first target contact identifier, so that the second device associated with the first target contact identifier displays the chat interface, where the chat interface is configured to display, in real time, the first chat information between the first contact and the at least one second contact.
According to the embodiment of the application, when the first device displays the chat interface, the user can enable the first device associated with the first contact to display at least one third contact identifier by performing first input on the chat interface, so that the user can conveniently select the first target contact. After the user selects the first target contact identifier from the at least one third contact identifier through the second input, the first device can directly send a chat interface to the second device associated with the first target contact, and the chat interface received by the second device can display the first chat information between the first contact and the at least one second contact in real time, so that the first target contact can conveniently know the chat content in real time.
In some embodiments, the chat interface is a chat interface corresponding to the first application; the device still includes:
the display module 920 is further configured to display at least one application identifier in the first preset area under the condition that the chat interface receives the third input, where each application identifier is associated with a second application program;
a receiving module 910, further configured to receive a fourth input for selecting a target application identifier from the at least one application identifier;
the acquisition module is used for responding to the fourth input and acquiring at least one second contact in the target application program corresponding to the target application identification;
and the processing module is used for taking the virtual contact person identification corresponding to each second contact person as a third contact person identification.
According to the embodiment of the application, under the condition that the chat interface is displayed, the user can access the contacts in other application programs, so that the chat content between the cross application programs can be quickly shared.
In some embodiments, the display module 920 is further configured to display a first window in the chat interface of the first device in a case that second chat information sent by the second device is received, where the first window is used to display the second chat information;
a receiving module 910, further configured to receive a fifth input of the second chat information;
the sending module 930 is further configured to display the first target contact identifier and the second chat information in the chat interface of the first device in response to the fifth input.
According to the embodiment of the application, the target information sent by the target contact can be edited, so that the convenience of multi-person chatting can be improved.
In some embodiments, the receiving module 910 is further configured to receive a sixth input of the first target contact identifier when the second preset area of the chat interface of the first device displays the first target contact identifier;
the sending module 930 is further configured to suspend sending the chat interface to the second device in response to the sixth input.
According to the embodiment of the application, the user using the first equipment can control the first equipment to suspend the chat interface sharing to the target contact at any time, and the convenience of information sharing is improved.
In some embodiments, the first target contact is identified as a plurality;
a receiving module 910, further configured to receive a seventh input selecting at least one second target contact identifier from the plurality of first target contact identifiers;
the processing module is further used for responding to the seventh input and generating a contact person grouping identifier, wherein the contact person grouping identifier comprises at least one second target contact person identifier;
a receiving module 910, further configured to receive a sixth input identifying a contact group;
the sending module 930 is further configured to suspend sending the chat interface to the second device associated with each second target contact identification in response to the sixth input.
According to the embodiment of the application, after the first device establishes the contact person group identifier, the user can conveniently control the first device to suspend the chat interface sharing of the second device associated with the plurality of second target contact person identifiers through the sixth input once, and the convenience of information sharing is improved.
In some embodiments, the sending module 930 is further configured to, in case an eighth input to the first target contact identification is received; or stopping sending the chat interface to the second device associated with the first target contact person identifier under the condition of receiving the feedback information sent by the second device associated with the first target contact person identifier.
According to the embodiment of the application, the user using the first equipment can control the first equipment to suspend the chat interface sharing to the target contact at any time, and the convenience of information sharing is improved. The second device can also terminate the shared chat interface at any time, thereby improving the convenience and flexibility of the chat interface sharing process.
In some embodiments, the receiving module 910 is further configured to receive a ninth input of third chat information and the first target contact identifier when the chat interface includes the third chat information, where the third chat information is information related to the target contact, and the target contact corresponds to the first target contact identifier;
the display module 920 is further configured to, in response to the ninth input, display a prompt message on the chat interface, where the prompt message is used to prompt the target contact to view the third chat message displayed by the second device.
According to the embodiment of the application, the prompt message is displayed in the chat interface, so that the target contact person is prevented from overlooking the third chat message in the process of the chat interface displayed by the second equipment.
The data sharing apparatus in the embodiment of the present application may be an electronic device, or may be a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal, or may be a device other than a terminal. The electronic Device may be, for example, a Mobile phone, a tablet computer, a notebook computer, a palm top computer, a vehicle-mounted electronic Device, a Mobile Internet Device (MID), an Augmented Reality (AR)/Virtual Reality (VR) Device, a robot, a wearable Device, an ultra-Mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), and the like, and may also be a server, a Network Attached Storage (Network Attached Storage, NAS), a personal computer (NAS), a Television (TV), a teller machine, a self-service machine, and the like, and the embodiments of the present application are not limited in particular.
The data sharing device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, and embodiments of the present application are not limited specifically.
The data sharing device provided in the embodiments of the present application can implement each process implemented in each embodiment of the data sharing method of the present application, and is not described here again to avoid repetition.
Optionally, as shown in fig. 10, an electronic device 1000 is further provided in this embodiment of the present application, and includes a processor 1001 and a memory 1002, where the memory 1002 stores a program or an instruction that can be executed on the processor 1001, and when the program or the instruction is executed by the processor 1001, the steps of the data sharing method embodiment are implemented, and the same technical effects can be achieved, and are not described again here to avoid repetition.
It should be noted that the electronic device in the embodiment of the present application includes the mobile electronic device and the non-mobile electronic device described above.
Fig. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 1100 includes, but is not limited to: a radio frequency unit 1101, a network module 1102, an audio output unit 1103, an input unit 1104, a sensor 1105, a display unit 1106, a user input unit 1107, an interface unit 1108, a memory 1109, a processor 1110, and the like.
Those skilled in the art will appreciate that the electronic device 1100 may further include a power source (e.g., a battery) for supplying power to the various components, and the power source may be logically connected to the processor 1110 via a power management system, so as to manage charging, discharging, and power consumption management functions via 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 those shown, or combine some components, or arrange different components, and thus, the description is not repeated here.
An input unit 1104, configured to receive a first input by a first device when a chat interface is displayed, where the chat interface is a chat interface between a first contact and at least one second contact, and the first contact is associated with the first device;
a display unit 1106 for displaying at least one third contact identifier in response to the first input;
the input unit 1104 is further configured to receive a second input for selecting a first target contact identifier from at least one third contact identifier;
the radio frequency unit 1101 is configured to send, in response to the second input, a chat interface to the second device associated with the first target contact identifier, so that the second device associated with the first target contact identifier displays the chat interface, where the chat interface is configured to display, in real time, first chat information between the first contact and at least one second contact.
According to the embodiment of the application, when the first device displays the chat interface, the user can enable the first device associated with the first contact to display at least one third contact identifier by performing first input on the chat interface, so that the user can conveniently select the first target contact. After the user selects the first target contact identifier from the at least one third contact identifier through the second input, the first device can directly send a chat interface to the second device associated with the first target contact, and the chat interface received by the second device can display the first chat information between the first contact and the at least one second contact in real time, so that the first target contact can conveniently know the chat content in real time.
In some embodiments, the chat interface is a chat interface corresponding to the first application; the device still includes:
the display unit 1106 is further configured to display at least one application identifier in the first preset area under the condition that the chat interface receives the third input, where each application identifier is associated with a second application program;
an input unit 1104, further configured to receive a fourth input selecting a target application identifier from the at least one application identifier;
a processor 1110, configured to, in response to the fourth input, obtain at least one second contact in the target application program corresponding to the target application identifier;
a processor 1110 configured to identify the virtual contact identifier corresponding to each second contact as a third contact identifier.
According to the embodiment of the application, under the condition that the chat interface is displayed, the user can access the contacts in other application programs, so that the chat content between the cross application programs can be quickly shared.
In some embodiments, the display unit 1106 is further configured to, in a case that second chat information sent by the second device is received, display a first window in the chat interface of the first device, where the first window is used to display the second chat information;
an input unit 1104, further configured to receive a fifth input of the second chat information;
the radio frequency unit 1101 is further configured to display the first target contact identifier and the second chat information in the chat interface of the first device in response to a fifth input.
According to the embodiment of the application, the target information sent by the target contact can be edited, so that the convenience of multi-user chatting can be improved.
In some embodiments, the input unit 1104 is further configured to receive a sixth input of the first target contact identifier if the second preset area of the chat interface of the first device displays the first target contact identifier;
the radio frequency unit 1101 is further configured to suspend sending the chat interface to the second device in response to a sixth input.
According to the embodiment of the application, the user using the first equipment can control the first equipment to suspend the chat interface sharing to the target contact at any time, and the convenience of information sharing is improved.
In some embodiments, the first target contact is identified as a plurality;
the input unit 1104 is further configured to receive a seventh input for selecting at least one second target contact identifier from the plurality of first target contact identifiers;
a processor 1110 further configured to generate a contact group identification in response to the seventh input, wherein the contact group identification comprises at least one second target contact identification;
an input unit 1104, further configured to receive a sixth input identifying a contact group;
the radio frequency unit 1101 is further configured to suspend sending the chat interface to the second device associated with each second target contact identification in response to a sixth input.
According to the embodiment of the application, after the first device establishes the contact person group identifier, the user can conveniently control the first device to suspend the chat interface sharing of the second device associated with the plurality of second target contact person identifiers through the sixth input once, and the convenience of information sharing is improved.
In some embodiments, the radio frequency unit 1101 is further configured to, in case an eighth input to the first target contact identification is received; or stopping sending the chat interface to the second device associated with the first target contact person identifier under the condition of receiving the feedback information sent by the second device associated with the first target contact person identifier.
According to the embodiment of the application, the user using the first equipment can control the first equipment to suspend the chat interface sharing to the target contact at any time, and the convenience of information sharing is improved. The second device can also terminate the shared chat interface at any time, thereby improving the convenience and flexibility of the chat interface sharing process.
In some embodiments, the input unit 1104 is further configured to receive a ninth input of third chat information and the first target contact identifier if the chat interface includes the third chat information, where the third chat information is information related to the target contact, and the target contact corresponds to the first target contact identifier;
the display unit 1106 is further configured to, in response to the ninth input, display prompting information on the chat interface, where the prompting information is used to prompt the target contact to view the third chat information displayed by the second device.
According to the embodiment of the application, the prompt message is displayed in the chat interface, so that the target contact person is prevented from overlooking the third chat message in the process of the chat interface displayed by the second equipment.
It should be understood that in the embodiment of the present application, the input Unit 1104 may include a Graphics Processing Unit (GPU) 11041 and a microphone 11042, and the Graphics processor 11041 processes image data of still pictures or video obtained by an image capturing device (such as a camera) in a video capturing mode or an image capturing mode. The display unit 1106 may include a display panel 11061, and the display panel 11061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 1107 includes at least one of a touch panel 11071 and other input devices 11072. A touch panel 11071, also called a touch screen. The touch panel 11071 may include two portions of a touch detection device and a touch controller. Other input devices 11072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which are not described in detail herein.
The memory 1109 may be used to store software programs as well as various data. The memory 1109 may mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area may store an operating system, application programs or instructions required for at least one function (such as a sound playing function, an image playing function, etc.), and the like. Further, the memory 1109 may include volatile memory or nonvolatile memory, or the memory 1109 may include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. The volatile Memory may be a Random Access Memory (RAM), a Static Random Access Memory (Static RAM, SRAM), a Dynamic Random Access Memory (Dynamic RAM, DRAM), a Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), a Double Data Rate Synchronous Dynamic Random Access Memory (Double Data Rate SDRAM, ddr SDRAM), an Enhanced Synchronous SDRAM (ESDRAM), a Synchronous Link DRAM (SLDRAM), and a Direct Memory bus RAM (DRRAM). The memory 1109 in the embodiments of the subject application includes, but is not limited to, these and any other suitable types of memory.
Processor 1110 may include one or more processing units; optionally, the processor 1110 integrates an application processor, which primarily handles operations related to the operating system, user interface, and applications, and a modem processor, which primarily handles wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into processor 1110.
The embodiments of the present application further provide a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the program or the instruction implements the processes of the data sharing method embodiment, and can achieve the same technical effect, and in order to avoid repetition, the detailed description is omitted here.
The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read only memory ROM, a random access memory RAM, a magnetic or optical disk, and the like.
The embodiment of the present application further provides a chip, where the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is configured to execute a program or an instruction to implement each process of the above data sharing method embodiment, and can achieve the same technical effect, and the details are not repeated here to avoid repetition.
It should be understood that the chips mentioned in the embodiments of the present application may also be referred to as system-on-chip, system-on-chip or system-on-chip, etc.
Embodiments of the present application provide a computer program product, where the program product is stored in a storage medium, and the program product is executed by at least one processor to implement the processes of the foregoing data sharing method embodiments, and achieve the same technical effects, and in order to avoid repetition, details are not repeated here.
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 a … …" does not exclude the presence of another identical element in a process, method, article, or apparatus that comprises the element. Further, it should be noted that the scope of the methods and apparatus of the embodiments of the present application is not limited to performing the functions in the order illustrated or discussed, but may include performing the functions in a substantially simultaneous manner or in a reverse order based on the functions involved, e.g., the methods described may be performed in an order different than that described, and various steps may be added, omitted, or combined. In addition, features described with reference to certain examples may be combined in other examples.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal (such as a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present application.
While the present embodiments have been described with reference to the accompanying drawings, it is to be understood that the invention is not limited to the precise embodiments described above, which are meant to be illustrative and not restrictive, and that various changes may be made therein by those skilled in the art without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method for data sharing, the method comprising:
the method comprises the steps that a first device receives a first input under the condition that a chat interface is displayed, wherein the chat interface is a chat interface of a first contact and at least one second contact, and the first contact is associated with the first device;
displaying at least one third contact identifier in response to the first input;
receiving a second input selecting a first target contact identifier from the at least one third contact identifier;
and responding to the second input, sending the chat interface to the second equipment associated with the first target contact identification so as to enable the second equipment associated with the first target contact identification to display the chat interface, wherein the chat interface is used for displaying first chat information between the first contact and at least one second contact in real time.
2. The method of claim 1, wherein the chat interface is a chat interface corresponding to the first application; prior to said displaying at least one third contact identification, the method further comprises:
under the condition that the third input is received by the chat interface, displaying at least one application identifier in a first preset area, wherein each application identifier is associated with a second application program;
receiving a fourth input for selecting a target application identifier from the at least one application identifier;
responding to the fourth input, and acquiring at least one second contact in a target application program corresponding to the target application identification;
and taking the virtual contact identification corresponding to each second contact as the third contact identification.
3. The method of claim 1, wherein after the sending the chat interface to the second device associated with the first target contact identification, the method further comprises:
under the condition that second chat information sent by the second equipment is received, displaying a first window in a chat interface of the first equipment, wherein the first window is used for displaying the second chat information;
receiving a fifth input of the second chat information;
in response to the fifth input, displaying the first target contact identification and the second chat information in a chat interface of the first device.
4. The method of claim 1, wherein after the sending the chat interface to the second device associated with the first target contact identification, the method further comprises:
receiving a sixth input of the first target contact identification under the condition that the first target contact identification is displayed in a second preset area of the chat interface of the first device;
in response to the sixth input, suspending sending the chat interface to the second device.
5. The method of claim 4, wherein the first target contact identification is plural, and wherein prior to said receiving a sixth input for the first target contact identification, the method further comprises:
receiving a seventh input selecting at least one second target contact identification from the plurality of first target contact identifications;
generating a contact group identification in response to the seventh input, wherein the contact group identification comprises the at least one second target contact identification;
the receiving a sixth input to the first target contact identification comprises:
receiving a sixth input identifying the contact group;
the suspending sending the chat interface to the second device in response to the sixth input, comprising:
in response to the sixth input, suspending sending the chat interface to the second device associated with each of the second target contact identifications.
6. The method of claim 1, wherein after the sending the chat interface to the second device associated with the first target contact identification, the method further comprises:
in the event that an eighth input to the first target contact identification is received; or stopping sending the chat interface to the second device associated with the first target contact person identifier under the condition of receiving the feedback information sent by the second device associated with the first target contact person identifier.
7. The method of claim 1, wherein after the sending the chat interface to the second device associated with the first target contact identification, the method further comprises:
receiving a ninth input of third chat information and the first target contact identification when the chat interface comprises the third chat information, wherein the third chat information is information related to a target contact, and the target contact corresponds to the first target contact identification;
and responding to the ninth input, and displaying prompt information on the chat interface, wherein the prompt information is used for prompting the target contact person to view the third chat information displayed by the second equipment.
8. A data sharing apparatus, the apparatus comprising:
the device comprises a receiving module and a sending module, wherein the receiving module is used for receiving a first input when a first device displays a chat interface, the chat interface is a chat interface of a first contact and at least one second contact, and the first contact is associated with the first device;
a display module for displaying at least one third contact identifier in response to the first input;
the receiving module is further configured to receive a second input selecting a first target contact identifier from the at least one third contact identifier;
and the sending module is used for responding to the second input and sending the chat interface to the second equipment associated with the first target contact identification so as to enable the second equipment associated with the first target contact identification to display the chat interface, and the chat interface is used for displaying first chat information between the first contact and at least one second contact in real time.
9. An electronic device comprising a processor and a memory, the memory storing a program or instructions executable on the processor, the program or instructions when executed by the processor implementing the steps of the data sharing method of any one of claims 1 to 7.
10. A readable storage medium, on which a program or instructions are stored, which when executed by a processor, implement the steps of the data sharing method according to any one of claims 1 to 7.
CN202211344048.5A 2022-10-31 2022-10-31 Data sharing method and device, electronic equipment and medium Pending CN115695355A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211344048.5A CN115695355A (en) 2022-10-31 2022-10-31 Data sharing method and device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211344048.5A CN115695355A (en) 2022-10-31 2022-10-31 Data sharing method and device, electronic equipment and medium

Publications (1)

Publication Number Publication Date
CN115695355A true CN115695355A (en) 2023-02-03

Family

ID=85045893

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211344048.5A Pending CN115695355A (en) 2022-10-31 2022-10-31 Data sharing method and device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN115695355A (en)

Similar Documents

Publication Publication Date Title
CN111857500B (en) Message display method and device, electronic equipment and storage medium
CN113300938B (en) Message sending method and device and electronic equipment
CN112286887A (en) File sharing method and device and electronic equipment
CN113676589B (en) Unread message display method and device and electronic equipment
CN114500432A (en) Session message transceiving method and device, electronic equipment and readable storage medium
CN112711366A (en) Image generation method and device and electronic equipment
CN112260937A (en) Message processing method and device, electronic equipment and storage medium
CN113794795B (en) Information sharing method and device, electronic equipment and readable storage medium
CN114327088A (en) Message sending method, device, electronic equipment and medium
CN112269509B (en) Information processing method and device and electronic equipment
CN112187624B (en) Message reply method and device and electronic equipment
CN112866092A (en) Group chat creating method and group chat creating device
CN113411539B (en) Multi-user chat initiation method and device
CN115473867A (en) Message sending method and device, electronic equipment and storage medium
CN114866835A (en) Bullet screen display method, bullet screen display device and electronic equipment
CN114374663A (en) Message processing method and message processing device
CN113852540A (en) Information sending method, information sending device and electronic equipment
CN115695355A (en) Data sharing method and device, electronic equipment and medium
CN114221923A (en) Message processing method and device and electronic equipment
CN112487371A (en) Chat session display method, device, terminal and storage medium
CN113783840B (en) Account login method, device, equipment and storage medium
CN114401281B (en) Communication management method, device, electronic equipment and readable storage medium
CN115720219A (en) Group creation method and device, electronic equipment and medium
CN114416267A (en) Information processing method and device and electronic equipment
CN117376299A (en) Group management method and device and electronic equipment

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