Locking method, device, electronic device and medium

The method and device provide a setting control in the application interface to manage display orientation, addressing the inconvenience of automatic changes and enhancing user experience by enabling easy lock/unlock functionality.

JP7761197B2Active Publication Date: 2025-10-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
Patents
Current Assignee / Owner
Priority Date
2022-01-14
Filing Date
2023-01-05
Publication Date
2025-10-28
Estimated Expiration
2043-01-05

AI Technical Summary

Technical Problem

Users face inconvenience when viewing multimedia data on electronic devices due to automatic display orientation changes, and existing portrait/landscape lock modes are difficult to access, disrupting the user experience.

Method used

A method and device that display a setting control in the application interface to lock or unlock the display orientation based on predefined conditions, allowing users to conveniently manage the display orientation of multimedia content.

Benefits of technology

Enhances user convenience by enabling easy control over display orientation, improving the user experience by allowing simultaneous operation of multimedia data and attribute controls while changing the lock state.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007761197000001
    Figure 0007761197000001
  • Figure 0007761197000002
    Figure 0007761197000002
  • Figure 0007761197000003
    Figure 0007761197000003
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 designed to accomplish one or more specific tasks, that runs in user mode, allows user interaction, and has a visual user interface.

[0004] When users view multimedia data in an application program, they often seek the most comfortable position, such as lying down. However, if the electronic device is in portrait / landscape auto-rotation mode, the display orientation of the electronic device will continue to rotate, which can be very annoying for users. If the electronic device is in portrait / landscape lock mode, it will be difficult for users to find the rotation lock built into the system when viewing 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 issue that needs to be resolved 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 the display direction of the 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 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 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 a setting control is triggered, wherein 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 a 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 that, when executed by a processing device, implements the locking method provided by the embodiment of the present disclosure. [Brief explanation of the drawings]

[0011] [Figure 1] FIG. 1 is a process diagram of a locking method according to a first embodiment of the present disclosure. [Figure 2] FIG. 2 is a schematic diagram illustrating a change in the locking method according to the first embodiment of the present disclosure. [Figure 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 illustrating a change in the current display interface of another application program according to the first embodiment of the present disclosure; [Figure 5] FIG. 5 is a process 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 INVENTION

[0012]

[0023] Hereinafter, embodiments of the present disclosure will be described with reference to the drawings. While certain embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be embodied in various forms, and that 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 as shown.

[0014] As used herein, the term "comprises" and variations thereof are open-ended, 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.

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

[0016] It should be understood by those skilled in the art that the modifications "one" and "multiple" 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 examples, each example provides optional features and examples, and each feature described in the examples can be combined to form multiple optional solutions, and each numbered example should not be considered as one technical solution. Furthermore, without contradiction, the examples and features in the examples in this disclosure can be combined with each other.

[0019] Example 1

[0020] FIG. 1 is a process diagram of a locking method according to a first embodiment of the present disclosure, which can be applied to locking the display orientation of an application program. The method can be performed by a locking device, which can be implemented by software and / or hardware and is generally integrated into an electronic device. 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 the screen is adapted to landscape mode, which is inconvenient for the user. To solve this problem, as shown in FIG. 1, a locking method according to a first embodiment of the present disclosure includes steps S110 and S120.

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

[0023] In this embodiment, the setting conditions can be understood as conditions set in advance by the system or relevant 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 that the electronic device receives voice control commands, 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 interface locking or interface unlocking. The location of the setting control in the current display interface of the application program can be set as needed, for example, in the center left area. The current display interface can be considered to be an interface within the application program currently displayed on the electronic device. The multimedia data can be video data, drawing data, etc. in the application program. The display orientation can be considered to be the orientation of the electronic device when displaying the multimedia data, such as landscape or portrait. The lock state can include a locked state and an unlocked state (i.e., an unlocked state). When the lock state is locked, the display orientation is locked. When the lock state is unlocked, the display orientation is unlocked.

[0025] The attribute control may be a control representing an attribute of multimedia data, and the number and content of the attribute control may be configured 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. A user can realize processing of attributes of multimedia data by operating the attribute control. In the present disclosure, regardless of whether the display orientation lock state 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 conditions, a setting control can be displayed in the current display interface of the application program to control the lock state of the display direction 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 fulfilling the set condition may include: 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 landscape and portrait screens can be understood as the screen of the electronic device being converted from landscape to portrait, or the screen of the electronic device being converted from portrait to landscape, or the landscape or portrait screen being rotated inverted. In this step, the means for detecting the conversion between landscape and portrait screens 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 converted between landscape and portrait screens.

[0029] 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 prerequisite for triggering display of the setting control when the electronic device converts 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 setting control may not be displayed when the electronic device converts between landscape and portrait screens, or the setting control may be displayed. After displaying the setting control, the electronic device may not respond to triggering of the setting control.

[0031] After the display of the setting control is triggered by the change between landscape and portrait screen, if the setting control is a lock control, the current screen state will be locked after clicking the lock control, the setting control will enter lock style, and the setting control will automatically disappear after displaying for a certain period of time, and the setting control will directly disappear when the screen changes between landscape and portrait; if the setting control is an unlock control, the current screen state will be unlocked after clicking the unlock control, the setting control will enter unlock style, and the setting control will automatically disappear after displaying for a certain period of time, and the setting control will directly disappear when the screen changes between landscape and portrait.

[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 the current display interface of an application program, the user can choose whether to trigger the setting control. If the user chooses to trigger the setting control, it is explained that the user intends to control the lock state of the display direction of the multimedia data played by the application program, and at this time, the lock state of the display direction can be changed. At the same time, multimedia data and attribute controls are displayed within the current display interface. 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 direction of the multimedia data played by the application program, and at this time, the current lock state of the display direction can be maintained.

[0036] For example, both the lock control and the unlock control may be displayed simultaneously 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 an 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 an 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 changes in the orientation of the electronic device.

[0037] FIG. 2 is a schematic diagram illustrating 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 conditions to when the electronic device meets the setting conditions and the setting control is triggered. FIG. 2 only takes a few 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 conditions (for example, when the user watches a video), the current display interface of the application program includes multimedia data 21 and attribute controls 22 for the multimedia data. When the electronic device meets the setting conditions (for example, when the user clicks on the screen), the current display interface of the application program displays a setting control 23 (for example, a lock control). 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 a locked 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 an unlocked style. Finally, after clicking the screen, the user can continue back to the playback state, and the screen lock will disappear.

[0039] A first embodiment of the present disclosure provides a locking method for an application program on an electronic device, the method comprising: displaying a setting control in a current display interface of the application program 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 changing the lock state of the display orientation after the setting control is triggered, the current display interface including the multimedia data and attribute controls for the multimedia data, the setting control including a lock control for locking the display orientation and an unlock control for unlocking the display orientation. This method displays the setting control in the current display interface of the application program when the electronic device satisfies a setting condition, thereby enabling the lock state of the display orientation to be changed and improving the convenience for users to change the lock state. At the same time, the current display interface can simultaneously display the multimedia data and the attribute control, allowing 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, 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 the 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 for instruction information indicating information related to the setting control.

[0042] The first set time length may be the display time length of the instruction information, which may be set in advance by the system or a related person, and may be, for example, 3 seconds. The instruction information may be information instructing a setting control, for example, information instructing to trigger the setting control, such as click to lock, or feedback information triggering the setting control, such as locked. In this embodiment, the display timing of the instruction information can be set according to needs, for example, it may be displayed when the setting control is displayed 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 preset number may be an upper limit of the number of times the instruction information is displayed, and may be preset by the system or a relevant 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 are calculated, and then cumulatively added to obtain the display number. For example, if the preset number is 10 times, the instruction information will no longer be displayed once the display number exceeds 10 times.

[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 instruction information such as click to lock, locked, click to unlock, unlocked, etc. is 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 instruction information for a first set length of time after the setting condition is met, 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 direction being unlocked and the length of time during which the display direction of the multimedia data returns to the display direction before switching being less than a second set length of time, the display state of the instruction information is determined to display the instruction information.

[0050] The second set time length may be a threshold value for the time length for switching the display direction, and 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 for the display orientation of the multimedia data to return to the previous display orientation is less than a second preset time length, the display state of the instruction information can be determined based on the lock state of the display orientation. For example, when the display orientation is locked, if the display orientation of the multimedia data returns within the second preset time length, for example, when the display orientation of the multimedia data switches from landscape to portrait and switches to landscape within 3 seconds, the display state of the instruction information may be to not display any instruction information; when the display orientation is not locked, i.e., unlocked, if the display orientation of the multimedia data returns within the second preset time length, the display state of the instruction information may be to display instruction information such as click to lock, or feedback information that triggers a setting control, such as locked.

[0052] In one embodiment, after the setting control is triggered, changing the lock state of the display orientation includes: and changing the lock state of the display orientation by a rotation control service after detecting that the setting control is triggered in 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 by receiving a notification of the user's interaction with the information flow. 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 lock state of the display orientation. For example, if a 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., display orientation). If a 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., display orientation).

[0055] FIG. 3 is a schematic diagram showing a change in the current display interface of an application program according to Example 1 of the present disclosure. FIG. 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. FIG. 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 satisfies the setting conditions, a setting control 31 and instruction information 32 can be displayed in the current display interface of the application program, where the setting control 31 is a control for triggering locking, the instruction information 32 indicates information instructing the triggering of the setting control 31, i.e., click to lock, and the display interface further includes multimedia data 33 and an attribute control 34 for 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, where the setting control 35 is in a lock style and the instruction information 36 indicates feedback information for triggering the setting control 31, i.e., indicating that it is locked.

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

[0058] FIG. 4 is a schematic diagram showing a change in the current display interface of another application program according to Example 1 of the present disclosure. FIG. 4 is a schematic diagram illustrating an example of the display of a setting control in the current display interface of the application program until the setting control is triggered. FIG. 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 satisfies the setting conditions, 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, and the instruction information 42 indicates information instructing the triggering of the setting control 41, i.e., click to unlock. The display interface also includes an attribute control 44 for 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 in an unlocking style, and the instruction information 46 indicates feedback information for triggering the setting control 41, i.e., indicating unlocking. At the same time, the multimedia data 43 and the attribute control 44 are displayed in the current display interface for the user to operate. The setting control 45 and instruction information 46 are displayed in the current display interface for 3 seconds and then disappear, allowing the user to operate 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 by turning on an auto-rotation function of the electronic device after a screen rotation control of the electronic device is triggered, and changing the lock state of the display orientation in response to the setting control being triggered.

[0062] For details 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, display a setting control in the current display interface of the application program, where the setting control is used to control the lock state of the 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 considered 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 / off state may be determined by the current on / off state of the automatic screen rotation function of the electronic device. The screen rotation control may also be a system lock attached to the electronic device. The screen rotation control may also be considered as an auto-rotation control, and the screen rotation control may turn on or off the automatic screen rotation mode of the electronic device in landscape and portrait mode.

[0067] When controlling the lock state of the display orientation of multimedia data played by an application program, it is necessary to determine 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.

[0068] After the screen rotation control of the electronic device is triggered, the auto-rotation function of the electronic device is turned on, and in response to the setting control being triggered, the display orientation lock state 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 satisfy 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. The user can select to turn the screen lock on or off (i.e., the setting control is triggered), and finally, the lock status 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 converts between landscape and portrait screens, if the setting conditions are met, a screen lock prompt (i.e., a setting control) may be displayed for 3 seconds in the current display interface of the application program, allowing the user to select whether to lock the screen. If the user selects YES, the display orientation lock status is set to locked. Then, when the electronic device converts between landscape and portrait screens again, if the setting conditions are met, a screen unlock prompt (i.e., a setting control) may be displayed for 3 seconds in the current display interface of the application program, allowing the user to select whether to unlock and perform subsequent operations based on the selection. If the user does not select screen lock, the display orientation lock status is not changed, and the above operations are repeated when the electronic device converts 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 the 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 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, 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.

[0077] In this embodiment, the device displays a setting control in a current display interface of an application program on the electronic device when the electronic device satisfies a setting condition via a setting control display module 310, where the setting control is used to control the lock state of the display orientation of multimedia data played by the application program. A lock state change module 320 changes the lock state of the display orientation after the setting control is triggered. The current display interface includes the 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. The device can display a setting control in the current display interface of the application program when the electronic device satisfies a setting condition, so as to realize the change of the lock state of the display orientation. At the same time, the device can simultaneously display the multimedia data and the attribute control in the current display interface, allowing 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 the 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, for a first set length of time, instruction information indicating information related to the setting control.

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

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

[0082] In one embodiment, the lock state change module 320: After a screen rotation control of the electronic device is triggered, an auto-rotation function of the electronic device is turned on, and the setting control 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: After detecting that the setting control is triggered in a lock controller, a rotation control service is configured to change the lock state of the display orientation.

[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 embodiments of the present disclosure. The lock device 400 in the embodiments of the present disclosure may include mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers (Portable Android Devices (PADs)), portable media players (PMPs), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital televisions (TVs) and desktop computers. The electronic device 400 shown in FIG. 8 is merely an example.

[0087] 8, the electronic device 400 may include one or more processing units (e.g., a central processor, a graphics processor, etc.) 401, and the electronic device 400 can perform various appropriate motions and processes based on a program stored in a read-only memory (ROM) 402 or a program loaded from a storage device 408 into a random access memory (RAM) 403. The one or more processing units 401 implement the methods provided by the present disclosure. The RAM 403 further stores various programs and data necessary for the operation of the electronic device 400. The processing units 401, ROM 402, and 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, which may allow the electronic device 400 to exchange data with other devices by wireless or wired communication. While FIG. 8 illustrates the electronic device 400 with various devices, it should be understood that it is not required to implement or include all of the devices shown. Alternatively, more or fewer devices may be implemented or included.

[0089] In particular, the 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 may include a computer program product, which may include a computer program recorded on a computer-readable medium, the computer program including program code for performing the methods illustrated in the flowcharts. In such embodiments, the computer program may be downloaded and installed from a network via 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 functions of the methods according to the embodiments of the present disclosure.

[0090] However, the computer-readable medium in this disclosure may be a computer-readable signal medium, 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, on which computer-readable program code is recorded. Such propagated data signals may take several forms, including electromagnetic signals, optical signals, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which is capable of transmitting, propagating, or transmitting a program for use in or in connection with an instruction execution system, apparatus, or device. The program code contained in the computer-readable medium may be transmitted over any suitable medium, including wire, cable, radio frequency (RF), etc., or any suitable combination thereof.

[0091] In some embodiments, clients and servers may communicate using any now known or later developed network protocol, such as HyperText 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 now known or later developed network.

[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 processing device, implement the following methods: The computer-readable medium stores one or more programs, which, when executed by the electronic device, cause the electronic device 400 to generate 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, and C++, as well as conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computer, partially on the user computer, as a separate software package, partially on the user computer and partially on a remote computer, or entirely on a remote computer or server. When referring to 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., via the Internet through an Internet Service Provider).

[0094] The flowcharts and block diagrams in the drawings illustrate possible organizational structures, functions, and operations of systems, methods, and computer program products according to various embodiments of the present disclosure. Each block in a flowchart or block diagram may represent a module, program segment, or portion of code, which includes one or more executable instructions for implementing the specified logical function. Note that in some alternative implementations, the functions marked in the blocks may occur in an order different from the order marked in the drawings. For example, two blocks shown as connected may actually be executed in parallel, or they may be executed in the reverse order, depending on the functionality involved. Note 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 perform 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 implemented in a software manner or 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), Systems on Chips (SOCs), Complex Programmable Logic Devices (CPLDs), etc.

[0097] In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain or store a program used in or in connection with an instruction execution system, device, or apparatus. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. The machine-readable medium may include an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or apparatus, or any suitable combination thereof. The machine-readable storage medium may include one or more wire-based electrical connections, a portable computer disk, a hard disk, RAM, ROM, erasable programmable read-only memory (EPROM or flash memory), fiber optics, 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 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.

[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, After the electronic device satisfies the set condition, the method further comprises: The method further includes displaying a first set time length for 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, 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 described in Example 3, wherein the method comprises: determining, in response to the display orientation being locked 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 is not to display the indication information; The method further includes a step of determining that the display state of the instruction information displays the instruction information in response to the display direction being unlocked and the length of time during which the display direction of the multimedia data returns to the display direction before the switch being less than a second set length of time.

[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: 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, a step of changing a lock state of the display orientation is included.

[0104] According to one or more embodiments of the present disclosure, Example 7 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: and changing the lock state of the display orientation by a rotation control service after detecting that the setting control is triggered in 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, wherein the current display interface includes the 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.

[0106] According to one or more embodiments of the present disclosure, Example 9 provides an electronic device, one or more processing units; 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 processing device, implements the method 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, 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; and if the electronic device satisfies the setting condition, displaying indication information for a first set length of time, the indication information indicating information related to the setting control, and both the indication information and the setting control being displayed within a current display interface of the application program; The locking method is not displaying the instruction information in response to the display orientation being locked and a time length between a time when the display orientation of the multimedia data is switched from a first orientation to a second orientation and a time when the display orientation of the multimedia data is switched from the second orientation to the first orientation being less than a second set time length; displaying the instruction information in response to the display orientation being unlocked and a time length between a time when the display orientation of the multimedia data is switched from the first orientation to the second orientation and a time when the display orientation of the multimedia data is switched from the second orientation to the first orientation being less than the second set time length. 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. The method of claim 1 , wherein the number of times the instruction information is displayed is a set number of times.

4. 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.

5. 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.

6. 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, 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; An instruction information display module, If the electronic device satisfies the setting condition, displaying indicator information for a first set length of time, the indicator information indicating information related to the setting control, and the indicator information and the setting control both being displayed within a current display interface of the application program; not displaying the instruction information in response to the display orientation being locked and a time length between a time when the display orientation of the multimedia data is switched from a first orientation to a second orientation and a time when the display orientation of the multimedia data is switched from the second orientation to the first orientation being less than a second set time length; and displaying the instruction information in response to the display orientation being unlocked and the time length between the timing at which the display orientation of the multimedia data is switched from the first orientation to the second orientation and the timing at which the display orientation of the multimedia data is switched from the second orientation to the first orientation being less than the second set time length. Locking device.

7. 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 5. electronic equipment.

8. A computer readable medium having stored thereon a computer program which, when executed by a processing device, implements the method of any one of claims 1-5.

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