Display control method, device and electronic device
By adjusting the display area and content of subtitles in response to screen stretching input in an electronic device, the problem of unadjustable subtitles display mode in the prior art is solved, and the display effect and user experience of subtitles are improved.
Patent Information
- Application Number
- CN202011095625.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-14
- Publication Date
- 2024-12-20
- Estimated Expiration
- 2040-10-14
AI Technical Summary
The prior art cannot adjust the display method of subtitles, resulting in poor display effect of subtitles, especially when users use telescopic screen terminals to watch videos.
By receiving input from the screen stretch in the electronic device, different video content are displayed in different display areas of the screen in response, and target subtitles, including first and second subtitles, ensure that subtitles and video content are displayed in at least one of the areas. Correspondingly, the video source is the same, so the subtitles are flexibly adjusted.
It improves the display effect of subtitles, allowing users to display subtitles simultaneously or separately in different areas of the screen as needed, enhancing the display flexibility and effect of subtitles.
Smart Images

Figure CN112231030B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of multimedia technology, and specifically relates to a display control method, device and electronic equipment. Background Art
[0002] More and more users choose to watch videos on mobile terminals. In order to meet the visual needs of users, mobile terminals equipped with retractable screens have become the research and development focus of major manufacturers. Users can stretch the screen of retractable screen terminals to expand the phone screen and get a better visual experience.
[0003] Generally speaking, when a terminal plays a video, subtitles related to the video content are displayed. However, when a user uses a retractable screen terminal to watch a video, the subtitles are only displayed at a fixed position on the screen, and the display mode of the subtitles cannot be adjusted, which affects the display effect of the subtitles. Summary of the invention
[0004] The purpose of the embodiments of the present application is to provide a display control method, device and electronic device, which can solve the technical problem that the prior art cannot adjust the display mode of subtitles, resulting in poor display effect of subtitles.
[0005] In order to solve the above technical problems, this application is implemented as follows:
[0006] In a first aspect, an embodiment of the present application provides a display control method, including:
[0007] In a case where the electronic device plays a first video, receiving a first input for controlling the screen stretching;
[0008] In response to the first input, displaying a first video in a first display area of the stretched screen, displaying a second video in a second display area of the stretched screen, and displaying a target subtitle in at least one of the first display area and the second display area;
[0009] The target subtitles include first subtitles and second subtitles, the first subtitles correspond to the first video, the second subtitles correspond to the second video, and the video source of the second video is the same as the video source of the first video.
[0010] In a second aspect, an embodiment of the present application provides a display control device, including:
[0011] A first receiving module, configured to receive a first input for controlling screen stretching when the electronic device plays a first video;
[0012] A first display module, configured to display a first video in a first display area of the stretched screen, display a second video in a second display area of the stretched screen, and display a target subtitle in at least one of the first display area and the second display area in response to the first input;
[0013] The target subtitles include first subtitles and second subtitles, the first subtitles correspond to the first video, the second subtitles correspond to the second video, and the video source of the second video is the same as the video source of the first video.
[0014] In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect.
[0015] In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.
[0016] In a fifth aspect, an embodiment of the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect.
[0017] In the embodiment of the present application, when the electronic device plays the first video, the first input for controlling screen stretching is received; in response to the first input, the first video is displayed in the first display area of the stretched screen, the second video is displayed in the second display area of the stretched screen, and the target subtitles are displayed in at least one area of the first display area and the second display area; wherein the target subtitles include the first subtitles and the second subtitles, the first subtitles correspond to the first video, the second subtitles correspond to the second video, and the video source of the second video is the same as the video source of the first video. In this way, according to the user's input, the subtitles can be displayed in the first display area and the second display area of the screen at the same time, or the subtitles can be displayed in one of the first display area and the second display area, so as to flexibly adjust the display mode of the subtitles and improve the display effect of the subtitles. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 is a flow chart of a display control method provided by an embodiment of the present application;
[0019] Figure 2 It is a schematic diagram of an application scenario of a display control method provided in an embodiment of the present application;
[0020] Figure 3is a schematic diagram of another application scenario of the display control method provided in an embodiment of the present application;
[0021] Figure 4 This is another schematic diagram of an application scenario of the display control method provided in an embodiment of the present application;
[0022] Figure 5 It is a schematic diagram of another application scenario of the display control method provided in the embodiment of the present application;
[0023] Figure 6 It is a schematic diagram of an application scenario of a display control method provided in an embodiment of the present application;
[0024] Figure 7 is a structural diagram of a display control device provided in an embodiment of the present application;
[0025] Figure 8 It is a structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0026] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0027] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here. In addition, the "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally represents that the objects associated with each other are in an "or" relationship.
[0028] The detection provided by the embodiments of the present application is described in detail below through specific embodiments and their application scenarios in conjunction with the accompanying drawings.
[0029] The display control method provided in this embodiment is applied to an electronic device, which includes a screen whose length or width can be extended or contracted. For the purpose of clearly explaining the technical solution, the following is explained using the electronic device including a screen whose length can be extended or contracted as an example.
[0030] See also Figure 1 , Figure 1 : is a flow chart of a display control method provided in an embodiment of the present application. The display control method provided in an embodiment of the present application comprises the following steps:
[0031] S101, receiving a first input for controlling screen stretching when the electronic device is playing a first video.
[0032] For a video file, when the video file is played, the electronic device may display one subtitle corresponding to the video file, or the electronic device may display multiple subtitles corresponding to the video file.
[0033] One possible situation is that when the electronic device plays the first video, it displays a subtitle corresponding to the first video. For example, when the electronic device plays the first video, it displays the Chinese subtitles corresponding to the first video.
[0034] Another possible situation is that the electronic device displays multiple subtitles corresponding to the first video when playing the first video. For example, when playing the first video, the Chinese subtitles and English subtitles corresponding to the first video are displayed.
[0035] S102, in response to the first input, displaying a first video in a first display area of the stretched screen, displaying a second video in a second display area of the stretched screen, and displaying a target subtitle in at least one of the first display area and the second display area.
[0036] In this embodiment, an optional implementation is that the user can stretch the screen from the bottom of the screen to the top of the screen, and display the first video and the second video on the stretched screen.
[0037] Another optional implementation is that the user can stretch the screen from the top of the screen to the bottom of the screen, and the first video and the second video are displayed on the stretched screen.
[0038] In response to a first input for controlling screen stretching, a first video is displayed in a first display area of the screen, and a second video is displayed in a second display area of the screen.
[0039] An optional implementation manner is that the first display area is located above the second display area; another optional implementation manner is that the second display area is located above the first display area.
[0040] It should be understood that the video source of the first video and the video source of the second video are the same, that is, the first video and the second video belong to the same video file. One understandable situation is that the first video and the second video are the same video, and the video content and the audio content are the same; another understandable situation is that the video content of the first video and the second video is the same, but the audio content of the first video and the second video is different.
[0041] In this embodiment, the target subtitles include at least one of first subtitles and second subtitles, the first subtitles are subtitles corresponding to the first video, and the second subtitles are subtitles corresponding to the second video, wherein the first subtitles and the second subtitles are subtitles in different languages. For example, the first subtitles may be Chinese subtitles, and the second subtitles may be English subtitles.
[0042] As described above, for a video file, when the video file is played, a corresponding subtitle or multiple corresponding subtitles may be displayed. In this embodiment, the first video and the second video belong to the same video file. Therefore, according to the subtitles corresponding to the first video and the second video, the subtitles can be displayed in at least one of the first display area and the second display area, enriching the display method of the subtitles.
[0043] In the embodiment of the present application, when the electronic device plays the first video, the first input for controlling screen stretching is received; in response to the first input, the first video is displayed in the first display area of the stretched screen, the second video is displayed in the second display area of the stretched screen, and the target subtitles are displayed in at least one area of the first display area and the second display area; wherein the target subtitles include the first subtitles and the second subtitles, and the video source of the second video is the same as the video source of the first video. In this way, according to the user's input, the subtitles can be displayed in the first display area and the second display area of the screen at the same time, or the subtitles can be displayed in one area of the first display area and the second display area, so as to flexibly adjust the display mode of the subtitles and improve the display effect of the subtitles.
[0044] Further, displaying the target subtitles in at least one of the first display area and the second display area includes:
[0045] In the case where both the first video and the second video include subtitles, the first subtitles are displayed in the first display area, and the second subtitles are displayed in the second display area, wherein the first subtitles in the first video are in a first language, and the second subtitles in the second video are in a second language, and the first language and the second language are different;
[0046] Alternatively, when the first video includes subtitles and the second video does not include subtitles, displaying the first subtitles in the first display area;
[0047] Alternatively, when the second video includes subtitles and the first video does not include subtitles, the second subtitles are displayed in the second display area.
[0048] Below, combined with the instructions attached Figure 2-4 , specifically describing how to display subtitles in at least one of the first display area and the second display area according to subtitles corresponding to the first video and the second video.
[0049] like Figure 2 As shown, when the first video includes the first subtitles and the second video includes the second subtitles, the first video and the first subtitles are displayed in the first display area, and the second video and the second subtitles are displayed in the second display area.
[0050] like Figure 3 As shown, when the first video includes the first subtitles and the second video does not include the second subtitles, the first video and the first subtitles are displayed in the first display area, and the second video is displayed in the second display area.
[0051] like Figure 4 As shown, in the case where the first video does not include the first subtitles and the second video includes the second subtitles, the first video is displayed in the first display area, and the second video and the second subtitles are displayed in the second display area.
[0052] In another case, when the first video does not include the first subtitles and the second video does not include the second subtitles, the first video is displayed in the first display area and the second video is displayed in the second display area.
[0053] For example, in combination Figure 2 Description: When an electronic device plays a first video, wherein the first video playback area includes corresponding Chinese subtitles and English subtitles, after receiving a first input for stretching the screen, the first video is displayed in a first display area of the stretched screen, and the second video is displayed in a second display area of the stretched screen, and Chinese subtitles are displayed in the first display area, and English subtitles are displayed in the second display area. Obviously, Chinese and English are two different languages.
[0054] This embodiment displays subtitles in at least one of the first display area and the second display area according to the subtitles corresponding to the first video and the second video, thereby enriching the display method of the subtitles and providing a subtitle display effect.
[0055] Furthermore, the method further comprises:
[0056] When the electronic device plays the first video and the second video, receiving a second input for controlling the screen to shrink;
[0057] In response to the second input, a third video is displayed in a third display area of the shrunk screen.
[0058] In this embodiment, a possible situation is that the electronic device displays a first video and a first subtitle in a first display area, and displays a second video and a second subtitle in a second display area. After receiving a second input from the user to control the screen to shrink, the third video, the first subtitle and the second subtitle are displayed in a third display area of the shrunk screen.
[0059] Another possible situation is that the electronic device displays a first video and a first subtitle in a first display area and a second video in a second display area. After receiving a second input from the user to control the screen to shrink, the third video and the first subtitle are displayed in a third display area of the shrunk screen.
[0060] Another possible situation is that the electronic device displays a first video in a first display area and a second video and second subtitles in a second display area, then after receiving a second input from the user to control the screen to shrink, the third video and second subtitles are displayed in a third display area of the shrunk screen.
[0061] Another possible situation is that the electronic device displays a first video in a first display area and a second video in a second display area, and after receiving a second input from the user to control the screen to shrink, the third video is displayed in a third display area of the shrunk screen.
[0062] In this way, when input for controlling screen contraction is received, the first subtitle and the second subtitle can be displayed in the third display area of the contracted screen, or the first subtitle can be displayed in the third display area, or the second subtitle can be displayed in the third display area, so as to flexibly adjust the display mode of the subtitles and improve the display effect of the subtitles.
[0063] Furthermore, when the electronic device plays the first video and the second video, receiving the second input for controlling the screen to shrink includes:
[0064] When the electronic device plays the first video and the second video, receiving a second input for controlling the screen to shrink along a first direction;
[0065] In response to the second input, displaying the third video in the third display area of the shrunk screen includes:
[0066] In response to the second input of shrinking along the first direction, a third video is displayed in a third display area of the shrunken screen.
[0067] In this embodiment, if the first video played by the electronic device includes a first subtitle, and the second video played by the electronic device includes a second subtitle, the screen can be controlled to shrink according to different second inputs, and the font size of the first subtitle and the font size of the second subtitle in the shrunken screen can be controlled to be different.
[0068] Specifically, it includes the following situations.
[0069] The first one, such as Figure 5As shown, a second input of the user pinching along a first direction is received, wherein the first direction points from the display area of the first video to the display area of the second video.
[0070] In this case, the third video, the first subtitles, and the second subtitles are displayed in the third display area of the shrunk screen, and the font size of the first subtitles is set larger than the font size of the second subtitles.
[0071] Optionally, in this case, the font of the second subtitle may be set to 0, so that only the first subtitle is displayed in the third display area of the shrunk screen.
[0072] The second type, such as Figure 6 As shown, a second input of the user pinching along a second direction is received, wherein the second direction points from the display area of the second video to the display area of the first video.
[0073] In this case, the third video, the first subtitles, and the second subtitles are displayed in the third display area of the shrunk screen, and the font size of the second subtitles is set larger than the font size of the first subtitles.
[0074] Optionally, in this case, the font of the first subtitle may be set to 0, so that only the second subtitle is displayed in the third display area of the shrunk screen.
[0075] In this way, according to the second input of the user in different directions, the first subtitles and the second subtitles in different font sizes are displayed in the third display area of the shrunk screen, thereby improving the display effect of the subtitles.
[0076] Further, after displaying the third video in the third display area of the shrunk screen in response to the second input, the method further includes:
[0077] When the first subtitles and the second subtitles are displayed in the third display area of the shrunk screen, the electronic device is controlled to output corresponding audio according to the display status of the subtitles.
[0078] As described above, the first subtitle and the second subtitle are subtitles in different languages. Then, in an optional embodiment, when the first subtitle and the second subtitle are displayed in the third display area of the shrunk screen and the font size of the first subtitle is larger than the font size of the second subtitle, the electronic device can be controlled to play the audio corresponding to the first subtitle.
[0079] Alternatively, in another optional embodiment, when the first subtitle and the second subtitle are displayed in the third display area of the shrunk screen and the font size of the first subtitle is smaller than the font size of the second subtitle, the electronic device can be controlled to play the audio corresponding to the first subtitle.
[0080] For example, when the screen is in a retracted state, Chinese subtitles and English subtitles are displayed on the screen, and the font size of the Chinese subtitles is larger than the font size of the English subtitles, the electronic device is controlled to play Chinese audio.
[0081] In this embodiment, when the screen is in a contracted state, the electronic device is controlled to play corresponding audio according to the size of the displayed subtitles, thereby improving the effect of video playback.
[0082] Further, the electronic device includes a first speaker and a second speaker, and after the first video is displayed in the first display area of the stretched screen and the second video is displayed in the second display area of the stretched screen in response to the first input, the method further includes:
[0083] Controlling the first speaker to output audio corresponding to the subtitles displayed in the first display area;
[0084] The second speaker is controlled to output audio corresponding to the subtitles displayed in the second display area.
[0085] In this embodiment, if the electronic device includes two speakers, namely a first speaker and a second speaker, when the screen is in a stretched state and the first display area displays a first subtitle and the second display area displays a second subtitle, the first speaker is controlled to output audio corresponding to the first subtitle, and the second speaker is controlled to output audio corresponding to the second subtitle.
[0086] When the screen is in a stretched state, and the first display area displays the first subtitles, and the second display area does not display the second subtitles, the first speaker is controlled to output audio corresponding to the first subtitles.
[0087] When the screen is in a stretched state, and the first display area does not display the first subtitles, and the second display area displays the second subtitles, the second speaker is controlled to output audio corresponding to the second subtitles.
[0088] In this embodiment, when the screen is in a stretched state, the electronic device is controlled to play corresponding audio according to the subtitles displayed on the screen, thereby improving the effect of video playback.
[0089] like Figure 7 As shown, the display control device 200 includes:
[0090] A first receiving module 201 is used to receive a first input for controlling screen stretching when the electronic device plays a first video;
[0091] A first display module 202, configured to display a first video in a first display area of the stretched screen, display a second video in a second display area of the stretched screen, and display a target subtitle in at least one of the first display area and the second display area in response to the first input;
[0092] The target subtitles include at least one of first subtitles and second subtitles, and a video source of the second video is the same as a video source of the first video.
[0093] Optionally, the first display module 201 is specifically used for:
[0094] In the case where both the first video and the second video include subtitles, the first subtitles are displayed in the first display area, and the second subtitles are displayed in the second display area, wherein the first subtitles in the first video are in a first language, and the second subtitles in the second video are in a second language, and the first language and the second language are different;
[0095] Alternatively, when the first video includes subtitles and the second video does not include subtitles, displaying the first subtitles in the first display area;
[0096] Alternatively, when the second video includes subtitles and the first video does not include subtitles, the second subtitles are displayed in the second display area.
[0097] Optionally, the display control device 200 further includes:
[0098] A second receiving module is used to receive a second input for controlling the screen to shrink when the electronic device plays the first video and the second video;
[0099] A second display module, configured to display a third video in a third display area of the shrunk screen in response to the second input;
[0100] The video source of the third video is the same as the video source of the first video.
[0101] Optionally, the second receiving module includes:
[0102] a receiving unit, configured to receive a second input for controlling the screen to shrink along a first direction when the electronic device plays a first video and a second video, wherein the first video includes a first subtitle, the second video includes a second subtitle, and the first direction points from a display area of the first video to a display area of the second video;
[0103] The first display unit, configured to display a third video in a third display area of the shrunk screen in response to the second input, comprises:
[0104] A second display unit is used to display a third video in a third display area of the shrunk screen in response to the second input of shrinking along the first direction, wherein the third video includes the first subtitles and the second subtitles, and the font size of the first subtitles is larger than the font size of the second subtitles.
[0105] Optionally, the display control device 200 further includes:
[0106] The first control module is used to control the electronic device to output corresponding audio according to the display status of the subtitles when the first subtitles and the second subtitles are displayed in the third display area of the shrunk screen.
[0107] Optionally, the display control device 200 further includes:
[0108] A second control module, used for controlling the first speaker to output audio corresponding to the subtitles displayed in the first display area;
[0109] The third control module is used to control the second speaker to output audio corresponding to the subtitles displayed in the second display area.
[0110] The display control device in the embodiment of the present application can be a device, or a component, integrated circuit, or chip in a terminal. The device can be a mobile electronic device or a non-mobile electronic device. Exemplarily, the mobile electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook, or a personal digital assistant (PDA), etc. The non-mobile electronic device can be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., which is not specifically limited in the embodiment of the present application.
[0111] The display control device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0112] The display control device provided in the embodiment of the present application can achieve Figure 1 The various processes implemented by the control method are shown in the method embodiment, and to avoid repetition, they are not described again here.
[0113] In an embodiment of the present application, based on the user's input, subtitles can be displayed simultaneously in the first display area and the second display area of the screen, or subtitles can be displayed in one of the first display area and the second display area, so as to flexibly adjust the display method of the subtitles and improve the display effect of the subtitles.
[0114] Optionally, an embodiment of the present application also provides an electronic device, including a processor 310, a memory 309, and a program or instruction stored in the memory 309 and executable on the processor 310. When the program or instruction is executed by the processor 310, each process of the above-mentioned display control method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0115] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0116] Figure 8 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of the present application.
[0117] The electronic device 300 includes but is not limited to: a radio frequency unit 301, a network module 302, an audio output unit 303, an input unit 304, a sensor 305, a display unit 306, a user input unit 307, an interface unit 308, a memory 309, and a processor 310.
[0118] Those skilled in the art will appreciate that the electronic device 300 may also include a power source (such as a battery) for supplying power to each component, and the power source may be logically connected to the processor 310 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Figure 8 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.
[0119] The processor 310 is configured to receive a first input for controlling the screen stretching when the electronic device plays a first video;
[0120] In response to the first input, a first video is displayed in a first display area of the stretched screen, a second video is displayed in a second display area of the stretched screen, and a target subtitle is displayed in at least one of the first display area and the second display area.
[0121] The processor 310 is further configured to:
[0122] In the case where both the first video and the second video include subtitles, displaying the first subtitles in the first display area and displaying the second subtitles in the second display area;
[0123] Alternatively, when the first video includes subtitles and the second video does not include subtitles, displaying the first subtitles in the first display area;
[0124] Alternatively, when the second video includes subtitles and the first video does not include subtitles, the second subtitles are displayed in the second display area.
[0125] The processor 310 is further configured to:
[0126] When the electronic device plays the first video and the second video, receiving a second input for controlling the screen to shrink;
[0127] In response to the second input, a third video is displayed in a third display area of the shrunk screen.
[0128] The processor 310 is further configured to:
[0129] When the electronic device plays the first video and the second video, receiving a second input for controlling the screen to shrink along a first direction;
[0130] In response to the second input, displaying the third video in the third display area of the shrunk screen includes:
[0131] In response to the second input of shrinking along the first direction, a third video is displayed in a third display area of the shrunken screen.
[0132] The processor 310 is further configured to:
[0133] When the first subtitles and the second subtitles are displayed in the third display area of the shrunk screen, the electronic device is controlled to output corresponding audio according to the display status of the subtitles.
[0134] The processor 310 is further configured to:
[0135] Controlling the first speaker to output audio corresponding to the subtitles displayed in the first display area;
[0136] The second speaker is controlled to output audio corresponding to the subtitles displayed in the second display area.
[0137] In an embodiment of the present application, based on the user's input, subtitles can be displayed simultaneously in the first display area and the second display area of the screen, or subtitles can be displayed in one of the first display area and the second display area, so as to flexibly adjust the display method of the subtitles and improve the display effect of the subtitles.
[0138] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the various processes of the above-mentioned display control method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0139] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0140] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned display control method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0141] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0142] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0143] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0144] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A display control method, characterized in that: An electronic device includes a screen that can be expanded or contracted in length or width; The method comprises: In a case where the electronic device plays a first video, receiving a first input for controlling the screen stretching; In response to the first input, displaying a first video in a first display area of the stretched screen, displaying a second video in a second display area of the stretched screen, and displaying a target subtitle in at least one of the first display area and the second display area; The target subtitles include at least one of first subtitles and second subtitles, the first subtitles correspond to the first video, the second subtitles correspond to the second video, and the video source of the second video is the same as the video source of the first video; The video content and the audio content of the first video and the second video are the same; or, the video content of the first video and the second video are the same, but the audio content of the first video and the second video are different; the first subtitles and the second subtitles are subtitles in different languages.
2. The display control method according to claim 1, characterized in that: Displaying the target subtitles in at least one of the first display area and the second display area comprises: In the case where both the first video and the second video include subtitles, the first subtitles are displayed in the first display area, and the second subtitles are displayed in the second display area, wherein the first subtitles in the first video are in a first language, and the second subtitles in the second video are in a second language, and the first language and the second language are different; Alternatively, when the first video includes subtitles and the second video does not include subtitles, displaying the first subtitles in the first display area; Alternatively, when the second video includes subtitles and the first video does not include subtitles, the second subtitles are displayed in the second display area.
3. The display control method according to claim 1, characterized in that: The method further comprises: When the electronic device plays the first video and the second video, receiving a second input for controlling the screen to shrink; In response to the second input, displaying a third video in a third display area of the shrunk screen; The video source of the third video is the same as the video source of the first video.
4. The display control method according to claim 3, characterized in that: When the electronic device plays the first video and the second video, receiving the second input for controlling the screen to shrink includes: In a case where the electronic device plays a first video and a second video, receiving a second input for controlling the screen to shrink along a first direction, wherein the first video includes a first subtitle, the second video includes a second subtitle, and the first direction points from a display area of the first video to a display area of the second video; In response to the second input, displaying the third video in the third display area of the shrunk screen includes: In response to the second input of shrinking along the first direction, a third video is displayed in a third display area of the shrunk screen, wherein the third video includes the first subtitles and the second subtitles, and the font size of the first subtitles is larger than the font size of the second subtitles.
5. The display control method according to claim 3, characterized in that: After the third video is displayed in the third display area of the shrunk screen in response to the second input, the method further includes: When the first subtitles and the second subtitles are displayed in the third display area of the shrunk screen, the electronic device is controlled to output corresponding audio according to the display status of the subtitles.
6. The display control method according to claim 1, characterized in that: The electronic device includes a first speaker and a second speaker. After the first video is displayed in a first display area of the stretched screen and a second video is displayed in a second display area of the stretched screen in response to the first input, the method further includes: Controlling the first speaker to output audio corresponding to the subtitles displayed in the first display area; The second speaker is controlled to output audio corresponding to the subtitles displayed in the second display area.
7. A display control device, characterized in that: include: A first receiving module, configured to receive a first input for controlling screen stretching when the electronic device plays a first video; a first display module, configured to display a first video in a first display area of the stretched screen, display a second video in a second display area of the stretched screen, and display a target subtitle in at least one of the first display area and the second display area in response to the first input; The target subtitles include at least one of first subtitles and second subtitles, the first subtitles correspond to the first video, the second subtitles correspond to the second video, and the video source of the second video is the same as the video source of the first video; The video content and the audio content of the first video and the second video are the same; or, the video content of the first video and the second video are the same, but the audio content of the first video and the second video are different; the first subtitles and the second subtitles are subtitles in different languages.
8. The display control device according to claim 7, characterized in that: The first display module is specifically used for: In the case where both the first video and the second video include subtitles, the first subtitles are displayed in the first display area, and the second subtitles are displayed in the second display area, wherein the first subtitles in the first video are in a first language, and the second subtitles in the second video are in a second language, and the first language and the second language are different; Alternatively, when the first video includes subtitles and the second video does not include subtitles, displaying the first subtitles in the first display area; Alternatively, when the second video includes subtitles and the first video does not include subtitles, the second subtitles are displayed in the second display area.
9. The display control device according to claim 7, characterized in that: The device also includes: A second receiving module is used to receive a second input for controlling the screen to shrink when the electronic device plays the first video and the second video; A second display module, configured to display a third video in a third display area of the shrunk screen in response to the second input; The video source of the third video is the same as the video source of the first video.
10. The display control device according to claim 9, characterized in that: The second receiving module comprises: a receiving unit, configured to receive a second input for controlling the screen to shrink along a first direction when the electronic device plays a first video and a second video, wherein the first video includes a first subtitle, the second video includes a second subtitle, and the first direction points from a display area of the first video to a display area of the second video; The first display unit, configured to display a third video in a third display area of the shrunk screen in response to the second input, comprises: A second display unit is used to display a third video in a third display area of the shrunk screen in response to the second input of shrinking along the first direction, wherein the third video includes the first subtitles and the second subtitles, and the font size of the first subtitles is larger than the font size of the second subtitles.
11. The display control device according to claim 9, characterized in that: Also includes: The first control module is used to control the electronic device to output corresponding audio according to the display status of the subtitles when the first subtitles and the second subtitles are displayed in the third display area of the shrunk screen.
12. The display control device according to claim 7, characterized in that: The device also includes: A second control module, used for controlling the first speaker to output audio corresponding to the subtitles displayed in the first display area; The third control module is used to control the second speaker to output audio corresponding to the subtitles displayed in the second display area.
13. An electronic device, characterized in that: The method comprises a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the display control method according to any one of claims 1 to 6.
14. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the display control method according to any one of claims 1 to 6 are implemented.
