Locking method, device, electronic device, and medium

The locking method and device enable users to manage display direction changes in electronic devices by offering configuration controls within the application interface, addressing the annoyance of automatic screen rotation and enhancing user experience.

JP2025502693AActive Publication Date: 2025-01-28BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
JP2024537337
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-01-14
Filing Date
2023-01-05
Publication Date
2025-01-28
Estimated Expiration
2043-01-05

AI Technical Summary

Technical Problem

Users experience annoyance when electronic devices automatically rotate between vertical and horizontal screens during multimedia viewing, making it difficult to control the display direction, especially in lock mode.

Method used

A locking method and device that allows users to control and change the display direction of multimedia data by displaying configuration controls in the application interface, including lock and unlock options, which can be triggered based on specific conditions such as screen orientation changes.

Benefits of technology

Enhances user convenience by allowing controlled display direction changes, improving the viewing experience by providing intuitive lock and unlock options directly in the application interface.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025502693000001_ABST
    Figure 2025502693000001_ABST
Patent Text Reader

Abstract

The present disclosure discloses a locking method, device, electronic device and medium. The method is applied to an application program on an electronic device, and includes the steps of: displaying a setting control in a current display interface of the application program when the electronic device meets a setting condition; and changing the lock state of the display orientation after the setting control is triggered.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] (Technical field) TECHNICAL FIELD The embodiments of the present disclosure relate to the field of electronic equipment technology, for example, to a locking method, device, electronic equipment, and medium.

[0002] (Reference to Related Application) This disclosure claims priority to a Chinese patent application filed with the China Patent Office on January 14, 2022, bearing application number 202210043681.4, the entire contents of which are incorporated herein by reference. [Background technology]

[0003] An application program is a computer program intended to accomplish one or more specific tasks, which runs in user mode, allows user interaction, and has a visual user interface.

[0004] When a user browses multimedia data in an application program, he or she often seeks the most comfortable posture, such as lying down to browse multimedia data, but if the electronic device is in portrait / landscape screen auto-rotation mode, the display orientation of the electronic device will keep rotating, which is very annoying for the user. If the electronic device is in portrait / landscape screen lock mode, it will be difficult for the user to find the rotation lock built into the system when browsing multimedia data.

[0005] Therefore, how to allow a user to conveniently control the display orientation of an electronic device while using an application program has become a technical problem that needs to be solved as soon as possible. Summary of the Invention [Means for solving the problem]

[0006] The embodiments of the present disclosure provide a locking method, device, electronic device and medium for improving the convenience and usage experience when a user operates an application program.

[0007] According to a first aspect, an embodiment of the present disclosure provides a locking method applied to an application program on an electronic device, the method comprising: If the electronic device satisfies the setting condition, displaying a setting control in a current display interface of the application program, the setting control being used to control a lock state of a display orientation of the multimedia data played by the application program; The method includes a step of changing a lock state of the display orientation after the setting control is triggered, where the current display interface includes multimedia data and attribute controls for the multimedia data, and the setting control includes a lock control for locking the display orientation and an unlock control for unlocking the display orientation.

[0008] According to a second aspect, an embodiment of the present disclosure further provides a locking device disposed on an electronic device, the locking device comprising: A setting control display module configured to display a setting control within a current display interface of the application program on the electronic device when the electronic device satisfies a setting condition, the setting control being used to control a lock state of a display orientation of multimedia data played by the application program; and a lock state change module configured to change a lock state of the display orientation after a setting control is triggered, where the current display interface includes multimedia data and attribute controls for the multimedia data, and the setting control includes a lock control for locking the display orientation and an unlock control for unlocking the display orientation.

[0009] According to a third aspect, an embodiment of the present disclosure further provides an electronic device, A processing device; A storage device for storing a program, The program is executed by the processing device, causing the processing device to implement the locking method provided by the embodiments of the present disclosure.

[0010] According to a fourth aspect, an embodiment of the present disclosure further provides a computer readable medium having stored thereon a computer program which, when executed by a processing device, implements the locking method provided by the embodiment of the present disclosure. [Brief description of the drawings]

[0011] [Figure 1] FIG. 1 is a process schematic diagram of a locking method according to a first embodiment of the present disclosure. [Diagram 2] FIG. 2 is a schematic diagram showing a change in the locking method according to the first embodiment of the present disclosure. [Diagram 3] FIG. 3 is a schematic diagram illustrating a change in the current display interface of the application program according to the first embodiment of the present disclosure. [Figure 4] FIG. 4 is a schematic diagram showing a change in the current display interface of another application program according to the first embodiment of the present disclosure; [Diagram 5] FIG. 5 is a process schematic diagram of a locking method according to a second embodiment of the present disclosure. [Figure 6] FIG. 6 is a process diagram of another locking method according to the second embodiment of the present disclosure. [Figure 7] FIG. 7 is a structural schematic diagram of a locking device according to a third embodiment of the present disclosure. [Figure 8] FIG. 8 is a structural schematic diagram of an electronic device according to a fourth embodiment of the present disclosure. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0012] Hereinafter, the embodiments of the present disclosure will be described with reference to the drawings. Although certain embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be realized in various forms, and these embodiments are provided to provide a full and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are for illustrative purposes only.

[0013] As will be understood, steps described in the method embodiments of the present disclosure may be performed in a different order and / or in parallel, and method embodiments may include additional steps and / or omit performance of steps that are shown.

[0014] As used herein, the term "including" and variations thereof are open-ended terms, i.e., meaning "including but not limited to." The term "based on" means "based at least in part on." The term "one embodiment" means "at least one embodiment," the term "another embodiment" means "at least one other embodiment," and the term "some embodiments" means "at least some embodiments." Relevant definitions of other terms are provided below in the description.

[0015] However, the concepts of "first", "second", etc. referred to in this disclosure are only used to distinguish different devices, modules or units.

[0016] It should be appreciated by those of skill in the art that the modifications "a" and "a plurality" referred to in the present disclosure are generalized and should be understood as "one or more" unless the context clearly dictates otherwise.

[0017] The names of messages or information exchanged between devices in the embodiments of the present disclosure are for illustrative purposes only.

[0018] In the following embodiments, each embodiment provides optional features and examples at the same time, and each feature described in the embodiments can be combined to form multiple optional solutions, and each numbered embodiment should not be regarded as one technical solution. In addition, without contradiction, the embodiments in this disclosure and the features in the embodiments can be combined with each other.

[0019] Example 1

[0020] FIG. 1 is a process schematic diagram of a locking method according to a first embodiment of the present disclosure, which can be applied to locking a display orientation in an application program, and which can be executed by a locking device, which can be realized by software and / or hardware and is generally integrated into an electronic device, and in this embodiment, the electronic device includes devices such as computers, notebook computers, tablet computers, and mobile phones.

[0021] For example, if the multimedia data is a short video, when a user watches the short video, the orientation continues to rotate even after adapting to landscape screen, which is annoying to the user. To solve this problem, as shown in FIG. 1, the locking method according to the first embodiment of the present disclosure includes steps S110 and S120.

[0022] S110, if the electronic device satisfies a setting condition, displaying a setting control in a current display interface of the application program, the setting control being used to control a lock state of a display orientation of multimedia data played by the application program.

[0023] In this embodiment, the setting conditions can be understood as conditions that are set in advance by the system or related parties to determine the display of setting controls, and the content of the setting conditions may be that the electronic device converts between landscape and portrait screens, that the user performs setting operations on the display screen of the electronic device, or even that the electronic device receives a voice control command, etc.

[0024] The setting control may be a control for setting the state of the current display interface of the application program, and is used to control the lock state of the display orientation of the multimedia data played by the application program. For example, the setting control may be a control for triggering the lock of the interface, or may be a control for triggering the unlock of the interface. The location of the setting control in the current display interface of the application program can be set according to demand, for example, it can be located in the center area on the left side. The current display interface can be considered as an interface in the application program currently displayed on the electronic device. The multimedia data can be video data or drawing data, etc. in the application program, and the display orientation can be considered as the orientation of the electronic device when displaying the multimedia data, such as a landscape screen or a portrait screen, and the lock state can include a locked state and an unlocked state (i.e., an unlocked state). When the lock state is a locked state, the display orientation is locked, and when the lock state is an unlocked state, the display orientation is unlocked.

[0025] The attribute control may be a control representing an attribute of multimedia data, and the number and contents of the attribute control may be set according to needs, for example, the attribute control may include a control for liking multimedia data, a control for reviewing multimedia data, and / or a control for transferring multimedia data, etc. A user can realize processing on the attributes of multimedia data by operating the attribute control. In the present disclosure, regardless of whether the lock state of the display orientation is locked or unlocked, the attribute control is displayed in the current display interface for the user to operate.

[0026] In one embodiment, when the electronic device meets the setting condition, a setting control can be displayed in the current display interface of the application program to control the lock state of the display orientation of the multimedia data played by the application program, and at the same time, one or more attribute controls of the multimedia data are included in the current display interface.

[0027] Optionally, the electronic device satisfies a set condition by: The electronic device converts between a horizontal screen and a vertical screen; and receiving a setting operation on a display screen of the electronic device.

[0028] In this embodiment, the conversion between the horizontal screen and the vertical screen can be understood as the screen of the electronic device being converted from the horizontal screen to the vertical screen, or the screen of the electronic device being converted from the vertical screen to the horizontal screen, or the horizontal screen or the vertical screen being rotated inverted. In this step, the means for detecting the conversion between the horizontal screen and the vertical screen may be detecting a change in the screen angle of the electronic device, and when it is detected that the change in the screen angle of the electronic device exceeds a set angle such as 45 degrees, it is considered that the electronic device has performed the conversion between the horizontal screen and the vertical screen.

[0029] The coverage scenarios in which the electronic device converts between landscape and portrait orientations to trigger the display of configuration controls include multimedia data scenarios that support landscape playback.

[0030] In one embodiment, a precondition for the electronic device to trigger display of the setting control by converting between landscape and portrait screens may be that an auto-rotation function of the electronic device is turned on. When the auto-rotation function is turned off, the electronic device may not display the setting control when rotating between landscape and portrait screens, or may display the setting control. After displaying the setting control, the electronic device may not respond to triggering of the setting control.

[0031] After triggering the display of the setting control due to conversion between landscape and portrait screen, if the setting control is a lock control, the current screen state is locked after clicking the lock control, the setting control is in a lock style, and the setting control automatically disappears after displaying for a certain period of time, and when switching between landscape and portrait screen occurs, the setting control directly disappears; if the setting control is an unlock control, the current screen state is unlocked after clicking the unlock control, the setting control is in an unlock style, and the setting control automatically disappears after displaying for a certain period of time, and when switching between landscape and portrait screen occurs, the setting control directly disappears.

[0032] A setting operation may be an operation that triggers the display of a setting control, and the content of the setting operation may be set in advance by the system or a related party, and may include, for example, an operation in which a user clicks on the display screen of an electronic device.

[0033] S120, changing the lock state of the display orientation after the setting control is triggered.

[0034] The current display interface displays the multimedia data and attribute controls of the multimedia data, and the setting controls include a lock control for locking the display orientation and an unlock control for unlocking the display orientation. If the setting control is a lock control, the display orientation is locked in response to the lock control being triggered. If the setting control is an unlock control, the display orientation is unlocked in response to the unlock control being triggered.

[0035] In one embodiment, when a setting control is displayed within a current display interface of an application program, the user can choose whether to trigger the setting control, and if the user chooses to trigger the setting control, it is explained that the user intends to control the lock state of the display orientation of the multimedia data played by the application program, and at this time, the lock state of the display orientation can be changed; at the same time, multimedia data and attribute controls are displayed in the current display interface, and if the user does not trigger the setting control, it is explained that the user does not need to control the lock state of the display orientation of the multimedia data played by the application program, and at this time, the current lock state of the display orientation can be maintained.

[0036] Exemplarily, both the lock control and the unlock control may be simultaneously displayed in the current processing interface, or only the lock control may be displayed in the current processing interface, or only the unlock control may be displayed in the current processing interface. When a setting control such as a lock control is displayed in the current display interface of the application program, the display orientation can be locked when a user selects to trigger the setting control, i.e., the display orientation of the multimedia data played by the application program is locked, thereby improving the user experience; when a setting control such as an unlock control is displayed in the current display interface of the application program, the display orientation can be set to an unlocked state when a user selects to trigger the setting control, i.e., the display orientation of the multimedia data played by the application program can be changed according to the change in the orientation of the electronic device.

[0037] FIG. 2 is a schematic diagram of the change of the locking method according to the first embodiment of the present disclosure. FIG. 2 is a schematic diagram illustrating an example of the process from when the electronic device does not meet the setting condition to when the electronic device meets the setting condition and the setting control is triggered. FIG. 2 only takes several frames as an example for explanation, and the display order of each frame is from left to right. As shown in FIG. 2, when the electronic device does not meet the setting condition (for example, the user watches a video), the current display interface of the application program includes multimedia data 21 and an attribute control 22 of the multimedia data. When the electronic device meets the setting condition (for example, clicks on the screen), a setting control 23 (for example, a lock control) is displayed on the current display interface of the application program. The setting control 23 is used to control the lock state of the display direction of the multimedia data played by the application program. After the setting control 23 is triggered, the lock state of the display direction can be changed, and at the same time, the multimedia data 21 and the attribute control 22 can be displayed on the current display interface.

[0038] For example, if the setting control 23 is a lock control, the current screen state (landscape screen & portrait screen) can be locked after clicking the screen lock button (i.e., the setting control 23), and the state of the setting control 23 becomes the lock style; if the setting control 23 is an unlock control, the current screen state (landscape screen & portrait screen) can be unlocked after clicking the screen lock button (i.e., the setting control 23), and the state of the setting control 23 becomes the unlock style. Finally, the user can continue back to the playback state after clicking the screen, and the screen lock disappears.

[0039] A first embodiment of the present disclosure provides a locking method applied to an application program on an electronic device, comprising: displaying a setting control in a current display interface of the application program when the electronic device meets a setting condition, the setting control being used to control a lock state of a display direction of multimedia data played by the application program; and changing the lock state of the display direction after the setting control is triggered, the current display interface including the multimedia data and an attribute control of the multimedia data, the setting control including a lock control for locking the display direction and an unlock control for unlocking the display direction. Through the above method, when the electronic device meets a setting condition, the setting control can be displayed in the current display interface of the application program to realize the change of the lock state of the display direction, and the convenience of the user to change the lock state can be improved. At the same time, the current display interface can simultaneously display the multimedia data and the attribute control, and realize the user to operate the multimedia data and the attribute control in the current display interface while changing the lock state of the display direction, thereby improving the user experience.

[0040] Based on the above embodiment, a modified embodiment of the above embodiment is presented, and it should be noted that for convenience of explanation, only the differences from the above embodiment are described in the modified embodiment.

[0041] In one embodiment, after the electronic device satisfies a set condition, The method further includes displaying a first set time length in response to instruction information indicating information related to the setting control.

[0042] The first set time length may be a display time length of the instruction information, which may be set in advance by the system or a related person, for example, 3s, etc. The instruction information may be information instructing a setting control, for example, information instructing triggering of the setting control, such as click to lock, or feedback information triggering the setting control, such as locked. In addition, in this embodiment, the display timing of the instruction information can be set according to demand, for example, it may be displayed when displaying the setting control in the current display interface of the application program, or it may be displayed after the setting control is triggered, and the number of times the instruction information is displayed may be every time or a set number of times, etc.

[0043] Selectably, the indication information is displayed a set number of times.

[0044] The set number of times may be an upper limit of the number of times the instruction information is displayed, and the set number of times may be set in advance by the system or a related person, for example, 10 times. In this embodiment, the number of occurrences of different information instructing the setting control and feedback information triggering the setting control can be calculated, and then cumulatively added to obtain the number of times of display. For example, if the set number of times is 10 times, when the number of times of display exceeds 10 times, the instruction information will not be displayed.

[0045] For example, the cumulative number of times the instruction information is displayed during the entire usage life cycle of the application program does not exceed a set number, and the instruction information, such as click to lock, locked, click to unlock, unlocked, etc., are calculated respectively.

[0046] The number of times each piece of instruction information appears can be set arbitrarily. For example, click to lock and click to unlock may appear only once, or locked and unlocked may appear only once.

[0047] After the user completes a lock operation via the settings control for the first time, prompt them not to display the Click-to-lock or Click-to-unlock copywriting thereafter, or prompt them not to display the Locked or Unlocked copywriting thereafter.

[0048] In one embodiment, the electronic device may display the indication for a first set amount of time after the electronic device satisfies a set condition, such as to indicate information that triggers a setting control, or to display feedback information that triggers a setting control, etc.

[0049] In one embodiment, in response to the display orientation being locked and the time period during which the display orientation of the multimedia data returns to the display orientation before the switching being less than a second set time period, determining that the display state of the indication information is not to display the indication information; In response to the display orientation being unlocked and the time period during which the display orientation of the multimedia data returns to the display orientation before the switch being less than a second set time period, it is determined that the display state of the indication information displays the indication information.

[0050] The second set time length may be a threshold value of the time length for switching the display direction, which may be set in advance by the system or a related person, and may be, for example, 3 seconds.

[0051] In one embodiment, when the time length of the display orientation of the multimedia data returning to the display orientation before switching is less than a second set time length, the display state of the indication information can be determined based on the lock state of the display orientation. Exemplarily, when the display orientation is locked, if the display orientation of the multimedia data returns within the second pre-set time length, for example, when the display orientation of the multimedia data switches from landscape to portrait and switches to landscape within 3s, the display state of the indication information can be to not display the indication information; when the display orientation is not locked, i.e., unlocked, if the display orientation of the multimedia data returns within the second set time length, the display state of the indication information can be to display indication information such as click to lock, or can be feedback information triggering a setting control, such as locked.

[0052] In one embodiment, the step of changing the lock state of the display orientation after the setting control is triggered includes: and changing the lock state of the display orientation by a rotation control service after detecting that the setting control is triggered on a lock controller.

[0053] The lock controller can be understood as a service that detects the triggering of a setting control, and can detect whether the setting control is triggered or not by receiving notifications of user interactions with information flows. The rotation control service may be a service that controls the lock state of the display orientation.

[0054] In one embodiment, after detecting that a settings control is triggered on the lock controller, the rotation control service can change the locked state of the display orientation. For example, if the user clicks lock (i.e., triggers a settings control that is a lock control), the rotation control service can lock the screen rotation (i.e., the display orientation). If the user clicks unlock (i.e., triggers a settings control that is an unlock control), the rotation control service can unlock the screen rotation (i.e., the display orientation).

[0055] Figure 3 is a schematic diagram showing a change in the current display interface of an application program in Example 1 of the present disclosure. Figure 3 is a schematic diagram illustrating an example of the display of a setting control in the current display interface of an application program until the setting control is triggered. Figure 3 only takes a few frames as examples for explanation, and the display order of each frame is from left to right.

[0056] 3, when the electronic device meets the setting condition, a setting control 31 and instruction information 32 can be displayed in the current display interface of the application program, the setting control 31 is a control for triggering lock, the instruction information 32 indicates the triggering of the setting control 31, i.e., the information instructing to click to lock, and the display interface further includes multimedia data 33 and an attribute control 34 of the multimedia data 33. After the setting control 31 is triggered, a setting control 35 and instruction information 36 are displayed in the current display interface of the application program, the setting control 35 is a lock style, and the instruction information 36 indicates the feedback information for triggering the setting control 31, i.e., indicates locked.

[0057] In one embodiment, the lock state of the current display interface can display the multimedia data 33 and the attribute control 34 so that the user can operate the multimedia data 33 and the attribute control 34. Note that the setting control 35 and the instruction information 36 disappear after being displayed for 3 s in the current display interface, thereby allowing the user to operate the multimedia data 33 and the attribute control 34.

[0058] Figure 4 is a schematic diagram showing a change in the current display interface of another application program in Example 1 of the present disclosure. Figure 4 is a schematic diagram illustrating an example of the display of a setting control in the current display interface of an application program until the setting control is triggered. Figure 4 only takes a few frames as examples for explanation, and the display order of each frame is from left to right.

[0059] As shown in FIG. 4, when the electronic device meets the setting condition, a setting control 41 and instruction information 42 can be displayed in the current display interface of the application program, the setting control 41 is a control for triggering unlocking, the instruction information 42 indicates the information instructing the triggering of the setting control 41, i.e., click to unlock, and the display interface further includes an attribute control 44 of the multimedia data 43. After the setting control 41 is triggered, a setting control 45 and instruction information 46 are displayed in the current display interface of the application program, the setting control 45 is an unlocking style, and the instruction information 46 indicates the feedback information for triggering the setting control 41, i.e., indicates unlocking, and at the same time, the multimedia data 43 and the attribute control 44 are displayed in the current display interface so that the user operates the multimedia data 43 and the attribute control 44. Note that the setting control 45 and the instruction information 46 are displayed for 3s in the current display interface and then disappear, so that the user operates the multimedia data 43 and the attribute control 44.

[0060] Example 2

[0061] 5 is a process diagram of a locking method according to a second embodiment of the present disclosure, which is modified based on the selectable solutions in the first embodiment. In this embodiment, changing the lock state of the display orientation after the setting control is triggered is performed such that after a screen rotation control of the electronic device is triggered, an auto-rotation function of the electronic device is turned on, and the lock state of the display orientation is changed in response to the setting control being triggered.

[0062] For the contents not explained in detail in this embodiment, please refer to the first embodiment.

[0063] As shown in FIG. 5, the locking method provided in the second embodiment of the present disclosure includes steps S210 to S240.

[0064] S210, if the electronic device satisfies the setting condition, displaying a setting control in a current display interface of the application program, where the setting control is used to control a lock state of a display direction of the multimedia data played by the application program.

[0065] S220: after the screen rotation control of the electronic device is triggered, determine whether the auto-rotation function of the electronic device is turned on and the setting control is triggered; in response to the auto-rotation function of the electronic device being turned on and the setting control being triggered after the screen rotation control of the electronic device is triggered, execute S230; in response to the auto-rotation function of the electronic device not being turned on or the setting control not being triggered after the screen rotation control of the electronic device is triggered, execute S240.

[0066] In this embodiment, the screen rotation control may be regarded as a control for controlling the on / off state of the automatic screen rotation function of the electronic device, for example, after the screen rotation control is triggered, the automatic screen rotation function of the electronic device may be turned on or off, and the on or off state is determined by the current on / off state of the automatic screen rotation function of the electronic device. The screen rotation control may be a system lock attached to the electronic device. The screen rotation control may be regarded as an automatic screen rotation control, and the automatic screen rotation mode of the electronic device in landscape and portrait modes may be turned on or off by the screen rotation control.

[0067] When trying to control the lock state of the display orientation of multimedia data played by an application program, after the screen rotation control of the electronic device is triggered, it is necessary to determine whether the auto-rotation function of the electronic device is turned on and whether the setting control is triggered.

[0068] After the screen rotation control of the electronic device is triggered, an auto-rotation function of the electronic device is turned on, and in response to the setting control being triggered, the lock state of the display orientation can be changed.

[0069] When an auto-rotation function of the electronic device is turned off after a screen rotation control of the electronic device is triggered, the display orientation is locked in response to the auto-rotation function being turned off without responding to the triggering of the setting control.

[0070] S230, the display orientation lock state is changed, and the operation is completed.

[0071] S240, lock the display orientation.

[0072] The locking method provided by Example 2 of the present disclosure can control the locking state of the display orientation by determining whether the auto-rotation function of the electronic device is turned on and whether the setting control is triggered after the screen rotation control of the electronic device is triggered, thereby improving the accuracy of the locking method.

[0073] FIG. 6 is a process schematic diagram of another locking method according to Example 2 of the present disclosure. As shown in FIG. 6, when the system turns on auto-rotation, the electronic device can meet the setting conditions in two ways. In one aspect, when the user clicks on the screen, i.e., receives a setting operation on the display screen of the electronic device, a pause can be displayed in the current display interface of the application program, and a screen lock (i.e., a setting control) can be displayed on the left side of the display interface, and the user can select to turn the screen lock on or off (i.e., the setting control is triggered), and finally, the lock state of the display orientation is changed in the current display interface, and multimedia data and attribute controls are displayed. On the other hand, when the electronic device performs conversion between landscape and portrait screens, if the electronic device meets the setting conditions, it can display a screen lock prompt boost (i.e., a setting control) for 3 seconds in the current display interface of the application program, and the user can select whether to lock the screen. If the user selects YES, the display orientation lock state is set as locked. Then, when the electronic device performs conversion between landscape and portrait screens again, if the electronic device meets the setting conditions, it can display an unlock prompt boost (i.e., a setting control) for 3 seconds in the current display interface of the application program, and the user can select whether to unlock and perform subsequent operations based on the selection. If the user does not select screen lock, the display orientation lock state is not changed, and the above operations are repeated when the electronic device performs conversion between landscape and portrait screens again.

[0074] Example 3

[0075] FIG. 7 is a structural schematic diagram of a locking device according to a third embodiment of the present disclosure, which can be applied to locking a display orientation in an application program, and which can be realized by software and / or hardware and is generally integrated into an electronic device.

[0076] As shown in FIG. 7, the device includes: A setting control display module 310 configured to display a setting control within a current display interface of an application program on the electronic device when the electronic device satisfies a setting condition, the setting control being used to control a lock state of a display orientation of multimedia data played by the application program; and a lock state change module 320 configured to change a lock state of the display orientation after the setting control is triggered, where the current display interface includes the multimedia data and attribute controls of the multimedia data, and the setting controls include a lock control for locking the display orientation and an unlock control for unlocking the display orientation.

[0077] In this embodiment, the device displays a setting control in a current display interface of an application program on the electronic device through a setting control display module 310 when the electronic device meets a setting condition, the setting control is used to control a lock state of the display orientation of multimedia data played by the application program, and changes the lock state of the display orientation after the setting control is triggered through a lock state change module 320, the current display interface includes the multimedia data and an attribute control of the multimedia data, and the setting control includes a lock control for locking the display orientation and an unlock control for unlocking the display orientation. The device can display a setting control in a current display interface of an application program when the electronic device meets a setting condition, so as to realize the change of the lock state of the display orientation, and at the same time, simultaneously display the multimedia data and the attribute control in the current display interface, so as to realize the user to operate the multimedia data and the attribute control in the current display interface while changing the lock state of the display orientation, thereby improving the user experience.

[0078] In one embodiment, the electronic device satisfies a set condition by: The electronic device converts between a horizontal screen and a vertical screen; and receiving a setting operation on a display screen of the electronic device.

[0079] In one embodiment, after the electronic device satisfies a set condition, The display device further includes an instruction message display module configured to display a first set time length for instruction information indicating information related to the setting control.

[0080] In one embodiment, the indication information is displayed a set number of times.

[0081] In one embodiment, in response to the display orientation being locked and the time period during which the display orientation of the multimedia data returns to the display orientation before the switching being less than a second set time period, determining that the display state of the indication information is not to display the indication information; In response to the display orientation being unlocked and the time period during which the display orientation of the multimedia data returns to the display orientation before the switch being less than a second set time period, it is determined that the display state of the indication information displays the indication information.

[0082] In one embodiment, the lock state change module 320 is An auto-rotation function of the electronic device is turned on after a screen rotation control of the electronic device is triggered, and is configured to change the lock state of the display orientation in response to the setting control being triggered.

[0083] In one embodiment, the lock state change module 320 is A rotation control service is configured to change the lock state of the display orientation after detecting that the setting control is triggered on a lock controller.

[0084] The above locking device can implement the locking method provided by any embodiment of the present disclosure, and has corresponding function modules for implementing the method and beneficial effects.

[0085] Example 4

[0086] FIG. 8 is a structural schematic diagram of a lock device according to a fourth embodiment of the present disclosure. FIG. 8 shows a structural schematic diagram of a lock device 400 suitable for implementing the embodiment of the present disclosure. The lock device 400 in the embodiment of the present disclosure may include mobile terminals such as a mobile phone, a notebook computer, a digital broadcast receiver, a personal digital assistant (PDA), a tablet computer (Portable Android Device, PAD), a portable media player (Portable Media Player, PMP), an in-vehicle terminal (e.g., an in-vehicle navigation terminal), and fixed terminals such as a digital television (TV) and a desktop computer. The electronic device 400 shown in FIG. 8 is just an example.

[0087] As shown in FIG. 8, the electronic device 400 may include one or more processing devices (e.g., a central processor, a graphic processor, etc.) 401, and the electronic device 400 can execute various appropriate motions and processes based on a program stored in a read-only memory (ROM) 402 or loaded from a storage device 408 into a random access memory (RAM) 403. The one or more processing devices 401 implement the methods provided by the present disclosure. The RAM 403 further stores various programs and data required for the operation of the electronic device 400. The processing devices 401, the ROM 402, and the RAM 403 are connected to each other via a bus 404. An input / output (I / O) interface 405 is also connected to the bus 404.

[0088] Typically, the following devices may be connected to the I / O interface 405: input devices 406 including, for example, a touch screen, touch pad, keyboard, mouse, camera, microphone, accelerometer, gyroscope, etc.; output devices 407 including, for example, a Liquid Crystal Display (LCD), speaker, vibrator, etc.; storage devices 408 including, for example, a tape, hard disk, etc., for storing one or more programs; and communication devices 409. The communication devices 409 may allow the electronic device 400 to exchange data by wireless or wired communication with other devices. Although FIG. 8 illustrates the electronic device 400 with various devices, it should be understood that it is not required to implement or include all the devices shown. Alternatively, more or fewer devices may be implemented or included.

[0089] In particular, the above processes described with reference to the flowcharts according to the embodiments of the present disclosure may be implemented as a computer software program. For example, the embodiments of the present disclosure include a computer program product, which includes a computer program recorded on a computer-readable medium, and the computer program includes program code for performing the method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network by the communication device 409, or may be installed from the storage device 408, or may be installed from the ROM 402. When the computer program is executed by the processing device 401, it performs the above functions in the method of the embodiments of the present disclosure.

[0090] However, the computer-readable medium in this disclosure may be a computer-readable signal medium, or a computer-readable storage medium, or any combination of both. The computer-readable storage medium may be, for example, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. The computer-readable storage medium may include an electrical connection with one or more conductors, a portable computer magnetic disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this disclosure, the computer-readable storage medium may be any tangible medium that contains or stores a program. The program is used in or in combination with an instruction execution system, apparatus, or device. In this disclosure, a computer-readable signal medium may include a data signal propagated in baseband or as part of a recorded wave, in which a computer-readable program code is recorded. Such a propagated data signal may take multiple forms, including an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may transmit, propagate, or transmit a program used in or in conjunction with an instruction execution system, apparatus, or device. The program code included in the computer-readable medium may be transmitted by any suitable medium, including a wire, a cable, a radio frequency (RF), or the like, or any suitable combination thereof.

[0091] In some embodiments, the clients and servers may communicate in any network protocol now known or later developed, such as Hyper Text Transfer Protocol (HTTP), and may interconnect with any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include a Local Area Network (LAN), a Wide Area Network (WAN), the Internet (e.g., a network), a peer-to-peer network (e.g., an ad hoc peer-to-peer network), and any network now known or later developed.

[0092] The computer-readable medium may be included in the electronic device 400, or may exist independently without being installed in the electronic device 400.

[0093] The computer-readable medium stores one or more computer programs, which, when executed by a processor, realize the following method. The computer-readable medium stores one or more programs, which, when executed by the electronic device, cause the electronic device 400 to create computer program code for performing the operations of the present disclosure in one or more programming languages ​​or combinations thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and the like, and further including conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be fully executed by the user computer, partially executed by the user computer, executed as an independent software package, partially executed by the user computer and partially executed by a remote computer, or fully executed by a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user computer via any type of network, including a LAN or WAN, or may be connected to an external computer (e.g., connected by the Internet through an Internet Service Provider).

[0094] The flowcharts and block diagrams in the drawings illustrate possible system structures, functions, and operations of the systems, methods, and computer program products according to various embodiments of the present disclosure. Each block in the flowcharts or block diagrams may represent a module, program segment, or part of code, which includes one or more executable instructions for implementing the specified logic function. It should be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than the order marked in the drawings. For example, two blocks shown connected may actually be executed in parallel, or they may be executed in the opposite order, depending on the functions involved. It should be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented in a dedicated hardware-based system to execute the specified functions or operations, or may be implemented in a combination of dedicated hardware and computer instructions.

[0095] The modules described in the embodiments of the present disclosure may be realized in a software manner or in a hardware manner.

[0096] The functions described herein may be performed at least in part by one or more hardware logic components, for example, examples of types of hardware logic components that may be used include Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Parts (ASSPs), System on Chip (SOCs), Complex Programmable Logic Devices (CPLDs), etc.

[0097] In the context of this disclosure, a machine-readable medium may be a tangible medium and may contain or store a program for use in or in combination with an instruction execution system, device, or machine. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or machine, or any suitable combination thereof. A machine-readable storage medium may include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a RAM, a ROM, an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination thereof.

[0098] According to one or more embodiments of the present disclosure, Example 1 provides a locking method applied to an application program on an electronic device, comprising: If the electronic device satisfies a setting condition, displaying a setting control in a current display interface of the application program, the setting control being used to control a lock state of a display orientation of multimedia data played by the application program; and changing a lock state of the display orientation after the setting control is triggered, wherein the current display interface includes the multimedia data and attribute controls of the multimedia data, and the setting control includes a lock control for locking the display orientation and an unlock control for unlocking the display orientation.

[0099] According to one or more embodiments of the present disclosure, Example 2 is based on the method described in Example 1, The electronic device satisfies the set conditions, The electronic device converts between a horizontal screen and a vertical screen; and receiving a setting operation on a display screen of the electronic device.

[0100] According to one or more embodiments of the present disclosure, Example 3 is based on the method described in Example 1, comprising: After the electronic device satisfies a set condition, the method further comprises: The method further includes displaying a first set time length in response to instruction information indicating information related to the setting control.

[0101] According to one or more embodiments of the present disclosure, Example 4 is based on the method described in Example 3, comprising: The number of times the instruction information is displayed is a set number of times.

[0102] According to one or more embodiments of the present disclosure, Example 5 is based on the method of Example 3, the method comprising: determining, in response to the display orientation being locked and the time period during which the display orientation of the multimedia data returns to the display orientation before the switching being less than a second set time period, that the display state of the indication information is not to display the indication information; The method further includes a step of determining, in response to the display orientation being unlocked and the length of time during which the display orientation of the multimedia data returns to the display orientation before the switch being less than a second set length of time, that the display state of the indication information displays the indication information.

[0103] According to one or more embodiments of the present disclosure, Example 6 is based on the method described in Example 1, The step of changing the lock state of the display orientation after the setting control is triggered includes: The method further includes turning on an auto-rotation function of the electronic device after a screen rotation control of the electronic device is triggered, and changing a lock state of the display orientation in response to the setting control being triggered.

[0104] According to one or more embodiments of the present disclosure, Example 7 is based on the method described in Example 1, comprising: The step of changing the lock state of the display orientation after the setting control is triggered includes: and changing the lock state of the display orientation by a rotation control service after detecting that the setting control is triggered on a lock controller.

[0105] According to one or more embodiments of the present disclosure, Example 8 provides a locking device for placement on an electronic device, the device comprising: a setting control display module configured to display a setting control within a current display interface of an application program on the electronic device when the electronic device satisfies a setting condition, the setting control being used to control a lock state of a display orientation of multimedia data played by the application program; and a lock state change module configured to change a lock state of the display orientation after the setting control is triggered, where the current display interface includes the multimedia data and attribute controls of the multimedia data, and the setting control includes a lock control for locking the display orientation and an unlock control for unlocking the display orientation.

[0106] According to one or more embodiments of the present disclosure, Example 9 provides an electronic device, one or more processing devices; a storage device for storing one or more programs; The one or more programs, when executed by the one or more processing devices, cause the one or more processing devices to implement the method described in any of Examples 1-7.

[0107] According to one or more embodiments of the present disclosure, Example 10 provides a computer-readable medium having stored thereon a computer program that, when executed by a processor, implements a method as described in any one of Examples 1-7.

Claims

1. 1. A locking method applied to an application program on an electronic device, comprising: If the electronic device satisfies a setting condition, displaying a setting control in a current display interface of the application program, the setting control being used to control a lock state of a display orientation of multimedia data played by the application program; changing a lock state of the display orientation after the setting control is triggered, the current display interface including the multimedia data and an attribute control of the multimedia data, and the setting control including a lock control for locking the display orientation and an unlock control for unlocking the display orientation. Locking method.

2. The electronic device satisfies the set conditions, The electronic device converts between a horizontal screen and a vertical screen; receiving a setting operation on a display screen of the electronic device; The method of claim 1.

3. After the electronic device satisfies the set condition, the method further comprises: and displaying a first set time length for indication information indicating information related to the setting control. The method of claim 1.

4. The method according to claim 3 , wherein the number of times the instruction information is displayed is a preset number.

5. determining, in response to the display orientation being locked and the time period during which the display orientation of the multimedia data returns to the display orientation before the switching being less than a second set time period, that the display state of the indication information is not to display the indication information; determining, in response to the display orientation being unlocked and the time length during which the display orientation of the multimedia data returns to the display orientation before the switching being less than a second set time length, that the display state of the indication information displays the indication information; The method according to claim 3.

6. The step of changing the lock state of the display orientation after the setting control is triggered includes: after a screen rotation control of the electronic device is triggered, an auto-rotation function of the electronic device is turned on, and in response to the setting control being triggered, changing a lock state of the display orientation. The method of claim 1.

7. The step of changing the lock state of the display orientation after the setting control is triggered includes: changing a lock state of the display orientation by a rotation control service after detecting that the setting control is triggered on a lock controller. The method of claim 1.

8. A locking device disposed in an electronic device, a setting control display module configured to display a setting control within a current display interface of an application program on the electronic device when the electronic device satisfies a setting condition, the setting control being used to control a lock state of a display orientation of multimedia data played by the application program; a lock state change module configured to change a lock state of the display orientation after the setting control is triggered, the current display interface including the multimedia data and an attribute control of the multimedia data, and the setting control including a lock control for locking the display orientation and an unlock control for unlocking the display orientation. Locking device.

9. An electronic device, A processing device; A storage device for storing a program, When the program is executed by the processing device, the processing device performs the method according to any one of claims 1 to 7. electronic equipment.

10. A computer readable medium having stored thereon a computer program which, when executed by a processor, implements the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Equipment control method and device, storage medium and electronic equipment

    CN111273810A

  • Portable terminal, screen direction control program and screen direction control method

    JP2012093897A

  • Portable information terminal

    JP2013097400A

  • System and method for locking the orientation of a display on a mobile

    US20130162684A1

  • Orientation lock

    US8717285B1