WO2020000971A1 - 切换全局特效的方法、装置、终端设备及存储介质 - Google Patents

切换全局特效的方法、装置、终端设备及存储介质 Download PDF

Info

Publication number
WO2020000971A1
WO2020000971A1 PCT/CN2018/124745 CN2018124745W WO2020000971A1 WO 2020000971 A1 WO2020000971 A1 WO 2020000971A1 CN 2018124745 W CN2018124745 W CN 2018124745W WO 2020000971 A1 WO2020000971 A1 WO 2020000971A1
Authority
WO
WIPO (PCT)
Prior art keywords
global
sliding
effects
target interface
effect
Prior art date
Application number
PCT/CN2018/124745
Other languages
English (en)
French (fr)
Inventor
王亚
Original Assignee
北京微播视界科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京微播视界科技有限公司 filed Critical 北京微播视界科技有限公司
Priority to AU2018430595A priority Critical patent/AU2018430595B2/en
Priority to RU2020135601A priority patent/RU2764157C1/ru
Priority to JP2020558509A priority patent/JP2021512436A/ja
Priority to KR1020207032742A priority patent/KR102373021B1/ko
Priority to EP18924165.6A priority patent/EP3770744A4/en
Priority to SG11202010299QA priority patent/SG11202010299QA/en
Priority to CA3097779A priority patent/CA3097779C/en
Priority to BR112020022785-4A priority patent/BR112020022785A2/pt
Publication of WO2020000971A1 publication Critical patent/WO2020000971A1/zh
Priority to US17/021,248 priority patent/US11249630B2/en

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/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
    • G06F3/04883Interaction 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 for inputting data by handwriting, e.g. gesture or text
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04845Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range for image manipulation, e.g. dragging, rotation, expansion or change of colour
    • 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/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • 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
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T13/00Animation
    • G06T13/802D [Two Dimensional] animation, e.g. using sprites
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T3/00Geometric image transformations in the plane of the image
    • G06T3/20Linear translation of whole images or parts thereof, e.g. panning
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04804Transparency, e.g. transparent or translucent windows
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2200/00Indexing scheme for image data processing or generation, in general
    • G06T2200/24Indexing scheme for image data processing or generation, in general involving graphical user interfaces [GUIs]

Definitions

  • Embodiments of the present disclosure relate to Internet technologies, and for example, to a method, an apparatus, a terminal device, and a storage medium for switching global special effects.
  • a filter can realize various artistic effects of the image. Adding a filter can artistically filter the original picture of the image to make it appear an artistic effect.
  • Image or video capture software usually provides a variety of filters for users to choose from.
  • the user when a user needs to use or switch filters, the user first needs to click the filter control to call up the filter area. The user can click the corresponding filter in the filter area to switch the filter, and when switching, directly Switching the current display effect to the filter effect selected by the user is not convenient for the user to compare different filter effects, the switching efficiency is low, and the user experience is affected.
  • embodiments of the present disclosure provide a method, an apparatus, a terminal device, and a storage medium for switching global special effects, so as to improve the switching efficiency of global special effects and improve the user experience.
  • An embodiment of the present disclosure provides a method for switching global special effects, including:
  • the global effect with a large display area among the two global effects is the global effect selected by the user, and is displayed on the entire target interface.
  • An embodiment of the present disclosure further provides a device for switching global special effects, the device includes:
  • the to-be-switched special effects determining module is configured to determine two global special effects to be switched according to the sliding direction of the sliding gesture when a sliding gesture is detected on the target interface;
  • the simultaneous display module is configured to display the two global effects on both sides of the target interface during the sliding process of the sliding gesture, and change the two global effects according to the sliding displacement of the sliding gesture. Display area;
  • the global special effect switching module is configured to, when the release operation of the sliding gesture is detected, determine that the global special effect having a large display area among the two global special effects is a global special effect selected by the user, and display it on the entire target interface.
  • An embodiment of the present disclosure further provides a terminal device, where the terminal device includes:
  • One or more processors are One or more processors;
  • a storage device configured to store one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors enable the one or more processors to implement the method for switching global special effects according to any embodiment of the present disclosure.
  • An embodiment of the present disclosure also provides a computer-readable storage medium on which a computer program is stored.
  • the program is executed by a processor, the method for switching a global special effect according to any one of the embodiments of the present disclosure is implemented.
  • FIG. 1 is a flowchart of a method for switching a global special effect provided by Embodiment 1 of the present disclosure
  • FIGS. 2a to 2c are schematic diagrams showing two global effects on the left and right sides of a target interface when the sliding direction is left and right in a vertical screen state according to an embodiment of the present disclosure
  • 2d-2f are schematic diagrams showing two kinds of global effects simultaneously on the upper and lower sides of the target interface when the sliding direction is vertical sliding in the vertical screen state in the embodiment of the present disclosure
  • 2g to 2i are schematic diagrams showing two global effects on the left and right sides of the target interface when the sliding direction is left and right in the horizontal screen state in the embodiment of the present disclosure
  • 2j-2l are schematic diagrams showing two kinds of global effects on the upper and lower sides of a target interface at the same time when the sliding direction is up and down in the horizontal screen state in the embodiment of the present disclosure
  • Embodiment 3 is a flowchart of a method for switching a global special effect provided by Embodiment 2 of the present disclosure
  • Embodiment 4 is a schematic structural diagram of a device for switching global special effects provided by Embodiment 3 of the present disclosure
  • FIG. 5 is a schematic diagram of a hardware structure of a terminal device according to a fourth embodiment of the present disclosure.
  • FIG. 1 is a flowchart of a method for switching global special effects provided by Embodiment 1 of the present disclosure. This embodiment is applicable to a case where a global special effect of a video or a photo is switched.
  • the method may be performed by a device for switching global special effects.
  • the device may be implemented by at least one of software and hardware, and may generally be integrated in a terminal device such as a mobile phone or a tablet computer.
  • the method includes steps 110, 120, and 130.
  • step 110 when a sliding gesture is detected on the target interface, two global special effects to be switched are determined according to the sliding direction of the sliding gesture.
  • the target interface may include a video shooting interface, a video editing interface, a photo shooting interface, or a photo editing interface.
  • the sliding direction includes sliding up, sliding down, sliding left, or sliding right.
  • Global effects are effects that apply to all pixels in a photo or video. They can optionally include at least one of filters and transparency, and can also include other global effects. Among them, the filters are Japanese, young, pure, moving or innocent, etc.
  • the transparency is used to adjust the transparency of the photo or video, for example, it can be 50%, 60%, 70%, or 80%.
  • the preset slide gesture may be a left slide gesture, a right slide gesture, a slide up gesture, or a slide down gesture, for example, it may be set as a left slide gesture.
  • step 120 during the sliding process of the sliding gesture, the two global special effects are simultaneously displayed on both sides of the target interface, and the display of the two global special effects is changed according to the sliding displacement of the sliding gesture. region.
  • the two global special effects to be switched can be displayed on the left and right sides of the target interface at the same time when the terminal device is in the vertical or horizontal screen; if the swipe gesture is a swipe up gesture or a swipe gesture In the case of a vertical or horizontal screen of a terminal device, two global special effects to be switched can be displayed at the same time on the upper and lower sides of the target interface.
  • the first of the two global effects is a global effect displayed before a sliding gesture is detected, and the second is a global effect stored adjacent to the first type and determined according to the sliding direction of the sliding gesture.
  • the display area of the first global special effect becomes smaller, and the display area of the second global special effect becomes larger.
  • the display area of the first global special effect It becomes larger, the display area of the second global special effect becomes smaller, that is, the size of the display area of the first global special effect is inversely proportional to the sliding displacement of the sliding gesture, and the size of the display area of the second global special effect is proportional to the sliding displacement of the sliding gesture. Directly proportional.
  • the sliding displacement is a lateral displacement component; if the sliding gesture is a sliding up gesture or a sliding gesture, the sliding displacement is a longitudinal displacement component, that is, the second global special effect's moving displacement
  • the sliding gesture can move one pixel, and the second global effect moves two pixels in the corresponding direction of the sliding gesture. Accordingly, the first global effect moves two pixels in the corresponding direction of the sliding gesture. Pixels, thereby reducing the display area by two pixels in the corresponding direction.
  • Figures 2a-2c are schematic diagrams showing two global special effects simultaneously on the left and right sides of the target interface when the sliding direction is left and right in the vertical screen state in the embodiment of the present disclosure, as shown in the figure.
  • Figure 2a in the vertical screen state, when the swipe direction of the swipe gesture is detected to be swiping to the left, first determine that the global effect before the swipe gesture is detected is the first type of global effect to be switched, and it will be related to the global effect.
  • the adjacent global effects are the second type of global effects to be switched.
  • the first global effect before the swipe gesture is detected is normal, and the second global effect after the swipe gesture is detected.
  • the Japanese special effect is taken as an example.
  • the display area of the two global special effects is changed, as shown in Figure 2b.
  • the display area of the first global special effect is getting smaller and smaller.
  • the display area of the second global effect is getting larger and larger; if the sliding gesture changes the sliding direction during the sliding process of the sliding gesture, the display area of the two global effects also changes accordingly.
  • FIG 2C i.e., on the basis of FIG. 2b, the first global effect display area becomes larger, the display area of the second global effect becomes small.
  • Figures 2d-2f are schematic diagrams showing two global special effects simultaneously on the upper and lower sides of the target interface when the sliding direction is vertical sliding in the vertical screen state in the embodiment of the present disclosure, as shown in the figure.
  • the global effect before the sliding gesture is detected is first determined as the first global effect to be switched, and the global effect adjacent to the global effect is taken as The second type of global effects to be switched.
  • Figures 2d, 2e, and 2f take the first type of global effects before the swipe gesture is detected as normal, and the second type of global effects after the swipe gesture is detected as Japanese. With the slide gesture, continue to slide up to change the display area of the two global effects.
  • the display area of the first global effect is getting smaller and smaller, and the display area of the second global effect is smaller.
  • the display areas of the two global effects also change, as shown in Figure 2f. That is, based on FIG. 2e, the display area of the first global special effect becomes larger, and the display area of the second global special effect becomes smaller.
  • Figures 2g-2i are schematic diagrams showing two global special effects simultaneously on the left and right sides of the target interface when the sliding direction is left and right in the horizontal screen state in the embodiment of the present disclosure, as shown in the figure.
  • FIGs 2g, 2h, and 2i show that the first global effect before the swipe gesture is normal, and the second global effect after the swipe gesture is detected.
  • the Japanese special effect is taken as an example.
  • the display area of the two global special effects is changed, as shown in Figure 2h.
  • the display area of the first global special effect is getting smaller and smaller.
  • the display area of the second global effect is getting larger and larger; if the sliding gesture changes the sliding direction during the sliding process of the sliding gesture, the display area of the two global effects also changes accordingly.
  • FIG. 2i i.e. on the basis of FIG. 2h, a first global effect display area becomes larger, the display area of the second global effect becomes small.
  • FIGs. 2j to 2l are schematic diagrams showing two types of global effects simultaneously on the upper and lower sides of the target interface when the sliding direction is up and down in the horizontal screen state in the embodiment of the present disclosure, as shown in the figure.
  • the global effect before the sliding gesture is detected is first determined to be the first global effect to be switched, and the global effect adjacent to the global effect is taken as The second type of global effects to be switched.
  • Figures 2j, 2k, and 2l take the first type of global effects before the swipe gesture is detected as normal, and the second type of global effects after the swipe gesture is detected as Japanese.
  • step 130 when the release operation of the sliding gesture is detected, it is determined that the global effect with a large display area among the two global effects is the global effect selected by the user, and is displayed on the entire target interface.
  • the releasing operation of the sliding gesture includes a finger lifting operation.
  • the sliding gesture can be used to make the display area of the global effect to be used larger than the display area of another global effect, and then release the sliding gesture.
  • the terminal device detects the release operation of the sliding gesture, it determines the global special effect with a large display area as the global special effect selected by the user, and displays it on the entire target interface.
  • the method for switching global special effects determines two global special effects to be switched according to the sliding direction of a sliding gesture when a sliding gesture is detected on the target interface, and simultaneously on both sides of the target interface during the sliding gesture sliding process Display two global effects, change the display area of the two global effects according to the sliding displacement of the slide gesture, and when the release operation of the slide gesture is detected, determine that the global effect with a large display area in the two global effects is the global selected by the user Special effects, and displayed on the entire target interface, switch global effects by sliding gestures and display two global effects at the same time during the sliding gesture sliding, which is convenient for users to compare the display effects of two global effects, improve the efficiency of global effects switching, improve user experience.
  • the sliding displacement includes a lateral displacement component
  • the display areas of the two global effects on the left and right sides of the target interface are changed.
  • the display form of the target interface can be a vertical screen display or a horizontal screen display.
  • the display area of the two global special effects displayed on the left and right sides of the target interface is changed by the lateral displacement component in the sliding gesture, that is, the displacement component parallel to the short side of the display screen;
  • the display form of the target interface is a horizontal screen display
  • the display area of the two global special effects displayed on the left and right sides of the target interface is changed by the lateral displacement component in the sliding gesture, that is, the displacement component parallel to the long side of the display screen.
  • the lateral displacement component in the swipe gesture increases, the display area of the first global special effect becomes smaller, and the display area of the second global special effect becomes larger.
  • FIG. 3 is a flowchart of a method for switching global effects provided in Embodiment 2 of the present disclosure, which is displayed on the entire target interface, and further includes: according to the determined position of the display area of the global effects on the target interface, in the form of a displacement animation Move the determined global effect to the opposite side until the determined global effect covers the entire target interface.
  • the method includes steps 210, 220, and 230.
  • step 210 when a sliding gesture is detected on the target interface, two global special effects to be switched are determined according to the sliding direction of the sliding gesture.
  • step 220 during the sliding process of the sliding gesture, the two global special effects are simultaneously displayed on both sides of the target interface, and the display of the two global special effects is changed according to the sliding displacement of the sliding gesture. region.
  • step 230 when the release operation of the sliding gesture is detected, it is determined that the global effect with a large display area among the two global effects is the global effect selected by the user, and the target is determined based on the determined global display area of the global effect.
  • the position of the interface moves the determined global special effect to the opposite side in the form of a displacement animation until the determined global special effect covers the entire target interface.
  • the determined global special effect is moved to the opposite side through the form of displacement animation until it covers the entire target interface. For example, when two global effects are displayed on the left and right sides of the target interface at the same time, if the display area of the global effect located on the left side of the target interface is large when the release operation of the swipe gesture is detected, the global effect on the left is switched.
  • the method for switching global effects After determining the global effect selected by the user, the method for switching global effects provided by this embodiment moves the global effect to the opposite side in the form of a displacement animation according to the position of the global effect on the target interface, until the entire target interface is covered, which is rich. Interface effects to further enhance user experience.
  • FIG. 4 is a schematic structural diagram of a device for switching a global special effect provided by Embodiment 3 of the present disclosure.
  • This embodiment is applicable to a case of switching a global special effect of a video or a photo.
  • the method may perform a method for switching a global special effect.
  • the device may be implemented by at least one of software and hardware, and may generally be integrated in a terminal device such as a mobile phone or a tablet computer.
  • the apparatus for switching global special effects according to this embodiment includes a to-be-switched special effect determining module 310, a simultaneous display module 320, and a global special effect switching module 330.
  • the to-be-switched special effects determining module 310 is configured to determine two global special effects to be switched according to the sliding direction of the sliding gesture when a sliding gesture is detected on the target interface.
  • the simultaneous display module 320 is configured to simultaneously display the two global effects on both sides of the target interface during the sliding process of the sliding gesture, and change the two global effects according to the sliding displacement of the sliding gesture. Display area.
  • the global special effect switching module 330 is configured to, when a release operation of the sliding gesture is detected, determine that the global special effect with a large display area among the two global special effects is a global special effect selected by the user, and display it on the entire target interface.
  • the sliding displacement includes a lateral displacement component
  • the simultaneous display module includes: a display area changing unit configured to change the two global special effects according to the lateral displacement component of the sliding gesture.
  • the display areas on the left and right sides of the target interface are described.
  • the global special effect switching module includes: a displacement animation switching unit configured to move the determined global special effect to the opposite side in the form of a displacement animation according to the determined position of the display area of the global special effect on the target interface. Until the determined global special effect covers the entire target interface.
  • the target interface includes a video shooting interface, a video editing interface, a photo shooting interface, or a photo editing interface.
  • the global effect includes at least one of a filter and a transparency.
  • the device for switching global special effects can execute the method for switching global special effects provided by any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
  • the device for switching global special effects can execute the method for switching global special effects provided by any embodiment of the present disclosure, and has the corresponding functional modules and beneficial effects of the execution method.
  • FIG. 5 is a schematic diagram of a hardware structure of a terminal device according to a fourth embodiment of the present disclosure.
  • Terminal devices can be implemented in a variety of forms. Terminal devices in this disclosure can include, but are not limited to, such as mobile phones, smart phones, laptops, digital broadcast receivers, Personal Digital Assistants (PDAs), and tablet computers ( Portable Android Device (PAD), Portable Multimedia Player (PMP), navigation device, vehicle terminal equipment, vehicle display terminal, vehicle electronic rearview mirror and other mobile terminal equipment, as well as fixed devices such as digital TVs, desktop computers, etc.
  • PDAs Personal Digital Assistants
  • PMP Portable Multimedia Player
  • the terminal device 400 may include a wireless communication unit 410, an A / V (audio / video) input unit 420, a user input unit 430, a sensing unit 440, an output unit 450, a memory 460, an interface unit 470, and a processing unit. 480 and power supply unit 490 and so on.
  • FIG. 5 illustrates a terminal device having various components, but it should be understood that it is not required to implement all the illustrated components, and more or fewer components may be implemented instead.
  • the wireless communication unit 410 allows radio communication between the terminal device 400 and a wireless communication system or network.
  • the A / V input unit 420 is configured to receive an audio or video signal.
  • the user input unit 430 may generate key input data according to a command input by the user to control various operations of the terminal device.
  • the sensing unit 440 detects the current state of the terminal device 400, the position of the terminal device 400, the presence or absence of a user's touch input to the terminal device 400, the orientation of the terminal device 400, the acceleration or deceleration movement and direction of the terminal device 400, and the like, and generates A command or signal for controlling the operation of the terminal device 400.
  • the interface unit 470 functions as an interface that at least one external device can communicate with by connecting to the terminal device 400.
  • the output unit 450 is configured to provide an output signal in at least one of a visual, audio, and haptic manner.
  • the memory 460 may store software programs and the like for processing and control operations performed by the processor 480, or may temporarily store data that has been output or is to be output.
  • the memory 460 may include at least one type of storage medium.
  • the terminal device 400 may cooperate with a network storage device that performs a storage function of the memory 460 through a network connection.
  • the processor 480 generally controls the overall operation of the terminal device.
  • the processor 480 may include a multimedia module for reproducing or playing back multimedia data.
  • the processor 480 may perform a pattern recognition process to recognize a handwriting input or a picture drawing input performed on the touch screen as characters or images.
  • the power supply unit 490 receives external power or internal power under the control of the processor 480 and provides appropriate power required to operate a plurality of elements and components.
  • the processor 480 executes various functional applications and data processing of the terminal device 400 by running a program stored in the memory 460, for example, implementing a method for switching a global special effect provided by an embodiment of the present disclosure, including detecting on a target interface
  • two global special effects to be switched are determined according to the sliding direction of the sliding gesture; during the sliding process of the sliding gesture, the two global special effects are displayed on both sides of the target interface at the same time, and Changing the display area of the two global effects according to the sliding displacement of the slide gesture; when the release operation of the slide gesture is detected, it is determined that a global effect with a large display area among the two global effects is selected by the user Global effects, and displayed throughout the target interface.
  • the fifth embodiment of the present disclosure also provides a storage medium containing computer-executable instructions.
  • the computer-executable instructions are used to execute a method for switching a global special effect when executed by a computer processor.
  • the method includes: detecting at a target interface. When the sliding gesture is reached, two global special effects to be switched are determined according to the sliding direction of the sliding gesture; during the sliding process of the sliding gesture, the two global special effects are displayed on both sides of the target interface at the same time, and Changing the display area of the two global effects according to the sliding displacement of the slide gesture; when the release operation of the slide gesture is detected, it is determined that a global effect with a large display area among the two global effects is selected by the user Global effects, and displayed throughout the target interface.
  • a storage medium including computer-executable instructions provided by the embodiments of the present disclosure is not limited to the method operations described above, and may also perform a method for switching global special effects provided by any embodiment of the present disclosure. Related operations in.
  • the present disclosure can be implemented by software and necessary general hardware, and of course, can also be implemented by hardware, but in many cases the former is a better implementation. .
  • the technical solution of the present disclosure that is essential or contributes to related technologies may be embodied in the form of a software product, which may be stored in a computer-readable storage medium, such as a computer floppy disk, Read-only memory (ROM), random access memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including several instructions to make a computer device (can be a personal computer, A server, or a network device, etc.) perform the methods described in various embodiments of the present disclosure.
  • the multiple units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized;
  • the specific names of the multiple functional units are only for the convenience of distinguishing each other, and are not used to limit the protection scope of the present disclosure.

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)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

公开了一种切换全局特效的方法、装置、终端设备及存储介质。该方法包括:响应于目标界面检测到滑动手势,根据所述滑动手势的滑动方向,确定待切换的两种全局特效;在所述滑动手势的滑动过程中,在所述目标界面两侧同时显示所述两种全局特效,并根据所述滑动手势的滑动位移,改变所述两种全局特效的显示区域;响应于检测到所述滑动手势的释放操作,确定所述两种全局特效中显示区域大的全局特效为用户确定的全局特效,并在整个目标界面上显示。

Description

切换全局特效的方法、装置、终端设备及存储介质
本申请要求在2018年06月29日提交中国专利局、申请号为201810697512.6的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。
技术领域
本公开实施例涉及互联网技术,例如涉及一种切换全局特效的方法、装置、终端设备及存储介质。
背景技术
滤镜作为一种全局特效,可以实现图像的多种艺术效果,添加滤镜可以对图像的原始画面进行艺术过滤,使之呈现出一种艺术效果。
图像或者视频拍摄软件一般都会给出多种滤镜供用户选择使用。相关技术中,用户需要使用或切换滤镜时,首先需要用户点击滤镜控件,调出滤镜区域,用户在滤镜区域点击相应的滤镜,才可以切换滤镜,而且在切换时,直接将当前的显示效果切换为用户选择的滤镜效果,不便于用户比较不同的滤镜效果,切换效率较低,影响用户体验。
发明内容
有鉴于此,本公开实施例提供一种切换全局特效的方法、装置、终端设备及存储介质,以提升全局特效的切换效率,提升用户体验。
本公开实施例提供了一种切换全局特效的方法,包括:
在目标界面检测到滑动手势时,根据所述滑动手势的滑动方向,确定待切换的两种全局特效;
在所述滑动手势的滑动过程中,在所述目标界面两侧同时显示所述两种全局特效,并根据所述滑动手势的滑动位移,改变所述两种全局特效的显示区域;
在检测到所述滑动手势的释放操作时,确定所述两种全局特效中显示区域大的全局特效为用户选定的全局特效,并在整个目标界面上显示。
本公开实施例还提供了一种切换全局特效的装置,所述装置包括:
待切换特效确定模块,设置为在目标界面检测到滑动手势时,根据所述滑动手势的滑动方向,确定待切换的两种全局特效;
同时显示模块,设置为在所述滑动手势的滑动过程中,在所述目标界面两侧同时显示所述两种全局特效,并根据所述滑动手势的滑动位移,改变所述两种全局特效的显示区域;
全局特效切换模块,设置为在检测到所述滑动手势的释放操作时,确定所述两种全局特效中显示区域大的全局特效为用户选定的全局特效,并在整个目标界面上显示。
本公开实施例还提供了一种终端设备,所述终端设备包括:
一个或多个处理器;
存储装置,设置为存储一个或多个程序,
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现本公开任一项实施例所述的切换全局特效的方法。
本公开实施例还提供了一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现本公开任一项实施例所述的切换全局特效的方法。
附图概述
图1是本公开实施例一提供的一种切换全局特效的方法的流程图;
图2a-图2c是本公开实施例中的竖屏状态下滑动方向为左右滑动时在目标界面左右两侧同时显示两种全局特效的示意图;
图2d-图2f是本公开实施例中的竖屏状态下滑动方向为上下滑动时在目标界面上下两侧同时显示两种全局特效的示意图;
图2g-图2i是本公开实施例中的横屏状态下滑动方向为左右滑动时在目标界面左右两侧同时显示两种全局特效的示意图;
图2j-图2l是本公开实施例中的横屏状态下滑动方向为上下滑动时在目标界面上下两侧同时显示两种全局特效的示意图;
图3是本公开实施例二提供的一种切换全局特效的方法的流程图;
图4是本公开实施例三提供的一种切换全局特效的装置的结构示意图;
图5是本公开实施例四提供的一种终端设备的硬件结构示意图。
具体实施方式
下面结合附图和实施例对本公开作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本公开,而非对本公开的限定。另外还需 要说明的是,为了便于描述,附图中仅示出了与本公开相关的部分而非全部内容。
实施例一
图1是本公开实施例一提供的一种切换全局特效的方法的流程图,本实施例可适用于对视频或者照片的全局特效进行切换的情况,该方法可以由切换全局特效的装置来执行,该装置可以由软件和硬件中的至少之一来实现,一般可集成在手机或平板电脑等终端设备中。该方法包括:步骤110、步骤120和步骤130。
在步骤110中,在目标界面检测到滑动手势时,根据所述滑动手势的滑动方向,确定待切换的两种全局特效。
其中,目标界面可选包括视频拍摄界面、视频编辑界面、照片拍摄界面或照片编辑界面。滑动方向包括向上滑动、向下滑动、向左滑动或向右滑动。全局特效是应用于照片或者视频中覆盖所有像素的特效,可选包括滤镜和透明度中的至少之一,还可以包括其他的全局特效。其中,滤镜例如日系、年华、清纯、动人或纯真等,透明度用于调整照片或视频的透明度,例如可以是50%、60%、70%或80%等。
在对视频或者照片进行拍摄或者编辑时,可以根据滑动手势切换全局特效,如果检测到滑动手势,确定滑动手势的滑动方向,若滑动手势的滑动方向与预设滑动方向相同,可以根据滑动手势的滑动方向来确定待切换的两种全局特效。可以预先设定一种滑动手势来调出全局特效的切换,从而在当前目标界面没有使用全局特效时,如果检测到的滑动手势为预设滑动手势,可以调出全局特效的切换,即检测到的滑动手势的滑动方向与预设滑动手势的滑动方向相同,就可以调出全局特效的切换,进而可以确定待切换的两种全局特效,例如,没有使用全局特效时,也可以称为正常,也可以算作全局特效的一种,检测到的滑动手势为预设滑动手势时,可以确定待切换的两种全局特效为正常和全局特效中的第一种全局特效;而在当前目标界面已使用全局特效时,通过与预设滑动手势的方向相同或方向相反的滑动手势都可以来切换两种相邻的全局特效,这两种相邻的全局特效包括检测到滑动手势之前已显示的全局特效及根据滑动手势确定的与所述已显示的全局特效相邻的全局特效。其中,预设滑动手势可以为左滑手势、右滑手势、上滑手势或下滑手势,例如可以设定为左滑手势。
在步骤120中,在所述滑动手势的滑动过程中,在所述目标界面两侧同时 显示所述两种全局特效,并根据所述滑动手势的滑动位移,改变所述两种全局特效的显示区域。
若滑动手势为左滑手势或右滑手势,在终端设备竖屏或横屏情况下,可以在目标界面左右两侧同时显示待切换的两种全局特效;若滑动手势为上滑手势或下滑手势,在终端设备竖屏或横屏情况下,可以在目标界面上下两侧同时显示待切换的两种全局特效。其中,两种全局特效中第一种为检测到滑动手势前显示的全局特效,第二种为根据滑动手势的滑动方向确定的与第一种相邻存储的全局特效。在滑动手势按照所述滑动方向滑动过程中,第一种全局特效的显示区域变小,第二种全局特效的显示区域变大,若滑动手势改变滑动方向,则第一种全局特效的显示区域变大,第二种全局特效的显示区域变小,即第一种全局特效的显示区域的大小与滑动手势的滑动位移成反比,第二种全局特效的显示区域的大小与滑动手势的滑动位移成正比。若滑动手势为左滑手势或右滑手势时,滑动位移为横向位移分量;若滑动手势为上滑手势或下滑手势时,滑动位移为纵向位移分量,也就是说第二种全局特效的移动位移与滑动手势的滑动位移为线性关系,如可以是滑动手势移动一个像素,第二种全局特效向滑动手势相应方向移动两个像素,相应的,第一种全局特效向滑动手势相应方向移动两个像素,从而显示区域在相应方向上减少两个像素。通过在目标界面两侧同时显示两种全局特效,便于用户比较两种全局特效的效果,从而选择自己喜欢的全局特效。
以全局特效为滤镜为例进行说明,图2a-图2c是本公开实施例中的竖屏状态下滑动方向为左右滑动时在目标界面左右两侧同时显示两种全局特效的示意图,如图2a所示,在竖屏状态下,在检测到滑动手势的滑动方向为向左滑动时,首先确定在检测到滑动手势之前的全局特效为待切换的全局特效的第一种,将与该全局特效相邻的全局特效作为待切换的全局特效的第二种,图2a、图2b和图2c以检测到滑动手势之前的第一种全局特效为正常,检测到滑动手势之后的第二种全局特效为日系为例,随着滑动手势继续向左滑动,改变两种全局特效的显示区域,如图2b所示,在图2a的基础上,第一种全局特效的显示区域越来越小,第二种全局特效的显示区域越来越大;若在滑动手势的滑动过程中,滑动手势改变了滑动方向,则相应的,两种全局特效的显示区域也随着改变,如图2c所示,即在图2b的基础上,第一种全局特效的显示区域变大,第二种全局特效的显示区域变小。
以全局特效为滤镜为例进行说明,图2d-图2f是本公开实施例中的竖屏状态下滑动方向为上下滑动时在目标界面上下两侧同时显示两种全局特效的示意图,如图2d所示,在检测到滑动手势的滑动方向为向上滑动时,首先确定在检测到滑动手势之前的全局特效为待切换的全局特效的第一种,将与该全局特效相邻的全局特效作为待切换的全局特效的第二种,图2d、图2e和图2f以检测到滑动手势之前的第一种全局特效为正常,检测到滑动手势之后的第二种全局特效为日系为例,随着滑动手势继续向上滑动,改变两种全局特效的显示区域,如图2e所示,在图2d的基础上,第一种全局特效的显示区域越来越小,第二种全局特效的显示区域越来越大;若在滑动手势的滑动过程中,滑动手势改变了滑动方向,则相应的,两种全局特效的显示区域也随着改变,如图2f所示,即在图2e的基础上,第一种全局特效的显示区域变大,第二种全局特效的显示区域变小。
以全局特效为滤镜为例进行说明,图2g-图2i是本公开实施例中的横屏状态下滑动方向为左右滑动时在目标界面左右两侧同时显示两种全局特效的示意图,如图2g所示,在横屏状态下,在检测到滑动手势的滑动方向为向左滑动时,首先确定在检测到滑动手势之前的全局特效为待切换的全局特效的第一种,将与该全局特效相邻的全局特效作为待切换的全局特效的第二种,图2g、图2h和图2i以检测到滑动手势之前的第一种全局特效为正常,检测到滑动手势之后的第二种全局特效为日系为例,随着滑动手势继续向左滑动,改变两种全局特效的显示区域,如图2h所示,在图2g的基础上,第一种全局特效的显示区域越来越小,第二种全局特效的显示区域越来越大;若在滑动手势的滑动过程中,滑动手势改变了滑动方向,则相应的,两种全局特效的显示区域也随着改变,如图2i所示,即在图2h的基础上,第一种全局特效的显示区域变大,第二种全局特效的显示区域变小。
以全局特效为滤镜为例进行说明,图2j-图2l是本公开实施例中的横屏状态下滑动方向为上下滑动时在目标界面上下两侧同时显示两种全局特效的示意图,如图2i所示,在检测到滑动手势的滑动方向为向上滑动时,首先确定在检测到滑动手势之前的全局特效为待切换的全局特效的第一种,将与该全局特效相邻的全局特效作为待切换的全局特效的第二种,图2j、图2k和图2l以检测到滑动手势之前的第一种全局特效为正常,检测到滑动手势之后的第二种全局特效为日系为例,随着滑动手势继续向上滑动,改变两种全局特效的显示区域,如图 2k所示,在图2j的基础上,第一种全局特效的显示区域越来越小,第二种全局特效的显示区域越来越大;若在滑动手势的滑动过程中,滑动手势改变了滑动方向,则相应的,两种全局特效的显示区域也随着改变,如图2l所示,即在图2k的基础上,第一种全局特效的显示区域变大,第二种全局特效的显示区域变小。
在步骤130中,在检测到所述滑动手势的释放操作时,确定所述两种全局特效中显示区域大的全局特效为用户选定的全局特效,并在整个目标界面上显示。
其中,滑动手势的释放操作包括手指抬起操作。
在用户确定两种全局特效中要使用的全局特效后,可以通过滑动手势使得将要使用的全局特效的显示区域大于另一种全局特效的显示区域,之后再释放滑动手势。终端设备在检测到滑动手势的释放操作时,将显示区域大的全局特效确定为用户选定的全局特效,并在整个目标界面上显示。
本实施例提供的切换全局特效的方法,通过在目标界面检测到滑动手势时根据滑动手势的滑动方向确定待切换的两种全局特效,并在滑动手势的滑动过程中,在目标界面两侧同时显示两种全局特效,根据滑动手势的滑动位移改变两种全局特效的显示区域,并在检测到滑动手势的释放操作时,确定两种全局特效中显示区域大的全局特效为用户选定的全局特效,并在整个目标界面上显示,通过滑动手势来切换全局特效并在滑动手势滑动过程中同时显示两种全局特效,便于用户比较两种全局特效的显示效果,提升全局特效的切换效率,提升用户体验。
在一实施例中,所述滑动位移包括横向位移分量;
根据所述滑动手势的滑动位移,改变所述两种全局特效的显示区域,包括:
根据所述滑动手势的所述横向位移分量,改变所述两种全局特效在所述目标界面左右两侧的显示区域。
目标界面的显示形式可以是竖屏显示,也可以是横屏显示。在目标界面的显示形式为竖屏显示时,通过滑动手势中的横向位移分量,即平行于显示屏短边的位移分量,来改变在目标界面左右两侧显示的两种全局特效的显示区域;在目标界面的显示形式为横屏显示时,通过滑动手势中的横向位移分量,即平行于显示屏长边的位移分量,来改变在目标界面左右两侧显示的两种全局特效的显示区域。在随着滑动手势中的横向位移分量的增大,第一种全局特效的显 示区域变小,第二种全局特效的显示区域变大。通过在左右两侧同时显示两种全局特效,便于用户平行比较两种全局特效的显示效果,进一步提升全局特效的切换效率。
实施例二
图3是本公开实施例二提供的一种切换全局特效的方法的流程图,在整个目标界面上显示,进一步包括:根据确定的全局特效的显示区域在目标界面的位置,以位移动画的形式向对侧移动所述确定的全局特效,直至所述确定的全局特效覆盖整个目标界面。该方法包括:步骤210、步骤220和步骤230。
在步骤210中,在目标界面检测到滑动手势时,根据所述滑动手势的滑动方向,确定待切换的两种全局特效。
在步骤220中,在所述滑动手势的滑动过程中,在所述目标界面两侧同时显示所述两种全局特效,并根据所述滑动手势的滑动位移,改变所述两种全局特效的显示区域。
在步骤230中,在检测到所述滑动手势的释放操作时,确定所述两种全局特效中显示区域大的全局特效为用户选定的全局特效,并根据确定的全局特效的显示区域在目标界面的位置,以位移动画的形式向对侧移动所述确定的全局特效,直至所述确定的全局特效覆盖整个目标界面。
在确定全局特效后,通过位移动画的形式使得确定的全局特效向对侧移动,直至覆盖整个目标界面。例如,在目标界面左右两侧同时显示两种全局特效时,如果检测到滑动手势的释放操作时,位于目标界面左侧的全局特效的显示区域较大时,则切换为左侧的全局特效,并在切换过程中伴随自左向右的位移动画,即左侧的全局特效和右侧的全局特效同时自左向右移动,直至左侧的全局特效覆盖整个目标界面,而右侧的全局特效移出目标界面;如果检测到滑动手势的释放操作时,位于目标界面右侧的全局特效的显示区域较大时,则切换为右侧的全局特效,并在切换过程中伴随自右向左的位移动画,即左侧的全局特效和右侧的全局特效同时自右向左移动,直至右侧的全局特效覆盖整个目标界面,而左侧的全局特效移出目标界面。
本实施例提供的切换全局特效的方法在确定用户选定的全局特效后,根据该全局特效在目标界面的位置,以位移动画的形式向对侧移动该全局特效,直至覆盖整个目标界面,丰富了界面效果,进一步提升用户体验。
实施例三
图4是本公开实施例三提供的一种切换全局特效的装置的结构示意图,本实施例可适用于对视频或者照片的全局特效进行切换的情况,该方法可以执行切换全局特效的方法,该装置可以由软件和硬件中的至少之一来实现,一般可集成在手机或平板电脑等终端设备中。如图4所示,本实施例所述的切换全局特效的装置包括:待切换特效确定模块310、同时显示模块320和全局特效切换模块330。
其中,待切换特效确定模块310,设置为在目标界面检测到滑动手势时,根据所述滑动手势的滑动方向,确定待切换的两种全局特效。
同时显示模块320,设置为在所述滑动手势的滑动过程中,在所述目标界面两侧同时显示所述两种全局特效,并根据所述滑动手势的滑动位移,改变所述两种全局特效的显示区域。
全局特效切换模块330,设置为在检测到所述滑动手势的释放操作时,确定所述两种全局特效中显示区域大的全局特效为用户选定的全局特效,并在整个目标界面上显示。
在一实施例中,所述滑动位移包括横向位移分量;所述同时显示模块包括:显示区域改变单元,设置为根据所述滑动手势的所述横向位移分量,改变所述两种全局特效在所述目标界面左右两侧的显示区域。
在一实施例中,所述全局特效切换模块包括:位移动画切换单元,设置为根据确定的全局特效的显示区域在目标界面的位置,以位移动画的形式向对侧移动所述确定的全局特效,直至所述确定的全局特效覆盖整个目标界面。
在一实施例中,所述目标界面包括视频拍摄界面、视频编辑界面、照片拍摄界面或照片编辑界面。
在一实施例中,所述全局特效包括滤镜和透明度中的至少之一。
上述切换全局特效的装置可执行本公开任意实施例所提供的切换全局特效的方法,具备执行方法相应的功能模块和有益效果。未在本实施例中详尽描述的技术细节,可参见本公开任意实施例提供的切换全局特效的方法。
实施例四
图5是本公开实施例四提供的一种终端设备的硬件结构示意图。终端设备可以以多种形式来实施,本公开中的终端设备可以包括但不限于诸如移动电话、智能电话、笔记本电脑、数字广播接收器、个人数字助理(Personal Digital Assistant, PDA)、平板电脑(Portable Android Device,PAD)、便携式多媒体播放器(Portable Multimedia Player,PMP)、导航装置、车载终端设备、车载显示终端、车载电子后视镜等的移动终端设备以及诸如数字TV、台式计算机等的固定终端设备。
如图5所示,终端设备400可以包括无线通信单元410、A/V(音频/视频)输入单元420、用户输入单元430、感测单元440、输出单元450、存储器460、接口单元470、处理器480和电源单元490等。图5示出了具有多种组件的终端设备,但是应理解的是,并不要求实施所有示出的组件,可以替代地实施更多或更少的组件。
其中,无线通信单元410允许终端设备400与无线通信系统或网络之间的无线电通信。A/V输入单元420设置为接收音频或视频信号。用户输入单元430可以根据用户输入的命令生成键输入数据以控制终端设备的多种操作。感测单元440检测终端设备400的当前状态、终端设备400的位置、用户对于终端设备400的触摸输入的有无、终端设备400的取向、终端设备400的加速或减速移动和方向等,并且生成用于控制终端设备400的操作的命令或信号。接口单元470用作至少一个外部装置与终端设备400连接可以通信的接口。输出单元450被构造为以视觉、音频和触觉方式中的至少之一提供输出信号。存储器460可以存储由处理器480执行的处理和控制操作的软件程序等,或者可以暂时地存储己经输出或将要输出的数据。存储器460可以包括至少一种类型的存储介质。而且,终端设备400可以与通过网络连接执行存储器460的存储功能的网络存储装置协作。处理器480通常控制终端设备的总体操作。另外,处理器480可以包括用于再现或回放多媒体数据的多媒体模块。处理器480可以执行模式识别处理,以将在触摸屏上执行的手写输入或者图片绘制输入识别为字符或图像。电源单元490在处理器480的控制下接收外部电力或内部电力并且提供操作多个元件和组件所需的适当的电力。
处理器480通过运行存储在存储器460中的程序,从而执行终端设备400的多种功能应用以及数据处理,例如实现本公开实施例所提供的一种切换全局特效的方法,包括:在目标界面检测到滑动手势时,根据所述滑动手势的滑动方向,确定待切换的两种全局特效;在所述滑动手势的滑动过程中,在所述目标界面两侧同时显示所述两种全局特效,并根据所述滑动手势的滑动位移,改变所述两种全局特效的显示区域;在检测到所述滑动手势的释放操作时,确定所述两种全局特效中显示区域大的全局特效为用户选定的全局特效,并在整个 目标界面上显示。
实施例五
本公开实施例五还提供一种包含计算机可执行指令的存储介质,所述计算机可执行指令在由计算机处理器执行时用于执行一种切换全局特效的方法,该方法包括:在目标界面检测到滑动手势时,根据所述滑动手势的滑动方向,确定待切换的两种全局特效;在所述滑动手势的滑动过程中,在所述目标界面两侧同时显示所述两种全局特效,并根据所述滑动手势的滑动位移,改变所述两种全局特效的显示区域;在检测到所述滑动手势的释放操作时,确定所述两种全局特效中显示区域大的全局特效为用户选定的全局特效,并在整个目标界面上显示。
当然,本公开实施例所提供的一种包含计算机可执行指令的存储介质,其计算机可执行指令不限于如上所述的方法操作,还可以执行本公开任意实施例所提供的切换全局特效的方法中的相关操作。
通过以上关于实施方式的描述,所属领域的技术人员可以清楚地了解到,本公开可借助软件及必需的通用硬件来实现,当然也可以通过硬件实现,但很多情况下前者是更佳的实施方式。基于这样的理解,本公开的技术方案本质上或者说对相关技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如计算机的软盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、闪存(FLASH)、硬盘或光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本公开多个实施例所述的方法。
值得注意的是,上述切换全局特效的装置的实施例中,所包括的多个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,多个功能单元的具体名称也只是为了便于相互区分,并不用于限制本公开的保护范围。

Claims (12)

  1. 一种切换全局特效的方法,包括:
    响应于目标界面检测到滑动手势,根据所述滑动手势的滑动方向,确定待切换的两种全局特效;
    在所述滑动手势的滑动过程中,在所述目标界面两侧同时显示所述两种全局特效,并根据所述滑动手势的滑动位移,改变所述两种全局特效的显示区域;
    响应于检测到所述滑动手势的释放操作,确定所述两种全局特效中显示区域大的全局特效为用户确定的全局特效,并在整个目标界面上显示。
  2. 根据权利要求1所述的方法,其中,所述滑动位移包括横向位移分量;
    根据所述滑动手势的滑动位移,改变所述两种全局特效的显示区域,包括:
    根据所述滑动手势的所述横向位移分量,改变所述两种全局特效在所述目标界面左右两侧的显示区域。
  3. 根据权利要求1所述的方法,其中,在整个目标界面上显示,包括:
    根据确定的全局特效的显示区域在目标界面的位置,以位移动画的形式向对侧移动所述确定的全局特效,直至所述确定的全局特效覆盖整个目标界面。
  4. 根据权利要求1所述的方法,其中,所述目标界面包括视频拍摄界面、视频编辑界面、照片拍摄界面或照片编辑界面。
  5. 根据权利要求1所述的方法,其中,所述全局特效包括滤镜和透明度中的至少之一。
  6. 一种切换全局特效的装置,包括:
    待切换特效确定模块,设置为响应于目标界面检测到滑动手势,根据所述滑动手势的滑动方向,确定待切换的两种全局特效;
    同时显示模块,设置为在所述滑动手势的滑动过程中,在所述目标界面两侧同时显示所述两种全局特效,并根据所述滑动手势的滑动位移,改变所述两种全局特效的显示区域;
    全局特效切换模块,设置为响应于检测到所述滑动手势的释放操作,确定所述两种全局特效中显示区域大的全局特效为用户确定的全局特效,并在整个目标界面上显示。
  7. 根据权利要求6所述的装置,其中,所述滑动位移包括横向位移分量;
    所述同时显示模块包括:
    显示区域改变单元,设置为根据所述滑动手势的所述横向位移分量,改变所述两种全局特效在所述目标界面左右两侧的显示区域。
  8. 根据权利要求6所述的装置,其中,所述全局特效切换模块包括:
    位移动画切换单元,设置为根据确定的全局特效的显示区域在目标界面的位置,以位移动画的形式向对侧移动所述确定的全局特效,直至所述确定的全局特效覆盖整个目标界面。
  9. 根据权利要求6所述的装置,其中,所述目标界面包括视频拍摄界面、视频编辑界面、照片拍摄界面或照片编辑界面。
  10. 根据权利要求6所述的装置,其中,所述全局特效包括滤镜和透明度中的至少之一。
  11. 一种终端设备,其中,所述终端设备包括:
    至少一个处理器;
    存储装置,设置为存储至少一个程序,
    当所述至少一个程序被所述至少一个处理器执行,使得所述至少一个处理器实现如权利要求1-5中任一项所述的切换全局特效的方法。
  12. 一种计算机可读存储介质,其上存储有计算机程序,其中,所述计算机程序被处理器执行时实现如权利要求1-5中任一项所述的切换全局特效的方法。
PCT/CN2018/124745 2018-06-29 2018-12-28 切换全局特效的方法、装置、终端设备及存储介质 WO2020000971A1 (zh)

Priority Applications (9)

Application Number Priority Date Filing Date Title
AU2018430595A AU2018430595B2 (en) 2018-06-29 2018-12-28 Method and apparatus for switching global special effects, terminal device, and storage medium
RU2020135601A RU2764157C1 (ru) 2018-06-29 2018-12-28 Способ и устройство для переключения глобальных специальных эффектов, оконечное устройство и носитель данных
JP2020558509A JP2021512436A (ja) 2018-06-29 2018-12-28 グローバル特効の切替方法、装置、端末装置及び記憶媒体
KR1020207032742A KR102373021B1 (ko) 2018-06-29 2018-12-28 글로벌 특수 효과의 전환 방법, 전환 장치, 단말 설비 및 저장 매체
EP18924165.6A EP3770744A4 (en) 2018-06-29 2018-12-28 Method and apparatus for switching global special effects, terminal device, and storage medium
SG11202010299QA SG11202010299QA (en) 2018-06-29 2018-12-28 Method and apparatus for switching global special effects, terminal device, and storage medium
CA3097779A CA3097779C (en) 2018-06-29 2018-12-28 Method and apparatus for switching global special effects, terminal device, and storage medium
BR112020022785-4A BR112020022785A2 (pt) 2018-06-29 2018-12-28 método e aparelho para comutar efeitos especiais globais, dispositivo terminal e meio de armazenamento
US17/021,248 US11249630B2 (en) 2018-06-29 2020-09-15 Method, apparatus, terminal device, and storage medium for switching global special effects

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810697512.6A CN108984094B (zh) 2018-06-29 2018-06-29 切换全局特效的方法、装置、终端设备及存储介质
CN201810697512.6 2018-06-29

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/021,248 Continuation US11249630B2 (en) 2018-06-29 2020-09-15 Method, apparatus, terminal device, and storage medium for switching global special effects

Publications (1)

Publication Number Publication Date
WO2020000971A1 true WO2020000971A1 (zh) 2020-01-02

Family

ID=64539106

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/124745 WO2020000971A1 (zh) 2018-06-29 2018-12-28 切换全局特效的方法、装置、终端设备及存储介质

Country Status (11)

Country Link
US (1) US11249630B2 (zh)
EP (1) EP3770744A4 (zh)
JP (1) JP2021512436A (zh)
KR (1) KR102373021B1 (zh)
CN (1) CN108984094B (zh)
AU (1) AU2018430595B2 (zh)
BR (1) BR112020022785A2 (zh)
CA (1) CA3097779C (zh)
RU (1) RU2764157C1 (zh)
SG (1) SG11202010299QA (zh)
WO (1) WO2020000971A1 (zh)

Families Citing this family (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108984094B (zh) * 2018-06-29 2019-08-27 北京微播视界科技有限公司 切换全局特效的方法、装置、终端设备及存储介质
CN111381666B (zh) * 2018-12-27 2023-08-01 北京右划网络科技有限公司 基于滑动手势的控制方法、装置,终端设备及存储介质
CN112153288B (zh) * 2020-09-25 2023-10-13 北京字跳网络技术有限公司 用于发布视频或图像的方法、装置、设备和介质
CN116437034A (zh) * 2020-09-25 2023-07-14 荣耀终端有限公司 视频特效添加方法、装置及终端设备
CN114489553B (zh) * 2020-10-23 2024-03-08 北京嗨动视觉科技有限公司 特效切换方法、特效切换装置和插卡式视频处理设备
CN115379246A (zh) * 2021-05-21 2022-11-22 北京字节跳动网络技术有限公司 直播视频流播放方法、装置、电子设备及存储介质

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103838457A (zh) * 2012-11-26 2014-06-04 腾讯科技(深圳)有限公司 一种滤镜列表显示方法及装置
CN106201242A (zh) * 2016-06-27 2016-12-07 北京金山安全软件有限公司 一种图像处理方法、装置及电子设备
CN106331502A (zh) * 2016-09-27 2017-01-11 奇酷互联网络科技(深圳)有限公司 终端及其滤镜拍摄方法和装置
CN106406505A (zh) * 2015-07-28 2017-02-15 北京金山安全软件有限公司 一种图片滤镜效果的编辑方法及其系统
CN107896306A (zh) * 2017-12-11 2018-04-10 深圳市欧唯科技有限公司 一种滤镜拍照的方法及系统
CN108984094A (zh) * 2018-06-29 2018-12-11 北京微播视界科技有限公司 切换全局特效的方法、装置、终端设备及存储介质

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6610917B2 (en) * 1998-05-15 2003-08-26 Lester F. Ludwig Activity indication, external source, and processing loop provisions for driven vibrating-element environments
RU59431U1 (ru) * 2006-08-30 2006-12-27 Федор Станиславович Воевода Устройство создания интерактивных эффектов
JP5173337B2 (ja) * 2007-09-18 2013-04-03 Kddi株式会社 要約コンテンツ生成装置およびコンピュータプログラム
US9095396B2 (en) * 2008-07-02 2015-08-04 Zimmer Dental, Inc. Porous implant with non-porous threads
EP3907593A1 (en) * 2010-01-19 2021-11-10 LG Electronics, Inc. Mobile terminal and control method thereof
JP5719608B2 (ja) * 2010-04-02 2015-05-20 オリンパスイメージング株式会社 撮影機器
JP2011244421A (ja) * 2010-04-21 2011-12-01 Olympus Imaging Corp 撮影機器
US8717381B2 (en) 2011-01-11 2014-05-06 Apple Inc. Gesture mapping for image filter input parameters
CA2775451C (en) * 2012-03-01 2014-06-03 Research In Motion Tat Ab Drag handle for applying image filters in picture editor
JP6455147B2 (ja) * 2012-05-22 2019-01-23 株式会社ニコン 電子カメラ、画像表示装置および画像表示プログラム
KR101957173B1 (ko) * 2012-09-24 2019-03-12 삼성전자 주식회사 터치 디바이스에서 멀티윈도우 제공 방법 및 장치
JP5980650B2 (ja) * 2012-10-15 2016-08-31 オリンパス株式会社 撮影機器及び特殊効果画像の生成方法
KR102124801B1 (ko) * 2013-05-21 2020-06-22 엘지전자 주식회사 이동 단말기 및 그것의 제어 방법
KR102048041B1 (ko) * 2013-04-18 2019-11-22 삼성전자주식회사 화면 분할 이미지를 생성하는 전자 장치 및 방법
US9250796B2 (en) * 2014-04-01 2016-02-02 Ideo Llc Video editor
CN105373291B (zh) * 2015-11-11 2019-02-15 麒麟合盛网络技术股份有限公司 一种界面切换方法及装置
JP6675769B2 (ja) * 2015-11-25 2020-04-01 華為技術有限公司Huawei Technologies Co.,Ltd. 迅速な画面分割方法、装置、および電子デバイス、表示ui、および記憶媒体
CN105357451B (zh) * 2015-12-04 2019-11-29 Tcl集团股份有限公司 基于滤镜特效的图像处理方法及装置
KR20180000255A (ko) * 2016-06-22 2018-01-02 엘지전자 주식회사 이동 단말기 및 그 이동 단말기의 제어 방법

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103838457A (zh) * 2012-11-26 2014-06-04 腾讯科技(深圳)有限公司 一种滤镜列表显示方法及装置
CN106406505A (zh) * 2015-07-28 2017-02-15 北京金山安全软件有限公司 一种图片滤镜效果的编辑方法及其系统
CN106201242A (zh) * 2016-06-27 2016-12-07 北京金山安全软件有限公司 一种图像处理方法、装置及电子设备
CN106331502A (zh) * 2016-09-27 2017-01-11 奇酷互联网络科技(深圳)有限公司 终端及其滤镜拍摄方法和装置
CN107896306A (zh) * 2017-12-11 2018-04-10 深圳市欧唯科技有限公司 一种滤镜拍照的方法及系统
CN108984094A (zh) * 2018-06-29 2018-12-11 北京微播视界科技有限公司 切换全局特效的方法、装置、终端设备及存储介质

Also Published As

Publication number Publication date
CN108984094B (zh) 2019-08-27
CA3097779A1 (en) 2020-01-02
CA3097779C (en) 2023-02-14
RU2764157C1 (ru) 2022-01-13
SG11202010299QA (en) 2020-11-27
US11249630B2 (en) 2022-02-15
US20200409542A1 (en) 2020-12-31
EP3770744A1 (en) 2021-01-27
CN108984094A (zh) 2018-12-11
KR102373021B1 (ko) 2022-03-11
AU2018430595B2 (en) 2021-11-11
KR20200142065A (ko) 2020-12-21
AU2018430595A1 (en) 2020-11-12
JP2021512436A (ja) 2021-05-13
EP3770744A4 (en) 2021-12-29
BR112020022785A2 (pt) 2021-02-02

Similar Documents

Publication Publication Date Title
US10990278B2 (en) Method and device for controlling information flow display panel, terminal apparatus, and storage medium
WO2020000971A1 (zh) 切换全局特效的方法、装置、终端设备及存储介质
US8675113B2 (en) User interface for a digital camera
US9772769B2 (en) Mobile terminal device and display control method thereof
CN110100251B (zh) 用于处理文档的设备、方法和计算机可读存储介质
US20130152024A1 (en) Electronic device and page zooming method thereof
CN111641797B (zh) 视频通话界面显示控制方法、装置、存储介质及设备
US20120326994A1 (en) Information processing apparatus, information processing method and program
WO2018112924A1 (zh) 一种信息展示方法、装置及终端设备
CN104461312A (zh) 一种显示控制方法及电子设备
KR20110082494A (ko) 어플리케이션 간 데이터 전달 방법 및 이를 이용하는 단말 장치
CN104123383A (zh) 一种在媒体应用中使用的方法及装置
US20140164993A1 (en) Method and electronic device for enlarging and displaying contents
US20230097857A1 (en) Card unit presentation method and apparatus, computer device, and storage medium
CN112817376A (zh) 信息显示方法、装置、电子设备和存储介质
CN113835577A (zh) 显示方法、装置、电子设备及存储介质
CN114518820A (zh) 图标整理方法、装置和电子设备
US20160132478A1 (en) Method of displaying memo and device therefor
CA2807866C (en) User interface for a digital camera
CN113238694A (zh) 界面比对方法、装置及移动终端
CN108491139B (zh) 一种对象固定方法、装置、终端设备及存储介质
KR20100063892A (ko) 터치스크린이 구비된 이동 단말기의 컨텐츠 전환 방법 및 장치
US20130135227A1 (en) Touch screen operation
CN111092971A (zh) 一种显示方法、装置和用于显示的装置
CN112463090B (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: 18924165

Country of ref document: EP

Kind code of ref document: A1

ENP Entry into the national phase

Ref document number: 3097779

Country of ref document: CA

Ref document number: 2020558509

Country of ref document: JP

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2018924165

Country of ref document: EP

Effective date: 20201023

ENP Entry into the national phase

Ref document number: 2018430595

Country of ref document: AU

Date of ref document: 20181228

Kind code of ref document: A

Ref document number: 20207032742

Country of ref document: KR

Kind code of ref document: A

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112020022785

Country of ref document: BR

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 112020022785

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20201109