WO2020038168A1 - 内容分享方法、装置、终端及存储介质 - Google Patents

内容分享方法、装置、终端及存储介质 Download PDF

Info

Publication number
WO2020038168A1
WO2020038168A1 PCT/CN2019/096588 CN2019096588W WO2020038168A1 WO 2020038168 A1 WO2020038168 A1 WO 2020038168A1 CN 2019096588 W CN2019096588 W CN 2019096588W WO 2020038168 A1 WO2020038168 A1 WO 2020038168A1
Authority
WO
WIPO (PCT)
Prior art keywords
sharing
content
shared content
target
shared
Prior art date
Application number
PCT/CN2019/096588
Other languages
English (en)
French (fr)
Inventor
宋方
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2020038168A1 publication Critical patent/WO2020038168A1/zh

Links

Images

Classifications

    • 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
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/04817Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance using icons
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • 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/543User-generated data transfer, e.g. clipboards, dynamic data exchange [DDE], object linking and embedding [OLE]

Definitions

  • the embodiments of the present application relate to the field of human-computer interaction, and in particular, to a content sharing method, device, terminal, and storage medium.
  • a user can share a picture with other users by clicking a sharing portal provided by the instant messaging application and selecting a picture to be shared.
  • Embodiments of the present application provide a content sharing method, device, terminal, and storage medium.
  • the technical solution is as follows:
  • a content sharing method includes:
  • a shared content selection floating window is displayed, and the shared content selection floating window includes at least one shared content
  • the target sharing content is shared through a foreground application.
  • a content sharing device in another aspect, includes:
  • a first display module configured to display a sidebar, where the sidebar contains at least one icon
  • a second display module configured to display a shared content selection floating window when a trigger operation is performed on the content sharing icon in the at least one icon, and the shared content selection floating window includes at least one shared content;
  • a first receiving module configured to receive a first sharing operation on a target shared content in the at least one shared content
  • the first sharing module is configured to share the target sharing content through a foreground application according to the first sharing operation.
  • a terminal in another aspect, includes a processor and a memory.
  • the memory stores at least one instruction, and the instruction is loaded and executed by the processor to implement the content sharing method described above. .
  • a computer-readable storage medium stores at least one instruction, and the instruction is loaded and executed by a processor to implement the content sharing method described above.
  • FIG. 1 and 2 are structural block diagrams of a terminal provided by an exemplary embodiment of the present application.
  • FIG. 3 to 8 are schematic diagrams of five terminals with different displays according to the embodiments shown in FIG. 1 and FIG. 2;
  • FIG. 9 shows a flowchart of a content sharing method provided by an exemplary embodiment of the present application.
  • FIG. 10 is a schematic interface diagram of an implementation process of the content sharing method shown in FIG. 9;
  • FIG. 11 shows a flowchart of a content sharing method according to another exemplary embodiment of the present application.
  • FIG. 12 is a schematic interface diagram of a process of sharing a single content
  • FIG. 13 is a schematic interface diagram of a process of sharing multiple contents
  • FIG. 14 shows a flowchart of a content sharing method according to another exemplary embodiment of the present application.
  • FIG. 15 is a schematic interface diagram of a process of sharing content to other applications.
  • FIG. 16 is a flowchart of a content sharing method according to another exemplary embodiment of the present application.
  • FIG. 17 is a schematic diagram of an interface when switching to sharing content and selecting sharing content in a floating window
  • FIG. 18 is a structural block diagram of a content sharing apparatus according to an exemplary embodiment of the present application.
  • FIG. 1 and FIG. 2 are structural block diagrams of a terminal 100 according to an exemplary embodiment of the present application.
  • the terminal 100 may be a mobile phone, a tablet computer, a notebook computer, an e-book, or the like.
  • the terminal 100 in the present application may include one or more of the following components: a processor 110, a memory 120, and a touch display screen 130.
  • the processor 110 may include one or more processing cores.
  • the processor 110 uses various interfaces and lines to connect various parts in the entire terminal 100, and executes the terminal by running or executing instructions, programs, code sets or instruction sets stored in the memory 120, and calling data stored in the memory 120. 100 various functions and processing data.
  • the processor 110 may use at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA).
  • DSP Digital Signal Processing
  • FPGA Field-Programmable Gate Array
  • PDA Programmable Logic Array
  • the processor 110 may integrate one or a combination of a central processing unit (Central Processing Unit, CPU), an image processor (Graphics Processing Unit, GPU), and a modem.
  • CPU Central Processing Unit
  • GPU Graphics Processing Unit
  • modem modem
  • the CPU mainly handles the operating system, user interface, and application programs; the GPU is responsible for rendering and rendering of the content required to be touched by the display screen 130; and the modem is used for processing wireless communication. It can be understood that the modem may not be integrated into the processor 110, and may be implemented by a single chip.
  • the memory 120 may include Random Access Memory (RAM), and may also include Read-Only Memory.
  • the memory 120 includes a non-transitory computer-readable storage medium.
  • the memory 120 may be used to store instructions, programs, codes, code sets, or instruction sets.
  • the memory 120 may include a storage program area and a storage data area, where the storage program area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), Instructions for implementing the following method embodiments, etc .; the storage data area may store data (such as audio data, phone book) and the like created according to the use of the terminal 100.
  • the memory 120 stores a Linux kernel layer 220, a system runtime layer 240, an application framework layer 260, and an application layer 280.
  • the Linux kernel layer 220 provides low-level drivers for various hardware of the terminal 100, such as a display driver, an audio driver, a camera driver, a Bluetooth driver, a Wi-Fi driver, and power management.
  • the system runtime layer 240 provides main feature support for the Android system through some C / C ++ libraries. For example, the SQLite library provides database support, the OpenGL / ES library provides 6 graphics support, and the Webkit library provides browser kernel support.
  • An Android runtime library 242 (Android Runtime) is also provided in the system runtime layer 240, which mainly provides some core libraries, which can allow developers to write Android applications using the Java language.
  • the application framework layer 260 provides various APIs that may be used when building applications. Developers can also use these APIs to build their own applications, such as activity management, window management, view management, notification management, content providers, Package management, call management, resource management, positioning management.
  • At least one application program is running in the application layer 280, and these application programs may be contact programs, SMS programs, clock programs, camera applications, etc. that are native to the operating system; or applications developed by third-party developers, such as instant Communication programs, photo beautification programs, etc.
  • the IOS system includes: a core operating system layer 320 (Core OS layer), a core service layer 340 (Core services layer), and a media layer 360 (Media layer), 380 (Cocoa Touch Layer).
  • the core operating system layer 320 includes an operating system kernel, drivers, and a low-level program framework. These low-level program frameworks provide functions closer to the hardware for use by the program framework located in the core service layer 340.
  • the core service layer 340 provides system services and / or program frameworks required by applications, such as a Foundation framework, an account framework, an advertising framework, a data storage framework, a network connection framework, a geographic location framework, a motion framework, and the like.
  • the media layer 360 provides audio-visual-related interfaces for applications, such as interfaces related to graphics and images, interfaces related to audio technology, interfaces related to video technology, and wireless playback (AirPlay) interfaces for audio and video transmission technologies.
  • the touchable layer 380 provides various commonly-used interface-related frameworks for application development. The touchable layer 380 is responsible for user touch interaction operations on the terminal 100. For example, a local notification service, a remote push service, an advertising framework, a game tool framework, a message user interface interface (UI) framework, a user interface UIKit framework, a map framework, and so on.
  • UI message user interface interface
  • frameworks related to most applications include, but are not limited to, a basic framework in a core service layer 340 and a UIKit framework in a touchable layer 380.
  • the basic framework provides many basic object classes and data types, and provides the most basic system services for all applications, regardless of the UI.
  • the classes provided by the UIKit framework are basic UI class libraries for creating touch-based user interfaces.
  • IOS applications can provide UIs based on the UIKit framework, so it provides the application's infrastructure for building user interfaces and drawing. , Handling and user interaction events, responding to gestures, and more.
  • the touch display screen 130 is used for receiving a user's touch operation on or near any suitable object using a finger, a touch pen, or the like, and displaying a user interface of each application program.
  • the touch display screen 130 is generally disposed on a front panel of the terminal 130.
  • the touch display screen 130 may be designed as a full screen, a curved screen or a special-shaped screen.
  • the touch display screen 130 can also be designed as a combination of a full screen and a curved screen, and a combination of a special-shaped screen and a curved screen, which is not limited in this embodiment. among them:
  • the full screen may refer to a screen design in which the touch screen display 130 occupies the front panel of the terminal 100 with a screen ratio exceeding a threshold (such as 80% or 90% or 95%).
  • One calculation method of the screen ratio is: (the area of the touch display screen 130 / the area of the front panel of the terminal 100) * 100%; another calculation method of the screen ratio is: (the actual display area in the touch display screen 130) Area / the area of the front panel of the terminal 100) * 100%; another way to calculate the screen ratio is: (the diagonal of the touch screen 130 / the diagonal of the front panel of the terminal 100) * 100% .
  • almost all areas on the front panel of the terminal 100 are touch display screens 130.
  • On the front panel 40 of the terminal 100 areas other than the edges generated by the middle frame 41 Are all touch display screens 130.
  • the four corners of the touch display screen 130 may be right-angled or rounded.
  • the full screen may also be a screen design in which at least one front panel component is integrated inside or below the touch display screen 130.
  • the at least one front panel component includes a camera, a fingerprint sensor, a proximity light sensor, a distance sensor, and the like.
  • other components on the front panel of the conventional terminal are integrated in all or part of the touch display screen 130. For example, after the photosensitive element in the camera is divided into multiple photosensitive pixels, each photosensitive The pixels are integrated in a black area in each display pixel in the touch display screen 130. Since at least one front panel component is integrated inside the touch display screen 130, the full screen has a higher screen ratio.
  • the front panel components on the front panel of the traditional terminal can also be set on the side or back of the terminal 100.
  • an ultrasonic fingerprint sensor is set under the touch display screen 130, and a bone conduction type
  • the handset is disposed inside the terminal 130, and the camera is disposed on the side of the terminal and is pluggable.
  • a single side of the middle frame of the terminal 100 or two sides (such as left and right sides), or four sides (such as (Upper, lower, left, and right sides) are provided with edge touch sensors 120, which are used to detect the user's touch operations, click operations, press operations, and slide operations on the middle frame. At least one operation.
  • the edge touch sensor 120 may be any one of a touch sensor, a thermal sensor, and a pressure sensor. The user can apply an operation on the edge touch sensor 120 to control an application program in the terminal 100.
  • the curved screen refers to a screen design in which the screen area of the touch display screen 130 is not in a plane.
  • a curved screen has at least one cross section: the cross section has a curved shape, and the projection of the curved screen in any plane direction perpendicular to the cross section is a flat screen design, where the curved shape may be U-shaped.
  • the curved screen refers to a screen design manner in which at least one side is a curved shape.
  • the curved screen refers to that at least one side of the touch display screen 130 extends to cover the middle frame of the terminal 100.
  • the curved screen refers to a screen design in which the left and right sides 42 are curved; or the curved screen refers to a screen design in which the upper and lower sides are curved; or, Curved screen refers to a screen design with four curved sides on the top, bottom, left, and right.
  • the curved screen is made of a touch screen material with a certain flexibility.
  • the special-shaped screen is a touch screen with an irregular appearance, and the irregular shape is not a rectangle or a rounded rectangle.
  • the special-shaped screen refers to a screen design provided with protrusions, notches, and / or holes on the rectangular or rounded rectangular touch display screen 130.
  • the protrusion, the notch and / or the hole can be located at the edge of the touch display screen 130, the center of the screen, or both.
  • the protrusion, notch and / or hole When the protrusion, notch and / or hole is set on one edge, it can be set at the middle position or both ends of the edge; when the protrusion, notch and / or hole is set on the center of the screen, it can be set above the screen One or more of the region, the upper left region, the left region, the lower left region, the lower region, the lower right region, the right region, and the upper right region.
  • the protrusions, notches, and digging holes can be distributed in a centralized or distributed manner; they can be distributed symmetrically or asymmetrically.
  • the number of the protrusions, notches and / or holes is not limited.
  • the special-shaped screen covers the upper and / or lower forehead area of the touch display screen as a displayable area and / or an operable area, so that the touch-screen display occupies more space on the front panel of the terminal, so the special-shaped screen also has Larger screen ratio.
  • the notches and / or holes are used to receive at least one front panel component, which includes a camera, a fingerprint sensor, a proximity light sensor, a distance sensor, a handset, an ambient light sensor, and a physical button. At least one.
  • the notch may be provided on one or more edges, and the notch may be a semicircular notch, a right-angled rectangular notch, a rounded rectangular notch, a waterdrop-like notch, or an irregularly shaped notch.
  • the special-shaped screen may be a screen design provided with a semi-circular notch 43 at the center of the upper edge of the touch display 130, and the space vacated by the semi-circular notch 43 is used.
  • At least one front panel component for accommodating a camera, a distance sensor (also known as a proximity sensor), a handset, and an ambient light brightness sensor; as shown schematically in FIG.
  • the special-shaped screen may be on the lower edge of the touch display screen 130
  • the screen design of the semi-circular notch 44 is set in the center position, and the space vacated by the semi-circular notch 44 is used to accommodate at least one component of a physical button, a fingerprint sensor, and a microphone; as shown schematically in FIG. 7
  • the special-shaped screen may be a screen design provided with a semi-elliptical notch 45 in the center of the lower edge of the touch display screen 130, and a semi-elliptical notch is formed on the front panel of the terminal 100.
  • the notch encloses an elliptical area, which is used to accommodate physical keys or fingerprint recognition modules.
  • the special-shaped screen can be a touch display.
  • the upper half of the display screen 130 is provided with a screen design of at least one small hole 45.
  • the space vacated by the small hole 45 is used to accommodate at least one of the front panel of a camera, a distance sensor, a handset, and an ambient light sensor. component.
  • the structure of the terminal 100 shown in the above drawings does not constitute a limitation on the terminal 100.
  • the terminal may include more or fewer components than shown, or a combination of some Components, or different component arrangements.
  • the terminal 100 further includes components such as a radio frequency circuit, an input unit, a sensor, an audio circuit, a wireless fidelity (WiFi) module, a power source, and a Bluetooth module, and details are not described herein again.
  • WiFi wireless fidelity
  • the content sharing method provided in the embodiment of the present application can be used for a terminal having a full screen, a curved screen, a special-shaped screen, a folding screen, or other screen forms.
  • the embodiments of the present application are only applied to the special-shaped screen (water drop screen). )
  • the terminal is used as an example for schematic description.
  • FIG. 9 illustrates a flowchart of a content sharing method provided by an exemplary embodiment of the present application. This embodiment is exemplified by applying the method to the terminal provided in FIG. 1 or FIG. 2. The method includes:
  • step 901 a sidebar is displayed, and the sidebar contains at least one icon.
  • the sidebar is a rectangular sidebar, an arc-shaped sidebar, or other irregularly shaped sidebars.
  • the embodiment of the present application does not limit the specific form of the sidebars.
  • the types of icons in the sidebar include, but are not limited to, at least one of the following: shortcut tool icons (such as screen recording tools, translation tools, screen capture tools, etc.), application icons (immediate communication application icons, SMS application icons, Video playback application icon, payment application icon, etc.), shortcut function icons (such as sharing function icon, shorthand function icon, etc.), and the icon in the sidebar can be the system default setting or can be manually set by the user.
  • shortcut tool icons such as screen recording tools, translation tools, screen capture tools, etc.
  • application icons immediateate communication application icons, SMS application icons, Video playback application icon, payment application icon, etc.
  • shortcut function icons such as sharing function icon, shorthand function icon, etc.
  • the terminal when receiving a trigger operation on the shortcut icon, invokes the corresponding shortcut tool; when receiving a trigger operation on the application icon, the terminal starts the corresponding application; when receiving a trigger on the shortcut icon When operating, the terminal starts the corresponding shortcut function.
  • the sidebar is divided into several areas, and different areas are used to display different types of icons, and the icons in different areas may be fixed or set by the user.
  • the sidebar 1000 is divided into a first area 1001, a second area 1002, and a third area 1003, where the first area 1001 is used to display shortcut function icons, and the second area 1002 is used For displaying shortcut tool icons, the third area 1003 is used to display application icons.
  • a buoy in the vertical screen state, a buoy is displayed on the side edge of the user interface, and when a sliding signal is received for the buoy (slide from the side edge to the center of the screen) , The terminal hides the buoy and displays the sidebar on the side edge.
  • a terminal provided with a special-shaped screen in a horizontal screen state, when a sliding signal for the special-shaped display area is received (sliding from the special-shaped area to the center of the screen), the terminal is in the special-shaped area.
  • the sidebar is displayed on the side.
  • the embodiment of the present application does not limit the way of calling out in the sidebar.
  • the sidebar is displayed above the user interface, and the user interface is an operating system main interface or an application interface.
  • the terminal responds to operations in the sidebar, but does not respond to operations in the underlying user interface.
  • This embodiment is described by using an example in which a sidebar is displayed on an upper layer of an application interface.
  • a sidebar is displayed on an upper layer of an application interface.
  • the user calls out the sidebar 1000 through a gesture.
  • Step 902 When a trigger operation is received on the content sharing icon in the at least one icon, a shared content selection floating window is displayed, and the shared content selection floating window includes at least one shared content.
  • a unified sharing portal is provided in the sidebar, and the unified sharing portal is displayed in the form of a content sharing icon in the sidebar.
  • a content sharing icon 1005 is displayed in the first area 1001.
  • a content sharing icon is displayed in the sidebar, or the terminal detects that the front-end application supports content sharing through the unified sharing portal (for example, the front-end application is preset Application), a content sharing icon appears in the sidebar.
  • the trigger operation for triggering the display of the shared content selection floating window may be at least one of a click operation, a long-press operation, a press operation, or a double-click operation, which is not limited in the embodiment of the present application.
  • the terminal stops displaying the sidebar, and displays a shared content selection floating window on the upper layer of the current user interface.
  • Freeform also known as floating window, top-level window or picture-in-picture window
  • the floating window can try not to obstruct the main display elements on the user interface.
  • the shared content selection floating window in the embodiment of the present application is used to display shared content, and the shared content includes at least one of the following: pictures, audios, videos, files, favorite content, and favorite text.
  • the shared content is added content within a predetermined time period, and is sorted according to the added time and displayed in the shared content selection floating window. For example, the shared content is pictures added in the last 7 days.
  • the terminal stops displaying the sidebar 1000, and displays a shared content selection floating window 1006 in the application interface 1004, and the shared content selection floating window Window 1006 contains at least one picture 1007.
  • the shared content selection floating window also includes a floating window closing control (for closing the floating window), a floating window moving control (for adjusting the display position of the floating window in the interface), or a floating window size adjustment control (using (Adjusting the display size of the floating window), which is not limited in the embodiment of the present application.
  • the terminal plays the sharing operation guidance content, where the sharing operation guidance content may be It uses animation, graphic interchange format (GIF), or graphic format, which is not limited in the embodiments of the present application.
  • the sharing operation guidance content may be It uses animation, graphic interchange format (GIF), or graphic format, which is not limited in the embodiments of the present application.
  • Step 903 Receive a first sharing operation on the target shared content in the at least one shared content.
  • the terminal receives a sharing operation on the target shared content in the shared content selection floating window, and the target shared content is at least one item.
  • the sharing content can be shared through the front-end application or other applications. Accordingly, the sharing operation used for sharing the target sharing content can be different.
  • the first sharing operation when the selected target sharing content needs to be shared to the foreground application, the first sharing operation is adopted.
  • the first sharing operation may be a long-press drag operation, or a drag operation may be selected. .
  • the terminal receives a first sharing operation of the user on the picture 1007.
  • the shared content selection floating window only occupies a part of the upper display area of the user interface, the displayed clarity of the shared content is low.
  • the shared content selection floating window enlarges and displays the selected shared content.
  • the viewing operation may be a long press operation, and the duration of the long press operation may be 1 s.
  • Step 904 According to the first sharing operation, share the target shared content through the foreground application.
  • the terminal when the sidebar is displayed in the application interface of the foreground application, the terminal adds the target shared content to the foreground application according to the received first sharing operation, thereby sharing the target shared content through the foreground application.
  • the terminal shares the selected picture 1007 to other users through the instant messaging application according to the first sharing operation.
  • the terminal stops displaying the shared content selection floating window.
  • the sidebar is displayed by triggering, and when a trigger operation is received on the content sharing icon in the sidebar, the shared content selection floating window is displayed, and then the received shared content selection is received.
  • the target shared content is shared through the front-end application; using the content sharing method provided in the embodiment of the present application, the content is shared by using the unified content sharing portal provided in the sidebar under any application , Without having to rely on the sharing portal provided by the application, to achieve a unified content sharing portal and operation, thereby improving the efficiency of content sharing.
  • the target shared content is any one of at least one shared content
  • Receiving a first sharing operation on at least one of the shared content of the target sharing content including:
  • the target sharing content is at least two;
  • Receiving a first sharing operation on at least one of the shared content of the target sharing content including:
  • the method further includes:
  • the target shared content is shared through the target application.
  • receiving a second sharing operation on at least one of the target shared content in the shared content includes:
  • the sharing control When receiving the selection operation for the target sharing content, the sharing control is displayed, or the sharing control is set to the operation state;
  • a sharing menu is displayed, and the sharing menu includes at least one sharing method, and different sharing methods correspond to different applications;
  • sharing the target sharing content through the target application includes:
  • the target shared content is shared by the target application corresponding to the target sharing method.
  • the shared content selection floating window includes at least one type of selection control, and different types of selection controls correspond to different types of shared content;
  • the method further includes:
  • the shared content corresponding to the target type selection control is displayed in the shared content selection floating window.
  • the method further includes:
  • the selected shared content is enlargedly displayed in the shared content selection floating window.
  • the method further includes:
  • the sharing operation is played to guide the content.
  • a shared content selection floating window including;
  • the latest content matching the content of the application is determined as the shared content, and the shared content is displayed in the shared content selection window.
  • users only need to share one content, such as sharing a picture, a file, or a favorite text; in another possible application scenario, users need to share multiple content at the same time, such as sharing Multiple pictures, multiple files, or multiple favorite texts.
  • users perform different sharing operations. The following explains the process of sharing single content and sharing multiple content.
  • the above step 903 may include step 903A, and when at least two items of content need to be shared, the above step 903 may be Include steps 903B and 903C.
  • Step 903A when a long-press drag operation on the target shared content is received, it is determined that the first sharing operation on the target shared content is received, wherein the drag starting point of the long-press drag operation is located in the shared content selection floating window, and The moving end is located in the application interface of the foreground application.
  • the terminal receives a long-press drag operation on the target shared content, and determines that a first sharing operation on the target shared content is received.
  • the terminal when receiving a long-press operation for selecting the target shared content in the floating window for selecting the shared content (for example, a click duration exceeding 0.5s is regarded as a long-press operation), the terminal displays a corresponding thumbnail of the target shared content. Thumbnail, the thumbnail is draggable. Further, the terminal controls the movement of the thumbnail according to the received drag operation. When the thumbnail is moved to the application interface of the foreground application and the drag operation ends, the terminal determines that the first sharing operation is received.
  • a long-press operation for selecting the target shared content in the floating window for selecting the shared content for example, a click duration exceeding 0.5s is regarded as a long-press operation
  • the terminal displays a corresponding thumbnail of the target shared content. Thumbnail, the thumbnail is draggable. Further, the terminal controls the movement of the thumbnail according to the received drag operation.
  • the terminal determines that the first sharing operation is received.
  • the terminal obtains the window coordinates of the shared content selection floating window, and when it is detected that the coordinates corresponding to the drag end point are outside the window coordinates, it is determined that the drag end point is located in the application interface of the foreground application.
  • the terminal when a long-press operation on the picture 1007 is received, the terminal displays a thumbnail 1008 corresponding to the picture 1007, and drags the thumbnail 1008 to the shared content selection according to the received drag operation. Outside the floating window 1006.
  • Step 903B A selection operation for the target shared content is received.
  • the user first needs to select at least two targets to share the content, and accordingly, the terminal determines the target share content according to the received selection operation.
  • each shared content in the shared content selection floating window corresponds to a respective check box
  • the terminal receives a selection operation of the target shared content through the check box.
  • the check box is displayed by default, or the check box is triggered after receiving a long-press operation on the shared content.
  • each picture 1007 in the shared content selection floating window 1006 includes a corresponding check box 1009.
  • the terminal determines the picture 1007 as the target share. content.
  • the terminal may also receive the selection operation of at least two target sharing contents in other ways, which is not limited in the embodiment of the present application.
  • step 903C when any drag operation of the target shared content is received, it is determined that the first sharing operation on the target shared content is received, wherein the drag starting point of the drag operation is at the shared content selection floating window, and drag The end point is in the application interface of the foreground application.
  • the user can drag any item of the target sharing content to the application interface of the foreground application to complete the content sharing.
  • the terminal receives the drag operation on the target shared content, and determines to receive the first sharing operation on the target shared content.
  • the terminal when receiving a drag operation for selecting any target shared content in the shared content selection floating window, the terminal displays a thumbnail set corresponding to the target shared content, and the thumbnail set is in a draggable state. status. Further, the terminal controls the movement of the thumbnail according to the received drag operation. When the thumbnail is moved to the application interface of the foreground application and the drag operation ends, the terminal determines that the first sharing operation is received.
  • the terminal obtains the window coordinates of the shared content selection floating window, and when it is detected that the coordinates corresponding to the drag end point are outside the window coordinates, it is determined that the drag end point is located in the application interface of the foreground application.
  • the terminal when receiving a drag operation on any one of the three selected pictures 1007, the terminal displays a thumbnail set 1009 of the three selected pictures 1007, and according to the received drag operation Drag the thumbnail collection 1009 outside the shared content selection floating window 1006. Further, the terminal simultaneously shares three selected pictures 1007 according to the received operation.
  • the terminal can quickly share a piece of content to the foreground application program by dragging and holding the drag operation; by selecting the drag operation, multiple pieces of content can be quickly shared to the foreground application program, further improving the efficiency of content sharing .
  • the most recent content displayed in the shared content selection floating window can be displayed in the order of the most recently used time, which is convenient for quickly selecting the most recently used content.
  • the terminal obtains the application content displayed in the foreground application, thereby determining the most recent content matching the application content as the shared content, and displaying the shared content in Share content selection in the floating window.
  • the application content can be text, pictures, files, videos, emails, links, and so on.
  • the application content is an instant messaging message obtained from an instant messaging application.
  • the terminal calculates the matching degree between the application content and each recent content respectively, so as to determine the latest content corresponding to the top-k matching degree as the shared content.
  • the terminal performs image recognition on the latest content and calculates the degree of matching between the image recognition result and the text; , The terminal calculates the match between the text content and the file name.
  • the embodiment of the present application does not limit the manner of determining the matching degree between the application content and the recent content.
  • users can also share at least one shared content to other applications through the second sharing operation.
  • the following steps may be further included.
  • Step 905 Receive a second sharing operation on the target shared content in the at least one shared content.
  • the user shares the target sharing content to the target application through the second sharing operation.
  • the second sharing operation includes a sharing content selection operation and a target application selection operation.
  • this step may include the following steps.
  • a sharing control When receiving a selection operation for a target sharing content, a sharing control is displayed, or the sharing control is set to an operation state.
  • step 903B for a process of selecting a target to share content, refer to the foregoing step 903B, which is not repeated in this embodiment.
  • each shared content in the shared content selection floating window is unselected.
  • the terminal displays sharing controls on the periphery of the shared content selection floating window.
  • the sharing control is used to trigger the sharing of the target sharing content to other applications.
  • the terminal displays a sharing control 1010 under the shared content selection floating window 1006.
  • each shared content in the shared content selection floating window is in an unselected state, and the sharing controls on the periphery of the shared content selection floating window are in an inoperable state.
  • the terminal switches the sharing control from an inoperable state to an operating state, so that the user can click to share.
  • the sharing control becomes a focus color.
  • the sharing menu includes at least one sharing method, and different sharing methods correspond to different applications.
  • the terminal receives a trigger operation on the sharing control, and displays a sharing menu according to the trigger operation.
  • the terminal cancels displaying the shared content selection floating window and the sharing control.
  • the sharing method in the sharing menu may be set by a user, or may be dynamically determined by a terminal according to a type of a target sharing content. For example, when the content to be shared is a video, an application that supports video sharing is displayed in the sharing menu.
  • the sharing menu is displayed at the bottom of the user interface and includes an application icon corresponding to at least one application.
  • the user can share the target shared content to the corresponding application by clicking different application icons.
  • the terminal displays a sharing menu 1011, where the sharing menu 1011 includes a plurality of application icons 1012.
  • the user can trigger the terminal to share the target shared content to the target application.
  • the terminal determines that a second sharing operation is received.
  • Step 906 Share the target shared content through the target application according to the second sharing operation.
  • the terminal shares the target shared content through the target application corresponding to the target sharing method.
  • the terminal when the target application is different from the foreground application, when the terminal opens the target application, the terminal switches the foreground application to the background and adds the target sharing content to the target application so that the user can In the target application.
  • the terminal when the content needs to be shared through other applications, the terminal is triggered to display the sharing menu through the sharing control, and the target application in the sharing menu is selected for content sharing, without the user having to manually jump out of the foreground application and open the target application. Simplify the steps of content sharing and improve the efficiency of content sharing.
  • the shared picture is taken as an example for illustrative description.
  • the shared content selection floating window includes at least one type selection control, wherein different types of selection controls correspond to different types of shared content. Users can choose to share from different types of shared content by switching different type selection controls.
  • step 907 when a trigger operation is received on the target type selection control in at least one type selection control, the shared content corresponding to the target type selection control is displayed in the shared content selection floating window.
  • the shared content selection floating window 1006 displays a first type selection control 1013, a second type selection control 1014, a third type selection control 1015, and a fourth type selection control 1016.
  • the first type selection control 1013 is used to trigger the display of picture sharing content
  • the second type selection control 1014 is used to trigger the display of file sharing content
  • the third type selection control 1015 is used to trigger text sharing content
  • the fourth type selection control 1016 is used For triggering favorites to share content.
  • the terminal When receiving the trigger operation on the target type selection control, the terminal obtains the shared content corresponding to the target type selection control, and displays the acquired shared content in the shared content selection floating window. Subsequent users can display different types of shared content in the shared content selection floating window.
  • the terminal when receiving a click signal on the second type selection control 1014, the terminal displays at least one file in the shared content selection floating window 1006 for the user to select.
  • the terminal when receiving a trigger operation on the switching type selection control, saves the selection status of the sharing content corresponding to the previous switching type selection control, but when performing content sharing, the terminal only shares the corresponding switching type selection control. Content for sharing.
  • the user selects a portion of the sharing content under the first type of selection control, then clicks the second type of selection control, and selects a portion of the sharing content under the second type of selection control. If the user clicks the first type selection control next time, the originally selected part of the shared content is still selected.
  • the terminal only shares the selected content selected in the first type selection control, and does not Share content selected in the second type of selection control for sharing.
  • FIG. 11, FIG. 14, and FIG. 16 can be combined with each other or all of them to form a new embodiment, which is not repeatedly described in this embodiment of the present application.
  • FIG. 18 shows a structural block diagram of a content sharing apparatus provided by an exemplary embodiment of the present application.
  • the content sharing device includes:
  • a first display module 1810 configured to display a sidebar, where the sidebar includes at least one icon
  • a second display module 1820 configured to display a shared content selection floating window when a trigger operation is performed on the content sharing icon in the at least one icon, and the shared content selection floating window includes at least one shared content;
  • a first receiving module 1830 configured to receive a first sharing operation on a target shared content in the at least one shared content
  • a first sharing module 1840 is configured to share the target shared content through a foreground application according to the first sharing operation.
  • the target shared content is any one of the at least one shared content
  • the first receiving module 1830 includes:
  • a first receiving unit configured to determine that the first sharing operation on the target sharing content is received when a long-press dragging operation on the target sharing content is received, wherein the long-press dragging operation is received.
  • the drag start point is located in the shared content selection floating window, and the drag end point is located in the application interface of the foreground application.
  • the target sharing content is at least two items
  • the first receiving module 1830 includes:
  • a second receiving unit configured to receive a selection operation on the target shared content
  • a third receiving unit configured to determine that the first sharing operation on the target shared content is received when a drag operation of any of the target shared content is received, wherein the drag operation
  • the drag start point is located in the shared content selection floating window, and the drag end point is located in the application interface of the foreground application.
  • the device further includes:
  • a second receiving module configured to receive a second sharing operation on the target shared content in the at least one shared content
  • a second sharing module is configured to share the target shared content through a target application according to the second sharing operation.
  • the second receiving module includes:
  • a control display unit configured to display a sharing control when a selection operation on the target sharing content is received, or set the sharing control to an operation state
  • a menu display unit configured to display a sharing menu when a trigger operation of the sharing control is received, where the sharing menu includes at least one sharing method, and different sharing methods correspond to different applications;
  • a determining unit configured to determine that the second sharing operation is received when a trigger operation on a target sharing mode in the sharing menu is received
  • the second sharing module is configured to share the target sharing content through the target application corresponding to the target sharing method according to the second sharing operation.
  • the shared content selection floating window includes at least one type of selection control, and different types of selection controls correspond to different types of shared content;
  • the device further includes:
  • a content display module is configured to display the shared content corresponding to the target type selection control in the shared content selection floating window when a trigger operation is received on the target type selection control in the at least one type selection control.
  • the device further includes:
  • the magnifying module is configured to magnify and display the selected shared content in the shared content selection floating window when a viewing operation of the shared content in the shared content selection floating window is received.
  • the device further includes:
  • a playback module is configured to play a content sharing operation guide content when a trigger operation on the content sharing icon is received and the content sharing icon is triggered for the first time.
  • the second display module is configured to:
  • the most recent content matching the application content is determined as the shared content, and the shared content is displayed in the shared content selection floating window.
  • the sidebar is displayed by triggering, and when a trigger operation is received on the content sharing icon in the sidebar, the shared content selection floating window is displayed, and then the received shared content selection is received.
  • the target shared content is shared through the front-end application; using the content sharing method provided in the embodiment of the present application, the content is shared by using the unified content sharing portal provided in the sidebar under any application , Without having to rely on the sharing portal provided by the application, to achieve a unified content sharing portal and operation, thereby improving the efficiency of content sharing.
  • the terminal can quickly share a piece of content to the foreground application program by dragging and holding the drag operation; by selecting the drag operation, multiple pieces of content can be quickly shared to the foreground application program, further improving the efficiency of content sharing .
  • the terminal when the content needs to be shared through other applications, the terminal is triggered to display the sharing menu through the sharing control, and the target application in the sharing menu is selected for content sharing, without the user having to manually jump out of the foreground application and open the target application. Simplify the steps of content sharing and improve the efficiency of content sharing.
  • An embodiment of the present application further provides a computer-readable medium.
  • the computer-readable medium stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the content sharing method according to the foregoing embodiments. .
  • An embodiment of the present application further provides a computer program product.
  • the computer program product stores at least one instruction, and the at least one instruction is loaded and executed by the processor to implement the content sharing method according to the foregoing embodiments.
  • the program may be stored in a computer-readable storage medium.
  • the storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk.

Landscapes

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

Abstract

本申请实施例公开了一种内容分享方法、装置、终端及存储介质,属于人机交互领域,所述方法包括:显示侧边栏,侧边栏中包含至少一个图标;当接收到对至少一个图标中内容分享图标的触发操作时,显示分享内容选择浮窗,分享内容选择浮窗中包含至少一项分享内容;接收对至少一项分享内容中目标分享内容的第一分享操作;根据第一分享操作,通过前台应用程序分享目标分享内容。采用本申请实施例提供的内容分享方法,在任意应用程序下借助侧边栏中提供的统一内容分享入口实现内容分享,无需借助应用程序提供的分享入口,实现了内容分享入口以及操作的统一化,从而提高了内容分享的效率。

Description

内容分享方法、装置、终端及存储介质
本申请要求于2018年08月22日提交的申请号为201810962671.4、发明名称为“内容分享方法、装置、终端及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及人机交互领域,特别涉及一种内容分享方法、装置、终端及存储介质。
背景技术
随着互联网技术的不断发展,用户使用终端进行内容分享变得越来越普遍。
比如,用户使用即时通信应用程序与其他用户进行即时通信过程中,可以通过点击即时通信应用程序提供的分享入口,并选择需要分享的图片,从而向其他用户分享图片。
发明内容
本申请实施例提供了一种内容分享方法、装置、终端及存储介质。所述技术方案如下:
一方面,提供了一种内容分享方法,所述方法包括:
显示侧边栏,所述侧边栏中包含至少一个图标;
当接收到对所述至少一个图标中内容分享图标的触发操作时,显示分享内容选择浮窗,所述分享内容选择浮窗中包含至少一项分享内容;
接收对所述至少一项分享内容中目标分享内容的第一分享操作;
根据所述第一分享操作,通过前台应用程序分享所述目标分享内容。
另一方面,提供了一种内容分享装置,所述装置包括:
第一显示模块,用于显示侧边栏,所述侧边栏中包含至少一个图标;
第二显示模块,用于当接收到对所述至少一个图标中内容分享图标的触发操作时,显示分享内容选择浮窗,所述分享内容选择浮窗中包含至少一项分享内容;
第一接收模块,用于接收对所述至少一项分享内容中目标分享内容的第一分享操作;
第一分享模块,用于根据所述第一分享操作,通过前台应用程序分享所述目标分享内容。
另一方面,提供了一种终端,所述终端包括处理器和存储器,所述存储器中存储有至少一条指令,所述指令由所述处理器加载并执行以实现如上述所述的内容分享方法。
另一方面,提供了一种计算机可读存储介质,所述存储介质中存储有至少一条指令,所述指令由处理器加载并执行以实现如上述所述的内容分享方法。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1和图2是本申请一个示例性实施例提供的终端的结构方框图;
图3至图8是图1和图2所示实施例涉及的五种带有不同显示屏的终端的示意图;
图9示出了本申请一个示例性实施例提供的内容分享方法的流程图;
图10是图9所示内容分享方法实施过程的界面示意图;
图11示出了本申请另一个示例性实施例提供的内容分享方法的流程图;
图12是分享单项内容过程的界面示意图;
图13是分享多项内容过程的界面示意图;
图14示出了本申请另一个示例性实施例提供的内容分享方法的流程图;
图15是分享内容至其它应用程序过程的界面示意图;
图16示出了本申请另一个示例性实施例提供的内容分享方法的流程图;
图17是切换分享内容选择浮窗内分享内容时的界面示意图;
图18示出了本申请一个示例性实施例提供的内容分享装置的结构框图。
具体实施方式
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。
参考图1和图2所示,其示出了本申请一个示例性实施例提供的终端100的结构方框图。该终端100可以是手机、平板电脑、笔记本电脑和电子书等。本申请中的终端100可以包括一个或多个如下部件:处理器110、存储器120和触摸显示屏130。
处理器110可以包括一个或者多个处理核心。处理器110利用各种接口和线路连接整个终端100内的各个部分,通过运行或执行存储在存储器120内的指令、程序、代码集或指令集,以及调用存储在存储器120内的数据,执行终端100的各种功能和处理数据。可选地,处理器110可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器110可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责触摸显示屏130所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器110中,单独通过一块芯片进行实现。
存储器120可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。可选地,该存储器120包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器120可用于存储指令、程序、代码、代码集或指令集。存储器120可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等;存储数据区可存储根据终端100的使用所创建的数据(比如音频数据、电话本)等。
以操作系统为安卓(Android)系统为例,存储器120中存储的程序和数据如图1所示,存储器120中存储有Linux内核层220、系统运行库层240、应用框架层260和应用层280。Linux内核层220为终端100的各种硬件提供了底层的驱动,如显示驱动、音频驱动、摄像头驱动、蓝牙驱动、Wi-Fi驱动、电源管理等。系统运行库层240通过一些C/C++库来为Android系统提供了主要的特性支持。如SQLite库提供了数据库的支持,OpenGL/ES库提供了6绘图的支持,Webkit库提供了浏览器内核的支持等。在系统运行库层240中还提供有Android运行时库242(Android Runtime),它主要提供了一些核心库,能够允许开发者使用Java语言来编写Android应用。应用框架层260提供了构建应用程序时可能用到的各种API,开发者也可以通过使用这些API来构建自己的应用程序,比如活动管理、窗口管理、视图管理、通知管理、内容提供者、包管理、通话管理、资源管理、定位管理。应用层280中运行有至少一个应用程序,这些应用程序可以是操作系统自带的联系人程序、短信程序、时钟程序、相机应用等;也可以是第三方开发者所开发的应用程序,比如即时通信程序、相片美化程序等。
以操作系统为IOS系统为例,存储器120中存储的程序和数据如图2所示,IOS系统包括:核心操作系统层320(Core OS layer)、核心服务层340(Core Services layer)、媒体层360(Media layer)、可触摸层380(Cocoa Touch Layer)。核心操作系统层320包括了操作系统内核、驱动程序以及底层程序框架,这些底层程序框架提供更接近硬件的功能,以供位于核心服务层340的程序框架所使用。核心服务层340提供给应用程序所需要的系统服务和/或程序框架,比如基础(Foundation)框架、账户框架、广告框架、数据存储框架、网络连接框架、 地理位置框架、运动框架等等。媒体层360为应用程序提供有关视听方面的接口,如图形图像相关的接口、音频技术相关的接口、视频技术相关的接口、音视频传输技术的无线播放(AirPlay)接口等。可触摸层380为应用程序开发提供了各种常用的界面相关的框架,可触摸层380负责用户在终端100上的触摸交互操作。比如本地通知服务、远程推送服务、广告框架、游戏工具框架、消息用户界面接口(User Interface,UI)框架、用户界面UIKit框架、地图框架等等。
在图2所示出的框架中,与大部分应用程序有关的框架包括但不限于:核心服务层340中的基础框架和可触摸层380中的UIKit框架。基础框架提供许多基本的对象类和数据类型,为所有应用程序提供最基本的系统服务,和UI无关。而UIKit框架提供的类是基础的UI类库,用于创建基于触摸的用户界面,iOS应用程序可以基于UIKit框架来提供UI,所以它提供了应用程序的基础架构,用于构建用户界面,绘图、处理和用户交互事件,响应手势等等。
触摸显示屏130用于接收用户使用手指、触摸笔等任何适合的物体在其上或附近的触摸操作,以及显示各个应用程序的用户界面。触摸显示屏130通常设置在终端130的前面板。触摸显示屏130可被设计成为全面屏、曲面屏或异型屏。触摸显示屏130还可被设计成为全面屏与曲面屏的结合,异型屏与曲面屏的结合,本实施例对此不加以限定。其中:
全面屏
全面屏可以是指触摸显示屏130占用终端100的前面板的屏占比超过阈值(比如80%或90%或95%)的屏幕设计。屏占比的一种计算方式为:(触摸显示屏130的面积/终端100的前面板的面积)*100%;屏占比的另一种计算方式为:(触摸显示屏130中实际显示区域的面积/终端100的前面板的面积)*100%;屏占比的再一种计算方式为:(触摸显示屏130的对角线/在终端100的前面板的对角线)*100%。示意性的如图3所示的例子中,终端100的前面板上近乎所有区域均为触摸显示屏130,在终端100的前面板40上,除中框41所产生的边缘之外的其它区域,全部为触摸显示屏130。该触摸显示屏130的四个角可以是直角或者圆角。
全面屏还可以是将至少一种前面板部件集成在触摸显示屏130内部或下层的屏幕设计。可选地,该至少一种前面板部件包括:摄像头、指纹传感器、接近光传感器、距离传感器等。在一些实施例中,将传统终端的前面板上的其他部件集成在触摸显示屏130的全部区域或部分区域中,比如将摄像头中的感光元件拆分为多个感光像素后,将每个感光像素集成在触摸显示屏130中每个显示像素中的黑色区域中。由于将至少一种前面板部件集成在了触摸显示屏130的内部,所以全面屏具有更高的屏占比。
当然在另外一些实施例中,也可以将传统终端的前面板上的前面板部件设置在终端100的侧边或背面,比如将超声波指纹传感器设置在触摸显示屏130的下方、将骨传导式的听筒设置在终端130的内部、将摄像头设置成位于终端的侧边且可插拔的结构。
在一些可选的实施例中,当终端100采用全面屏时,终端100的中框的单个侧边,或两个侧边(比如左、右两个侧边),或四个侧边(比如上、下、左、右四个侧边)上设置有边缘触控传感器120,该边缘触控传感器120用于检测用户在中框上的触摸操作、点击操作、按压操作和滑动操作等中的至少一种操作。该边缘触控传感器120可以是触摸传感器、热力传感器、压力传感器等中的任意一种。用户可以在边缘触控传感器120上施加操作,对终端100中的应用程序进行控制。
曲面屏
曲面屏是指触摸显示屏130的屏幕区域不处于一个平面内的屏幕设计。一般的,曲面屏至少存在这样一个截面:该截面呈弯曲形状,且曲面屏在沿垂直于该截面的任意平面方向上的投影为平面的屏幕设计,其中,该弯曲形状可以是U型。可选地,曲面屏是指至少一个侧边是弯曲形状的屏幕设计方式。可选地,曲面屏是指触摸显示屏130的至少一个侧边延伸覆盖至终端100的中框上。由于触摸显示屏130的侧边延伸覆盖至终端100的中框,也即将原本不具有显示功能和触控功能的中框覆盖为可显示区域和/或可操作区域,从而使得曲面屏具 有了更高的屏占比。可选地,如图4所示的例子中,曲面屏是指左右两个侧边42是弯曲形状的屏幕设计;或者,曲面屏是指上下两个侧边是弯曲形状的屏幕设计;或者,曲面屏是指上、下、左、右四个侧边均为弯曲形状的屏幕设计。在可选的实施例中,曲面屏采用具有一定柔性的触摸屏材料制备。
异型屏
异型屏是外观形状为不规则形状的触摸显示屏,不规则形状不是矩形或圆角矩形。可选地,异型屏是指在矩形或圆角矩形的触摸显示屏130上设置有凸起、缺口和/或挖孔的屏幕设计。可选地,该凸起、缺口和/或挖孔可以位于触摸显示屏130的边缘、屏幕中央或两者均有。当凸起、缺口和/或挖孔设置在一条边缘时,可以设置在该边缘的中间位置或两端;当凸起、缺口和/或挖孔设置在屏幕中央时,可以设置在屏幕的上方区域、左上方区域、左侧区域、左下方区域、下方区域、右下方区域、右侧区域、右上方区域中的一个或多个区域中。当设置在多个区域中时,凸起、缺口和挖孔可以集中分布,也可以分散分布;可以对称分布,也可以不对称分布。可选地,该凸起、缺口和/或挖孔的数量也不限。
由于异型屏将触摸显示屏的上额区和/或下额区覆盖为可显示区域和/或可操作区域,使得触摸显示屏在终端的前面板上占据更多的空间,所以异型屏也具有更大的屏占比。在一些实施例中,缺口和/或挖孔中用于容纳至少一种前面板部件,该前面板部件包括摄像头、指纹传感器、接近光传感器、距离传感器、听筒、环境光亮度传感器、物理按键中的至少一种。
示例性的,该缺口可以设置在一个或多个边缘上,该缺口可以是半圆形缺口、直角矩形缺口、圆角矩形缺口、水滴状缺口或不规则形状缺口。示意性的如图5所示的例子中,异型屏可以是在触摸显示屏130的上边缘的中央位置设置有半圆形缺口43的屏幕设计,该半圆形缺口43所空出的位置用于容纳摄像头、距离传感器(又称接近传感器)、听筒、环境光亮度传感器中的至少一种前面板部件;示意性的如图6所示,异型屏可以是在触摸显示屏130的下边缘的中央位置设置有半圆形缺口44的屏幕设计,该半圆形缺口44所空出的位置用于容纳物理按键、指纹传感器、麦克风中的至少一种部件;示意性的如图7所示的例子中,异型屏可以是在触摸显示屏130的下边缘的中央位置设置有半椭圆形缺口45的屏幕设计,同时在终端100的前面板上还形成有一个半椭圆型缺口,两个半椭圆形缺口围合成一个椭圆形区域,该椭圆形区域用于容纳物理按键或者指纹识别模组;示意性的如图8所示的例子中,异型屏可以是在触摸显示屏130中的上半部中设置有至少一个小孔45的屏幕设计,该小孔45所空出的位置用于容纳摄像头、距离传感器、听筒、环境光亮度传感器中的至少一种前面板部件。
除此之外,本领域技术人员可以理解,上述附图所示出的终端100的结构并不构成对终端100的限定,终端可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。比如,终端100中还包括射频电路、输入单元、传感器、音频电路、无线保真(Wireless Fidelity,WiFi)模块、电源、蓝牙模块等部件,在此不再赘述。
需要说明的是,本申请实施例提供的内容分享方法,可以用于具有全面屏、曲面屏、异形屏、折叠屏或其他屏幕形态的终端,本申请实施例仅以应用于异形屏(水滴屏)终端为例进行示意性说明。
相关技术中,用户在使用应用程序过程中进行内容分享时,需要借助应用程序提供的分享入口。然而,由于不同应用程序所提供分享入口的入口位置以及入口层级不同,且进入分享入口后进行内容分享的步骤也不同(分享逻辑不同),导致用户使用不同应用程序内容分享前都需要经过学习,增加了用户学习成本,降低了内容分享的效率较低。
而本申请实施例中,借助侧边栏提供的统一内容分享入口,用户在任一应用程序内进行内容分享时,只需要呼出侧边栏,即可通过侧边栏中的统一内容分享入口将待分享内容分享至前台应用程序。通过统一不同应用应用程序的内容分享入口和操作,降低了用户的学习成本,并提高了内容分享的效率。下面采用示意性的实施例对本申请实施例提供的内容分享方法进行说明。
请参考图9,其示出了本申请一个示例性实施例提供的内容分享方法的流程图。本实施例以该方法应用于上述图1或图2提供的终端中来举例说明。所述方法包括:
步骤901,显示侧边栏,侧边栏中包含至少一个图标。
可选的,该侧边栏为矩形侧边栏、弧形侧边栏或其他不规则形状的侧边栏,本申请实施例并不对侧边栏的具体形态进行限定。
可选的,侧边栏中图标的类型包括但不限于如下至少一种:快捷工具图标(比如录屏工具、翻译工具、截屏工具等等)、应用图标(即时通信应用图标、短信应用图标、视频播放应用图标、支付应用图标等等)、快捷功能图标(比如分享功能图标、速记功能图标等等),且侧边栏中的图标可以为系统默认设置,也可以由用户手动设置。
其中,当接收到对快捷工具图标的触发操作时,终端即调用相应的快捷工具;当接收到对应用图标的触发操作时,终端即启动对应的应用程序;当接收到对快捷功能图标的触发操作时,终端即启动相应的快捷功能。
在一种可能的实施方式中,侧边栏被划分为若干个区域,不同区域用于显示不同类型的图标,且不同区域内的图标可以固定,也可以由用户设置。示意性的,如图10所示,侧边栏1000被划分成第一区域1001、第二区域1002和第三区域1003,其中,第一区域1001用于显示快捷功能图标,第二区域1002用于显示快捷工具图标,第三区域1003用于显示应用图标。
针对呼出侧边栏的方式,在一种可能的实施方式中,竖屏状态下,用户界面的侧边缘显示有浮标,当接收到对该浮标的滑动信号时(由侧边缘向屏幕中央滑动),终端即隐藏浮标并在侧边缘显示侧边栏。在另一种可能的实施方式中,对于设置有异形屏的终端,在横屏状态下,当接收到对异形显示区域的滑动信号(由异形区域向屏幕中央滑动)时,终端即在异形区域周侧显示侧边栏。本申请实施例并不对侧边栏的呼出方式进行限定。
可选的,该侧边栏显示在用户界面上层,该用户界面为操作系统主界面或应用界面。并且,显示侧边栏后,终端响应侧边栏内的操作,而不会响应底层用户界面内的操作。本实施例以侧边栏显示在应用界面上层为例进行说明。示意性的,如图10所示,在即时通信应用程序的应用界面1004下,用户通过手势呼出侧边栏1000。
步骤902,当接收到对至少一个图标中内容分享图标的触发操作时,显示分享内容选择浮窗,分享内容选择浮窗中包含至少一项分享内容。
本申请实施例中,侧边栏中提供统一分享入口,该统一分享入口以内容分享图标的形式显示在侧边栏中。示意性的,如图10所示,第一区域1001中显示有内容分享图标1005。
在一种可能的实施方式中,任意场景下,该侧边栏中均会显示内容分享图标,或者,终端在检测到前台应用程序支持通过统一分享入口进行内容分享(比如前台应用程序为预设应用程序)时,在侧边栏中显示内容分享图标。
其中,触发显示分享内容选择浮窗的触发操作可以是点击操作、长按操作、按压操作或双击操作中的至少一种,本申请实施例并不对此进行限定。
可选的,当接收到对内容分享图标的触发操作后,终端停止显示侧边栏,并在当前用户界面上层显示分享内容选择浮窗。
浮窗(freeform),又称为浮动窗口、顶层窗口或画中画窗口,可以由安卓操作系统中的Windows Manager窗口实现。该浮动窗口可以尽量不遮挡用户界面上的主要显示元素。
本申请实施例中的分享内容选择浮窗用于显示分享内容,该分享内容包括如下中的至少一种:图片、音频、视频、文件、收藏内容和收藏文本。并且,分享内容为预定时间段内的添加的内容,且按照添加时间排序并显示在分享内容选择浮窗中。比如,分享内容为最近7天添加的图片。
示意性的,如图10所示,当接收到对内容分享图标1005的点击操作时,终端停止显示侧边栏1000,并在应用界面1004中显示分享内容选择浮窗1006,该分享内容选择浮窗1006 中包含至少一张图片1007。
可选的,该分享内容选择浮窗中还包含浮窗关闭控件(用于关闭浮窗)、浮窗移动控件(用于调整浮窗在界面中的显示位置)或浮窗尺寸调整控件(用于调整浮窗的显示尺寸),本申请实施例对此不做限定。
可选的,为了引导用户通过侧边栏进行内容分享,当接收到对内容分享图标的触发操作,且内容分享图标被首次触发时,终端播放分享操作引导内容,其中,该分享操作引导内容可以是采用动画、图像互换格式(Graphics Interchange Format,GIF)或者图文形式,本申请实施例对此不做限定。
步骤903,接收对至少一项分享内容中目标分享内容的第一分享操作。
进一步的,终端接收对分享内容选择浮窗中目标分享内容的分享操作,该目标分享内容为至少一项。
可选的,分享内容可以通过前台应用程序进行分享,也可以通过其他应用程序进行分享,相应的,分享目标分享内容所采用的分享操作可以不同。
在一种可能的实施方式中,当需要将选中的目标分享内容分享至前台应用程序时,采用通过第一分享操作,该第一分享操作可以为长按拖动操作,或者,选择拖动操作。
示意性的,如图10所示,终端接收用户对图片1007的第一分享操作。
由于分享内容选择浮窗仅占据用户界面上层的部分显示区域,因此分享内容显示清晰度较低。为了降低用户选择目标分享内容(尤其是图片)时的错误率,在一种可能的实施方式中,显示侧边栏之后,当接收到对分享内容选择浮窗中分享内容的查看操作时,在分享内容选择浮窗中放大显示选中的分享内容。
可选的,该查看操作可以是长按操作,且长按操作的时长可以为1s。
步骤904,根据第一分享操作,通过前台应用程序分享目标分享内容。
可选的,当侧边栏显示在前台应用程序的应用界面时,终端根据接收到的第一分享操作,将目标分享内容添加到前台应用程序,从而通过前台应用程序分享目标分享内容。
示意性的,如图10所示,终端根据第一分享操作,通过即时通信应用将选中的图片1007分享给其他用户。
可选的,完成内容分享后,终端停止显示分享内容选择浮窗。
需要说明的是,本申请实施例仅以分享内容为图片为例进行示意性说明,并不对分享内容的具体类型构成限定。
综上所述,本申请实施例中,通过触发显示侧边栏,并在接收到对侧边栏中内容分享图标的触发操作时,显示分享内容选择浮窗,进而在接收到对分享内容选择浮窗中目标分享内容的分享操作时,通过前台应用程序分享目标分享内容;采用本申请实施例提供的内容分享方法,在任意应用程序下借助侧边栏中提供的统一内容分享入口实现内容分享,无需借助应用程序提供的分享入口,实现了内容分享入口以及操作的统一化,从而提高了内容分享的效率。
可选的,目标分享内容是至少一项分享内容中的任一项;
接收对至少一项分享内容中目标分享内容的第一分享操作,包括:
当接收到对目标分享内容的长按拖动操作时,确定接收到对目标分享内容的第一分享操作,其中,长按拖动操作的拖动起点位于分享内容选择浮窗,拖动终点位于前台应用程序的应用界面。
可选的,目标分享内容为至少两项;
接收对至少一项分享内容中目标分享内容的第一分享操作,包括:
接收到对目标分享内容的选择操作;
当接收到目标分享内容中任一项的拖动操作时,确定接收到对目标分享内容的第一分享操作,其中,拖动操作的拖动起点位于分享内容选择浮窗,拖动终点位于前台应用程序的应用界面。
可选的,显示分享内容选择浮窗之后,该方法还包括:
接收对至少一项分享内容中目标分享内容的第二分享操作;
根据第二分享操作,通过目标应用程序分享目标分享内容。
可选的,接收对至少一项分享内容中目标分享内容的第二分享操作,包括:
当接收到对目标分享内容的选择操作时,显示分享控件,或,将分享控件设置为操作状态;
当接收到分享控件的触发操作时,显示分享菜单,分享菜单中包含至少一种分享方式,不同分享方式对应不同应用程序;
当接收到对分享菜单中目标分享方式的触发操作时,确定接收到第二分享操作;
根据第二分享操作,通过目标应用程序分享目标分享内容,包括:
根据第二分享操作,通过目标分享方式对应的目标应用程序分享目标分享内容。
可选的,分享内容选择浮窗中包含至少一个类型选择控件,不同类型的选择控件对应不同类型的分享内容;
显示分享内容选择浮窗之后,该方法还包括:
当接收到对至少一个类型选择控件中目标类型选择控件的触发操作时,在分享内容选择浮窗中显示目标类型选择控件对应的分享内容。
可选的,显示分享内容选择浮窗之后,该方法还包括:
当接收到对分享内容选择浮窗中分享内容的查看操作时,在分享内容选择浮窗中放大显示选中的分享内容。
可选的,显示侧边栏之后,该方法还包括:
当接收到对内容分享图标的触发操作,且内容分享图标被首次触发时,播放分享操作引导内容。
可选的,显示分享内容选择浮窗,包括;
获取前台应用程序中显示的应用内容;
将与应用内容匹配的最近内容确定为分享内容,并将分享内容显示在分享内容选择浮窗中。
在一种可能的应用场景下,用户仅需要分享一项内容,比如分享一张图片、一个文件或一段收藏文本;在另一种可能的应用场景下,用户需要同时分享多项内容,比如分享多张图片、多个文件或多段收藏文本。相应的,在不同场景下,用户所执行的分享操作不同。下面分别对分享单一内容和分享多内容的过程进行说明。
在一种可能的实施方式中,在图9的基础上,如图11所示,当仅需要分享单项内容时上述步骤903可以包括步骤903A,当需要分享至少两项内容时,上述步骤903可以包括步骤903B和903C。
步骤903A,当接收到对目标分享内容的长按拖动操作时,确定接收到对目标分享内容的第一分享操作,其中,长按拖动操作的拖动起点位于分享内容选择浮窗,拖动终点位于前台应用程序的应用界面。
当用户仅需要分享一项内容时,可以长按需要分享的目标分享内容,并将目标分享内容拖动至前台应用程序的应用界面,完成内容分享。相应的,终端接收对目标分享内容的长按拖动操作,确定接收到对目标分享内容的第一分享操作。
在一种可能的实施方式中,当接收到对分享内容选择浮窗内目标分享内容的长按操作(比如,点击时长超过0.5s视作长按操作)时,终端显示目标分享内容对应的缩略图,该缩略图处于可拖动状态。进一步的,终端根据接收到的拖动操作,控制缩略图移动。当缩略图移动至前台应用程序的应用界面,且拖动操作结束时,终端确定接收到第一分享操作。
可选的,终端获取分享内容选择浮窗的窗口坐标,并在检测到拖动终点对应的坐标位于窗口坐标之外时,确定拖动终点位于前台应用程序的应用界面。
示意性的,如图12所示,当接收到对图片1007的长按操作时,终端显示图片1007对应 的缩略图1008,并根据接收到的拖动操作将缩略图1008拖动至分享内容选择浮窗1006之外。
步骤903B,接收到对目标分享内容的选择操作。
当需要同时分享多项内容时,用户首先需要选择至少两项目标分享内容,相应的,终端根据接收到的选择操作确定目标分享内容。
在一种可能的实施方式中,分享内容选择浮窗中各个分享内容对应各自的复选框,终端即通过该复选框接收对目标分享内容的选择操作。其中,该复选框为默认显示,或者,该复选框是在接收到对分享内容的长按操作后触发显示。
示意性的,如图13所示,分享内容选择浮窗1006中各张图片1007包含对应的复选框1009,当接收到对复选框1009的点击操作时,终端即将图片1007确定为目标分享内容。
当然,终端也可以通过其他方式接收对至少两项目标分享内容的选择操作,本申请实施例并不对此进行限定。
步骤903C,当接收到目标分享内容中任一项的拖动操作时,确定接收到对目标分享内容的第一分享操作,其中,拖动操作的拖动起点位于分享内容选择浮窗,拖动终点位于前台应用程序的应用界面。
进一步的,用户可以将目标分享内容中的任一项拖动至前台应用程序的应用界面,完成内容分享。相应的,终端接收对目标分享内容的拖动操作,确定接收到对目标分享内容的第一分享操作。
在一种可能的实施方式中,当接收到对分享内容选择浮窗内任一项目标分享内容的拖动操作时,终端显示目标分享内容对应的缩略图集合,该缩略集合处于可拖动状态。进一步的,终端根据接收到的拖动操作,控制缩略图移动。当缩略图移动至前台应用程序的应用界面,且拖动操作结束时,终端确定接收到第一分享操作。
可选的,终端获取分享内容选择浮窗的窗口坐标,并在检测到拖动终点对应的坐标位于窗口坐标之外时,确定拖动终点位于前台应用程序的应用界面。
示意性的,如图13所示,当接收到对三张选中图片1007中任一张的拖动操作时,终端显示三张选中图片1007的缩略图集合1009,并根据接收到的拖动操作将缩略图集合1009拖动至分享内容选择浮窗1006之外。进一步的,终端根据接收到的操作,同时分享三张选中图片1007。
本实施例中,终端通过长按拖动操作,可以快速将一项内容分享至前台应用程序;通过选择拖动操作,可以快速将多项内容分享至前台应用程序,进一步提高了内容分享的效率。
上述实施例中,分享内容选择浮窗中显示的最近内容可以按照最近使用时间的先后顺序排序显示,方便用于快速选取最近使用的内容,在另一种可能的实施方式中,为了进一步提高用户选取分享内容的效率,当接收到对内容分享图标的触发操作时,终端获取前台应用程序中显示的应用内容,从而将与该应用内容匹配的最近内容确定为分享内容,并将分享内容显示在分享内容选择浮窗中。其中,该应用内容可以是文字、图片、文件、视频、邮件、链接等等。比如,该应用内容是从即时通信应用程序中获取到的即时通信消息。
可选的,终端获取到应用内容后,分别计算该应用内容与各项最近内容之间的匹配度,从而将top-k匹配度对应的最近内容确定为分享内容。示意性的,当应用内容为文字,且最近内容为图片时,终端对最近内容进行图像识别,并计算图像识别结果与文字之间的匹配度;当应用内容为文字,且最近内容为文件时,终端计算文字内容与文件名称之间的匹配度。本申请实施例并不对确定应用内容与最近内容间匹配度的方式进行限定。
除了通过第一分享操作将至少一项分享内容分享至前台应用程序之外,用户还可以通过第二分享操作将至少一项分享内容分享至其他应用程序。在一种可能的实施方式中,在图9的基础上,如图14所示,步骤902之后还可以包括如下步骤。
步骤905,接收对至少一项分享内容中目标分享内容的第二分享操作。
不同于将内容分享至前台应用程序的第一分享操作,用户通过第二分享操作将目标分享 内容分享至目标应用程序。可选的,该第二分享操作包括分享内容选择操作和目标应用程序选择操作。
在一种可能的实施方式中,本步骤可以包括如下步骤。
一、当接收到对目标分享内容的选择操作时,显示分享控件,或,将分享控件设置为操作状态。
可选的,选择目标分享内容的过程可以参考上述步骤903B,本实施例在此不再赘述。
在一种可能的实施方式中,初始状态下,分享内容选择浮窗中各个分享内容均处于未选中状态,当至少一个分享内容被选中时,终端即在分享内容选择浮窗周侧显示分享控件,该分享控件用于触发将目标分享内容分享至其他应用程序。
示意性的,如图15所示,当选中分享内容选择浮窗1006中的图片1007时,终端在分享内容选择浮窗1006下方显示分享控件1010。
需要说明的是,当取消对各个分享内容的选择时(即无目标分享内容),终端停止显示分享控件。
在另一种可能的实施方式中,初始状态下,分享内容选择浮窗中各个分享内容均处于未选中状态,且分享内容选择浮窗周侧的分享控件处于不可操作状态。当至少一个分享内容被选中时,终端即将分享控件由不可操作状态切换为操作状态,以便用户点击分享。可选的,操作状态下,分享控件变为焦点色。
二、当接收到分享控件的触发操作时,显示分享菜单,分享菜单中包含至少一种分享方式,不同分享方式对应不同应用程序。
进一步的,终端接收对分享控件的触发操作,从而根据触发操作显示分享菜单。可选的,在显示分享菜单时,终端取消显示分享内容选择浮窗以及分享控件。
其中,分享菜单中的分享方式可以由用户设置,也可以由终端根据目标分享内容的类型动态确定。比如,当目标分享内容为视频时,分享菜单中即显示支持视频分享的应用程序。
可选的,该分享菜单显示在用户界面底部,其中包含至少一个应用程序对应的应用图标,用户通过点击不同的应用图标,即可将目标分享内容分享至相应的应用程序。
示意性的,如图15所示,当接收到对分享控件1010的点击操作时,终端显示分享菜单1011,该分享菜单1011中包含多个应用图标1012。
三、当接收到对分享菜单中目标分享方式的触发操作时,确定接收到第二分享操作。
用户通过点击分享菜单中的目标分享方式,即可触发终端将目标分享内容分享至目标应用程序。
示意性的,如图15所示,当接收到对应用H对应应用图标1012的点击操作时,终端确定接收到第二分享操作。
步骤906,根据第二分享操作,通过目标应用程序分享目标分享内容。
可选的,终端根据接收到的第二分享操作,通过目标分享方式对应的目标应用程序分享目标分享内容。
在一种可能的实施方式中,当目标应用程序与前台应用程序不同时,终端开启目标应用程序的同时,将前台应用程序切换至后台,并将目标分享内容添加到目标应用程序,以便用户在目标应用程序中进行分享。
本实施例中,当需要通过其他应用程序分享内容时,通过分享控件触发终端显示分享菜单,并选择分享菜单中的目标应用程序进行内容分享,无需用户手动跳出前台应用程序并打开目标应用程序,简化了内容分享的步骤,提高了内容分享的效率。
上述实施例中以分享图片为例进行示意性说明,在其他可能的实施方式中,分享内容选择浮窗中包含至少一个类型选择控件,其中,不同类型的选择控件对应不同类型的分享内容。用户通过切换不同的类型选择控件,即可从不同类型的分享内容中选择分享。在图9的基础上,如图16所示,步骤902之后,还包括如下步骤。
步骤907,当接收到对至少一个类型选择控件中目标类型选择控件的触发操作时,在分 享内容选择浮窗中显示目标类型选择控件对应的分享内容。
示意性的,如图17所示,分享内容选择浮窗1006中显示有第一类型选择控件1013、第二类型选择控件1014、第三类型选择控件1015和第四类型选择控件1016。其中,第一类型选择控件1013用于触发显示图片分享内容,第二类型选择控件1014用于触发显示文件分享内容,第三类型选择控件1015用于触发文本分享内容,第四类型选择控件1016用于触发收藏分享内容。
当接收到对目标类型选择控件的触发操作时,终端获取目标类型选择控件对应的分享内容,并将获取到的分享内容显示在分享内容选择浮窗中。后续用户即可在分享内容选择浮窗中显示不同类型的分享内容。
如图17所示,当接收到对第二类型选择控件1014的点击信号时,终端在分享内容选择浮窗1006中显示至少一个文件供用户选择。
可选的,当接收到对切换类型选择控件的触发操作时,终端保存上一切换类型选择控件对应分享内容的选择状态,但是在进行内容分享时,终端仅对当前切换类型选择控件对应的分享内容进行分享。
比如,用户选中第一类型选择控件下的部分分享内容,然后点击第二类型选择控件,并选中第二类型选择控件下的部分分享内容。若用户在次点击第一类型选择控件,原先选中的部分分享内容仍旧处于被选中状态,当用户进行分享操作时,终端仅对第一类型选择控件中选中的分享内容进行分享,而不会对第二类型选择控件中选中的分享内容进行分享。
本实施例中,通过在分享内容选择浮窗中设置多个类型选择控件,方便用户在分享内容选择浮窗中选择分享不同类型的内容,提高了用户风险给不同类型内容的效率。
需要说明的是,图11、图14以及图16所示的实施例能够相互结合或全部结合,从而构成新的实施例,本申请实施例在此不再赘述。
请参考图18,其示出了本申请一个示例性实施例提供的内容分享装置的结构框图。该内容分享装置包括:
第一显示模块1810,用于显示侧边栏,所述侧边栏中包含至少一个图标;
第二显示模块1820,用于当接收到对所述至少一个图标中内容分享图标的触发操作时,显示分享内容选择浮窗,所述分享内容选择浮窗中包含至少一项分享内容;
第一接收模块1830,用于接收对所述至少一项分享内容中目标分享内容的第一分享操作;
第一分享模块1840,用于根据所述第一分享操作,通过前台应用程序分享所述目标分享内容。
可选的,所述目标分享内容是所述至少一项分享内容中的任一项;
所述第一接收模块1830,包括:
第一接收单元,用于当接收到对所述目标分享内容的长按拖动操作时,确定接收到对所述目标分享内容的所述第一分享操作,其中,所述长按拖动操作的拖动起点位于所述分享内容选择浮窗,拖动终点位于所述前台应用程序的应用界面。
可选的,所述目标分享内容为至少两项;
所述第一接收模块1830,包括:
第二接收单元,用于接收到对所述目标分享内容的选择操作;
第三接收单元,用于当接收到所述目标分享内容中任一项的拖动操作时,确定接收到对所述目标分享内容的所述第一分享操作,其中,所述拖动操作的拖动起点位于所述分享内容选择浮窗,拖动终点位于所述前台应用程序的应用界面。
可选的,所述装置还包括:
第二接收模块,用于接收对所述至少一项分享内容中所述目标分享内容的第二分享操作;
第二分享模块,用于根据所述第二分享操作,通过目标应用程序分享所述目标分享内容。
可选的,第二接收模块,包括:
控件显示单元,用于当接收到对所述目标分享内容的选择操作时,显示分享控件,或,将所述分享控件设置为操作状态;
菜单显示单元,用于当接收到所述分享控件的触发操作时,显示分享菜单,所述分享菜单中包含至少一种分享方式,不同分享方式对应不同应用程序;
确定单元,用于当接收到对所述分享菜单中目标分享方式的触发操作时,确定接收到所述第二分享操作;
所述第二分享模块,用于根据所述第二分享操作,通过所述目标分享方式对应的所述目标应用程序分享所述目标分享内容。
可选的,所述分享内容选择浮窗中包含至少一个类型选择控件,不同类型的选择控件对应不同类型的分享内容;
所述装置还包括:
内容显示模块,用于当接收到对所述至少一个类型选择控件中目标类型选择控件的触发操作时,在所述分享内容选择浮窗中显示所述目标类型选择控件对应的所述分享内容。
可选的,所述装置还包括:
放大模块,用于当接收到对所述分享内容选择浮窗中分享内容的查看操作时,在所述分享内容选择浮窗中放大显示选中的分享内容。
可选的,所述装置还包括:
播放模块,用于当接收到对所述内容分享图标的触发操作,且所述内容分享图标被首次触发时,播放分享操作引导内容。
可选的,所述第二显示模块,用于:
获取所述前台应用程序中显示的应用内容;
将与所述应用内容匹配的最近内容确定为所述分享内容,并将所述分享内容显示在所述分享内容选择浮窗中。
综上所述,本申请实施例中,通过触发显示侧边栏,并在接收到对侧边栏中内容分享图标的触发操作时,显示分享内容选择浮窗,进而在接收到对分享内容选择浮窗中目标分享内容的分享操作时,通过前台应用程序分享目标分享内容;采用本申请实施例提供的内容分享方法,在任意应用程序下借助侧边栏中提供的统一内容分享入口实现内容分享,无需借助应用程序提供的分享入口,实现了内容分享入口以及操作的统一化,从而提高了内容分享的效率。
本实施例中,终端通过长按拖动操作,可以快速将一项内容分享至前台应用程序;通过选择拖动操作,可以快速将多项内容分享至前台应用程序,进一步提高了内容分享的效率。
本实施例中,当需要通过其他应用程序分享内容时,通过分享控件触发终端显示分享菜单,并选择分享菜单中的目标应用程序进行内容分享,无需用户手动跳出前台应用程序并打开目标应用程序,简化了内容分享的步骤,提高了内容分享的效率。
本实施例中,通过在分享内容选择浮窗中设置多个类型选择控件,方便用户在分享内容选择浮窗中选择分享不同类型的内容,提高了用户风险给不同类型内容的效率。
本申请实施例还提供了一种计算机可读介质,该计算机可读介质存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现如上各个实施例所述的内容分享方法。
本申请实施例还提供了一种计算机程序产品,该计算机程序产品存储有至少一条指令,所述至少一条指令由所述处理器加载并执行以实现如上各个实施例所述的内容分享方法。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。
以上所述仅为本申请的较佳实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。

Claims (20)

  1. 一种内容分享方法,所述方法包括:
    显示侧边栏,所述侧边栏中包含至少一个图标;
    当接收到对所述至少一个图标中内容分享图标的触发操作时,显示分享内容选择浮窗,所述分享内容选择浮窗中包含至少一项分享内容;
    接收对所述至少一项分享内容中目标分享内容的第一分享操作;
    根据所述第一分享操作,通过前台应用程序分享所述目标分享内容。
  2. 根据权利要求1所述的方法,其中,所述目标分享内容是所述至少一项分享内容中的任一项;
    所述接收对所述至少一项分享内容中目标分享内容的第一分享操作,包括:
    当接收到对所述目标分享内容的长按拖动操作时,确定接收到对所述目标分享内容的所述第一分享操作,其中,所述长按拖动操作的拖动起点位于所述分享内容选择浮窗,拖动终点位于所述前台应用程序的应用界面。
  3. 根据权利要求1所述的方法,其中,所述目标分享内容为至少两项;
    所述接收对所述至少一项分享内容中目标分享内容的第一分享操作,包括:
    接收到对所述目标分享内容的选择操作;
    当接收到所述目标分享内容中任一项的拖动操作时,确定接收到对所述目标分享内容的所述第一分享操作,其中,所述拖动操作的拖动起点位于所述分享内容选择浮窗,拖动终点位于所述前台应用程序的应用界面。
  4. 根据权利要求1至3任一所述的方法,其中,所述显示分享内容选择浮窗之后,所述方法还包括:
    接收对所述至少一项分享内容中所述目标分享内容的第二分享操作;
    根据所述第二分享操作,通过目标应用程序分享所述目标分享内容。
  5. 根据权利要求4所述的方法,其中,所述接收对所述至少一项分享内容中所述目标分享内容的第二分享操作,包括:
    当接收到对所述目标分享内容的选择操作时,显示分享控件,或,将所述分享控件设置为操作状态;
    当接收到所述分享控件的触发操作时,显示分享菜单,所述分享菜单中包含至少一种分享方式,不同分享方式对应不同应用程序;
    当接收到对所述分享菜单中目标分享方式的触发操作时,确定接收到所述第二分享操作;
    所述根据所述第二分享操作,通过目标应用程序分享所述目标分享内容,包括:
    根据所述第二分享操作,通过所述目标分享方式对应的所述目标应用程序分享所述目标分享内容。
  6. 根据权利要求1至3任一所述的方法,其中,所述分享内容选择浮窗中包含至少一个类型选择控件,不同类型的选择控件对应不同类型的分享内容;
    所述显示分享内容选择浮窗之后,所述方法还包括:
    当接收到对所述至少一个类型选择控件中目标类型选择控件的触发操作时,在所述分享内容选择浮窗中显示所述目标类型选择控件对应的所述分享内容。
  7. 根据权利要求1至3任一所述的方法,其中,所述显示分享内容选择浮窗之后,所述方法还包括:
    当接收到对所述分享内容选择浮窗中分享内容的查看操作时,在所述分享内容选择浮窗中放大显示选中的分享内容。
  8. 根据权利要求1至3任一所述的方法,其中,所述显示侧边栏之后,所述方法还包括:
    当接收到对所述内容分享图标的触发操作,且所述内容分享图标被首次触发时,播放分享操作引导内容。
  9. 根据权利要求1至3任一所述的方法,其中,所述显示分享内容选择浮窗,包括:
    获取所述前台应用程序中显示的应用内容;
    将与所述应用内容匹配的最近内容确定为所述分享内容,并将所述分享内容显示在所述分享内容选择浮窗中。
  10. 一种内容分享装置,所述装置包括:
    第一显示模块,用于显示侧边栏,所述侧边栏中包含至少一个图标;
    第二显示模块,用于当接收到对所述至少一个图标中内容分享图标的触发操作时,显示分享内容选择浮窗,所述分享内容选择浮窗中包含至少一项分享内容;
    第一接收模块,用于接收对所述至少一项分享内容中目标分享内容的第一分享操作;
    第一分享模块,用于根据所述第一分享操作,通过前台应用程序分享所述目标分享内容。
  11. 根据权利要求10所述的装置,其中,所述目标分享内容是所述至少一项分享内容中的任一项;
    所述第一接收模块,包括:
    第一接收单元,用于当接收到对所述目标分享内容的长按拖动操作时,确定接收到对所述目标分享内容的所述第一分享操作,其中,所述长按拖动操作的拖动起点位于所述分享内容选择浮窗,拖动终点位于所述前台应用程序的应用界面。
  12. 根据权利要求10所述的装置,其中,所述目标分享内容为至少两项;
    所述第一接收模块,包括:
    第二接收单元,用于接收到对所述目标分享内容的选择操作;
    第三接收单元,用于当接收到所述目标分享内容中任一项的拖动操作时,确定接收到对所述目标分享内容的所述第一分享操作,其中,所述拖动操作的拖动起点位于所述分享内容选择浮窗,拖动终点位于所述前台应用程序的应用界面。
  13. 根据权利要求10至12任一所述的装置,其中,所述装置还包括:
    第二接收模块,用于接收对所述至少一项分享内容中所述目标分享内容的第二分享操作;
    第二分享模块,用于根据所述第二分享操作,通过目标应用程序分享所述目标分享内容。
  14. 根据权利要求13所述的装置,其中,所述第二接收模块,包括:
    控件显示单元,用于当接收到对所述目标分享内容的选择操作时,显示分享控件,或,将所述分享控件设置为操作状态;
    菜单显示单元,用于当接收到所述分享控件的触发操作时,显示分享菜单,所述分享菜单中包含至少一种分享方式,不同分享方式对应不同应用程序;
    确定单元,用于当接收到对所述分享菜单中目标分享方式的触发操作时,确定接收到所述第二分享操作;
    所述第二分享模块,用于:
    根据所述第二分享操作,通过所述目标分享方式对应的所述目标应用程序分享所述目标 分享内容。
  15. 根据权利要求10至12任一所述的装置,其中,所述分享内容选择浮窗中包含至少一个类型选择控件,不同类型的选择控件对应不同类型的分享内容;
    所述装置还包括:
    内容显示模块,用于当接收到对所述至少一个类型选择控件中目标类型选择控件的触发操作时,在所述分享内容选择浮窗中显示所述目标类型选择控件对应的所述分享内容。
  16. 根据权利要求10至12任一所述的装置,其中,所述装置还包括:
    放大模块,用于当接收到对所述分享内容选择浮窗中分享内容的查看操作时,在所述分享内容选择浮窗中放大显示选中的分享内容。
  17. 根据权利要求10至12任一所述的装置,其中,所述装置还包括:
    播放模块,用于当接收到对所述内容分享图标的触发操作,且所述内容分享图标被首次触发时,播放分享操作引导内容。
  18. 根据权利要求10至12任一所述的装置,其中,所述第二显示模块,用于:
    获取所述前台应用程序中显示的应用内容;
    将与所述应用内容匹配的最近内容确定为所述分享内容,并将所述分享内容显示在所述分享内容选择浮窗中。
  19. 一种终端,其特征在于,所述终端包括处理器和存储器,所述存储器中存储有至少一条指令,所述指令由所述处理器加载并执行以实现如权利要求1至9任一所述的内容分享方法。
  20. 一种计算机可读存储介质,其特征在于,所述存储介质中存储有至少一条指令,所述指令由处理器加载并执行以实现如权利要求1至9任一所述的内容分享方法。
PCT/CN2019/096588 2018-08-22 2019-07-18 内容分享方法、装置、终端及存储介质 WO2020038168A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810962671.4A CN109164964B (zh) 2018-08-22 2018-08-22 内容分享方法、装置、终端及存储介质
CN201810962671.4 2018-08-22

Publications (1)

Publication Number Publication Date
WO2020038168A1 true WO2020038168A1 (zh) 2020-02-27

Family

ID=64896329

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/096588 WO2020038168A1 (zh) 2018-08-22 2019-07-18 内容分享方法、装置、终端及存储介质

Country Status (2)

Country Link
CN (1) CN109164964B (zh)
WO (1) WO2020038168A1 (zh)

Families Citing this family (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109164964B (zh) * 2018-08-22 2020-08-04 Oppo广东移动通信有限公司 内容分享方法、装置、终端及存储介质
CN110196668B (zh) * 2019-05-31 2021-01-08 维沃移动通信有限公司 信息处理方法和终端设备
CN110333814A (zh) * 2019-05-31 2019-10-15 华为技术有限公司 一种分享内容的方法及电子设备
CN110519461B (zh) * 2019-08-30 2021-07-09 Oppo广东移动通信有限公司 文件发送方法、装置、计算机设备以及存储介质
CN112748827B (zh) * 2019-10-30 2024-08-02 珠海市魅族科技有限公司 截图分享方法、装置、终端设备和存储介质
CN111273832B (zh) 2020-02-27 2023-06-13 Oppo广东移动通信有限公司 内容分享方法、装置、终端及存储介质
CN111371988B (zh) * 2020-02-27 2021-08-20 Oppo广东移动通信有限公司 内容操作方法、装置、终端及存储介质
CN111290675B (zh) * 2020-03-02 2023-02-17 Oppo广东移动通信有限公司 截屏图片的分享方法、装置、终端及存储介质
WO2021227847A1 (zh) * 2020-05-15 2021-11-18 华为技术有限公司 一种文件应用方法及装置
CN111857468A (zh) * 2020-07-01 2020-10-30 Oppo广东移动通信有限公司 内容分享方法及装置、设备、存储介质
CN114764298B (zh) 2020-07-29 2023-03-03 华为技术有限公司 一种跨设备的对象拖拽方法及设备
CN111934985B (zh) * 2020-07-31 2024-03-08 腾讯科技(深圳)有限公司 媒体内容的分享方法、装置、设备及计算机可读存储介质
CN111858522B (zh) * 2020-08-06 2024-07-02 Oppo广东移动通信有限公司 文件分享方法、装置、终端及存储介质
CN111782056B (zh) * 2020-08-18 2024-08-09 Oppo广东移动通信有限公司 内容分享方法、装置、设备及存储介质
CN112035026B (zh) * 2020-08-31 2022-03-22 维沃移动通信有限公司 信息显示方法、装置、电子设备和存储介质
CN114518919A (zh) * 2020-11-19 2022-05-20 Oppo广东移动通信有限公司 内容分享方法及装置、设备、存储介质
CN112560060A (zh) * 2020-12-16 2021-03-26 歌尔光学科技有限公司 信息共享方法、终端及可读存储介质
CN115220828A (zh) * 2021-04-19 2022-10-21 Oppo广东移动通信有限公司 侧边栏的显示方法、装置、终端及存储介质
CN113360226A (zh) * 2021-05-26 2021-09-07 Oppo广东移动通信有限公司 数据内容处理方法、装置、终端及存储介质
CN115484397B (zh) * 2021-06-16 2023-11-10 荣耀终端有限公司 一种多媒体资源分享方法和电子设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104349109A (zh) * 2013-08-09 2015-02-11 联想(北京)有限公司 一种信息处理方法及电子设备
CN105653178A (zh) * 2015-05-28 2016-06-08 宇龙计算机通信科技(深圳)有限公司 一种信息分享方法及装置
CN109164964A (zh) * 2018-08-22 2019-01-08 Oppo广东移动通信有限公司 内容分享方法、装置、终端及存储介质

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102937865A (zh) * 2011-08-16 2013-02-20 上海盛畅网络科技有限公司 一键式信息分享系统及其实现方法
US9589535B2 (en) * 2013-07-19 2017-03-07 Paypal, Inc. Social mobile game for recommending items
CN105991690A (zh) * 2015-02-04 2016-10-05 中兴通讯股份有限公司 一种分享信息的方法和装置
CN105068717B (zh) * 2015-08-12 2018-06-29 北京金山安全软件有限公司 移动终端通知栏的管理方法、装置及移动终端
CN106302651B (zh) * 2016-07-29 2020-12-29 努比亚技术有限公司 图片的社交分享方法及具有图片社交分享系统的终端
CN106453054A (zh) * 2016-10-26 2017-02-22 天脉聚源(北京)传媒科技有限公司 一种信息分享的方法及装置
CN107463310A (zh) * 2017-09-04 2017-12-12 深圳天珑无线科技有限公司 一种图片分享的方法、装置、移动终端及计算机可读存储介质
CN107678625A (zh) * 2017-09-29 2018-02-09 努比亚技术有限公司 信息分享菜单显示方法、移动终端及计算机可读存储介质
CN107809527B (zh) * 2017-09-29 2020-11-17 努比亚技术有限公司 一种呈现快捷操作的方法和电子设备

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104349109A (zh) * 2013-08-09 2015-02-11 联想(北京)有限公司 一种信息处理方法及电子设备
CN105653178A (zh) * 2015-05-28 2016-06-08 宇龙计算机通信科技(深圳)有限公司 一种信息分享方法及装置
CN109164964A (zh) * 2018-08-22 2019-01-08 Oppo广东移动通信有限公司 内容分享方法、装置、终端及存储介质

Also Published As

Publication number Publication date
CN109164964B (zh) 2020-08-04
CN109164964A (zh) 2019-01-08

Similar Documents

Publication Publication Date Title
WO2020038168A1 (zh) 内容分享方法、装置、终端及存储介质
US11301131B2 (en) Method for split-screen display, terminal, and non-transitory computer readable storage medium
EP3842905B1 (en) Icon display method and apparatus, terminal and storage medium
WO2020147665A1 (zh) 文件处理方法、装置、终端及存储介质
WO2020147666A1 (zh) 用户界面显示方法、装置、终端及存储介质
CN109101157B (zh) 侧边栏图标设置方法、装置、终端及存储介质
CN108089786B (zh) 用户界面显示方法、装置、设备及存储介质
CN108804190B (zh) 用户界面显示方法、装置、终端及存储介质
WO2019174546A1 (zh) 用户界面显示方法、装置、设备及存储介质
WO2019174477A1 (zh) 用户界面显示方法、装置及终端
US20190073113A1 (en) Method and Terminal for Displaying Notification Message and Non-transitory Computer-readable Storage Medium
WO2019233306A1 (zh) 图标显示方法、装置及终端
CN108803964B (zh) 浮标显示方法、装置、终端及存储介质
WO2019174465A1 (zh) 用户界面显示方法、装置、终端及存储介质
WO2019233313A1 (zh) 浮标显示方法、装置、终端及存储介质
WO2019233307A1 (zh) 用户界面显示方法、装置、终端及存储介质
WO2019233280A1 (zh) 用户界面显示方法、装置、终端及存储介质
CN107688430B (zh) 更换壁纸的方法、装置、终端及存储介质
CN107656578A (zh) 终端控制方法、装置、终端及存储介质
WO2019047147A1 (zh) 图标移动方法及装置
CN109656445B (zh) 内容处理方法、装置、终端及存储介质
CN107608550B (zh) 触摸操作响应方法及装置
CN107608551B (zh) 触摸操作响应方法及装置
WO2017113624A1 (en) System and method for operating system of mobile device
WO2019047187A1 (zh) 导航栏控制方法及装置

Legal Events

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

Ref document number: 19852752

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

Country of ref document: EP

Kind code of ref document: A1