WO2024093815A1 - 数据共享方法、装置、电子设备及介质 - Google Patents

数据共享方法、装置、电子设备及介质 Download PDF

Info

Publication number
WO2024093815A1
WO2024093815A1 PCT/CN2023/127034 CN2023127034W WO2024093815A1 WO 2024093815 A1 WO2024093815 A1 WO 2024093815A1 CN 2023127034 W CN2023127034 W CN 2023127034W WO 2024093815 A1 WO2024093815 A1 WO 2024093815A1
Authority
WO
WIPO (PCT)
Prior art keywords
input
contact
identifier
chat
chat interface
Prior art date
Application number
PCT/CN2023/127034
Other languages
English (en)
French (fr)
Inventor
王振拯
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2024093815A1 publication Critical patent/WO2024093815A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/7243User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages
    • H04M1/72436User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality with interactive means for internal management of messages for text messaging, e.g. short messaging services [SMS] or e-mails

Definitions

  • the present application belongs to the field of Internet technology, and specifically relates to a data sharing method, device, electronic device and medium.
  • chat applications to chat
  • users can easily communicate and exchange with other users, providing social convenience for users.
  • chat applications to chat
  • they want to share the chat content with other users they need to select the content to be shared in turn, and then find the target user ID before sharing the content to be shared with the target user, thereby completing the sharing within the chat application.
  • the whole process is cumbersome and has poor real-time performance.
  • the purpose of the embodiments of the present application is to provide a data sharing method, device, electronic device and medium, which can make the process of sharing chat content simple to operate and highly real-time.
  • an embodiment of the present application provides a data sharing method, the method comprising:
  • the first device receives a first input while displaying a chat interface, wherein 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;
  • the second device associated with the first target contact identifier displays a chat interface, where the chat interface is used to display first chat information between the first contact and at least one second contact in real time.
  • an embodiment of the present application provides a data sharing device, the device comprising:
  • a receiving module configured to receive a first input when displaying the first chat interface
  • a display module configured to display at least one first contact identifier in response to a first input
  • a receiving module configured to receive a first input when the first device displays a chat interface, wherein 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 configured to display at least one third contact identifier in response to the first input
  • the receiving module is further used to receive a second input of selecting a first target contact identifier from at least one third contact identifier;
  • a sending module is used to send a chat interface to a second device associated with a first target contact identifier in response to a second input, so that the second device associated with the first target contact identifier displays the chat interface, and the chat interface is used to display the first chat information between the first contact and at least one second contact in real time.
  • an embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores programs or instructions that can be executed on the processor, and when the programs or instructions are executed by the processor, the steps of the method of the first aspect are implemented.
  • an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method of the first aspect are implemented.
  • an embodiment of the present application provides a chip, the chip including a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the method of the first aspect.
  • an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method of the first aspect.
  • the user when the first device displays a chat interface, the user can make the first device associated with the first contact display at least one third contact identifier by making a first input in the chat interface, thereby facilitating the user to select a first target contact.
  • the first device can directly send the first target contact identifier to the first target contact.
  • the second device associated with the person sends a chat interface, and the chat interface received by the second device can display the first chat information between the first contact and at least one second contact in real time, so that the first target contact can understand the chat content conveniently and in real time.
  • FIG1 is a flow chart of a data sharing method provided in an embodiment of the present application.
  • FIG2 is a schematic diagram of a first chat interface provided in an embodiment of the present application.
  • FIG3 is a schematic diagram of a chat interface sharing provided by an embodiment of the present application.
  • FIG4 is a schematic diagram of a display application identifier provided by an embodiment of the present application.
  • FIG5 is a schematic diagram of a first window provided in an embodiment of the present application.
  • FIG6 is a schematic diagram of an editing operation provided in an embodiment of the present application.
  • FIG7 is a schematic diagram of a first device displaying a first target contact provided by an embodiment of the present application.
  • FIG8 is a schematic diagram of generating a contact group identifier provided in an embodiment of the present application.
  • FIG9 is a schematic structural diagram of a video shooting device provided in an embodiment of the present application.
  • FIG10 is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application.
  • FIG. 11 is a schematic diagram of the hardware structure of another electronic device provided in an embodiment of the present application.
  • first, second, etc. in the specification and claims of this application are used to distinguish similar objects, rather than to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first”, “second”, etc. are generally of the same type, and do not limit the number of objects, for example, the first object can be one or more.
  • “and/or” means at least one of the connected objects, and the character “/" generally indicates that the previously and subsequently associated objects are in an “or” relationship.
  • chat applications to chat
  • users can easily communicate and interact with other users, providing social convenience for users.
  • chat applications to chat
  • they want to share the chat content with other users they need to select the content to be shared in turn, and then find the target object before sharing it in the chat application.
  • the whole process is cumbersome and has poor real-time performance.
  • the embodiments of the present application provide a data sharing method, device, electronic device and medium, which can make the process of sharing chat content simple to operate and highly real-time.
  • the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.
  • FIG. 1 is a flow chart of a data sharing method provided in an embodiment of the present application. As shown in FIG. 1 , data sharing may include steps 110 to 140 .
  • Step 110 The first device receives a first input while displaying a chat interface.
  • the chat interface is a chat interface between a first contact and at least one second contact, the first contact is associated with a first device, and the chat interface is associated with the first contact.
  • the first contact is a user who uses the first device to chat.
  • the displayed content may include information sent by the first contact using the first device, and the displayed content may also include information sent by other devices received by the first device.
  • the first device associated with the first contact is device A
  • the other device is device B.
  • the information sent by device A and device B can be displayed in the chat interface.
  • the chat interface can also be a chat interface for the first contact to chat with multiple second contacts. That is, the chat interface is a group chat interface.
  • the displayed content of the group chat interface may include information sent by the first device and multiple other electronic devices.
  • the number of information displayed in the chat interface may include one or more.
  • the information type may be text, picture, emoticon package, audio, video, file, etc., which is not specifically limited here.
  • the chat interface may include a message display area and a message editing area.
  • the user can enter the text to be sent in the message editing area. After the text editing is completed, the text can be sent through the electronic device. The text is displayed.
  • the information editing area may also include preset controls, through which corresponding functions can be executed. For example, through the picture control, pictures and videos stored in the electronic device can be selected as the information to be sent; through the file control, files stored in the electronic device can be selected as the information to be sent. After the information is sent, the information can be displayed on the chat interface.
  • the first input may be an input for controlling the first device to display a contact selection window.
  • the contact selection window may include multiple third contact identifiers.
  • the third contact associated with each third contact identifier is a contact related to the first contact.
  • the third contact is a contact related to the first contact in the first application.
  • the third contact and the first contact are friends with each other; for another example, the third contact is a contact who has had a temporary session with the first contact, wherein 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 add request to the third contact when the third contact has not yet established a friend relationship with the first contact.
  • Step 120 In response to the first input, display at least one third contact identifier.
  • a keyword for opening a contact selection window may be pre-set.
  • the first input may be a user inputting a keyword in the information editing area.
  • 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.
  • FIG2 is a schematic diagram of a chat interface provided in an embodiment of the present application, in which the displayed content in the chat interface 201 includes chat information of a first contact 202 and a second contact 203.
  • 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, etc., directed to any position or a specified position on the display screen.
  • the user may pre-set it according to usage requirements, and it is not specifically limited here.
  • a contact selection window pops up on the chat interface of the first device, and at least one third contact identifier may be displayed in the contact selection window.
  • the third contact identifier may be an avatar, a nickname, etc.
  • the chat interface 201 includes a first contact 202 and a second contact 203.
  • third contact identifiers of multiple third contacts may be included, such as "Contact A”, “Contact B”, “Contact C”, and “Contact D” as shown in FIG.
  • Step 130 receiving a second input of selecting a first target contact identifier from the at least one third contact identifier.
  • the second input is an input for selecting a third contact identifier.
  • the second input may be a preset touch gesture input.
  • the touch gesture may be a click gesture, a long press gesture, a double-click gesture, a slide gesture, etc., directed to any position or a specified position on the display screen, which may be preset by the user according to usage requirements and is not specifically limited here.
  • the user can select a first target contact identifier from at least one third contact identifier displayed by performing a second input on the first device.
  • “Contact C” is selected as the first target contact identifier
  • the second input can be a long press and slide gesture input, by long pressing “Contact C” and dragging “Contact C” to the display area of the chat content, so as to select “Contact C” as the first target contact identifier.
  • the electronic device may execute step 140 .
  • Step 140 In response to the second input, a chat interface is sent to a 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 to display first chat information between a first contact and at least one second contact in real time.
  • the number of first target contacts may be one or more.
  • the chat interface may be sent to each second device associated with the first target contact identifier.
  • the second device associated with the first target contact identifier is the electronic device used by the first target contact.
  • FIG3 is a schematic diagram of a chat interface sharing provided by an embodiment of the present application.
  • the first target contact can view the chat information between the first contact 202 and the second contact 203 in real time in the second device. That is, when a new chat information is generated between the first contact 202 and the second contact 203, the newly generated chat information is automatically sent to the second device.
  • the information can be shared to the second device in real time and can be displayed in the chat interface received by the second device.
  • the user when the first device displays a chat interface, the user can make the first device associated with the first contact display at least one third contact identifier by making a first input in the chat interface, thereby facilitating the user to select the first target contact.
  • 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 at least one second contact in real time, so that the first target contact can understand the chat content conveniently and in real time.
  • the chat interface may be a chat interface corresponding to the first application; specifically, before displaying at least one third contact identifier, the embodiment of the present application may include steps 201 to 204.
  • Step 201 when the chat interface receives a third input, at least one application identifier is displayed in a first preset area, and each application identifier is associated with a second application.
  • Step 202 Receive a fourth input for selecting a target application identifier from at least one application identifier.
  • Step 203 In response to the fourth input, obtain at least one second contact in the target application corresponding to the target application identifier.
  • Step 204 Use the virtual contact identifier corresponding to each second contact as the third contact identifier.
  • the third input may be an input for displaying an application identifier, or an input to a chat interface.
  • the fourth input may be an input for selecting a target application.
  • the first device associated with the first contact may display an application identification selection window in the first preset area of the display screen. At least one application identification may be displayed in the application identification selection window. Each application identification is associated with a second application program. The application identification may be an icon, text, etc.
  • the third input may be an input to a call control of the second application.
  • the call control of the second application may be displayed in the message editing area.
  • the user performs the third input on the call control of the second application.
  • the first device displays an application identification selection window in the first preset area of the display screen.
  • the third input may also be an input for turning on the split-screen mode.
  • the first device turns on the split-screen mode. In the split-screen mode, the first preset area of the display screen displays the application identification selection window, and the second preset area of the display screen displays the chat interface.
  • FIG4 is a schematic diagram of displaying an application identifier provided by an embodiment of the present application.
  • the application identifier selection window may include an application identifier.
  • a target application identifier is selected from the application identifiers through a fourth input.
  • the user may select APP6 as the target application identifier.
  • the first application after determining the target application identifier, needs to obtain the second contact in the target application corresponding to the target application identifier. Specifically, the first application can request the target application to access the contact list, and after the target application agrees to the authorization, the first application can access the contact list of the target application, thereby obtaining the second contact in the target application corresponding to the target application identifier.
  • the contact list of the target application may include at least one second contact.
  • the first application may generate a virtual contact identifier for each second contact of the target application.
  • the virtual contact identifier is displayed as a third contact identifier in the first device.
  • the first target contact can receive the chat interface of the first contact 202 and the second contact 203 in real time on the second device associated with the first target contact, and view the chat information of the chat message of the first contact 202 and the second contact 203 in the chat interface 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.
  • chat interface when a chat interface is displayed, since the user can access contacts in other applications, rapid sharing of chat content across applications can be achieved.
  • the first target contact can receive a sharing notification through the second device.
  • the first target contact can open the chat interface by clicking on the sharing notification.
  • the second device displays the chat interface in the shared
  • 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 may send the chat information to the first device through the second device.
  • the method after the first device sends a chat interface to the second device associated with the first target contact identifier, the method also includes: upon receiving a second chat message sent by the second device, displaying a first window in the chat interface of the first device, the first window being used to display the second chat message; receiving a fifth input for the second chat message; and in response to the fifth input, displaying the first target contact identifier and the second chat message in the chat interface of the first device.
  • FIG5 is a schematic diagram of a first window provided by an embodiment of the present application.
  • the first target contact 502 can use the second device associated with it to send a second chat message to the first device.
  • the first device can display the first window 501 in the chat interface 201 of the first contact 202 and the second contact 203, wherein the second chat message sent by the second device can be displayed in the first window 501.
  • the fifth input is an input for sending a second chat message.
  • the user can send the second chat message to the chat interface of the first contact 202 and the second contact 203 by making the fifth input to the second chat message.
  • the first target contact identifier and the second chat message can be displayed in the chat interface of the first contact 202 and the second contact 203.
  • the chat interface of the first contact 202 and the second contact 203 can display the first target contact identifier 502 and the second chat message "Do you need to make an appointment in advance?"
  • the second chat message is displayed in the chat interface of the first device with the first target contact identified as the sender, thereby improving the participation of the first target contact.
  • the target contact can directly participate in the chat, thereby improving the convenience of multi-person chat.
  • the user's fifth input to the second chat information displayed in the first device may also include editing input of the second chat information.
  • a schematic diagram of an editing operation is provided, in which a control for selecting a second chat message may be included in the first window 501, such as a "reference" control 601.
  • the editing operation may include selecting a second chat message, and after the second chat message is selected, the information editing area may display the second chat message.
  • the user can add, delete, modify, and other operations on the second chat message, which are not specifically limited here.
  • the edited second chat message can be obtained. Accordingly, the edited second chat message and the first target contact identifier are sent to the first chat interface.
  • the target information sent by the target contact can be edited, the convenience of multi-person chat can be improved.
  • the first target contact identifier may be displayed in the second preset area of the chat interface of the first device.
  • FIG7 is a schematic diagram of a first device displaying a first target contact provided by an embodiment of the present application.
  • the first target contact identifier may be displayed in the second preset area 710 of the first interface.
  • FIG7 shows that when there are multiple first target contact identifiers, the second preset area 710 displays the first target contact identifier 701, the first target contact identifier 702, and the first target contact identifier 703.
  • the first target contact identifier is displayed in the second preset area in the chat interface displayed by the first device, so as to remind the user of the sharing status of the current chat interface and the sharing object.
  • the chat interface of the first device is in the sharing status, the user can also choose not to display the target contact identifier to meet the user's privacy needs.
  • the first device may also perform the following steps: receiving a sixth input for the first target contact identifier when the first target contact identifier is displayed in the second preset area of the chat interface of the first device; and pausing sending the chat interface to the second device in response to the sixth input.
  • the sixth input is an input for controlling the first device to pause sending the chat interface to the second device.
  • the user using the first device can make the sixth input for one of the first target contact identifiers, or the user using the first device can make the sixth input for multiple first target contact identifiers respectively, thereby controlling the first device to pause sending the chat interface to the first target contact identifier that received the sixth input.
  • the second device associated with the contact identifier sends a chat interface.
  • the sixth input may include a combination of a user's long press and drag input of the first target contact identifier.
  • the user long presses the first target contact identifier and drags the first target contact identifier in a preset direction to pause sending a chat interface to the second device associated with the first target contact identifier.
  • the sixth input may also include input of a control control of the first target contact identifier.
  • Control controls include pause controls, etc. The user clicks on a cross control or a pause control to input, thereby controlling the first device to pause sending a chat interface to the second device associated with the first target contact identifier.
  • the specific input form of the sixth input can be set as needed and is not listed here one by one.
  • a user using the first device can control the first device to pause sharing the chat interface with the target contact at any time, thereby improving the convenience of information sharing.
  • the method Before receiving a sixth input of the first target contact identifier, the method also includes: receiving a seventh input of selecting at least one second target contact identifier from the multiple first target contact identifiers; and generating a contact group identifier in response to the seventh input, wherein the contact group identifier includes at least one second target contact identifier.
  • receiving the sixth input for the first target contact identifier may specifically include: receiving the sixth input for the contact group identifier; and, in response to the sixth input, pausing sending the chat interface to the second device, may specifically include: in response to the sixth input, pausing sending the chat interface to the second device associated with each second target contact identifier.
  • the seventh input is an input for generating a contact group identifier.
  • a plurality of first target contact identifiers are displayed in the chat interface of the first device, and the user can select an identifier from the plurality of first target contact identifiers through the seventh input, wherein the selected first target contact identifier is the second target contact identifier.
  • the seventh input of the user to the plurality of first target contact identifiers may specifically include dragging a first target contact identifier to the location of another first target contact identifier, thereby generating a contact group identifier.
  • FIG8 is a schematic diagram of generating a contact group identifier provided by an embodiment of the present application.
  • the user In conjunction with FIG8(a), the user generates a contact group identifier as shown in FIG8(b) by dragging the first target contact identifier 701 displayed on the first device to the location of the first target contact identifier 703.
  • the contact group identifier 704 is shown.
  • the user of the first device may make a sixth input to the contact group identifier.
  • the contact group identifier receives the sixth input, the first device suspends the second device associated with the second target contact identifier included in the contact group identifier.
  • the user after the user establishes a contact group identifier on the first device, he can conveniently control the first device to pause sharing the chat interface with the second device associated with multiple second target contact identifiers through a sixth input, thereby improving the convenience of information sharing.
  • the method after sending the chat interface to the second device associated with the first target contact identifier, the method also includes: upon receiving an eighth input to the first target contact identifier; or upon receiving feedback information sent by the second device associated with the first target contact identifier, stopping sending the first chat message displayed in the chat interface to the second device associated with the first target contact identifier.
  • the eighth input is an input for controlling the first device to stop sending the chat interface to the second device. After the user makes the eighth input to the first contact identifier in the first device, the user can end sharing the chat interface with the second device.
  • the user using the second device can actively stop viewing the shared interface. For example, after the second device exits the displayed chat interface, the second device sends feedback information to the first device, and the first device stops sending the chat interface to the second device after receiving the feedback information.
  • the user of the first device can control the first device to pause sharing the chat interface with the target contact at any time, thereby improving the convenience of information sharing.
  • 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.
  • the following steps may also be included: when the chat interface includes a third chat message, receiving a ninth input of the third chat message and the first target contact identifier, wherein the third chat message is information related to the target contact, and the target contact corresponds to the first target contact identifier; in response to the ninth input, displaying a prompt message on the chat interface, the prompt message being used to prompt the target contact to view the third chat message displayed on the second device.
  • the information related to the target contact is task assignment information, item distribution information, and other information that the target contact needs to pay attention to.
  • the user can simultaneously make a ninth input on the first target contact identifier and the third chat information displayed by the first device to generate a prompt message, thereby reminding the target contact to check the third chat information displayed by the second device.
  • the user triggers the generation of prompt information by dragging the first contact identifier displayed on the first device to the location of the third chat information; for another example, the user long presses the first device to display the third chat information, and then displays the first target contact identifier at the associated position of the third chat information. After clicking the first target contact identifier displayed at the associated position, the generation of prompt information is triggered, wherein the associated position of the third chat information can be a display position adjacent to the third chat information, such as above or below the third chat information, which is not specifically limited here.
  • the prompt information can be displayed through a preset display effect, such as vibration display of the bubble window of the third chat message, bold display of the font in the third chat message, etc., which is not specifically limited here.
  • the target contact is prevented from missing the third chat information during the chat interface displayed on the second device.
  • the data sharing method provided in the embodiment of the present application can be executed by a data sharing device.
  • the method of executing data sharing by a data sharing device is taken as an example to illustrate the data sharing device provided in the embodiment of the present application.
  • Fig. 9 is a schematic diagram of the structure of a data sharing device provided in an embodiment of the present application. As shown in Fig. 9 , the data sharing device includes: a receiving module 910 , a display module 920 and a sending module 930 .
  • the receiving module 910 is configured to receive a first input when the first device displays a chat interface, wherein 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;
  • Display module 920 for displaying 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 a first target contact identifier from at least one third contact identifier;
  • the sending module 930 is used to send a second associated with the first target contact identifier to the first target contact in response to the second input.
  • the device sends a chat interface so that the second device associated with the first target contact identifier displays the chat interface, and the chat interface is used to display the first chat information between the first contact and at least one second contact in real time.
  • the user when the first device displays a chat interface, the user can make the first device associated with the first contact display at least one third contact identifier by making a first input in the chat interface, thereby facilitating the user to select the first target contact.
  • 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 at least one second contact in real time, so that the first target contact can understand the chat content conveniently and in real time.
  • the chat interface is a chat interface corresponding to the first application; the device further includes:
  • the display module 920 is further configured to display at least one application identifier in the first preset area when the chat interface receives a third input, each application identifier being associated with a second application program;
  • the receiving module 910 is further configured to receive a fourth input for selecting a target application identifier from at least one application identifier;
  • An acquisition module configured to acquire, in response to a fourth input, at least one second contact in a target application corresponding to the target application identifier
  • the processing module is used to use the virtual contact identifier corresponding to each second contact as the third contact identifier.
  • chat interface when a chat interface is displayed, since the user can access contacts in other applications, rapid sharing of chat content across applications can be achieved.
  • the display module 920 is further configured to display a first window in the chat interface of the first device when receiving the second chat message sent by the second device, wherein the first window is configured to display the second chat message;
  • the receiving module 910 is further configured to receive a fifth input of the second chat information
  • the sending module 930 is further used 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.
  • the target information sent by the target contact can be edited, the convenience of multi-person chat can be improved.
  • the receiving module 910 is further configured to receive a sixth input of the first target contact identifier when the first target contact identifier is displayed in the second preset area of the chat interface of the first device;
  • the sending module 930 is also used to pause sending the chat interface to the second device in response to the sixth input.
  • a user using the first device can control the first device to pause sharing the chat interface with the target contact at any time, thereby improving the convenience of information sharing.
  • the first target contact is identified as multiple;
  • the receiving module 910 is further configured to receive a seventh input of selecting at least one second target contact identifier from the plurality of first target contact identifiers;
  • the processing module is further configured to generate a contact group identifier in response to a seventh input, wherein the contact group identifier includes at least one second target contact identifier;
  • the receiving module 910 is further configured to receive a sixth input of a contact group identifier
  • the sending module 930 is further configured to, in response to a sixth input, suspend sending the chat interface to the second device associated with each second target contact identifier.
  • the user after the user establishes a contact group identifier on the first device, he can conveniently control the first device to pause sharing the chat interface with the second device associated with multiple second target contact identifiers through a sixth input, thereby improving the convenience of information sharing.
  • the sending module 930 is also used to stop sending the chat interface to the second device associated with the first target contact identifier when an eighth input to the first target contact identifier is received; or when feedback information sent by the second device associated with the first target contact identifier is received.
  • the user of the first device can control the first device to pause sharing the chat interface with the target contact at any time, thereby improving the convenience of information sharing.
  • the second device can also terminate the sharing of the chat interface at any time, thereby improving the convenience and flexibility of the chat interface sharing process.
  • the receiving module 910 is further configured to include the third chat information in the chat interface.
  • a ninth input of the third chat information and the first target contact identifier is received, wherein 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 used to display a prompt message on the chat interface in response to the ninth input, where the prompt message is used to prompt the target contact to view the third chat message displayed on the second device.
  • the target contact is prevented from missing the third chat information during the chat interface displayed on the second device.
  • the data sharing device in the embodiment of the present application can be an electronic device or a component in the electronic device, such as an integrated circuit or a chip.
  • the electronic device can be a terminal or other devices other than a terminal.
  • the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR)/virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc.
  • It can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and the embodiment of the present application is not specifically limited.
  • Network Attached Storage NAS
  • PC personal computer
  • TV television
  • teller machine a self-service machine
  • 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 operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
  • 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. To avoid repetition, it will not be described again here.
  • an embodiment of the present application also provides an electronic device 1000, including a processor 1001 and a memory 1002, and the memory 1002 stores programs or instructions that can be executed on the processor 1001.
  • the program or instructions are executed by the processor 1001
  • the various steps of the above-mentioned data sharing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, they are not repeated here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 11 is a schematic diagram of the 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, and a processor 1110 and other components.
  • the electronic device 1100 can also include a power source (such as a battery) for supplying power to each component, and the power source can be logically connected to the processor 1110 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system.
  • a power source such as a battery
  • the electronic device structure shown in FIG9 does not constitute a limitation on the electronic device, and the electronic device can include more or fewer components than shown in the figure, or combine certain components, or arrange components differently, which will not be described in detail here.
  • An input unit 1104 configured to receive a first input when the first device displays a chat interface, wherein 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, configured to display 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 used to send a chat interface to the second device associated with the first target contact identifier in response to the second input, so that the second device associated with the first target contact identifier displays the chat interface, and the chat interface is used to display the first chat information between the first contact and at least one second contact in real time.
  • the user when the first device displays a chat interface, the user can make the first device associated with the first contact display at least one third contact identifier by making a first input in the chat interface, thereby facilitating the user to select the first target contact.
  • 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 at least one second contact in real time, so that the first target contact can understand the chat content conveniently and in real time.
  • the chat interface is a chat interface corresponding to the first application; the device further includes:
  • the display unit 1106 is further configured to display at least one application identifier in the first preset area when the chat interface receives a third input, each application identifier being associated with a second application program;
  • the input unit 1104 is further configured to receive a fourth input for selecting a target application identifier from at least one application identifier;
  • Processor 1110 configured to obtain, in response to a fourth input, at least one second contact in a target application corresponding to the target application identifier
  • the processor 1110 is configured to use the virtual contact identifier corresponding to each second contact as the third contact identifier.
  • chat interface when a chat interface is displayed, since the user can access contacts in other applications, rapid sharing of chat content across applications can be achieved.
  • the display unit 1106 is further configured to display a first window in the chat interface of the first device when receiving the second chat message sent by the second device, wherein the first window is configured to display the second chat message;
  • the input unit 1104 is 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 the fifth input.
  • the target information sent by the target contact can be edited, the convenience of multi-person chat can be improved.
  • the input unit 1104 is further configured to receive a sixth input of the first target contact identifier when the first target contact identifier is displayed in the second preset area of the chat interface of the first device;
  • the radio frequency unit 1101 is further used to pause sending the chat interface to the second device in response to a sixth input.
  • a user using the first device can control the first device to pause sharing the chat interface with the target contact at any time, thereby improving the convenience of information sharing.
  • the first target contact is identified as multiple;
  • 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;
  • the processor 1110 is further configured to generate a contact group identifier in response to a seventh input, wherein the contact group identifier includes at least one second target contact identifier;
  • the input unit 1104 is further configured to receive a sixth input of a contact group identifier
  • the radio frequency unit 1101 is further configured to, in response to a sixth input, suspend sending the chat interface to the second device associated with each second target contact identifier.
  • the user after the user establishes a contact group identifier on the first device, he can conveniently control the first device to pause sharing the chat interface with the second device associated with multiple second target contact identifiers through a sixth input, thereby improving the convenience of information sharing.
  • the radio frequency unit 1101 is also used to stop sending the chat interface to the second device associated with the first target contact identifier when an eighth input to the first target contact identifier is received; or when feedback information sent by the second device associated with the first target contact identifier is received.
  • the user of the first device can control the first device to pause sharing the chat interface with the target contact at any time, thereby improving the convenience of information sharing.
  • 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.
  • the input unit 1104 is further used to receive a ninth input of the third chat information and the first target contact identifier when the chat interface includes 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 identifier;
  • the display unit 1106 is further configured to display a prompt message on the chat interface in response to the ninth input, where the prompt message is configured to prompt the target contact to view the third chat message displayed on the second device.
  • the target contact is prevented from missing the third chat information during the chat interface displayed on the second device.
  • the input unit 1104 may include a graphics processing unit (GPU) 11041 and a microphone 11042.
  • the graphics processor 11041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
  • the display unit 1106 may include a display panel 11061, which may be configured in the form of a liquid crystal display, an organic light emitting diode, etc.
  • the element 1107 includes at least one of a touch panel 11071 and other input devices 11072.
  • the touch panel 11071 is also called a touch screen.
  • the touch panel 11071 may include two parts: a touch detection device and a touch controller.
  • Other input devices 11072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be described in detail here.
  • the memory 1109 can be used to store software programs and various data.
  • the memory 1109 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instructions required for at least one function (such as a sound playback function, an image playback function, etc.), etc.
  • the memory 1109 may include a volatile memory or a non-volatile memory, or the memory 1109 may include both volatile and non-volatile memories.
  • the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.
  • the volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM).
  • the memory 1109 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.
  • the processor 1110 may include one or more processing units; optionally, the processor 1110 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1110.
  • An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored.
  • a program or instruction is stored.
  • the various processes of the above-mentioned data sharing method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated 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 disk or an optical disk.
  • An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned data sharing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
  • the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
  • An embodiment of the present application provides a computer program product, which is stored in a storage medium.
  • the program product is executed by at least one processor to implement the various processes of the above-mentioned data sharing method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
  • the above embodiment method can be implemented by means of software plus a necessary general hardware platform, or by hardware, but in many cases the former is a better implementation method.
  • the technical solution of the present application, or the part that contributes to the prior art can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM/RAM, disk, CD) It includes several instructions for enabling a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Human Computer Interaction (AREA)
  • Computing Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本申请公开了一种数据共享方法、装置、电子设备及介质,属于互联网技术领域。数据共享方法包括:第一设备在显示聊天界面的情况下,接收第一输入,其中,聊天界面为第一联系人与至少一个第二联系人的聊天界面,第一联系人关联第一设备;响应于第一输入,显示至少一个第三联系人标识;接收从至少一个第三联系人标识中选取第一目标联系人标识的第二输入;响应于第二输入,向第一目标联系人标识关联的第二设备发送聊天界面,以使第一目标联系人标识关联的第二设备显示聊天界面,聊天界面用于实时显示第一联系人与至少一个第二联系人之间的第一聊天信息。

Description

数据共享方法、装置、电子设备及介质
相关申请的交叉引用
本申请主张2022年10月31日在中国提交的中国专利申请202211344048.5的优先权,其全部内容通过引用包含于此。
技术领域
本申请属于互联网技术领域,具体涉及一种数据共享方法、装置、电子设备及介质。
背景技术
随着通信技术的高速发展,电子设备的应用越来越广泛。例如,通过电子设备的聊天应用,用户可以方便地与其他用户进行沟通和交流,为用户提供了社交便利。但目前在用户使用聊天应用进行聊天时,若想要将聊天内容分享给其他用户,需要依次选择待分享的内容,再找到目标用户标识,才能将待分享内容分享给目标用户,从而在聊天应用内完成分享,整个过程操作繁琐,且实时性差。
发明内容
本申请实施例的目的是提供一种数据共享方法、装置、电子设备及介质,能够使聊天内容的分享过程操作简单,且实时性高。
第一方面,本申请实施例提供了一种数据共享方法,该方法包括:
第一设备在显示聊天界面的情况下,接收第一输入,其中,聊天界面为第一联系人与至少一个第二联系人的聊天界面,第一联系人关联第一设备;
响应于第一输入,显示至少一个第三联系人标识;
接收从至少一个第三联系人标识中选取第一目标联系人标识的第二输入;
响应于第二输入,向第一目标联系人标识关联的第二设备发送聊天界面, 以使第一目标联系人标识关联的第二设备显示聊天界面,聊天界面用于实时显示第一联系人与至少一个第二联系人之间的第一聊天信息。
第二方面,本申请实施例提供了一种数据共享装置,该装置包括:
接收模块,用于在显示第一聊天界面的情况下,接收到第一输入;
显示模块,用于响应于第一输入,显示至少一个第一联系人标识;
接收模块,用于第一设备在显示聊天界面的情况下,接收第一输入,其中,聊天界面为第一联系人与至少一个第二联系人的聊天界面,第一联系人关联第一设备;
显示模块,用于响应于第一输入,显示至少一个第三联系人标识;
接收模块,还用于接收从至少一个第三联系人标识中选取第一目标联系人标识的第二输入;
发送模块,用于响应于第二输入,向第一目标联系人标识关联的第二设备发送聊天界面,以使第一目标联系人标识关联的第二设备显示聊天界面,聊天界面用于实时显示第一联系人与至少一个第二联系人之间的第一聊天信息。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器和存储器,存储器存储可在处理器上运行的程序或指令,程序或指令被处理器执行时实现如第一方面的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,可读存储介质上存储程序或指令,程序或指令被处理器执行时实现如第一方面的方法的步骤。
第五方面,本申请实施例提供了一种芯片,芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现如第一方面的方法。
第六方面,本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如第一方面的方法。
根据本申请实施例,第一设备在显示聊天界面时,用户通过对聊天界面中进行第一输入,可以使第一联系人关联的第一设备显示至少一个第三联系人标识,从而方便用户选择第一目标联系人。在用户通过第二输入从至少一个第三联系人标识中选取第一目标联系人标识后,第一设备可以直接向第一目标联系 人关联的第二设备发送聊天界面,第二设备接收到的聊天界面可以实时显示第一联系人与至少一个第二联系人之间的第一聊天信息,由此第一目标联系人可以方便、实时地了解聊天内容。
附图说明
图1是本申请实施例提供的一种数据共享方法的流程示意图;
图2是本申请实施例提供的一种第一聊天界面示意图;
图3是本申请实施例提供一种聊天界面共享示意图;
图4是本申请实施例提供的一种显示应用标识的示意图;
图5是本申请实施例提供的一种第一窗口的示意图;
图6是本申请实施例提供的一种编辑操作的示意图;
图7是本申请实施例提供的一种第一设备显示第一目标联系人的示意图;
图8是本申请实施例提供的一种生成联系人分组标识的示意图;
图9是本申请实施例提供的一种视频拍摄装置的结构示意图;
图10是本申请实施例提供的一种电子设备的结构示意图;
图11是本申请实施例提供的另一种电子设备的硬件结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及 权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
随着通信技术的高速发展,电子设备的应用越来越广泛。例如,通过电子设备的聊天应用,用户可以方便地与其他用户进行沟通和交流,为用户提供了社交便利。但目前在用户使用聊天应用进行聊天时,若想要将聊天内容分享给其他用户,需要依次选择待分享的内容,再找到目标对象,才能在聊天应用内进行分享,整个过程操作繁琐,且实时性差。
针对上述问题,本申请实施例提供了一种数据共享方法、装置、电子设备及介质,能够使聊天内容的分享过程操作简单,且实时性高。下面结合附图,通过具体的实施例及其应用场景对本申请实施例进行详细地说明。
图1是本申请实施例提供的一种数据共享方法的流程示意图,结合图1所示,数据共享可以包括步骤110至步骤140。
步骤110,第一设备在显示聊天界面的情况下,接收第一输入。
其中,聊天界面为第一联系人与至少一个第二联系人的聊天界面,第一联系人关联第一设备,聊天界面与第一联系人关联。
具体地,第一联系人即使用第一设备的进行聊天的用户,例如,在第一联系人与至少一个第二联系人的聊天界面中,显示内容中可以包括第一联系人使用第一设备发送的信息,显示内容还可以包括第一设备接收到的其他设备发送的信息。示例性的,第一联系人关联的第一设备为设备A,其他设备为设备B,在聊天界面中可以显示设备A和设备B发出的信息。聊天界面还可以是第一联系人与多个第二联系人聊天的聊天界面。即,聊天界面为群聊界面。在群聊界面的显示内容中可以包括第一设备和多个其他电子设备发送的信息。
在聊天界面的显示内容中信息的数量可以包括一个,也可以包括多个。信息类型可以是文字、图片、表情包、音频、视频、文件等,在此并不具体限定。
作为一个具体的示例,聊天界面中可以包括信息显示区域和信息编辑区域。以文字信息为例,在信息编辑区域中,用户可以在信息编辑区域输入需要发出的文字,在文字编辑完成后,可以通过电子设备将文字发出,在聊天界面 显示该文字。在信息编辑区域还可以包括预设控件,通过预设控件可以执行相应的功能。例如,通过图片控件,可以选择电子设备中存储的图片、视频作为待发送的信息;通过文件控件,可以选择电子设备中存储的文件作为待发送的信息。在信息发出后,在聊天界面可以显示该信息。
在本申请实施例中,第一输入可以为控制第一设备显示联系人选取窗口的输入。
在联系人选取窗口中可以包括多个第三联系人标识。其中,每个第三联系人标识所关联的第三联系人为与第一联系人相关的联系人。具体地,以聊天界面为第一联系人使用第一设备中的第一应用程序进行聊天的聊天界面为例,第三联系人为第一应用程序中与第一联系人相关的联系人。例如,第三联系人与第一联系人互为好友关系;又例如,第三联系人为与第一联系人进行过临时会话的联系人,其中,第三联系人与第一联系人的临时会话,例如是第三联系人与第一联系人还未与第一联系人建立好友关系时,第一联系人向三联系人发送过好友添加请求的会话。
步骤120,响应于第一输入,显示至少一个第三联系人标识。
示例性的,可以预先设置开启联系人选取窗口的关键词。第一输入可以是用户在信息编辑区域输入关键词,在用户在信息编辑区域输入关键词后,在聊天界面显示一个联系人选取窗口,在联系人选取窗口中可以显示至少一个第三联系人标识。图2是本申请实施例提供的一种聊天界面示意图,在聊天界面201中的显示内容包括第一联系人202与第二联系人203的聊天信息。
在又一示例中,第一输入还可以是触控手势输入。触控手势可以为针对显示屏中任意位置或指定位置的点击手势、长按手势、双击手势、滑动手势等等,用户可以根据使用需求预先设置,在此并不具体限定。当用户对第一设备输入触控手势后,在第一设备的聊天界面弹出一个联系人选取窗口,在联系人选取窗口中可以显示至少一个第三联系人标识。其中,第三联系人标识可以为头像、昵称等等。
继续结合图2所示,在聊天界面201中包括第一联系人202与第二联系人 203的聊天信息。在联系人选取窗口中,可以包括多个第三联系人的第三联系人标识,第三联系人标识例如图2所示的“联系人A”、“联系人B”、“联系人C”,以及“联系人D”。
步骤130,接收从所述至少一个第三联系人标识中选取第一目标联系人标识的第二输入。
具体地,第二输入是用于选取第三联系人标识的输入。第二输入具体可以是预设的触控手势输入。触控手势可以为针对显示屏中任意位置或指定位置的点击手势、长按手势、双击手势、滑动手势等等,用户可以根据使用需求预先设置,在此并不具体限定。
用户通过对第一设备进行第二输入,可以从显示至少一个第三联系人标识中选取第一目标联系人标识。示例性的,如图2所示,选取“联系人C”作为第一目标联系人标识,第二输入可以是长按和滑动手势输入,通过长按“联系人C”,将“联系人C”拖动至对聊天内容的显示区域,实现选取“联系人C”作为第一目标联系人标识。
在选取第一目标联系人标识后,电子设备可以执行步骤140。
步骤140,响应于第二输入,向第一目标联系人标识关联的第二设备发送聊天界面,以使第一目标联系人标识关联的第二设备显示聊天界面。
其中,聊天界面用于实时显示第一联系人与至少一个第二联系人之间的第一聊天信息。
在一些实施例中,第一目标联系人的数量可以为一个,也可以为多个。当存在多个目标联系人时,可以将聊天界面分别发送给每个第一目标联系人标识关联的第二设备。第一目标联系人标识关联的第二设备是第一目标联系人所使用的电子设备。
示例性的,图3是本申请实施例提供一种聊天界面共享示意图。结合图3所示,第一目标联系人的关联的第二设备接收到聊天界面后,第一目标联系人可以实时在第二设备中查看第一联系人202与第二联系人203的聊天信息。即,当第一联系人202与第二联系人203之间产生新的聊天信息时,新产生的聊天 信息可以实时共享至第二设备,并可以在第二设备接收到的聊天界面中显示。
根据本申请实施例,第一设备在显示聊天界面时,用户通过对聊天界面中进行第一输入,可以使第一联系人关联的第一设备显示至少一个第三联系人标识,从而方便用户选择第一目标联系人。在用户通过第二输入从至少一个第三联系人标识中选取第一目标联系人标识后,第一设备可以直接向第一目标联系人关联的第二设备发送聊天界面,第二设备接收到的聊天界面可以实时显示第一联系人与至少一个第二联系人之间的第一聊天信息,由此第一目标联系人可以方便、实时地了解聊天内容。
在一些实施例中,聊天界面可以为第一应用程序对应的聊天界面;具体地,在显示至少一个第三联系人标识之前,本申请实施例可以包括步骤201至步骤204。
步骤201,在聊天界面接收到第三输入的情况下,在第一预设区域显示至少一个应用标识,每个应用标识关联一个第二应用程序。
步骤202,接收从至少一个应用标识中选取目标应用标识的第四输入。
步骤203,响应于第四输入,获取目标应用标识对应的目标应用程序中的至少一个第二联系人。
步骤204,将每个第二联系人对应的虚拟联系人标识作为第三联系人标识。
可选地,第三输入可以是用于显示应用标识的输入,可以是对聊天界面的输入。第四输入可以是用于选取目标应用程序的输入。
示例性地,第一联系人关联的第一设备在接收到第三输入后,第一设备可以在显示屏的第一预设区域显示应用标识选取窗口。在应用标识选取窗口中可以显示至少一个应用标识。其中,每个应用标识关联一个第二应用程序。应用标识可以是图标、文字等。
在一个示例中,第三输入具体可以是对第二应用程序的调用控件的输入。在聊天界面中包括信息编辑区域的情况下,在信息编辑可以显示第二应用程序的调用控件,用户通过对第二应用程序的调用控件进行第三输入,第一设备响应于第三输入在显示屏的第一预设区域显示应用标识选取窗口,在应用标识选 取窗口中显示应用标识。在又一示例中,第三输入还可以是开启分屏模式的输入,第一设备响应于第三输入,开启分屏模式,在分屏模式下,显示屏的第一预设区域显示应用标识选取窗口,显示屏的第二预设区域显示聊天界面。
图4是本申请实施例提供的一种显示应用标识的示意图,结合图4所示,在应用标识选取窗口可以包括应用标识。在显示应用标识后,通过第四输入从应用标识中选取目标应用标识。结合图4所示,用户可以选取APP6作为目标应用标识。
在一些实施例中,在确定目标应用标识后,第一应用程序需要获取目标应用标识对应的目标应用程序中的第二联系人。具体地,第一应用程序可以向目标应用程序请求访问联系人列表,在目标应用程序同意授权后,第一应用程序可以访问目标应用程序的联系人列表,由此,第一应用程序可以获取到目标应用标识对应的目标应用程序中的第二联系人。
其中,目标应用程序的联系人列表可以包括至少一个第二联系人。第一应用程序在访问目标应用程序中的联系人列表后,可以为目标应用程序的每个第二联系人生成一个虚拟联系人标识。示例性的,涉及上述步骤120,虚拟联系人标识作为第三联系人标识在第一设备中进行显示。
当目标应用程序中的联系人作为第一目标联系人时,结合图3所示,第一目标联系人可以实时在与其关联的第二设备可以接收到第一联系人202与第二联系人203的聊天界面,并在第一联系人202与第二联系人203的聊天界面中查看第一联系人202与第二联系人203的聊天消息的聊天信息。即,当第一联系人202与第二联系人203的之间产生新的聊天信息时,新产生的聊天信息可以实时共享至第一目标联系人接收到的聊天界面中。
根据本申请实施例,在显示聊天界面的情况下,由于用户可以访问其他应用程序中的联系人,从而实现跨应用程序之间的聊天内容快速共享。
作为一个具体的示例,第一设备向第一目标联系人关联的第二设备发送聊天界面后,第一目标联系人可以通过第二设备接收共享通知。可选地,第一目标联系人可以通过点击共享通知,打开聊天界面。第二设备显示在共享的聊天 界面时,聊天界面中也可以包括信息编辑区域,第一目标联系人可以在信息编辑区域编辑需要发送的聊天信息。在聊天信息编辑完成后,第一目标联系人可以通过第二设备向第一设备发送聊天信息。
在一些实施例中,第一设备在向第一目标联系人标识关联的第二设备发送聊天界面之后,方法还包括:在接收到第二设备发送的第二聊天信息的情况下,在第一设备的聊天界面中显示第一窗口,第一窗口用于显示第二聊天信息;接收对第二聊天信息的第五输入;响应于第五输入,在第一设备的聊天界面中显示第一目标联系人标识和第二聊天信息。
示例性的,图5是本申请实施例提供的一种第一窗口的示意图。结合图5(a)所示,第一目标联系人502可以使用与其关联的第二设备向第一设备发送第二聊天信息。第一设备接收到第二聊天信息后,第一设备可以在第一联系人202与第二联系人203的聊天界面201中显示第一窗口501,其中,在第一窗口501中可以显示第二设备发送的第二聊天信息。
可选地,第五输入是用于发送第二聊天信息的输入。示例性的,用户在第一设备的聊天界面中看到第二聊天信息后,可以通过对第二聊天信息进行第五输入,将第二聊天信息发送到在第一联系人202与第二联系人203的聊天界面中。具体地,在第一联系人202与第二联系人203的聊天界面中可以显示第一目标联系人标识和第二聊天信息。结合图5(b)所示,在第二聊天信息接收到第五输入后,在第一联系人202与第二联系人203的聊天界面可以显示第一目标联系人标识502和第二聊天信息“那里需要提前预约吗”。
可选地,在接收到对第二聊天信息的第五输入后,将第二聊天信息以第一目标联系人标识为发送方的方式显示在第一设备的聊天界面中,从而可以提高第一目标联系人的参与度。
根据本申请实施例,使得目标联系人直接可以参与到聊天中,提高多人聊天的便利性。
在一些实施例中,用户对第一设备中显示的第二聊天信息进行第五输入具体还可以包括对第二聊天信息的编辑输入。示例性的,图6是本申请实施例提 供的一种编辑操作的示意图,在第一窗口501中可以包括选择第二聊天信息的控件,例如“引用”控件601。在编辑操作中可以包括选择第二聊天信息,第二聊天信息被选择后,信息编辑区域可以显示第二聊天信息。示例性的,在信息编辑区域,用户可以对第二聊天信息进行增加、删除、修改等操作,在此并不具体限制。在对第二聊天信息编辑完成后,可以得到编辑后的第二聊天信息。相应的,向第一聊天界面发送编辑后的第二聊天信息和第一目标联系人标识。
根据本申请实施例,由于可以对目标联系的发出的目标信息进行编辑,从而可以提高多人聊天的便利性。
在一些实施例中,在第一设备将聊天界面发送给第二设备后,在第一设备的聊天界面的第二预设区域可以显示第一目标联系人标识。示例性的,图7是本申请实施例提供的一种第一设备显示第一目标联系人的示意图,结合图7所示,第一界面的第二预设区域710中可以显示第一目标联系人标识,图7示出了当存在多个第一目标联系人标识的情况,第二预设区域710显示有第一目标联系人标识701、第一目标联系人标识702和第一目标联系人标识703。
根据本申请实施例,向目标联系人标识关联的目标联系人共享第一聊天界面之后,通过第一设备显示聊天界面中的第二预设区域显示第一目标联系人标识,从而可以提醒用户当前聊天界面的共享状态,以及共享对象。可选地,在第一设备的聊天界面的共享状态时,用户还可以选择不显示目标联系人标识,以满足用户隐私性需求。
在一些实施例中,在第一设备将聊天界面发送给第二设备后,第一设备还可以执行以下步骤:在第一设备的聊天界面的第二预设区域显示第一目标联系人标识的情况下,接收对第一目标联系人标识的第六输入;响应于第六输入,暂停向第二设备发送聊天界面。
具体地,第六输入为控制第一设备暂停向第二设备发送聊天界面的输入。当第一目标联系人标识有多个时,使用第一设备的用户可从中对一个第一目标联系人标识进行第六输入,使用第一设备的用户也可以分别对多个第一目标联系人标识进行第六输入,从而控制第一设备暂停向接收到第六输入的第一目标 联系人标识关联的第二设备发送聊天界面。
示例性的,第六输入可以包括用户对第一目标联系人标识长按和拖动的组合输入,例如,用户长按第一目标联系人标识,并将第一目标联系人标识向预设方向拖动,实现暂停向第一目标联系人标识关联的第二设备发送聊天界面。又例如,第六输入也可以包括第一目标联系人标识的控制控件的输入。控制控件例如暂停控件等。用户通过对叉号控件或者暂停控件进行点击输入,从而控制第一设备暂停向第一目标联系人标识关联的第二设备发送聊天界面。第六输入的具体输入形式可以根据需要进行具体设置,在此不一一列举。
根据本申请实施例,使用第一设备的用户可以随时控制第一设备暂停向目标联系人共享聊天界面,提高信息共享的便利性。
在一些实施例中,第一目标联系人标识为多个,在接收对第一目标联系人标识的第六输入之前,方法还包括:接收从多个第一目标联系人标识中选取至少一个第二目标联系人标识的第七输入;响应于第七输入,生成联系人分组标识,其中,联系人分组标识包括至少一个第二目标联系人标识。
相应的,接收对第一目标联系人标识的第六输入,具体可以包括:接收对联系分组标识的第六输入;以及,响应于第六输入,暂停向第二设备发送聊天界面,具体可以包括:响应于第六输入,暂停向每个第二目标联系人标识关联的第二设备发送聊天界面。
其中,第七输入为生成联系人分组标识的输入。示例性的,第一设备的聊天界面中显示有多个第一目标联系人标识,用户可以通过第七输入,从多个第一目标联系人标识中进行标识选取,其中,被选取的第一目标联系人标识即为第二目标联系标识。
示例性的,用户对多个第一目标联系人标识的第七输入具体可以包括将一个第一目标联系人标识拖动到另一个第一目标联系人标识的所在位置,从而可以生成一个联系人分组标识。图8是本申请实施例提供的一种生成联系人分组标识的示意图,结合图8(a)所示,用户通过将第一设备中显示的第一目标联系人标识701拖动至第一目标联系人标识703所在的位置,生成如图8(b)所 示的联系人分组标识704。
在生成联系人分组标识后,使用第一设备的用户可以对联系人分组标识进行第六输入。当联系人分组标识接收到第六输入时,第一设备暂停向联系人分组标识中包括的第二目标联系人标识关联的第二设备。
根据本申请实施例,用户在第一设备建立联系人分组标识后,可以方便的通过一次第六输入,方便地控制第一设备暂停向多个第二目标联系人标识关联的第二设备共享聊天界面,提高信息共享的便利性。
在一些实施例中,在向第一目标联系人标识关联的第二设备发送聊天界面之后,方法还包括:在接收到对第一目标联系人标识的第八输入的情况下;或者,在接收到第一目标联系人标识关联的第二设备发送的反馈信息的情况下,停止向第一目标联系人标识关联的第二设备发送聊天界面中显示的第一聊天信息。
具体地,第八输入为控制第一设备停止向第二设备发送聊天界面的输入,用户通过对第一设备中的第一联系人标识进行第八输入后,可以结束本次向第二设备共享聊天界面。
可选地,使用第二设备的用户可以主动结束观看共享界面。例如,在第二设备退出显示的聊天界面后,第二设备向第一设备发送反馈信息,第一设备在接收到反馈信息后,从而停止继续向第二设备发送聊天界面。
根据本申请实施例,使用第一设备的用户可以随时控制第一设备暂停向目标联系人共享聊天界面,提高信息共享的便利性。第二设备也可以随时终止共享聊天界面,从而提高聊天界面共享过程的便利性和灵活性。
在一些实施例中,在向第一目标联系人标识关联的第二设备发送聊天界面之后,还可以包括以下步骤:在聊天界面包括第三聊天信息的情况下,接收对第三聊天信息和第一目标联系人标识的第九输入,其中,第三聊天信息为与目标联系人相关的信息,目标联系人对应第一目标联系人标识;响应于第九输入,在聊天界面显示提示信息,提示信息用于提示目标联系人查看第二设备显示的第三聊天信息。
示例性的,与目标联系人相关的信息,是任务分配信息、物品分发信息等需要目标联系着重关注的信息,用户可以同时对第一设备显示的第一目标联系人标识和第三聊天信息进行第九输入,以生成提示信息,从而提醒目标联系人查看第二设备显示的第三聊天信息。
作为一个具体地示例,用户通过将第一设备显示的第一联系人标识拖动至第三聊天信息的所在位置,触发生成提示信息;又例如,用户通过长按第一设备显示第三聊天信息后,在第三聊天信息的关联位置显示第一目标联系人标识,通过点击关联位置显示的第一目标联系人标识后,触发生成提示信息,其中,第三聊天信息的关联位置可以是第三聊天信息上方、下方等与第三聊天信息相邻的显示位置,在此并不具体限定。
可选地,提示信息可以通过预设显示效果进行显示,预设显示效果例如第三聊天信息的气泡窗口振动显示、第三聊天消息中的字体采用加粗的方式显示等等,在此并不具体限定。
根据本申请实施例,通过在聊天界面中显示提示信息,在第二设备显示的聊天界面的过程中避免目标联系人漏查第三聊天信息。
本申请实施例提供的数据共享方法,执行主体可以为数据共享装置。本申请实施例中以数据共享装置执行数据共享的方法为例,说明本申请实施例提供的数据共享的装置。
图9是本申请实施例提供的一种数据共享装置的结构示意图。结合图9所示,数据共享装置包括:接收模块910、显示模块920和发送模块930。
接收模块910,用于第一设备在显示聊天界面的情况下,接收第一输入,其中,聊天界面为第一联系人与至少一个第二联系人的聊天界面,第一联系人关联第一设备;
显示模块920,用于响应于第一输入,显示至少一个第三联系人标识;
接收模块910,还用于接收从至少一个第三联系人标识中选取第一目标联系人标识的第二输入;
发送模块930,用于响应于第二输入,向第一目标联系人标识关联的第二 设备发送聊天界面,以使第一目标联系人标识关联的第二设备显示聊天界面,聊天界面用于实时显示第一联系人与至少一个第二联系人之间的第一聊天信息。
根据本申请实施例,第一设备在显示聊天界面时,用户通过对聊天界面中进行第一输入,可以使第一联系人关联的第一设备显示至少一个第三联系人标识,从而方便用户选择第一目标联系人。在用户通过第二输入从至少一个第三联系人标识中选取第一目标联系人标识后,第一设备可以直接向第一目标联系人关联的第二设备发送聊天界面,第二设备接收到的聊天界面可以实时显示第一联系人与至少一个第二联系人之间的第一聊天信息,由此第一目标联系人可以方便、实时的了解聊天内容。
在一些实施例中,聊天界面为第一应用程序对应的聊天界面;装置还包括:
显示模块920,还用于在聊天界面接收到第三输入的情况下,在第一预设区域显示至少一个应用标识,每个应用标识关联一个第二应用程序;
接收模块910,还用于接收从至少一个应用标识中选取目标应用标识的第四输入;
获取模块,用于响应于第四输入,获取目标应用标识对应的目标应用程序中的至少一个第二联系人;
处理模块,用于将每个第二联系人对应的虚拟联系人标识作为第三联系人标识。
根据本申请实施例,在显示聊天界面的情况下,由于用户可以访问其他应用程序中的联系人,从而实现跨应用程序之间的聊天内容快速共享。
在一些实施例中,显示模块920,还用于在接收到第二设备发送的第二聊天信息的情况下,在第一设备的聊天界面中显示第一窗口,第一窗口用于显示第二聊天信息;
接收模块910,还用于接收对第二聊天信息的第五输入;
发送模块930,还用于响应于第五输入,在第一设备的聊天界面中显示第一目标联系人标识和第二聊天信息。
根据本申请实施例,由于可以对目标联系的发出的目标信息进行编辑,从而可以提高多人聊天的便利性。
在一些实施例中,接收模块910,还用于在第一设备的聊天界面的第二预设区域显示第一目标联系人标识的情况下,接收对第一目标联系人标识的第六输入;
发送模块930,还用于响应于第六输入,暂停向第二设备发送聊天界面。
根据本申请实施例,使用第一设备的用户可以随时控制第一设备暂停向目标联系人共享聊天界面,提高信息共享的便利性。
在一些实施例中,第一目标联系人标识为多个;
接收模块910,还用于接收从多个第一目标联系人标识中选取至少一个第二目标联系人标识的第七输入;
处理模块,还用于响应于第七输入,生成联系人分组标识,其中,联系人分组标识包括至少一个第二目标联系人标识;
接收模块910,还用于接收对联系分组标识的第六输入;
发送模块930,还用于响应于第六输入,暂停向每个第二目标联系人标识关联的第二设备发送聊天界面。
根据本申请实施例,用户在第一设备建立联系人分组标识后,可以方便的通过一次第六输入,方便地控制第一设备暂停向多个第二目标联系人标识关联的第二设备共享聊天界面,提高信息共享的便利性。
在一些实施例中,发送模块930,还用于在接收到对第一目标联系人标识的第八输入的情况下;或者,在接收到第一目标联系人标识关联的第二设备发送的反馈信息的情况下,停止向第一目标联系人标识关联的第二设备发送聊天界面。
根据本申请实施例,使用第一设备的用户可以随时控制第一设备暂停向目标联系人共享聊天界面,提高信息共享的便利性。第二设备也可以随时终止共享聊天界面,从而提高聊天界面共享过程的便利性和灵活性。
在一些实施例中,接收模块910,还用于在聊天界面包括第三聊天信息的 情况下,接收对第三聊天信息和第一目标联系人标识的第九输入,其中,第三聊天信息为与目标联系人相关的信息,目标联系人对应第一目标联系人标识;
显示模块920,还用于响应于第九输入,在聊天界面显示提示信息,提示信息用于提示目标联系人查看第二设备显示的第三聊天信息。
根据本申请实施例,通过在聊天界面中显示提示信息,在第二设备显示的聊天界面的过程中避免目标联系人漏查第三聊天信息。
本申请实施例中的数据共享装置可以是电子设备,也可以是电子设备中的部件,例如集成电路或芯片。该电子设备可以是终端,也可以为除终端之外的其他设备。示例性的,电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、移动上网装置(Mobile Internet Device,MID)、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、机器人、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,还可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的数据共享装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。
本申请实施例提供的数据共享装置能够实现本申请数据共享方法各实施例实现的各个过程,为避免重复,这里不再赘述。
可选地,如图10所示,本申请实施例还提供一种电子设备1000,包括处理器1001和存储器1002,存储器1002上存储有可在处理器1001上运行的程序或指令,该程序或指令被处理器1001执行时实现上述数据共享方法实施例的各个步骤,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述的移动电子设备和非移动电子设备。
图11为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备1100包括但不限于:射频单元1101、网络模块1102、音频输出单元1103、输入单元1104、传感器1105、显示单元1106、用户输入单元1107、接口单元1108、存储器1109、以及处理器1110等部件。
本领域技术人员可以理解,电子设备1100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器1110逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图9中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
输入单元1104,用于第一设备在显示聊天界面的情况下,接收第一输入,其中,聊天界面为第一联系人与至少一个第二联系人的聊天界面,第一联系人关联第一设备;
显示单元1106,用于响应于第一输入,显示至少一个第三联系人标识;
输入单元1104,还用于接收从至少一个第三联系人标识中选取第一目标联系人标识的第二输入;
射频单元1101,用于响应于第二输入,向第一目标联系人标识关联的第二设备发送聊天界面,以使第一目标联系人标识关联的第二设备显示聊天界面,聊天界面用于实时显示第一联系人与至少一个第二联系人之间的第一聊天信息。
根据本申请实施例,第一设备在显示聊天界面时,用户通过对聊天界面中进行第一输入,可以使第一联系人关联的第一设备显示至少一个第三联系人标识,从而方便用户选择第一目标联系人。在用户通过第二输入从至少一个第三联系人标识中选取第一目标联系人标识后,第一设备可以直接向第一目标联系人关联的第二设备发送聊天界面,第二设备接收到的聊天界面可以实时显示第一联系人与至少一个第二联系人之间的第一聊天信息,由此第一目标联系人可以方便、实时的了解聊天内容。
在一些实施例中,聊天界面为第一应用程序对应的聊天界面;装置还包括:
显示单元1106,还用于在聊天界面接收到第三输入的情况下,在第一预设区域显示至少一个应用标识,每个应用标识关联一个第二应用程序;
输入单元1104,还用于接收从至少一个应用标识中选取目标应用标识的第四输入;
处理器1110,用于响应于第四输入,获取目标应用标识对应的目标应用程序中的至少一个第二联系人;
处理器1110,用于将每个第二联系人对应的虚拟联系人标识作为第三联系人标识。
根据本申请实施例,在显示聊天界面的情况下,由于用户可以访问其他应用程序中的联系人,从而实现跨应用程序之间的聊天内容快速共享。
在一些实施例中,显示单元1106,还用于在接收到第二设备发送的第二聊天信息的情况下,在第一设备的聊天界面中显示第一窗口,第一窗口用于显示第二聊天信息;
输入单元1104,还用于接收对第二聊天信息的第五输入;
射频单元1101,还用于响应于第五输入,在第一设备的聊天界面中显示第一目标联系人标识和第二聊天信息。
根据本申请实施例,由于可以对目标联系的发出的目标信息进行编辑,从而可以提高多人聊天的便利性。
在一些实施例中,输入单元1104,还用于在第一设备的聊天界面的第二预设区域显示第一目标联系人标识的情况下,接收对第一目标联系人标识的第六输入;
射频单元1101,还用于响应于第六输入,暂停向第二设备发送聊天界面。
根据本申请实施例,使用第一设备的用户可以随时控制第一设备暂停向目标联系人共享聊天界面,提高信息共享的便利性。
在一些实施例中,第一目标联系人标识为多个;
输入单元1104,还用于接收从多个第一目标联系人标识中选取至少一个第二目标联系人标识的第七输入;
处理器1110,还用于响应于第七输入,生成联系人分组标识,其中,联系人分组标识包括至少一个第二目标联系人标识;
输入单元1104,还用于接收对联系分组标识的第六输入;
射频单元1101,还用于响应于第六输入,暂停向每个第二目标联系人标识关联的第二设备发送聊天界面。
根据本申请实施例,用户在第一设备建立联系人分组标识后,可以方便的通过一次第六输入,方便地控制第一设备暂停向多个第二目标联系人标识关联的第二设备共享聊天界面,提高信息共享的便利性。
在一些实施例中,射频单元1101,还用于在接收到对第一目标联系人标识的第八输入的情况下;或者,在接收到第一目标联系人标识关联的第二设备发送的反馈信息的情况下,停止向第一目标联系人标识关联的第二设备发送聊天界面。
根据本申请实施例,使用第一设备的用户可以随时控制第一设备暂停向目标联系人共享聊天界面,提高信息共享的便利性。第二设备也可以随时终止共享聊天界面,从而提高聊天界面共享过程的便利性和灵活性。
在一些实施例中,输入单元1104,还用于在聊天界面包括第三聊天信息的情况下,接收对第三聊天信息和第一目标联系人标识的第九输入,其中,第三聊天信息为与目标联系人相关的信息,目标联系人对应第一目标联系人标识;
显示单元1106,还用于响应于第九输入,在聊天界面显示提示信息,提示信息用于提示目标联系人查看第二设备显示的第三聊天信息。
根据本申请实施例,通过在聊天界面中显示提示信息,在第二设备显示的聊天界面的过程中避免目标联系人漏查第三聊天信息。
应理解的是,本申请实施例中,输入单元1104可以包括图形处理器(Graphics Processing Unit,GPU)11041和麦克风11042,图形处理器11041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1106可包括显示面板11061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板11061。用户输入单 元1107包括触控面板11071以及其他输入设备11072中的至少一种。触控面板11071,也称为触摸屏。触控面板11071可包括触摸检测装置和触摸控制器两个部分。其他输入设备11072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
存储器1109可用于存储软件程序以及各种数据。存储器1109可主要包括存储程序或指令的第一存储区和存储数据的第二存储区,其中,第一存储区可存储操作系统、至少一个功能所需的应用程序或指令(比如声音播放功能、图像播放功能等)等。此外,存储器1109可以包括易失性存储器或非易失性存储器,或者,存储器1109可以包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDRSDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synch link DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DRRAM)。本申请实施例中的存储器1109包括但不限于这些和任意其它适合类型的存储器。
处理器1110可包括一个或多个处理单元;可选的,处理器1110集成应用处理器和调制解调处理器,其中,应用处理器主要处理涉及操作系统、用户界面和应用程序等的操作,调制解调处理器主要处理无线通信信号,如基带处理器。可以理解的是,上述调制解调处理器也可以不集成到处理器1110中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述数据共享方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述数据共享方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。
本申请实施例提供一种计算机程序产品,该程序产品被存储在存储介质中,该程序产品被至少一个处理器执行以实现如上述数据共享方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘) 中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (19)

  1. 一种数据共享方法,所述方法包括:
    第一设备在显示聊天界面的情况下,接收第一输入,其中,所述聊天界面为第一联系人与至少一个第二联系人的聊天界面,所述第一联系人关联所述第一设备;
    响应于所述第一输入,显示至少一个第三联系人标识;
    接收从所述至少一个第三联系人标识中选取第一目标联系人标识的第二输入;
    响应于所述第二输入,向所述第一目标联系人标识关联的第二设备发送所述聊天界面,以使所述第一目标联系人标识关联的第二设备显示所述聊天界面,所述聊天界面用于实时显示所述第一联系人与至少一个第二联系人之间的第一聊天信息。
  2. 根据权利要求1所述的方法,其中,所述聊天界面为第一应用程序对应的聊天界面;在所述显示至少一个第三联系人标识之前,所述方法还包括:
    在所述聊天界面接收到第三输入的情况下,在第一预设区域显示至少一个应用标识,每个所述应用标识关联一个第二应用程序;
    接收从所述至少一个应用标识中选取目标应用标识的第四输入;
    响应于所述第四输入,获取所述目标应用标识对应的目标应用程序中的至少一个第二联系人;
    将每个所述第二联系人对应的虚拟联系人标识作为所述第三联系人标识。
  3. 根据权利要求1所述的方法,其中,在所述向所述第一目标联系人标识关联的第二设备发送所述聊天界面之后,所述方法还包括:
    在接收到所述第二设备发送的第二聊天信息的情况下,在所述第一设备的聊天界面中显示第一窗口,所述第一窗口用于显示所述第二聊天信息;
    接收对所述第二聊天信息的第五输入;
    响应于所述第五输入,在所述第一设备的聊天界面中显示所述第一目标联系人标识和所述第二聊天信息。
  4. 根据权利要求1所述的方法,其中,在所述向所述第一目标联系人标识关联的第二设备发送所述聊天界面之后,所述方法还包括:
    在所述第一设备的聊天界面的第二预设区域显示所述第一目标联系人标识的情况下,接收对所述第一目标联系人标识的第六输入;
    响应于所述第六输入,暂停向所述第二设备发送所述聊天界面。
  5. 根据权利要求4所述的方法,其中,所述第一目标联系人标识为多个,在所述接收对所述第一目标联系人标识的第六输入之前,所述方法还包括:
    接收从所述多个第一目标联系人标识中选取至少一个第二目标联系人标识的第七输入;
    响应于所述第七输入,生成联系人分组标识,其中,所述联系人分组标识包括所述至少一个第二目标联系人标识;
    所述接收对所述第一目标联系人标识的第六输入,包括:
    接收对所述联系分组标识的第六输入;
    所述响应于所述第六输入,暂停向所述第二设备发送所述聊天界面,包括:
    响应于所述第六输入,暂停向每个所述第二目标联系人标识关联的第二设备发送所述聊天界面。
  6. 根据权利要求1所述的方法,其中,在所述向所述第一目标联系人标识关联的第二设备发送所述聊天界面之后,所述方法还包括:
    在接收到对所述第一目标联系人标识的第八输入的情况下;或者,在接收到所述第一目标联系人标识关联的第二设备发送的反馈信息的情况下,停止向所述第一目标联系人标识关联的第二设备发送所述聊天界面。
  7. 根据权利要求1所述的方法,其中,在所述向所述第一目标联系人标识关联的第二设备发送所述聊天界面之后,所述方法还包括:
    在所述聊天界面包括第三聊天信息的情况下,接收对所述第三聊天信息和所述第一目标联系人标识的第九输入,其中,所述第三聊天信息为与目标联系人相关的信息,所述目标联系人对应所述第一目标联系人标识;
    响应于所述第九输入,在所述聊天界面显示提示信息,所述提示信息用于提示所述目标联系人查看所述第二设备显示的所述第三聊天信息。
  8. 一种数据共享装置,所述装置包括:
    接收模块,用于第一设备在显示聊天界面的情况下,接收第一输入,其中,所述聊天界面为第一联系人与至少一个第二联系人的聊天界面,所述第一联系人关联所述第一设备;
    显示模块,用于响应于所述第一输入,显示至少一个第三联系人标识;
    所述接收模块,还用于接收从所述至少一个第三联系人标识中选取第一目标联系人标识的第二输入;
    发送模块,用于响应于所述第二输入,向所述第一目标联系人标识关联的第二设备发送所述聊天界面,以使所述第一目标联系人标识关联的第二设备显示所述聊天界面,所述聊天界面用于实时显示所述第一联系人与至少一个第二联系人之间的第一聊天信息。
  9. 根据权利要求8所述的装置,其中,所述聊天界面为第一应用程序对应的聊天界面;所述装置还包括:
    所述显示模块,还用于在所述聊天界面接收到第三输入的情况下,在第一预设区域显示至少一个应用标识,每个所述应用标识关联一个第二应用程序;
    所述接收模块,还用于接收从所述至少一个应用标识中选取目标应用标识的第四输入;
    获取模块,还用于响应于所述第四输入,获取所述目标应用标识对应的目 标应用程序中的至少一个第二联系人;
    处理模块,用于将每个所述第二联系人对应的虚拟联系人标识作为所述第三联系人标识。
  10. 根据权利要求8所述的装置,其中,
    所述显示模块,还用于在接收到所述第二设备发送的第二聊天信息的情况下,在所述第一设备的聊天界面中显示第一窗口,所述第一窗口用于显示所述第二聊天信息;
    所述接收模块,还用于接收对所述第二聊天信息的第五输入;
    所述发送模块,还用于响应于所述第五输入,在所述第一设备的聊天界面中显示所述第一目标联系人标识和所述第二聊天信息。
  11. 根据权利要求8所述的装置,其中,
    所述接收模块,还用于在所述第一设备的聊天界面的第二预设区域显示所述第一目标联系人标识的情况下,接收对所述第一目标联系人标识的第六输入;
    所述发送模块,还用于响应于所述第六输入,暂停向所述第二设备发送所述聊天界面。
  12. 根据权利要求11所述的装置,其中,所述第一目标联系人标识为多个;
    所述接收模块,还用于接收从所述多个第一目标联系人标识中选取至少一个第二目标联系人标识的第七输入;
    处理模块,还用于响应于所述第七输入,生成联系人分组标识,其中,所述联系人分组标识包括所述至少一个第二目标联系人标识;
    所述接收模块,还用于接收对所述联系分组标识的第六输入;
    所述发送模块,还用于响应于所述第六输入,暂停向每个所述第二目标联系人标识关联的第二设备发送所述聊天界面。
  13. 根据权利要求8所述的装置,其中,
    所述发送模块,还用于在接收到对所述第一目标联系人标识的第八输入的情况下;或者,在接收到所述第一目标联系人标识关联的第二设备发送的反馈信息的情况下,停止向所述第一目标联系人标识关联的第二设备发送所述聊天界面。
  14. 根据权利要求8所述的装置,其中,
    所述接收模块,还用于在所述聊天界面包括第三聊天信息的情况下,接收对所述第三聊天信息和所述第一目标联系人标识的第九输入,其中,所述第三聊天信息为与目标联系人相关的信息,所述目标联系人对应所述第一目标联系人标识;
    所述显示模块,还用于响应于所述第九输入,在所述聊天界面显示提示信息,所述提示信息用于提示所述目标联系人查看所述第二设备显示的所述第三聊天信息。
  15. 一种电子设备,包括处理器和存储器,所述存储器存储可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-7任一项所述的数据共享方法的步骤。
  16. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-7任一项所述的数据共享方法的步骤。
  17. 一种电子设备,被配置用于实现如权利要求1-7任一项所述的数据共享方法。
  18. 一种芯片,包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现如权利要求1-7任一项所述的数据共享方法。
  19. 一种计算机程序产品,所述计算机程序产品中的指令由电子设备的处理器执行时,使得所述电子设备执行如权利要求1-7任一项所述的数据共享方法。
PCT/CN2023/127034 2022-10-31 2023-10-27 数据共享方法、装置、电子设备及介质 WO2024093815A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202211344048.5A CN115695355A (zh) 2022-10-31 2022-10-31 数据共享方法、装置、电子设备及介质
CN202211344048.5 2022-10-31

Publications (1)

Publication Number Publication Date
WO2024093815A1 true WO2024093815A1 (zh) 2024-05-10

Family

ID=85045893

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/127034 WO2024093815A1 (zh) 2022-10-31 2023-10-27 数据共享方法、装置、电子设备及介质

Country Status (2)

Country Link
CN (1) CN115695355A (zh)
WO (1) WO2024093815A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115695355A (zh) * 2022-10-31 2023-02-03 维沃移动通信有限公司 数据共享方法、装置、电子设备及介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140108480A (ko) * 2013-02-28 2014-09-11 주식회사 엘지유플러스 단말 간 실시간 화면 공유 채팅 방법, 그 단말 및 이를 위한 기록 매체
CN111124339A (zh) * 2019-12-23 2020-05-08 维沃移动通信有限公司 一种界面分享方法及电子设备
CN111694603A (zh) * 2019-03-12 2020-09-22 腾讯科技(深圳)有限公司 屏幕分享方法、装置、计算机设备和存储介质
CN112165553A (zh) * 2020-09-28 2021-01-01 维沃移动通信有限公司 图像生成方法、装置及电子设备
CN113438526A (zh) * 2021-06-25 2021-09-24 维沃移动通信有限公司 屏幕内容分享方法、显示方法、装置、设备及存储介质
CN115695355A (zh) * 2022-10-31 2023-02-03 维沃移动通信有限公司 数据共享方法、装置、电子设备及介质

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20140108480A (ko) * 2013-02-28 2014-09-11 주식회사 엘지유플러스 단말 간 실시간 화면 공유 채팅 방법, 그 단말 및 이를 위한 기록 매체
CN111694603A (zh) * 2019-03-12 2020-09-22 腾讯科技(深圳)有限公司 屏幕分享方法、装置、计算机设备和存储介质
CN111124339A (zh) * 2019-12-23 2020-05-08 维沃移动通信有限公司 一种界面分享方法及电子设备
CN112165553A (zh) * 2020-09-28 2021-01-01 维沃移动通信有限公司 图像生成方法、装置及电子设备
CN113438526A (zh) * 2021-06-25 2021-09-24 维沃移动通信有限公司 屏幕内容分享方法、显示方法、装置、设备及存储介质
CN115695355A (zh) * 2022-10-31 2023-02-03 维沃移动通信有限公司 数据共享方法、装置、电子设备及介质

Also Published As

Publication number Publication date
CN115695355A (zh) 2023-02-03

Similar Documents

Publication Publication Date Title
CN111857500B (zh) 消息显示方法、装置、电子设备及存储介质
CN113300938B (zh) 消息发送方法、装置及电子设备
WO2023160668A1 (zh) 会话消息收发方法及装置、电子设备、可读存储介质
CN113709022B (zh) 消息交互方法、装置、设备及存储介质
WO2024093815A1 (zh) 数据共享方法、装置、电子设备及介质
CN110737844B (zh) 推荐数据的方法、装置、终端设备和存储介质
WO2023131055A1 (zh) 消息发送方法、装置和电子设备
CN112306325A (zh) 交互控制方法和装置
CN113988021A (zh) 内容互动方法、装置、电子设备及存储介质
CN111865760A (zh) 消息显示方法及装置
CN112711366A (zh) 图像生成方法、装置和电子设备
CN112866092A (zh) 群聊创建方法及群聊创建装置
WO2024140453A1 (zh) 信息处理方法、装置、电子设备和可读存储介质
WO2024114571A1 (zh) 信息显示方法、装置、电子设备和存储介质
WO2024083018A1 (zh) 信息处理方法、装置和电子设备
CN114374761A (zh) 信息交互方法、装置、电子设备及介质
WO2024051522A1 (zh) 消息发送方法、装置、电子设备及存储介质
CN114153362A (zh) 信息处理方法及装置
WO2024104113A1 (zh) 截屏方法、截屏装置、电子设备及可读存储介质
CN115361354B (zh) 消息处理方法、装置、电子设备及可读存储介质
CN114866835A (zh) 弹幕显示方法、弹幕显示装置和电子设备
CN114928585A (zh) 消息处理方法、装置、电子设备和可读存储介质
CN114726662A (zh) 群聊会话管理方法、装置、电子设备和可读存储介质
CN112487371B (zh) 聊天会话的显示方法、装置、终端及存储介质
CN114401281B (zh) 通信管理方法、装置、电子设备和可读存储介质

Legal Events

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

Ref document number: 23884747

Country of ref document: EP

Kind code of ref document: A1