CN110045936A - A kind of display methods and electronic equipment of dynamic image - Google Patents

A kind of display methods and electronic equipment of dynamic image Download PDF

Info

Publication number
CN110045936A
CN110045936A CN201910134736.0A CN201910134736A CN110045936A CN 110045936 A CN110045936 A CN 110045936A CN 201910134736 A CN201910134736 A CN 201910134736A CN 110045936 A CN110045936 A CN 110045936A
Authority
CN
China
Prior art keywords
screen
electronic equipment
state change
media file
angle
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201910134736.0A
Other languages
Chinese (zh)
Inventor
张子曰
丁宁
张超
熊刘冬
余平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910134736.0A priority Critical patent/CN110045936A/en
Publication of CN110045936A publication Critical patent/CN110045936A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1652Details related to the display arrangement, including those related to the mounting of the display in the housing the display being flexible, e.g. mimicking a sheet of paper, or rollable
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1637Details related to the display arrangement, including those related to the mounting of the display in the housing
    • G06F1/1641Details related to the display arrangement, including those related to the mounting of the display in the housing the display being formed by a plurality of foldable display components
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1675Miscellaneous details related to the relative movement between the different enclosures or enclosure parts
    • G06F1/1677Miscellaneous details related to the relative movement between the different enclosures or enclosure parts for detecting open or closed state or particular intermediate positions assumed by movable parts of the enclosure, e.g. detection of display lid position with respect to main body in a laptop, detection of opening of the cover of battery compartment
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/16Constructional details or arrangements
    • G06F1/1613Constructional details or arrangements for portable computers
    • G06F1/1633Constructional details or arrangements of portable computers not specific to the type of enclosures covered by groups G06F1/1615 - G06F1/1626
    • G06F1/1684Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675
    • G06F1/1694Constructional details or arrangements related to integrated I/O peripherals not covered by groups G06F1/1635 - G06F1/1675 the I/O peripheral being a single or a set of motion sensors for pointer control or gesture input obtained by sensing movements of the portable computer
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/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
    • G06F3/1431Digital 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 using a single graphics controller
    • 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/147Digital output to display device ; Cooperation and interconnection of the display device with other functional units using display panels
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T15/003D [Three Dimensional] image rendering
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2200/00Indexing scheme relating to G06F1/04 - G06F1/32
    • G06F2200/16Indexing scheme relating to G06F1/16 - G06F1/18
    • G06F2200/161Indexing scheme relating to constructional details of the monitor
    • G06F2200/1614Image rotation following screen orientation, e.g. switching from landscape to portrait mode
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04803Split screen, i.e. subdividing the display area or the window area into separate subareas
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • 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
    • G06F3/1446Digital 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 display composed of modules, e.g. video walls
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06TIMAGE DATA PROCESSING OR GENERATION, IN GENERAL
    • G06T2215/00Indexing scheme for image rendering
    • G06T2215/16Using real world measurements to influence rendering
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2330/00Aspects of power supply; Aspects of display protection and defect management
    • G09G2330/02Details of power systems and of start or stop of display operation
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2330/00Aspects of power supply; Aspects of display protection and defect management
    • G09G2330/04Display protection
    • G09G2330/045Protection against panel overheating
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2340/00Aspects of display data processing
    • G09G2340/04Changes in size, position or resolution of an image
    • G09G2340/0407Resolution change, inclusive of the use of different resolutions for different screen areas
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G2380/00Specific applications
    • G09G2380/02Flexible displays
    • GPHYSICS
    • G09EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
    • G09GARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
    • G09G5/00Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators
    • G09G5/36Control arrangements or circuits for visual indicators common to cathode-ray tube indicators and other visual indicators characterised by the display of a graphic pattern, e.g. using an all-points-addressable [APA] memory
    • G09G5/39Control of the bit-mapped memory
    • G09G5/391Resolution modifying circuits, e.g. variable screen formats

Abstract

The embodiment of the present application discloses the display methods and electronic equipment of a kind of dynamic image, is related to electronic technology field.The display content of electronic equipment can with the variation for the angle of Folding screen being folded dynamic change, improve the Man machine interaction of electronic equipment.The specific scheme is that electronic equipment is Folding screen electronic equipment, foldable the first screen of formation of the Folding screen of the electronic equipment and the second screen, this method comprises: electronic equipment obtains the degree of the state change of Folding screen;The state change includes the angle of the first screen and the second screen from large to small or changes from small to big, and the degree of state change indicates the speed of state change and the amplitude of state change;In response to the degree of the state change of Folding screen, the first media file is played;First media file includes multiple image;Wherein, the state change of Folding screen is faster, and the frame per second that electronic equipment plays the first media file is bigger;The amplitude of the state change of Folding screen is bigger, and the content that electronic equipment plays the first media file is more.

Description

A kind of display methods and electronic equipment of dynamic image
Technical field
The invention relates to the display methods and electronics of field of electronic device more particularly to a kind of dynamic image to set It is standby.
Background technique
With the continuous development of electronic equipment, more and more electronic equipments with display screen are widely used in people's In daily life and work, such as the mobile phone with display screen.And it is not difficult to find that with Screen Technology development, electronic equipment Display screen also become increasing, to provide the user with richer information, bring the better usage experience of user.
But the display screen of electronic equipment is too big, can seriously affect its portable performance.Therefore, the folding proposed in recent years Folded screen electronic equipment (as folded screen mobile phone) is the direction of future electronic equipment development.
Preset picture can be shown in the locking screen interface of existing Folding screen.It is played alternatively, locking screen interface is recyclable Preset animation.Wherein, electronic equipment shows preset picture or the preset animation of loop play, is easy The Visual Aesthetics fatigue of user is generated, user experience is poor.
Summary of the invention
The embodiment of the present application provides a kind of method for moving image display and electronic equipment, and the display content of electronic equipment can be with The variation of the angle that Folding screen is folded and dynamic change, improve the Man machine interaction of electronic equipment.
In a first aspect, the embodiment of the present application provides a kind of display methods of dynamic image, this method can be applied to have folding The electronic equipment of folded screen.Foldable the first screen of formation of the Folding screen and the second screen, this method may include: that electronic equipment obtains folding The degree of the state change of folded screen;In response to the degree of the state change of Folding screen, electronic equipment plays the first media file;It should First media file includes multiple image.
Wherein, above-mentioned state change include: the angle of the first screen and the second screen from large to small or the first screen and the second screen Angle change from small to big, the degree of state change indicates the speed of state change and the amplitude of state change.Electronic equipment is broadcast The concrete mode for putting the first media file includes: when the state change of Folding screen is faster, and electronic equipment plays the first media text The frame per second of part is bigger;When the state change of Folding screen is slower, the frame per second that electronic equipment plays the first media file is smaller;Work as folding When the amplitude of the state change of folded screen is bigger, the content that electronic equipment plays the first media file is more;When the state of Folding screen The amplitude of variation is got over hour, and the content that electronic equipment plays the first media file is fewer.
It, can be by the aobvious of the speed of the variable angle of the first screen and the second screen and amplitude and electronic equipment in the embodiment of the present application Show content association so that the display content of electronic equipment with the variation of above-mentioned angle dynamic change, electronics can be promoted The Man machine interaction of equipment.
With reference to first aspect, in a kind of possible design method, electronic equipment can obtain the folder of the first screen and the second screen The variation of angle and the angle;According to the variation of the angle and the angle, the degree of the state change of Folding screen is obtained.Example Property, a gyro sensor is provided in the first screen and the second screen.Electronic equipment can be obtained by the gyro sensor Take the angle of the first screen and the second screen.
With reference to first aspect, in a kind of possible design method, electronic equipment can obtain the first screen relative to the second screen Rotation speed and the first screen and the second screen angle;According to rotation speed and angle, the state change of Folding screen is obtained Degree.Illustratively, an acceleration transducer is provided in the first screen and the second screen.Electronic equipment can pass through the acceleration Sensor obtains rotation speed of first screen relative to the second screen.
With reference to first aspect, in alternatively possible design method, the above method can be applied to electronic equipment and be in In the case where screen lock state.Specifically, the degree of the above-mentioned state change in response to Folding screen, electronic equipment plays the first media File, comprising: in response to the degree of the state change of Folding screen, electronic equipment plays the first media file in locking screen interface.Its In, the first media file is the background image of locking screen interface.
With reference to first aspect, in alternatively possible design method, the above method can be applied to electronic equipment and show In the case where main screen.Specifically, the degree of the state change in response to Folding screen, electronic equipment plays the first media file, It include: the degree in response to the state change of Folding screen, electronic equipment plays first media file in main screen.This first Media file is the background image of main screen.
With reference to first aspect, in alternatively possible design method, the above method can be applied to electronic equipment and show In the case where the default interface of default application.Wherein, which includes instant messaging application, and default interface includes Instant Messenger Interrogate the chat interface of application.For example, default application can apply for " wechat ", default interface can be the chat of " wechat " application Interface.In this case, in response to the degree of the state change of Folding screen, electronic equipment can play the first matchmaker at default interface Body file.Wherein, the first media file is the background image at default interface.
With reference to first aspect, in alternatively possible design method, electronic equipment may be in response to the first screen and the second screen Angle α in α1To α2The degree of variation plays the y in the first media file1Frame image is to y2Frame image.Wherein, y and α There are preset functional relations.Specifically, working as α=α1When, y=y1;As α=α2When, y=y2
With reference to first aspect, in alternatively possible design method, above-mentioned preset functional relation includes at least two Piecewise function, at least two piecewise function include the first piecewise function and the second piecewise function.Wherein, when α is in the value of α When the first subinterval variation of range, there are the corresponding functional relations of the first piecewise function by y and α.When α is in the value range of α When second subinterval changes, there are the corresponding functional relations of the second piecewise function by y and α.
With reference to first aspect, in alternatively possible design method, when the speed of the state change of Folding screen is corresponding When frame per second is greater than default maximum frame per second, electronic equipment can be played with default maximum frame per second in first in the first media file Hold.The first content is multiple image corresponding with state change in the first media file, i.e., above-mentioned y1Frame image is to y2Frame Image.
For example, first content is the first media with the corresponding frame per second of the speed of the state change of Folding screen for 300 frame per second For 1st frame image to the 30th frame image of file.Default maximum frame per second is 60 frame per second.Due to the state change of Folding screen The corresponding frame per second 1 of speed is greater than default maximum frame per second;Therefore, electronic equipment can play the above-mentioned 1st with the frame per second of 60 frame per second Frame image is to the 30th frame image.Wherein, electronic equipment can play in order above-mentioned 1st frame image to the frame per second of 60 frame per second This 30 frame image of 30 frame images.
With reference to first aspect, in alternatively possible design method, electronic equipment can be with default maximum frame per second, selection Property play first content in partial content.Wherein, above-mentioned partial content can be electronic equipment and select at random from first content It selects.For example, electronic equipment can be playd in order with the frame per second of 60 frame per second 1st frame image, the 5th frame image, the 8th frame image, 9th frame image, the 10th frame image, the 22nd frame image, the 26th frame image and the 30th frame image.Alternatively, above-mentioned partial content can be with It is that electronic equipment is selected from first content according to certain interval (such as N frame).For example, N=1 perhaps N=2 or N=3 Deng.By taking N=2 as an example, electronic equipment can with the frame per second of 60 frame per second, successively the 1st frame image, the 3rd frame image, the 5th frame image, 7th frame image ..., the 29th frame image and the 30th frame image.
It should be noted that electronic equipment selectively plays above-mentioned first content (i.e. y1Frame image is to y2Frame image) When, no matter electronic equipment selects above-mentioned partial content in which way, and the last frame image that electronic equipment plays is y2 Frame image.
With reference to first aspect, in alternatively possible design method, above-mentioned electronic equipment play the first media file it Before, the scene information of available electronic equipment.The scene information may include in temporal information, location information and Weather information At least one of.Then, electronic equipment can determine the first matchmaker corresponding with scene information from one or more media files Body file.
With reference to first aspect, in alternatively possible design method, said one or multiple media files are the second matchmaker Body file, the second media file are divided into more parts of images;Every part of image includes a frame or multiple image, one scene of every part of correspondence Information.Electronic equipment can determine that a image corresponding with scene information is the first media file from the second media file.
With reference to first aspect, in alternatively possible design method, above-mentioned first media file includes the first subfile With the second subfile.First subfile and the second subfile include a frame or multiple image, the first subfile and the second Ziwen Part is different.Wherein, (i.e. above-mentioned angle α changes from small to big, as α gradually becomes 180 ° by 0 ° for the Folding screen forward direction expansion of electronic equipment Or α gradually becomes 60 ° by 30 °) during, electronic equipment can play the first subfile.The Folding screen of electronic equipment is reversed During folding (i.e. above-mentioned angle α gradually becomes 60 ° by 120 ° from large to small, as α gradually becomes 0 ° or α by 180 °), Electronic equipment can play the second subfile.Specifically, the degree of the above-mentioned state change in response to Folding screen, electronic equipment is played First media file, comprising: in response to the degree that the angle of the first screen and the second screen changes from small to big, electronic equipment plays the first son File;In response to the degree of the angle of the first screen and the second screen from large to small, electronic equipment plays the second subfile.
In present application example, electronic equipment can play different during Folding screen forward direction is unfolded and is reverse folded File (such as the first subfile and the second subfile).In this way, electronic equipment during above-mentioned angle can be made to become larger and become smaller Shown image content is more abundant, can promote the usage experience of user.
With reference to first aspect, in alternatively possible design method, top is provided in above-mentioned first screen and the second screen Spiral shell instrument sensor.Electronic equipment can detect the direction vector of the direction of the first screen by the gyro sensor in the first screen, lead to The gyro sensor crossed in the second screen detects the direction vector of the second screen;Wherein, the direction vector of the direction of the first screen is vertical In the first screen, the direction vector of the direction of the second screen is perpendicular to the second screen;Electronic equipment calculates the direction vector and the of the first screen The angle theta of the direction vector of two screens;Electronic equipment uses formula α=180 °-θ, calculates the angle α of the first screen and the second screen.13, According to the method for requiring any one of 1-12, which is characterized in that the value range of the angle of the first screen and the second screen be [0 °, 360 °], [0 °, 180 °] or [180 °, 360 °].
Second aspect, the embodiment of the present application provides a kind of display methods of dynamic image, this method comprises: electronic equipment obtains Take the degree of the state change of electronic equipment;In response to the degree of the state change of electronic equipment, electronic equipment plays the first matchmaker Body file;First media file includes multiple image.
Wherein, above-mentioned state change includes: the first angle from large to small or changes from small to big.First angle be display screen with The angle of horizontal plane, the degree of above-mentioned state change indicate the speed of state change and the amplitude of state change.
The concrete mode that electronic equipment plays the first media file includes: the electricity when the state change of electronic equipment is faster The frame per second of sub- the first media file of device plays is bigger;When the state change of electronic equipment is slower, electronic equipment plays first The frame per second of media file is smaller;When the amplitude of the state change of electronic equipment is bigger, electronic equipment plays the first media file Content it is more;When the amplitude of the state change of electronic equipment is smaller, the content that electronic equipment plays the first media file is got over It is few.
In the embodiment of the present application, the speed of the first variable angle and amplitude and the display content association of electronic equipment can be risen Come so that the display content of electronic equipment with the variation of above-mentioned first angle dynamic change, the people of electronic equipment can be promoted Machine interactive performance.
In conjunction with second aspect, in a kind of possible design method, electronic equipment can obtain the first angle and this first The variation of angle;According to the variation of first angle and first angle, the degree of the state change of electronic equipment is obtained.Show Example property, the display screen of electronic equipment is provided with a gyro sensor.Electronic equipment can be obtained by the gyro sensor Take the first angle.
In conjunction with second aspect, in alternatively possible design method, the above method can be applied to electronic equipment and be in In the case where screen lock state.Specifically, the degree of the above-mentioned state change in response to electronic equipment, electronic equipment plays the first matchmaker Body file, comprising: in response to the degree of the state change of electronic equipment, electronic equipment plays the first media text in locking screen interface Part.Wherein, the first media file is the background image of locking screen interface.
In conjunction with second aspect, in alternatively possible design method, the above method can be applied to electronic equipment and show In the case where main screen.Specifically, the degree of the state change in response to electronic equipment, electronic equipment plays the first media text Part, comprising: in response to the degree of the state change of electronic equipment, electronic equipment plays first media file in main screen. First media file is the background image of main screen.
In conjunction with second aspect, in alternatively possible design method, the above method can be applied to electronic equipment and show In the case where the default interface of default application.Wherein, which includes instant messaging application, and default interface includes Instant Messenger Interrogate the chat interface of application.For example, default application can apply for " wechat ", default interface can be the chat of " wechat " application Interface.In this case, in response to the degree of the state change of electronic equipment, electronic equipment can play first at default interface Media file.Wherein, the first media file is the background image at default interface.
In conjunction with second aspect, in alternatively possible design method, electronic equipment may be in response to the first angle β in β1Extremely β2The degree of variation plays the y in the first media file1Frame image is to y2Frame image.Wherein, there are preset letters with β by y Number relationship.Specifically, working as β=β1When, y=y1;As β=β2When, y=y2
In conjunction with second aspect, in alternatively possible design method, above-mentioned preset functional relation includes at least two Piecewise function, at least two piecewise functions include the first piecewise function and the second piecewise function.Wherein, when β is in β value range When first subinterval changes, there are the corresponding functional relations of the first piecewise function by y and β.When β is in the second sub-district of β value range Between when changing, there are the corresponding functional relations of the second piecewise function by y and β.
In conjunction with second aspect, in alternatively possible design method, above-mentioned electronic equipment play the first media file it Before, the scene information of available electronic equipment.The scene information may include in temporal information, location information and Weather information At least one of.Then, electronic equipment can determine the first matchmaker corresponding with scene information from one or more media files Body file.
In conjunction with second aspect, in alternatively possible design method, said one or multiple media files are the second matchmaker Body file, the second media file are divided into more parts of images;Every part of image includes a frame or multiple image, one scene of every part of correspondence Information.Electronic equipment can determine that a image corresponding with scene information is the first media file from the second media file.
In conjunction with second aspect, in alternatively possible design method, above-mentioned first media file includes the first subfile With the second subfile.First subfile and the second subfile include a frame or multiple image, the first subfile and the second Ziwen Part is different.Wherein, above-mentioned first angle β changes from small to big and (gradually becomes 60 ° by 30 ° as β gradually becomes 90 ° or β by 0 °) In the process, electronic equipment can play the first subfile.First angle β from large to small (such as β by 90 ° gradually become 0 ° or β by 70 ° gradually become 60 °) during, electronic equipment can play the second subfile.Specifically, above-mentioned in response to electronic equipment The degree of state change, electronic equipment play the first media file, comprising: in response to the degree that the first angle changes from small to big, electricity Sub- the first subfile of device plays;In response to the degree of the first angle from large to small, electronic equipment plays the second subfile.
In present application example, electronic equipment can the first angle change from small to big and from large to small during, play not Same file (such as the first subfile and the second subfile).In this way, electricity during above-mentioned first angle can be made to become larger and become smaller Image content shown by sub- equipment is more abundant, can promote the usage experience of user.
In conjunction with second aspect, in alternatively possible design method, gyro sensors are provided in above-mentioned electronic equipment Device.Electronic equipment can detect the direction vector a (x of the direction of display screen by gyro sensor1, y1, z1);Wherein, display screen Direction direction vector a perpendicular to display screen;x1It is value of the vector a in the x-axis of the coordinate system of gyro sensor, y1Be to Measure value of a in the y-axis of the coordinate system of gyro sensor, z1It is value of the vector a in the z-axis of the coordinate system of gyro sensor;x Axis and y-axis are parallel to horizontal plane.Electronic equipment uses formulaCalculate the first angle β.
In conjunction with second aspect, in alternatively possible design method, the value range of above-mentioned first angle can be [0 °, 90 °].
In conjunction with second aspect, in alternatively possible design method, the display screen of above-mentioned electronic equipment is not Folding screen.
In conjunction with second aspect, in alternatively possible design method, the display screen of above-mentioned electronic equipment can be folding Screen.In the case that the angle that the above method can be applied to the adjacent screen of Folding screen is 360 ° or 180 °.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, the electronic equipment include: processor, Folding screen and Memory;Foldable the first screen of formation of Folding screen and the second screen;Processor, Folding screen and memory coupling, memory is for depositing Computer program code is stored up, computer program code includes computer instruction, and when processor computer instructions, electronics is set It is standby to execute:
Processor, the degree of the state change for obtaining Folding screen;State change includes: the folder of the first screen and the second screen Angle is from large to small or the angle of the first screen and the second screen changes from small to big, and the degree of state change indicates the speed of state change And the amplitude of state change;In response to the degree of the state change of Folding screen, controls Folding screen and play the first media file;The One media file includes multiple image;Wherein, when the state change of Folding screen is faster, Folding screen plays the first media file Frame per second is bigger;When the state change of Folding screen is slower, the frame per second that Folding screen plays the first media file is smaller;When Folding screen When the amplitude of state change is bigger, the content that Folding screen plays the first media file is more;When the width of the state change of Folding screen Degree is got over hour, and the content that Folding screen plays the first media file is fewer.
In conjunction with the third aspect, in a kind of possible design method, above-mentioned processor, the state for obtaining Folding screen becomes The degree of change, comprising: processor, the variation of angle and angle for obtaining the first screen and the second screen;According to angle and The variation of angle obtains the degree of the state change of Folding screen.
In conjunction with the third aspect, in alternatively possible design method, above-mentioned processor, for obtaining the state of Folding screen The degree of variation, comprising: processor, for obtaining rotation speed and first screen and second of first screen relative to the second screen The angle of screen;According to rotation speed and angle, the degree of the state change of Folding screen is obtained.
In conjunction with the third aspect, in alternatively possible design method, above-mentioned electronic equipment is in screen lock state, Folding screen Show locking screen interface;Processor controls Folding screen and plays the first media text for the degree of the state change in response to Folding screen Part, comprising: processor controls Folding screen in locking screen interface and play first for the degree of the state change in response to Folding screen Media file;Wherein, the first media file is the background image of locking screen interface.
In conjunction with the third aspect, in alternatively possible design method, above-mentioned Folding screen shows the main screen of electronic equipment; Processor controls Folding screen and plays the first media file, comprising: processing for the degree of the state change in response to Folding screen Device controls Folding screen in main screen and plays the first media file, the first matchmaker for the degree of the state change in response to Folding screen Body file is the background image of main screen.
In conjunction with the third aspect, in alternatively possible design method, above-mentioned Folding screen shows the default boundary of default application Face;Processor controls Folding screen and plays the first media file, comprising: place for the degree of the state change in response to Folding screen Device is managed, for the degree of the state change in response to Folding screen, Folding screen is controlled at default interface and plays the first media file, the One media file is the background image at default interface.Wherein, presetting application includes instant messaging application, and it includes instant for presetting interface The chat interface of communication applications.
In conjunction with the third aspect, in alternatively possible design method, processor, for the state change in response to Folding screen The degree of change, control Folding screen broadcasting is the first media file, comprising: processor, in response to the first screen and the second screen Angle α is in α1To α2The degree of variation, control Folding screen play the y in the first media file1Frame image is to y2Frame image; Wherein, there are preset functional relations with α by y;As α=α1When, y=y1;As α=α2When, y=y2
In conjunction with the third aspect, in alternatively possible design method, above-mentioned preset functional relation includes at least two Piecewise function, at least two piecewise functions include the first piecewise function and the second piecewise function.Wherein, when α is in the value range of α The first subinterval variation when, there are the corresponding functional relations of the first piecewise function by y and α.When α α value range second When subinterval changes, there are the corresponding functional relations of the second piecewise function by y and α.
In conjunction with the third aspect, in alternatively possible design method, above-mentioned processor, for working as the shape of the Folding screen When the corresponding frame per second of speed of state variation is greater than default maximum frame per second, controls the Folding screen and played with the default maximum frame per second First content in first media file, the first content be in first media file with the state change pair The multiple image answered.
In conjunction with the third aspect, in alternatively possible design method, above-mentioned processor is specifically used for presetting most with described Big frame per second, selectivity play the partial content in the first content.
In conjunction with the third aspect, in alternatively possible design method, above-mentioned processor is also used in response to Folding screen The degree of state change obtains the scene information of electronic equipment, scene information before control Folding screen plays the first media file Including at least one in temporal information, location information and Weather information;The determining and scene from one or more media files Corresponding first media file of information.
In conjunction with the third aspect, in alternatively possible design method, said one or multiple media files are the second matchmaker Body file, the second media file are divided into more parts of images;Every part of image includes a frame or multiple image, one scene of every part of correspondence Information;Processor is specifically used for from the second media file, determines that a image corresponding with scene information is the first media text Part.
In conjunction with the third aspect, in alternatively possible design method, above-mentioned first media file includes the first subfile With the second subfile;First subfile and the second subfile include a frame or multiple image, the first subfile and the second Ziwen Part is different.Processor controls Folding screen and plays the first media file, packet for the degree of the state change in response to Folding screen Include: processor, the degree for changing from small to big in response to the angle of the first screen and the second screen, control Folding screen play the first Ziwen Part;In response to the degree of the angle of the first screen and the second screen from large to small, controls Folding screen and play the second subfile.
In conjunction with the third aspect, in alternatively possible design method, top is provided in above-mentioned first screen and the second screen Spiral shell instrument sensor.Gyro sensor in first screen, the direction vector of the direction for detecting the first screen.Top in second screen Spiral shell instrument sensor, for detecting the direction vector of the second screen;Wherein, the direction vector of the direction of the first screen is perpendicular to the first screen, The direction vector of the direction of second screen is perpendicular to the second screen.Processor, for calculating the direction vector and second screen of the first screen The angle theta of direction vector;Using formula α=180 °-θ, the angle α of the first screen and the second screen is calculated.
In conjunction with the third aspect, in alternatively possible design method, the value of the angle of above-mentioned first screen and the second screen Range is [0 °, 360 °], [0 °, 180 °] or [180 °, 360 °].
Fourth aspect, the embodiment of the present application provide a kind of electronic equipment, which may include: processor, display Screen and memory;Processor, display screen and memory coupling, memory is for storing computer program code, computer program Code includes computer instruction, and when processor computer instructions, electronic equipment is executed:
Processor, the degree of the state change for obtaining electronic equipment;State change include: the first angle from large to small Or change from small to big, the first angle is the angle of display screen and horizontal plane, the degree of state change indicate the speed of state change with And the amplitude of state change;In response to the degree of the state change of electronic equipment, controls display screen and play the first media file;The One media file includes multiple image;Wherein, when the state change of display screen is faster, display screen plays the first media file Frame per second is bigger;When the state change of display screen is slower, the frame per second that display screen plays the first media file is smaller;When display screen When the amplitude of state change is bigger, the content that display screen plays the first media file is more;When the width of the state change of display screen Degree is got over hour, and the content that display screen plays the first media file is fewer.
In conjunction with fourth aspect, in a kind of possible design method, above-mentioned processor, for obtaining the state of electronic equipment The degree of variation, comprising: processor, for obtaining the variation of the first angle and the first angle;According to the first angle and The variation of one angle obtains the degree of the state change of electronic equipment.
In conjunction with fourth aspect, in alternatively possible design method, gyro sensors are provided in above-mentioned electronic equipment Device;Gyro sensor, the direction vector a (x of the direction for detecting display screen1, y1, z1);Wherein, the direction of display screen Direction vector a is perpendicular to display screen;x1It is value of the vector a in the x-axis of the coordinate system of gyro sensor, y1It is vector a in gyro The value of the y-axis of the coordinate system of instrument sensor, z1It is value of the vector a in the z-axis of the coordinate system of gyro sensor;X-axis and y-axis are flat Row is in horizontal plane;Processor, for using formulaCalculate the first angle β.
5th aspect, the embodiment of the present application provide a kind of computer storage medium, which may include Computer instruction, when the computer instruction is run on an electronic device, so that electronic equipment execution such as first aspect, Method described in second aspect and its possible design method.
6th aspect, the embodiment of the present application provides a kind of computer program product, when the computer program product is being counted When being run on calculation machine, so that the computer executes the side as described in first aspect, second aspect and its possible design method Method.
It is to be appreciated that described in the third aspect of above-mentioned offer, fourth aspect and its any possible design method Electronic equipment, the 5th aspect described in computer storage medium and the 6th aspect described in computer program product be used to Execute corresponding method presented above, therefore, attainable beneficial effect can refer to it is presented above corresponding Beneficial effect in method, details are not described herein again.
Detailed description of the invention
Fig. 1 is a kind of product form example schematic of flexible folding screen electronic equipment provided by the embodiments of the present application;
Fig. 2 is the product form example schematic of another flexible folding screen electronic equipment provided by the embodiments of the present application;
Fig. 3 is a kind of product form example schematic of multi-screen Folding screen electronic equipment provided by the embodiments of the present application;
Fig. 4 is the product form example schematic of another flexible folding screen electronic equipment provided by the embodiments of the present application;
Fig. 5 is the product form example schematic of another flexible folding screen electronic equipment provided by the embodiments of the present application;
Fig. 6 is the hardware structural diagram of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 7 is a kind of angle example schematic of Folding screen provided by the embodiments of the present application;
Fig. 8 is a kind of coordinate system schematic diagram of gyro sensor provided by the embodiments of the present application;
Fig. 9 is the example schematic that a kind of Folding screen provided by the embodiments of the present application shows the first image;
Figure 10 is a kind of preset function example schematic provided by the embodiments of the present application;
Figure 11 is another preset function example schematic provided by the embodiments of the present application;
Figure 12 is another preset function example schematic provided by the embodiments of the present application;
Figure 13 is another preset function example schematic provided by the embodiments of the present application;
Figure 14 A is another preset function example schematic provided by the embodiments of the present application;
Figure 14 B is the example schematic that another Folding screen provided by the embodiments of the present application shows the first image;
Figure 15 is the example schematic that another Folding screen provided by the embodiments of the present application shows the first image;
Figure 16 is a kind of angle schematic illustration for calculating electronic equipment and horizontal plane provided by the embodiments of the present application;
Figure 17 is the example schematic that a kind of electronic equipment provided by the embodiments of the present application shows the first image;
Figure 18 is the structure composition schematic diagram of a kind of electronic equipment provided by the embodiments of the present application;
Figure 19 is the structure composition schematic diagram of another electronic equipment provided by the embodiments of the present application.
Specific embodiment
The embodiment of the present application provides a kind of display methods of dynamic image, this method can be applied to include Folding screen electricity Sub- equipment.Foldable at least two screen of formation of the Folding screen.For example, foldable the first screen of formation of Folding screen and the second screen.Wherein, During Folding screen is folded or is unfolded, Folding screen can occur the state of the angle of the first screen and the second screen from large to small and become Change, alternatively, the state change of the angle of the first screen and the second screen from large to small can occur for Folding screen.It should be noted that the folding At least two screens that folded screen is formed after being folded can be self-existent multiple screens, or one of integral structure is complete Whole screen has only been folded to form at least two parts.
In the embodiment of the present application, electronic equipment can be according to the degree (speed of such as state change of the state change of Folding screen And amplitude), play the first media file including multiple image.For example, the state change of Folding screen is faster, electronic equipment is played The frame per second of first media file is bigger, and the state change of Folding screen is slower, and the frame per second that electronic equipment plays the first media file is got over It is small;The amplitude of the state change of Folding screen is bigger, and the content that electronic equipment plays the first media file is more, the state of Folding screen The amplitude of variation is smaller, and the content that electronic equipment plays the first media file is fewer.
In conclusion in the embodiment of the present application, it can be by the speed of the variable angle of the first screen and the second screen and amplitude and electricity The display content association of sub- equipment is got up so that the display content of electronic equipment with the variation of above-mentioned angle dynamic change, can To promote the Man machine interaction of electronic equipment.
For example, Folding screen in a folded configuration, is likely to be at the state of blank screen.At this point, if user's operation Folding screen, makes The angle for obtaining the first screen and the second screen becomes larger (i.e. Folding screen generating state changes), and Folding screen is lit.After Folding screen is lit, Electronic equipment can play the first media file according to the degree of the state change of Folding screen.
Certainly, the method for the embodiment of the present application can also be applied to the feelings that Folding screen is in unfolded state or semi-collapsed condition Under condition.Folding screen is under unfolded state or semi-collapsed condition, if user's operation Folding screen, so that the folder of the first screen and the second screen Angle becomes larger or becomes smaller (i.e. Folding screen generating state change), and electronic equipment can play the according to the degree of the state change of Folding screen One media file.Wherein, being discussed in detail for the folded state of Folding screen, unfolded state and semi-collapsed condition can refer to the application The subsequent related content of embodiment, it will not go into details here.
Illustratively, in some embodiments of the application, Folding screen can be flexible folding screen.Wherein, flexible folding screen Including the folded edge using flexible material production.Some or all of the flexible folding screen is made of flexible material.Such as: it should Only have folding part (such as folded edge) to be made of flexible material in flexible folding screen, other parts use rigid system Make;Alternatively, the flexible folding screen all uses flexible material to make.The Folding screen can form multiple (two along edge contraction is folded Or more than two) screen.
For example, Folding screen shown in (a) in Fig. 1 is flexible folding screen.Folding screen shown in (a) in Fig. 1 is one Complete display screen, the display screen include the folded edge using flexible material production.The Folding screen, can shape after folding edge contraction At A screen 101 shown in (b) in Fig. 1 and B screen 102.
In another example Folding screen shown in (a) in Fig. 2 is also flexible folding screen.Folding screen shown in (a) in Fig. 2 is One complete display screen, the display screen include the folded edge using flexible material production.After Folding screen edge folds edge contraction, A screen 201, B screen 202 shown in (b) in Fig. 2 and C screen 203 can be formed.
Wherein, (a) in (a) in Fig. 1 and Fig. 2 is that Folding screen is fully deployed that (i.e. Folding screen is in above-mentioned expansion shape State) when form schematic diagram.(b) in (b) and Fig. 2 in Fig. 1 is the form schematic diagram that Folding screen is in semi-collapsed condition. (c) in Fig. 1 is the form schematic diagram that Folding screen is in above-mentioned folded state.It should be noted that in each embodiment of the application, The state of Folding screen includes three kinds: unfolded state, folded state and semi-collapsed condition.Unfolded state indicates that Folding screen is opened up completely It opens, i.e., the angle of any two screen in Folding screen is 180 °.Folded state indicates that Folding screen folds completely, i.e., in Folding screen The angle of any two screen is 0 ° or 360 °.State between unfolded state and folded state is semi-collapsed condition.
In other embodiments of the application, Folding screen can be multi-screen Folding screen.The multi-screen Folding screen may include multiple (two or more) screen.It should be noted that this multiple screen is multiple individual display screens.This multiple screen can pass sequentially through Fold axis connection.Each screen can be rotated around folding shaft connected to it, realize the folding of multi-screen Folding screen.
As shown in (a) in Fig. 3, multi-screen Folding screen includes two individually screens, is referred to as A screen 301 and B screen 302.A Shield 301 and B screen 302 by folding axis connection, and A screen 301 and B screen 302 can be rotated around folding shaft, realizes multi-screen Folding screen It folds.Wherein, (a) in Fig. 3 is the form schematic diagram that multi-screen Folding screen is in unfolded state.(b) in Fig. 3 is that multi-screen folds Screen is in the form schematic diagram of semi-collapsed condition.(c) in Fig. 3 is the form schematic diagram that multi-screen Folding screen is in folded state. Multi-screen Folding screen also may include three or three or more screens, and specific form and folding mode can refer to Fig. 3 and correlation is retouched It states, details are not described herein again.
Wherein, Folding screen is under folded state, and the angle between adjacent screen is 0 °.For example, A shown in (c) in Fig. 1 The angle α of screen and B screen is 0 °.Folding screen is under unfolded state, and the angle between adjacent screen is 180 °.For example, in Fig. 1 (a) angle α between A screen 101 and B screen 102 shown in is 180 °.Folding screen is under semi-collapsed condition, between adjacent screen The value range of angle can be (0 °, 180 °).For example, the angle α shown in (b) in Fig. 1 between A screen 101 and B screen 102 ∈ (0 °, 180 °).
Be in above-mentioned Fig. 1-Fig. 3 the Folding screen of electronic equipment is longitudinal folding, realize the folding of Folding screen.Certainly, Can be laterally folded by the Folding screen of electronic equipment, to realize the folding of Folding screen.For example, Folding screen shown in (a) in Fig. 4 After folding edge contraction, during folding, it can sequentially form shown in (d) in (b) in Fig. 4, (c) in Fig. 4 and Fig. 4 A screen and B screen.
In addition, be the value range of the angle between the adjacent screen of Folding screen in above-mentioned Fig. 1-Fig. 4 being showing for [0 °, 180 °] It is intended to.Certainly, the value range of the angle between the adjacent screen of Folding screen can also include (180 °, 360 °].For example, with Fig. 1 Shown in for Folding screen, for Folding screen shown in (a) in Fig. 1 along edge contraction is folded, (a) and (b) that can be formed in Fig. 5 is shown A screen 101 and B screen 102.Angle β between A screen 101 and B screen 102 as shown in (a) in Fig. 5 is 360 °.In Fig. 5 (b) value range of the angle β between A screen 101 and B screen 102 shown in is (180 °, 360 °).
Illustratively, the electronic equipment in the embodiment of the present application can be mobile phone, tablet computer, desktop type, on knee, hand Hold computer, laptop, Ultra-Mobile PC (ultra-mobile personal computer, UMPC), Net book and cellular phone, personal digital assistant (personal digital assistant, PDA), augmented reality (augmented reality, AR) virtual reality (virtual reality, VR) equipment etc. include Folding screen equipment, this Application embodiment is not particularly limited the specific form of the equipment.
It is described in detail below in conjunction with embodiment of the attached drawing to the embodiment of the present application.
Referring to FIG. 6, being the structural schematic diagram of a kind of electronic equipment 100 provided by the embodiments of the present application.As shown in fig. 6, Electronic equipment 100 may include processor 610, external memory interface 620, internal storage 621, universal serial bus (universal serial bus, USB) interface 630, charge management module 640, power management module 641, battery 642, day Line 1, antenna 2, mobile communication module 650, wireless communication module 660, audio-frequency module 670, loudspeaker 670A, receiver 670B, Microphone 670C, earphone interface 670D, sensor module 680, key 690, motor 691, indicator 692, camera 693 are shown Display screen 694 and Subscriber Identity Module (subscriber identification module, SIM) card interface 695 etc..Its In, sensor module 680 may include pressure sensor 680A, gyro sensor 680B, baroceptor 680C, magnetic sensing Device 680D, acceleration transducer 680E, range sensor 680F, close to optical sensor 680G, fingerprint sensor 680H, temperature is passed Sensor 680J, touch sensor 680K, ambient light sensor 680L, bone conduction sensor 680M etc..
It is understood that the structure of the present embodiment signal does not constitute the specific restriction to electronic equipment 100.Another In a little embodiments, electronic equipment 100 may include perhaps combining certain components than illustrating more or fewer components or tearing open Divide certain components or different component layouts.The component of diagram can be with hardware, and the combination of software or software and hardware is real It is existing.
Processor 610 may include one or more processing units, such as: processor 610 may include application processor (application processor, AP), modem processor, graphics processor (graphics processing Unit, GPU), image-signal processor (image signal processor, ISP), controller, memory, coding and decoding video Device, digital signal processor (digital signal processor, DSP), baseband processor and/or Processing with Neural Network Device (neural-network processing unit, NPU) etc..Wherein, different processing units can be independent device, Also it can integrate in one or more processors.
Controller can be nerve center and the command centre of electronic equipment 100.Controller can be according to instruction operation code And clock signal, operating control signal is generated, the control completing instruction fetch and executing instruction.
Memory can also be set in processor 610, for storing instruction and data.In some embodiments, processor Memory in 610 is cache memory.The memory can save the instruction that processor 610 is just used or is recycled Or data.If processor 610 needs to reuse the instruction or data, can be called directly from the memory.It avoids Repeated access, reduces the waiting time of processor 610, thus improves the efficiency of system.
In some embodiments, processor 610 may include one or more interfaces.Interface may include integrated circuit (inter-integrated circuit, I2C) interface, integrated circuit built-in audio (inter-integrated circuit Sound, I2S) interface, pulse code modulation (pulse code modulation, PCM) interface, universal asynchronous receiving-transmitting transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), universal input export (general-purpose Input/output, GPIO) interface, Subscriber Identity Module (subscriber identity module, SIM) interface, and/or Universal serial bus (universal serial bus, USB) interface etc..
It is understood that the interface connection relationship of each intermodule of the present embodiment signal, only schematically illustrates, not Constitute the structure qualification to electronic equipment 100.In further embodiments, electronic equipment 100 can also use above-described embodiment The combination of middle different interface connection type or multiple interfaces connection type.
Charge management module 640 is used to receive charging input from charger.Wherein, charger can be wireless charger, It is also possible to wired charger.In the embodiment of some wired chargings, charge management module 640 can pass through USB interface 630 Receive the charging input of wired charger.In the embodiment of some wireless chargings, charge management module 640 can pass through electronics The Wireless charging coil of equipment 100 receives wireless charging input.While charge management module 640 is that battery 642 charges, may be used also To be power electronic equipment by power management module 641.
Power management module 641 is for connecting battery 642, charge management module 640 and processor 610.Power management mould Block 641 receives the input of battery 642 and/or charge management module 640, is processor 610, internal storage 621, external storage Device, display screen 694, the power supply such as camera 693 and wireless communication module 660.Power management module 641 can be also used for monitoring Battery capacity, circulating battery number, the parameters such as cell health state (electric leakage, impedance).In some other embodiment, power supply pipe Reason module 641 also can be set in processor 610.In further embodiments, power management module 641 and Charge Management mould Block 640 also can be set in the same device.
The wireless communication function of electronic equipment 100 can pass through antenna 1, antenna 2, mobile communication module 650, wireless communication Module 660, modem processor and baseband processor etc. are realized.
Antenna 1 and antenna 2 electromagnetic wave signal for transmitting and receiving.Each antenna in electronic equipment 100 can be used for covering Cover single or multiple communication bands.Different antennas can also be multiplexed, to improve the utilization rate of antenna.Such as: it can be by antenna 1 It is multiplexed with the diversity antenna of WLAN.In other embodiments, antenna can be used in combination with tuning switch.
Mobile communication module 650, which can provide, applies wirelessly communicating on electronic equipment 100 including 2G/3G/4G/5G etc. Solution.Mobile communication module 650 may include at least one filter, switch, power amplifier, low-noise amplifier (low noise amplifier, LNA) etc..Mobile communication module 650 can receive electromagnetic wave by antenna 1, and to received electricity Magnetic wave is filtered, and the processing such as amplification is sent to modem processor and is demodulated.Mobile communication module 650 can also be right The modulated modulated signal amplification of demodulation processor, switchs to electromagenetic wave radiation through antenna 1 and goes out.In some embodiments, it moves At least partly functional module of dynamic communication module 650 can be arranged in processor 610.In some embodiments, mobile logical At least partly functional module of letter module 650 can be arranged in the same device at least partly module of processor 610.
Modem processor may include modulator and demodulator.Wherein, modulator is used for low frequency base to be sent Band signal is modulated into high frequency signal.Demodulator is used to received electromagnetic wave signal being demodulated into low frequency baseband signal.Then solution Adjust device that the low frequency baseband signal that demodulation obtains is sent to baseband processor.Low frequency baseband signal is through baseband processor Afterwards, it is delivered to application processor.Application processor is defeated by audio frequency apparatus (being not limited to loudspeaker 670A, receiver 670B etc.) Voice signal out, or image or video are shown by display screen 694.In some embodiments, modem processor can be Independent device.In further embodiments, modem processor can be independently of processor 610, with mobile communication module 650 or other function module be arranged in the same device.
It includes WLAN (wireless that wireless communication module 660, which can be provided and be applied on electronic equipment 100, Local area networks, WLAN) (such as Wireless Fidelity (wireless fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), Global Navigation Satellite System (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), the short distance wireless communication technology (near field communication, NFC) are red The solution of the wireless communications such as outer technology (infrared, IR).Wireless communication module 660 can be integrated into few communication One or more devices of processing module.Wireless communication module 660 receives electromagnetic wave via antenna 2, by electromagnetic wave signal frequency modulation And filtering processing, by treated, signal is sent to processor 610.Wireless communication module 660 can also connect from processor 610 Signal to be sent is received, frequency modulation is carried out to it, is amplified, is switched to electromagenetic wave radiation through antenna 2 and go out.
In some embodiments, the antenna 1 of electronic equipment 100 and mobile communication module 650 couple, antenna 2 and channel radio Believe that module 660 couples, allowing electronic equipment 100, technology is communicated with network and other equipment by wireless communication.It is described Wireless communication technique may include global system for mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), CDMA access (code Division multiple access, CDMA), wideband code division multiple access (wideband code division multiple Access, WCDMA), time division CDMA (time-division code division multiple access, TD- SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM and/or IR technology etc..Institute Stating GNSS may include GPS (global positioning system, GPS), global navigational satellite system It unites (global navigation satellite system, GLONASS), Beidou satellite navigation system (beidou Navigation satellite system, BDS), quasi- zenith satellite system (quasi-zenith satellite System, QZSS) and/or satellite-based augmentation system (satellite based augmentation systems, SBAS).
Electronic equipment 100 realizes display function by GPU, display screen 694 and application processor etc..GPU is at image The microprocessor of reason connects display screen 694 and application processor.GPU is calculated for executing mathematics and geometry, is used for figure wash with watercolours Dye.Processor 610 may include one or more GPU, execute program instructions to generate or change display information.
Display screen 694 is for showing image, video etc..The display screen 694 is above-mentioned Folding screen (such as flexible folding screen or more Shield Folding screen).Display screen 694 includes display panel.Display panel can use liquid crystal display (liquid crystal Display, LCD), Organic Light Emitting Diode (organic light-emitting diode, OLED), the organic hair of active matrix Near-infrafed photodiodes or active-matrix organic light emitting diode (active-matrix organic light emitting diode, AMOLED), Flexible light-emitting diodes (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, light emitting diode with quantum dots (quantum dot light emitting diodes, QLED) etc..
Electronic equipment 100 can be by ISP, camera 693, Video Codec, GPU, display screen 694 and at It manages device etc. and realizes shooting function.
ISP is used to handle the data of the feedback of camera 693.For example, opening shutter when taking pictures, light is passed by camera lens It is delivered on camera photosensitive element, optical signal is converted to electric signal, and camera photosensitive element passes to the electric signal at ISP Reason, is converted into macroscopic image.ISP can also be to the noise of image, brightness, colour of skin progress algorithm optimization.ISP can be with Exposure to photographed scene, the parameter optimizations such as colour temperature.In some embodiments, ISP can be set in camera 693.
Camera 693 is for capturing still image or video.Object generates optical imagery by camera lens and projects photosensitive member Part.Photosensitive element can be charge-coupled device (charge coupled device, CCD) or complementary metal oxide is partly led Body (complementary metal-oxide-semiconductor, CMOS) phototransistor.Photosensitive element turns optical signal It changes electric signal into, electric signal is passed into ISP later and is converted into data image signal.Data image signal is output to DSP by ISP Working process.Data image signal is converted into the RGB of standard, the picture signal of the formats such as YUV by DSP.In some embodiments, Electronic equipment 100 may include 1 or N number of camera 693, and N is the positive integer greater than 1.
Digital signal processor, in addition to can handle data image signal, can also handle it for handling digital signal His digital signal.For example, digital signal processor is used to carry out Fu to frequency point energy when electronic equipment 100 is when frequency point selects In leaf transformation etc..
Video Codec is used for compression of digital video or decompression.Electronic equipment 100 can be supported one or more Video Codec.In this way, electronic equipment 100 can play or record the video of a variety of coded formats, and such as: dynamic image is special Family's group (moving picture experts group, MPEG) 1, MPEG2, mpeg 3, MPEG4 etc..
NPU is neural network (neural-network, NN) computation processor, by using for reference biological neural network structure, Such as transfer mode between human brain neuron is used for reference, it, can also continuous self study to input information fast processing.Pass through NPU The application such as intelligent cognition of electronic equipment 100 may be implemented, such as: image recognition, recognition of face, speech recognition, text understanding Deng.
External memory interface 620 can be used for connecting external memory card, such as Micro SD card, realize that extension electronics is set Standby 100 storage capacity.External memory card is communicated by external memory interface 620 with processor 610, realizes that data store function Energy.Such as by music, the files such as video are stored in external memory card.
Internal storage 621 can be used for storing computer executable program code, and the executable program code includes Instruction.Processor 610 is stored in the instruction of internal storage 621 by operation, thereby executing the various functions of electronic equipment 100 Using and data processing.For example, in the embodiment of the present application, processor 610 can be stored in internal storage by executing Instruction in 621 detects the folding angles (angle of i.e. adjacent screen) of display screen 694 (i.e. Folding screen), and in response to angle The corresponding display content (i.e. image) of variation display angle.Internal storage 621 may include storing program area and storing data Area.Wherein, storing program area can storage program area, application program needed at least one function (such as sound-playing function, Image player function etc.) etc..Storage data area can store data (such as the audio created in 100 use process of electronic equipment Data, phone directory etc.) etc..In addition, internal storage 621 may include high-speed random access memory, it can also include non-easy The property lost memory, for example, at least a disk memory, flush memory device, generic flash memory (universal flash Storage, UFS) etc..
Electronic equipment 100 can pass through audio-frequency module 670, loudspeaker 670A, receiver 670B, microphone 670C, earphone Interface 670D and application processor etc. realize audio-frequency function.Such as music, recording etc..
Audio-frequency module 670 is used to for digitized audio message to be converted into analog audio signal output, is also used for analogue audio frequency Input is converted to digital audio and video signals.Audio-frequency module 670 can be also used for audio-frequency signal coding and decoding.In some embodiments In, audio-frequency module 670 can be set in processor 610, or the partial function module of audio-frequency module 670 is set to processor In 610.Loudspeaker 670A, also referred to as " loudspeaker ", for audio electrical signal to be converted to voice signal.Electronic equipment 100 can lead to It crosses loudspeaker 670A and listens to music, or listen to hand-free call.Receiver 670B, also referred to as " earpiece ", for turning audio electrical signal Change voice signal into.It, can be by the way that receiver 670B be connect close to human ear when electronic equipment 100 receives calls or when voice messaging Listen voice.Microphone 670C, also referred to as " microphone ", " microphone ", for voice signal to be converted to electric signal.When making a phone call or When sending voice messaging or needing to execute certain functions by voice assistant triggering electronic equipment 100, user can pass through mouth Close to microphone 670C sounding, voice signal is input to microphone 670C.At least one Mike can be set in electronic equipment 100 Wind 670C.In further embodiments, two microphone 670C can be set in electronic equipment 100, in addition to collected sound signal, also Decrease of noise functions may be implemented.In further embodiments, electronic equipment 100 can also be arranged three, four or more microphone 670C realizes that collected sound signal, noise reduction can also identify sound source, realizes directional recording function etc..
Earphone interface 670D is for connecting wired earphone.Earphone interface 670D can be USB interface 630, be also possible to Opening mobile electronic device platform (open mobile terminal platform, OMTP) standard interface of 3.5mm, the U.S. Cellular telecommunication industrial association (cellular telecommunications industry association of the USA, CTIA) standard interface.
Pressure signal can be converted into electric signal for experiencing pressure signal by pressure sensor 680A.In some implementations In example, pressure sensor 680A be can be set in display screen 694.There are many type of pressure sensor 680A, such as resistive pressure Sensor, inductance pressure transducer, capacitance pressure transducer, etc..Capacitance pressure transducer, can be including at least two Parallel-plate with conductive material.When effectively acting on pressure sensor 680A, the capacitor between electrode changes.Electronic equipment 100 determine the intensity of pressure according to the variation of capacitor.When there is touch operation to act on display screen 694, electronic equipment 100 is according to pressure Force snesor 680A detects the touch operation intensity.Electronic equipment 100 can also be believed according to the detection of pressure sensor 680A Number calculate touch position.In some embodiments, identical touch location, but the touch behaviour of different touch operation intensity are acted on Make, different operational orders can be corresponded to.Such as: when the touch operation for having touch operation intensity to be less than first pressure threshold value acts on When short message application icon, the instruction for checking short message is executed.When have touch operation intensity be greater than or equal to first pressure threshold When the touch operation of value acts on short message application icon, the instruction of newly-built short message is executed.
Gyro sensor 680B is determined for the athletic posture of electronic equipment 100.It in some embodiments, can be with Determine that electronic equipment 100 surrounds the angular speed of three axis (that is, x, y and z-axis) by gyro sensor 680B.Gyro sensors Device 680B can be used for shooting stabilization.Illustratively, when pressing shutter, gyro sensor 680B detection electronic equipment 100 is trembled Dynamic angle goes out the distance that lens module needs to compensate according to angle calculation, camera lens is allowed to offset electronic equipment by counter motion Stabilization is realized in 100 shake.Gyro sensor 680B can be also used for navigating, somatic sensation television game scene.
It should be noted that in the embodiment of the present application, the 694 multiple screens of foldable formation of display screen of electronic equipment 100. It may include gyro sensor 680B in each screen, for measuring the direction (i.e. the direction vector of direction) of corresponding screen.For example, In conjunction with above-mentioned Fig. 1, the display screen 694 of electronic equipment 100 can form A screen 101 and B screen 102 through folding, then the A screen 101 and should Include gyro sensor 680B in B screen 102, is respectively used to the direction of measurement A screen 101 and B screen 102.Electronic equipment 100 According to the angle change for the direction for measuring obtained each screen, the angle of adjacent screen can be determined.
Illustratively, by taking Folding screen electronic equipment shown in Fig. 4 is electronic equipment 100 as an example.The folding of electronic equipment 100 Shield foldable formation A screen shown in Fig. 7 and B screen.Gyro sensor A is provided in A screen, B screen is provided with gyro sensor B.The embodiment of the present application here, measures gyro sensor A the direction (i.e. the direction vector of direction) of A screen, gyro sensors The principle and electronic equipment 100 that device B measures the direction (i.e. the direction vector of direction) of B screen are according to the direction of A screen and B screen It is illustrated towards the principle for the angle α for calculating A screen and B screen.
Wherein, the coordinate system of gyro sensor is geographic coordinate system.As shown in figure 8, the origin O of geographic coordinate system is located at Point where carrier (including the equipment of gyro sensor, such as electronic equipment 100), x-axis are directed toward east along when ground weft (E), y-axis is northern (N) along local meridian line direction, and z-axis is directed toward along local geographic vertical, and straight with x-axis and the y-axis composition right hand Angular coordinate system.Wherein, the plane that x-axis and y-axis are constituted is local level, and the plane that y-axis and z-axis are constituted is local meridian Face.It is understood, therefore, that the coordinate system of gyro sensor is: using gyro sensor as origin O, ground weft is worked as on edge Being directed toward east is x-axis, and being directed toward north along local meridian line is y-axis, is directed toward upper (the i.e. negative side of geographic vertical along local geographic vertical To) it is z-axis.
Electronic equipment can measure to obtain each screen in the top of its setting using the gyro sensor being arranged in each screen The direction vector of direction in the coordinate system of spiral shell instrument sensor.For example, with reference to the side view of electronic equipment as shown in Figure 7, electricity The direction vector of direction of the A screen that sub- device measuring obtains in the coordinate system of gyro sensor A is vector z1, and B screen is in top The direction vector of direction in the coordinate system of spiral shell instrument sensor B is vector z2.Electronic equipment utilizes formula (1):The angle theta of outgoing vector z1 Yu vector z2 can be calculated.
Again as can be seen from FIG. 7, since vector z1 is vertical with A screen, vector z2 is vertical with B screen, therefore, available A screen and B Angle α=180 °-the θ of screen.That is direction of the electronic equipment according to the obtained A screen of measurement in the coordinate system of gyro sensor A Direction in the coordinate system of gyro sensor B of direction vector (i.e. vector z1) and B screen direction vector (i.e. vector z2), It can determine the angle α of A screen Yu B screen.
It should be noted that, although the position for the gyro sensor being arranged in A screen and B screen is not overlapped, i.e. A screen and B The origin of the coordinate system of flat gyro sensor is not overlapped, still, x-axis, y-axis, the z-axis of two coordinate systems be it is parallel, So as to think that the coordinate system for the gyro sensor being arranged in A screen and B screen is parallel.So, although vector z1 With vector z2 not in the same coordinate system, but because each axis of two coordinate systems is parallel, it can still pass through above-mentioned formula (1) angle theta of vector z1 and vector z2 are calculated.
In some embodiments, the angle α of A screen and B screen can also be measured with other one or more sensors. For example, settable acceleration transducer in each screen of Folding screen.Electronic equipment 100 (such as processor 610) is available Acceleration transducer measures acceleration of motion when each screen is rotated;Then one is calculated according to the acceleration of motion that measurement obtains The angle that a screen is rotated relative to another screen, the i.e. angle α of A screen and B screen.
In further embodiments, above-mentioned gyro sensor can be cooperatively formed by other multiple sensors it is virtual Gyro sensor.The virtual gyroscope sensor can be used for calculating the angle of the adjacent screen of Folding screen, the i.e. folder of A screen and B screen Angle α.
Baroceptor 680C is for measuring air pressure.In some embodiments, electronic equipment 100 passes through baroceptor The atmospheric pressure value that 680C is measured calculates height above sea level, auxiliary positioning and navigation.
Magnetic Sensor 680D includes Hall sensor.Electronic equipment 100 can use Magnetic Sensor 680D flip cover skin The folding of set.In some embodiments, when electronic equipment 100 is liding machine, electronic equipment 100 can be according to Magnetic Sensor The folding of 680D flip cover.And then according to the folding condition of the leather sheath detected or the folding condition of flip lid, setting flip lid is certainly The characteristics such as dynamic unlock.
Acceleration transducer 680E can detect the big of (the generally three axis) acceleration in all directions of electronic equipment 100 It is small.It can detect that size and the direction of gravity when electronic equipment 100 is static.It can be also used for identification electronic equipment posture, answer Switch for horizontal/vertical screen, the application such as pedometer.It should be noted that in the embodiment of the present application, the display screen of electronic equipment 100 The 694 foldable multiple screens of formation.It may include acceleration transducer 680E in each screen, for measuring the direction of corresponding screen (i.e. The direction vector of direction).
Range sensor 680F, for measuring distance.Electronic equipment 100 can pass through infrared or laser distance measuring.? In some embodiments, photographed scene, electronic equipment 100 can use range sensor 680F ranging to realize rapid focus.
It may include such as light emitting diode (LED) and photodetector, such as photodiode close to optical sensor 680G. Light emitting diode can be infrared light-emitting diode.Electronic equipment 100 launches outward infrared light by light emitting diode.Electronics is set Standby 100 detect the infrared external reflection light from neighbouring object using photodiode.It, can be true when detecting sufficient reflected light Determining electronic equipment 100 nearby has object.When detecting insufficient reflected light, electronic equipment 100 can determine electronic equipment 100 do not have object nearby.Electronic equipment 100 can use to be pasted close to optical sensor 680G detection user's hand-hold electronic equipments 100 Nearly ear call, so that automatic distinguishing screen achievees the purpose that power saving.It can also be used for leather sheath mode, mouth close to optical sensor 680G Bag mode automatic unlocking and screen locking.
Ambient light sensor 680L is for perceiving environmental light brightness.Electronic equipment 100 can be according to the environment bright of perception Spend 694 brightness of automatic adjusument display screen.Automatic white balance adjustment when ambient light sensor 680L can also be used for taking pictures.Environment light Sensor 680L can also cooperate with close to optical sensor 680G, electronic equipment 100 be detected whether in pocket, with false-touch prevention.
Fingerprint sensor 680H is for acquiring fingerprint.The fingerprint characteristic that electronic equipment 100 can use acquisition realizes fingerprint Unlock accesses application lock, and fingerprint is taken pictures, fingerprint incoming call answering etc..
Temperature sensor 680J is for detecting temperature.In some embodiments, electronic equipment 100 utilizes temperature sensor The temperature of 680J detection, executes Temperature Treatment strategy.For example, when the temperature sensor 680J temperature reported is more than threshold value, electronics Equipment 100 executes the performance for reducing the processor being located near temperature sensor 680J, implements Thermal protection to reduce power consumption.? In other embodiments, when temperature is lower than another threshold value, electronic equipment 100 heats battery 642, leads to electricity to avoid low temperature The abnormal shutdown of sub- equipment 100.In some other embodiment, when temperature is lower than another threshold value, electronic equipment 100 is to battery 642 output voltage executes boosting, to avoid shutting down extremely caused by low temperature.
Touch sensor 680K, also referred to as " touch panel ".Touch sensor 680K can be set in display screen 694, by touching It touches sensor 680K and display screen 694 forms touch screen, also referred to as " touch screen ".Touch sensor 680K acts on it for detecting On or near touch operation.The touch operation that touch sensor can will test passes to application processor, to determine touching Touch event type.Visual output relevant to touch operation can be provided by display screen 694.In further embodiments, it touches Touching sensor 680K also can be set in the surface of electronic equipment 100, different from the location of display screen 694.
The available vibration signal of bone conduction sensor 680M.In some embodiments, bone conduction sensor 680M can be with Obtain the vibration signal of human body part vibration bone block.Bone conduction sensor 680M can also contact human pulse, receive blood pressure and jump Dynamic signal.In some embodiments, bone conduction sensor 680M also can be set in earphone, be combined into bone conduction earphone.Sound Frequency module 670 can parse voice based on the vibration signal for the part vibration bone block that the bone conduction sensor 680M is obtained Signal realizes phonetic function.The blood pressure jitter solution that application processor can be obtained based on the bone conduction sensor 680M Heart rate information is analysed, realizes heart rate detecting function.
Key 690 includes power button, volume key etc..Key 690 can be mechanical key.It is also possible to touch-key. Electronic equipment 100 can receive key-press input, generate key letter related with the user setting of electronic equipment 100 and function control Number input.
Motor 691 can produce vibration prompt.Motor 691 can be used for calling vibration prompt, can be used for touching vibration Dynamic feedback.For example, acting on the touch operation of different application (such as taking pictures, audio broadcasting etc.), different vibrations can be corresponded to Feedback effects.The touch operation of 694 different zones of display screen is acted on, motor 691 can also correspond to different vibrational feedback effects. Different application scenarios (such as: time alarm receives information, alarm clock, game etc.) different vibrational feedback effects can also be corresponded to Fruit.Touch vibrational feedback effect can also be supported customized.
Indicator 692 can be indicator light, can serve to indicate that charged state, electric quantity change can be used for instruction and disappear Breath, missed call, notice etc..
SIM card interface 695 is for connecting SIM card.SIM card can be by being inserted into SIM card interface 695, or from SIM card interface 695 extract, and realization is contacting and separating with electronic equipment 100.Electronic equipment 100 can support 1 or N number of SIM card interface, N For the positive integer greater than 1.SIM card interface 695 can support Nano SIM card, Micro SIM card, SIM card etc..The same SIM Card interface 695 can be inserted into multiple cards simultaneously.The type of multiple cards may be the same or different.SIM card interface 695 Different types of SIM card can also be compatible with.SIM card interface 695 can also be with compatible external storage card.Electronic equipment 100 passes through SIM Card and network interaction realize the functions such as call and data communication.In some embodiments, electronic equipment 100 uses eSIM, That is: embedded SIM card.ESIM card can cannot separate in electronic equipment 100 with electronic equipment 100.
Method in following embodiment can be realized in the electronic equipment 100 with above-mentioned hardware configuration.And this Shen Please embodiment provide method can be applied to the electronic equipment with the Folding screen shown in the drawings of any one in Fig. 1-Fig. 5 100.The electronic equipment 100 includes at least the first screen and the second screen.
It should be noted that if the foldable formation of the Folding screen of electronic equipment 100 two screens, above-mentioned first screen and the Two screens can refer to two screens that the electronic equipment 100 includes respectively.For example, in conjunction with (b) in (b) or Fig. 3 in Fig. 1, first Screen and the second screen are A screen and B screen respectively.If the electronic equipment 100 includes three or three or more screens, above-mentioned first screen It can refer to two screens of arbitrary neighborhood in all screens that electronic equipment 100 includes respectively with the second screen.For example, in conjunction in Fig. 2 (b), the first screen and the second screen can be A screen and B screen respectively, can also be B screen and C screen respectively.
The embodiment of the present application provides a kind of display methods of dynamic image.This method can be applied to above-mentioned electronic equipment 100.In the embodiment of the present application, with the foldable formation of the Folding screen of electronic equipment 100 two screens (for example, (b) institute in Fig. 4 The A screen and B screen shown) for, the display methods of dynamic image provided by the embodiments of the present application is illustrated.
Illustratively, method provided by the embodiments of the present application may at least apply for following application scenarios (1), application scenarios (2) and in application scenarios (3):
Application scenarios (1): electronic equipment 100 is in screen lock state.It wherein, should when electronic equipment 100 is in screen lock state Electronic equipment 100 shows locking screen interface.
When electronic equipment 100 is in black state, in response to the operation of user, Folding screen can be lit.Folding screen is by point After bright, locking screen interface can be shown.At this point, electronic equipment 100 can detect the degree of the state change of Folding screen, then according to folding The degree of the state change of screen plays the first media file in locking screen interface.In application scenarios (1), above-mentioned first media text Part is the screen locking animation of electronic equipment 100.
It should be noted that the A screen of Folding screen and the angle α of B screen can be when electronic equipment 100 is in black state Unspecified angle in [0 °, 180 °].The operation of above-mentioned user can grasp the click of the screen locking key of electronic equipment 100 for user Make;Alternatively, the operation of above-mentioned user can change the operation of the angle α of A screen and B screen for user;Alternatively, the operation of above-mentioned user The operation of electronic equipment 100 can be picked up/overturn for user;It is set alternatively, the operation of above-mentioned user can tap electronics for user The operation of standby 100 (such as Folding screens).
Application scenarios (2): electronic equipment 100 shows main screen (home screen).Wherein, the main screen of electronic equipment 100 Curtain may include one or more display pages.The one or more shows that the page is displayed in electronic equipment 100 Application icon and folder icon.For example, can show " camera " application, " wechat " in the one or more display interface Using, " setting " application and " phone " application etc. applications application icon.In response to user to application icon and file figure Target clicking operation, electronic equipment 100 can show the interface of corresponding application.
In application scenarios (2), above-mentioned first media file can be the main screen of electronic equipment 100 theme background or Person's background animation.When electronic equipment 100 shows main screen, the degree of the state change of Folding screen can detect, then according to folding The degree of the state change of screen plays the first matchmaker in main screen using above-mentioned first media file as the background image of main screen Body file.
Application scenarios (3): the default interface of the default application of the display of electronic equipment 100 or preset web.Wherein, above-mentioned One media file can be the theme background, background animation or banner cardon at above-mentioned default interface.For example, the default application can Think the communication classes application program such as " wechat " application and " Email " application.When default application is " wechat " in application, default Interface can be the chat interface of " wechat " application, and above-mentioned first media file can be the dynamic of the chat interface of " wechat " application State background image.When electronic equipment 100 shows the default interface of above-mentioned default application or preset web, Folding screen can detect The degree of state change, then according to the degree of the state change of Folding screen, above-mentioned first media file as background image, Main screen plays the first media file.
In some embodiments, above-mentioned default interface can be include the elements such as precious case to be opened or red packet to be opened The interface of material.In general, opening the materials such as precious case or red packet to be opened to be beaten in default interface in response to user Clicking operation, electronic equipment can show the dynamic image that corresponding material is opened.In the embodiment of the present application, above-mentioned first media File includes the multiple image for playing the dynamic image that above-mentioned corresponding material is opened.Wherein, when the display of electronic equipment 100 includes When the default interface of materials such as precious case to be opened or red packet to be opened, the degree of the state change of Folding screen can detect; In response to the degree of the ascending state change of the angle of A screen and B screen, electronic equipment 100 can play the first media file, i.e., The dynamic image that above-mentioned material is opened.
In some embodiments, the value range of the angle α of A screen and B screen can be [0 °, 180 °].In conjunction with examples detailed above, The angle value range of the Folding screen of electronic equipment shown in (c) in (b) in (a), Fig. 1 and Fig. 1 in Fig. 1 be [0 °, 180°].In further embodiments, the value range of the angle of A screen and B screen can be [180 °, 360 °].In conjunction with above-mentioned reality , the angle value range of the Folding screen of electronic equipment shown in (b) in (a) and Fig. 5 in Fig. 5 is [180 °, 360 °].? In other embodiments, the value range of the angle of A screen and B screen can be [0 °, 360 °].
It should be noted that no matter the variation range of the angle of A screen and B screen be [0 °, 180 °], [180 °, 360 °] or [0 °, 360 °], in the embodiment of the present application, electronic equipment 100 can play first according to the degree of the state change of Folding screen Media file.In the embodiment of the present application, with the variation range of A screen and the angle of B screen be [0 °, 180 °] for, to the application reality The method for applying example is illustrated.
The display methods of dynamic image provided by the embodiments of the present application may include: that electronic equipment 100 obtains Folding screen The degree of state change.In response to the degree of the state change of Folding screen, electronic equipment 100 plays the first media file.This One media file includes multiple image.
Wherein, above-mentioned state change includes: the angle α of A screen and B screen from large to small or the angle α of A screen and B screen is by small Become larger.For example, above-mentioned state change, which may include: angle α, becomes 0 ° from 180 °, angle α becomes 68 ° from 135 °, angle α by 70 ° become 32 °, and angle α becomes 180 ° from 0 °, and angle α, which becomes 40 ° and angle α from 20 °, becomes 150 ° etc. from 100 °.
The degree of above-mentioned state change indicates the speed of state change and the amplitude of state change.That is the state of Folding screen The degree of variation indicates: the angle of the angle of A screen and B screen speed from large to small and amplitude or A screen and B screen is by small change Big speed and amplitude.
In the embodiment of the present application, electronic equipment 100 can be periodically detected the angle α of A screen and B screen.In some embodiments In, the α that electronic equipment 100 can be arrived according to the α and a upper cycle detection that current period detects, the state for calculating Folding screen becomes The speed and amplitude of change.For example, the above-mentioned period can be 0.1 second (s), 0.05s, 0.01s or 0.001 second etc..Wherein, The length that electronic equipment 100 detects the period of angle α determines electronic equipment 100 to the sampling precision of angle α.Wherein, the period Smaller, sampling precision is higher;Period is bigger, and sampling precision is lower.
For example, by taking the above-mentioned period is 0.1s as an example.Assuming that electronic equipment 100 detects α=0 ° at the moment 1, after 0.1s At the time of 2 detect α=30 °.So, electronic equipment 100 can determine in this 0.1 second, and the angle of A screen and B screen is by small change (for example, becoming 30 ° from 0 °) greatly, and the amplitude of state change is 30 ° (30 ° -0 °=30 °), the speed of state change is (i.e. fast Degree) it is 300 ° per second.
If electronic equipment 100 detects α=60 ° at moment 3 (at the time of after the 0.1s at moment 2), electronic equipment 100 is just It can determine in this 0.1 second moment 2 to moment 3, the angle of A screen and B screen changes from small to big (for example, becoming 60 ° from 30 °), and shape The amplitude of state variation is 30 ° (60 ° -30 °=30 °), and the speed (i.e. speed) of state change is 300 ° per second.
If electronic equipment 100 detects α=120 °, electronic equipment 100 at moment 4 (at the time of after the 0.1s at moment 3) It can determine in this 0.1 second moment at moment 3- 4, the angle of A screen and B screen changes from small to big (for example, becoming 120 ° from 60 °), and The amplitude of state change is 60 ° (120 ° -60 °=60 °), and the speed of state change is 600 ° per second.
If electronic equipment 100 detects α=180 °, electronic equipment 100 at moment 5 (at the time of after the 0.1s at moment 4) It can determine in this 0.1 second moment at moment 4- 5, the angle of A screen and B screen changes from small to big (for example, becoming 180 ° from 120 °), and The amplitude of state change is 60 ° (180 ° -120 °=60 °), and the speed of state change is 600 ° per second.
If electronic equipment 100 detects α=120 °, electronic equipment 100 at moment 6 (at the time of after the 0.1s at moment 6) Can determine in this 0.1 second moment at moment 5- 6, the angle of A screen and B screen from large to small (for example, becoming 120 ° from 180 °), and The amplitude of state change is 60 ° (180 ° -120 °=60 °), and the speed of state change is 600 ° per second.
For another example by taking the above-mentioned sampling period is 0.03s as an example.Assuming that electronic equipment 100 detected α=0 ° at the 0th second, 0.03s detects α=1 °.So, electronic equipment 100 can determine in this 0.03 second, and the angle of A screen and B screen is by small change (for example, becoming 1 ° from 0 °) greatly, and the amplitude of state change is 1 ° (1 ° -0 °=1 °), the speed (i.e. speed) of state change is 33.3 ° per second.
If electronic equipment 100 detects α=2 ° in 0.06s, electronic equipment 100 can be determined and be arrived in 0.03s Between 0.06s, the angle of A screen and B screen changes from small to big (for example, becoming 2 ° from 1 °), and the amplitude of state change is 1 °, state The speed (i.e. speed) of variation is 33.3 ° per second.
If electronic equipment 100 detects α=4 ° in 0.09s, electronic equipment 100 can be determined and be arrived in 0.06s Between 0.09s, the angle of A screen and B screen changes from small to big (for example, becoming 4 ° from 2 °), and the amplitude of state change is 2 °, state The speed of variation is 66.6 ° per second.
If electronic equipment 100 detects α=6 ° in 0.12s, electronic equipment 100 can be determined and be arrived in 0.09s Between 0.12s, the angle of A screen and B screen changes from small to big (for example, becoming 6 ° from 4 °), and the amplitude of state change is 2 ° (180 ° -120 °=60 °), the speed of state change are 66.6 ° per second.
If electronic equipment 100 detects α=120 ° in 3.6s, α=118 ° are detected in 3.63s, then electronics is set Standby 100 can determine between 3.6s to 3.63s that the angle of A screen and B screen from 120 ° from large to small (for example, become 118 °), and the amplitude of state change is 2 °, the speed of state change is 66.6 ° per second.
In further embodiments, electronic equipment 100 can be periodically detected A screen and B screen angle α and A screen it is opposite In the rotation speed of B screen.The α that electronic equipment 100 can be arrived according to the α and a upper cycle detection that current period detects is calculated The amplitude of the state change of Folding screen.Electronic equipment 100 can be fast relative to the rotation of B screen according to the A screen that current period detects Degree, calculates the speed of the state change of Folding screen.
Wherein, A screen is faster relative to the rotation speed of B screen, the state change of Folding screen it is faster;A screen is relative to B screen Rotation speed is slower, the state change of Folding screen it is slower.An acceleration can be set in the A screen and B screen of electronic equipment 100 Spend sensor.Acceleration transducer in A screen is used to measure acceleration of motion (i.e. A when A screen is rotated around folded edge or Folding screen The acceleration of motion of screen).The movement that acceleration transducer in B screen is used to measure when B screen is rotated around folded edge or Folding screen adds Speed (i.e. the acceleration of motion of B screen).Electronic equipment 100 can be counted according to the acceleration of motion of A screen and the acceleration of motion of B screen Calculate rotation speed of the A screen relative to B screen.It should be noted that electronic equipment can also become according to the angle between A screen and B screen Change, to determine rotation speed of the A screen relative to B screen.
Wherein, it may include: the state change when Folding screen that electronic equipment 100, which plays the concrete mode of the first media file, When faster, the frame per second that electronic equipment 100 plays the first media file is bigger;When the state change of Folding screen is slower, electronics is set The frame per second of the first media file of standby 100 broadcasting is smaller;When the amplitude of the state change of Folding screen is bigger, electronic equipment 100 is broadcast The content for putting the first media file is more;When the amplitude of the state change of Folding screen is smaller, electronic equipment 100 plays the first matchmaker The content of body file is fewer.Wherein, the frame per second refers to display screen (such as Folding screen) the display frame number per second of electronic equipment 100 (Frames per Second, FPS).
In conjunction with examples detailed above, by taking moment at moment 2- 3 and moment at moment 3- 4 as an example.In this 0.1 second moment at moment 2- 3, fold The amplitude of the state change of screen is 30 °, and the speed of state change is 300 ° per second.In this 0.1 second moment at moment 3- 4, Folding screen The amplitude of state change be 60 °, the speed of state change is 600 ° per second.
It should be noted that electronic equipment 100 is after the moment 3 detects α=60 °, it can be in 4 this 0.1s of moment at moment 3- It is interior, the first media file is played according to the state change of this 0.1s interior folding screen of moment at moment 2- 3.Assuming that electronic equipment 100 exists The image A in the first media file is played in 4 this 0.1s of moment at moment 3-.Wherein, image A includes m frame image, m >=1.
Electronic equipment 100, can be in 5 this 0.1s of moment at moment 4-, according to moment 3- after the moment 4 detects α=120 ° The state change of this 0.1s interior folding screen of moment 4 plays the first media file.Assuming that electronic equipment 100 the moment at moment 4- 5 this The image B in the first media file is played in 0.1s.Wherein, image B includes n frame image, n >=1.Wherein, above-mentioned m frame image and N frame image can be the different images in the first media file.
In the embodiment of the present application, since the amplitude (60 °) of the state change of this 0.1 second interior folding screen of moment at moment 3- 4 is big In the amplitude (30 °) of the state change of 3 this 0.1 second interior folding screen of moment at moment 2-;Therefore, the content of above-mentioned image B and image A Content compare, the content of image B is more, i.e. n be greater than m.
Also, since the state change of this 0.1 second interior folding screen of moment at moment 3- 4 (600 ° per second) is faster than the moment at moment 2- The state change (300 ° per second) of 3 this 0.1 second interior folding screen;Therefore, electronic equipment 100 is broadcast in 5 this period of moment at moment 4- The frame per second for stating image B (i.e. n frame image) is put greater than electronic equipment 100 in the above-mentioned image A of broadcasting 4 this period of moment at moment 3- The frame per second of (i.e. m frame image).
It, can be by the display of the speed of the variable angle of A screen and B screen and amplitude and electronic equipment 100 in the embodiment of the present application Content association is got up so that the display content of electronic equipment 100 with the variation of above-mentioned angle dynamic change, electronics can be promoted The Man machine interaction of equipment.
In some embodiments of the application, when electronic equipment 100 plays the first media file, the content of broadcasting can be with A There are preset functional relations for the angle α of screen and B screen.For example, the content played includes y frame image, above-mentioned preset function Relationship can be with are as follows: y=k α, k > 0, α ∈ [0 °, 180 °].
It should be noted that after electronic equipment 100 detects the state change of Folding screen every time, the first media for being played The content of file be the A screen and B screen detected according to this angle and the last A screen and B screen detected angle it is true Fixed.
For example, electronic equipment 100 this when playing first media file, the value range of the angle α of A screen and B screen be [a, b].A is last (such as moment: the angle (such as 60 °) of the A screen and B screen that 02) detect.B is that this (such as moment: 03) is detected A screen and B screen angle (such as 120 °).Electronic equipment 100 can utilize above-mentioned preset letter according to the value range [a, b] of α Number relationship calculates the content of the first media file of this secondary broadcasting.
That is, above-mentioned electronic equipment can be in response to the angle α of the first screen and the second screen in α1To α2The journey of variation Degree plays the y in the first media file1Frame image is to y2Frame image.Wherein, there are preset functional relations with α by y;Work as α =α1When, y=y1;As α=α2When, y=y2.Above-mentioned [a, b] is [α1, α2], a=α1, b=α2
Illustratively, by the first media file be include playing the video file of the open process dynamics image of flower for. Assuming that the first media file include 180 frame images, above-mentioned preset functional relation be y=α shown in Fig. 10, α ∈ [0 °, 180°].Wherein, the 1st frame image of the first media file is the image that flower has just germinateed.
Wherein, the method for the embodiment of the present application can be applied to the expansion of Folding screen forward direction (i.e. A screen and the B of electronic equipment 100 The angle α of screen changes from small to big, and gradually becomes 60 ° by 30 ° as α gradually becomes 180 ° or α by 0 °) during.It is set with electronics For standby 100 Folding screen is unfolded from 0 ° to 180 ° of forward directions, electronic equipment 100 can play in order the 1st in above-mentioned 180 frame image Frame image, the 2nd frame image ..., the 179th frame image and the 180th frame image, the dynamic that flower gradually opens is presented to user Image.
For example, (b-1) in (a-1), Fig. 9 in Fig. 9, (d-1) in (c-1) and Fig. 9 in Fig. 9 show electronic equipment Solid shape schematic diagram when 100 A screen and the angle of B screen are different angle.(b-2), Fig. 9 in (a-2), Fig. 9 in Fig. 9 In (c-2) and Fig. 9 in (d-2) side view when angle of A screen and B screen is different angle is shown.
In conjunction with examples detailed above, electronic equipment 100 detects α=0 ° at the above-mentioned moment 1, the above-mentioned moment 2 detect α= 30°.Electronic equipment 100 can play the 1st frame image of the first media file with frame per second 1 within this 0.1 second moment at moment 2- 3 To this 30 frame image of the 30th frame image.I.e. electronic equipment 100 can show that flower is presented gradually grows up into Fig. 9 from just germinateing (a-1) 30 frame images of the open state of two petals shown in image 901 shown in.Wherein, shown in (a-1) in Fig. 9 Image 901 is the 30th frame image of the first media file.
Electronic equipment 100 detects α=60 ° at the moment 3.I.e. the angle α of A screen and B screen was this 0.1 second 2- moment at moment 3 Interior become larger by 30 ° is 60 °.Electronic equipment 100 can play the first media text within this 0.1 second moment at moment 3- 4 with frame per second 2 This 30 frame image of the 31st frame image to the 60th frame image of part.I.e. electronic equipment 100, which can be shown, is presented flower from the (a- in Fig. 9 1) the open state of two petals shown in image 901 shown in is gradually grown up 902 institute of image shown in (b-1) into Fig. 9 30 frame images of the open state of four petals shown.Wherein, image 902 shown in (b-1) in Fig. 9 is the first media file The 60th frame image.Wherein, since in this 0.1 second moment at moment 2- 3, the speed (i.e. speed) of the state change of Folding screen is every 300 ° of second;In this 0.1 second moment at moment 1- 2, the speed (i.e. speed) of the state change of Folding screen is also 300 ° per second;Therefore, Frame per second 2 can be equal to frame per second 1.
Electronic equipment 100 detects α=120 ° at the moment 4.I.e. the angle α of A screen and B screen was this 0.1 second 3- moment at moment 4 Interior become larger by 60 ° is 120 °.Electronic equipment 100 can play the first media text within this 0.1 second moment at moment 4- 5 with frame per second 3 This 60 frame image of the 61st frame image to the 120th frame image of part.I.e. electronic equipment 100, which can be shown, is presented flower from the (b- in Fig. 9 1) the open state of four petals shown in image 902 shown in is gradually grown up 903 institute of image shown in (c-1) into Fig. 9 60 frame images of the open state of six petals shown.Wherein, image 903 shown in (c-1) in Fig. 9 is the first media file The 120th frame image.Wherein, due in this 0.1 second moment at moment 3- 4, the speed (i.e. speed) of the state change of Folding screen is 600 ° per second;Therefore, frame per second 3 can be greater than above-mentioned frame per second 1 and frame per second 2.
Electronic equipment 100 detects α=180 ° at the moment 5.I.e. the angle α of A screen and B screen was this 0.1 second 4- moment at moment 5 Interior become larger by 120 ° is 180 °.Electronic equipment 100 can play the first media within this 0.1 second moment at moment 5- 6 with frame per second 4 This 60 frame image of the 121st frame image to the 180th frame image of file.I.e. electronic equipment 100, which can be shown, is presented flower from Fig. 9 (c-1) the open state of six petals shown in image 903 shown in is gradually grown up image 904 shown in (d-1) into Fig. 9 Shown in the open state of seven petals 60 frame images.Wherein, image 904 shown in (d-1) in Fig. 9 is the first media text 180th frame image of part.Wherein, due in this 0.1 second moment at moment 4- 5, the speed (i.e. speed) of the state change of Folding screen It is 600 ° per second;Therefore, frame per second 4 can be equal to above-mentioned frame per second 3.
Assuming that electronic equipment 100 determines in this state change, A screen and B after detecting the variation of Folding screen generating state The value range of the angle α of screen is [a, b].
In some embodiments, when electronic equipment 100 plays the first media file, α value in [a, b] can be playd in order Each frame image in the content of the first corresponding media file.In this embodiment, above-mentioned frame per second 1 is 300 frame per second, on Stating frame per second 2 is 300 frame per second, and above-mentioned frame per second 3 is 600 frame per second, and above-mentioned frame per second 4 is 600 frame per second.In general, video is broadcast Put frame per second be 300 frames or 600 frame when, play frame rate is too big, electronic equipment may not support or even if support user experience Also very bad.So in a specific embodiment, above-mentioned frame per second 1 and frame per second 2 can be 30 frame per second, frame per second 3 and frame per second 4 It can be 60 frame per second.
In further embodiments, if the corresponding frame per second of the speed of the state change of Folding screen (such as above-mentioned frame per second 1) is big In default maximum frame per second, electronic equipment 100 can play the first content in the first media file with default maximum frame per second.This One content is multiple image corresponding with above-mentioned state change in the first media file.
For example, first content is the 1st frame image to the 30th frame image of the first media file with frame per second 1 for 300 frame per second For.Default maximum frame per second is 60 frame per second.Since frame per second 1 is greater than default maximum frame per second;Therefore, electronic equipment 100 can be with The frame per second of 60 frame per second plays above-mentioned 1st frame image to the 30th frame image.
In one implementation, electronic equipment 100 can play in order above-mentioned 1st frame image with the frame per second of 60 frame per second To this 30 frame image of the 30th frame image.In the implementation, after the A screen and static B screen of electronic equipment, picture frame will also be after A period of time is put in continued broadcasting.
In another implementation, electronic equipment 100 can selectively be broadcast with default maximum frame per second (60 frame such as per second) Put first content (i.e. y1Frame image is to y2Frame image, such as the 1st frame image to the 30th frame image) in partial content.
Wherein, it is randomly selected from first content to can be electronic equipment 100 for above-mentioned partial content.For example, electronics is set Standby 100 can play in order the 1st frame image, the 5th frame image, the 8th frame image, the 9th frame image, the 10th with the frame per second of 60 frame per second Frame image, the 22nd frame image, the 26th frame image and the 30th frame image.
It is selected from first content alternatively, above-mentioned partial content can be electronic equipment 100 according to certain interval (such as N frame) It selects.For example, N=1 perhaps N=2 or N=3 etc..By taking N=2 as an example, electronic equipment can with the frame per second of 60 frame per second, according to Secondary 1st frame image, the 3rd frame image, the 5th frame image, the 7th frame image ..., the 29th frame image and the 30th frame image.
In the embodiment of the present application, 100 selectivity of electronic equipment plays above-mentioned first content (i.e. y1Frame image is to y2Frame Image) when, no matter electronic equipment 100 selects above-mentioned partial content, the last frame figure that electronic equipment 100 plays in which way As being y2Frame image.
It should be noted that in the embodiment of the present application, if the corresponding frame per second of the speed of the state change of Folding screen is (as above State frame per second 1) it is less than or presets maximum frame per second, electronic equipment 100 can be with the corresponding frame of the speed of the state change of Folding screen Rate plays in order above-mentioned first content (i.e. y1Frame image is to y2Frame image) in each frame image.
The method of the embodiment of the present application can also be applied to Folding screen reverse folded (i.e. the A screen and B screen of electronic equipment 100 Angle α from large to small, gradually become 60 ° by 120 ° as α gradually becomes 0 ° or α by 180 °) during.
By taking the Folding screen of electronic equipment 100 is unfolded from 180 ° to 0 ° of forward direction as an example, electronic equipment 100 can play in order above-mentioned The 180th frame image, the 179th frame image in M frame image ..., the 2nd frame image and the 1st frame image, flower is presented to user The gradually dynamic image of open reverse process.
In conjunction with examples detailed above, it is assumed that electronic equipment 100 detects α=180 ° at the moment 7, in (the 0.1s at moment 7 of moment 8 At the time of afterwards) detect α=120 °.I.e. the angle α of A screen and B screen within this 0.1 second 7- moment at moment 8 by 180 ° become smaller for 120°.Electronic equipment 100 can inversely be broadcast within this 0.1 second moment at moment 8- 9 (at the time of after the 0.1s at moment 8) with frame per second 5 Put this 60 frame image of the 121st frame image to the 180th frame image of the first media file.I.e. electronic equipment 100 can show presentation flower The open state of six petals shown in youngster's image 904 shown in (d-1) in Fig. 9 gradually (c-1) of the inverse growth into Fig. 9 Shown in the open state of six petals shown in image 903 60 frame images.Wherein, frame per second 5 can be equal to above-mentioned frame per second 4.
In some embodiments, during the Folding screen forward direction of electronic equipment 100 is unfolded or is reverse folded, work as A When the angle α of screen and B screen is certain value (such as 60 °), user may stop the Folding screen of folding electronic device 100.At this point, A screen A fixed angle is positively retained at the angle of B screen.
In the embodiment of the present application, in response to the angle α of the first screen and the second screen by α1To α2The degree of variation, electronic equipment 100 play the y in the first media file1Frame image is to y2Frame image.The angle α of A screen and B screen is by α1Variation is to α2Afterwards, If α is maintained at α2Constant, electronic equipment 100 plays above-mentioned y1Frame image is to y2After frame image, can show always this y2Frame image.
In further embodiments, the angle α of A screen and B screen is by α1Variation is to α2Afterwards, if α is maintained at α2It is constant, electricity Sub- equipment 100 plays above-mentioned y1Frame image is to y2After frame image, electronic equipment 100 can also continue to play y2Frame figure N frame image as after, N >=1.For example, N=2 or N=3.
It should be noted that in the embodiment of the present application, during Folding screen is opened or folded, in the A screen and B of Folding screen Shield it is opposing stationary after, fold screen display animated image can also continue to play a period of time, such as continue play 0.1s Perhaps 0.2s or other suitable times;Then the image on Folding screen is static again.Such as: Folding screen is opened from folded state Expansion begin until 90 ° of stoppings, then electronic equipment plays the first media file according to certain frame per second, until being played to the first media A picture frame (such as the 90th frame) corresponding with 90 ° in file;When static to 90 ° of Folding screen, electronic equipment does not have also generally It is played to the 90th frame image, although electronic equipment is also to continue with broadcasting at this point, Folding screen is static, until being played to 90th frame image just stops playing.
The angle of the embodiment of the present application, A screen and B screen is maintained at above-mentioned fixed angle and refers to: electronic equipment 100 detects folding The folded non-generating state variation of screen.Assuming that after 100 last time of electronic equipment detects the variation of Folding screen generating state, using first frame Rate plays the first media file.So, electronic equipment 100 then can be maintained at a fixed angle in the angle of A screen and B screen When, above-mentioned N frame image is played using the second frame per second.Wherein, the second frame per second is less than the first frame per second.For example, the second frame per second can be The half of first frame per second.
Method provided by the embodiments of the present application, when the angle of A screen and B screen is maintained at a fixed angle, electronic equipment 100 in response to the state change of Folding screen degree, after the corresponding content for playing the first media file, will not stop broadcasting immediately Put the first media file;But continue to play the N frame image of the first media file with lesser frame per second.In this way, can fold Before the image of screen display stops variation, one vision buffer of user is given, user's visual experience can be promoted.
In further embodiments, above-mentioned preset functional relation can be for shown in Figure 11Q > 0, α ∈ [0°,180°]。
In further embodiments, above-mentioned preset functional relation can be y=p α shown in Figure 122, p > 0, α ∈ [0 °, 180°].It is appreciated that image shown by the Folding screen of electronic equipment 100 is not easy when the angle α of A screen and B screen is close to 0 ° It is seen by the user.In the present embodiment, as shown in figure 12, when the angle α of A screen and B screen is close to 0 °, the speed that y becomes larger is slower, that Frame per second used by the first media file of broadcasting of electronic equipment 100 is smaller, and the unit time plays the first media file Content is less.In this way, it is possible to reduce be not easy the frame number of image being seen by the user, user experience can be promoted.
In further embodiments, above-mentioned preset functional relation may include at least two piecewise functions.This at least two A piecewise function may include the first piecewise function and the second piecewise function.In first piecewise function, the angle α of A screen and B screen Value range is the first subinterval.In second piecewise function, the value range of the angle α of A screen and B screen is the second subinterval.The The value range of the angle α of one subinterval and the second subinterval composition A screen and B screen, such as [0 °, 180 °].
For example, above-mentioned preset functional relation may include: y=p α shown in Figure 132, p > 0, α ∈ [0 °, u °];R > 0, α ∈ [u °, 180 °].That is the first piecewise function is y=p α2, the first subinterval is [0 °, u °].Second Piecewise function isSecond subinterval is [u °, 180 °].
In the present embodiment, as shown in figure 13, when the angle α of A screen and B screen is close to 0 °, the speed that y becomes larger is slower, then Frame per second used by the first media file of broadcasting of electronic equipment 100 is smaller, and the unit time plays the interior of the first media file Hold less.In this way, it is possible to reduce be not easy the frame number of image being seen by the user, user experience can be promoted.
In general, user may slowly stop folding Folding screen when the angle α of A screen and B screen is close to 180 °, make A The angle α of screen and B screen is maintained at 180 °.As shown in figure 13, when the angle α of A screen and B screen is close to 180 °, speed that y becomes larger compared with Slowly, then frame per second used by the first media file of broadcasting of electronic equipment 100 is smaller, and the unit time plays the first media text The content of part is less.In this way, the played image of electronic equipment 100 can be reduced when the angle α of A screen and B screen is close to 180 ° Switch speed can promote user's visual experience so that electronic equipment 100 shows the first media file with slower speed.
It should be noted that in the case where preset functional relation is any of the above-described functional relation, electronic equipment 100 The expansion of Folding screen forward direction and reverse folded same frame image during the two, in corresponding first media file of same angle. For example, it is assumed that during the Folding screen forward direction expansion of electronic equipment 100, when angle α=30 ° of A screen and B screen, the first image It is a frame image;When angle α=65 ° of A screen and B screen, the first image is b frame image.So, the folding of electronic equipment 100 Shield it is reverse folded during, when angle α=30 ° of A screen and B screen, the first image is also a frame image;The folder of A screen and B screen When α=65 ° of angle, the first image is also b frame image.In the embodiment of the present application, will " Folding screen forward direction expansion and it is reverse folded In the process, the same frame image in corresponding first media file of same angle " is known as: the frame for the image that electronic equipment 100 plays Number (i.e. y) with the angle α correlation of A screen and B screen.
And in further embodiments, the Folding screen forward direction of electronic equipment 100 expansion and reverse folded during the two, The image of different frame in corresponding first media file of same angle.It, will " Folding screen forward direction expansion and anti-in the embodiment of the present application During folding, the image of the different frame in corresponding first media file of same angle " it is known as: electronic equipment 100 plays Image frame number (i.e. y) with the angle α negative correlation of A screen and B screen.
In this embodiment, above-mentioned preset functional relation can be with are as follows: during α is 180 ° by 0 ° of variation, y=h α, h >0;During α is 0 ° by 180 ° of variations, α=h × (360 ° of-α), h > 0.For example, it is assumed that h=0.5, above-mentioned preset function It is as shown in Figure 14 A: during α is 180 ° by 0 ° of variation, y=0.5 α;During α is 0 ° by 180 ° of variations, y=180 °- 0.5α。
For example, during the Folding screen forward direction expansion of electronic equipment 100, to include 180 frame figures in the first media file During the angle α of picture, A screen and B screen changes from small to big, for α=30 °, α=120 ° and α=180 °.In fig. 14b (a), it is shown when the A screen of electronic equipment 100 and the angle of B screen are different angle in (b) in Figure 14 B and (c) in Figure 14 B Solid shape schematic diagram.
Illustratively, by the first media file be include playing the video file of the open process dynamics image of flower for. Assuming that the first media file includes 180 frame images, above-mentioned preset function is as shown in Figure 14 A: the process that α is 180 ° by 0 ° of variation In, y=0.5 α;During α is 0 ° by 180 ° of variations, y=180 ° -0.5 α.1st frame image of the first media file is flower The image just to have germinateed.
Assuming that electronic equipment 100 detects α=0 ° at the moment 10, detected at moment 11 (at the time of after the 0.1s at moment 10) To α=30 °.Electronic equipment 100 can play the within this 0.1 second moment at moment 11- 12 (at the time of after the 0.1s at moment 11) This 15 frame image of the 1st frame image to the 15th frame image of one media file.I.e. electronic equipment 100, which can be shown, is presented flower from just Germination is gradually grown up to 15 frame images of the open state of two petals shown in image 1401 shown in (a) in Figure 14 B.Its In, as shown in Figure 14 A, α=15 y=0.5, i.e. image 1401 shown in (a) in Figure 14 B is the 15th frame of the first media file Image.It should be noted that moment 10 and above-mentioned moment 9 are in time without precedence relationship.
Electronic equipment 100 detects α=120 ° at the moment 12.I.e. the angle α of A screen and B screen the 11- moment at moment 12 this Being become larger in 0.1 second by 30 ° is 120 °.Electronic equipment 100 can the moment at moment 12- 13 (at the time of after the 0.1s at moment 12) this In 0.1 second, this 45 frame image of the 16th frame image to the 60th frame image of the first media file is played.I.e. electronic equipment 100 can be shown Show that flower, which is presented, gradually grows up from the open state of two petals shown in image 1401 shown in (a) in Figure 14 B to Figure 14 B In (b) shown in the open state of four petals shown in image 1402 45 frame images.Wherein, as shown in Figure 14 A, y= 0.5 α=60, i.e. image 1402 shown in (b) in Figure 14 B are the 60th frame images of the first media file.
Electronic equipment 100 detects α=180 ° at the moment 13.I.e. the angle α of A screen and B screen the 12- moment at moment 13 this Being become larger in 0.1 second by 120 ° is 180 °.Electronic equipment 100 can be at moment at moment 13- 14 (at the time of after the 0.1s at moment 13) In this 0.1 second, this 30 frame image of the 61st frame image to the 90th frame image of the first media file is played.I.e. electronic equipment 100 can Display is presented flower and gradually grows up from the open state of four petals shown in image 1402 shown in (b) in Figure 14 B to figure 30 frame images of the open state of six petals shown in image 1403 shown in (c) in 14B.Wherein, as shown in Figure 14 A, y Image 1403 shown in (c) in=0.5 α=90, Figure 14 B is the 90th frame image of the first media file.
In conclusion electronic equipment 100 can play multiframe figure during the Folding screen forward direction expansion of electronic equipment 100 Picture, the open petal quantity of flower is more and more in the multiple image, and electronic equipment 100 can be presented flower to user and gradually open The dynamic image put.
During the Folding screen of electronic equipment 100 is reverse folded, with the process of the angle α of A screen and B screen from large to small In, for α=180 °, α=120 ° and α=30 °.Show in (e) in (d) and Figure 14 B in (c) in fig. 14b, Figure 14 B Solid shape schematic diagram when the A screen of electronic equipment 100 and the angle of B screen are different angle out.
In conjunction with examples detailed above, electronic equipment 100 detects α=120 ° at the moment 14.That is the angle α of A screen and B screen is at the moment Being become smaller in this 0.1 second 13- moment 14 by 180 ° is 120 °.Electronic equipment 100 can the moment at moment 14- 15 (moment 14 At the time of after 0.1s) in this 0.1 second, this 30 frame figure of the 91st frame image to the 120th frame image of the first media file of reverse play Picture.I.e. electronic equipment 100 can show that six petals shown in flower image 1403 shown in (c) in Figure 14 B are presented is open State gradually grow up to 30 frame images of the open state of seven petals shown in image 1404 shown in (d) in Figure 14 B. Wherein, as shown in Figure 14 A, image 1404 shown in (d) in y=180 ° -0.5 α=120, Figure 14 B is the first media file 120th frame image.
Electronic equipment 100 detects α=30 ° at the moment 15.I.e. the angle α of A screen and B screen the 14- moment at moment 15 this 0.1 Being become smaller in second by 120 ° is 30 °.Electronic equipment 100 can the moment at moment 15- 16 (at the time of after the 0.1s at moment 15) this 0.1 In second, this 45 frame image of the 121st frame image to the 165th frame image of the first media file of reverse play.I.e. electronic equipment 100 can Display is presented flower and gradually grows up from the open state of seven petals shown in image 1404 shown in (d) in Figure 14 B to figure 45 frame images of the open state of eight petals shown in image 1405 shown in (e) in 14B.Wherein, as shown in Figure 14 A, y Image 1405 shown in (e) in=180 ° of -0.5 α=165, Figure 14 B is the 165th frame image of the first media file.
In conclusion electronic equipment 100 can play multiframe figure during the Folding screen of electronic equipment 100 is reverse folded Picture, the open petal quantity of flower is more and more in the multiple image, and electronic equipment 100 can be presented flower to user and gradually open The dynamic image for the reverse process put.
Seen from the above description: the Folding screen forward direction of electronic equipment 100 expansion and reverse folded during the two, it is same Angle corresponds to the image of different frame.For example, as shown in Figure 14 A, during the Folding screen forward direction expansion of electronic equipment 100, A screen When with angle α=30 ° of B screen, y=15.That is the corresponding 15th frame image in angle α=30 ° of A screen and B screen;The angle of A screen and B screen When α=120 °, y=60.That is the corresponding 60th frame image in angle α=120 ° of A screen and B screen.
And during the Folding screen of electronic equipment 100 is reverse folded, when angle α=30 ° of A screen and B screen, y=165. That is the corresponding 165th frame image in angle α=30 ° of A screen and B screen;When angle α=120 ° of A screen and B screen, y=120.That is A screen and B Corresponding first image in angle α=120 ° of screen is the 120th frame image.
It should be noted that being changed in the angle α of A screen and B screen by 0 ° is 180 °, then the process for being 0 ° by 180 ° of variations In, the image that electronic equipment 100 plays includes but is not limited to above-mentioned five frames image.
In some instances, the A screen of electronic equipment 100 and B screen can be used as an entirety, common to play the first media text Part.For example, when electronic equipment 100 plays each frame image of the first media file, A screen can be shown as shown in Fig. 9 or Figure 14 B Show a part of this frame image, B screen can show another part of this frame image.
And in further embodiments, the A screen and B screen of electronic equipment 100 can play the first media file respectively.Its In, in synchronization, A screen and B screen can play the same frame image of the first media file.For example, such as (a), figure in Figure 15 Shown in (c) in (b) and Figure 15 in 15, with the variation of A screen and the angle α of B screen, A screen and B screen can show same frame figure Picture.Wherein, in (a) in Figure 15, A screen and B screen show image 1501.Optionally, when angle α=180 ° of A screen and B screen When, A screen and B screen can be used as an entirety and play the first media file jointly.For example, as shown in (d) in Figure 15, A screen and B When angle α=180 ° of screen, A screen and B screen can be used as an entirety and show image 1502 jointly.
In other examples, above-mentioned first media file can be played by any screen in A screen or B screen.Optionally, when When A screen and B screen are fully deployed, A screen and B screen can be used as an entirety and play the first media file jointly.
In the embodiment of the present application, electronic equipment 100 can obtain the angle α of A screen and B screen by sensor.In some implementations In example, gyro sensor is provided in A screen and B screen.Electronic equipment 100 can be passed by the gyroscope being arranged in A screen and B screen Sensor obtains A screen and the flat angle α of B.
Specifically, being provided with gyro sensor A in A screen, B screen is provided with gyro sensor B.Gyro sensor A Can be used for detecting direction of the A screen in the coordinate system of gyro sensor A direction vector (direction of the direction of abbreviation A screen to Amount, vector z1 as shown in Figure 7).Gyro sensor B can be used for detecting court of the B screen in the coordinate system of gyro sensor B To direction vector (direction vector of the direction of abbreviation B screen, vector z2 as shown in Figure 7).
Wherein, vector z1 is perpendicular to A screen, and vector z2 is perpendicular to B screen.Then, electronic equipment 100 utilizes above-mentioned formula (1), The angle theta of outgoing vector z1 Yu vector z2 can be calculated.As shown in fig. 7, angle α=180 °-the θ of A screen and B screen.
In one implementation, due to α=180 °-θ;Therefore, vector z1 and vector is being calculated in electronic equipment 100 After the angle theta of z2, the variation of angle α can be determined by α=180 °-θ according to the variation of θ.In another implementation, α=180 °-θ can be used after the angle theta of vector z1 and vector z2 is calculated in electronic equipment 100, calculates the folder of A screen and B screen Angle α, to detect the variation to the angle α of A screen and B screen.
In further embodiments, the angle α of A screen and B screen can also be measured by other one or more sensors.Example Such as, acceleration transducer is provided in A screen and B screen.Electronic equipment 100 can be by the acceleration sensing that is arranged in A screen and B screen Device obtains A screen and the flat angle α of B.
Specifically, being provided with acceleration transducer A in A screen, B screen is provided with acceleration transducer B.Acceleration transducer A It can be used for detecting the direction vector of acceleration of motion when A screen is rotated around folded edge or folding shaft.Acceleration transducer B can be used for Detect the direction vector of acceleration of motion when B screen is rotated around folded edge or folding shaft.Electronic equipment 100 can be according to the fortune of A screen The direction vector of the acceleration of motion of the direction vector and B screen of dynamic acceleration, is calculated rotation angle of the A screen relative to B screen, That is the angle α of A screen and B screen.
In some embodiments, before electronic equipment 100 shows the first image, the scene of available electronic equipment 100 Information.The scene information may include at least one in temporal information, location information and Weather information.Then, electronic equipment 100 can obtain the first media file corresponding with the scene information from one or more media files.Finally, electronics is set Standby 100 can play first media file according to the angle of A screen and B screen.
In one implementation, multiple scene informations and each scene information pair can be saved in electronic equipment 100 The media file answered.It, can be from one or more matchmakers of electronic equipment preservation after electronic equipment 100 gets above-mentioned scene information In body file, the first media file corresponding with the scene information is searched.
In another implementation, above-mentioned multiple scene informations and each scene can be saved in electronic equipment 100 The mark of the corresponding media file of information.One or more media files and each media file can be saved in Cloud Server Mark.It, can be to Cloud Server after electronic equipment 100 gets the mark of the first media file corresponding with above-mentioned scene information Send the mark of first media file.Cloud Server can according to the first media file of identifier lookup of the first media file, And the first media file is sent to electronic equipment 100.
In another implementation, above-mentioned multiple scene informations and each scene letter can be saved in Cloud Server Cease corresponding media file.After electronic equipment 100 gets above-mentioned scene information, scene letter can be sent to Cloud Server Breath searches the first media file corresponding with above-mentioned scene information by Cloud Server.Cloud Server finds the first media file Afterwards, first media file can be sent to electronic equipment 100.
On the one hand, in the embodiment of the present application, multiple temporal informations can be marked off according to different dimensions.
For example, above-mentioned multiple temporal informations may include spring, summer, autumn, four seasons of winter.Each season can correspond to one Media file.Such as, spring can correspond to the media file for playing spring scenery, and summer can correspond to the media for playing summer scenery File, autumn can correspond to the media file for playing autumn scenery, and winter can correspond to the media file for playing winter scenes.It lifts For example, if the temporal information that electronic equipment 100 gets electronic equipment 100 is spring, above-mentioned first media file is The media file of above-mentioned broadcasting spring scenery.
In another example above-mentioned multiple temporal informations may include multiple periods in one day.It such as was made as example with 24 hours, on Stating temporal information may include following 6 periods: 22:00-02:00,02:00-06:00,06:00-10:00,10:00-14: 00,14:00-18:00,18:00-22:00.The different periods corresponds to different media files.
In another example above-mentioned multiple temporal informations may include daytime (6:00-18:00) and at night (18:00-00:00 and 00:00-6:00).Daytime and corresponding different media file at night.Daytime and corresponding different media file at night.
It should be noted that the first media file is that one in one or more media files is complete in above-described embodiment Whole media file.And in further embodiments, above-mentioned first media file can also be media file (such as second matchmaker Body file) a part, a rather than complete media file.Specifically, a media file may include multiple image, it should Multiple image can be divided into N parts, every a corresponding scene information.
For example, by taking above-mentioned multiple temporal informations include spring, summer, autumn, four seasons of winter as an example.One media file can wrap Multiple image is included, which can be divided into four parts (being such as equally divided into four parts), one season of every part of correspondence.For example, Assuming that a media file X includes 60 frame images.In the 60 frame image, 1-15 frame image taking be spring scenery, 16-30 frame image taking be summer scenery, 31-45 frame image taking be autumn scenery, 46-60 frame image What is shot is the scenery in winter.For example, if the temporal information that electronic equipment 100 gets electronic equipment 100 is summer, Then above-mentioned first media file includes 16-30 frame image in above-mentioned media file X.
In another example by taking above-mentioned temporal information includes above-mentioned 6 periods as an example.Assuming that a media file Y includes 60 frames Image.In the 60 frame image, 1-10 frame image corresponds to period 22:00-02:00, and 11-20 frame image corresponds to the period 02:00-06:00,21-30 frame image correspond to period 06:00-10:00, and 31-40 frame image corresponds to period 10:00- 14:00,41-50 frame image correspond to period 14:00-18:00, and 51-60 frame image corresponds to period 18:00-22:00. For example, if the temporal information that electronic equipment 100 gets electronic equipment 100 is 8:00, since 8:00 belongs to the period 06:00-10:00;Therefore, above-mentioned first media file includes 21-30 frame image in above-mentioned media file Y.
On the other hand, in the embodiment of the present application, multiple location informations can be marked off according to different dimensions.
For example, above-mentioned multiple location informations may include the position according to user's daily routines region division.Such as, family, public affairs Department, school and commercial circle etc..Different zone of action corresponds to different media files.For example, zone of action " family " corresponding user claps The media file for the family daily life taken the photograph.The media file of the school life of the corresponding child in zone of action " study ".
In another example above-mentioned location information may include multiple sight spots etc..Different sight spots corresponds to different media files. Such as, the corresponding media file for playing the Forbidden City scenery of the Forbidden City, the corresponding media file for playing Huashan scenery in the Huashan.In another example above-mentioned Location information may include local and other places.Locally refer to user often movable area.
On the other hand, in the embodiment of the present application, multiple Weather informations can be marked off according to different weather conditions.Example Such as, above-mentioned multiple Weather informations may include: fine day, cloudy day, rainy day and snowy day etc..Different Weather informations can correspond to difference Media file.
It should be noted that above-mentioned multiple scene informations include but is not limited to show in examples detailed above in the embodiment of the present application Temporal information, location information and Weather information out, and above-mentioned temporal information, location information and Weather information include but unlimited The temporal information shown in examples detailed above, location information and Weather information.
In some embodiments, above-mentioned scene information may include in temporal information, location information and Weather information extremely It is two few.For example, by taking above-mentioned scene information includes temporal information and location information as an example.When above-mentioned scene information may include Between information and when location information, above-mentioned first media file is that the temporal information obtained with electronic equipment 100 and location information are equal Corresponding media file.
In further embodiments, above-mentioned first media file may include the first subfile and the second subfile.First It include a frame or multiple image in subfile and the second subfile.During the Folding screen forward direction expansion of electronic equipment 100, Electronic equipment 100 can play the first subfile.During the Folding screen of electronic equipment 100 is reverse folded, electronic equipment 100 can Play the second subfile.Wherein, electronic equipment 100 plays the concrete mode of the first subfile and the second subfile, can refer to The method that electronic equipment 100 plays the first media file in examples detailed above, it will not go into details here for present application example.
That is, electronic equipment 100 can be unfolded in Folding screen forward direction and reverse folded process in present application example In, play different files (such as the first subfile and the second subfile).In this way, the angle of A screen and B screen can be made to become larger and become Image content shown by electronic equipment 100 is more abundant during small, can promote the usage experience of user.
In some embodiments, the embodiment of the present application also provides a kind of display methods of dynamic image, and this method can answer For electronic equipment 200.Wherein, the display screen of electronic equipment 200 can not be Folding screen.This method may include: that electronics is set Standby 200 obtain the degree of the state change of electronic equipment 200.In response to the degree of 200 state change of electronic equipment, electronic equipment 200 play the first media file.First media file includes multiple image.
Wherein, above-mentioned state change include: the angle (i.e. the first angle) of electronic equipment 200 and horizontal plane change from small to big or From large to small.The degree of above-mentioned state change indicates the speed of state change and the amplitude of state change.That is state change Degree indicates: the speed and amplitude that the first angle speed from large to small and amplitude or the first angle change from small to big.
In the embodiment of the present application, electronic equipment 200 obtains the state change of electronic equipment 200 according to the variation of the first angle The method of the speed and amplitude of change can be obtained and be folded with reference to electronic equipment 100 according to the variation of A screen and the angle α of B screen The method of the speed and amplitude of the state change of screen, it will not go into details here for the embodiment of the present application.
Wherein, it may include: the shape when electronic equipment 200 that electronic equipment 200, which plays the concrete mode of the first media file, When state variation is faster, the frame per second that electronic equipment 200 plays the first media file is bigger;When the state change of electronic equipment 200 is got over When slow, the frame per second that electronic equipment 200 plays the first media file is smaller;When the amplitude of the state change of electronic equipment 200 is bigger When, the content that electronic equipment 200 plays the first media file is more;When the amplitude of the state change of electronic equipment 200 is smaller, The content that electronic equipment 200 plays the first media file is fewer.Wherein, output frame rate refers to that the display screen of electronic equipment 200 is every Second display frame number (FPS).
Wherein, the application scenarios for the method which provides at least may include above-mentioned application scenarios (1), application scenarios (2) and application scenarios (3).
In the embodiment of the present application, electronic equipment 200 and the speed and amplitude of the variable angle of horizontal plane can be set with electronics Standby 200 display content association is got up so that the display content of electronic equipment 200 with the variation of above-mentioned angle dynamic change, The Man machine interaction of electronic equipment can be promoted.
Wherein, in this embodiment, when electronic equipment 100 plays the first media file, the content of broadcasting is properly termed as y Frame image.There are preset functional relations by y and the first angle β.Wherein, the functional relation of y and β can be with reference in above-described embodiment The functional relation of y and α, it will not go into details here for the embodiment of the present application.Unlike, the value range of the first angle β can be [0 °, 90 °].
It should be noted that electronic equipment 200 detect every time electronic equipment 200 state change (i.e. the first angle by Become smaller or change from small to big greatly) after, the content of the first media file played is electronic equipment 100 to be detected according at this The first angle β, and determine in upper the first angle β for once detecting.For example, this broadcasting first of electronic equipment 100 When media file, the value range of y and the first angle β are [c, d].C is last (such as moment: the first angle 02) detected (such as 60 °).D is this (such as moment: the first angle (such as 120 °) 03) detected.Electronic equipment 100 can be according to the value of β Range [c, d] calculates the content of the first media file of this secondary broadcasting using above-mentioned preset functional relation.
Illustratively, by the first media file be include playing the video file of the open process dynamics image of flower for. Assuming that the first media file includes 90 frame images, above-mentioned preset functional relation is y=β, β ∈ [0 °, 90 °].Wherein, the first matchmaker 1st frame image of body file is the image that flower has just germinateed.
Assuming that electronic equipment 100 detects β=0 ° at the moment 17, detected at moment 18 (at the time of after the 0.1s at moment 17) To β=β1(e.g., β1=30 °).Electronic equipment 100 can the moment at moment 18- 19 (at the time of after the 0.1s at moment 18) this 0.1 In second, this 30 frame image of the 1st frame image to the 30th frame image of the first media file is played with frame per second a.I.e. electronic equipment 100 can Flower is presented from the 30 frame figures gradually grown up to the open state of two petals shown in (a) in Figure 17 that just germinate in display Picture.Wherein, image shown in (a) in Figure 17 is the 30th frame image of the first media file.It should be noted that the moment 17 with The above-mentioned moment 16 is in time without precedence relationship.
Electronic equipment 100 detects β=β at the moment 192(e.g., β2=60 °).I.e. the first angle β is at the moment at moment 18- 19 Being become larger in this 0.1 second by 30 ° is 60 °.Electronic equipment 100 can be at moment at moment 19- 20 (at the time of after the 0.1s at moment 19) In this 0.1 second, this 30 frame image of the 31st frame image to the 60th frame image of the first media file is played with frame per second b.I.e. electronics is set Standby 100 can show that flower, which is presented, gradually grows up from the open state of two petals shown in (a) in Figure 17 to (b) in Figure 17 Shown in the open state of four petals 30 frame images.Wherein, image shown in (b) in Figure 17 is the first media file 60th frame image.
Electronic equipment 100 detects β=β at the moment 203(such as β3=75 °).That is the first angle β the moment at moment 19- 20 this Being become larger in 0.1 second by 60 ° is 80 °.Electronic equipment 100 can the moment at moment 20- 21 (at the time of after the 0.1s at moment 20) this In 0.1 second, this 20 frame image of the 61st frame image to the 80th frame image of the first media file is played with frame per second c.That is electronic equipment 100 can show that flower, which is presented, gradually grows up from the open state of four petals shown in (b) in Figure 17 to (c) institute in Figure 17 20 frame images of the open state of six petals shown.Wherein, image shown in (c) in Figure 17 is the of the first media file 75 frame images.
Electronic equipment 100 detects β=β at the moment 214(such as β4=90 °).That is the first angle β the moment at moment 20- 21 this Being become larger in 0.1 second by 80 ° is 90 °.Electronic equipment 100 can the moment at moment 21- 22 (at the time of after the 0.1s at moment 21) this In 0.1 second, this 10 frame image of the 81st frame image to the 90th frame image of the first media file is played with frame per second d.That is electronic equipment 100 can show that flower, which is presented, gradually grows up from the open state of six petals shown in (c) in Figure 17 to (d) institute in Figure 17 10 frame images of the open state of seven petals shown.Wherein, image shown in (d) in Figure 17 is the of the first media file 90 frame images.
In some embodiments, gyro sensor is provided in the display screen of above-mentioned electronic equipment 200.The gyroscope passes Sensor is for measuring direction of the electronic equipment 200 (i.e. the display screen of electronic equipment 200) in the coordinate system of gyro sensor Direction vector.When direction vector is for determining that user holds electronic equipment 200, the angle of electronic equipment 200 and horizontal plane (i.e. the first angle).
Wherein, by above-described embodiment to the description of Fig. 8 it is found that the coordinate system of gyro sensor is geographic coordinate system.And And the coordinate system of gyro sensor is: using gyro sensor as origin O, along being x-axis when ground weft is directed toward east, along locality It is y-axis that meridian line, which is directed toward north, and being directed toward upper (i.e. the opposite direction of geographic vertical) along local geographic vertical is z-axis.For example, please referring to (a) in Figure 16 shows the coordinate system of the gyro sensor of electronic equipment 100.Wherein, the plane that x-axis is constituted with y-axis is For local level, the plane that y-axis and z-axis are constituted is local meridian plane.The display screen of electronic equipment 200 is in gyro sensors The direction vector of direction in the coordinate system of device is vector a.Wherein, vector a is vector a (x shown in (b) in Figure 161, y1, z1)。
With reference to (b) in Figure 16 it is found that the angle γ and vector a of vector a and xoy plane (i.e. horizontal plane) exist with ShiShimonoseki System:Wherein, black thick line shown in (b) in Figure 16 indicates plane where the display screen of electronic equipment 200.Electricity Plane where the display screen of sub- equipment 200 is vertical with vector a.From (b) in Figure 16: the display screen institute of electronic equipment 200 It is mutually remaining in the angle β and angle γ of plane and xoy plane (i.e. horizontal plane), i.e.+γ=90 ° β.It can thus be appreciated that: vector a and electronics There are following relationships by the angle β of plane and horizontal plane where the display screen of equipment 200:Wherein,
In conclusion court of the electronic equipment 200 according to the obtained display screen of measurement in the coordinate system of gyro sensor To direction vector a (x1, y1, z1), formula can be usedDetermine 200 (i.e. electronic equipment of electronic equipment 200 display screen) with the angle β of horizontal plane.
In some embodiments, before electronic equipment 200 plays the first media file, available electronic equipment 200 Scene information.Then, electronic equipment 200 can obtain corresponding with the scene information the from one or more media files One media file.Wherein, the scene information that electronic equipment 200 obtains obtains the first media file corresponding with the scene information Specific method and scene information and the first media file be discussed in detail, can with reference to the description in above-described embodiment, this Apply for that it will not go into details here for embodiment.
In further embodiments, above-mentioned electronic equipment 200 is also possible to Folding screen electronic equipment.The electronic equipment 200 The foldable formation one or more screen of Folding screen.By taking the foldable formation of the Folding screen of the electronic equipment 200 two screens as an example.It should The Folding screen that the method for embodiment can be applied to electronic equipment 200 is folded into the case where product form shown in (a) in Fig. 5 Under.In this case, angle α=360 ° of the A screen of electronic equipment 200 and B screen.Alternatively, the method for the embodiment can be with In the case that Folding screen applied to electronic equipment 200 is fully deployed.Wherein, in the case that Folding screen is fully deployed, electronics is set Standby 200 A screen and angle α=180 ° of B screen.Wherein, shown in (a) being folded into Fig. 5 when the Folding screen of electronic equipment 200 When product form or the product form being fully deployed, electronic equipment 200 can be according to the first angle, in A screen and/or B screen display Show above-mentioned first image.First angle can be the angle of A screen or B screen and horizontal plane.That is, the embodiment of the present application Method can be applied not only to the electronic equipment of non-collapsible screen, can also be applied to the electronic equipment with Folding screen.
In the embodiment of the present application, the display content of electronic equipment 200 can be with (the i.e. electronic equipment 200 of electronic equipment 200 Display screen) dynamic change with the variation of the angle of horizontal plane.In this way, in the folder of user's control electronic equipment 200 and horizontal plane During angle changes, electronic equipment 200 can be as the variation of above-mentioned angle be with corresponding speed broadcasting dynamic image, can To promote the Man machine interaction of electronic equipment 200.
The embodiment of the present application can carry out the division of functional module, example according to above method example to above-mentioned electronic equipment Such as, each functional module of each function division can be corresponded to, two or more functions can also be integrated at one It manages in module.Above-mentioned integrated module both can take the form of hardware realization, can also use the form of software function module It realizes.It should be noted that being schematical, only a kind of logic function stroke to the division of module in the embodiment of the present application Point, there may be another division manner in actual implementation.
Figure 18 is please referred to, a kind of electronic equipment 1800 provided by the embodiments of the present application is shown.In some embodiments, should Electronic equipment 1800 includes Folding screen.Foldable the first screen of formation of the Folding screen and the second screen.The electronic equipment 1800 can wrap It includes: angle detection module 1801 and playing module 1802.Wherein, the state that angle detection module 1801 is used to obtain Folding screen becomes The degree of change.The state change may include: the angle of the first screen and second screen from large to small or the first screen and second The angle of screen changes from small to big.The degree of state change indicates the speed of state change and the amplitude of state change.
In further embodiments, the display screen of above-mentioned electronic equipment 1800 can not be Folding screen.The electronic equipment 1800 may include: angle detection module 1801 and playing module 1802.Wherein, angle detection module 1801 is for obtaining electronics The degree of the state change of equipment 1800.The state change may include: above-mentioned first angle from large to small or the first angle Change from small to big.The degree of state change indicates the speed of state change and the amplitude of state change.
Wherein, the specific method that angle detection module obtains the degree of the state change of Folding screen can refer to the above method Associated description in embodiment, it will not go into details here for the embodiment of the present application.
The degree of the state change for the Folding screen that playing module 1802 is used to obtain in response to angle detection module, broadcasting the One media file;First media file includes multiple image.Specifically, when playing module plays the first media file: working as folding When the state change of screen is faster, the frame per second for playing first media file is bigger;When the state change of Folding screen is slower, broadcast The frame per second for putting the first media file is smaller;When the amplitude of the state change of Folding screen is bigger, the interior of the first media file is played Rong Yue is more;When the amplitude of the state change of Folding screen is smaller, the content for playing the first media file is fewer.
Further, as shown in figure 18, above-mentioned electronic equipment 1800 can also include media file selecting module 1803.It should Media file selecting module 1803 is referred to as animation intelligent selection module.The media file selecting module 1803 is for obtaining The scene information of electronic equipment 1800;The first media text corresponding with scene information is determined from one or more media files Part.Wherein, media file selecting module 1803 selects the specific method of the first media file, can be with reference to electricity in above-described embodiment The method that sub- equipment 100 selects the first media file, it will not go into details here for the embodiment of the present application.
Illustratively, by taking above-mentioned application scenarios (1) as an example.As shown in figure 19, electronic equipment 1800 can also include screen locking Module 1901 and unlocked state 1902.In application scenarios (1), above-mentioned 1803 (i.e. animation Intelligent Selection of media file selecting module Select module) and angle detection module 1801 may include in dynamic wallpaper module 1903.
Wherein, the concrete function of screen lock module 1901 and unlocked state 1902 can be with reference to routine techniques to electronic equipment The function introduction of screen lock module and unlocked state, it will not go into details here for the embodiment of the present application.
Using integrated unit, above-mentioned angle detection module 1801, media file selecting module 1803, lock Panel module 1901 and unlocked state 1902 etc. can integrate to be realized in a processing module.Above-mentioned playing module 1802 can be Display module.Said one or multiple media files can save in a storage module.
Certainly, the unit module in above-mentioned electronic equipment 1800 include but is not limited to above-mentioned processing module, display module and Memory module.For example, can also include communication module in electronic equipment 1800.
Wherein, processing module can be processor or controller, such as can be central processing unit (Central Processing Unit, CPU), digital signal processor (Digital Signal Processor, DSP), dedicated integrated electricity Road (Application-Specific Integrated Circuit, ASIC), field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic device, transistor logic, hardware component or Person's any combination thereof.Processor may include application processor and baseband processor.It, which may be implemented or executes, combines the application Various illustrative logic blocks, module and circuit described in disclosure.The processor, which is also possible to realize, calculates function The combination of energy, such as include that one or more microprocessors combine, DSP and the combination of microprocessor etc..Memory module can be with It is memory.
For example, processing module is one or more processors (processor 610 as shown in FIG. 6), memory module can be Memory (internal storage 621 as shown in FIG. 6).Display module can (display screen 694 as shown in Figure 1, should for display screen Display screen 694 can be Folding screen).Electronic equipment 1800 provided by the embodiment of the present application can set for electronics shown in fig. 6 Standby 100.Wherein, said one or multiple processors, memory, communication interface and display screen (such as Folding screen) can connect Together, such as by bus it connects.Memory includes instruction for saving computer program code, computer program code.When When processor executes the instruction, the correlation technique step that electronic equipment can be performed in above-described embodiment is realized in above-described embodiment Method.
The embodiment of the present application also provides a kind of computer storage medium, and computer journey is stored in the computer storage medium Sequence code, when above-mentioned processor executes the computer program code, electronic equipment executes the correlation technique in above-described embodiment Step realizes the method in above-described embodiment.
The embodiment of the present application also provides a kind of computer program products, when the computer program product is transported on computers When row, so that computer executes the correlation technique step in above-described embodiment and realizes method in above-described embodiment.
Wherein, electronic equipment provided by the embodiments of the present application, computer storage medium or computer program product are used In executing corresponding method presented above, therefore, attainable beneficial effect can refer to correspondence presented above Method in beneficial effect, details are not described herein again.
Through the above description of the embodiments, it is apparent to those skilled in the art that, for description It is convenienct and succinct, only the example of the division of the above functional modules, in practical application, can according to need and will be upper It states function distribution to be completed by different functional modules, i.e., the internal structure of device is divided into different functional modules, to complete All or part of function described above.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the module or unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It may be combined or can be integrated into another device, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown can be a physical unit or multiple physical units, it can and it is in one place, or may be distributed over Multiple and different places.Some or all of unit therein can be selected to realize this embodiment scheme according to the actual needs Purpose.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a read/write memory medium.Based on this understanding, the technical solution of the embodiment of the present application is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that an equipment (can be list Piece machine, chip etc.) or processor (processor) execute each embodiment the method for the application all or part of the steps. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), arbitrary access are deposited The various media that can store program code such as reservoir (Random Access Memory, RAM), magnetic or disk.
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any Change or replacement within the technical scope of the present application should all be covered within the scope of protection of this application.Therefore, this Shen Protection scope please should be based on the protection scope of the described claims.

Claims (38)

1. a kind of display methods of dynamic image, which is characterized in that the method is applied to the electronic equipment with Folding screen, institute State foldable the first screen of formation of Folding screen and the second screen, which comprises
The electronic equipment obtains the degree of the state change of the Folding screen;The state change include: first screen and The angle of second screen is from large to small or the angle of first screen and second screen changes from small to big, and the state becomes The degree of change indicates the speed of the state change and the amplitude of the state change;
In response to the degree of the state change of the Folding screen, the electronic equipment plays the first media file;First matchmaker Body file includes multiple image;Wherein,
When the state change of the Folding screen is faster, the frame per second that the electronic equipment plays first media file is bigger;
When the state change of the Folding screen is slower, the frame per second that the electronic equipment plays first media file is smaller;
When the amplitude of the state change of the Folding screen is bigger, the electronic equipment plays the content of first media file It is more;
When the amplitude of the state change of the Folding screen is smaller, the electronic equipment plays the content of first media file It is fewer.
2. the method according to claim 1, wherein the electronic equipment obtains the state change of the Folding screen Degree, comprising:
The electronic equipment obtains the variation of the angle and the angle of first screen and second screen;
According to the variation of the angle and the angle, the electronic equipment obtains the journey of the state change of the Folding screen Degree.
3. the method according to claim 1, wherein the electronic equipment obtains the state change of the Folding screen Degree, comprising:
The electronic equipment obtain first screen relative to second screen rotation speed and first screen with it is described The angle of second screen;
According to the rotation speed and the angle, the electronic equipment obtains the degree of the state change of the Folding screen.
4. method according to any one of claim 1-3, which is characterized in that the electronic equipment is in screen lock state;
In response to the degree of the state change of the Folding screen, the electronic equipment plays the first media file, comprising:
In response to the degree of the state change of the Folding screen, the electronic equipment plays the first media file in locking screen interface; Wherein, first media file is the background image of the locking screen interface.
5. method according to any one of claim 1-3, which is characterized in that the electronic equipment shows that the electronics is set Standby main screen;
In response to the degree of the state change of the Folding screen, the electronic equipment plays the first media file, comprising:
In response to the degree of the state change of the Folding screen, the electronic equipment plays first media in the main screen File, first media file are the background images of the main screen.
6. method according to any one of claim 1-3, which is characterized in that the electronic equipment shows default application Default interface;
In response to the degree of the state change of the Folding screen, the electronic equipment plays the first media file, comprising:
In response to the degree of the state change of the Folding screen, the electronic equipment plays first matchmaker at the default interface Body file, first media file are the background images at the default interface;
Wherein, the default application includes instant messaging application, and the default interface includes the chat of the instant messaging application Interface.
7. method according to claim 1 to 6, which is characterized in that the state in response to the Folding screen The degree of variation, the electronic equipment play the first media file, comprising:
In response to the angle α of first screen and the second screen in α1To α2The degree of variation, the electronic equipment play described first Y in media file1Frame image is to y2Frame image;
Wherein, there are preset functional relations with α by y;As α=α1When, y=y1;As α=α2When, y=y2
8. the method according to the description of claim 7 is characterized in that the preset functional relation includes at least two segmentation letters Number, at least two piecewise function include the first piecewise function and the second piecewise function;
Wherein, when the α is when the first subinterval of the value range of the α changes, there are described first by the y and the α The corresponding functional relation of piecewise function;
When the α is when the second subinterval of the value range of the α changes, there are the second segmentation letters by the y and the α The corresponding functional relation of number.
9. method according to claim 1 to 8, which is characterized in that the state in response to the Folding screen The degree of variation, the electronic equipment play the first media file, comprising:
When the corresponding frame per second of the speed of the state change of the Folding screen is greater than default maximum frame per second, the electronic equipment is with institute It states default maximum frame per second and plays first content in first media file, the first content is first media file In multiple image corresponding with the state change.
10. according to the method described in claim 9, it is characterized in that, the electronic equipment is played with the default maximum frame per second Content corresponding with the state change in first media file, comprising:
The electronic equipment plays the partial content in the first content with the default maximum frame per second, selectivity.
11. method according to claim 1 to 10, which is characterized in that described in response to the Folding screen The degree of state change, before the electronic equipment plays the first media file, the method also includes:
The electronic equipment obtains the scene information of the electronic equipment, and the scene information includes temporal information, location information With at least one in Weather information;
The electronic equipment determines the first media text corresponding with the scene information from one or more media files Part.
12. according to the method for claim 11, which is characterized in that one or more of media files are the second media text Part, the second media file are divided into more parts of images;Every part of image includes a frame or multiple image, one scene letter of every part of correspondence Breath;
The electronic equipment determines the first media text corresponding with the scene information from one or more media files Part, comprising:
The electronic equipment determines that portion image corresponding with the scene information is described the from second media file One media file.
13. method according to claim 11 or 12, which is characterized in that first media file includes the first subfile With the second subfile;First subfile and second subfile include a frame or multiple image, first Ziwen Part is different with second subfile;
In response to the degree of the state change of the Folding screen, the electronic equipment plays the first media file, comprising:
In response to the degree that the angle of first screen and the second screen changes from small to big, the electronic equipment plays first Ziwen Part;
In response to the degree of the angle of first screen and the second screen from large to small, the electronic equipment plays second Ziwen Part.
14. according to the method described in claim 2, it is characterized in that, being provided with gyroscope in first screen and the second screen Sensor;
The electronic equipment obtains the angle of first screen Yu second screen, comprising:
The electronic equipment detects the direction vector of the direction of first screen by the gyro sensor in first screen, The direction vector of second screen is detected by the gyro sensor in second screen;Wherein, the direction of first screen Direction vector perpendicular to first screen, the direction vector of the direction of second screen is perpendicular to second screen;
The electronic equipment calculates the angle theta of the direction vector of first screen and the direction vector of second screen;
The electronic equipment uses formula α=180 °-θ, calculates the angle α of first screen and second screen.
15. method described in any one of -14 according to claim 1, which is characterized in that first screen and second screen The value range of angle is [0 °, 360 °], [0 °, 180 °] or [180 °, 360 °].
16. a kind of display methods of dynamic image, which is characterized in that the described method includes:
Electronic equipment obtains the degree of the state change of the electronic equipment;The state change includes: the first angle by becoming greatly Small or change from small to big, first angle is the angle of the display screen and horizontal plane, and the degree of the state change indicates institute State the speed of state change and the amplitude of the state change;
In response to the degree of the state change of the electronic equipment, the electronic equipment plays the first media file;Described first Media file includes multiple image;Wherein,
When the state change of the electronic equipment is faster, the frame per second that the electronic equipment plays first media file is got over Greatly;
When the state change of the electronic equipment is slower, the frame per second that the electronic equipment plays first media file is got over It is small;
When the amplitude of the state change of the electronic equipment is bigger, the electronic equipment plays the interior of first media file Rong Yue is more;
When the amplitude of the state change of the electronic equipment is smaller, the electronic equipment plays the interior of first media file Rong Yue is few.
17. according to the method for claim 16, which is characterized in that the electronic equipment obtains the state of the electronic equipment The degree of variation, comprising:
The electronic equipment obtains the variation of first angle and first angle;
According to the variation of first angle and first angle, the electronic equipment obtains the state of the electronic equipment The degree of variation.
18. according to the method for claim 17, which is characterized in that be provided with gyro sensor in the electronic equipment; The electronic equipment obtains first angle, comprising:
The electronic equipment detects the direction vector a (x of the direction of the display screen by the gyro sensor1, y1, z1); Wherein, the direction vector a of the direction of the display screen is perpendicular to the display screen;x1It is vector a in the gyro sensor Coordinate system x-axis value, y1It is value of the vector a in the y-axis of the coordinate system of the gyro sensor, z1It is vector a described The value of the z-axis of the coordinate system of gyro sensor;The x-axis and the y-axis are parallel to the horizontal plane;
The electronic equipment uses formulaCalculate the first angle β.
19. a kind of electronic equipment characterized by comprising processor, Folding screen and memory;The foldable shape of Folding screen At the first screen and the second screen;The processor, the Folding screen and memory coupling, the memory are calculated for storing Machine program code, the computer program code include computer instruction, when the processor executes the computer instruction, The electronic equipment executes:
The processor, the degree of the state change for obtaining the Folding screen;The state change includes: first screen From large to small or the angle of first screen and second screen changes from small to big, the state with the angle of second screen The degree of variation indicates the speed of the state change and the amplitude of the state change;In response to the state of the Folding screen The degree of variation controls the Folding screen and plays the first media file;First media file includes multiple image;Wherein,
When the state change of the Folding screen is faster, the frame per second that the Folding screen plays first media file is bigger;
When the state change of the Folding screen is slower, the frame per second that the Folding screen plays first media file is smaller;
When the amplitude of the state change of the Folding screen is bigger, the content that the Folding screen plays first media file is got over It is more;
When the amplitude of the state change of the Folding screen is smaller, the content that the Folding screen plays first media file is got over It is few.
20. electronic equipment according to claim 19, which is characterized in that the processor, for obtaining the Folding screen State change degree, comprising:
The processor, the variation of angle and the angle for obtaining first screen and second screen;According to institute The variation for stating angle and the angle obtains the degree of the state change of the Folding screen.
21. electronic equipment according to claim 19, which is characterized in that the processor, for obtaining the Folding screen State change degree, comprising:
The processor, for obtain first screen relative to the rotation speed of second screen and first screen with The angle of second screen;According to the rotation speed and the angle, the degree of the state change of the Folding screen is obtained.
22. electronic equipment described in any one of 9-21 according to claim 1, which is characterized in that the electronic equipment is in lock Screen state, the Folding screen show locking screen interface;
The processor controls the Folding screen and plays the first matchmaker for the degree of the state change in response to the Folding screen Body file, comprising:
The processor controls the Folding screen in locking screen interface for the degree of the state change in response to the Folding screen Play the first media file;Wherein, first media file is the background image of the locking screen interface.
23. electronic equipment described in any one of 9-21 according to claim 1, which is characterized in that described in the Folding screen is shown The main screen of electronic equipment;
The processor controls the Folding screen and plays the first matchmaker for the degree of the state change in response to the Folding screen Body file, comprising:
The processor controls the Folding screen in the main screen for the degree of the state change in response to the Folding screen Curtain plays first media file, and first media file is the background image of the main screen.
24. electronic equipment described in any one of 9-21 according to claim 1, which is characterized in that the Folding screen shows default The default interface of application;
The processor controls the Folding screen and plays the first matchmaker for the degree of the state change in response to the Folding screen Body file, comprising:
The processor controls the Folding screen described default for the degree of the state change in response to the Folding screen Interface plays first media file, and first media file is the background image at the default interface;
Wherein, the default application includes instant messaging application, and the default interface includes the chat of the instant messaging application Interface.
25. electronic equipment described in any one of 9-24 according to claim 1, which is characterized in that the processor, for responding In the degree of the state change of the Folding screen, controlling the Folding screen broadcasting is the first media file, comprising:
The processor, for the angle α in response to first screen and the second screen in α1To α2The degree of variation, described in control Folding screen plays the y in first media file1Frame image is to y2Frame image;
Wherein, there are preset functional relations with α by y;As α=α1When, y=y1;As α=α2When, y=y2
26. electronic equipment according to claim 25, which is characterized in that the preset functional relation includes at least two Piecewise function, at least two piecewise function include the first piecewise function and the second piecewise function;
Wherein, when the α is when the first subinterval of the value range of the α changes, there are described first by the y and the α The corresponding functional relation of piecewise function;
When the α is when the second subinterval of the value range of the α changes, there are the second segmentation letters by the y and the α The corresponding functional relation of number.
27. electronic equipment described in any one of 9-26 according to claim 1, which is characterized in that the processor, for working as institute When stating the corresponding frame per second of speed of the state change of Folding screen greater than default maximum frame per second, the Folding screen is controlled with described default Maximum frame per second plays the first content in first media file, the first content be in first media file with institute State the corresponding multiple image of state change.
28. electronic equipment according to claim 27, which is characterized in that the processor is specifically used for described default Maximum frame per second, selectivity play the partial content in the first content.
29. electronic equipment described in any one of 9-27 according to claim 1, which is characterized in that the processor is also used to ring The degree of the state change of Folding screen described in Ying Yu obtains institute before controlling the Folding screen broadcasting first media file The scene information of electronic equipment is stated, the scene information includes at least one in temporal information, location information and Weather information; First media file corresponding with the scene information is determined from one or more media files.
30. electronic equipment according to claim 29, which is characterized in that one or more of media files are the second matchmaker Body file, the second media file are divided into more parts of images;Every part of image includes a frame or multiple image, one scene of every part of correspondence Information;
The processor is specifically used for from second media file, determines a image corresponding with the scene information It is first media file.
31. the electronic equipment according to claim 29 or 30, which is characterized in that first media file includes the first son File and the second subfile;First subfile and second subfile include a frame or multiple image, and described first Subfile is different with second subfile;
The processor controls the Folding screen and plays the first matchmaker for the degree of the state change in response to the Folding screen Body file, comprising:
The processor, the degree for changing from small to big in response to the angle of first screen and the second screen, controls the folding Screen plays first subfile;In response to the degree of the angle of first screen and the second screen from large to small, the folding is controlled Folded screen plays second subfile.
32. electronic equipment according to claim 20, which is characterized in that be provided with top in first screen and the second screen Spiral shell instrument sensor;
Gyro sensor in first screen, the direction vector of the direction for detecting first screen;
Gyro sensor in second screen, for detecting the direction vector of second screen;Wherein, first screen The direction vector of direction is perpendicular to first screen, and the direction vector of the direction of second screen is perpendicular to second screen;
The processor, for calculating the angle theta of the direction vector of first screen and the direction vector of second screen;Using Formula α=180 °-θ calculates the angle α of first screen and second screen.
33. electronic equipment described in any one of 9-32 according to claim 1, which is characterized in that first screen and described The value range of the angle of two screens is [0 °, 360 °], [0 °, 180 °] or [180 °, 360 °].
34. a kind of electronic equipment characterized by comprising processor, display screen and memory;The processor, the display Screen and memory coupling, the memory include meter for storing computer program code, the computer program code The instruction of calculation machine, when the processor executes the computer instruction, the electronic equipment is executed:
The processor, the degree of the state change for obtaining the electronic equipment;The state change includes: the first angle From large to small or change from small to big, first angle is the angle of the display screen and horizontal plane, the degree of the state change Indicate the speed of the state change and the amplitude of the state change;In response to the journey of the state change of the electronic equipment Degree controls the display screen and plays the first media file;First media file includes multiple image;Wherein,
When the state change of the electronic equipment is faster, the frame per second that the display screen plays first media file is bigger;
When the state change of the electronic equipment is slower, the frame per second that the display screen plays first media file is smaller;
When the amplitude of the state change of the electronic equipment is bigger, the display screen plays the content of first media file It is more;
When the amplitude of the state change of the electronic equipment is smaller, the display screen plays the content of first media file It is fewer.
35. electronic equipment according to claim 34, which is characterized in that the processor is set for obtaining the electronics The degree of standby state change, comprising:
The processor, for obtaining the variation of first angle and first angle;According to first angle with And the variation of first angle, obtain the degree of the state change of the electronic equipment.
36. electronic equipment according to claim 35, which is characterized in that be provided with gyro sensors in the electronic equipment Device;
The gyro sensor, the direction vector a (x of the direction for detecting the display screen1, y1, z1);Wherein, described aobvious The direction vector a of the direction of display screen is perpendicular to the display screen;x1It is x of the vector a in the coordinate system of the gyro sensor The value of axis, y1It is value of the vector a in the y-axis of the coordinate system of the gyro sensor, z1It is vector a in the gyro sensors The value of the z-axis of the coordinate system of device;The x-axis and the y-axis are parallel to the horizontal plane;
The processor, for using formulaCalculate the first angle β.
37. a kind of computer storage medium, which is characterized in that including computer instruction, when the computer instruction is set in electronics When standby upper operation, so that the electronic equipment executes the method as described in any one of claim 1-18.
38. a kind of computer program product, which is characterized in that when the computer program product is run on computers, make Obtain method of the computer execution as described in any one of claim 1-18.
CN201910134736.0A 2019-02-23 2019-02-23 A kind of display methods and electronic equipment of dynamic image Pending CN110045936A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910134736.0A CN110045936A (en) 2019-02-23 2019-02-23 A kind of display methods and electronic equipment of dynamic image

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910134736.0A CN110045936A (en) 2019-02-23 2019-02-23 A kind of display methods and electronic equipment of dynamic image

Publications (1)

Publication Number Publication Date
CN110045936A true CN110045936A (en) 2019-07-23

Family

ID=67274322

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910134736.0A Pending CN110045936A (en) 2019-02-23 2019-02-23 A kind of display methods and electronic equipment of dynamic image

Country Status (1)

Country Link
CN (1) CN110045936A (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110399921A (en) * 2019-07-25 2019-11-01 维沃移动通信有限公司 A kind of image processing method and terminal device
CN110399086A (en) * 2019-07-24 2019-11-01 网易(杭州)网络有限公司 Display control method, device, storage medium and the electronic equipment of game picture
CN110807992A (en) * 2019-11-08 2020-02-18 华勤通讯技术有限公司 Electronic equipment and control method thereof
CN111766918A (en) * 2020-06-05 2020-10-13 北京小米移动软件有限公司 Folding screen posture detection method and device, electronic equipment and computer readable storage medium
CN111773708A (en) * 2020-08-11 2020-10-16 网易(杭州)网络有限公司 Virtual object control method and device
CN112506386A (en) * 2019-09-16 2021-03-16 华为技术有限公司 Display method of folding screen and electronic equipment
CN112860359A (en) * 2019-11-28 2021-05-28 华为技术有限公司 Display method and related device of folding screen
CN113206915A (en) * 2021-04-28 2021-08-03 Oppo广东移动通信有限公司 Display method and device, computer readable medium and electronic equipment
CN113888961A (en) * 2021-03-05 2022-01-04 荣耀终端有限公司 Electronic equipment with folding screen and control method
CN114003321A (en) * 2020-07-28 2022-02-01 华为技术有限公司 Display method and electronic equipment
CN114762035A (en) * 2020-07-30 2022-07-15 株式会社村田制作所 Electronic device
CN115543159A (en) * 2022-01-05 2022-12-30 荣耀终端有限公司 Wallpaper display method, device, equipment, storage medium and program product
CN116112597A (en) * 2020-09-03 2023-05-12 荣耀终端有限公司 Off-screen display method, electronic device and storage medium
WO2023087832A1 (en) * 2021-11-19 2023-05-25 荣耀终端有限公司 Hinge angle detection method and related device
WO2023130881A1 (en) * 2022-01-05 2023-07-13 荣耀终端有限公司 Dynamic wallpaper display method and related device
US11775025B2 (en) 2019-09-05 2023-10-03 Huawei Technologies Co., Ltd. Display method for device having foldable screen and foldable screen device
US20230326393A1 (en) * 2020-09-07 2023-10-12 Huawei Technologies Co., Ltd. Interface Display Method and Electronic Device
WO2023221100A1 (en) * 2022-05-20 2023-11-23 北京小米移动软件有限公司 Display control method and apparatus, electronic device and storage medium
CN111773708B (en) * 2020-08-11 2024-04-26 网易(杭州)网络有限公司 Virtual object control method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104751765A (en) * 2015-03-09 2015-07-01 联想(北京)有限公司 Display control method and electronic device
CN107656666A (en) * 2016-07-26 2018-02-02 北京小米移动软件有限公司 Mobile terminal and rolling speed determine method
CN107765952A (en) * 2017-11-07 2018-03-06 广东欧珀移动通信有限公司 Screenshotss method, apparatus and terminal
CN108845773A (en) * 2018-04-28 2018-11-20 中兴通讯股份有限公司 Determination method, apparatus, storage medium and the electronic device of angle between screen
CN109032406A (en) * 2018-07-10 2018-12-18 维沃移动通信有限公司 A kind of control method and mobile terminal
CN109274823A (en) * 2018-09-26 2019-01-25 维沃移动通信有限公司 A kind of multimedia file broadcasting control method and terminal device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104751765A (en) * 2015-03-09 2015-07-01 联想(北京)有限公司 Display control method and electronic device
CN107656666A (en) * 2016-07-26 2018-02-02 北京小米移动软件有限公司 Mobile terminal and rolling speed determine method
CN107765952A (en) * 2017-11-07 2018-03-06 广东欧珀移动通信有限公司 Screenshotss method, apparatus and terminal
CN108845773A (en) * 2018-04-28 2018-11-20 中兴通讯股份有限公司 Determination method, apparatus, storage medium and the electronic device of angle between screen
CN109032406A (en) * 2018-07-10 2018-12-18 维沃移动通信有限公司 A kind of control method and mobile terminal
CN109274823A (en) * 2018-09-26 2019-01-25 维沃移动通信有限公司 A kind of multimedia file broadcasting control method and terminal device

Cited By (31)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110399086A (en) * 2019-07-24 2019-11-01 网易(杭州)网络有限公司 Display control method, device, storage medium and the electronic equipment of game picture
CN110399921B (en) * 2019-07-25 2021-07-20 维沃移动通信有限公司 Picture processing method and terminal equipment
CN110399921A (en) * 2019-07-25 2019-11-01 维沃移动通信有限公司 A kind of image processing method and terminal device
US11775025B2 (en) 2019-09-05 2023-10-03 Huawei Technologies Co., Ltd. Display method for device having foldable screen and foldable screen device
CN112506386B (en) * 2019-09-16 2023-08-01 华为技术有限公司 Folding screen display method and electronic equipment
CN112506386A (en) * 2019-09-16 2021-03-16 华为技术有限公司 Display method of folding screen and electronic equipment
WO2021052279A1 (en) * 2019-09-16 2021-03-25 华为技术有限公司 Foldable screen display method and electronic device
CN110807992B (en) * 2019-11-08 2021-09-03 华勤技术股份有限公司 Electronic equipment and control method thereof
CN110807992A (en) * 2019-11-08 2020-02-18 华勤通讯技术有限公司 Electronic equipment and control method thereof
CN112860359A (en) * 2019-11-28 2021-05-28 华为技术有限公司 Display method and related device of folding screen
EP4057136A4 (en) * 2019-11-28 2022-12-21 Huawei Technologies Co., Ltd. Method for displaying folding screen and related apparatus
CN111766918A (en) * 2020-06-05 2020-10-13 北京小米移动软件有限公司 Folding screen posture detection method and device, electronic equipment and computer readable storage medium
CN114003321B (en) * 2020-07-28 2023-05-05 华为技术有限公司 Display method and electronic equipment
CN114003321A (en) * 2020-07-28 2022-02-01 华为技术有限公司 Display method and electronic equipment
CN114762035B (en) * 2020-07-30 2024-02-27 株式会社村田制作所 Electronic equipment
CN114762035A (en) * 2020-07-30 2022-07-15 株式会社村田制作所 Electronic device
CN111773708A (en) * 2020-08-11 2020-10-16 网易(杭州)网络有限公司 Virtual object control method and device
CN111773708B (en) * 2020-08-11 2024-04-26 网易(杭州)网络有限公司 Virtual object control method and device
US11823603B2 (en) 2020-09-03 2023-11-21 Honor Device Co., Ltd. Always-on-display method and electronic device
CN116112597B (en) * 2020-09-03 2023-10-20 荣耀终端有限公司 Electronic equipment with off-screen display function, method for displaying off-screen interface of electronic equipment and storage medium
CN116112597A (en) * 2020-09-03 2023-05-12 荣耀终端有限公司 Off-screen display method, electronic device and storage medium
US20230326393A1 (en) * 2020-09-07 2023-10-12 Huawei Technologies Co., Ltd. Interface Display Method and Electronic Device
CN113888961B (en) * 2021-03-05 2022-08-12 荣耀终端有限公司 Electronic equipment with folding screen and control method
CN113888961A (en) * 2021-03-05 2022-01-04 荣耀终端有限公司 Electronic equipment with folding screen and control method
WO2022228001A1 (en) * 2021-04-28 2022-11-03 Oppo广东移动通信有限公司 Display method and apparatus, computer-readable medium, and electronic device
CN113206915A (en) * 2021-04-28 2021-08-03 Oppo广东移动通信有限公司 Display method and device, computer readable medium and electronic equipment
WO2023087832A1 (en) * 2021-11-19 2023-05-25 荣耀终端有限公司 Hinge angle detection method and related device
WO2023130881A1 (en) * 2022-01-05 2023-07-13 荣耀终端有限公司 Dynamic wallpaper display method and related device
CN115543159A (en) * 2022-01-05 2022-12-30 荣耀终端有限公司 Wallpaper display method, device, equipment, storage medium and program product
CN115543159B (en) * 2022-01-05 2024-03-19 荣耀终端有限公司 Wallpaper display method, device, equipment and storage medium
WO2023221100A1 (en) * 2022-05-20 2023-11-23 北京小米移动软件有限公司 Display control method and apparatus, electronic device and storage medium

Similar Documents

Publication Publication Date Title
CN110045936A (en) A kind of display methods and electronic equipment of dynamic image
CN111263005B (en) Display method and related device of folding screen
CN110119295A (en) A kind of display control method and relevant apparatus
CN110012154A (en) A kind of control method and electronic equipment of the electronic equipment with Folding screen
CN110536004B (en) Method for applying multiple sensors to electronic equipment with flexible screen and electronic equipment
CN110286972A (en) A kind of method and electronic equipment of Folding screen display application
CN110072070A (en) A kind of multichannel kinescope method and equipment
CN109766043A (en) The operating method and electronic equipment of electronic equipment
CN110445978A (en) A kind of image pickup method and equipment
CN110035141A (en) A kind of image pickup method and equipment
CN112506386B (en) Folding screen display method and electronic equipment
CN109496423A (en) Image display method and electronic equipment under a kind of photographed scene
CN110324464A (en) A kind of application display method and electronic equipment
CN112860359A (en) Display method and related device of folding screen
CN109793498A (en) A kind of skin detecting method and electronic equipment
CN109559270A (en) A kind of image processing method and electronic equipment
CN110012130A (en) A kind of control method and electronic equipment of the electronic equipment with Folding screen
CN113824834B (en) Control method for screen-off display, electronic equipment, chip and computer readable storage medium
CN113727025B (en) Shooting method, shooting equipment and storage medium
CN110458902A (en) 3D illumination estimation method and electronic equipment
CN110248037B (en) Identity document scanning method and device
CN110673889A (en) Application opening method in folding screen equipment and related device
CN107846537A (en) A kind of CCD camera assembly, image acquiring method and mobile terminal
CN112351156A (en) Lens switching method and device
CN110262877A (en) A kind of card processing method and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190723