Play control method and device, storage medium and electronic equipment

By controlling the playback of multimedia files through the scaling parameters of the scalable display, the problem of display screen obstruction is solved, enabling playback control without finger swipes, improving display quality and reducing power consumption.

CN115811560BActive Publication Date: 2025-10-24GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111074831.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-09-14
Publication Date
2025-10-24
Estimated Expiration
2041-09-14

AI Technical Summary

Technical Problem

Users control playback by swiping the screen with their fingers while watching videos, which causes the screen to be obstructed.

Method used

It uses a retractable display screen and controls the playback of multimedia files by acquiring retraction parameters, including retraction distance, speed, and direction, to achieve playback control without the need for finger swipes.

Benefits of technology

This avoids obstructing the display screen, improves the display effect, and reduces power consumption.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115811560B_ABST
    Figure CN115811560B_ABST
Patent Text Reader

Abstract

The application discloses a playing control method and device, a storage medium and an electronic device. The playing control method is applied to the electronic device, the electronic device comprises a scalable display screen, and the playing control method comprises the following steps: acquiring a scaling parameter of the scalable display screen; and performing playing control on a multimedia file according to the scaling parameter. The application can avoid causing the display screen to be blocked.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application belongs to the technical field of electronics, and particularly relates to a playing control method and device, a storage medium and an electronic device. BACKGROUND

[0002] At present, electronic devices such as smart phones and tablet computers have become necessities of life, for example, songs and videos can be listened to and watched through electronic devices. Taking watching videos as an example, when a user watches a video, if the user wants to control the playing of the video file, such as adjusting the playing progress of the multimedia file and the volume of the multimedia file, the user needs to slide a finger on the display screen, thereby causing the display screen to be blocked. SUMMARY

[0003] The present application provides a playing control method and device, a storage medium and an electronic device, which can avoid blocking the display screen.

[0004] The present application provides a playing control method, applied to an electronic device, the electronic device comprising a scalable display screen, and the playing control method comprising:

[0005] obtaining a scaling parameter of the scalable display screen;

[0006] controlling playing of a multimedia file according to the scaling parameter.

[0007] The present application provides a playing control device, applied to an electronic device, the electronic device comprising a scalable display screen, and the playing control device comprising:

[0008] an obtaining module, configured to obtain a scaling parameter of the scalable display screen;

[0009] a control module, configured to control playing of a multimedia file according to the scaling parameter.

[0010] The present application provides a storage medium, which stores a computer program, and when the computer program is executed on a computer, the computer is caused to execute the flow of the playing control method provided by the present application.

[0011] The present application also provides an electronic device, comprising a scalable display screen, a memory and a processor, the processor is configured to execute the flow of the playing control method provided by the present application by calling the computer program stored in the memory.

[0012] In the embodiment of the present application, the scalable display screen is stretched out or shrunk in according to the control of the multimedia file, so that the multimedia file can be played without sliding the finger on the display screen, and the display screen is not blocked. BRIEF DESCRIPTION OF DRAWINGS

[0013] The technical scheme and advantages of the present application will be apparent from the following detailed description of the embodiments of the present application, taken in conjunction with the accompanying drawings.

[0014] Figure 1 Fig. 1 is a first structural schematic diagram of an electronic device provided by an embodiment of the present application;

[0015] Figure 2 Fig. 2 is a second structural schematic diagram of an electronic device provided by an embodiment of the present application;

[0016] Figure 3 Fig. 3 is a third structural schematic diagram of an electronic device provided by an embodiment of the present application;

[0017] Figure 4 Fig. 4 is a fourth structural schematic diagram of an electronic device provided by an embodiment of the present application;

[0018] Figure 5 Fig. 5 is a fifth structural schematic diagram of an electronic device provided by an embodiment of the present application;

[0019] Figure 6 Fig. 6 is a first flow schematic diagram of a play control method provided by an embodiment of the present application;

[0020] Figure 7 Fig. 7 is a second flow schematic diagram of a play control method provided by an embodiment of the present application;

[0021] Figure 8 Fig. 8 is a structural schematic diagram of a play control device provided by an embodiment of the present application;

[0022] Figure 9 Fig. 9 is a sixth structural schematic diagram of an electronic device provided by an embodiment of the present application. DETAILED DESCRIPTION

[0023] Reference will now be made to the drawings, wherein like numerals refer to like components throughout. The application will be described in relation to the embodiments thereof, which are by way of illustration only, and are not to be construed in any way limiting of the application.

[0024] Embodiments of the present application provide a playback control method, a playback control device, a storage medium and an electronic device. The execution subject of the playback control method can be the electronic device provided by the embodiments of the present application, and the playback control device can be realized in the form of hardware or software.

[0025] It should be noted that the electronic device provided by the present application is configured with a telescopic display screen, that is, the telescopic display screen can be stretched and can be retracted. The telescopic display screen is made of flexible material, so that it can be bent, curled and folded, etc., so as to realize the telescopic purpose. Based on the telescopic display screen, the electronic device can increase the visual area of the telescopic display screen by stretching the telescopic display screen, improve the display effect, and also can reduce the visual area of the telescopic display screen by retracting the telescopic display screen, reduce the power consumption.

[0026] Exemplarily, referring to Figures 1 to 3 , the electronic device 100 includes a housing assembly 10, a telescopic display screen 30, a driving member 50 and a driving mechanism 70. The housing assembly 10 is a hollow structure; the driving member 50, the driving mechanism 70 and the camera 90 and other components can be arranged in the housing assembly 10. It can be understood that the electronic device 100 of the embodiments of the present application includes but is not limited to mobile terminals such as mobile phones, tablets and other portable electronic devices. In this paper, the electronic device 100 is taken as a mobile phone as an example for description.

[0027] In the present embodiment, the housing assembly 10 includes a first housing 12 and a second housing 14, and the first housing 12 and the second housing 14 can move relatively. Specifically, in the present embodiment, the first housing 12 and the second housing 14 are connected in sliding mode, that is, the second housing 14 can slide relative to the first housing 12.

[0028] Specifically, referring to Figure 4 and Figure 5 , the first housing 12 and the second housing 14 jointly form a receiving space 16. The receiving space 16 can be used to place components such as the driving member 50, the camera 90 and the driving mechanism 70. The housing assembly 10 can further include a rear cover 18, and the rear cover 18, the first housing 12 and the second housing 14 jointly form the receiving space 16.

[0029] The driving member 50 is arranged in the second housing 14, one end of the retractable display screen 30 is arranged in the first housing 12, the retractable display screen 30 passes around the driving member 50, and the other end of the retractable display screen is arranged in the accommodating space 16, so that part of the retractable display screen is hidden in the accommodating space 16, and the part of the retractable display screen 30 hidden in the accommodating space 16 can not be lighted. The first housing 12 and the second housing 14 are relatively far away, and the retractable display screen 30 can be unfolded by the driving member 50, so that more retractable display screens 30 are exposed outside the accommodating space 16. The retractable display screen 30 exposed outside the accommodating space 16 is lighted, so that the display area presented by the electronic device 100 becomes larger.

[0030] The driving member 50 can be a rotating shaft structure with teeth 52 on the outside, and the retractable display screen 30 is connected to the driving member 50 by meshing or the like. When the first housing 12 and the second housing 14 are relatively far away, the part of the retractable display screen 30 meshed with the driving member 50 is moved and unfolded by the driving member 50.

[0031] It can be understood that the driving member 50 can also be a round shaft without teeth 52. When the first housing 12 and the second housing 14 are relatively far away, the part of the retractable display screen 30 wound on the driving member 50 is stretched by the driving member 50, so that more retractable display screens 30 are exposed outside the accommodating space 16 and are in a flat state. Specifically, the driving member 50 is rotatably arranged in the second housing 14, and when the retractable display screen 30 is gradually stretched, the driving member 50 can rotate with the movement of the retractable display screen 30. In other embodiments, the driving member 50 can be fixed on the second housing 14, and the driving member 50 has a smooth surface. When the retractable display screen 30 is stretched, the driving member 50 is in slidable contact with the retractable display screen 30 through the smooth surface.

[0032] When the first housing 12 and the second housing 14 are relatively close, the retractable display screen can be retracted by the driving member 50. Alternatively, the electronic device 100 further comprises a reset member (not shown), one end of the retractable display screen accommodated in the accommodating space 16 is connected to the reset member, and when the first housing 12 and the second housing 14 are relatively close, the reset member drives the retractable display screen 30 to reset, so that part of the retractable display screen 30 is retracted into the accommodating space 16.

[0033] In the embodiment, the driving mechanism 70 can be arranged in the accommodating space 16, the driving mechanism 70 can be connected to the second housing 14, and the driving mechanism 70 is used to drive the second housing 14 to move away from the first housing 12, thereby driving the retractable display screen assembly 30 to stretch. It can be understood that the driving mechanism 70 can also be omitted, and the user can directly move the first housing and the second housing relative to each other by manual or the like.

[0034] Based on the electronic device provided above in this application, this application further provides a playback control method applied to the electronic device.

[0035] like Figure 6 As shown, Figure 6 This is a schematic diagram of the first process of the playback control method provided in an embodiment of the present application. The process may include:

[0036] 101. Obtain the retractable parameters of the retractable display screen.

[0037] As described above, the electronic device to which the playback control method provided in this application is applied includes a retractable display screen that can be extended or retracted. The retractable parameters may include parameters for the extension or retraction of the retractable display screen, such as the retractable distance (extension distance or retraction distance), the retractable speed (extension speed or retraction speed), the retractable direction (extension direction or retraction direction), and so on. The retractable distance refers to the distance the retractable display screen extends and retracts in the corresponding retractable direction when it is extended and retracted. For example, in the case of vertical retraction, the retractable distance of the retractable display screen is the distance the retractable display screen increases or decreases in the vertical direction; in the case of horizontal retraction, the retractable distance of the retractable display screen is the distance the retractable display screen increases or decreases in the horizontal direction. For example, when the retractable display screen extends from position A1 to position A2, the retractable distance of the retractable display screen is the distance between positions A1 and A2. For another example, when the retractable display screen retracts from position A3 to position A4, the retractable distance of the retractable display screen is the distance between positions A3 and A4. The retractable speed refers to the speed at which the retractable display screen extends and retracts in the corresponding retractable direction when it is extended and retracted. For example, if the retractable display screen extends at a speed of V1, then the retractable speed is V1. For example, if the retractable display screen retracts at a speed of V2, then the retractable speed is V2. The retractable direction of the retractable display screen is the direction in which the retractable display screen retracts. For example, if the retractable display screen extends horizontally to the right, then the retractable direction of the retractable display screen is horizontally to the right; if the retractable display screen retracts horizontally to the left, then the retractable direction of the retractable display screen is horizontally to the left; if the retractable display screen retracts vertically upward, then the retractable direction of the retractable display screen is vertically upward.

[0038] For example, after the electronic device plays a multimedia file according to a user operation, if the user controls the retractable display screen to expand or contract, the electronic device can obtain the retractable parameters of the retractable display screen.

[0039] For example, when the retractable display screen is extended, the electronic device may obtain the extension distance of the retractable display screen.

[0040] 102. Control the playback of the multimedia file according to the scaling parameter.

[0041] The multimedia file can include a video file or an audio file, etc.

[0042] In this embodiment, after the scalable parameter of the scalable display screen is acquired, the electronic device can control the multimedia file according to the scalable parameter, such as controlling the volume of the multimedia file, the playing progress of the multimedia file, the playing speed of the multimedia file, pausing the multimedia file, etc.

[0043] For example, the scalable parameter can include a scalable distance, and the electronic device can determine an adjustment volume according to the scalable distance. Then, the electronic device can adjust the playing volume of the multimedia file according to the adjustment volume. The scalable distance is positively correlated with the adjustment volume, that is, the longer the scalable distance, the greater the adjustment volume, and the shorter the scalable distance, the smaller the adjustment volume.

[0044] For example, the electronic device can pre-set a preset mapping relationship between the scalable distance and the adjustment volume. The preset mapping relationship can include a one-to-one corresponding relationship between the scalable distance and the adjustment volume. The preset mapping relationship can include a one-to-one corresponding relationship between a scalable distance interval and an adjustment volume. After the scalable distance is acquired, the electronic device can determine the adjustment volume according to the scalable distance and the preset mapping relationship. Then, the electronic device can acquire the current playing volume of the multimedia file, and determine a target playing volume according to the current playing volume and the adjustment volume. After the target playing volume is obtained, the electronic device can adjust the playing volume of the multimedia file to the target playing volume. When the scalable display screen is stretched, the sum of the current playing volume and the adjustment volume is taken as the target playing volume. When the scalable display screen is contracted, the difference between the current playing volume and the adjustment volume is taken as the target playing volume. In some embodiments, the stretching or the contraction of the scalable display screen corresponds to taking the sum of the current playing volume and the adjustment volume as the target playing volume. In other embodiments, the stretching or the contraction of the scalable display screen corresponds to taking the difference between the current playing volume and the adjustment volume as the target playing volume.

[0045] For another example, the scalable parameter can include a scalable distance, and the electronic device can determine a target playing speed according to the scalable distance. Then, the electronic device can adjust the playing speed of the multimedia file to the target playing speed. The scalable distance is positively correlated with the playing speed, that is, the longer the scalable distance, the faster the playing speed, and the shorter the scalable distance, the slower the playing speed.

[0046] For example, the electronic device can pre-set a preset mapping relationship between the stretching distance and the play speed. The preset mapping relationship can include a one-to-one correspondence between the stretching distance and the play speed. The preset mapping relationship can include a one-to-one correspondence between the stretching distance interval and the play speed. After obtaining the stretching distance, the electronic device can determine the target play speed according to the stretching distance and the preset mapping relationship. Then, the electronic device can adjust the play speed of the multimedia file to the target play speed.

[0047] In the embodiments of the present application, the stretching parameter of the stretchable display screen is obtained, and the multimedia file is played and controlled according to the stretching parameter, so that the multimedia file can be played and controlled by controlling the stretching or shrinking of the stretchable display screen, without the need to slide the finger on the display screen to play and control the multimedia, thereby avoiding the blocking of the display screen.

[0048] In some embodiments, the stretching parameter includes the stretching distance, and the play control of the multimedia file according to the stretching parameter can include:

[0049] (1) determining the adjustment step according to the stretching distance;

[0050] (2) adjusting the play progress of the multimedia file according to the adjustment step.

[0051] The adjustment step is how much the play progress of the multimedia file is adjusted each time. For example, assuming that the play progress of the multimedia file is 20 minutes played, and the adjustment step is 5 seconds, then after adjusting the play progress of the multimedia file according to the adjustment step once, the play progress of the multimedia file is 20 minutes 5 seconds played or 19 minutes 55 seconds played. The stretching distance is positively related to the adjustment step. That is, the longer the stretching distance, the longer the adjustment step; the shorter the stretching distance, the shorter the adjustment step.

[0052] For example, after obtaining the stretching distance of the stretchable display screen, the electronic device can determine the adjustment step according to the stretching distance. After determining the adjustment step, the electronic device can adjust the play progress of the multimedia file according to the adjustment step, such as fast-forwarding or fast-rewinding the multimedia file according to the adjustment step.

[0053] In some embodiments, when the stretchable display screen is stretched, the electronic device can fast-forward the multimedia file according to the adjustment step. When the stretchable display screen is shrunk, the electronic device can fast-rewind the multimedia file according to the adjustment step.

[0054] In other embodiments, whether the stretchable display screen is stretched or shrunk, the electronic device fast-forwards the multimedia file according to the adjustment step. Or, whether the stretchable display screen is stretched or shrunk, the electronic device fast-rewinds the multimedia file according to the adjustment step.

[0055] In some embodiments, the electronic device can be provided with a touch key on the side of the electronic device. The touch key can be built-in the electronic device. The electronic device can receive a touch operation of a user through the touch key, and determine whether to fast forward or fast rewind the multimedia file according to the touch operation. For example, assume that the touch operation includes a sliding operation. When the sliding direction of the sliding operation is a first preset direction, it is determined to fast forward the multimedia file. When the sliding direction of the sliding operation is a second preset direction, it is determined to fast rewind the multimedia file. Then, when the user wants to fast forward the multimedia file, the user can slide a finger on the touch key in the first preset direction to trigger the electronic device to fast forward the multimedia file. Subsequently, the electronic device can obtain the extension distance of the extendable display screen, determine the adjustment step according to the extension distance, and adjust the playing progress of the multimedia file according to the adjustment step. The first preset direction and the second preset direction are different directions. The first preset direction and the second preset direction can be set according to actual conditions, which are not limited here.

[0056] In some embodiments, determining the adjustment step according to the extension distance can include:

[0057] (1) obtaining a preset mapping relationship between the extension distance and the adjustment step;

[0058] (2) determining the adjustment step according to the extension distance and the preset mapping relationship.

[0059] For example, the electronic device can pre-set a preset mapping relationship between the extension distance and the adjustment step. The preset mapping relationship can include a one-to-one correspondence between the extension distance interval and the adjustment step. The preset mapping relationship can also include a one-to-one correspondence between the extension distance and the adjustment step.

[0060] After obtaining the extension distance of the extendable display screen, the electronic device can obtain the preset mapping relationship. Then, the electronic device can determine the adjustment step according to the extension distance and the preset mapping relationship. For example, assume that the extension distance is M1, the extension distance M1 corresponds to the adjustment step R1, and the electronic device can determine the adjustment step to be R1 according to the extension distance M1 and the preset mapping relationship.

[0061] In some embodiments, determining the adjustment step according to the extension distance can include:

[0062] When the extension distance is greater than a preset distance, the adjustment step is determined according to the extension distance.

[0063] In some cases, for example, when the stretchable display screen is stretched to a certain extent, if the user accidentally touches the stretchable display screen, the stretchable display screen will also be retracted by a certain distance, at this time, the user's intention is not to control the multimedia file to be played, therefore, to avoid the case of incorrect response, the electronic device can first determine whether the stretching distance is greater than a preset distance after obtaining the stretching distance, if the stretching distance is greater than the preset distance, the electronic device can determine the adjustment step according to the stretching distance. If the stretching distance is less than or equal to the preset distance, the electronic device can not be processed. Wherein, the preset distance can be set according to the actual situation, which is not limited here. For example, the preset distance can be 3mm, 5mm or 7mm, etc.

[0064] In some embodiments, the stretching parameter includes a stretching speed, and the playing control of the multimedia file according to the stretching parameter can include:

[0065] (1) determining the adjustment step according to the stretching speed;

[0066] (2) adjusting the playing progress of the multimedia file according to the adjustment step.

[0067] Wherein, the stretching speed is positively correlated with the adjustment step. That is to say, the faster the stretching speed, the faster the adjustment step; the slower the stretching speed, the slower the adjustment step.

[0068] For example, after obtaining the stretching speed of the stretchable display screen, the electronic device can determine the adjustment step according to the stretching speed. After determining the adjustment step, the electronic device can adjust the playing progress of the multimedia file according to the adjustment step, such as controlling the multimedia file to fast forward or fast backward according to the adjustment step, so that the user can control the adjustment step of adjusting the playing progress of the multimedia file by controlling the stretching speed of the stretchable display screen.

[0069] For example, after obtaining the stretching speed of the stretchable display screen, the electronic device can determine the adjustment step according to the stretching speed. After determining the adjustment step, the electronic device can adjust the playing progress of the multimedia file according to the adjustment step, such as controlling the multimedia file to fast forward or fast backward according to the adjustment step, so that the user can control the adjustment step of adjusting the playing progress of the multimedia file by controlling the stretching speed of the stretchable display screen.

[0070] In some embodiments, when the stretchable display screen is stretched, the electronic device can fast forward the multimedia file according to the adjustment step. When the stretchable display screen is retracted, the electronic device can fast backward the multimedia file according to the adjustment step.

[0071] In some other embodiments, whether the stretchable display screen is stretched or retracted, the electronic device fast forwards the multimedia file according to the adjustment step. Or, whether the stretchable display screen is stretched or retracted, the electronic device fast backwards the multimedia file according to the adjustment step.

[0072] In some embodiments, the side of the electronic device can be provided with a touch key which can be built-in the electronic device. The electronic device can receive a touch operation of a user through the touch key, and determine whether to fast forward or fast rewind the multimedia file according to the touch operation. For example, assuming that the touch operation includes a sliding operation, when the sliding direction of the sliding operation is a first preset direction, it is determined to fast forward the multimedia file, and when the sliding direction of the sliding operation is a second preset direction, it is determined to fast rewind the multimedia file. Then, when the user wants to fast forward the multimedia file, the user can slide on the touch key with a finger towards the first preset direction to trigger the electronic device to fast forward the multimedia file, and then the electronic device can obtain the expansion speed of the scalable display screen, determine the adjustment step according to the expansion speed, and adjust the playing progress of the multimedia file according to the adjustment step. The first preset direction and the second preset direction are different directions. The first preset direction and the second preset direction can be set according to actual conditions, which are not limited here.

[0073] In some embodiments, the expansion parameter further includes an expansion distance, and determining the adjustment step according to the expansion speed can include:

[0074] When the expansion distance is greater than a preset distance, the adjustment step is determined according to the expansion speed.

[0075] In some cases, for example, when the scalable display screen is expanded to a certain extent, if the user accidentally touches the scalable display screen, the scalable display screen will also be retracted by a certain distance. At this time, the user's intention is not to control the playing of the multimedia file. Therefore, to avoid the situation of false response, when the scalable display screen is expanded or retracted, the electronic device can first obtain the expansion distance of the scalable display screen, and determine whether the expansion distance is greater than a preset distance. If the expansion distance is greater than the preset distance, the electronic device can obtain the expansion speed of the scalable display screen, and determine the adjustment step according to the expansion speed. If the expansion distance is less than or equal to the preset distance, the electronic device can not be processed. The preset distance can be set according to actual conditions, which is not limited here. For example, the preset distance can be 3mm, 5mm or 7mm, etc.

[0076] In some embodiments, determining the adjustment step according to the expansion speed can include:

[0077] (1) obtaining a preset mapping relationship between the expansion speed and the adjustment step;

[0078] (2) determining the adjustment step according to the expansion speed and the preset mapping relationship.

[0079] For example, the electronic device can pre-set a preset mapping relationship between the stretching speed and the adjustment step. The preset mapping relationship can include a one-to-one correspondence between the stretching speed interval and the adjustment step. The preset mapping relationship can also include a one-to-one correspondence between the stretching speed and the adjustment step.

[0080] After obtaining the stretching speed of the stretchable display screen, the electronic device can obtain the preset mapping relationship. Then, the electronic device can determine the adjustment step according to the stretching speed and the preset mapping relationship. For example, assuming that the stretching speed is V1, the stretching speed V1 corresponds to the adjustment step R1, the electronic device can determine the adjustment step R1 according to the stretching speed V1 and the preset mapping relationship.

[0081] In some embodiments, the stretching parameter includes a stretching distance, and the playing control of the multimedia file according to the stretching parameter can include:

[0082] (1) determining a target playing progress of the multimedia file according to the stretching distance;

[0083] (2) adjusting the playing progress of the multimedia file to the target playing progress.

[0084] Wherein, when it is needed to control the multimedia file to fast forward, the target playing progress = the adjustment progress + the current playing progress. For example, assuming that the current playing progress of the electronic device is 5 minutes played, and the adjustment progress is 2 minutes, the target playing progress is 7 minutes played. When it is needed to control the multimedia file to fast backward, the target playing progress = the current playing progress - the adjustment progress. For example, assuming that the current playing progress of the electronic device is 5 minutes played, and the adjustment progress is 2 minutes, the target playing progress is 3 minutes played.

[0085] For example, when it is needed to control the multimedia file to fast forward or fast backward, the user can control the stretchable display screen to stretch or shrink, so that the electronic device can determine the adjustment progress according to the stretching distance. Then, the electronic device can determine the target playing progress of the multimedia file according to the adjustment progress and the current playing progress of the multimedia file. After determining the target playing progress, the electronic device can adjust the playing progress of the multimedia file to the target playing progress, so that the user can control the playing progress of the multimedia file by controlling the stretching distance of the stretchable display screen.

[0086] In some embodiments, the stretching parameter further includes a stretching direction, and the determining of the target playing progress of the multimedia file according to the stretching distance can include:

[0087] determining the target playing progress of the multimedia file according to the stretching distance and the stretching direction.

[0088] For example, when the user controls the display screen to stretch, the electronic device can determine that the stretching direction is the stretching direction, and then determine the adjustment progress according to the stretching distance. The electronic device can calculate the sum of the adjustment progress and the current play progress to obtain the target play progress. The electronic device can adjust the play progress of the multimedia file to the target play progress. When the user controls the display screen to contract, the electronic device can determine that the stretching direction is the contracting direction, and then determine the adjustment progress according to the stretching distance. The electronic device can calculate the difference between the current play progress and the adjustment progress to obtain the target play progress. The electronic device can adjust the play progress of the multimedia file to the target play progress.

[0089] In some embodiments, the electronic device calculates the sum of the current play progress and the adjustment progress as the target play progress regardless of whether the display screen stretches or contracts. Alternatively, the electronic device calculates the difference between the current play progress and the adjustment progress as the target play progress regardless of whether the display screen stretches or contracts.

[0090] In some embodiments, the electronic device can be provided with a touch key on the side. The touch key can be built-in. The electronic device can receive a touch operation of the user through the touch key, and determine whether to fast forward or fast rewind the multimedia file according to the touch operation. For example, the touch operation can include a sliding operation. When the sliding direction of the sliding operation is a first preset direction, the electronic device determines to fast forward the multimedia file. When the sliding direction of the sliding operation is a second preset direction, the electronic device determines to fast rewind the multimedia file. When the user wants to fast forward the multimedia file, the user can slide the finger on the touch key in the first preset direction to trigger the electronic device to fast forward the multimedia file. Then, the electronic device can obtain the stretching distance of the display screen, and determine the adjustment progress according to the stretching distance. The electronic device can calculate the sum of the adjustment progress and the current play progress as the target play progress, and adjust the play progress of the multimedia file to the target play progress. The first preset direction and the second preset direction are different directions. The first preset direction and the second preset direction can be set according to actual conditions, which are not limited herein.

[0091] In some embodiments, the stretching parameter includes a stretching speed and a stretching trajectory. The play control of the multimedia file according to the stretching parameter can include:

[0092] When the stretching speed is greater than a preset speed, and the stretching trajectory matches a preset trajectory, the play of the multimedia file is stopped.

[0093] The preset speed and the preset track can be set according to actual conditions, and are not specifically limited here.

[0094] For example, during the playing of a multimedia file, a user can control the scalable display screen to stretch a certain distance at a stretching speed greater than the preset speed and then to contract a certain distance at a contracting speed greater than the preset speed for a plurality of times, such as twice, so that the electronic device detects that the stretching speed is greater than the preset speed and the stretching track matches the preset track, and then the electronic device stops playing the multimedia file.

[0095] It can be understood that the playing control method of the present application is applied to playing control of a multimedia file by acquiring the stretching parameter of the scalable display screen when the scalable display screen is stretched or contracted, so that the display size of the content of the multimedia file played on the scalable display screen is adaptively adjusted when the scalable display screen is stretched or contracted.

[0096] Please refer to Figure 7 , Figure 7 FIG. 2 is a second flowchart of the playing control method provided by the present application, and the flowchart can include the following steps.

[0097] 201. Acquire the stretching distance of the scalable display screen.

[0098] As described above, the electronic device to which the playing control method of the present application is applied includes a scalable display screen, and the scalable display screen can be stretched or contracted. The stretching distance refers to the distance of the scalable display screen in the corresponding stretching direction when the scalable display screen is stretched or contracted. For example, in the case of vertical stretching, the stretching distance of the scalable display screen refers to the distance of the scalable display screen in the vertical direction; in the case of horizontal stretching, the stretching distance of the scalable display screen refers to the distance of the scalable display screen in the horizontal direction. For example, when the scalable display screen is stretched from position A1 to position A2, the stretching distance of the scalable display screen is the distance between position A1 and position A2. For another example, when the scalable display screen is contracted from position A3 to position A4, the stretching distance of the scalable display screen is the distance between position A3 and position A4.

[0099] For example, during the playing of a multimedia file by the electronic device, a user can control the scalable display screen to stretch or contract, so that the electronic device can acquire the stretching distance of the scalable display screen.

[0100] 202. When the stretching distance is greater than the preset distance, acquire the preset mapping relationship between the stretching distance and the adjustment step.

[0101] The stretching distance and the adjustment step are positively correlated. That is, the longer the stretching distance, the faster the adjustment step; the shorter the stretching distance, the slower the adjustment step.

[0102] For example, the electronic device can pre-set a preset mapping relationship between the telescopic distance and the adjustment step. The preset mapping relationship can include a one-to-one correspondence between the telescopic distance interval and the adjustment step. The preset mapping relationship can also include a one-to-one correspondence between the telescopic distance and the adjustment step.

[0103] In this embodiment, after the telescopic distance is obtained, the electronic device can determine whether the telescopic distance is greater than the preset distance. When the telescopic distance is greater than the preset distance, the electronic device can obtain the preset mapping relationship.

[0104] 203. Determine the adjustment step according to the telescopic distance and the preset mapping relationship.

[0105] In this embodiment, after the preset mapping relationship is obtained, the electronic device can determine the adjustment step according to the telescopic distance and the preset mapping relationship. For example, assuming that the telescopic distance is M1, the telescopic distance M1 corresponds to the adjustment step R1, and the electronic device can determine the adjustment step to be R1 according to the telescopic distance M1 and the preset mapping relationship.

[0106] 204. Adjust the playing progress of the multimedia file according to the adjustment step.

[0107] In this embodiment, after the adjustment step is determined, the electronic device can adjust the playing progress of the multimedia file according to the adjustment step. For example, assuming that the adjustment step is R1, the electronic device can adjust the playing progress of the multimedia file according to the adjustment step R1.

[0108] Please refer to Figure 8 , Figure 8 is a structural schematic diagram of a playing control device provided by the embodiment of the application. The playing control device is applied to an electronic device, the electronic device includes a telescopic display screen, and the playing control device 300 includes an acquisition module 301 and a control module 302.

[0109] The acquisition module 301 is configured to acquire a telescopic parameter of the telescopic display screen.

[0110] The control module 302 is configured to perform playing control on a multimedia file according to the telescopic parameter.

[0111] In some embodiments, the telescopic parameter includes a telescopic distance, and the control module 302 can be configured to: determine an adjustment step according to the telescopic distance; and adjust the playing progress of the multimedia file according to the adjustment step.

[0112] In some embodiments, the control module 302 can be configured to: acquire a preset mapping relationship between the telescopic distance and the adjustment step; and determine the adjustment step according to the telescopic distance and the preset mapping relationship.

[0113] In some embodiments, the control module 302 can be configured to determine the adjustment step according to the expansion distance when the expansion distance is greater than the preset distance.

[0114] In some embodiments, the expansion parameter includes an expansion speed, and the control module 302 can be configured to determine the adjustment step according to the expansion speed, and adjust the playing progress of the multimedia file according to the adjustment step.

[0115] In some embodiments, the expansion parameter includes an expansion distance, and the control module 302 can be configured to determine a target playing progress of the multimedia file according to the expansion distance, and adjust the playing progress of the multimedia file to the target playing progress.

[0116] In some embodiments, the expansion parameter further includes an expansion direction, and the control module 302 can be configured to determine a target playing progress of the multimedia file according to the expansion distance and the expansion direction.

[0117] The embodiments of the present application provide a computer readable storage medium, which stores a computer program. When the computer program is executed on a computer, the computer is caused to execute the flow of the playing control method provided by the embodiments of the present application.

[0118] The embodiments of the present application further provide an electronic device, which includes a scalable display screen, a memory and a processor. The processor is configured to execute the flow of the playing control method provided by the embodiments of the present application by invoking the computer program stored in the memory.

[0119] In an optional embodiment, referring to Figure 9 , the electronic device 100 includes a housing assembly 10, a processor 20, a scalable display screen 30, a memory 40, a driving member 50, a driving mechanism 70 and a camera 90.

[0120] The processor 20 in the embodiments of the present application is a general-purpose processor, such as an ARM architecture processor.

[0121] The memory 40 stores a computer program, which can be a high-speed random access memory, and can also be a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state memory device. Accordingly, the memory 40 can further include a memory controller to provide the processor 20 with access to the computer program in the memory 40, to implement the following functions:

[0122] obtaining an expansion parameter of the scalable display screen;

[0123] controlling playing of a multimedia file according to the expansion parameter.

[0124] In some embodiments, the zoom parameter comprises a zoom distance, and the processor 20 performs the playing control on the multimedia file according to the zoom parameter by performing: determining an adjustment step according to the zoom distance; and adjusting the playing progress of the multimedia file according to the adjustment step.

[0125] In some embodiments, the processor 20 performs the determining of the adjustment step according to the zoom distance by performing: obtaining a preset mapping relationship between the zoom distance and the adjustment step; and determining the adjustment step according to the zoom distance and the preset mapping relationship.

[0126] In some embodiments, the processor 20 performs the determining of the adjustment step according to the zoom distance by performing: when the zoom distance is greater than a preset distance, determining the adjustment step according to the zoom distance.

[0127] In some embodiments, the zoom parameter comprises a zoom speed, and the processor 20 performs the playing control on the multimedia file according to the zoom parameter by performing: determining an adjustment step according to the zoom speed; and adjusting the playing progress of the multimedia file according to the adjustment step.

[0128] In some embodiments, the zoom parameter comprises a zoom distance, and the processor 20 performs the playing control on the multimedia file according to the zoom parameter by performing: determining a target playing progress of the multimedia file according to the zoom distance; and adjusting the playing progress of the multimedia file to the target playing progress.

[0129] In some embodiments, the zoom parameter further comprises a zoom direction, and the processor 20 performs the determining of the target playing progress of the multimedia file according to the zoom distance by performing: determining the target playing progress of the multimedia file according to the zoom distance and the zoom direction.

[0130] In the above embodiments, the description of each embodiment has its own focus, and the parts not described in detail in a certain embodiment can be referred to the detailed description of the playing control method above, which will not be described here again.

[0131] The playing control device provided by the embodiments of the present application and the playing control method in the above embodiments belong to the same concept, and any method provided in the playing control method embodiments can be run on the playing control device. The specific implementation process is described in detail in the playing control method embodiments, which will not be described here again.

[0132] It should be noted that, for the playing control method described in the embodiments of the present application, a person skilled in the art can understand that all or part of the processes of the playing control method described in the embodiments of the present application can be completed by a computer program controlling relevant hardware, and the computer program can be stored in a computer readable storage medium, such as a memory, and executed by at least one processor, and in the execution process, the processes of the embodiments of the playing control method can be included. The storage medium can be a magnetic disc, an optical disc, a read-only memory (ROM), a random access memory (RAM), and the like.

[0133] For the playing control device described in the embodiments of the present application, each functional module can be integrated in one processing chip, or each module can exist physically independently, or two or more modules can be integrated in one module. The integrated module can be realized in the form of hardware or in the form of a software functional module. If the integrated module is realized in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer readable storage medium, such as a read-only memory, a magnetic disc or an optical disc.

[0134] The playing control method, device, storage medium and electronic equipment provided by the embodiments of the present application are described in detail above, and the principles and implementation manners of the present application are described by applying specific examples in this paper. The above description of the embodiments is only used to help understand the method of the present application and its core idea; meanwhile, for a person skilled in the art, according to the idea of the present application, the specific implementation manner and application range can be changed, and the above description should not be understood as a limitation of the present application.

Claims

1. A play control method applied to an electronic device, characterized in that, The electronic device includes a scalable display screen, and the playback control method includes: obtaining a scaling parameter of the scalable display screen, the scaling parameter including a scaling speed and a scaling track; stopping playing the multimedia file when the scaling speed is greater than a preset speed and the scaling track matches a preset track.

2. The playback control method according to claim 1, characterized by, The scaling parameter further includes a scaling distance, and the method further includes: determining an adjustment step according to the scaling distance; adjusting a playback progress of the multimedia file according to the adjustment step.

3. The playback control method according to claim 2, characterized by, The determining of the adjustment step according to the scaling distance includes: obtaining a preset mapping relationship between the scaling distance and the adjustment step; determining the adjustment step according to the scaling distance and the preset mapping relationship.

4. The play control method according to claim 2, characterized by, The determining of the adjustment step according to the scaling distance includes: determining the adjustment step according to the scaling distance when the scaling distance is greater than a preset distance.

5. The playback control method according to claim 1, wherein The method further includes: determining the adjustment step according to the scaling speed; adjusting the playback progress of the multimedia file according to the adjustment step.

6. The playback control method according to claim 1, wherein The scaling parameter further includes a scaling distance, and the method further includes: determining a target playback progress of the multimedia file according to the scaling distance; adjusting the playback progress of the multimedia file to the target playback progress.

7. The playback control method according to claim 6, wherein The scaling parameter further includes a scaling direction, and the determining of the target playback progress of the multimedia file according to the scaling distance includes: determining the target playback progress of the multimedia file according to the scaling distance and the scaling direction.

8. A play control apparatus applied to an electronic device, characterized by comprising: The electronic device includes a scalable display screen, and the playback control device includes: an obtaining module configured to obtain a scaling parameter of the scalable display screen, the scaling parameter including a scaling speed and a scaling track; a control module configured to stop playing a multimedia file when the scaling speed is greater than a preset speed and the scaling track matches a preset track.

9. A storage medium, characterized by The storage medium has stored therein a computer program, and when the computer program runs on a computer, the computer is caused to execute the playback control method according to any one of claims 1 to 7.

10. An electronic device, comprising: The electronic device includes a scalable display screen, a processor and a memory, the memory has stored therein a computer program, and the processor is configured to execute the playback control method according to any one of claims 1 to 7 by invoking the computer program stored in the memory.

Citation Information

Patent Citations

  • Control method and mobile terminal

    CN109525704A

  • Control adjustment method and device, terminal equipment and storage medium

    CN112732151A