WO2021083112A1 - Information sharing method and electronic device - Google Patents

Information sharing method and electronic device Download PDF

Info

Publication number
WO2021083112A1
WO2021083112A1 PCT/CN2020/123889 CN2020123889W WO2021083112A1 WO 2021083112 A1 WO2021083112 A1 WO 2021083112A1 CN 2020123889 W CN2020123889 W CN 2020123889W WO 2021083112 A1 WO2021083112 A1 WO 2021083112A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
information
conversation
floating control
input
Prior art date
Application number
PCT/CN2020/123889
Other languages
French (fr)
Chinese (zh)
Inventor
刘朝辉
Original Assignee
维沃移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2021083112A1 publication Critical patent/WO2021083112A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/216Handling conversation history, e.g. grouping of messages in sessions or threads
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/542Event management; Broadcasting; Multicasting; Notifications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • H04L12/1822Conducting the conference, e.g. admission, detection, selection or grouping of participants, correlating users to one or more conference sessions, prioritising transmission
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership

Definitions

  • the present invention relates to the field of communication technology, in particular to an information sharing method and electronic equipment.
  • Electronic devices can be used for information interaction between users. For example, multiple users can chat through an application on the electronic device. In the process of information interaction, users can share information they consider valuable to friends through the application.
  • the embodiments of the present invention provide an information sharing method and electronic equipment to solve the problem of complicated operation of the information sharing method in the prior art.
  • the present invention is implemented as follows:
  • an embodiment of the present invention provides an information sharing method applied to an electronic device, including:
  • the first information associated with the floating control is sent to the first object, or the second information is sent to the second object associated with the floating control, or the The third information associated with the floating control is sent to the third object associated with the floating control.
  • an embodiment of the present invention also provides an electronic device, including:
  • the receiving module is used to receive the first input for the floating control
  • the sending module is configured to send first information associated with the floating control to a first object in response to the first input, or send second information to a second object associated with the floating control, or , Sending the third information associated with the floating control to a third object associated with the floating control.
  • an embodiment of the present invention also provides an electronic device, including: a processor, a memory, and a computer program stored on the memory and running on the processor, and the computer program is processed by the processor.
  • the steps of the information sharing method described in the first aspect are realized when the device is executed.
  • an embodiment of the present invention also provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the information sharing method described in the first aspect is implemented A step of.
  • the first input for the floating control is received, and in response to the first input, the first information associated with the floating control is sent to the first object, or the second information is sent to the The second object associated with the floating control, or the third information associated with the floating control is sent to the third object associated with the floating control.
  • the embodiment of the present invention uses the floating control to share information, which can simplify Information sharing process.
  • FIG. 1 is a flowchart of an information sharing method provided by an embodiment of the present invention
  • FIG 2 is one of the schematic diagrams of the display interface of the electronic device provided by the embodiment of the present invention.
  • FIG. 3 is a second schematic diagram of a display interface of an electronic device provided by an embodiment of the present invention.
  • FIG. 4 is the third schematic diagram of the display interface of the electronic device provided by the embodiment of the present invention.
  • FIG. 5 is a fourth schematic diagram of a display interface of an electronic device according to an embodiment of the present invention.
  • FIG. 6 is a fifth schematic diagram of a display interface of an electronic device provided by an embodiment of the present invention.
  • FIG. 7 is one of the schematic structural diagrams of an electronic device provided by an embodiment of the present invention.
  • FIG. 8 is a second structural diagram of an electronic device provided by an embodiment of the present invention.
  • FIG. 9 is a third structural diagram of an electronic device provided by an embodiment of the present invention.
  • FIG. 10 is a fourth structural diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 11 is a fifth structural diagram of an electronic device provided by an embodiment of the present invention.
  • FIG. 12 is a sixth structural diagram of an electronic device provided by an embodiment of the present invention.
  • FIG. 13 is a seventh structural diagram of an electronic device provided by an embodiment of the present invention.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted mobile terminals, wearable devices, and pedometers.
  • FIG. 1 is a flowchart of an information sharing method provided by an embodiment of the present invention. The method is applied to an electronic device, as shown in FIG. 1, and includes the following steps:
  • Step 101 Receive a first input for a floating control.
  • the floating control can be any shape, for example, it can be a circle.
  • the floating control can be displayed according to the preset transparency.
  • Receive a first input for a floating control the first input may be an operation of pressing the floating control, or an operation of touching the floating control according to a preset track, or an operation of moving the floating control along a preset track, etc.
  • a target object before receiving the first input for the floating control, a target object may be obtained through the floating control, the target object including at least one of a target conversation object and target conversation information, the first information or the first information
  • the third information is the session information corresponding to the target object, so that the first information or the third information to be shared can be obtained through the floating control; or, the receiving the first input for the floating control may be: receiving through the floating control
  • the floating control selects the first input of a target sharing object, wherein the second object or the third object is the target sharing object, so that the target sharing object can be obtained through the floating control.
  • Step 102 In response to the first input, send first information associated with the floating control to a first object, or send second information to a second object associated with the floating control, or send The third information associated with the floating control is sent to a third object associated with the floating control.
  • the first information or third information to be shared can be obtained through the floating control, so as to determine the first information or third information associated with the floating control; the target sharing object can be obtained through the floating control, so as to determine the The second or third object associated with the control.
  • the content associated with the floating control can be released; or, when a preset operation for the floating control is received, the content associated with the floating control can be released, for example, after receiving a preset operation In the case of the operation of the track touch floating control, delete the content associated with the floating control.
  • the content associated with the floating control can be the first information, or the third information, or the second object, or the third object.
  • the floating control The content associated with the control can include target session information and target session objects.
  • the first input for the floating control is received, and in response to the first input, the first information associated with the floating control is sent to the first object, or the second information is sent to the The second object associated with the floating control, or the third information associated with the floating control is sent to the third object associated with the floating control.
  • the embodiment of the present invention uses the floating control to share information, which can simplify Information sharing process.
  • the method before the receiving the first input for the floating control, the method further includes:
  • the first information or the third information is session information corresponding to the target object.
  • the target session object may be one or more session objects, and the target session information may be one or more pieces of session information.
  • the target object may be a target conversation object, which may be selected through a floating control, for example, an operation of moving the floating control to the conversation object is received, and if the floating control stays on the conversation object for a preset period of time, the conversation object Is selected as the target conversation object; or, the target object can be the target conversation information, which can be selected by the floating control, for example, the target conversation information can be selected by sliding the floating control, and the conversation passing through the floating control in the conversation interface Information as the target conversation information; or, the target object may include the target conversation object and the target conversation information.
  • the target conversation object can be selected through a floating control, and after the target conversation object is selected, the target conversation information can be selected by sliding the floating control.
  • the session information corresponding to the target session object in the session interface and passing through the floating control is used as the target session information.
  • the embodiment of the present invention does not limit the specific implementation manner of obtaining the target object through the floating control.
  • the session information corresponding to the target object may be associated with the floating control.
  • the first information or the third information may be the conversation information corresponding to the target conversation object in the currently displayed conversation interface, or may be all conversation information corresponding to the target conversation object, It is not limited to the currently displayed conversation interface; when the target object is the target conversation information, the first information or the third information may be selected target conversation information; the target object includes the target conversation object and the target conversation In the case of information, the first information or the third information may be target session information obtained through screening of target session objects.
  • the target session object or target session information can be selected through the floating control for information sharing.
  • the floating control 201 can be moved to the avatar 202 corresponding to the target conversation object, and the floating control can be pressed to obtain the target.
  • the information of the conversation object for example, the avatar and name of the target conversation object, the position of the target conversation object selected by the floating control in the display interface, and the conversation information corresponding to the position.
  • the avatar and name of the target conversation object can be displayed on the floating control.
  • the first information or the third information may be session information corresponding to the position of the target conversation object in the display interface; or, the first information or the third information may be corresponding to the target conversation object in the display interface All session information of.
  • the first information associated with the floating control may be sent to the first Object, or send second information to a second object associated with the floating control, or send third information associated with the floating control to a third object associated with the floating control.
  • the preset operation may be to move the floating control along a preset trajectory, for example, pressing and dragging the floating control to move along a circular trajectory, or pressing and dragging the floating control along a straight line below the final information to be shared Trajectory movement and so on.
  • the target object is obtained through the floating control, and the target object includes at least one of a target conversation object and target conversation information, wherein the first information or the third information is related to the target The session information corresponding to the object.
  • selecting the target object through the floating control for information sharing can further simplify the information sharing process.
  • the target object includes the target session information, and before the target object is obtained through the floating control, the method further includes:
  • the obtaining the target object through the floating control includes:
  • the target session information is acquired, where the target session information is session information passing through a target area in the conversation interface, and the target area includes the area where the floating control is located.
  • the conversation interface can be displayed by opening the application.
  • the conversation interface may include the conversation information of one conversation object or multiple conversation objects.
  • the floating control may be moved on the conversation interface.
  • the conversation information in the conversation interface will move up; when the floating control is moved to the top of the display interface of the electronic device , The conversation information in the conversation interface will move down, and the displayed conversation information will be updated; or it can be mobile conversation interface, you can move the conversation interface up, the conversation information in the conversation interface will move up, you can also move the conversation interface down , The session information in the session interface will move down.
  • the session information that is moved up or down is the session information that is limited to the size of the display screen of the mobile phone and is hidden.
  • the floating control can be associated with the target session information.
  • the target area 203 may be a radiation area of the floating control 201 in the width direction of the mobile phone.
  • the screen of the mobile phone can be swiped up and down. During the process of sliding the screen, the session information passing through the target area and the sequence of the session information are recorded as the target session information.
  • the acquired target session information can be used for information sharing.
  • a conversation interface is displayed, a second input for relatively moving the conversation interface and the floating control is received, and in response to the second input, the target conversation information is obtained, and the target conversation information is the The conversation information passing through the target area in the conversation interface, and the target area includes the area where the floating control is located.
  • the target object includes the target conversation object and the target conversation information
  • the conversation interface further comprises a conversation object
  • the method further includes:
  • the target session information is session information passing through a target area in the first session information
  • the first session information is session information corresponding to the target session object in the session interface.
  • selecting a target conversation object from the conversation object through the floating control may be an operation of moving the floating control to the conversation object’s avatar, if the floating control stays on the conversation object’s avatar for a preset period of time, Then the conversation object is selected as the target conversation object; or, as shown in FIG. 2, the operation of moving the floating control 201 to the avatar 202 of the conversation object corresponding to a certain piece of conversation information and pressing the floating control is received, then The conversation object is selected as the target conversation object; or, as shown in FIG. 4, an operation of moving the floating control 201 to a certain piece of conversation information 204 is received.
  • the conversation object corresponding to the conversation information is selected as the target conversation object.
  • the embodiment of the present invention does not limit the specific expression form of the floating control selecting the target conversation object among the conversation objects.
  • the number of target conversation objects may be one or multiple.
  • a target conversation object is selected from the conversation objects through the floating control, wherein the target conversation information is the conversation information passing through the target area in the first conversation information, and the first conversation information is the The conversation information corresponding to the target conversation object in the conversation interface, in this way, the conversation information corresponding to the target conversation object can be obtained through the floating control, which realizes the screening of the conversation objects, and makes the user operation more convenient.
  • the method further includes:
  • the object information is displayed on the floating control.
  • the object information may include the avatar of the target conversation object, or may include the name of the target conversation object, and the like.
  • the avatars and names of the target conversation objects can be displayed on the floating control.
  • the avatars and names of multiple target conversation objects can be displayed on the floating control.
  • the avatar and name of the target conversation object displayed on the floating control may continue to flash, indicating that the target conversation information is being acquired normally. After the target conversation information is obtained, the avatar and name of the target conversation object can stop flashing.
  • the object information corresponding to the target conversation object is acquired, the object information is used to identify the target conversation object, and the object information is displayed on the floating control. In this way, the selected object can be known through the floating control.
  • the target conversation object is easy for users to view.
  • the receiving the first input for the floating control includes:
  • the second object or the third object is the target sharing object.
  • the target sharing object may be one or multiple.
  • the target sharing object and the target conversation object may belong to the same application, or the target sharing object and the target conversation object may also belong to different applications.
  • the target contact can be filtered out in the contact list, and the floating control can be moved to the target contact’s avatar, thereby setting the target contact as the target Share the object to send information.
  • you can select multiple target contacts move the floating control to the avatar of one of the target contacts, or move the floating control to a preset position, so that multiple target contacts can be used as Target sharing objects to send information.
  • the target sharing object is wrongly selected or the selection is omitted, the target sharing object can be selected again.
  • the first information associated with the floating control can be directly sent to the first object, or the second information can be sent to the floating control.
  • the second object associated with the control, or the third information associated with the floating control is sent to the third object associated with the floating control;
  • the fourth input for the floating control is received, and in response to the fourth input, the first information associated with the floating control is sent to the first object, or the second information is sent to the The second object associated with the floating control, or the third information associated with the floating control is sent to the third object associated with the floating control, and the fourth input may be an operation of pressing the floating control, or it may be The operation of touching the floating control according to the preset trajectory, or the operation of moving the floating control along the preset trajectory, and so on.
  • a first input of selecting a target sharing object through the floating control is received, wherein the second object or the third object is the target sharing object.
  • selecting the target sharing object through the floating control and sending information based on the floating control can further simplify the information sharing process.
  • the method further includes:
  • the first information or the third information is information that carries the sharing identifier in the session information corresponding to the target object.
  • the preset position may be behind, or in front, or above, etc. of each piece of information.
  • the third input may be a clicking operation, or a pressing operation, or a movable operation, and the third input is not limited in the embodiment of the present invention.
  • the sharing indicator 205 may be a checked button. Cancelling the display of the at least one sharing logo may be filling a blank area where the sharing logo is located, or, as shown in FIG. 6, may be displaying a delete button at the location where the sharing logo 205 is located. For example, when a user needs to cancel sharing of a piece of information, he can click the sharing logo, and the sharing logo will be changed from a check button to a delete button. If the user clicks the delete button again, the delete button can be changed to a check button again. You can choose to be shared again. In the case where the sharing identifier is a check button, only the information that carries the check button will be sent.
  • the sharing identifier is displayed in the preset position of each piece of information in the session information corresponding to the target object, and in the case of receiving a third input for at least one of the sharing identifiers, the display of the at least one shared identifier is cancelled.
  • a sharing identifier wherein the first information or the third information is information that carries the sharing identifier in the session information corresponding to the target object. In this way, the information to be shared can be further filtered through the sharing identifier, so that User operation is more convenient.
  • the method before the receiving the first input for the floating control, the method further includes:
  • the floating control When the floating control is in the first mode, the floating control is used for information sharing.
  • the floating control may have at least two use modes, a first mode and a second mode.
  • the floating control When the floating control is in the first mode, the floating control is used for information sharing; when the floating control is in the second mode
  • the embodiment of the present invention does not limit the function of the floating control in the second mode.
  • the fifth input may be an operation of pressing the floating control, or an operation of touching the floating control according to a preset track, or an operation of moving the floating control along a preset track.
  • the input is not limited.
  • a menu item can be set, the menu item is an entry for sharing chat history through a floating control, and an open button can be set in the menu item. When the open button is turned on, the floating control has the function of sharing the chat history .
  • An advanced button of the floating control can also be set, and the advanced button is used to enable the floating control. When the advanced button is turned on, the menu item can be operated, otherwise it is in an inoperable state.
  • a fifth input for the floating control is received; in response to the fifth input, the floating control is switched to the first mode; in the case that the floating control is in the first mode, The floating control is used for information sharing. In this way, the floating control can have multiple functions, making the user's operation more convenient.
  • FIG. 7 is one of the structural schematic diagrams of an electronic device provided by an embodiment of the present invention.
  • the electronic device 300 includes:
  • the receiving module 301 is configured to receive the first input for the floating control
  • the sending module 302 is configured to send first information associated with the floating control to a first object in response to the first input, or send second information to a second object associated with the floating control, Or, sending the third information associated with the floating control to a third object associated with the floating control.
  • the electronic device 300 further includes:
  • the first obtaining module 303 is configured to obtain a target object through the floating control, and the target object includes at least one of a target conversation object and target conversation information;
  • the first information or the third information is session information corresponding to the target object.
  • the target object includes the target session information.
  • the electronic device 300 further includes:
  • the first display module 304 is configured to display a conversation interface, where the conversation interface includes conversation information;
  • the first obtaining module 303 is specifically configured to:
  • the target session information is acquired, where the target session information is session information passing through a target area in the conversation interface, and the target area includes the area where the floating control is located.
  • the target object includes the target conversation object and the target conversation information
  • the conversation interface further includes a conversation object.
  • the electronic device 300 further includes:
  • the selection module 305 is configured to select a target conversation object among the conversation objects through the floating control
  • the target session information is session information passing through a target area in the first session information
  • the first session information is session information corresponding to the target session object in the session interface.
  • the electronic device 300 further includes:
  • the second obtaining module 306 is configured to obtain object information corresponding to the target conversation object, where the object information is used to identify the target conversation object;
  • the second display module 307 is configured to display the object information on the floating control.
  • the receiving module 301 is specifically configured to:
  • the second object or the third object is the target sharing object.
  • the electronic device 300 further includes:
  • the third display module 308 is configured to display a sharing identifier at a preset position of each piece of information in the session information corresponding to the target object;
  • the fourth display module 309 is configured to cancel the display of the at least one sharing identification when the third input for the at least one sharing identification is received;
  • the first information or the third information is information that carries the sharing identifier in the session information corresponding to the target object.
  • the electronic device can implement each process implemented by the electronic device in the method embodiment of FIG. 1. To avoid repetition, details are not described herein again.
  • FIG. 13 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present invention.
  • the electronic device 400 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, a processor 410, and Power supply 411 and other components.
  • a radio frequency unit 401 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, a processor 410, and Power supply 411 and other components.
  • Those skilled in the art can understand that the structure of the electronic device shown in FIG. 13 does not constitute a limitation on the electronic device.
  • the electronic device may include more or less components than those shown in the figure, or a combination of certain components, or different components. Layout.
  • electronic devices include, but are not limited to, mobile phones, tablet computers, notebook
  • processor 410 is configured to execute the following process:
  • the first information associated with the floating control is sent to the first object, or the second information is sent to the second object associated with the floating control, or the The third information associated with the floating control is sent to the third object associated with the floating control.
  • the first input for the floating control is received, and in response to the first input, the first information associated with the floating control is sent to the first object, or the second information is sent to the The second object associated with the floating control, or the third information associated with the floating control is sent to the third object associated with the floating control.
  • the embodiment of the present invention uses the floating control to share information, which can simplify Information sharing process.
  • processor 410 is further configured to execute:
  • the first information or the third information is session information corresponding to the target object.
  • the target object includes the target session information
  • the processor 410 is further configured to execute:
  • the acquiring of the target object through the floating control performed by the processor 410 includes:
  • the target session information is acquired, where the target session information is session information passing through a target area in the conversation interface, and the target area includes the area where the floating control is located.
  • the target object includes the target conversation object and the target conversation information
  • the conversation interface further includes a conversation object
  • the processor 410 is further configured to execute:
  • the target session information is session information passing through a target area in the first session information
  • the first session information is session information corresponding to the target session object in the session interface.
  • processor 410 is further configured to execute:
  • the object information is displayed on the floating control.
  • the receiving of the first input for the floating control performed by the processor 410 includes:
  • the second object or the third object is the target sharing object.
  • processor 410 is further configured to execute:
  • the first information or the third information is information that carries the sharing identifier in the session information corresponding to the target object.
  • the radio frequency unit 401 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 410; in addition, Uplink data is sent to the base station.
  • the radio frequency unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like.
  • the radio frequency unit 401 can also communicate with the network and other devices through a wireless communication system.
  • the electronic device provides users with wireless broadband Internet access through the network module 402, such as helping users to send and receive emails, browse web pages, and access streaming media.
  • the audio output unit 403 may convert the audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output it as sound. Moreover, the audio output unit 403 may also provide audio output related to a specific function performed by the electronic device 400 (for example, call signal reception sound, message reception sound, etc.).
  • the audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
  • the input unit 404 is used to receive audio or video signals.
  • the input unit 404 may include a graphics processing unit (GPU) 4041 and a microphone 4042.
  • the graphics processor 4041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
  • the data is processed.
  • the processed image frame can be displayed on the display unit 406.
  • the image frame processed by the graphics processor 4041 may be stored in the memory 409 (or other storage medium) or sent via the radio frequency unit 401 or the network module 402.
  • the microphone 4042 can receive sound, and can process such sound into audio data.
  • the processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 401 in the case of a telephone call mode for output.
  • the electronic device 400 also includes at least one sensor 405, such as a light sensor, a motion sensor, and other sensors.
  • the light sensor includes an ambient light sensor and a proximity sensor.
  • the ambient light sensor can adjust the brightness of the display panel 4061 according to the brightness of the ambient light.
  • the proximity sensor can close the display panel 4061 and the display panel 4061 when the electronic device 400 is moved to the ear. / Or backlight.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 405 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
  • the display unit 406 is used to display information input by the user or information provided to the user.
  • the display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • LCD liquid crystal display
  • OLED organic light-emitting diode
  • the user input unit 407 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device.
  • the user input unit 407 includes a touch panel 4071 and other input devices 4072.
  • the touch panel 4071 also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 4071 or near the touch panel 4071. operating).
  • the touch panel 4071 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 410, the command sent by the processor 410 is received and executed.
  • the touch panel 4071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the user input unit 407 may also include other input devices 4072.
  • other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
  • the touch panel 4071 can cover the display panel 4061.
  • the touch panel 4071 detects a touch operation on or near it, it transmits it to the processor 410 to determine the type of the touch event, and then the processor 410 determines the type of the touch event according to the touch.
  • the type of event provides corresponding visual output on the display panel 4061.
  • the touch panel 4071 and the display panel 4061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 4071 and the display panel 4061 can be integrated
  • the implementation of the input and output functions of the electronic device is not specifically limited here.
  • the interface unit 408 is an interface for connecting an external device and the electronic device 400.
  • the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc.
  • the interface unit 408 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 400 or can be used to connect the electronic device 400 to an external device. Transfer data between devices.
  • the memory 409 can be used to store software programs and various data.
  • the memory 409 may mainly include a storage program area and a storage data area.
  • the storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc.
  • the memory 409 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the processor 410 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes the software programs and/or modules stored in the memory 409, and calls the data stored in the memory 409 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole.
  • the processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem
  • the processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 410.
  • the electronic device 400 may also include a power source 411 (such as a battery) for supplying power to various components.
  • a power source 411 such as a battery
  • the power source 411 may be logically connected to the processor 410 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
  • the electronic device 400 includes some functional modules not shown, which will not be repeated here.
  • the embodiment of the present invention also provides an electronic device, including a processor, a memory, and a computer program stored in the memory and running on the processor, and when the computer program is executed by the processor, the foregoing information sharing method is implemented
  • an electronic device including a processor, a memory, and a computer program stored in the memory and running on the processor, and when the computer program is executed by the processor, the foregoing information sharing method is implemented
  • the embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium.
  • a computer program is stored on the computer-readable storage medium.
  • the computer program is executed by a processor, each process in the embodiment of the information sharing method is realized, and the same can be achieved.
  • the computer-readable storage medium such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, etc.
  • modules, units, sub-modules, sub-units, etc. can be implemented in one or more application specific integrated circuits (ASICs), digital signal processors (Digital Signal Processing, DSP), digital signal processing equipment ( DSP Device, DSPD), Programmable Logic Device (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processors, controllers, microcontrollers, microprocessors, Other electronic units or combinations thereof that perform the functions described in this application.
  • ASICs application specific integrated circuits
  • DSP Digital Signal Processing
  • DSP Device digital signal processing equipment
  • PLD Programmable Logic Device
  • Field-Programmable Gate Array Field-Programmable Gate Array
  • FPGA Field-Programmable Gate Array
  • the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present invention.
  • a terminal which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.

Abstract

The present invention relates to the technical field of communications, and provided are an information sharing method and an electronic device. The method comprises: receiving a first input for a suspension control; and in response to the first input, sending first information associated with the suspension control to a first object, or sending second information to a second object associated with the suspension control, or sending third information associated with the suspension control to a third object associated with the suspension control. The embodiments of the present invention can simplify an information sharing process by means of the suspension control which performs information sharing.

Description

一种信息分享方法及电子设备Information sharing method and electronic equipment
相关申请的交叉引用Cross-references to related applications
本申请主张在2019年10月31日在中国提交的中国专利申请号No.201911063495.1的优先权,其全部内容通过引用包含于此。This application claims the priority of Chinese Patent Application No. 201911063495.1 filed in China on October 31, 2019, the entire content of which is incorporated herein by reference.
技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种信息分享方法及电子设备。The present invention relates to the field of communication technology, in particular to an information sharing method and electronic equipment.
背景技术Background technique
随着电子设备的发展,电子设备的功能越来越多,电子设备可以用于用户间的信息交互,例如,多个用户可以通过电子设备上的应用程序聊天。用户在进行信息交互的过程中,可以将自己认为有价值的信息通过应用程序分享给好友。With the development of electronic devices, electronic devices have more and more functions. Electronic devices can be used for information interaction between users. For example, multiple users can chat through an application on the electronic device. In the process of information interaction, users can share information they consider valuable to friends through the application.
现有技术中,用户在进行信息分享时,当需要分享多条信息时,通常包括以下步骤:选择待分享的一条信息,在弹出的提示信息中确认分享多条信息,依次选择多条待分享的信息,再选择合并分享,然后选择分享的目标对象,最后点击分享按钮进行分享。In the prior art, when users need to share multiple pieces of information when sharing information, they usually include the following steps: select a piece of information to be shared, confirm the sharing of multiple pieces of information in the pop-up prompt message, and select multiple pieces of information to be shared in turn , Then select merge to share, then select the target audience to share, and finally click the share button to share.
可见,现有技术中的信息分享方法操作较为繁琐。It can be seen that the operation of the information sharing method in the prior art is relatively cumbersome.
发明内容Summary of the invention
本发明实施例提供一种信息分享方法及电子设备,以解决现有技术中的信息分享方法操作较为繁琐的问题。The embodiments of the present invention provide an information sharing method and electronic equipment to solve the problem of complicated operation of the information sharing method in the prior art.
为了解决上述技术问题,本发明是这样实现的:In order to solve the above technical problems, the present invention is implemented as follows:
第一方面,本发明实施例提供了一种信息分享方法,应用于电子设备,包括:In the first aspect, an embodiment of the present invention provides an information sharing method applied to an electronic device, including:
接收针对悬浮控件的第一输入;Receive the first input for the floating control;
响应于所述第一输入,将与所述悬浮控件关联的第一信息发送给第一对象,或者,将第二信息发送给与所述悬浮控件关联的第二对象,或者,将与 所述悬浮控件关联的第三信息发送给与所述悬浮控件关联的第三对象。In response to the first input, the first information associated with the floating control is sent to the first object, or the second information is sent to the second object associated with the floating control, or the The third information associated with the floating control is sent to the third object associated with the floating control.
第二方面,本发明实施例还提供了一种电子设备,包括:In the second aspect, an embodiment of the present invention also provides an electronic device, including:
接收模块,用于接收针对悬浮控件的第一输入;The receiving module is used to receive the first input for the floating control;
发送模块,用于响应于所述第一输入,将与所述悬浮控件关联的第一信息发送给第一对象,或者,将第二信息发送给与所述悬浮控件关联的第二对象,或者,将与所述悬浮控件关联的第三信息发送给与所述悬浮控件关联的第三对象。The sending module is configured to send first information associated with the floating control to a first object in response to the first input, or send second information to a second object associated with the floating control, or , Sending the third information associated with the floating control to a third object associated with the floating control.
第三方面,本发明实施例还提供一种电子设备,包括:包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现第一方面所述的信息分享方法的步骤。In a third aspect, an embodiment of the present invention also provides an electronic device, including: a processor, a memory, and a computer program stored on the memory and running on the processor, and the computer program is processed by the processor. The steps of the information sharing method described in the first aspect are realized when the device is executed.
第四方面,本发明实施例还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现第一方面所述的信息分享方法的步骤。In a fourth aspect, an embodiment of the present invention also provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the information sharing method described in the first aspect is implemented A step of.
本发明实施例中,接收针对悬浮控件的第一输入,响应于所述第一输入,将与所述悬浮控件关联的第一信息发送给第一对象,或者,将第二信息发送给与所述悬浮控件关联的第二对象,或者,将与所述悬浮控件关联的第三信息发送给与所述悬浮控件关联的第三对象,这样,本发明实施例通过悬浮控件进行信息分享,可以简化信息分享过程。In the embodiment of the present invention, the first input for the floating control is received, and in response to the first input, the first information associated with the floating control is sent to the first object, or the second information is sent to the The second object associated with the floating control, or the third information associated with the floating control is sent to the third object associated with the floating control. In this way, the embodiment of the present invention uses the floating control to share information, which can simplify Information sharing process.
附图说明Description of the drawings
为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to explain the technical solutions of the embodiments of the present invention more clearly, the following will briefly introduce the drawings used in the description of the embodiments of the present invention. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained from these drawings without creative labor.
图1是本发明实施例提供的一种信息分享方法的流程图;FIG. 1 is a flowchart of an information sharing method provided by an embodiment of the present invention;
图2是本发明实施例提供的电子设备的显示界面示意图之一;2 is one of the schematic diagrams of the display interface of the electronic device provided by the embodiment of the present invention;
图3是本发明实施例提供的电子设备的显示界面示意图之二;3 is a second schematic diagram of a display interface of an electronic device provided by an embodiment of the present invention;
图4是本发明实施例提供的电子设备的显示界面示意图之三;4 is the third schematic diagram of the display interface of the electronic device provided by the embodiment of the present invention;
图5是本发明实施例提供的电子设备的显示界面示意图之四;FIG. 5 is a fourth schematic diagram of a display interface of an electronic device according to an embodiment of the present invention;
图6是本发明实施例提供的电子设备的显示界面示意图之五;6 is a fifth schematic diagram of a display interface of an electronic device provided by an embodiment of the present invention;
图7是本发明实施例提供的一种电子设备的结构示意图之一;FIG. 7 is one of the schematic structural diagrams of an electronic device provided by an embodiment of the present invention;
图8是本发明实施例提供的一种电子设备的结构示意图之二;FIG. 8 is a second structural diagram of an electronic device provided by an embodiment of the present invention;
图9是本发明实施例提供的一种电子设备的结构示意图之三;FIG. 9 is a third structural diagram of an electronic device provided by an embodiment of the present invention;
图10是本发明实施例提供的一种电子设备的结构示意图之四;FIG. 10 is a fourth structural diagram of an electronic device according to an embodiment of the present invention;
图11是本发明实施例提供的一种电子设备的结构示意图之五;FIG. 11 is a fifth structural diagram of an electronic device provided by an embodiment of the present invention;
图12是本发明实施例提供的一种电子设备的结构示意图之六;FIG. 12 is a sixth structural diagram of an electronic device provided by an embodiment of the present invention;
图13是本发明实施例提供的一种电子设备的结构示意图之七。FIG. 13 is a seventh structural diagram of an electronic device provided by an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of the present invention.
在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载移动终端、可穿戴设备、以及计步器等。In the embodiments of the present invention, electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, vehicle-mounted mobile terminals, wearable devices, and pedometers.
参见图1,图1是本发明实施例提供的一种信息分享方法的流程图,所述方法应用于电子设备,如图1所示,包括以下步骤:Referring to FIG. 1, FIG. 1 is a flowchart of an information sharing method provided by an embodiment of the present invention. The method is applied to an electronic device, as shown in FIG. 1, and includes the following steps:
步骤101、接收针对悬浮控件的第一输入。Step 101: Receive a first input for a floating control.
其中,悬浮控件可以为任意形状,例如可以为圆。悬浮控件可以按照预设透明度显示。接收针对悬浮控件的第一输入,所述第一输入可以是按压悬浮控件的操作,或者可以是按预设轨迹触控悬浮控件的操作,或者还可以是沿预设轨迹移动悬浮控件的操作等等,在接收针对悬浮控件的第一输入之前,可以通过所述悬浮控件获取目标对象,所述目标对象包括目标会话对象及目标会话信息中的至少一项,所述第一信息或所述第三信息为与所述目标对象对应的会话信息,从而可以通过悬浮控件获取待分享的第一信息或第三信息;或者,所述接收针对悬浮控件的第一输入,可以是,接收通过所述悬浮控件选取目标分享对象的第一输入,其中,所述第二对象或所述第三对象为所述目标分享对象,从而可以通过悬浮控件获取目标分享对象。Among them, the floating control can be any shape, for example, it can be a circle. The floating control can be displayed according to the preset transparency. Receive a first input for a floating control, the first input may be an operation of pressing the floating control, or an operation of touching the floating control according to a preset track, or an operation of moving the floating control along a preset track, etc. Etc., before receiving the first input for the floating control, a target object may be obtained through the floating control, the target object including at least one of a target conversation object and target conversation information, the first information or the first information The third information is the session information corresponding to the target object, so that the first information or the third information to be shared can be obtained through the floating control; or, the receiving the first input for the floating control may be: receiving through the floating control The floating control selects the first input of a target sharing object, wherein the second object or the third object is the target sharing object, so that the target sharing object can be obtained through the floating control.
步骤102、响应于所述第一输入,将与所述悬浮控件关联的第一信息发送给第一对象,或者,将第二信息发送给与所述悬浮控件关联的第二对象,或者,将与所述悬浮控件关联的第三信息发送给与所述悬浮控件关联的第三对象。Step 102: In response to the first input, send first information associated with the floating control to a first object, or send second information to a second object associated with the floating control, or send The third information associated with the floating control is sent to a third object associated with the floating control.
其中,可以通过悬浮控件获取待分享的第一信息或第三信息,从而确定与所述悬浮控件关联的第一信息或第三信息;可以通过悬浮控件获取目标分享对象,从而确定与所述悬浮控件关联的第二对象或第三对象。在进行信息的发送后,可以释放悬浮控件关联的内容;或者,可以是在接收到针对悬浮控件的预设操作的情况下,释放悬浮控件关联的内容,例如,可以是在接收到按预设轨迹触控悬浮控件的操作的情况下,删除悬浮控件关联的内容,悬浮控件关联的内容可以为第一信息,或第三信息,或第二对象,或第三对象,具体的,所述悬浮控件关联的内容可以包括目标会话信息及目标会话对象等。Among them, the first information or third information to be shared can be obtained through the floating control, so as to determine the first information or third information associated with the floating control; the target sharing object can be obtained through the floating control, so as to determine the The second or third object associated with the control. After sending the information, the content associated with the floating control can be released; or, when a preset operation for the floating control is received, the content associated with the floating control can be released, for example, after receiving a preset operation In the case of the operation of the track touch floating control, delete the content associated with the floating control. The content associated with the floating control can be the first information, or the third information, or the second object, or the third object. Specifically, the floating control The content associated with the control can include target session information and target session objects.
本发明实施例中,接收针对悬浮控件的第一输入,响应于所述第一输入,将与所述悬浮控件关联的第一信息发送给第一对象,或者,将第二信息发送给与所述悬浮控件关联的第二对象,或者,将与所述悬浮控件关联的第三信息发送给与所述悬浮控件关联的第三对象,这样,本发明实施例通过悬浮控件进行信息分享,可以简化信息分享过程。In the embodiment of the present invention, the first input for the floating control is received, and in response to the first input, the first information associated with the floating control is sent to the first object, or the second information is sent to the The second object associated with the floating control, or the third information associated with the floating control is sent to the third object associated with the floating control. In this way, the embodiment of the present invention uses the floating control to share information, which can simplify Information sharing process.
可选的,所述接收针对悬浮控件的第一输入之前,所述方法还包括:Optionally, before the receiving the first input for the floating control, the method further includes:
通过所述悬浮控件获取目标对象,所述目标对象包括目标会话对象及目标会话信息中的至少一项;Obtaining a target object through the floating control, where the target object includes at least one of a target conversation object and target conversation information;
其中,所述第一信息或所述第三信息为与所述目标对象对应的会话信息。Wherein, the first information or the third information is session information corresponding to the target object.
其中,目标会话对象可以为一个或多个会话对象,目标会话信息可以为一条或多条会话信息。所述目标对象可以为目标会话对象,可以是通过悬浮控件选取目标会话对象,例如,接收到将悬浮控件移动至会话对象的操作,若悬浮控件在会话对象上停留预设时长,则该会话对象被选取为目标会话对象;或者,所述目标对象可以为目标会话信息,可以是通过悬浮控件选取目标会话信息,例如,可以通过滑动悬浮控件选取目标会话信息,将会话界面中经过悬浮控件的会话信息作为目标会话信息;或者,所述目标对象可以包括目标会话对象及目标会话信息,例如,可以通过悬浮控件选取目标会话对 象,在选取目标会话对象后,可以通过滑动悬浮控件选取目标会话信息,将会话界面中与目标会话对象对应的并经过悬浮控件的会话信息作为目标会话信息。本发明实施例对通过悬浮控件获取目标对象的具体实现方式不进行限定。Among them, the target session object may be one or more session objects, and the target session information may be one or more pieces of session information. The target object may be a target conversation object, which may be selected through a floating control, for example, an operation of moving the floating control to the conversation object is received, and if the floating control stays on the conversation object for a preset period of time, the conversation object Is selected as the target conversation object; or, the target object can be the target conversation information, which can be selected by the floating control, for example, the target conversation information can be selected by sliding the floating control, and the conversation passing through the floating control in the conversation interface Information as the target conversation information; or, the target object may include the target conversation object and the target conversation information. For example, the target conversation object can be selected through a floating control, and after the target conversation object is selected, the target conversation information can be selected by sliding the floating control. The session information corresponding to the target session object in the session interface and passing through the floating control is used as the target session information. The embodiment of the present invention does not limit the specific implementation manner of obtaining the target object through the floating control.
另外,所述目标对象对应的会话信息可以与悬浮控件进行关联。在目标对象为目标会话对象的情况下,所述第一信息或所述第三信息可以是当前显示的会话界面中目标会话对象对应的会话信息,或者可以是目标会话对象对应的所有会话信息,而不局限于当前显示的会话界面;在目标对象为目标会话信息的情况下,所述第一信息或所述第三信息可以是选取的目标会话信息;在目标对象包括目标会话对象及目标会话信息的情况下,所述第一信息或所述第三信息可以是经过目标会话对象筛选获得的目标会话信息。In addition, the session information corresponding to the target object may be associated with the floating control. In the case that the target object is a target conversation object, the first information or the third information may be the conversation information corresponding to the target conversation object in the currently displayed conversation interface, or may be all conversation information corresponding to the target conversation object, It is not limited to the currently displayed conversation interface; when the target object is the target conversation information, the first information or the third information may be selected target conversation information; the target object includes the target conversation object and the target conversation In the case of information, the first information or the third information may be target session information obtained through screening of target session objects.
需要说明的是,在实际应用中,当用户需要将会话界面中部分会话信息进行分享时,可以通过悬浮控件选取目标会话对象或者目标会话信息来进行信息分享。以目标会话对象为一个为例,当需要分享该目标会话对象的会话信息时,如图2所示,可以将悬浮控件201移动至目标会话对象对应的头像202上,按压悬浮控件,可以获取目标会话对象的信息,例如,目标会话对象的头像及名称,悬浮控件选取的目标会话对象在显示界面中的位置,以及该位置对应的会话信息。可以在获取到目标会话对象的信息后,将目标会话对象的头像及名称显示在悬浮控件上。若没有完全获取到目标会话对象的信息,则不显示目标会话对象的头像及名称。所述第一信息或所述第三信息可以是目标会话对象在显示界面中的位置对应的会话信息;或者,所述第一信息或所述第三信息可以是该显示界面中目标会话对象对应的所有会话信息。It should be noted that in practical applications, when a user needs to share part of the session information in the session interface, the target session object or target session information can be selected through the floating control for information sharing. Taking the target conversation object as an example, when the conversation information of the target conversation object needs to be shared, as shown in Figure 2, the floating control 201 can be moved to the avatar 202 corresponding to the target conversation object, and the floating control can be pressed to obtain the target. The information of the conversation object, for example, the avatar and name of the target conversation object, the position of the target conversation object selected by the floating control in the display interface, and the conversation information corresponding to the position. After obtaining the information of the target conversation object, the avatar and name of the target conversation object can be displayed on the floating control. If the information of the target conversation object is not completely obtained, the avatar and name of the target conversation object are not displayed. The first information or the third information may be session information corresponding to the position of the target conversation object in the display interface; or, the first information or the third information may be corresponding to the target conversation object in the display interface All session information of.
进一步的,在通过所述悬浮控件获取目标对象后,可以在接收到预设操作的情况下,认为已完成待分享信息的确定,可以将与所述悬浮控件关联的第一信息发送给第一对象,或者,将第二信息发送给与所述悬浮控件关联的第二对象,或者,将与所述悬浮控件关联的第三信息发送给与所述悬浮控件关联的第三对象。所述预设操作可以是,沿预设轨迹移动悬浮控件,例如,按压并拖动悬浮控件沿圆的轨迹移动,或者,按压并拖动悬浮控件在最后确定的待分享信息的下方沿直线的轨迹移动等等。Further, after obtaining the target object through the floating control, in the case of receiving a preset operation, it is considered that the determination of the information to be shared has been completed, and the first information associated with the floating control may be sent to the first Object, or send second information to a second object associated with the floating control, or send third information associated with the floating control to a third object associated with the floating control. The preset operation may be to move the floating control along a preset trajectory, for example, pressing and dragging the floating control to move along a circular trajectory, or pressing and dragging the floating control along a straight line below the final information to be shared Trajectory movement and so on.
该实施方式中,通过所述悬浮控件获取目标对象,所述目标对象包括目标会话对象及目标会话信息中的至少一项,其中,所述第一信息或所述第三信息为与所述目标对象对应的会话信息,这样,通过悬浮控件选取目标对象来进行信息分享,可以进一步简化信息分享过程。In this implementation manner, the target object is obtained through the floating control, and the target object includes at least one of a target conversation object and target conversation information, wherein the first information or the third information is related to the target The session information corresponding to the object. In this way, selecting the target object through the floating control for information sharing can further simplify the information sharing process.
可选的,所述目标对象包括所述目标会话信息,所述通过所述悬浮控件获取目标对象之前,所述方法还包括:Optionally, the target object includes the target session information, and before the target object is obtained through the floating control, the method further includes:
显示会话界面,所述会话界面包括会话信息;Displaying a conversation interface, the conversation interface including conversation information;
所述通过所述悬浮控件获取目标对象,包括:The obtaining the target object through the floating control includes:
接收将所述会话界面与所述悬浮控件相对移动的第二输入;Receiving a second input for relatively moving the conversation interface and the floating control;
响应于所述第二输入,获取所述目标会话信息,所述目标会话信息为所述会话界面中经过目标区域的会话信息,所述目标区域包括所述悬浮控件所在的区域。In response to the second input, the target session information is acquired, where the target session information is session information passing through a target area in the conversation interface, and the target area includes the area where the floating control is located.
其中,可以通过打开应用程序来显示会话界面。会话界面可以包括一个会话对象或者多个会话对象的会话信息。其中,可以是在所述会话界面移动悬浮控件,当悬浮控件移动到电子设备显示界面的最下方时,会话界面内的会话信息会上移;当悬浮控件移动到电子设备显示界面的最上方时,会话界面内的会话信息会下移,显示的会话信息会进行更新;或者可以是,移动会话界面,可以向上移动会话界面,会话界面内的会话信息会上移,还可以向下移动会话界面,会话界面内的会话信息会下移。以电子设备为手机为例,上移或者下移的会话信息为局限于手机的显示屏幕的大小而隐藏的会话信息。Among them, the conversation interface can be displayed by opening the application. The conversation interface may include the conversation information of one conversation object or multiple conversation objects. Wherein, the floating control may be moved on the conversation interface. When the floating control is moved to the bottom of the display interface of the electronic device, the conversation information in the conversation interface will move up; when the floating control is moved to the top of the display interface of the electronic device , The conversation information in the conversation interface will move down, and the displayed conversation information will be updated; or it can be mobile conversation interface, you can move the conversation interface up, the conversation information in the conversation interface will move up, you can also move the conversation interface down , The session information in the session interface will move down. Taking the electronic device as a mobile phone as an example, the session information that is moved up or down is the session information that is limited to the size of the display screen of the mobile phone and is hidden.
另外,可以将悬浮控件与目标会话信息进行关联。在电子设备为手机的情况下,如图3所示,所述目标区域203可以为悬浮控件201在手机的宽度方向上的辐射区域。可以上下滑动手机的屏幕,在滑动屏幕的过程中,经过目标区域的会话信息以及会话信息的先后顺序均被记录,作为目标会话信息。可以将获取到的目标会话信息进行信息分享。In addition, the floating control can be associated with the target session information. When the electronic device is a mobile phone, as shown in FIG. 3, the target area 203 may be a radiation area of the floating control 201 in the width direction of the mobile phone. The screen of the mobile phone can be swiped up and down. During the process of sliding the screen, the session information passing through the target area and the sequence of the session information are recorded as the target session information. The acquired target session information can be used for information sharing.
该实施方式中,显示会话界面,接收将所述会话界面与所述悬浮控件相对移动的第二输入,响应于所述第二输入,获取所述目标会话信息,所述目标会话信息为所述会话界面中经过目标区域的会话信息,所述目标区域包括所述悬浮控件所在的区域,这样,通过所述会话界面与所述悬浮控件相对移 动选取目标会话信息来进行信息分享,可以进一步简化信息分享过程。In this embodiment, a conversation interface is displayed, a second input for relatively moving the conversation interface and the floating control is received, and in response to the second input, the target conversation information is obtained, and the target conversation information is the The conversation information passing through the target area in the conversation interface, and the target area includes the area where the floating control is located. In this way, by moving the conversation interface and the floating control relative to select the target conversation information for information sharing, the information can be further simplified Sharing process.
可选的,所述目标对象包括所述目标会话对象及所述目标会话信息,所述会话界面还包括会话对象,所述接收将所述会话界面与所述悬浮控件相对移动的第二输入之前,所述方法还包括:Optionally, the target object includes the target conversation object and the target conversation information, the conversation interface further comprises a conversation object, and before receiving the second input that moves the conversation interface and the floating control relative to each other , The method further includes:
通过所述悬浮控件在所述会话对象中选取目标会话对象;Selecting a target conversation object from among the conversation objects through the floating control;
其中,所述目标会话信息为第一会话信息中经过目标区域的会话信息,所述第一会话信息为所述会话界面中所述目标会话对象对应的会话信息。Wherein, the target session information is session information passing through a target area in the first session information, and the first session information is session information corresponding to the target session object in the session interface.
其中,通过所述悬浮控件在所述会话对象中选取目标会话对象,可以是,接收到将悬浮控件移动至会话对象的头像上的操作,若悬浮控件在会话对象的头像上停留预设时长,则该会话对象被选取为目标会话对象;或者可以是,如图2所示,接收到将悬浮控件201移动至某条会话信息对应的会话对象的头像202上,并按压悬浮控件的操作,则该会话对象被选取为目标会话对象;或者可以是,如图4所示,接收到将悬浮控件201移动至某条会话信息204的操作,若悬浮控件与会话信息的重合面积达到预设值,且重合时间达到一定时长,则该会话信息对应的会话对象被选取为目标会话对象。本发明实施例对所述悬浮控件在所述会话对象中选取目标会话对象的具体表现形式不进行限定。Wherein, selecting a target conversation object from the conversation object through the floating control may be an operation of moving the floating control to the conversation object’s avatar, if the floating control stays on the conversation object’s avatar for a preset period of time, Then the conversation object is selected as the target conversation object; or, as shown in FIG. 2, the operation of moving the floating control 201 to the avatar 202 of the conversation object corresponding to a certain piece of conversation information and pressing the floating control is received, then The conversation object is selected as the target conversation object; or, as shown in FIG. 4, an operation of moving the floating control 201 to a certain piece of conversation information 204 is received. If the overlapping area of the floating control and the conversation information reaches a preset value, And the overlap time reaches a certain length of time, the conversation object corresponding to the conversation information is selected as the target conversation object. The embodiment of the present invention does not limit the specific expression form of the floating control selecting the target conversation object among the conversation objects.
进一步的,目标会话对象的数量可以为一个,或者可以为多个。在目标会话对象的数量为多个的情况下,可以先移动到第一个目标会话对象上选取完第一个目标会话对象,再移动到第二个目标会话对象上选取完第二个目标会话对象,再移动到其他目标会话对象上直至选取完所有目标会话对象。例如,可以将悬浮控件移动至第一个目标会话对象对应的头像上,按压悬浮控件,选取完第一目标会话对象后,不松开按压的悬浮控件,继续按压并拖动悬浮控件至第二个目标会话对象,选取完第二目标会话对象后,继续按压并拖动悬浮控件至其他目标会话对象,直至选取完所有目标会话对象后再松开悬浮控件。Further, the number of target conversation objects may be one or multiple. In the case of multiple target conversation objects, you can move to the first target conversation object to select the first target conversation object, and then move to the second target conversation object to select the second target conversation Object, and then move to other target conversation objects until all target conversation objects are selected. For example, you can move the floating control to the avatar corresponding to the first target conversation object, press the floating control, and after selecting the first target conversation object, without releasing the pressed floating control, continue to press and drag the floating control to the second After selecting the second target conversation object, continue to press and drag the floating control to other target conversation objects, and then release the floating control until all the target conversation objects are selected.
该实施方式中,通过所述悬浮控件在所述会话对象中选取目标会话对象,其中,所述目标会话信息为第一会话信息中经过目标区域的会话信息,所述第一会话信息为所述会话界面中所述目标会话对象对应的会话信息,这样, 可以通过悬浮控件获取到目标会话对象对应的会话信息,实现对会话对象的筛选,使得用户操作更为便捷。In this implementation manner, a target conversation object is selected from the conversation objects through the floating control, wherein the target conversation information is the conversation information passing through the target area in the first conversation information, and the first conversation information is the The conversation information corresponding to the target conversation object in the conversation interface, in this way, the conversation information corresponding to the target conversation object can be obtained through the floating control, which realizes the screening of the conversation objects, and makes the user operation more convenient.
可选的,所述通过所述悬浮控件在所述会话对象中选取目标会话对象之后,所述方法还包括:Optionally, after the target conversation object is selected from the conversation objects through the floating control, the method further includes:
获取所述目标会话对象对应的对象信息,所述对象信息用于标识所述目标会话对象;Acquiring object information corresponding to the target conversation object, where the object information is used to identify the target conversation object;
在所述悬浮控件上显示所述对象信息。The object information is displayed on the floating control.
其中,所述对象信息可以包括目标会话对象的头像,或者可以包括目标会话对象的名称等。可以将目标会话对象的头像及名称显示在悬浮控件上,在目标会话对象的数量为多个的情况下,可以将多个目标会话对象的头像及名称显示在悬浮控件上。所述会话界面与所述悬浮控件相对移动的过程中,显示在悬浮控件上的目标会话对象的头像及名称可以持续闪烁,表示正在正常的获取目标会话信息。待目标会话信息获取完毕后,目标会话对象的头像及名称可以停止闪烁。Wherein, the object information may include the avatar of the target conversation object, or may include the name of the target conversation object, and the like. The avatars and names of the target conversation objects can be displayed on the floating control. When the number of target conversation objects is multiple, the avatars and names of multiple target conversation objects can be displayed on the floating control. During the relative movement of the conversation interface and the floating control, the avatar and name of the target conversation object displayed on the floating control may continue to flash, indicating that the target conversation information is being acquired normally. After the target conversation information is obtained, the avatar and name of the target conversation object can stop flashing.
该实施方式中,获取所述目标会话对象对应的对象信息,所述对象信息用于标识所述目标会话对象,在所述悬浮控件上显示所述对象信息,这样,可以通过悬浮控件获知已选取的目标会话对象,便于用户查看。In this implementation manner, the object information corresponding to the target conversation object is acquired, the object information is used to identify the target conversation object, and the object information is displayed on the floating control. In this way, the selected object can be known through the floating control. The target conversation object is easy for users to view.
可选的,所述接收针对悬浮控件的第一输入,包括:Optionally, the receiving the first input for the floating control includes:
接收通过所述悬浮控件选取目标分享对象的第一输入;Receiving a first input of selecting a target sharing object through the floating control;
其中,所述第二对象或所述第三对象为所述目标分享对象。Wherein, the second object or the third object is the target sharing object.
其中,目标分享对象可以为一个或者可以为多个。目标分享对象与目标会话对象可以属于同一个应用程序,或者,目标分享对象与目标会话对象还可以属于不同的应用程序。通过所述悬浮控件选取目标分享对象,以目标分享对象为一个为例,可以在联系人列表中筛选出目标联系人,将悬浮控件移动至目标联系人的头像上,从而将目标联系人作为目标分享对象以进行信息的发送。以目标分享对象为多个为例,可以选取多个目标联系人,将悬浮控件移动至其中一个目标联系人的头像上,或者将悬浮控件移动至预设位置,从而将多个目标联系人作为目标分享对象以进行信息的发送。当目标分享对象选择错误,或者选择遗漏的情况下,可以重新选取目标分享对象。Among them, the target sharing object may be one or multiple. The target sharing object and the target conversation object may belong to the same application, or the target sharing object and the target conversation object may also belong to different applications. Use the floating control to select the target sharing object. Taking the target sharing object as an example, the target contact can be filtered out in the contact list, and the floating control can be moved to the target contact’s avatar, thereby setting the target contact as the target Share the object to send information. Taking multiple target sharing objects as an example, you can select multiple target contacts, move the floating control to the avatar of one of the target contacts, or move the floating control to a preset position, so that multiple target contacts can be used as Target sharing objects to send information. When the target sharing object is wrongly selected or the selection is omitted, the target sharing object can be selected again.
另外,可以在接收通过所述悬浮控件选取目标分享对象的第一输入后,直接将与所述悬浮控件关联的第一信息发送给第一对象,或者,将第二信息发送给与所述悬浮控件关联的第二对象,或者,将与所述悬浮控件关联的第三信息发送给与所述悬浮控件关联的第三对象;或者,可以在接收通过所述悬浮控件选取目标分享对象的第一输入后,接收针对所述悬浮控件的第四输入,响应于所述第四输入,将与所述悬浮控件关联的第一信息发送给第一对象,或者,将第二信息发送给与所述悬浮控件关联的第二对象,或者,将与所述悬浮控件关联的第三信息发送给与所述悬浮控件关联的第三对象,所述第四输入可以是按压悬浮控件的操作,或者可以是按预设轨迹触控悬浮控件的操作,或者还可以是沿预设轨迹移动悬浮控件的操作等等。In addition, after receiving the first input of selecting the target sharing object through the floating control, the first information associated with the floating control can be directly sent to the first object, or the second information can be sent to the floating control. The second object associated with the control, or the third information associated with the floating control is sent to the third object associated with the floating control; After the input, the fourth input for the floating control is received, and in response to the fourth input, the first information associated with the floating control is sent to the first object, or the second information is sent to the The second object associated with the floating control, or the third information associated with the floating control is sent to the third object associated with the floating control, and the fourth input may be an operation of pressing the floating control, or it may be The operation of touching the floating control according to the preset trajectory, or the operation of moving the floating control along the preset trajectory, and so on.
该实施方式中,接收通过所述悬浮控件选取目标分享对象的第一输入,其中,所述第二对象或所述第三对象为所述目标分享对象。这样,通过悬浮控件选取目标分享对象,并基于悬浮控件来进行信息的发送,可以进一步简化信息分享过程。In this implementation manner, a first input of selecting a target sharing object through the floating control is received, wherein the second object or the third object is the target sharing object. In this way, selecting the target sharing object through the floating control and sending information based on the floating control can further simplify the information sharing process.
可选的,所述通过所述悬浮控件获取目标对象之后,所述方法还包括:Optionally, after the target object is obtained through the floating control, the method further includes:
在与所述目标对象对应的会话信息中每条信息的预设位置显示分享标识;Displaying a sharing identifier in a preset position of each piece of information in the session information corresponding to the target object;
在接收到针对至少一个所述分享标识的第三输入的情况下,取消显示所述至少一个分享标识;In the case of receiving a third input for at least one sharing identification, cancel displaying the at least one sharing identification;
其中,所述第一信息或所述第三信息为与所述目标对象对应的会话信息中携带所述分享标识的信息。Wherein, the first information or the third information is information that carries the sharing identifier in the session information corresponding to the target object.
其中,所述预设位置可以为每条信息的后方,或者前方,或者上方等等。所述第三输入可以是点击的操作,或者可以是按压的操作,或者可以移动的操作,本发明实施例对第三输入不进行限定。如图5所示,所述分享标识205可以为勾选的按钮。取消显示所述至少一个分享标识,可以是在分享标识所在的位置填充空白区域,或者,如图6所示,可以是在分享标识205所在的位置显示删除按钮。例如,当用户需要对某条信息取消分享时,可以点击分享标识,分享标识会由勾选按钮更改为删除按钮,若用户再点击删除按钮,删除按钮可以再次更改为勾选按钮,该条信息可以再次选择被分享。在所述分享标识为勾选按钮的情况下,只有携带有勾选按钮的信息才会进行发送。Wherein, the preset position may be behind, or in front, or above, etc. of each piece of information. The third input may be a clicking operation, or a pressing operation, or a movable operation, and the third input is not limited in the embodiment of the present invention. As shown in FIG. 5, the sharing indicator 205 may be a checked button. Cancelling the display of the at least one sharing logo may be filling a blank area where the sharing logo is located, or, as shown in FIG. 6, may be displaying a delete button at the location where the sharing logo 205 is located. For example, when a user needs to cancel sharing of a piece of information, he can click the sharing logo, and the sharing logo will be changed from a check button to a delete button. If the user clicks the delete button again, the delete button can be changed to a check button again. You can choose to be shared again. In the case where the sharing identifier is a check button, only the information that carries the check button will be sent.
该实施方式中,在与所述目标对象对应的会话信息中每条信息的预设位置显示分享标识,在接收到针对至少一个所述分享标识的第三输入的情况下,取消显示所述至少一个分享标识,其中,所述第一信息或所述第三信息为与所述目标对象对应的会话信息中携带所述分享标识的信息,这样,可以通过分享标识对待分享信息进行进一步筛选,使得用户操作更为便捷。In this implementation manner, the sharing identifier is displayed in the preset position of each piece of information in the session information corresponding to the target object, and in the case of receiving a third input for at least one of the sharing identifiers, the display of the at least one shared identifier is cancelled. A sharing identifier, wherein the first information or the third information is information that carries the sharing identifier in the session information corresponding to the target object. In this way, the information to be shared can be further filtered through the sharing identifier, so that User operation is more convenient.
可选的,所述接收针对悬浮控件的第一输入之前,所述方法还包括:Optionally, before the receiving the first input for the floating control, the method further includes:
接收针对所述悬浮控件的第五输入;Receiving a fifth input for the floating control;
响应于所述第五输入,将所述悬浮控件切换至第一模式;In response to the fifth input, switch the floating control to the first mode;
在所述悬浮控件处于所述第一模式的情况下,所述悬浮控件用于信息分享。When the floating control is in the first mode, the floating control is used for information sharing.
其中,悬浮控件可以具有至少两种使用模式,第一模式和第二模式,在所述悬浮控件处于第一模式下时,所述悬浮控件用于信息分享;在所述悬浮控件处于第二模式下时,可以将各个应用程序的图标放置于悬浮控件中,悬浮控件可以用于界面整理。本发明实施例对悬浮控件在第二模式下的功能不进行限定。Wherein, the floating control may have at least two use modes, a first mode and a second mode. When the floating control is in the first mode, the floating control is used for information sharing; when the floating control is in the second mode When downloading, you can place the icons of each application in the floating control, and the floating control can be used to organize the interface. The embodiment of the present invention does not limit the function of the floating control in the second mode.
另外,所述第五输入可以是按压悬浮控件的操作,或者可以是按预设轨迹触控悬浮控件的操作,或者还可以是沿预设轨迹移动悬浮控件的操作,本发明实施例对第五输入不进行限定。可以设置有菜单项,所述菜单项为通过悬浮控件分享聊天记录的入口,在该菜单项内可以设置有开启按钮,当所述开启按钮开启时,所述悬浮控件才具备分享聊天记录的功能。还可以设置有悬浮控件的高级按钮,该高级按钮用于启用悬浮控件,在该高级按钮开启的情况下,所述菜单项才可以操作,否则处于不可操作状态。In addition, the fifth input may be an operation of pressing the floating control, or an operation of touching the floating control according to a preset track, or an operation of moving the floating control along a preset track. The input is not limited. A menu item can be set, the menu item is an entry for sharing chat history through a floating control, and an open button can be set in the menu item. When the open button is turned on, the floating control has the function of sharing the chat history . An advanced button of the floating control can also be set, and the advanced button is used to enable the floating control. When the advanced button is turned on, the menu item can be operated, otherwise it is in an inoperable state.
该实施方式中,接收针对所述悬浮控件的第五输入;响应于所述第五输入,将所述悬浮控件切换至第一模式;在所述悬浮控件处于所述第一模式的情况下,所述悬浮控件用于信息分享。这样,悬浮控件可以具备多种功能,使得用户操作更为便捷。In this embodiment, a fifth input for the floating control is received; in response to the fifth input, the floating control is switched to the first mode; in the case that the floating control is in the first mode, The floating control is used for information sharing. In this way, the floating control can have multiple functions, making the user's operation more convenient.
参见图7,图7是本发明实施例提供的一种电子设备的结构示意图之一,如图7所示,电子设备300包括:Referring to FIG. 7, FIG. 7 is one of the structural schematic diagrams of an electronic device provided by an embodiment of the present invention. As shown in FIG. 7, the electronic device 300 includes:
接收模块301,用于接收针对悬浮控件的第一输入;The receiving module 301 is configured to receive the first input for the floating control;
发送模块302,用于响应于所述第一输入,将与所述悬浮控件关联的第一信息发送给第一对象,或者,将第二信息发送给与所述悬浮控件关联的第二对象,或者,将与所述悬浮控件关联的第三信息发送给与所述悬浮控件关联的第三对象。The sending module 302 is configured to send first information associated with the floating control to a first object in response to the first input, or send second information to a second object associated with the floating control, Or, sending the third information associated with the floating control to a third object associated with the floating control.
可选的,如图8所示,所述电子设备300还包括:Optionally, as shown in FIG. 8, the electronic device 300 further includes:
第一获取模块303,用于通过所述悬浮控件获取目标对象,所述目标对象包括目标会话对象及目标会话信息中的至少一项;The first obtaining module 303 is configured to obtain a target object through the floating control, and the target object includes at least one of a target conversation object and target conversation information;
其中,所述第一信息或所述第三信息为与所述目标对象对应的会话信息。可选的,所述目标对象包括所述目标会话信息,如图9所示,所述电子设备300还包括:Wherein, the first information or the third information is session information corresponding to the target object. Optionally, the target object includes the target session information. As shown in FIG. 9, the electronic device 300 further includes:
第一显示模块304,用于显示会话界面,所述会话界面包括会话信息;The first display module 304 is configured to display a conversation interface, where the conversation interface includes conversation information;
所述第一获取模块303具体用于:The first obtaining module 303 is specifically configured to:
接收将所述会话界面与所述悬浮控件相对移动的第二输入;Receiving a second input for relatively moving the conversation interface and the floating control;
响应于所述第二输入,获取所述目标会话信息,所述目标会话信息为所述会话界面中经过目标区域的会话信息,所述目标区域包括所述悬浮控件所在的区域。In response to the second input, the target session information is acquired, where the target session information is session information passing through a target area in the conversation interface, and the target area includes the area where the floating control is located.
可选的,所述目标对象包括所述目标会话对象及所述目标会话信息,所述会话界面还包括会话对象,如图10所示,所述电子设备300还包括:Optionally, the target object includes the target conversation object and the target conversation information, and the conversation interface further includes a conversation object. As shown in FIG. 10, the electronic device 300 further includes:
选取模块305,用于通过所述悬浮控件在所述会话对象中选取目标会话对象;The selection module 305 is configured to select a target conversation object among the conversation objects through the floating control;
其中,所述目标会话信息为第一会话信息中经过目标区域的会话信息,所述第一会话信息为所述会话界面中所述目标会话对象对应的会话信息。Wherein, the target session information is session information passing through a target area in the first session information, and the first session information is session information corresponding to the target session object in the session interface.
可选的,如图11所示,所述电子设备300还包括:Optionally, as shown in FIG. 11, the electronic device 300 further includes:
第二获取模块306,用于获取所述目标会话对象对应的对象信息,所述对象信息用于标识所述目标会话对象;The second obtaining module 306 is configured to obtain object information corresponding to the target conversation object, where the object information is used to identify the target conversation object;
第二显示模块307,用于在所述悬浮控件上显示所述对象信息。The second display module 307 is configured to display the object information on the floating control.
可选的,所述接收模块301具体用于:Optionally, the receiving module 301 is specifically configured to:
接收通过所述悬浮控件选取目标分享对象的第一输入;Receiving a first input of selecting a target sharing object through the floating control;
其中,所述第二对象或所述第三对象为所述目标分享对象。Wherein, the second object or the third object is the target sharing object.
可选的,如图12所示,所述电子设备300还包括:Optionally, as shown in FIG. 12, the electronic device 300 further includes:
第三显示模块308,用于在与所述目标对象对应的会话信息中每条信息的预设位置显示分享标识;The third display module 308 is configured to display a sharing identifier at a preset position of each piece of information in the session information corresponding to the target object;
第四显示模块309,用于在接收到针对至少一个所述分享标识的第三输入的情况下,取消显示所述至少一个分享标识;The fourth display module 309 is configured to cancel the display of the at least one sharing identification when the third input for the at least one sharing identification is received;
其中,所述第一信息或所述第三信息为与所述目标对象对应的会话信息中携带所述分享标识的信息。Wherein, the first information or the third information is information that carries the sharing identifier in the session information corresponding to the target object.
电子设备能够实现图1的方法实施例中电子设备实现的各个过程,为避免重复,这里不再赘述。The electronic device can implement each process implemented by the electronic device in the method embodiment of FIG. 1. To avoid repetition, details are not described herein again.
图13为实现本发明各个实施例的一种电子设备的硬件结构示意图。FIG. 13 is a schematic diagram of the hardware structure of an electronic device that implements various embodiments of the present invention.
该电子设备400包括但不限于:射频单元401、网络模块402、音频输出单元403、输入单元404、传感器405、显示单元406、用户输入单元407、接口单元408、存储器409、处理器410、以及电源411等部件。本领域技术人员可以理解,图13中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本发明实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、机器人、可穿戴设备、以及计步器等。The electronic device 400 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, a processor 410, and Power supply 411 and other components. Those skilled in the art can understand that the structure of the electronic device shown in FIG. 13 does not constitute a limitation on the electronic device. The electronic device may include more or less components than those shown in the figure, or a combination of certain components, or different components. Layout. In the embodiments of the present invention, electronic devices include, but are not limited to, mobile phones, tablet computers, notebook computers, palmtop computers, in-vehicle electronic devices, robots, wearable devices, and pedometers.
其中,处理器410,用于执行下述过程:Wherein, the processor 410 is configured to execute the following process:
接收针对悬浮控件的第一输入;Receive the first input for the floating control;
响应于所述第一输入,将与所述悬浮控件关联的第一信息发送给第一对象,或者,将第二信息发送给与所述悬浮控件关联的第二对象,或者,将与所述悬浮控件关联的第三信息发送给与所述悬浮控件关联的第三对象。In response to the first input, the first information associated with the floating control is sent to the first object, or the second information is sent to the second object associated with the floating control, or the The third information associated with the floating control is sent to the third object associated with the floating control.
本发明实施例中,接收针对悬浮控件的第一输入,响应于所述第一输入,将与所述悬浮控件关联的第一信息发送给第一对象,或者,将第二信息发送给与所述悬浮控件关联的第二对象,或者,将与所述悬浮控件关联的第三信息发送给与所述悬浮控件关联的第三对象,这样,本发明实施例通过悬浮控件进行信息分享,可以简化信息分享过程。In the embodiment of the present invention, the first input for the floating control is received, and in response to the first input, the first information associated with the floating control is sent to the first object, or the second information is sent to the The second object associated with the floating control, or the third information associated with the floating control is sent to the third object associated with the floating control. In this way, the embodiment of the present invention uses the floating control to share information, which can simplify Information sharing process.
可选的,处理器410还用于执行:Optionally, the processor 410 is further configured to execute:
通过所述悬浮控件获取目标对象,所述目标对象包括目标会话对象及目 标会话信息中的至少一项;Obtaining a target object through the floating control, where the target object includes at least one of a target conversation object and target conversation information;
其中,所述第一信息或所述第三信息为与所述目标对象对应的会话信息。Wherein, the first information or the third information is session information corresponding to the target object.
可选的,所述目标对象包括所述目标会话信息,处理器410还用于执行:Optionally, the target object includes the target session information, and the processor 410 is further configured to execute:
显示会话界面,所述会话界面包括会话信息;Displaying a conversation interface, the conversation interface including conversation information;
处理器410执行的所述通过所述悬浮控件获取目标对象,包括:The acquiring of the target object through the floating control performed by the processor 410 includes:
接收将所述会话界面与所述悬浮控件相对移动的第二输入;Receiving a second input for relatively moving the conversation interface and the floating control;
响应于所述第二输入,获取所述目标会话信息,所述目标会话信息为所述会话界面中经过目标区域的会话信息,所述目标区域包括所述悬浮控件所在的区域。In response to the second input, the target session information is acquired, where the target session information is session information passing through a target area in the conversation interface, and the target area includes the area where the floating control is located.
可选的,所述目标对象包括所述目标会话对象及所述目标会话信息,所述会话界面还包括会话对象,处理器410还用于执行:Optionally, the target object includes the target conversation object and the target conversation information, the conversation interface further includes a conversation object, and the processor 410 is further configured to execute:
通过所述悬浮控件在所述会话对象中选取目标会话对象;Selecting a target conversation object from among the conversation objects through the floating control;
其中,所述目标会话信息为第一会话信息中经过目标区域的会话信息,所述第一会话信息为所述会话界面中所述目标会话对象对应的会话信息。Wherein, the target session information is session information passing through a target area in the first session information, and the first session information is session information corresponding to the target session object in the session interface.
可选的,处理器410还用于执行:Optionally, the processor 410 is further configured to execute:
获取所述目标会话对象对应的对象信息,所述对象信息用于标识所述目标会话对象;Acquiring object information corresponding to the target conversation object, where the object information is used to identify the target conversation object;
在所述悬浮控件上显示所述对象信息。The object information is displayed on the floating control.
可选的,处理器410执行的所述接收针对悬浮控件的第一输入,包括:Optionally, the receiving of the first input for the floating control performed by the processor 410 includes:
接收通过所述悬浮控件选取目标分享对象的第一输入;Receiving a first input of selecting a target sharing object through the floating control;
其中,所述第二对象或所述第三对象为所述目标分享对象。Wherein, the second object or the third object is the target sharing object.
可选的,处理器410还用于执行:Optionally, the processor 410 is further configured to execute:
在与所述目标对象对应的会话信息中每条信息的预设位置显示分享标识;Displaying a sharing identifier in a preset position of each piece of information in the session information corresponding to the target object;
在接收到针对至少一个所述分享标识的第三输入的情况下,取消显示所述至少一个分享标识;In the case of receiving a third input for at least one sharing identification, cancel displaying the at least one sharing identification;
其中,所述第一信息或所述第三信息为与所述目标对象对应的会话信息中携带所述分享标识的信息。Wherein, the first information or the third information is information that carries the sharing identifier in the session information corresponding to the target object.
应理解的是,本发明实施例中,射频单元401可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理 器410处理;另外,将上行的数据发送给基站。通常,射频单元401包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元401还可以通过无线通信系统与网络和其他设备通信。It should be understood that, in this embodiment of the present invention, the radio frequency unit 401 can be used for receiving and sending signals in the process of sending and receiving information or talking. Specifically, the downlink data from the base station is received and processed by the processor 410; in addition, Uplink data is sent to the base station. Generally, the radio frequency unit 401 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, and the like. In addition, the radio frequency unit 401 can also communicate with the network and other devices through a wireless communication system.
电子设备通过网络模块402为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。The electronic device provides users with wireless broadband Internet access through the network module 402, such as helping users to send and receive emails, browse web pages, and access streaming media.
音频输出单元403可以将射频单元401或网络模块402接收的或者在存储器409中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元403还可以提供与电子设备400执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元403包括扬声器、蜂鸣器以及受话器等。The audio output unit 403 may convert the audio data received by the radio frequency unit 401 or the network module 402 or stored in the memory 409 into an audio signal and output it as sound. Moreover, the audio output unit 403 may also provide audio output related to a specific function performed by the electronic device 400 (for example, call signal reception sound, message reception sound, etc.). The audio output unit 403 includes a speaker, a buzzer, a receiver, and the like.
输入单元404用于接收音频或视频信号。输入单元404可以包括图形处理器(Graphics Processing Unit,GPU)4041和麦克风4042,图形处理器4041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元406上。经图形处理器4041处理后的图像帧可以存储在存储器409(或其它存储介质)中或者经由射频单元401或网络模块402进行发送。麦克风4042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元401发送到移动通信基站的格式输出。The input unit 404 is used to receive audio or video signals. The input unit 404 may include a graphics processing unit (GPU) 4041 and a microphone 4042. The graphics processor 4041 is configured to monitor images of still pictures or videos obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The data is processed. The processed image frame can be displayed on the display unit 406. The image frame processed by the graphics processor 4041 may be stored in the memory 409 (or other storage medium) or sent via the radio frequency unit 401 or the network module 402. The microphone 4042 can receive sound, and can process such sound into audio data. The processed audio data can be converted into a format that can be sent to a mobile communication base station via the radio frequency unit 401 in the case of a telephone call mode for output.
电子设备400还包括至少一种传感器405,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板4061的亮度,接近传感器可在电子设备400移动到耳边时,关闭显示面板4061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器405还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。The electronic device 400 also includes at least one sensor 405, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor includes an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel 4061 according to the brightness of the ambient light. The proximity sensor can close the display panel 4061 and the display panel 4061 when the electronic device 400 is moved to the ear. / Or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used to identify the posture of electronic devices (such as horizontal and vertical screen switching, related games) , Magnetometer attitude calibration), vibration recognition related functions (such as pedometer, percussion), etc.; sensor 405 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, Infrared sensors, etc., will not be repeated here.
显示单元406用于显示由用户输入的信息或提供给用户的信息。显示单元406可包括显示面板4061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板4061。The display unit 406 is used to display information input by the user or information provided to the user. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
用户输入单元407可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元407包括触控面板4071以及其他输入设备4072。触控面板4071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板4071上或在触控面板4071附近的操作)。触控面板4071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器410,接收处理器410发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板4071。除了触控面板4071,用户输入单元407还可以包括其他输入设备4072。具体地,其他输入设备4072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。The user input unit 407 may be used to receive inputted numeric or character information, and generate key signal input related to user settings and function control of the electronic device. Specifically, the user input unit 407 includes a touch panel 4071 and other input devices 4072. The touch panel 4071, also called a touch screen, can collect the user's touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 4071 or near the touch panel 4071. operating). The touch panel 4071 may include two parts: a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch position, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 410, the command sent by the processor 410 is received and executed. In addition, the touch panel 4071 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave. In addition to the touch panel 4071, the user input unit 407 may also include other input devices 4072. Specifically, other input devices 4072 may include, but are not limited to, a physical keyboard, function keys (such as volume control buttons, switch buttons, etc.), trackball, mouse, and joystick, which will not be repeated here.
进一步的,触控面板4071可覆盖在显示面板4061上,当触控面板4071检测到在其上或附近的触摸操作后,传送给处理器410以确定触摸事件的类型,随后处理器410根据触摸事件的类型在显示面板4061上提供相应的视觉输出。虽然在图13中,触控面板4071与显示面板4061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板4071与显示面板4061集成而实现电子设备的输入和输出功能,具体此处不做限定。Further, the touch panel 4071 can cover the display panel 4061. When the touch panel 4071 detects a touch operation on or near it, it transmits it to the processor 410 to determine the type of the touch event, and then the processor 410 determines the type of the touch event according to the touch. The type of event provides corresponding visual output on the display panel 4061. Although in FIG. 13, the touch panel 4071 and the display panel 4061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 4071 and the display panel 4061 can be integrated The implementation of the input and output functions of the electronic device is not specifically limited here.
接口单元408为外部装置与电子设备400连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元408可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输 入传输到电子设备400内的一个或多个元件或者可以用于在电子设备400和外部装置之间传输数据。The interface unit 408 is an interface for connecting an external device and the electronic device 400. For example, the external device may include a wired or wireless headset port, an external power source (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, audio input/output (I/O) port, video I/O port, headphone port, etc. The interface unit 408 can be used to receive input (for example, data information, power, etc.) from an external device and transmit the received input to one or more elements in the electronic device 400 or can be used to connect the electronic device 400 to an external device. Transfer data between devices.
存储器409可用于存储软件程序以及各种数据。存储器409可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器409可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 409 can be used to store software programs and various data. The memory 409 may mainly include a storage program area and a storage data area. The storage program area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of mobile phones (such as audio data, phone book, etc.), etc. In addition, the memory 409 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
处理器410是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器409内的软件程序和/或模块,以及调用存储在存储器409内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器410可包括一个或多个处理单元;优选的,处理器410可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器410中。The processor 410 is the control center of the electronic device. It uses various interfaces and lines to connect the various parts of the entire electronic device, runs or executes the software programs and/or modules stored in the memory 409, and calls the data stored in the memory 409 , Perform various functions of electronic equipment and process data, so as to monitor the electronic equipment as a whole. The processor 410 may include one or more processing units; preferably, the processor 410 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, application programs, etc., and the modem The processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 410.
电子设备400还可以包括给各个部件供电的电源411(比如电池),优选的,电源411可以通过电源管理系统与处理器410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The electronic device 400 may also include a power source 411 (such as a battery) for supplying power to various components. Preferably, the power source 411 may be logically connected to the processor 410 through a power management system, so as to manage charging, discharging, and power consumption management through the power management system. And other functions.
另外,电子设备400包括一些未示出的功能模块,在此不再赘述。In addition, the electronic device 400 includes some functional modules not shown, which will not be repeated here.
优选的,本发明实施例还提供一种电子设备,包括处理器,存储器,存储在存储器上并可在所述处理器上运行的计算机程序,该计算机程序被处理器执行时实现上述信息分享方法中实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Preferably, the embodiment of the present invention also provides an electronic device, including a processor, a memory, and a computer program stored in the memory and running on the processor, and when the computer program is executed by the processor, the foregoing information sharing method is implemented Each process of the embodiment in the embodiment can achieve the same technical effect. To avoid repetition, it will not be repeated here.
本发明实施例还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机程序,该计算机程序被处理器执行时实现的信息分享方法中实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,所述的计算机可读存储介质,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。The embodiment of the present invention also provides a computer-readable storage medium, and a computer program is stored on the computer-readable storage medium. When the computer program is executed by a processor, each process in the embodiment of the information sharing method is realized, and the same can be achieved. Technical effects, in order to avoid repetition, I will not repeat them here. Wherein, the computer-readable storage medium, such as read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short), magnetic disk, or optical disk, etc.
可以理解的是,本公开的一些实施例描述的这些实施例可以用硬件、软件、固件、中间件、微码或其组合来实现。对于硬件实现,模块、单元、子模块、子单元等可以实现在一个或多个专用集成电路(Application Specific Integrated Circuits,ASIC)、数字信号处理器(Digital Signal Processing,DSP)、数字信号处理设备(DSP Device,DSPD)、可编程逻辑设备(Programmable Logic Device,PLD)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、通用处理器、控制器、微控制器、微处理器、用于执行本申请所述功能的其它电子单元或其组合中。It can be understood that these embodiments described in some embodiments of the present disclosure may be implemented by hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, modules, units, sub-modules, sub-units, etc. can be implemented in one or more application specific integrated circuits (ASICs), digital signal processors (Digital Signal Processing, DSP), digital signal processing equipment ( DSP Device, DSPD), Programmable Logic Device (Programmable Logic Device, PLD), Field-Programmable Gate Array (Field-Programmable Gate Array, FPGA), general-purpose processors, controllers, microcontrollers, microprocessors, Other electronic units or combinations thereof that perform the functions described in this application.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It should be noted that in this article, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements not only includes those elements, It also includes other elements not explicitly listed, or elements inherent to the process, method, article, or device. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other identical elements in the process, method, article, or device that includes the element.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above implementation manners, those skilled in the art can clearly understand that the above-mentioned embodiment method can be implemented by means of software plus the necessary general hardware platform, of course, it can also be implemented by hardware, but in many cases the former is better.的实施方式。 Based on this understanding, the technical solution of the present invention essentially or the part that contributes to the existing technology can be embodied in the form of a software product, and the computer software product is stored in a storage medium (such as ROM/RAM, magnetic disk, The optical disc) includes several instructions to make a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods described in the various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本发明的保护之内。The embodiments of the present invention are described above with reference to the accompanying drawings, but the present invention is not limited to the above-mentioned specific embodiments. The above-mentioned specific embodiments are only illustrative and not restrictive. Those of ordinary skill in the art are Under the enlightenment of the present invention, many forms can be made without departing from the purpose of the present invention and the scope of protection of the claims, all of which fall within the protection of the present invention.

Claims (15)

  1. 一种信息分享方法,应用于电子设备,其特征在于,包括:An information sharing method applied to electronic equipment, characterized in that it includes:
    接收针对悬浮控件的第一输入;Receive the first input for the floating control;
    响应于所述第一输入,将与所述悬浮控件关联的第一信息发送给第一对象,或者,将第二信息发送给与所述悬浮控件关联的第二对象,或者,将与所述悬浮控件关联的第三信息发送给与所述悬浮控件关联的第三对象。In response to the first input, the first information associated with the floating control is sent to the first object, or the second information is sent to the second object associated with the floating control, or the The third information associated with the floating control is sent to the third object associated with the floating control.
  2. 根据权利要求1所述的方法,其特征在于,所述接收针对悬浮控件的第一输入之前,所述方法还包括:The method according to claim 1, wherein before the receiving the first input for the floating control, the method further comprises:
    通过所述悬浮控件获取目标对象,所述目标对象包括目标会话对象及目标会话信息中的至少一项;Obtaining a target object through the floating control, where the target object includes at least one of a target conversation object and target conversation information;
    其中,所述第一信息或所述第三信息为与所述目标对象对应的会话信息。Wherein, the first information or the third information is session information corresponding to the target object.
  3. 根据权利要求2所述的方法,其特征在于,所述目标对象包括所述目标会话信息,所述通过所述悬浮控件获取目标对象之前,所述方法还包括:The method according to claim 2, wherein the target object includes the target session information, and before the target object is obtained through the floating control, the method further comprises:
    显示会话界面,所述会话界面包括会话信息;Displaying a conversation interface, the conversation interface including conversation information;
    所述通过所述悬浮控件获取目标对象,包括:The obtaining the target object through the floating control includes:
    接收将所述会话界面与所述悬浮控件相对移动的第二输入;Receiving a second input for relatively moving the conversation interface and the floating control;
    响应于所述第二输入,获取所述目标会话信息,所述目标会话信息为所述会话界面中经过目标区域的会话信息,所述目标区域包括所述悬浮控件所在的区域。In response to the second input, the target session information is acquired, where the target session information is session information passing through a target area in the conversation interface, and the target area includes the area where the floating control is located.
  4. 根据权利要求3所述的方法,其特征在于,所述目标对象包括所述目标会话对象及所述目标会话信息,所述会话界面还包括会话对象,所述接收将所述会话界面与所述悬浮控件相对移动的第二输入之前,所述方法还包括:The method according to claim 3, wherein the target object comprises the target conversation object and the target conversation information, the conversation interface further comprises a conversation object, and the receiving connects the conversation interface with the Before the second input of the relative movement of the floating control, the method further includes:
    通过所述悬浮控件在所述会话对象中选取目标会话对象;Selecting a target conversation object from among the conversation objects through the floating control;
    其中,所述目标会话信息为第一会话信息中经过目标区域的会话信息,所述第一会话信息为所述会话界面中所述目标会话对象对应的会话信息。Wherein, the target session information is session information passing through a target area in the first session information, and the first session information is session information corresponding to the target session object in the session interface.
  5. 根据权利要求4所述的方法,其特征在于,所述通过所述悬浮控件在所述会话对象中选取目标会话对象之后,所述方法还包括:The method according to claim 4, wherein after the target conversation object is selected from the conversation object through the floating control, the method further comprises:
    获取所述目标会话对象对应的对象信息,所述对象信息用于标识所述目 标会话对象;Acquiring object information corresponding to the target conversation object, where the object information is used to identify the target conversation object;
    在所述悬浮控件上显示所述对象信息。The object information is displayed on the floating control.
  6. 根据权利要求1所述的方法,其特征在于,所述接收针对悬浮控件的第一输入,包括:The method according to claim 1, wherein the receiving a first input for a floating control comprises:
    接收通过所述悬浮控件选取目标分享对象的第一输入;Receiving a first input of selecting a target sharing object through the floating control;
    其中,所述第二对象或所述第三对象为所述目标分享对象。Wherein, the second object or the third object is the target sharing object.
  7. 根据权利要求2所述的方法,其特征在于,所述通过所述悬浮控件获取目标对象之后,所述方法还包括:The method according to claim 2, wherein after the target object is obtained through the floating control, the method further comprises:
    在与所述目标对象对应的会话信息中每条信息的预设位置显示分享标识;Displaying a sharing identifier in a preset position of each piece of information in the session information corresponding to the target object;
    在接收到针对至少一个所述分享标识的第三输入的情况下,取消显示所述至少一个分享标识;In the case of receiving a third input for at least one sharing identification, cancel displaying the at least one sharing identification;
    其中,所述第一信息或所述第三信息为与所述目标对象对应的会话信息中携带所述分享标识的信息。Wherein, the first information or the third information is information that carries the sharing identifier in the session information corresponding to the target object.
  8. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it comprises:
    接收模块,用于接收针对悬浮控件的第一输入;The receiving module is used to receive the first input for the floating control;
    发送模块,用于响应于所述第一输入,将与所述悬浮控件关联的第一信息发送给第一对象,或者,将第二信息发送给与所述悬浮控件关联的第二对象,或者,将与所述悬浮控件关联的第三信息发送给与所述悬浮控件关联的第三对象。The sending module is configured to send first information associated with the floating control to a first object in response to the first input, or send second information to a second object associated with the floating control, or , Sending the third information associated with the floating control to a third object associated with the floating control.
  9. 根据权利要求8所述的电子设备,其特征在于,所述电子设备还包括:The electronic device according to claim 8, wherein the electronic device further comprises:
    第一获取模块,用于通过所述悬浮控件获取目标对象,所述目标对象包括目标会话对象及目标会话信息中的至少一项;The first obtaining module is configured to obtain a target object through the floating control, and the target object includes at least one of a target conversation object and target conversation information;
    其中,所述第一信息或所述第三信息为与所述目标对象对应的会话信息。Wherein, the first information or the third information is session information corresponding to the target object.
  10. 根据权利要求9所述的电子设备,其特征在于,所述目标对象包括所述目标会话信息,所述电子设备还包括:The electronic device according to claim 9, wherein the target object includes the target session information, and the electronic device further includes:
    第一显示模块,用于显示会话界面,所述会话界面包括会话信息;The first display module is configured to display a conversation interface, where the conversation interface includes conversation information;
    所述第一获取模块具体用于:The first obtaining module is specifically used for:
    接收将所述会话界面与所述悬浮控件相对移动的第二输入;Receiving a second input for relatively moving the conversation interface and the floating control;
    响应于所述第二输入,获取所述目标会话信息,所述目标会话信息为所 述会话界面中经过目标区域的会话信息,所述目标区域包括所述悬浮控件所在的区域。In response to the second input, the target session information is acquired, where the target session information is session information passing through a target area in the conversation interface, and the target area includes the area where the floating control is located.
  11. 根据权利要求10所述的电子设备,其特征在于,所述目标对象包括所述目标会话对象及所述目标会话信息,所述会话界面还包括会话对象,所述电子设备还包括:The electronic device according to claim 10, wherein the target object comprises the target conversation object and the target conversation information, the conversation interface further comprises a conversation object, and the electronic device further comprises:
    选取模块,用于通过所述悬浮控件在所述会话对象中选取目标会话对象;The selection module is used to select a target conversation object among the conversation objects through the floating control;
    其中,所述目标会话信息为第一会话信息中经过目标区域的会话信息,所述第一会话信息为所述会话界面中所述目标会话对象对应的会话信息。Wherein, the target session information is session information passing through a target area in the first session information, and the first session information is session information corresponding to the target session object in the session interface.
  12. 根据权利要求11所述的电子设备,其特征在于,所述电子设备还包括:The electronic device according to claim 11, wherein the electronic device further comprises:
    第二获取模块,用于获取所述目标会话对象对应的对象信息,所述对象信息用于标识所述目标会话对象;The second obtaining module is configured to obtain object information corresponding to the target conversation object, where the object information is used to identify the target conversation object;
    第二显示模块,用于在所述悬浮控件上显示所述对象信息。The second display module is used to display the object information on the floating control.
  13. 根据权利要求8所述的电子设备,其特征在于,所述接收模块具体用于:The electronic device according to claim 8, wherein the receiving module is specifically configured to:
    接收通过所述悬浮控件选取目标分享对象的第一输入;Receiving a first input of selecting a target sharing object through the floating control;
    其中,所述第二对象或所述第三对象为所述目标分享对象。Wherein, the second object or the third object is the target sharing object.
  14. 根据权利要求9所述的电子设备,其特征在于,所述电子设备还包括:The electronic device according to claim 9, wherein the electronic device further comprises:
    第三显示模块,用于在与所述目标对象对应的会话信息中每条信息的预设位置显示分享标识;The third display module is configured to display a sharing identifier in a preset position of each piece of information in the session information corresponding to the target object;
    第四显示模块,用于在接收到针对至少一个所述分享标识的第三输入的情况下,取消显示所述至少一个分享标识;The fourth display module is configured to cancel the display of the at least one sharing identification in the case of receiving a third input for the at least one sharing identification;
    其中,所述第一信息或所述第三信息为与所述目标对象对应的会话信息中携带所述分享标识的信息。Wherein, the first information or the third information is information that carries the sharing identifier in the session information corresponding to the target object.
  15. 一种电子设备,其特征在于,包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序被所述处理器执行时实现如权利要求1至7中任一项所述的信息分享方法的步骤。An electronic device, characterized by comprising a processor, a memory, and a computer program stored on the memory and capable of running on the processor, the computer program being executed by the processor realizes as claimed in claim 1. To the steps of the information sharing method described in any one of 7.
PCT/CN2020/123889 2019-10-31 2020-10-27 Information sharing method and electronic device WO2021083112A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911063495.1 2019-10-31
CN201911063495.1A CN110830363B (en) 2019-10-31 2019-10-31 Information sharing method and electronic equipment

Publications (1)

Publication Number Publication Date
WO2021083112A1 true WO2021083112A1 (en) 2021-05-06

Family

ID=69552368

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/123889 WO2021083112A1 (en) 2019-10-31 2020-10-27 Information sharing method and electronic device

Country Status (2)

Country Link
CN (1) CN110830363B (en)
WO (1) WO2021083112A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114124874A (en) * 2021-11-02 2022-03-01 维沃移动通信有限公司 Chat information sending method and device
WO2023109670A1 (en) * 2021-12-14 2023-06-22 北京字跳网络技术有限公司 Sharing method and apparatus, electronic device, storage medium and computer program product

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112702258B (en) * 2020-12-21 2022-08-30 维沃移动通信(杭州)有限公司 Chat message sharing method and device and electronic equipment
CN112748844B (en) * 2020-12-31 2022-12-20 维沃移动通信有限公司 Message processing method and device and electronic equipment
CN112911052B (en) * 2021-01-21 2023-06-16 维沃移动通信有限公司 Information sharing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160308891A1 (en) * 2015-01-20 2016-10-20 Cisco Techology, Inc Intrusion detection mechanism
CN106657686A (en) * 2015-11-04 2017-05-10 华为终端(东莞)有限公司 Short message forwarding method and terminal
CN107818004A (en) * 2016-09-13 2018-03-20 阿里巴巴集团控股有限公司 merchandise information processing method, device, terminal device and user interface system
CN109858215A (en) * 2017-11-30 2019-06-07 腾讯科技(深圳)有限公司 Resource acquisition, sharing, processing method, device, storage medium and equipment
CN110174980A (en) * 2019-05-24 2019-08-27 上海掌门科技有限公司 A kind of method and apparatus that information being presented in session window
CN110308839A (en) * 2019-06-28 2019-10-08 维沃移动通信有限公司 A kind of file management method and terminal device

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108629041A (en) * 2012-07-19 2018-10-09 格兰斯电讯网络有限公司 The information sharing of collaborative browse and other forms integrates
CN104484386A (en) * 2014-12-10 2015-04-01 北京奇虎科技有限公司 Information sharing method and browser client terminal
CN106469094A (en) * 2016-09-05 2017-03-01 维沃移动通信有限公司 A kind of Word message sharing method and mobile terminal
CN106598462A (en) * 2016-12-19 2017-04-26 上海异势信息科技有限公司 Screen shot sharing method and device
CN108494947B (en) * 2018-02-09 2021-01-26 维沃移动通信有限公司 Image sharing method and mobile terminal
CN108228058A (en) * 2018-03-19 2018-06-29 网易(杭州)网络有限公司 Information stickup method and device, electronic equipment, storage medium
CN108920119A (en) * 2018-06-29 2018-11-30 维沃移动通信有限公司 A kind of sharing method and mobile terminal
CN109582475A (en) * 2018-11-27 2019-04-05 维沃移动通信有限公司 A kind of sharing method and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160308891A1 (en) * 2015-01-20 2016-10-20 Cisco Techology, Inc Intrusion detection mechanism
CN106657686A (en) * 2015-11-04 2017-05-10 华为终端(东莞)有限公司 Short message forwarding method and terminal
CN107818004A (en) * 2016-09-13 2018-03-20 阿里巴巴集团控股有限公司 merchandise information processing method, device, terminal device and user interface system
CN109858215A (en) * 2017-11-30 2019-06-07 腾讯科技(深圳)有限公司 Resource acquisition, sharing, processing method, device, storage medium and equipment
CN110174980A (en) * 2019-05-24 2019-08-27 上海掌门科技有限公司 A kind of method and apparatus that information being presented in session window
CN110308839A (en) * 2019-06-28 2019-10-08 维沃移动通信有限公司 A kind of file management method and terminal device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114124874A (en) * 2021-11-02 2022-03-01 维沃移动通信有限公司 Chat information sending method and device
CN114124874B (en) * 2021-11-02 2023-05-26 维沃移动通信有限公司 Chat information sending method and device
WO2023109670A1 (en) * 2021-12-14 2023-06-22 北京字跳网络技术有限公司 Sharing method and apparatus, electronic device, storage medium and computer program product

Also Published As

Publication number Publication date
CN110830363A (en) 2020-02-21
CN110830363B (en) 2022-04-01

Similar Documents

Publication Publication Date Title
WO2021083112A1 (en) Information sharing method and electronic device
CN108536365B (en) Image sharing method and terminal
WO2019174611A1 (en) Application configuration method and mobile terminal
US11575636B2 (en) Method of managing processing progress of a message in a group communication interface and terminal
WO2021104347A1 (en) Camera control method and electronic device
WO2021012931A1 (en) Icon management method and terminal
WO2021109958A1 (en) Application program sharing method and electronic device
WO2020220999A1 (en) Screenshot method and terminal device
CN108646958B (en) Application program starting method and terminal
WO2020156123A1 (en) Information processing method and terminal device
WO2020238463A1 (en) Message processing method and terminal
WO2020173405A1 (en) Content sharing method and mobile terminal
WO2021238719A1 (en) Information display method and electronic device
WO2021109959A1 (en) Application sharing method and electronic device
CN108228902B (en) File display method and mobile terminal
WO2021063292A1 (en) Display control method and electronic device
CN109407948B (en) Interface display method and mobile terminal
WO2021012908A1 (en) Message sending method and mobile terminal
WO2020238445A1 (en) Screen recording method and terminal
WO2020024770A1 (en) Method for determining communication object, and mobile terminal
WO2020215969A1 (en) Content input method and terminal device
CN110865745A (en) Screen capturing method and terminal equipment
WO2021088706A1 (en) Method for controlling application program and electronic device
WO2021104232A1 (en) Display method and electronic device
CN109271262B (en) Display method and terminal

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

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20882115

Country of ref document: EP

Kind code of ref document: A1

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

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

122 Ep: pct application non-entry in european phase

Ref document number: 20882115

Country of ref document: EP

Kind code of ref document: A1