WO2020173199A1 - 显示方法及装置、电子设备及存储介质 - Google Patents

显示方法及装置、电子设备及存储介质 Download PDF

Info

Publication number
WO2020173199A1
WO2020173199A1 PCT/CN2019/127975 CN2019127975W WO2020173199A1 WO 2020173199 A1 WO2020173199 A1 WO 2020173199A1 CN 2019127975 W CN2019127975 W CN 2019127975W WO 2020173199 A1 WO2020173199 A1 WO 2020173199A1
Authority
WO
WIPO (PCT)
Prior art keywords
display
trigger condition
state information
trigger
trigger event
Prior art date
Application number
PCT/CN2019/127975
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 SG11202006337SA priority Critical patent/SG11202006337SA/en
Priority to KR1020207018870A priority patent/KR20200105832A/ko
Priority to JP2020535496A priority patent/JP2021517285A/ja
Priority to CN201980004839.3A priority patent/CN111328389A/zh
Priority to US16/914,669 priority patent/US11687209B2/en
Publication of WO2020173199A1 publication Critical patent/WO2020173199A1/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/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/012Head tracking input arrangements
    • 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/04812Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
    • 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/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • 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/011Arrangements for interaction with the human body, e.g. for user immersion in virtual reality
    • G06F3/013Eye tracking input arrangements
    • 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/017Gesture based interaction, e.g. based on a set of recognized hand gestures
    • 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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/0304Detection arrangements using opto-electronic means
    • 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/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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • 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/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1423Digital output to display device ; Cooperation and interconnection of the display device with other functional units controlling a plurality of local displays, e.g. CRT and flat panel display
    • 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/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T11/002D [Two Dimensional] image generation
    • G06T11/60Editing figures and text; Combining figures or text

Definitions

  • the present disclosure relates to the field of display technology, and in particular to a display method and device, electronic equipment, and storage medium.
  • the embodiments of the present disclosure expect to provide a display method and device, electronic equipment, and storage medium.
  • a display method includes: detecting the state information of a first object; when the state information satisfies a first trigger condition, changing the display of a second object according to a trigger event corresponding to the first trigger condition, wherein The second object is independent of the first object.
  • the state information includes: first display state information for indicating the current display state of the display interface, and/or acquisition state information for indicating the current acquisition state of the image acquisition module; the trigger condition It includes: a display state trigger condition corresponding to the first display state information; and/or, a collection state trigger condition corresponding to the collection state information.
  • the condition that the state information satisfies the first trigger condition includes: if the detected first display state information indicates that the first object appears on the display interface, determining that the first trigger condition is satisfied.
  • the condition that the state information meets the first trigger condition includes: if the detected collection state information indicates that the first object disappears from the collection area, determining that the first trigger condition is satisfied.
  • the condition that the state information satisfies the first trigger condition includes: if the state information indicates that the first object exhibits a predetermined action, determining that the first trigger condition is satisfied.
  • the detecting the status information of the first object includes: detecting the second display status information of the first object currently displayed on the display interface; said when the status information satisfies the first trigger condition , Changing the display of the second object according to the trigger event corresponding to the first trigger condition includes: when the second display state information indicates that the first trigger condition is satisfied, according to the first trigger condition The trigger event changes the display of the second object.
  • changing the display of the second object according to the trigger event corresponding to the first trigger condition includes at least one of the following : In the case that the second display state information satisfies the synchronous display trigger condition, control the synchronous display of the first object and the second object according to the synchronous display trigger event; when the second display state information meets the associated display In the case of a trigger condition, according to the associated display trigger condition, the display of the second object is started when the first object is displayed to a predetermined state.
  • the detecting the status information of the first object includes: detecting the device status information of the display device; the display device is the first object; the condition that the device status information satisfies the first trigger condition includes: The device state information satisfies the first trigger condition.
  • the device state information includes at least one of the following: device display state information indicating the current display state of the display device; environmental state information indicating the environment where the display device is currently located; indicating the current resources of the display device Status of the resource status information.
  • changing the display of the second object according to the trigger event corresponding to the first trigger condition includes: In the case of a trigger condition, the display of the second object is suspended according to the trigger event corresponding to the first trigger condition; the method further includes: when the re-detected state information of the first object does not satisfy the first In the case of a trigger condition, the paused second object continues to be displayed.
  • the changing the display of the second object according to the trigger event corresponding to the first trigger condition includes: ending the display of the second object in advance according to the trigger event; or, according to the trigger event, Shorten the display duration of the second object; or extend the display duration of the second object according to the trigger event; or adjust the display parameters of the second object according to the trigger event; or
  • the trigger event adjusts the display content of the second object; or, according to the trigger event, adjusts the disappearance mode of the second object; or, according to the trigger event, pauses the display of the second object.
  • the changing the display of the second object according to the trigger event corresponding to the first trigger condition includes: controlling the nth sub-object currently displayed by the second object to switch to the nth sub-object displaying the second object +1 child object.
  • a display device includes: a detection module, used to detect the status information of a first object; a first determination module, used to determine the situation that the status information satisfies a first trigger condition; a change module, used in the first When the determining unit determines that the state information satisfies the first trigger condition, the display of the second object is changed according to the trigger event corresponding to the first trigger condition, wherein the second object is independent of the first object.
  • the status information includes: first display status information for indicating the current display status of the display interface, and/or collection status information for indicating the current collection status of the image acquisition module; the first The trigger condition includes: a display state trigger condition corresponding to the first display state information; and/or an acquisition state trigger condition corresponding to the acquisition state information.
  • the first determining module is specifically configured to determine that the first trigger condition is satisfied if the detected first display state information indicates that the first object appears on the display interface.
  • the first determination module is specifically configured to determine that the first trigger condition is satisfied if the detected collection state information indicates that the first object disappears from the collection area.
  • the first determining module is specifically configured to determine that the first trigger condition is satisfied if the status information indicates that the first object exhibits a predetermined action.
  • the detection module is specifically configured to detect the second display state information of the first object currently displayed on the display interface; the change module is specifically configured to meet all requirements when the second display state information indicates In the case of the first trigger condition, the display of the second object is changed according to the trigger event corresponding to the first trigger condition.
  • the change module is specifically configured to control the synchronous display of the first object and the second object according to the synchronous display trigger event when the second display state information meets the synchronous display trigger condition;
  • the change module is specifically configured to, when the second display state information satisfies the associated display trigger condition, according to the associated display trigger condition, start the second object when the first object is displayed in a predetermined state. The display of the object.
  • the detection module is specifically configured to detect the device status information of the display device; the display device is the first object; the first determination module is specifically configured to determine that the device status information satisfies the The first trigger condition.
  • the device state information includes at least one of the following: device display state information indicating the current display state of the display device; environmental state information indicating the environment where the display device is currently located; indicating the current resources of the display device Status of the resource status information.
  • the change module is specifically configured to suspend the display of the second object according to a trigger event corresponding to the first trigger condition when the state information meets the first trigger condition;
  • the change module is also used for continuing to display the suspended second object when the state information of the re-detected first object does not meet the trigger condition.
  • the change module is specifically configured to end the display of the second object in advance according to the trigger event; or the change module is specifically configured to shorten the second object according to the trigger event Or, the change module is specifically configured to extend the display duration of the second object according to the trigger event; or the change module is specifically configured to adjust the second object according to the trigger event Two display parameters of the object; or, the change module is specifically used to adjust the display content of the second object according to the trigger event; or the change module is specifically used to adjust the display content of the second object according to the trigger event The disappearance mode of the second object; or, the change module is specifically configured to suspend the display of the second object according to a trigger event.
  • the change module is specifically configured to control the nth sub-object currently displayed by the second object to switch to the n+1th sub-object displaying the second object when the trigger condition is satisfied.
  • a display device includes: a display; a memory; a processor, respectively connected to the display and the memory, and used to control the operation of the display and the memory by executing computer executable instructions located on the memory, and can realize The display method provided by any of the foregoing technical solutions.
  • a computer storage medium that stores computer executable instructions; after the computer executable instructions are executed, the display method provided by any of the foregoing technical solutions can be implemented.
  • the technical solution provided by the embodiment of the present disclosure detects the status information of the first object. If the status information indicates that the first object appears or disappears, it will change the display of another second object independent of the first object, thereby realizing the use of one The appearance or disappearance of an object changes the predetermined display of another second object, thereby enriching the display form of the second object and enriching the display control, which can better meet the individual needs of the user.
  • FIG. 1 is a schematic flowchart of a display method provided by an embodiment of the present disclosure
  • FIG. 2 is a schematic diagram of the first display effect provided by the embodiments of the disclosure.
  • FIG. 3 is a schematic flowchart of another display method provided by an embodiment of the present disclosure.
  • FIG. 4 is a schematic diagram of a second display effect provided by an embodiment of the disclosure.
  • FIG. 5 is a schematic diagram of a third display effect provided by an embodiment of the disclosure.
  • FIG. 6 is a schematic flowchart of another display method provided by an embodiment of the disclosure.
  • FIG. 7 is a schematic flowchart of another display method provided by an embodiment of the disclosure.
  • FIG. 8 is a schematic diagram of a fourth display effect provided by an embodiment of the disclosure.
  • FIG. 9 is a schematic structural diagram of a display device provided by an embodiment of the disclosure.
  • FIG. 10 is a schematic structural diagram of a display device provided by an embodiment of the disclosure.
  • this embodiment provides a display method, including:
  • the display method provided in this embodiment can be applied to various display devices.
  • the electronic device may include a display screen; the display screen may be a liquid crystal display screen, a projection display screen, an organic light emitting diode (OLED) display, or an electronic ink display screen.
  • OLED organic light emitting diode
  • the status information includes: first display status information for indicating the current display status of the display interface, and/or collection status information for indicating the current collection status of the image acquisition module;
  • the first trigger condition includes: a display state trigger condition corresponding to the first display state information; and/or, an acquisition state trigger condition corresponding to the acquisition state information.
  • detecting the status information of the first object may be: detecting the second display status information of the first object currently displayed on the display interface.
  • detecting the status information of the first object may be: detecting the device status information of a display device; the display device is the first object.
  • the trigger event can be used to trigger the display device to perform a specific action or a specific operation.
  • the trigger event is a trigger event that controls the display of the second object, or the trigger event is an event that triggers the display device to execute the display of the second object.
  • the independence of the first object from the second object can be embodied in any of the following aspects:
  • the display control logic of the first object and the second object are independent of each other. For example, when there is no trigger event, the second object starts to display, stops displaying, and displays the same way as the first object. The current display status is irrelevant.
  • the first object is different from the second object, for example, there is no containment relationship between the first object and the second object.
  • the first object and the second object may be different types of objects, for example, the first object is a single image and the second object may be a video, or the second object is a single image and the first object is a video; and
  • the first object may be a displayed graphic object, and the second object may be a collection object, or the first object may be a collection object and the second object may be a displayed graphic object.
  • the state information of the first object in step S110 may be that the first object appears in the collection area or disappears from the collection area.
  • the acquisition area may be an area corresponding to the acquisition angle of view of the image acquisition module, and the display device may acquire the appearance or disappearance of the first object through the image acquired by the image acquisition module and other state information indicating the state.
  • the first object and the second object are from different files.
  • the first object and the second object do not belong to the same video except for the trigger event association, and they do not necessarily appear in the same video at the same time.
  • UI graphical user interface
  • both the first object and the second object can be graphic objects, for example, graphic objects displayed on the current display interface.
  • graphic objects may be: static graphic objects and dynamic graphic objects.
  • both the first object and the second object may be dynamic graphic objects.
  • the dynamic graphic objects may include: animation special effects, videos, moving pictures, etc.
  • the first object and the second object may be a texture
  • the texture may be a graphic object covering the entire display interface or a part of the display interface.
  • the texture may be a facial texture covering the face area of a portrait in the display interface.
  • the facial stickers may include stickers of various forms, for example, stickers of drama elements (for example, Beijing Opera facial makeup) and/or various stickers of entertainment nature.
  • the image shown in Figure 2 shows interesting stickers covering the face of the portrait.
  • both the first object and the second object can be display objects, and/or both the first object and the second object can be collection objects.
  • the display objects are preset special effects, graphics, etc.
  • the collection object is an image collected by an image collection device, such as a human face image.
  • the display of the second object is changed; the display control mode of the graphic interface is enriched, and The control method of graphic objects is introduced.
  • the foregoing embodiment did not elaborate on the implementation manner of changing the display of the second object according to the trigger event corresponding to the first trigger condition.
  • the following describes several implementation manners of changing the display of the second object.
  • changing the display of the second object according to the trigger event corresponding to the first trigger condition may include at least one of the following:
  • the trigger event adjust the disappearance manner of the second object, for example, the second object disappears from the display interface by gradually fading out, or the second object disappears from the display interface by moving out from one side;
  • the nth sub-object currently displayed by the second object is controlled to switch to the n+1th sub-object displaying the second object.
  • the second object is a video or animation containing N frames
  • the nth frame of the second object is displayed, and n is less than N; if the trigger event triggers the second object to end early
  • the display trigger event the display device no longer displays the n+1th frame of the second object, but directly displays the n+1th frame and ends.
  • All or part of the frames of the second object are played repeatedly, and the display of the second object is extended by at least partial replay.
  • Display the key frames of the second object for example, the second object is a video and/or animation.
  • the key frames of the second object in order to shorten the display duration of the second object, only the preset key frames are displayed; in this way, If the last frame of the second object is a key frame, in the solution of shortening the display duration of the second object, some intermediate frames of the second object may be skipped, but the last frame will still be displayed.
  • the display parameter may be various parameters that control the display effect of the second object.
  • the display parameters include but are not limited to at least one of the following:
  • a display rate parameter that controls the switching rate of the second object is
  • the status information of the first object is used to control the display of the second object independent of the first object.
  • the display control method of the second object is added, and the display form of the second object is enriched. And changes, increase the display logic and display effect of the display interface, improve the user experience and meet the individual needs of users.
  • the suspending the display of the second object is different from stopping the display of the second object, and the suspending the display of the second object includes:
  • the display of the second object is continued according to the display state of the second object before the pause.
  • changing the display of the second object according to the trigger event corresponding to the first trigger condition may be: when the first trigger condition is satisfied Suspend the display of the second object according to the trigger event corresponding to the first trigger condition; the method further includes: when the state information of the re-detected first object does not meet the first trigger condition, The continued display of the second object.
  • the display of the second object currently being played is suspended; if the status information of the first object is continued to be detected, if the detected status information indicates that the first trigger condition is not currently met, the second object is resumed At this time, the display continues on the screen where the second object is paused.
  • the first object is a captured user image
  • the state information is the user's action state
  • the trigger event is met
  • a small video is displayed; then Through image collection, it is found that the user did not perform action A. It is considered that the first trigger condition is not met, and the display of the small video is paused and stopped at the currently displayed image frame; the user’s image is collected again, and through image detection, it is found that the user has performed action A again , Then continue to display the small video on the paused image frame, and repeat until the small video is displayed.
  • a trigger event that pauses the display of the second object is detected in the last frame of the second object such as a small video, it is also paused in the last frame of the second object display. If the action or state that satisfies the paused trigger event is detected again, or the state disappears, The display of the second object is ended.
  • the first object is a captured image of the user’s mouth
  • the state information is the action state of the user’s mouth
  • the second object is a hamburger image
  • the user’s mouth opening action is collected through the image. If the mouth opening action is detected, it can be considered satisfactory
  • the first trigger condition if the mouth is not detected, it is considered that the first trigger condition is not met.
  • the second object can be a series of hamburger images; the completeness of different hamburger images is different to show the process of hamburger being eaten.
  • the user's mouth is detected through image collection, the first hamburger image is displayed. While the user maintains his mouth open, the hamburger image is switched, and the hamburger image is switched to show the visual effect of the hamburger from being complete to being eaten smaller and smaller. ; Before the last hamburger image, it is found through image collection that the user has shut up, that is, the triggering event of the second object display switch is not met, the hamburger image switching is suspended and the current hamburger image display is maintained; if the user is detected again Open your mouth, that is, continue to switch backward on the basis of pausing the hamburger image before, until the hamburger image is switched. In this way, the process of eating a burger is presented by switching between the user's mouth opening and closing and the burger image.
  • the first object is an image of a user's palm
  • the state information is an action state of the user's palm
  • the second object is a special effect for rain. If the user’s palm is opened through image capture, the rain effect will be maintained; if the user’s palm is open and switched to a fist, the rain effect will be suspended; if the rain effect is in the form of rain at the moment of the pause, continue to maintain it on the image device Rain-like special effects. If it is detected that the user's palm is opened again through image collection, the display will continue on the basis of maintaining the rain-like special effect.
  • the second object includes multiple display states, for example, the following 5 states are provided:
  • Start display display in order from the first frame, the screen shows that the first, second, third, fourth, fifth, sixth, seventh, eighth, and ninth frame has been paused or stopped or displayed to the end;
  • Stop display the sequence frame disappears from the screen
  • Pause in the first frame only the first frame is displayed, and the first frame is always displayed on the screen; until a trigger event triggers the end of the display, resumes the display or stops the display;
  • Pause Stop at the current frame and keep displaying the current until a trigger event triggers to end the display, resume the display or stop the display;
  • Pause at the last frame Only the last frame is displayed, and the last frame is always displayed; until a trigger event triggers to end the display, resume the display or stop the display.
  • the above five states are equal or parallel, and there is no certain order or priority.
  • the above five states can be combined as needed.
  • step 101 and step 102 will be described in detail below through a more detailed embodiment.
  • FIG. 3 is a flowchart of another display method provided by an embodiment of the application.
  • the display method in Fig. 3 is a further refinement and improvement of the display method in Fig. 1.
  • the method includes:
  • Step S110 Detect the state information of the first object.
  • Step S120 If the status information indicates the appearance or disappearance of the first object, determine whether the first trigger condition is satisfied according to the status information.
  • step 120 may be replaced with: if the status information indicates that the first object exhibits a predetermined action, determining that the first trigger condition is satisfied. For example, if the collected portrait shows the action of nodding or raising the head, or the collected portrait shows the action of opening a hand or making a fist, it can be considered that a predetermined action is presented, thereby satisfying a specific first trigger condition.
  • Step S130 When the first trigger condition is satisfied, the display of the second object is changed according to the trigger event corresponding to the first trigger condition, wherein the second object is independent of the first object.
  • the state information of the appearance or disappearance of the first object detected in step S110 may include: appearing or disappearing from the display interface.
  • the status information indicates the appearance or disappearance of the first object
  • it will be determined according to the status information whether the first trigger condition is met. If the first trigger condition is met, the trigger event corresponding to the first trigger condition will be executed. In this way, the display adjustment of the second object is realized.
  • the status information includes: first display status information for indicating the current display status of the display interface, and/or collection status information for indicating the current collection status of the image acquisition module;
  • the first trigger condition includes: a display state trigger condition corresponding to the first display state information; and/or, an acquisition state trigger condition corresponding to the acquisition state information.
  • the display method can be applied to a display device with a display, and the display device can include an image acquisition module such as a camera or be connected with an image acquisition module.
  • the image acquisition module can acquire images.
  • the first object and the second object may be display objects pre-stored in the display device, or may be display objects received by the display device from other devices.
  • the first object and the second object may also be graphical objects collected in real time and displayed on the display.
  • the first trigger condition includes a display state trigger condition and/or an acquisition state trigger condition.
  • a trigger condition corresponding to a trigger event may include one or more; in some embodiments, the first trigger condition corresponding to the trigger event may include: a display state trigger condition and/or an acquisition state trigger condition. When there are multiple trigger conditions corresponding to a trigger event, these trigger conditions need to satisfy a certain logical relationship, and the logical relationship may include: logical “or” and/or logical “and”.
  • the trigger condition corresponding to a trigger event is a logical “and”, the execution of the trigger event requires that multiple trigger conditions corresponding to the trigger event are met; if the trigger condition corresponding to a trigger event is a logical “or”, the trigger
  • the trigger condition that needs to be met before the event is executed can be a trigger condition connected by logical OR.
  • the first trigger condition is divided into at least two categories, display state trigger condition and acquisition state trigger condition.
  • the display adjustment of the second object in this embodiment can be based on any one of the display state trigger condition and/or the acquisition state trigger condition; in this way, it is equivalent to the display state and/or the acquisition state that the display device can adjust the second display Display.
  • the step S120 may include: if the detected first display state information indicates that the first object appears on the display interface, determining that the display state trigger condition (corresponding to the first trigger condition ), or if the detected collection status information indicates that the first object disappears from the collection area, it is determined that the collection status trigger condition (corresponding to the first trigger condition) is satisfied.
  • the first display state information may be description information of the display state of the first object.
  • the first display state information may include at least one of the following:
  • End state information indicating the end of the display of the first object
  • the display progress status information indicating the current display progress of the first object.
  • the display progress status information may be used to indicate the Mth frame of the video or animation, the displayed duration, and the duration to be displayed.
  • the display progress status information may also be used to indicate the third sticker displayed in the sticker sequence.
  • the first display state information may be various information indicating the display state of the first object, and is not limited to the above examples.
  • the step S120 may include: if the first object appears on the display interface, it is considered that the display state trigger condition is satisfied, that is, the appearance of the first object will change the display of the second object.
  • both the first object and the second object may be special effects formed in the form of video or animation.
  • the first object can be any object other than the second object (that is, the first object is a random object relative to the second object), that is, there are other objects during the display of the second object Insert the display, the second feature will change its display, such changes include but are not limited to: stop display, pause display, accelerate display, decelerate display, or change the display exit mode.
  • the first object may be an object with certain characteristics, rather than a random object.
  • the first object may be an object that partially interferes with the display of the second object, and/or pre-existing with the second object.
  • the object establishes an object with a binding relationship, but the satisfaction of this binding relationship is only limited to the first trigger condition being satisfied.
  • the trigger event can be used to trigger the display device to perform a specific action or a specific operation.
  • the trigger event is a trigger event that controls the display of the second object, or the trigger event is an event that triggers the display device to execute the display of the second object.
  • the appearance or disappearance of the first object will be used as a trigger event for the display change of the second object.
  • the display device controls the display of the second object according to the first control logic; if a trigger event that satisfies the first trigger condition is detected, the display device controls the second object according to the second control logic.
  • the first control logic and the second control logic are different.
  • the first control logic is a predefined control logic
  • the second control logic is an internal display control logic of the second object.
  • the second control logic includes at least the control logic of the second object corresponding to the operation or action corresponding to the trigger event.
  • step S130 may include: switching from the first control logic to the second control logic to control the display of the second object; thus, the display of the second object is changed.
  • Changing the display of the second object in step S130 may include at least one of the following:
  • the way of disappearing the second object is adjusted.
  • the step S130 may include: controlling the stop of the currently displayed second object on the display interface according to the trigger event corresponding to the display state trigger condition (ie, the first trigger condition) display.
  • the second object when the display state trigger condition is met, the second object will be controlled to stop displaying. In this way, the cut-in display of the first display object will automatically stop the display of the second object. At this time, when the display of the second object is stopped, the second object may not be completely displayed according to the first control logic in advance, or the display times may not reach the predetermined times.
  • the appearance of the first object that is, the start of display
  • the associated control based on the appearance or disappearance of two independent graphical objects is realized; the display control method of the graphical interface is enriched, and the graphical object is improved Control method.
  • the step S130 may include: when the first trigger condition is satisfied, controlling the nth sub-object currently displayed by the second object to switch to displaying the n+1th sub-object of the second object Object.
  • n is a positive integer smaller than N; N is the total number of sub-objects included in the second object.
  • the second object may include multiple sub-objects. If the first trigger condition is met, the second object will switch between different sub-objects, for example, switch from the currently displayed sub-object to the next sub-object.
  • the Nth sub-object if the Nth sub-object is currently displayed, it can be controlled to switch to the first sub-object of the second object to realize cyclic switching.
  • determining whether the first trigger condition is satisfied according to the status information includes:
  • the image acquisition module cannot acquire the first object from the acquisition area, so that the first object disappears from the display interface.
  • the step S130 may include: controlling the second object to start displaying on the display interface according to the trigger event corresponding to the acquisition state trigger condition (ie, the first trigger condition).
  • the first object includes a claw-shaped image of the hand;
  • the second object is a special effect of sucking the target object (for example, particles such as beans);
  • the image with the palm open appears, and the special effect of sucking the target object Disappeared;
  • the left image of Figure 4 the image of the hand in the shape of a claw appears, and the special effect of sucking the target appears.
  • FIG. 5 is a schematic diagram of controlling the change of the display interface based on the display method provided in this embodiment.
  • the first object is the imaging that collects the user's palm opening gesture
  • the second object is the special effect of spilling the target object (for example, particulate matter such as beans).
  • the imaging of the palm opening gesture appears on the display interface
  • the display of the target effect is displayed; if the imaging of the palm opening gesture disappears on the display interface, the special effect of the spilling target also disappears.
  • detecting the status information of the first object may be: detecting the second display status information of the first object currently displayed on the display interface.
  • this embodiment provides another display method, including:
  • Step S201 Detect the second display state information of the first object currently displayed on the display interface (corresponding to step 101).
  • Step S202 If the second display state information indicates that the first trigger condition is satisfied, the display of the second object is controlled according to the trigger event corresponding to the first trigger condition, wherein the second object is different from the first object and The second object is independent of the first object (corresponding to step 102).
  • the display state of the first object is detected, and the information indicating the display state of the first object may be second display state information.
  • the second display state information satisfies the first trigger condition and triggers the display of the second object.
  • the difference between the first object and the second object may be embodied in: the first object and the second object may be different objects of the same type.
  • the steps in the display method in FIG. 6 may be applied to the display method in FIG. 1. That is, the display method in FIG. 1 further includes the following steps S201 and S202.
  • the first object and the second object may both be special effects.
  • another special effect that is independent of the previously played special effect can be automatically played.
  • another special effect is automatically inserted or played synchronously.
  • the step S202 may include at least one of the following:
  • the second display state information satisfies the synchronous display trigger condition (corresponding to the first trigger condition), controlling the synchronous display of the first object and the second object according to the synchronous display trigger event;
  • the display of the second object is started when the first object is displayed to a predetermined state.
  • the first trigger condition that can be satisfied by the second display state information in this embodiment includes at least: a synchronous display trigger condition and an associated display trigger condition.
  • the display of the second object will be started when the display of the first object is started.
  • the first object and the second object can be displayed side by side on the graphical interface.
  • the synchronized display may include: displaying the first object in the first area, and simultaneously displaying the second object in the second area.
  • the first area is different from the second area; the first area and the second area may be arranged side by side in a horizontal direction, or may be arranged in a vertical ratio; in some embodiments, the first area and the second area may also be arranged diagonally.
  • the first area and the second block may partially overlap, or completely overlap. When the overlap is completed, the first area may be a sub-area of the second area, or the second area may be a sub-area of the first area.
  • the first object may be a Santa Claus graphic and/or video
  • the second object may be a snowing video.
  • the Santa Claus image and/or video are displayed in the middle area of the display interface, and the snowing video is displayed on the entire display interface. .
  • the association trigger event mainly triggers the association control of the display of the first object and the second object. Therefore, in this embodiment, if the first object is displayed in a predetermined state, for example, the display duration reaches the predetermined duration, and then For example, the display progress reaches 50%, or the display reaches a specific frame, and the display of the second object is started. In this embodiment, the display of the first object and the second object can be in the same area or in different areas.
  • detecting the status information of the first object may be: detecting the device status information of a display device; the display device is the first object.
  • this embodiment provides yet another display method, including:
  • Step S301 Detect the device status information of the display device (corresponding to step 101).
  • Step S302 If the device status information indicates that the first trigger condition is satisfied, the display of the second object is changed according to the trigger event corresponding to the first trigger condition when the first trigger condition is satisfied (corresponding to Step 102).
  • the steps in the display method provided in this embodiment can be applied to the display method in FIG. 1 or the display method in FIG. 3; and can also be applied to the display method in FIG. 6. That is to say, the display method in FIGS. 1, 3, and 6 further includes the following steps: detecting the device status information of the display device; if the device status information indicates that the first trigger condition is met, the When the first trigger condition is used, the display of the second object is changed according to the trigger event corresponding to the first trigger condition.
  • the display device will also detect the device status information, and determine whether the first trigger condition is met based on the device status. Only when the first trigger condition is met, the trigger event corresponding to the met first trigger condition Will be executed.
  • the device status information includes at least one of the following:
  • Resource status information indicating the current resource status of the display device.
  • the device display status information may include at least one of the following:
  • Content indication information indicating the current display content of the display device
  • Mode indicator information indicating the current display mode of the display device.
  • the first trigger condition is satisfied when the specific content is displayed; for another example, the first trigger condition is satisfied: in the specific display mode of the display device, the corresponding first trigger condition is satisfied.
  • the trigger condition is met.
  • the specific content may include: a specific type of content and/or a specific display content. For example, if the specific type is special effects or stickers, and the display device currently displays special effects or stickers, it is considered that the display device meets the first trigger condition. If the display device may display content A, content B, and content C, if the first trigger condition satisfies the condition: the display device determines that the first trigger condition is met when the content B is displayed. Therefore, if the display device displays content B at the current moment, the first trigger condition is met. After the first trigger condition is met, the trigger event corresponding to the met and met first trigger condition will be executed, so that the second object The display of will be controlled and/or adjusted.
  • the second object is a second animation effect; or, if the first object is a first graphic, then the second object is The second graphic.
  • the display mode of the display device may include at least: a full-screen display mode and a small-screen display mode.
  • the full-screen display mode the entire screen of the display device displays a display interface containing any one of the first object to the second object.
  • the display area of the display interface is smaller than the display screen or smaller than a predetermined ratio of the display screen.
  • the predetermined ratio can be 0.98, 0.95, or 0.9.
  • the environmental status information includes but is not limited to at least one of the following:
  • the weather information of the environment where the display device is located may indicate: it is currently sunny, rainy, snowy or hazy;
  • the temperature information of the environment where the display device is located is used to indicate the temperature of the environment where the device is located
  • the humidity information of the environment where the display device is located is used to indicate the humidity of the environment where it is located;
  • the typical geographic feature information of the environment where the display device is located is used to indicate the typical topography or human features of the environment where it is located. For example, if the display device is a mobile device and the current location is Sanya, the typical geographical feature is the seaside.
  • the trigger event corresponding to the met first trigger condition is to trigger the display of a snowing animation
  • the weather is very cold
  • displaying the snowing animation is for the user It may aggravate the feeling of coldness, so it can be set at this time that the satisfaction condition of the first trigger condition cannot be satisfied, so that the first trigger condition cannot be satisfied.
  • the corresponding trigger event cannot be executed.
  • the matching criteria of various device status information can be used, and then the detected device status information can be matched with the matching criteria. If the matching is consistent, the first trigger condition can be considered to be satisfied, otherwise the first trigger condition can be considered not satisfied .
  • the resource status information may include:
  • the computing resource utilization rate indicating the utilization status of computing resources
  • the storage resource usage rate indicating the usage status of the storage resource
  • the display resource usage rate indicating the usage status of the display resource
  • Bandwidth resource usage rate indicating the usage status of the bandwidth resource.
  • the first trigger condition if it is determined that the predetermined resource use condition is satisfied according to the resource status information, it is determined that the first trigger condition is satisfied; otherwise, the first trigger condition may be considered not to be satisfied.
  • FIG. 8 is a schematic diagram of the effect of controlling the display of a second object based on a display method provided by an embodiment of the present disclosure.
  • Figure 8 shows a human head imaging;
  • Figure 8 also shows a map pasted in the image of the human face imaging area.
  • the first object can be the image of the user nodding;
  • the second object is the map of the human face imaging area. If the user nodding image appears on the display interface through image acquisition, it can be considered that the first trigger condition is satisfied, and then the control of the second object is executed according to the trigger event corresponding to the first trigger condition.
  • the second object in FIG. 8 is the switching of stickers in the face imaging area. After detecting the nodding imaging, switch the sticker of the face presenting area, for example, switch from the sticker of the eye imaging area in FIG. 8 to the sticker of the cheek area.
  • the display device may display a variety of textures.
  • the trigger event it is necessary to determine the device status information currently displayed by the display device. If the device currently displays the Nth sticker, it can be determined to display the N+1th sticker. The first trigger condition corresponding to the trigger event of the texture is satisfied, otherwise the first trigger condition corresponding to the trigger event of the N+1th sticker is not satisfied.
  • this embodiment provides a display device, including:
  • the detection module 110 is used to detect the state information of the first object
  • the first determining module 120 is configured to determine a situation where the state information satisfies the first trigger condition
  • the changing module 130 is configured to change the display of the second object according to the trigger event corresponding to the first trigger condition when the first determining unit determines that the state information satisfies the first trigger condition.
  • the second object is independent of the first object.
  • the detection module 110, the first determination module 120, and the change module 130 may be program modules. After the program module is executed by the processor, the detection of the state information and the determination of the satisfaction of the first trigger condition can be realized. And the display of the second object changes.
  • the detection module 110, the first determination module 120, and the change module 130 may be a combination of software and hardware, and the combination of software and hardware may be a programmable array; the programmable array may be a complex Programmable array or field programmable array.
  • the detection module 110, the first determination module 120, and the change module 130 may be pure hardware modules, and the pure hardware modules may be application specific integrated circuits.
  • the status information includes: first display status information for indicating the current display status of the display interface, and/or collection status information for indicating the current collection status of the image acquisition module;
  • the first trigger condition includes: a display state trigger condition corresponding to the first display state information; and/or, an acquisition state trigger condition corresponding to the acquisition state information.
  • the first determining module 120 is specifically configured to determine that the first trigger condition is satisfied if the detected first display state information indicates that the first object appears on the display interface.
  • the change module 130 is configured to control the stop display of the second object currently displayed on the display interface according to the trigger event corresponding to the display state trigger condition.
  • the first determination module 120 is specifically configured to determine that the first trigger condition is satisfied if the detected collection state information indicates that the first object disappears from the collection area.
  • the first determining module 120 is specifically configured to control the second object to start to be displayed on the display interface according to the trigger event corresponding to the trigger condition of the acquisition state.
  • the first determining module is specifically configured to determine that the first trigger condition is satisfied if the status information indicates that the first object exhibits a predetermined action.
  • the change module is specifically configured to control the nth sub-object currently displayed by the second object to switch to the n+1th sub-object displaying the second object when the first trigger condition is satisfied. Child objects.
  • the detection module 110 is specifically configured to detect the second display state information of the first object currently displayed on the display interface
  • the changing module is specifically configured to change the display of the second object according to a trigger event corresponding to the first trigger condition when the second display state information indicates that the first trigger condition is satisfied.
  • the change module is specifically configured to control the synchronization of the first object and the second object according to the synchronization display trigger event when the second display state information meets the synchronization display trigger condition display;
  • the change module is specifically configured to, when the second display state information satisfies an associated display trigger condition, according to the associated display trigger condition, start the activation of the second object when the first object is displayed in a predetermined state. display.
  • the detection module is specifically configured to detect device status information of a display device; the display device is the first object;
  • the first determining module is specifically configured to determine that the device state information satisfies the first trigger condition.
  • the device status information includes at least one of the following:
  • Resource status information indicating the current resource status of the display device.
  • the change module is specifically configured to suspend the display of the second object according to a trigger event corresponding to the first trigger condition when the state information meets the first trigger condition;
  • the change module is further configured to continue to display the suspended second object when the state information of the re-detected first object does not satisfy the first trigger condition.
  • the change module is specifically configured to end the display of the second object in advance according to the trigger event
  • the change module is specifically configured to shorten the display duration of the second object according to the trigger event
  • the change module is specifically configured to extend the display duration of the second object according to the trigger event
  • the changing module is specifically configured to adjust the display parameters of the second object according to the trigger event
  • the change module is specifically configured to adjust the display content of the second object according to the trigger event
  • the changing module is specifically configured to adjust the disappearance mode of the second object according to the trigger event
  • the change module is specifically configured to suspend the display of the second object according to a trigger event.
  • control module is specifically configured to execute at least one of the following:
  • the display of the second object is started when the first object is displayed to a predetermined state.
  • the device further includes:
  • the detection module 110 is used to detect the device status information of the display device
  • the changing module 130 is specifically configured to change the second trigger condition according to the trigger event corresponding to the first trigger condition if the device status information indicates that the first trigger condition is met.
  • the display of the object is specifically configured to change the second trigger condition according to the trigger event corresponding to the first trigger condition if the device status information indicates that the first trigger condition is met.
  • the change module is specifically configured to suspend the display of the second object according to a trigger event corresponding to the first trigger condition when the first trigger condition is satisfied;
  • the change module is further configured to continue to display the suspended second object when the state information of the first object detected does not satisfy the first trigger condition.
  • an embodiment of the present application provides a display device, including:
  • Memory used to store information
  • the processor is respectively connected to the display and the memory, and is configured to implement the display method provided by one or more technical solutions by executing the computer executable instructions stored on the memory, for example, as shown in Figures 1 and 3 , Figure 6 and Figure 7 shows the display method.
  • the memory can be various types of memory, such as random access memory, read-only memory, flash memory, etc.
  • the memory can be used for information storage, for example, storing computer executable instructions and the like.
  • the computer-executable instructions may be various program instructions, for example, target program instructions and/or source program instructions.
  • the processor may be various types of processors, for example, a central processing unit, a microprocessor, a digital signal processor, a programmable array, a digital signal processor, an application specific integrated circuit, or an image processor.
  • the processor may be connected to the memory through a bus.
  • the bus may be an integrated circuit bus or the like.
  • the terminal device may further include: a communication interface, and the communication interface may include: a network interface, for example, a local area network interface, a transceiver antenna, and the like.
  • the communication interface is also connected to the processor and can be used for information transmission and reception.
  • the terminal device further includes a human-computer interaction interface.
  • the human-computer interaction interface may include various input and output devices, such as a keyboard and a touch screen.
  • the embodiment of the present application provides a computer storage medium that stores computer executable code; after the computer executable code is executed, the display method provided by one or more technical solutions can be implemented, as shown in the figure 1.
  • the storage medium includes various media that can store program codes, such as a mobile storage device, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk.
  • the storage medium may be a non-transitory storage medium.
  • the embodiment of the present application provides a computer program product, the program product includes computer executable instructions; after the computer executable instructions are executed, the display method provided by any of the foregoing implementations can be implemented, as shown in Figure 1, Figure 3, and Figure 6. And the display method shown in Figure 7.
  • the disclosed device and method may be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the units is only a logical function division, and there may be other divisions in actual implementation, such as: multiple units or components can be combined, or It can be integrated into another system, or some features can be ignored or not implemented.
  • the coupling, or direct coupling, or communication connection between the components shown or discussed may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms. of.
  • the units described above as separate components may or may not be physically separate, and the components displayed as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units; Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • the functional units in the embodiments of the present disclosure can be all integrated into one processing module, or each unit can be individually used as a unit, or two or more units can be integrated into one unit;
  • the unit can be implemented in the form of hardware, or in the form of hardware plus software functional units.
  • the foregoing program can be stored in a computer readable storage medium, and when the program is executed, it is executed Including the steps of the foregoing method embodiment; and the foregoing storage medium includes: removable storage devices, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), magnetic disks or optical disks, etc.
  • ROM read-only memory
  • RAM random access memory
  • magnetic disks or optical disks etc.

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)
  • Controls And Circuits For Display Device (AREA)

Abstract

一种显示方法及装置、电子设备及存储介质。所述方法包括:检测第一对象的状态信息(S110);若所述状态信息指示所述第一对象出现或消失,根据所述状态信息确定是否满足触发条件(S120);在满足所述触发条件时,根据所述触发条件对应的触发事件改变第二对象的显示,其中,所述第二对象独立于所述第一对象(S130)。

Description

显示方法及装置、电子设备及存储介质
本申请要求于2019年02月27日提交中国国家知识产权局、申请号为201910146580.8、申请名称为“显示方法及装置、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本公开涉及显示技术领域,尤其涉及一种显示方法及装置、电子设备及存储介质。
背景技术
随着显示技术的发展,电子设备的显示效果越来越多样,呈现的显示效果也越来越丰富。但是用户的对于显示效果的需求也越来越多样,如何进一步丰富电子设备的显示多样性的需求及满足用户的个性需求,是现有技术需要进一步解决的技术问题。
发明内容
有鉴于此,本公开实施例期望提供一种显示方法及装置、电子设备及存储介质。
本公开的技术方案是这样实现的:
一种显示方法,包括:检测第一对象的状态信息;在所述状态信息满足第一触发条件的情况下,根据所述第一触发条件对应的触发事件改变第二对象的显示,其中,所述第二对象独立于所述第一对象。
基于上述方案,所述状态信息包括:用于指示显示界面的当前显示状态的第一显示状态信息,和/或,用于指示图像采集模组的当前采集状态的采集状态信息;所述触发条件包括:与所述第一显示状态信息对应的显示状态触发条件;和/或,与所述采集状态信息对应的采集状态触发条件。
基于上述方案,所述状态信息满足第一触发条件的情况,包括:若检测到的所述第一显示状态信息指示所述第一对象出现在显示界面,确定满足所述第一触发条件。
基于上述方案,所述状态信息满足第一触发条件的情况,包括:若检测到的所述采集状态信息指示所述第一对象从采集区域消失,确定满足所述第一触发条件。
基于上述方案,所述状态信息满足第一触发条件的情况,包括:若所述状态信息指示所述第一对象呈现预定动作,确定满足所述第一触发条件。
基于上述方案,所述检测第一对象的状态信息,包括:检测显示界面的当前显示的所述第一对象的第二显示状态信息;所述在所述状态信息满足第一触发条件的情况下,根据所述第一触发条件对应的触发事件改变第二对象的显示,包括:在所述第二显示状态信息指示满足所述第一触发条件的情况下,根据所述第一触发条件对应的触发事件改变所述第二对象的显示。
基于上述方案,所述在所述第二显示状态信息指示满足所述第一触发条件的情况下,根据所述第一触发条件对应的触发事件改变所述第二对象的显示包括以下至少之一:在所述第二显示状态信息满足同步显示触发条件的情况下,则根据同步显示触发事件控制所述第一对象和所述第二对象同步显示;在所述第二显示状态信息满足关联显示触发条件的情 况下,则根据关联显示触发条件,在所述第一对象显示到预定状态时启动所述第二对象的显示。
基于上述方案,所述检测第一对象的状态信息包括:检测显示设备的设备状态信息;所述显示设备为所述第一对象;所述设备状态信息满足第一触发条件的情况包括:所述设备状态信息满足所述第一触发条件。
基于上述方案,所述设备状态信息包括以下至少之一:指示所述显示设备当前显示状态的设备显示状态信息;指示所述显示设备当前所在环境的环境状态信息;指示所述显示设备的当前资源状态的资源状态信息。
基于上述方案,所述在所述状态信息满足第一触发条件的情况下,根据所述第一触发条件对应的触发事件改变第二对象的显示,包括:在所述状态信息满足所述第一触发条件的情况下,根据所述第一触发条件对应的触发事件暂停所述第二对象的显示;所述方法还包括:在重新检测的所述第一对象的状态信息不满足所述第一触发条件的情况下,对暂停的所述第二对象的继续显示。
基于上述方案,所述根据所述第一触发条件对应的触发事件改变第二对象的显示,包括:根据所述触发事件,提前结束所述第二对象的显示;或者,根据所述触发事件,缩短所述第二对象的显示时长;或者,根据所述触发事件,延长所述第二对象的显示时长;或者,根据所述触发事件,调整所述第二对象的显示参数;或者,根据所述触发事件,调整所述第二对象的显示内容;或者,根据所述触发事件,调整所述第二对象的消失方式;或者,根据触发事件,暂停所述第二对象的显示。
基于上述方案,所述根据所述第一触发条件对应的触发事件改变第二对象的显示,包括:控制所述第二对象当前显示的第n个子对象切换到显示所述第二对象的第n+1个子对象。
一种显示装置,包括:检测模块,用于检测第一对象的状态信息;第一确定模块,用于确定所述状态信息满足第一触发条件的情况;改变模块,用于在所述第一确定单元确定所述状态信息满足第一触发条件的情况下,根据所述第一触发条件对应的触发事件改变第二对象的显示,其中,所述第二对象独立于所述第一对象。
基于上述方案,所述状态信息包括:用于指示显示界面的当前显示状态的第一显示状态信息,和/或,用于指示图像采集模组的当前采集状态的采集状态信息;所述第一触发条件包括:与所述第一显示状态信息对应的显示状态触发条件;和/或,与所述采集状态信息对应的采集状态触发条件。
基于上述方案,所述第一确定模块,具体用于若检测到的所述第一显示状态信息指示所述第一对象出现在显示界面,确定满足所述第一触发条件。
基于上述方案,所述第一确定模块,具体用于若检测到的所述采集状态信息指示所述第一对象从采集区域消失,确定满足所述第一触发条件。
基于上述方案,所述第一确定模块,具体用于若所述状态信息指示所述第一对象呈现预定动作,确定满足所述第一触发条件。
基于上述方案,所述检测模块,具体用于检测显示界面的当前显示的所述第一对象的第二显示状态信息;所述改变模块,具体用于在所述第二显示状态信息指示满足所述第一 触发条件的情况下,根据所述第一触发条件对应的触发事件改变所述第二对象的显示。
基于上述方案,所述改变模块,具体用于在所述第二显示状态信息满足同步显示触发条件的情况下,则根据同步显示触发事件控制所述第一对象和所述第二对象同步显示;或者,所述改变模块,具体用于在所述第二显示状态信息满足关联显示触发条件的情况下,则根据关联显示触发条件,在所述第一对象显示到预定状态时启动所述第二对象的显示。
基于上述方案,所述检测模块,具体用于检测显示设备的设备状态信息;所述显示设备为所述第一对象;所述第一确定模块,具体用于确定所述设备状态信息满足所述第一触发条件。
基于上述方案,所述设备状态信息包括以下至少之一:指示所述显示设备当前显示状态的设备显示状态信息;指示所述显示设备当前所在环境的环境状态信息;指示所述显示设备的当前资源状态的资源状态信息。
基于上述方案,所述改变模块,具体用于在所述状态信息满足所述第一触发条件的情况下,根据所述第一触发条件对应的触发事件暂停所述第二对象的显示;所述改变模块,还用于在重新检测的第一对象的状态信息不满足所述触发条件,对暂停的所述第二对象的继续显示。
基于上述方案,所述改变模块,具体用于根据所述触发事件,提前结束所述第二对象的显示;或者,所述改变模块,具体用于根据所述触发事件,缩短所述第二对象的显示时长;或者,所述改变模块,具体用于根据所述触发事件,延长所述第二对象的显示时长;或者,所述改变模块,具体用于根据所述触发事件,调整所述第二对象的显示参数;或者,所述改变模块,具体用于根据所述触发事件,调整所述第二对象的显示内容;或者,所述改变模块,具体用于根据所述触发事件,调整所述第二对象的消失方式;或者,所述改变模块,具体用于根据触发事件,暂停所述第二对象的显示。
基于上述方案,所述改变模块,具体用于在满足所述触发条件时,控制所述第二对象当前显示的第n个子对象切换到显示所述第二对象的第n+1个子对象。
一种显示设备,包括:显示器;存储器;处理器,分别与所述显示器及所述存储器连接,用于通过执行位于存储器上的计算机可执行指令,控制所述显示器及存储器的工作,并能够实现前述任意技术方案提供的显示方法。
一种计算机存储介质,所述计算机存储介质存储有计算机可执行指令;所述计算机可执行指令被执行后,能够实现前述任意技术方案提供的显示方法。
本公开实施例提供的技术方案,会检测第一对象的状态信息,若该状态信息表示第一对象出现或消失,会改变另一个与第一对象独立的第二对象的显示,从而实现利用一个对象的出现或消失来改变另一个第二对象预定的显示,从而丰富第二对象的显示形态且丰富了显示控制,更能够满足用户的个性需求。
附图说明
图1为本公开实施例提供的一种显示方法流程示意图;
图2为本公开实施例提供的第一种显示效果示意图;
图3为本公开实施例提供的另一种显示方法流程示意图;
图4为本公开实施例提供的第二种显示效果示意图;
图5为本公开实施例提供的第三种显示效果示意图;
图6为本公开实施例提供的另一种显示方法流程示意图;
图7为本公开实施例提供的另一种显示方法流程示意图;
图8为本公开实施例提供的第四种显示效果示意图;
图9为本公开实施例提供的一种显示装置的结构示意图;
图10为本公开实施例提供的一种显示设备的结构示意图。
具体实施方式
以下结合说明书附图及具体实施例对本公开的技术方案做进一步的详细阐述。
如图1所示,本实施例提供一种显示方法,包括:
101、检测第一对象的状态信息。
在本实施例提供的显示方法可应用于各种显示设备。所述电子设备可包括显示屏;所述显示屏可为液晶显示屏、投影显示屏、有机发光二极管(OLED)显示器或者电子墨水显示屏。
在一些实施例中,所述状态信息包括:用于指示显示界面的当前显示状态的第一显示状态信息,和/或,用于指示图像采集模组的当前采集状态的采集状态信息;
所述第一触发条件包括:与所述第一显示状态信息对应的显示状态触发条件;和/或,与所述采集状态信息对应的采集状态触发条件。
在一些实施例中,检测第一对象的状态信息可以是:检测显示界面的当前显示的所述第一对象的第二显示状态信息。
在一些实施例中,检测第一对象的状态信息可以是:检测显示设备的设备状态信息;所述显示设备为所述第一对象。
102、在所述状态信息满足第一触发条件的情况下,根据所述第一触发条件对应的触发事件改变第二对象的显示,其中,所述第二对象独立于所述第一对象。
由于在不同实施例中,检测的第一对象的状态信息不同,后续再结合多个实施例来介绍如何确定所述状态信息满足第一触发条件的情况。所述触发事件可用于触发显示设备执行特定动作或特定操作。在本实施例中,所述触发事件为控制第二对象显示的触发事件,或,所述触发事件为触发显示设备执行与第二对象的显示相关的事件。本实施例中,根据所述第一触发条件对应的触发事件改变第二对象的显示的实现方式有多种,后续再作详述。
在本实施例中,第一对象独立于第二对象的这种独立性可以体现在以下任意一个方面:
(1)没有所述触发事件时第一对象和第二对象的显示控制逻辑相互独立,例如,在没有所述触发事件时,第二对象开始显示、中止显示及显示方式等都与第一对象的当前显示状态无关。
(2)第一对象不同于第二对象,例如,第一对象和第二对象之间没有包含关系。
(3)第一对象和第二对象可以是不同类型的对象,例如,第一对象是单个图像,第二对象可为视频,或者,第二对象为单个图像,而第一对象为视频;再例如,所述第一对象可为显示的图形对象,而第二对象可为一种采集对象,或者,第一对象为采集对象,第二 对象为显示的图形对象。若第一对象为采集对象,则步骤S110中第一对象的状态信息可以为第一对象出现在采集区域内或从采集区域消失。采集区域可为图像采集模组的采集视角所对应的区域,显示设备可以通过图像采集模组采集的图像获取到第一对象的出现或消失等指示状态的状态信息。
(4)第一对象和第二对象来自不同的文件,例如,所述第一对象和第二对象之间除了所述触发事件关联以外不属于同一个视频等,也不一定同时出现在同一个显示界面。
例如,所述第一对象和第二对象均可为图形对象,例如,显示在当前显示界面上的图形对象。当然在本实施例中,显示界面上可显示有多个图形对象,除了所述第一对象和/或第二对象以外,还可包括其他图形对象。所述图形对象可为:静态图形对象和动态图形对象,在本实施例中,所述第一对象和第二对象都可以为动态图形对象。所述动态图形对象可包括:动画特效、视频、动图等。
再例如,所述第一对象和第二对象中的至少一个或者两个都可为贴图,该贴图可为覆盖在整个显示界面或者部分显示界面的图形对象。例如,该贴图可为覆盖在显示界面内的人像脸部区域的脸部贴图。所述脸部贴图可包括各种形式的贴纸,例如,戏剧元素的贴纸(例如,京剧脸谱)和/或娱乐性质的各种贴纸。图2所示的图像上显示有覆盖住人像脸部的趣味贴图。
在一些实施例中,所述第一对象和第二对象均可为显示对象,和/或,所述第一对象和第二对象均可为采集对象。示例性的,显示对象为预置的特效、图形等。示例性的,采集对象为通过图像采集设备采集的图像,例如人脸图像等。
本申请实施例中,基于两个独立图形对象之间的关联控制,在第一对象的状态信息满是第一触发条件时,改变第二对象的显示;丰富了图形界面的显示控制方式,提升了图形对象的控制方式。
前述实施例未详述根据所述第一触发条件对应的触发事件改变第二对象的显示的实现方式,下面介绍几种改变第二对象的显示的实现方式。
在一些实施例中,根据所述第一触发条件对应的触发事件改变第二对象的显示可包括以下至少之一:
根据所述触发事件,提前结束所述第二对象的显示;
根据所述触发事件,缩短所述第二对象的显示时长
根据所述触发事件,延长所述第二对象的显示时长;
根据所述触发事件,调整所述第二对象的显示参数,
根据所述触发事件,调整所述第二对象的显示内容;
根据所述触发事件,调整所述第二对象的消失方式,例如,第二对象以逐步淡出从显示界面消失,或者,第二对象以从一侧移出的方式从显示界面消失;
根据触发事件,暂停所述第二对象的显示;
根据所述触发事件,控制所述第二对象当前显示的第n个子对象切换到显示所述第二对象的第n+1个子对象。
例如,假设所述第二对象为包含N帧的视频或动画,在检测到符合第一触发条件时,显示到第二对象的第n帧,n小于N;若触发事件触发第二对象提前结束显示的触发事件, 则显示设备不再显示第二对象的第n+1帧,而是直接显示到第n帧就结束。
所述延长第二对象的显示时长的方式有多种,以下提供几种可选方式:
以低于标准速率的第一速率播放所述第二对象,如此,使得第二对象的播放时长延长;
重复播放第二对象的全部或部分帧,通过至少部分重播的方式延长第二对象的显示。
所述缩短所述第二对象的显示时长的方式有多种,以下提供几种可选方式;
以高于标准速率的第二速率播放第二对象,如此,在完整播放第二对象的情况下能够缩短第二对象的显示时长;
显示所述第二对象的关键帧,例如,所述第二对象为视频和/或动画,在本实施例中,为了缩短第二对象的显示时长,仅显示预先设定的关键帧;如此,若第二对象的最后一帧为关键帧,则在缩短第二对象的显示时长的方案中,可能第二对象的某些中间帧会被跳过,但是最后一帧依然会被显示。
其中,所述显示参数可以为控制所述第二对象的显示效果的各种参数。例如,所述显示参数包括但不限于以下至少之一:
控制所述第二对象显示颜色的颜色参数;
控制所述第二对象显示亮度的亮度参数;
控制所述第二对象的切换速率的显示速率参数。
总之,在本实施例中,利用第一对象的状态信息,来控制与第一对象独立的第二对象的显示,如此,增加了第二对象的显示控制方式,丰富了第二对象的显示形态和变化,增加了显示界面的显示逻辑和显示效果,提升了用户体验并满足用户的个性需求。
所述暂停第二对象的显示不同于停止第二对象的显示,所述暂停第二对象的显示包括:
存储第二对象暂停前的显示状态;
暂停第二对象的显示;
在满足恢复显示条件时,根据第二对象暂停前的显示状态继续第二对象的显示。
在一些实施例中,所述在所述状态信息满足第一触发条件的情况下,根据所述第一触发条件对应的触发事件改变第二对象的显示可以是:在满足所述第一触发条件时,根据所述第一触发条件对应的触发事件暂停所述第二对象的显示;所述方法还包括:在重新检测的第一对象的状态信息不满足所述第一触发条件,对暂停的所述第二对象的继续显示。
例如,若检测到第一对象出现,暂停当前正在播放的第二对象的显示;若继续检测第一对象的状态信息,若检测的状态信息表明当前不满足第一触发条件,则恢复第二对象的显示,此时,即在暂停第二对象的画面上继续显示。
在本实施例中,所述暂停所述第二对象的显示的同时,维持暂停时刻第二对象的显示状态。
例如,在一些实施例中,第一对象为采集到的用户图像,状态信息为用户的动作状态,那么若通过采集图像发现用户执行了动作A,满足触发事件,启动一个小视频的显示;接着通过图像采集发现用户没有执行动作A,认为当前不满足第一触发条件,暂停小视频的显示,停止在当前显示的图像帧;再次采集用户的图像,通过图像检测,发现用户又执行了动作A,则在暂停的图像帧上继续显示小视频,反复执行直到显示完小视频。
若在小视频等第二对象的最后一帧检测到暂停第二对象显示的触发事件,同样暂停在 第二对象显示的最后一帧,若再次检测到满足暂停的触发事件的动作或状态消失,则结束第二对象的显示。
例如,第一对象为采集到的用户嘴部图像,状态信息为用户嘴部的动作状态,第二对象为汉堡图像,那么通过图像采集用户张嘴的动作,若检测到张嘴的动作,可认为满足第一触发条件,若未检测到张嘴,则认为不满足第一触发条件。第二对象可为一系列的汉堡图像;不同汉堡图像的完整程度不同,以呈现汉堡被吃的过程。
例如,通过图像采集检测到用户张嘴,则显示第一张汉堡图像,在用户维持张嘴的过程中,切换汉堡图像,通过汉堡图像的切换呈现汉堡从完整到被吃得越来越小的视觉效果;当在最后一张汉堡图像之前,通过图像采集发现用户闭嘴了,即当前不满足第二对象显示切换的触发事件,暂停汉堡图像的切换并维持当前汉堡图像的显示;若再次检测到用户张嘴,即在之前暂停汉堡图像的基础上继续向后切换,直至汉堡图像切换完毕。从而通过与用户的张嘴和闭嘴及汉堡图像的切换,呈现吃汉堡的过程。
再例如,控雨的小特效;例如,第一对象为用户手掌图像,状态信息为用户手掌的动作状态,第二对象为下雨特效。若通过图像采集检测到用户的手掌张开,则维持下雨特效;若用户手掌张开切换到握拳,则暂停下雨特效;若暂停时刻下雨特效呈现雨丝状,则在图像设备上继续维持雨丝状特效。若通过图像采集再次检测到用户手掌张开,则在维持雨丝状特效的基础上继续显示。
总之,在本实施例中,所述第二对象包括多个显示状态,例如,提供以下5种状态:
开始显示:从第一帧开始按照顺序进行显示,画面上显示第1,2,3,4,5,6,7,8,9帧一直被暂停或被停止或者显示到结束;
停止显示:序列帧从画面上消失;
暂停在第一帧:只显示第一帧,画面中一直显示第一帧;直到有触发事件触发结束显示、恢复显示或者停止显示;
暂停:停止在当前帧,一直显示当前,直到有触发事件触发结束显示、恢复显示或者停止显示;
暂停在最后一帧:只显示最后一帧,一直显示最后一帧;直到有触发事件触发结束显示、恢复显示或者停止显示。
上述五个状态是平等或并列,没有一定先后顺序或优先顺序,可以根据需要随意组合上述五个状态。
这些多个状态可以组合形成不同的状态组合;以下提供几种可选的组合状态:
开始显示、暂停在第一帧、暂停在当前帧、暂停在最后一帧、结束显示;
开始显示、在当前帧停止显示;
开始显示,在当前帧停止显示,并隐藏图像帧,在隐藏的图像帧基础上恢复显示;
开始显示、切换到其他对象的显示,从其他对象的显示恢复到当前对象的显示。
本申请实施例中,根据触发事件,改变第二对象的显示的实现方式多种多样,可以根据实际需要来设置改变第二对象的显示的实现方式,以便于满足不同用户的需求。
由于在不同的实施例中检测的第一对象的状态信息不同,因此确定所述状态信息是否满足第一触发条件的方式不同。下面通过更细化的实施例来详述步骤101和步骤102的实 现方式。
图3为本申请实施例提供的另一种显示方法流程图。图3中的显示方法是对图1中的显示方法的进一步细化和完善,如图3所示,该方法包括:
步骤S110:检测第一对象的状态信息。
步骤S120:若所述状态信息指示所述第一对象出现或消失,根据所述状态信息确定是否满足第一触发条件。
可选的,步骤120可替换为:若所述状态信息指示所述第一对象呈现预定动作,确定满足所述第一触发条件。例如,采集到人像呈现点头或抬头的动作,或者,采集到人像呈现张手或握拳的动作,可认为呈现了预定动作,从而满足特定的第一触发条件。
步骤S130:在满足所述第一触发条件时,根据所述第一触发条件对应的触发事件改变第二对象的显示,其中,所述第二对象独立于所述第一对象。
在本实施例中,步骤S110中检测的第一对象出现或消失的状态信息。此处的出现或者消失可包括:从显示界面上出现或消失。
若检测到状态信息指示第一对象出现或消失,则会根据该状态信息确定是否满足第一触发条件,若满足第一触发条件,则与该第一触发条件对应的触发事件就会被执行,从而实现对第二对象的显示调整。
在一些实施例中,所述状态信息包括:用于指示显示界面的当前显示状态的第一显示状态信息,和/或,用于指示图像采集模组的当前采集状态的采集状态信息;
所述第一触发条件包括:与所述第一显示状态信息对应的显示状态触发条件;和/或,与所述采集状态信息对应的采集状态触发条件。
在本实施例中,所述显示方法可应用于具有显示器的显示设备中,同时该显示设备可包含有摄像头等图像采集模组或者连接有图像采集模组。所述图像采集模组可以采集图像。
在一些实施例中,所述第一对象和第二对象可为预先存储于显示设备中的显示对象,也可以是所述显示设备从其他设备接收的显示对象。
在另一些实施例中,所述第一对象和第二对象还可为实时采集并显示在显示器上的图形对象。
故在本实施例中,根据对象的类型不同,所述第一触发条件包括显示状态触发条件和/或采集状态触发条件。
一个触发事件对应的触发条件可包括一个或多个;在一些实施例中,所述触发事件对应的第一触发条件可包括:显示状态触发条件和/或采集状态触发条件。当一个触发事件所对应的触发条件为多个时,这些触发条件之间需要满足一定的逻辑关系,该逻辑关系可包括:逻辑“或”和/或逻辑“与”。
若一个触发事件对应的触发条件为逻辑“与”,则该触发事件的执行需要该触发事件对应的多个触发条件都满足,若一个触发事件对应的触发条件为逻辑“或”,则该触发事件执行前需要满足的触发条件可为逻辑“或”连接起来的一个触发条件即可。
总之,在本实施例中,所述第一触发条件至少分为两大类,显示状态触发条件及采集状态触发条件。本实施例所述第二对象的显示调整,可以基于显示状态触发条件和/或采集状态触发条件中的任意一个;如此,相当于显示状态和/或采集状态都可以调整显示设备对 第二显示的显示。
在一些实施例中,所述步骤S120可包括:若检测到的所述第一显示状态信息指示所述第一对象出现在显示界面,确定满足所述显示状态触发条件(对应于第一触发条件),或者,若检测到的所述采集状态信息指示所述第一对象从采集区域消失,确定满足采集状态触发条件(对应于第一触发条件)。
所述第一显示状态信息可为第一对象的显示状态的描述信息,例如,所述第一显示状态信息可包括以下至少之一:
指示所述第一对象的开始显示的起始状态信息;
指示所述第一对象显示结束的结束状态信息;
指示所述第一对象当前显示进度的显示进度状态信息,例如,该显示进度状态信息可以用于指示显示到视频或动画的第M帧、已显示时长、待显示的时长。再例如,所述显示进度状态信息还可以用于指示显示到贴图序列中的第S张贴图。
总之,所述第一显示状态信息可为指示所述第一对象的显示状态的各种信息,不局限于上述举例。
在一些实施例中,所述步骤S120可包括:若第一对象出现在显示界面上,则认为满足显示状态触发条件,即第一对象的出现会改变第二对象的显示。例如,所述第一对象和第二对象都可以为以视频或动画形式形成的特效。执行本实施例提供的显示方法,则在一个特效出现时,会改变另一个特效的显示。
在一些实施例中,第一对象可为第二对象以外的任意一个对象(即第一对象相对于第二对象而言是一个随机对象),即在第二对象显示的过程中,有其他对象插入显示,则第二特征会改变其显示,这种改变包括但不限于:停止显示、暂停显示、加速显示、减速显示或改变显示退出方式等。
在还有一些实施例中,第一对象可为具有某种特性的对象,而非随机的对象,例如,第一对象可为部分干扰第二对象显示的对象,和/或,预先与第二对象建立有绑定关系的对象,但是这种绑定关系的满足仅局限于第一触发条件被满足。
所述触发事件可用于触发显示设备执行特定动作或特定操作。在本实施例中,所述触发事件为控制第二对象显示的触发事件,或,所述触发事件为触发显示设备执行与第二对象的显示相关的事件。
在本实施例中,第一对象的出现或消失会作为第二对象的显示改变的触发事件。
在一些实施例中,显示设备是按照第一控制逻辑控制所述第二对象的显示;若检测到满足所述第一触发条件的触发事件之后,显示设备将按照第二控制逻辑控制所述第二对象的显示。所述第一控制逻辑和第二控制逻辑不同。所述第一控制逻辑为预先定义的控制逻辑,第二控制逻辑是第二对象内在的显示控制逻辑。所述第二控制逻辑至少包括所述触发事件所对应的操作或动作所对应的第二对象的控制逻辑。
在本实施例中,步骤S130可包括:从第一控制逻辑切换到第二控制逻辑控制所述第二对象的显示;从而实现了改变第二对象的显示。
所述步骤S130中改变第二对象的显示可包括以下至少之一:
根据所述触发事件,提前结束所述第二对象的显示;
根据所述触发事件,缩短所述第二对象的显示时长;
根据所述触发事件,延长所述第二对象的显示时长;
根据所述触发事件,调整所述第二对象的显示参数,
根据所述触发事件,调整所述第二对象的显示内容;
根据所述触发事件,调整所述第二对象的消失方式。
在一些实施例中,所述步骤S130可包括:根据所述显示状态触发条件(即第一触发条件)所对应的触发事件,控制当前显示的所述第二对象在所述显示界面上的停止显示。
故在满足显示状态触发条件时,第二对象会被控制停止显示。如此,第一显示对象的切入显示,会自动停止第二对象的显示。此时,在停止第二对象的显示时,所述第二对象可能按照预先的第一控制逻辑可能未完成显示,或者,未达到显示次数未达到预定次数。
若第一对象的出现(即开始显示)自动结束第二对象的显示,实现了基于两个独立图形对象的出现或消失之间的关联控制;丰富了图形界面的显示控制方式,提升了图形对象的控制方式。
在一些实施例中,所述步骤S130可包括:在满足所述第一触发条件时,控制所述第二对象当前显示的第n个子对象切换到显示所述第二对象的第n+1个子对象。此处的n为小于N的正整数;N为第二对象包括的子对象总个数。
所述第二对象可包括多个子对象,若满足第一触发条件,会使得第二对象在不同子对象之间进行切换,例如,从当前显示的子对象切换到下一个子对象。
在一些实施例中,若当前显示第N个子对象,则可以控制切换到第二对象的第1子对象,实现循环切换。
在一些实施例中,所述若所述状态信息指示所述第一对象出现或消失,根据所述状态信息确定是否满足第一触发条件,包括:
若检测到的所述采集状态信息指示所述第一对象从采集区域消失,确定满足采集状态触发条件。
所述第一对象可从采集区域消失,则图像采集模组无法从采集区域采集到第一对象,从而使得第一对象从显示界面上消失。
在本实施例中第一对象从采集区域消失,也会被认定为满足第一触发条件的一种状态信息。如此,第一对象从采集区域消失了,反而触发了第二对象的开始显示,而非是在采集区域增加一个对象触发第二对象的开始显示的逆过程。故所述步骤S130可包括:根据所述采集状态触发条件(即第一触发条件)所对应的触发事件,控制所述第二对象在显示界面开始显示。下面结合附图来描述图3中的方法对应的显示界面的举例。
图4所示中第一对象包括手成爪子形状的成像;第二对象为吸取目标物特效(例如,豆粒等颗粒物);在图4的右图中手掌张开的成像出现,吸取目标物特效消失;而在图4的左图中手成爪子形状的成像出现,吸取目标物特效呈现。如此,手成爪子形状的成像是否出现,就实现了控制吸取目标物特效是否出现的控制事件。
图5为基于本实施例提供的显示方法控制显示界面变化的一种示意图。在图4中第一对象为采集用户的手掌张开手势的成像;第二对象为洒出目标物特效(例如,豆粒等颗粒物)特效。如图5所示,若显示界面上出现了手掌张开手势的成像,则洒出目标物特效的 显示;若显示界面上手掌张开手势的成像消失了,则洒出目标物特效也消失。
在一些实施例中,检测第一对象的状态信息可以是:检测显示界面的当前显示的所述第一对象的第二显示状态信息。下面介绍本申请实施例提供的一种相比于图1中的显示方法更细化的显示方法。
如图6所示,本实施例提供另一种显示方法,包括:
步骤S201:检测显示界面的当前显示的第一对象的第二显示状态信息(对应于步骤101)。
步骤S202:若所述第二显示状态信息指示满足第一触发条件,根据所述第一触发条件所对应的触发事件控制第二对象的显示,其中,所述第二对象不同于第一对象且所述第二对象独立于所述第一对象(对应于步骤102)。
在一些实施例中,所述第一对象的显示状态会被检测,指示第一对象的显示状态的信息可为第二显示状态信息。第二显示状态信息满足第一触发条件,会触发第二对象的显示。
在本实施例中,所述第一对象和第二对象的不同可以体现在:所述第一对象和第二对象可为相同类型的不同对象。
在一些实施例中,图6中的显示方法中的步骤可以应用到图1中的显示方法。也就是说,图1中的显示方法还包括如下步骤S201和步骤S202。
在本实施例中,所述第一对象和第二对象可均为特效,如此,可以在一个特效播放完之后,自动播放与之前播放完毕的特效独立的另一个特效。例如,在一个特效的播放过程中,自动插播或同步播放另一个特效。
具体地如,所述步骤S202可包括以下至少之一:
若所述第二显示状态信息满足同步显示触发条件(对应于第一触发条件),则根据同步显示触发事件控制所述第一对象和所述第二对象同步显示;
若所述第二显示状态信息满足关联显示触发条件(对应于第一触发条件),则根据关联显示触发条件,在所述第一对象显示到预定状态时启动所述第二对象的显示。
在本实施例中,在本实施例中所述第二显示状态信息可以满足的第一触发条件至少包括:同步显示触发条件和关联显示触发条件。
若第二显示状态信息满足同步显示触发条件,则启动第一对象显示的同时会启动第二对象的显示。第一对象和第二对象可并列显示在图形界面上。
在一些实施例中,所述同步显示可包括:在第一区域显示第一对象,在第二区域同步显示第二对象。第一区域不同于第二区域;所述第一区域和第二区域可横向并列设置,也可以纵向比例设置;在一些实施例中,所述第一区域和第二区域还可以对角设置。在一些实施例中,所述第一区域和第二区块可有部分重叠,或者,完全重叠。在完成重叠时,所述第一区域可为第二区域的子区域,或者,第二区域为第一区域的子区域。
例如,第一对象可为圣诞老人图形和/或视频,第二对象可为下雪的视频,在显示界面的中间区域显示圣诞老人图像和/或视频,同时在整个显示界面显示下雪的视频。
在一些实施例中,所述关联触发事件主要触发关联控制第一对象和第二对象的显示,故在本实施例中,若第一对象显示到预定状态,例如,显示时长达到预定时长,再例如,显示的进度达到50%,或者显示到特定帧,启动第二对象的显示。在本实施例中,第一对 象和第二对象的显示可以是在同一个区域,也可以是在不同的区域。
在一些实施例中,检测第一对象的状态信息可以是:检测显示设备的设备状态信息;所述显示设备为所述第一对象。下面介绍本申请实施例提供的另一种相比于图1中的显示方法更细化的显示方法。
如图7所示,本实施例提供了又一种显示方法,包括:
步骤S301、检测显示设备的设备状态信息(对应于步骤101)。
步骤S302、若所述设备状态信息指示满足所述第一触发条件的满足条件,在满足所述第一触发条件时根据所述第一触发条件对应的触发事件改变第二对象的显示(对应于步骤102)。
本实施例中提供的显示方法中的步骤可以应用到图1中的显示方法,也可以应用到图3中的显示方法;也可以应用到图6中的显示方法。也就是说,图1、图3以及图6中的显示方法还包括如下步骤:检测显示设备的设备状态信息;若所述设备状态信息指示满足所述第一触发条件的满足条件,在满足所述第一触发条件时根据所述第一触发条件对应的触发事件改变第二对象的显示。
在本实施例中,显示设备还会检测设备状态信息,结合设备状态来确定第一触发条件是否满足,仅有第一触发条件被满足时,被满足的第一触发条件所对应的触发事件才会被执行。
在一些实施例中,所述设备状态信息包括以下至少之一:
指示所述显示设备当前显示状态的设备显示状态信息;
指示所述显示设备当前所在环境的环境状态信息;
指示所述显示设备的当前资源状态的资源状态信息。
所述设备显示状态信息可包括以下至少之一:
指示显示设备当前显示内容的内容指示信息;
指示显示设备的当前显示模式的模式指示信息。
例如,第一触发条件的满足条件为:在显示特定内容时,该第一触发条件才满足;再例如,第一触发条件的满足条件为:在显示设备的特定显示模式下,对应的第一触发条件才满足。
所述特定内容可包括:特定类型的内容和/或,特定的某个显示内容。例如,若特定类型为特效或者贴纸,则显示设备当前显示有特效或贴纸,则认为显示设备满足第一触发条件。若显示设备可能会显示内容A、内容B及内容C,若第一触发条件的满足条件为:显示设备在显示内容B时认定满足第一触发条件。故若当前时刻显示设备显示内容B,则第一触发条件满足,则第一触发条件被满足之后,该满足且被满足的第一触发条件所对应的触发事件将会被执行,从而第二对象的显示会被控制和/或调节。
在一些实施例中,若所述第一对象为第一动画效果,则所述第二对象为第二动画效果;或,若所述第一对象为第一图形,则所述第二对象为第二图形。
所述显示设备的显示模式至少可包括:全屏显示模式和小屏显示模式,若全屏显示模式,则显示设备的整个屏幕都显示包含第一对象至第二对象的任意一个的显示界面,若小屏显示模式则显示界面的显示面积小于显示屏或小于显示屏的预定比例。该预定比例可为 0.98、0.95或者0.9等比值。
所述环境状态信息包括但不限于以下至少之一:
所述显示设备所在环境的天气信息;该天气信息可以指示:当前是晴天、雨天、雪天或雾霾天;
所述显示设备所在环境的温度信息,用于指示所在环境的温度;
所述显示设备所在环境的湿度信息,用于指示所在环境的湿度;
所述显示设备所在环境的典型地理特征信息,用于指示所在环境的典型地貌或人为特征。例如,若该显示设备为移动设备,当前所在位置三亚,则典型地理特征为海边。
在本实施例中,根据所述显示设备所在的环境状态信息来确定某些触发事件是否满足。
示例性的,若第一触发条件被满足,则被满足的第一触发条件所对应的触发事件是触发显示一个下雪的动画,而天气很寒冷时候,再显示下雪的动画对于用户而言可能会加剧寒冷感,故在此时可以设置第一触发条件的满足条件不能被满足,使得第一触发条件不能被满足。即便检测到导致第一触发条件被满足的操作或者内置通知都无法使得对应的触发事件被执行。
总之,在本实施例中可以各种设备状态信息的匹配标准,然后将检测到设备状态信息与匹配标准进行匹配,若匹配一致可认为满足第一触发条件,否则可认为未满足第一触发条件。
所述资源状态信息可包括:
指示计算资源使用状态的计算资源使用率;
指示存储资源的使用状态的存储资源使用率;
指示显示资源的使用状态的显示资源使用率;
指示带宽资源的使用状态的带宽资源使用率。
在本实施例中,若根据所述资源状态信息确定出满足预定的资源使用条件,则确定为满足第一触发条件,否则可认为不满足第一触发条件。
图8为基于本公开实施例提供的一种显示方法控制第二对象显示的效果示意图。在图8中展示有人头部成像;在图8中还显示有黏贴在图像中人脸成像区域的贴图。在图8中第一对象可为用户点头的成像;第二对象为人脸成像区域的贴图。若通过图像采集使得显示界面上出现了用户点头的成像可认为满足了第一触发条件,然后根据该第一触发条件所对应的触发事件,执行第二对象的控制。在图8中第二对象为人脸成像区域的贴纸的切换。在检测点头的成像之后,切换人脸呈现区域的贴纸,例如,由图8中眼部成像区域的贴纸切换为脸颊区域的贴纸。
在一些实施例中,显示设备可能显示多种贴图,在执行触发事件时需要确定显示设备当前显示的设备状态信息,若设备当前显示的是第N张贴图,则可认定显示第N+1张贴图的触发事件所对应的第一触发条件满足,否则显示第N+1张贴图的触发事件所对应的第一触发条件不满足。
如图9所示,本实施例提供一种显示装置,包括:
检测模块110,用于检测第一对象的状态信息;
第一确定模块120,用于确定所述状态信息满足第一触发条件的情况;
改变模块130,用于在所述第一确定单元确定所述状态信息满足第一触发条件的情况下,根据所述第一触发条件对应的触发事件改变第二对象的显示,其中,所述第二对象独立于所述第一对象。
在一些实施例中,所述检测模块110、第一确定模块120及改变模块130可为程序模块,该程序模块被处理器执行后,能够实现状态信息的检测、第一触发条件的满足的确定及第二对象的显示改变。
在还有一些实施例中,所述检测模块110、第一确定模块120及改变模块130可为软硬结合模块,所述软硬结合模块可为可编程阵列;所述可编程阵列可为复杂可编程阵列或者现场可编程阵列。
在还有一些实施例中,所述检测模块110、第一确定模块120及改变模块130可为纯硬件模块,该纯硬件模块可为专用集成电路。
在一些实施例中,所述状态信息包括:用于指示显示界面的当前显示状态的第一显示状态信息,和/或,用于指示图像采集模组的当前采集状态的采集状态信息;
所述第一触发条件包括:与所述第一显示状态信息对应的显示状态触发条件;和/或,与所述采集状态信息对应的采集状态触发条件。
在一些实施例中,所述第一确定模块120,具体用于若检测到的所述第一显示状态信息指示所述第一对象出现在显示界面,确定满足所述第一触发条件。
在一些实施例中,所述改变模块130,用于根据所述显示状态触发条件所对应的触发事件,控制当前显示的所述第二对象在所述显示界面上的停止显示。
在一些实施例中,所述第一确定模块120,具体用于若检测到的所述采集状态信息指示所述第一对象从采集区域消失,确定满足所述第一触发条件。
在一些实施例中,所述第一确定模块120,具体用于根据所述采集状态触发条件所对应的触发事件,控制所述第二对象在显示界面开始显示。
在一些实施例中,所述第一确定模块,具体用于若所述状态信息指示所述第一对象呈现预定动作,确定满足所述第一触发条件。
在一些实施例中,所述改变模块,具体用于在满足所述第一触发条件时,控制所述第二对象当前显示的第n个子对象切换到显示所述第二对象的第n+1个子对象。
在一些实施例中,所述检测模块110,具体用于检测显示界面的当前显示的第一对象的第二显示状态信息;
所述改变模块,具体用于在所述第二显示状态信息指示满足所述第一触发条件的情况下,根据所述第一触发条件对应的触发事件改变所述第二对象的显示。
在一些实施例中,所述改变模块,具体用于在所述第二显示状态信息满足同步显示触发条件的情况下,则根据同步显示触发事件控制所述第一对象和所述第二对象同步显示;
或者,
所述改变模块,具体用于在所述第二显示状态信息满足关联显示触发条件的情况下,则根据关联显示触发条件,在所述第一对象显示到预定状态时启动所述第二对象的显示。
在一些实施例中,所述检测模块,具体用于检测显示设备的设备状态信息;所述显示设备为所述第一对象;
所述第一确定模块,具体用于确定所述设备状态信息满足所述第一触发条件。
在一些实施例中,所述设备状态信息包括以下至少之一:
指示所述显示设备当前显示状态的设备显示状态信息;
指示所述显示设备当前所在环境的环境状态信息;
指示所述显示设备的当前资源状态的资源状态信息。
在一些实施例中,所述改变模块,具体用于在所述状态信息满足所述第一触发条件的情况下,根据所述第一触发条件对应的触发事件暂停所述第二对象的显示;
所述改变模块,还用于在重新检测的第一对象的状态信息不满足所述第一触发条件,对暂停的所述第二对象的继续显示。
在一些实施例中,所述改变模块,具体用于根据所述触发事件,提前结束所述第二对象的显示;
或者,所述改变模块,具体用于根据所述触发事件,缩短所述第二对象的显示时长;
或者,所述改变模块,具体用于根据所述触发事件,延长所述第二对象的显示时长;
或者,所述改变模块,具体用于根据所述触发事件,调整所述第二对象的显示参数;
或者,所述改变模块,具体用于根据所述触发事件,调整所述第二对象的显示内容;
或者,所述改变模块,具体用于根据所述触发事件,调整所述第二对象的消失方式;
或者,所述改变模块,具体用于根据触发事件,暂停所述第二对象的显示。
在一些实施例中,所述控制模块,具体用于执行以下至少之一:
若所述第二显示状态信息满足同步显示触发条件,则根据同步显示触发事件控制所述第一对象和所述第二对象同步显示;
若所述第二显示状态信息满足关联显示触发条件,则根据关联显示触发条件,在所述第一对象显示到预定状态时启动所述第二对象的显示。
在一些实施例中,所述装置还包括:
检测模块110,用于检测显示设备的设备状态信息;
所述改变模块130,具体用于若所述设备状态信息指示满足所述第一触发条件的满足条件,在满足所述第一触发条件时根据所述第一触发条件对应的触发事件改变第二对象的显示。
在一些实施例中,所述改变模块,具体用于在满足所述第一触发条件时,根据所述第一触发条件对应的触发事件暂停所述第二对象的显示;
所述改变模块,还用于在重现检测的第一对象的状态信息不满足所述第一触发条件,对暂停的所述第二对象的继续显示。
如图10所示,本申请实施例提供了一种显示设备,包括:
显示器,用于显示;
存储器,用于存储信息;
处理器,分别与显示器及所述存储器连接,用于通过执行存储在所述存储器上的计算机可执行指令,能够实现前述一个或多个技术方案提供的显示方法,例如,如图1、图3、图6以及图7所示的显示方法。
该存储器可为各种类型的存储器,可为随机存储器、只读存储器、闪存等。所述存储 器可用于信息存储,例如,存储计算机可执行指令等。所述计算机可执行指令可为各种程序指令,例如,目标程序指令和/或源程序指令等。
所述处理器可为各种类型的处理器,例如,中央处理器、微处理器、数字信号处理器、可编程阵列、数字信号处理器、专用集成电路或图像处理器等。
所述处理器可以通过总线与所述存储器连接。所述总线可为集成电路总线等。
在一些实施例中,所述终端设备还可包括:通信接口,该通信接口可包括:网络接口、例如,局域网接口、收发天线等。所述通信接口同样与所述处理器连接,能够用于信息收发。在一些实施例中,所述终端设备还包括人机交互接口,例如,所述人机交互接口可包括各种输入输出设备,例如,键盘、触摸屏等。
本申请实施例提供了一种计算机存储介质,所述计算机存储介质存储有计算机可执行代码;所述计算机可执行代码被执行后,能够实现前述一个或多个技术方案提供的显示方法,如图1、图3、图6以及图7所示的显示方法。
所述存储介质包括:移动存储设备、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。所述存储介质可为非瞬间存储介质。
本申请实施例提供一种计算机程序产品,所述程序产品包括计算机可执行指令;所述计算机可执行指令被执行后,能够实现前述任意实施提供的显示方法,如图1、图3、图6以及图7所示的显示方法。
在本申请所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。以上所描述的设备实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个单元或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的耦合、或直接耦合、或通信连接可以是通过一些接口,设备或单元的间接耦合或通信连接,可以是电性的、机械的或其它形式的。
上述作为分离部件说明的单元可以是、或也可以不是物理上分开的,作为单元显示的部件可以是、或也可以不是物理单元,即可以位于一个地方,也可以分布到多个网络单元上;可以根据实际的需要选择其中的部分或全部单元来实现本实施例方案的目的。
另外,在本公开各实施例中的各功能单元可以全部集成在一个处理模块中,也可以是各单元分别单独作为一个单元,也可以两个或两个以上单元集成在一个单元中;上述集成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本公开的具体实施方式,但本公开的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本公开揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本公开的保护范围之内。因此,本公开的保护范围应以所述权利要求的保护范围为准。

Claims (26)

  1. 一种显示方法,其特征在于,包括:
    检测第一对象的状态信息;
    在所述状态信息满足第一触发条件的情况下,根据所述第一触发条件对应的触发事件改变第二对象的显示,其中,所述第二对象独立于所述第一对象。
  2. 根据权利要求1所述的方法,其特征在于,
    所述状态信息包括:用于指示显示界面的当前显示状态的第一显示状态信息,和/或,用于指示图像采集模组的当前采集状态的采集状态信息;
    所述第一触发条件包括:与所述第一显示状态信息对应的显示状态触发条件;和/或,与所述采集状态信息对应的采集状态触发条件。
  3. 根据权利要求2所述的方法,其特征在于,所述状态信息满足第一触发条件的情况,包括:
    若检测到的所述第一显示状态信息指示所述第一对象出现在显示界面,确定满足所述第一触发条件。
  4. 根据权利要求2所述的方法,其特征在于,所述状态信息满足第一触发条件的情况,包括:
    若检测到的所述采集状态信息指示所述第一对象从采集区域消失,确定满足所述第一触发条件。
  5. 根据权利要求1所述的方法,其特征在于,所述状态信息满足第一触发条件的情况,包括:
    若所述状态信息指示所述第一对象呈现预定动作,确定满足所述第一触发条件。
  6. 根据权利要求1所述的方法,其特征在于,所述检测第一对象的状态信息,包括:
    检测显示界面的当前显示的所述第一对象的第二显示状态信息;
    所述在所述状态信息满足第一触发条件的情况下,根据所述第一触发条件对应的触发事件改变第二对象的显示,包括:
    在所述第二显示状态信息指示满足所述第一触发条件的情况下,根据所述第一触发条件对应的触发事件改变所述第二对象的显示。
  7. 根据权利要求6所述的方法,其特征在于,所述在所述第二显示状态信息指示满足所述第一触发条件的情况下,根据所述第一触发条件对应的触发事件改变所述第二对象的显示包括以下至少之一:
    在所述第二显示状态信息满足同步显示触发条件的情况下,则根据同步显示触发事件控制所述第一对象和所述第二对象同步显示;
    在所述第二显示状态信息满足关联显示触发条件的情况下,则根据关联显示触发条件,在所述第一对象显示到预定状态时启动所述第二对象的显示。
  8. 根据权利要求1所述的方法,其特征在于,所述检测第一对象的状态信息包括:
    检测显示设备的设备状态信息;所述显示设备为所述第一对象;
    所述状态信息满足第一触发条件的情况包括:
    所述设备状态信息满足所述第一触发条件。
  9. 根据权利要求8所述的方法,其特征在于,所述设备状态信息包括以下至少之一:
    指示所述显示设备当前显示状态的设备显示状态信息;
    指示所述显示设备当前所在环境的环境状态信息;
    指示所述显示设备的当前资源状态的资源状态信息。
  10. 根据权利要求1至9任一项所述的方法,其特征在于,所述在所述状态信息满足第一触发条件的情况下,根据所述第一触发条件对应的触发事件改变第二对象的显示,包括:
    在所述状态信息满足所述第一触发条件的情况下,根据所述第一触发条件对应的触发事件暂停所述第二对象的显示;
    所述方法还包括:
    在重新检测的所述第一对象的状态信息不满足所述第一触发条件的情况下,对暂停的所述第二对象的继续显示。
  11. 根据权利要求1至9任一项所述的方法,其特征在于,所述根据所述第一触发条件对应的触发事件改变第二对象的显示,包括:
    根据所述触发事件,提前结束所述第二对象的显示;
    或者,根据所述触发事件,缩短所述第二对象的显示时长;
    或者,根据所述触发事件,延长所述第二对象的显示时长;
    或者,根据所述触发事件,调整所述第二对象的显示参数;
    或者,根据所述触发事件,调整所述第二对象的显示内容;
    或者,根据所述触发事件,调整所述第二对象的消失方式;
    或者,根据触发事件,暂停所述第二对象的显示。
  12. 根据权利要求1至9任一项所述的方法,其特征在于,所述根据所述第一触发条件对应的触发事件改变第二对象的显示,包括:
    控制所述第二对象当前显示的第n个子对象切换到显示所述第二对象的第n+1个子对象。
  13. 一种显示装置,其特征在于,包括:
    检测模块,用于检测第一对象的状态信息;
    第一确定模块,用于确定所述状态信息满足第一触发条件的情况;
    改变模块,用于在所述第一确定单元确定所述状态信息满足第一触发条件的情况下,根据所述第一触发条件对应的触发事件改变第二对象的显示,其中,所述第二对象独立于所述第一对象。
  14. 根据权利要求13所述的装置,其特征在于,
    所述状态信息包括:用于指示显示界面的当前显示状态的第一显示状态信息,和/或,用于指示图像采集模组的当前采集状态的采集状态信息;
    所述第一触发条件包括:与所述第一显示状态信息对应的显示状态触发条件;和/或,与所述采集状态信息对应的采集状态触发条件。
  15. 根据权利要求14所述的装置,其特征在于,
    所述第一确定模块,具体用于若检测到的所述第一显示状态信息指示所述第一对象出 现在显示界面,确定满足所述第一触发条件。
  16. 根据权利要求14所述的装置,其特征在于,
    所述第一确定模块,具体用于若检测到的所述采集状态信息指示所述第一对象从采集区域消失,确定满足所述第一触发条件。
  17. 根据权利要求13所述的装置,其特征在于,所述第一确定模块,具体用于若所述状态信息指示所述第一对象呈现预定动作,确定满足所述第一触发条件。
  18. 根据权利要求13所述的装置,其特征在于,
    所述检测模块,具体用于检测显示界面的当前显示的所述第一对象的第二显示状态信息;
    所述改变模块,具体用于在所述第二显示状态信息指示满足所述第一触发条件的情况下,根据所述第一触发条件对应的触发事件改变所述第二对象的显示。
  19. 根据权利要求18所述的装置,其特征在于,
    所述改变模块,具体用于在所述第二显示状态信息满足同步显示触发条件的情况下,则根据同步显示触发事件控制所述第一对象和所述第二对象同步显示;
    或者,
    所述改变模块,具体用于在所述第二显示状态信息满足关联显示触发条件的情况下,则根据关联显示触发条件,在所述第一对象显示到预定状态时启动所述第二对象的显示。
  20. 根据权利要求13所述的装置,其特征在于,
    所述检测模块,具体用于检测显示设备的设备状态信息;所述显示设备为所述第一对象;
    所述第一确定模块,具体用于确定所述设备状态信息满足所述第一触发条件。
  21. 根据权利要求20所述的装置,其特征在于,所述设备状态信息包括以下至少之一:
    指示所述显示设备当前显示状态的设备显示状态信息;
    指示所述显示设备当前所在环境的环境状态信息;
    指示所述显示设备的当前资源状态的资源状态信息。
  22. 根据权利要求13至21任一项所述的装置,其特征在于,
    所述改变模块,具体用于在所述状态信息满足所述第一触发条件的情况下,根据所述第一触发条件对应的触发事件暂停所述第二对象的显示;
    所述改变模块,还用于在重新检测的第一对象的状态信息不满足所述触发条件,对暂停的所述第二对象的继续显示。
  23. 根据权利要求13至21任一项所述的装置,其特征在于,
    所述改变模块,具体用于根据所述触发事件,提前结束所述第二对象的显示;
    或者,所述改变模块,具体用于根据所述触发事件,缩短所述第二对象的显示时长;
    或者,所述改变模块,具体用于根据所述触发事件,延长所述第二对象的显示时长;
    或者,所述改变模块,具体用于根据所述触发事件,调整所述第二对象的显示参数;
    或者,所述改变模块,具体用于根据所述触发事件,调整所述第二对象的显示内容;
    或者,所述改变模块,具体用于根据所述触发事件,调整所述第二对象的消失方式;
    或者,所述改变模块,具体用于根据触发事件,暂停所述第二对象的显示。
  24. 根据权利要求13至21任一项所述的装置,其特征在于,
    所述改变模块,具体用于在满足所述触发条件时,控制所述第二对象当前显示的第n个子对象切换到显示所述第二对象的第n+1个子对象。
  25. 一种显示设备,其特征在于,包括:
    显示器;
    存储器;
    处理器,分别与所述显示器及所述存储器连接,用于通过执行位于存储器上的计算机可执行指令,控制所述显示器及存储器的工作,并能够实现权利要求1至12任一项提供的方法。
  26. 一种计算机存储介质,所述计算机存储介质存储有计算机可执行指令;所述计算机可执行指令被执行后,能够实现权利要求1至12任一项提供的方法。
PCT/CN2019/127975 2019-02-27 2019-12-24 显示方法及装置、电子设备及存储介质 WO2020173199A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
SG11202006337SA SG11202006337SA (en) 2019-02-27 2019-12-24 Display method and apparatus, electronic device, and storage medium
KR1020207018870A KR20200105832A (ko) 2019-02-27 2019-12-24 디스플레이 방법 및 장치, 전자 기기 및 저장 매체
JP2020535496A JP2021517285A (ja) 2019-02-27 2019-12-24 表示方法及び装置、電子機器並びに記憶媒体
CN201980004839.3A CN111328389A (zh) 2019-02-27 2019-12-24 显示方法及装置、电子设备及存储介质
US16/914,669 US11687209B2 (en) 2019-02-27 2020-06-29 Display method and apparatus for displaying display effects

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910146580.8A CN109885231B (zh) 2019-02-27 2019-02-27 显示方法及装置、电子设备及存储介质
CN201910146580.8 2019-02-27

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US16/914,669 Continuation US11687209B2 (en) 2019-02-27 2020-06-29 Display method and apparatus for displaying display effects

Publications (1)

Publication Number Publication Date
WO2020173199A1 true WO2020173199A1 (zh) 2020-09-03

Family

ID=66929673

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/127975 WO2020173199A1 (zh) 2019-02-27 2019-12-24 显示方法及装置、电子设备及存储介质

Country Status (7)

Country Link
US (1) US11687209B2 (zh)
JP (1) JP2021517285A (zh)
KR (1) KR20200105832A (zh)
CN (1) CN109885231B (zh)
SG (1) SG11202006337SA (zh)
TW (1) TW202102991A (zh)
WO (1) WO2020173199A1 (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113626127A (zh) * 2021-08-20 2021-11-09 广州酷狗计算机科技有限公司 内容项展示方法、装置、终端及存储介质
CN114257834A (zh) * 2021-12-30 2022-03-29 广州方硅信息技术有限公司 直播间虚拟礼物交互方法及其装置、设备、介质
CN115150653A (zh) * 2022-06-25 2022-10-04 北京字跳网络技术有限公司 媒体内容的展示方法、装置、电子设备和存储介质

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109885231B (zh) * 2019-02-27 2021-07-02 北京市商汤科技开发有限公司 显示方法及装置、电子设备及存储介质
CN114827434A (zh) 2021-01-28 2022-07-29 索尼半导体解决方案公司 信息处理方法、信息处理装置和非易失性存储介质
CN114820835A (zh) 2021-01-28 2022-07-29 索尼半导体解决方案公司 信息处理方法、信息处理装置和非易失性存储介质
CN115098000B (zh) * 2022-02-22 2023-10-10 北京字跳网络技术有限公司 图像处理方法、装置、电子设备及存储介质

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107911614A (zh) * 2017-12-25 2018-04-13 腾讯数码(天津)有限公司 一种基于手势的图像拍摄方法、装置和存储介质
WO2018072652A1 (zh) * 2016-10-17 2018-04-26 腾讯科技(深圳)有限公司 视频处理方法、视频处理装置及存储介质
CN109195001A (zh) * 2018-07-02 2019-01-11 广州虎牙信息科技有限公司 直播礼物的展示方法、装置、存储介质和终端
CN109275016A (zh) * 2018-09-30 2019-01-25 联想(北京)有限公司 显示控制方法和显示控制设备
CN109885231A (zh) * 2019-02-27 2019-06-14 北京市商汤科技开发有限公司 显示方法及装置、电子设备及存储介质

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000322231A (ja) * 1999-05-11 2000-11-24 Kojima Press Co Ltd 画像表示装置及び画像表示方法
KR101588733B1 (ko) * 2009-07-21 2016-01-26 엘지전자 주식회사 이동 단말기
JP5413673B2 (ja) * 2010-03-08 2014-02-12 ソニー株式会社 情報処理装置および方法、並びにプログラム
CN102436668A (zh) * 2011-09-05 2012-05-02 上海大学 京剧脸谱自动化妆方法
JP5942456B2 (ja) 2012-02-10 2016-06-29 ソニー株式会社 画像処理装置、画像処理方法及びプログラム
JP2014085967A (ja) * 2012-10-25 2014-05-12 Nec Personal Computers Ltd 情報処理装置、情報処理方法、及びプログラム
US9288435B2 (en) * 2013-03-27 2016-03-15 Google Inc. Speaker switching delay for video conferencing
CN103500049A (zh) * 2013-09-13 2014-01-08 小米科技有限责任公司 桌面显示方法、装置及终端
US10916044B2 (en) 2015-07-21 2021-02-09 Sony Corporation Information processing apparatus, information processing method, and program
US10025972B2 (en) * 2015-11-16 2018-07-17 Facebook, Inc. Systems and methods for dynamically generating emojis based on image analysis of facial features
KR20170084443A (ko) 2016-01-12 2017-07-20 엘지전자 주식회사 헤드 마운트 디스플레이 장치 제어방법
JP2017130201A (ja) * 2016-01-20 2017-07-27 株式会社半導体エネルギー研究所 入力システム、および電子機器
CN107291427B (zh) 2016-03-30 2020-10-27 博雅网络游戏开发(深圳)有限公司 游戏引擎的优化方法、装置和系统
CN105975935B (zh) * 2016-05-04 2019-06-25 腾讯科技(深圳)有限公司 一种人脸图像处理方法和装置
JP6789170B2 (ja) * 2017-04-21 2020-11-25 株式会社ミクシィ ディスプレイ装置、認証方法、及び認証プログラム
US10210648B2 (en) * 2017-05-16 2019-02-19 Apple Inc. Emojicon puppeting
CN107464291B (zh) * 2017-08-22 2020-12-29 广州魔发科技有限公司 一种脸部图像的处理方法及装置
CN108540863B (zh) * 2018-03-29 2021-03-12 武汉斗鱼网络科技有限公司 基于人脸表情的弹幕设置方法、存储介质、设备及系统
CN108958610A (zh) * 2018-07-27 2018-12-07 北京微播视界科技有限公司 基于人脸的特效生成方法、装置和电子设备

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2018072652A1 (zh) * 2016-10-17 2018-04-26 腾讯科技(深圳)有限公司 视频处理方法、视频处理装置及存储介质
CN107911614A (zh) * 2017-12-25 2018-04-13 腾讯数码(天津)有限公司 一种基于手势的图像拍摄方法、装置和存储介质
CN109195001A (zh) * 2018-07-02 2019-01-11 广州虎牙信息科技有限公司 直播礼物的展示方法、装置、存储介质和终端
CN109275016A (zh) * 2018-09-30 2019-01-25 联想(北京)有限公司 显示控制方法和显示控制设备
CN109885231A (zh) * 2019-02-27 2019-06-14 北京市商汤科技开发有限公司 显示方法及装置、电子设备及存储介质

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113626127A (zh) * 2021-08-20 2021-11-09 广州酷狗计算机科技有限公司 内容项展示方法、装置、终端及存储介质
CN114257834A (zh) * 2021-12-30 2022-03-29 广州方硅信息技术有限公司 直播间虚拟礼物交互方法及其装置、设备、介质
CN114257834B (zh) * 2021-12-30 2023-12-08 广州方硅信息技术有限公司 直播间虚拟礼物交互方法及其装置、设备、介质
CN115150653A (zh) * 2022-06-25 2022-10-04 北京字跳网络技术有限公司 媒体内容的展示方法、装置、电子设备和存储介质
CN115150653B (zh) * 2022-06-25 2024-02-06 北京字跳网络技术有限公司 媒体内容的展示方法、装置、电子设备和存储介质

Also Published As

Publication number Publication date
CN109885231B (zh) 2021-07-02
KR20200105832A (ko) 2020-09-09
SG11202006337SA (en) 2020-10-29
JP2021517285A (ja) 2021-07-15
US11687209B2 (en) 2023-06-27
US20200326830A1 (en) 2020-10-15
CN109885231A (zh) 2019-06-14
TW202102991A (zh) 2021-01-16

Similar Documents

Publication Publication Date Title
WO2020173199A1 (zh) 显示方法及装置、电子设备及存储介质
US11587292B2 (en) Triggered virtual reality and augmented reality events in video streams
US9817235B2 (en) Method and apparatus for prompting based on smart glasses
US9094571B2 (en) Video chatting method and system
AU2017248527A1 (en) Real-time virtual reflection
CN103748893B (zh) 照亮捕捉设备的视野以捕捉经照亮的图像的方法及系统
US20220027117A1 (en) Screen projection processing method and device
WO2022068479A1 (zh) 图像处理方法、装置、电子设备及计算机可读存储介质
CN112035046B (zh) 榜单信息显示方法、装置、电子设备及存储介质
US20150117834A1 (en) Information processing method and electronic device thereof
US20220272406A1 (en) Method for displaying interactive interface, method for generating interactive interface, and electronic device thereof
WO2023104102A1 (zh) 一种直播评论展示方法、装置、设备、程序产品及介质
US20230152956A1 (en) Wallpaper display control method and apparatus and electronic device
CN110798615A (zh) 一种拍摄方法、装置、存储介质以及终端
CN104599307A (zh) 一种在移动终端上采用动画显示图片的方法
CN104202541A (zh) 一种图像合成器
CN107948711A (zh) 电视时移控制方法、系统及计算机可读存储介质
CN113485617A (zh) 动画展示方法、装置、电子设备及存储介质
CN107231537B (zh) 一种画中画切换方法和装置
CN109348241B (zh) 多人视频直播间中视频播放方法、装置和计算机设备
CN111328389A (zh) 显示方法及装置、电子设备及存储介质
WO2020248682A1 (zh) 一种显示设备及虚拟场景生成方法
CN110489040B (zh) 特征模型展示的方法及装置、终端和存储介质
CN111328391B (zh) 一种智能终端的图标显示方法及图标显示装置
JP2020053803A (ja) プログラム、情報処理装置、および方法

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2020535496

Country of ref document: JP

Kind code of ref document: A

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

Ref document number: 19917211

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

Country of ref document: EP

Kind code of ref document: A1