WO2023134544A1 - 一种锁定方法、装置、电子设备及介质 - Google Patents
一种锁定方法、装置、电子设备及介质 Download PDFInfo
- Publication number
- WO2023134544A1 WO2023134544A1 PCT/CN2023/070747 CN2023070747W WO2023134544A1 WO 2023134544 A1 WO2023134544 A1 WO 2023134544A1 CN 2023070747 W CN2023070747 W CN 2023070747W WO 2023134544 A1 WO2023134544 A1 WO 2023134544A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- control
- display
- electronic device
- setting
- lock
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2200/00—Indexing scheme relating to G06F1/04 - G06F1/32
- G06F2200/16—Indexing scheme relating to G06F1/16 - G06F1/18
- G06F2200/161—Indexing scheme relating to constructional details of the monitor
- G06F2200/1614—Image rotation following screen orientation, e.g. switching from landscape to portrait mode
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2200/00—Indexing scheme relating to G06F1/04 - G06F1/32
- G06F2200/16—Indexing scheme relating to G06F1/16 - G06F1/18
- G06F2200/163—Indexing scheme relating to constructional details of the computer
- G06F2200/1637—Sensing arrangement for detection of housing movement or orientation, e.g. for controlling scrolling or cursor movement on the display of an handheld computer
-
- G—PHYSICS
- G09—EDUCATION; CRYPTOGRAPHY; DISPLAY; ADVERTISING; SEALS
- G09G—ARRANGEMENTS OR CIRCUITS FOR CONTROL OF INDICATING DEVICES USING STATIC MEANS TO PRESENT VARIABLE INFORMATION
- G09G2340/00—Aspects of display data processing
- G09G2340/04—Changes in size, position or resolution of an image
- G09G2340/0492—Change of orientation of the displayed image, e.g. upside-down, mirrored
Definitions
- Embodiments of the present disclosure relate to the technical field of electronic equipment, for example, to a locking method, device, electronic equipment, and media.
- Application program refers to a computer program for completing one or more specific tasks. It runs in user mode, can interact with users, and has a visual user interface.
- Embodiments of the present disclosure provide a locking method, device, electronic device, and medium, so as to improve user convenience and experience when operating application programs.
- an embodiment of the present disclosure provides a locking method applied to an application program on an electronic device, including:
- a setting control is displayed in the current display interface of the application program, and the setting control is used to control the lock state of the display direction of the multimedia data played by the application program;
- the current display interface includes the multimedia data and the attribute control of the multimedia data
- the setting control includes a lock control and an unlock control
- the lock control is used to lock the display orientation
- the unlock control is used to unlock the display orientation.
- the embodiment of the present disclosure also provides a locking device configured on an electronic device, the device comprising:
- the setting control display module is configured to display the setting control in the current display interface of the application program on the electronic device when the electronic device meets the setting conditions, and the setting control is used to control the setting control of the application program.
- a lock state change module configured to change the lock state of the display direction after the setting control is triggered, the current display interface includes the multimedia data and the attribute control of the multimedia data, the setting
- the controls include a lock control and an unlock control, the lock control is used to lock the display direction, and the unlock control is used to unlock the display direction.
- an embodiment of the present disclosure also provides an electronic device, including:
- the program is executed by the processing device, so that the processing device implements the locking method provided by the embodiment of the present disclosure.
- the embodiments of the present disclosure further provide a computer-readable medium on which a computer program is stored, and when the program is executed by the processing device, the locking method provided in the embodiments of the present disclosure is implemented.
- FIG. 1 is a schematic flowchart of a locking method provided in Embodiment 1 of the present disclosure
- FIG. 2 is a schematic diagram of a variation of a locking method provided in Embodiment 1 of the present disclosure
- FIG. 3 is a schematic diagram of a current display interface change of an application program provided by Embodiment 1 of the present disclosure
- FIG. 4 is a schematic diagram of changes in the current display interface of another application provided by Embodiment 1 of the present disclosure.
- FIG. 5 is a schematic flowchart of a locking method provided in Embodiment 2 of the present disclosure.
- FIG. 6 is a schematic flowchart of another locking method provided in Embodiment 2 of the present disclosure.
- FIG. 7 is a schematic structural diagram of a locking device provided in Embodiment 3 of the present disclosure.
- FIG. 8 is a schematic structural diagram of an electronic device provided by Embodiment 4 of the present disclosure.
- the term “comprise” and its variations are open-ended, ie “including but not limited to”.
- the term “based on” is “based at least in part on”.
- the term “one embodiment” means “at least one embodiment”; the term “another embodiment” means “at least one further embodiment”; the term “some embodiments” means “at least some embodiments.” Relevant definitions of other terms will be given in the description below.
- each embodiment provides optional features and examples at the same time.
- the various features recorded in the embodiments can be combined to form multiple optional solutions.
- Each numbered embodiment should not be regarded as only as a technical solution.
- the embodiments in the present disclosure and the features in the embodiments can be combined with each other if there is no conflict.
- Fig. 1 is a schematic flowchart of a locking method provided by Embodiment 1 of the present disclosure, which is applicable to the situation of locking the display orientation in an application program, and the method can be executed by a locking device, wherein the device can be controlled by software and /or implemented by hardware, and generally integrated on an electronic device.
- the electronic device includes: a computer, a notebook computer, a tablet computer, a mobile phone, and the like.
- a locking method provided by Embodiment 1 of the present disclosure includes the following steps:
- the setting control is used to control the lock state of the display direction of the multimedia data played by the application program.
- the setting conditions can be understood as pre-set conditions by the system or related personnel, which are used to judge the display of setting controls, where the content of the setting conditions can be that the electronic device performs horizontal and vertical screen conversion; it can also be The user performs setting operations on the display screen of the electronic device; the electronic device can also receive voice control instructions and the like.
- the setting control may refer to a control that sets the state of the current display interface of the application, and is used to control the locking state of the display direction of the multimedia data played by the application.
- the setting control may be a control for triggering interface locking. , it can also be a control for triggering the unlocking of the interface, etc.
- the position of the setting control in the current display interface of the application can be set according to the needs, for example, it can be located in the center area on the left.
- the currently displayed interface can be regarded as an interface in the application program currently displayed by the electronic device.
- the multimedia data can be video data or picture data in the application program, and the display orientation can be considered as the orientation of the electronic device when displaying multimedia data, such as horizontal or vertical screen, etc.
- the locked state can include locked state and unlocked state (i.e. unlocked state). When the locked state is the locked state, the display orientation is locked, and when the locked state is the unlocked state, the display orientation is unlocked.
- the property control can be a control representing the property of the multimedia data, and the number and content of the property control can be set as required.
- the property control can include a control for liking multimedia data, a control for commenting on multimedia data and/or a control for forwarding multimedia data wait.
- the user can operate the attribute control to realize the processing of the attributes of the multimedia data.
- the attribute control is displayed in the current display interface for user operation.
- 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; at the same time, the current display interface includes One or more property controls for multimedia data.
- the electronic device meeting the set conditions includes one of the following:
- a setting operation on the display screen of the electronic device is received.
- the horizontal-to-vertical screen conversion can be understood as the screen of the electronic device is converted from a horizontal screen to a vertical screen; or the screen of an electronic device is converted from a vertical screen to a horizontal screen;
- the means for detecting the horizontal and vertical screen conversion in this step may be to detect the change of the screen angle of the electronic device. When it is detected that the change of the screen angle of the electronic device exceeds a set angle, such as 45 degrees, it is considered that the electronic device has performed a horizontal and vertical screen conversion.
- the overlay scene in which the electronic device performs horizontal and vertical screen conversion to trigger the display of the setting control includes a multimedia data scene supporting horizontal screen playback.
- the precondition for the electronic device to switch between horizontal and vertical screens to trigger the display of the setting control may be that the automatic rotation function of the electronic device is turned on. If the automatic rotation function is turned off, when the electronic device rotates horizontally or vertically, the setting control may not be displayed, or the setting control may be displayed. After displaying the setting control, the electronic device may not respond to triggering of the setting control.
- the setting control After triggering the display setting control through the horizontal and vertical screen conversion, if the setting control is a lock control, the current screen state will be locked after clicking the lock control, and the setting control will change to a locked style, and the setting control will disappear automatically after a certain period of time. When switching between horizontal and vertical screens, the setting controls disappear directly. If the setting control is an unlocking control, click the unlocking control to unlock the current screen state, the setting control will change to an unlocked style, and the setting control will disappear automatically after a certain period of time. If there is a horizontal or vertical screen switch, the setting control will disappear directly.
- the setting operation may refer to the operation of triggering the display of the setting control, and the content of the setting operation may be pre-set by the system or relevant personnel, for example, it may include the operation of the user clicking the display screen of the electronic device.
- the multimedia data and the attribute controls of the multimedia data are displayed in the current display interface, the setting controls include a lock control and an unlock control, the lock control is used to lock the display direction, and the unlock control is used to to unlock the display orientation.
- the control is set as a locked control
- the display direction is locked in response to the locked control being triggered.
- the control is set as the unlock control, in response to the unlock control being triggered, the display direction is unlocked.
- the user when the setting control is displayed in the current display interface of the application program, the user can choose whether to trigger the setting control.
- the trigger setting control it means that the user wants to control the display of the multimedia data played by the application program.
- Orientation lock status at this time, the lock status of the display orientation can be changed, and at the same time, the current display interface displays multimedia data and attribute controls; the user does not trigger the setting control, indicating that the user does not need to control the lock of the display orientation of the multimedia data played by the application state, at this time, the locked state of the current display orientation can be maintained.
- the locking control and the unlocking control may be displayed on the current processing interface at the same time, or only the locking control may be displayed on the current processing interface, and only the unlocking control may be displayed on the current processing interface.
- the setting control such as the lock control
- the user chooses to trigger the setting control, and the display direction can be locked at this time, that is, the display direction of the multimedia data played by the application program is locked, so as to enhance the user experience;
- the setting control such as the unlocking control is displayed in the current display interface of the application program
- the user chooses to trigger the setting control.
- the display direction can be set to the unlocked state, that is, the display direction of the multimedia data played by the application program can follow the direction of the electronic device change with changes.
- Fig. 2 is a schematic diagram of a locking method provided by Embodiment 1 of the present disclosure.
- Fig. 2 is an example for describing when the electronic device does not meet the setting condition, when the electronic device meets the setting condition, and then when the setting control is triggered
- the current display interface of the application program includes multimedia data 21 and the attribute control 22 of the multimedia data; 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 current display interface displays the multimedia data 21 and Properties control 22.
- the current screen state (horizontal screen & vertical screen) can be locked after clicking the screen lock button (that is, the setting control 23), and the state of the setting control 23 becomes a locked style;
- the setting control 23 is an unlocking control
- the current screen state (horizontal screen & vertical screen) can be unlocked after clicking the screen lock button (ie, the setting control 23), and the state of the setting control 23 becomes an unlocked style.
- the user can click the screen, continue to return to the playback state, and the screen lock disappears.
- Embodiment 1 of the present disclosure provides a locking method, the method is applied to an application program on an electronic device, and includes: when the electronic device meets a setting condition, displaying a setting control in the current display interface of the application program , the setting control is used to control the lock state of the display direction of the multimedia data played by the application program; after the setting control is triggered, the lock state of the display direction is changed, and the current display interface includes
- the setting controls include a lock control and an unlock control
- the lock control is used to lock the display direction
- the unlock control is used to unlock the display direction.
- the setting control can be displayed in the current display interface of the application program to realize the change of the display direction locking state, which improves the convenience for the user to change the locking state.
- the current display interface can display multimedia data and attribute controls at the same time, so that the user can operate the multimedia data and attribute controls in the current display interface while changing the display direction lock state, which improves user experience.
- the electronic device after the electronic device satisfies the set condition, it further includes:
- the indication information indicating information related to the setting control.
- the first set duration may refer to the display duration of the instruction information, which may be preset by the system or relevant personnel, for example, may be 3s.
- the indication information may be the information of setting the control for the indication, for example, the information of the control may be set for the indication trigger, such as clicking to lock; the feedback information of the control may also be set for the trigger, such as locked.
- the timing of displaying the instruction information in this embodiment can be set according to needs, for example, it can be displayed when the setting control is displayed in the current display interface of the application program, or it can be displayed after the setting control is triggered; the number of times to display the instruction information can be Each time or a set number of times, etc.
- the display times of the indication information is a set number of times.
- the set number of times may refer to the upper limit of the display times of the indication information, and the set number of times may be preset by the system or relevant personnel, for example, it may be 10 times.
- the number of occurrences of different information indicating the setting control and the feedback information of the trigger setting control can be calculated separately, and then accumulated and added to obtain the number of times of display. Taking the setting number of times as 10 times as an example, when the number of times of display When it exceeds 10 times, the instruction information will no longer be displayed.
- the accumulative display times of the indication information in the whole life cycle of the use of the application program does not exceed the set number of times, such as click to lock, locked, click to unlock, unlocked and other indication information are calculated separately.
- the number of occurrences of each instruction can be set arbitrarily. For example, click to lock and click to unlock can only appear once, or locked and unlocked can only appear once.
- the prompt will no longer display the click to lock or click to unlock copy. Or don't show locked and unlocked copy in the future.
- the electronic device may also display indication information for a first set duration, to indicate information that triggers the set control or display feedback information that triggers the set control.
- the duration is shorter than a second set duration, determining that the display state of the indication information is to display the indication information.
- the second set duration may refer to a critical duration for switching the display direction, which may be preset by the system or relevant personnel, for example, may be 3s.
- the display state of the indication information may be determined based on the lock state of the display direction.
- the display orientation is locked, if the display orientation of the multimedia data is switched back within the second preset time period, such as when the display orientation of the multimedia data is switched from landscape to portrait and then switched to landscape within 3s , then the display state of the indication information can be no indication information is displayed; when the display direction is not locked, that is, unlocked, if the display direction of the multimedia data is switched back within the second set duration, the display state of the indication information can be Displays an indication, such as a click to lock; or a feedback message for a control set for the trigger, that is, it is locked.
- changing the lock state of the display direction includes:
- the lock controller After the lock controller detects that the setting control is triggered, the lock state of the display direction is changed through the control rotation service.
- the lock controller can be understood as a service that detects the triggering of the setting control, and can detect whether the setting control is triggered by receiving a notification that the user interacts with the information flow.
- the control rotation service may be a service that controls the lock state of the display orientation.
- the lock state of the display direction can be changed by controlling the rotation service.
- the rotation of the screen that is, the display direction
- the rotation service can be unlocked by controlling the rotation service.
- FIG. 3 is a schematic diagram of the change of the current display interface of an application program provided by Embodiment 1 of the present disclosure.
- FIG. 3 is a schematic diagram described by taking the display of the setting control in the current display interface of the application program to the triggering of the setting control as an example.
- FIG. 3 Only some frames are taken as an example for illustration, and the order in which each frame appears is as follows: from left to right.
- a setting control 31 and indication information 32 can be displayed in the current display interface of the application program
- the setting control 31 is a control for triggering the lock
- the indication information 32 represents the indication
- the information of the trigger setting control 31 is to click and lock; the display interface also includes the multimedia data 33 and the attribute control 34 of the multimedia data 33 .
- the setting control 35 and the indication information 36 are displayed in the current display interface of the application program. locking.
- the locked state of the current display interface can display the multimedia data 33 and the attribute control 34 for the user to operate on the multimedia data 33 and the attribute control 34 .
- the setting control 35 and the indication information 36 can be displayed for 3s and disappear in the current display interface to facilitate the user to operate the multimedia data 33 and the property control 34 .
- FIG. 4 is a schematic diagram of another application program current display interface change provided by Embodiment 1 of the present disclosure.
- FIG. 4 is a schematic diagram described by taking the setting control displayed in the application program current display interface to the setting control being triggered as an example.
- FIG. In 4 only some frames are taken as an example for illustration, and the order in which each frame appears is as follows: from left to right.
- a setting control 41 and indication 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 indication information 42 represents an indication
- the information of the trigger setting control 41 is clicked to unlock; the display interface also includes an attribute control 44 of the multimedia data 43 .
- the setting control 45 and the indication information 46 are displayed in the current display interface of the application program, the setting control 45 is in the unlock mode, and the indication information 46 represents the feedback information triggering the setting control 41, that is, unlocking
- the current display interface displays the multimedia data 43 and the attribute control 44 for the user to operate on the multimedia data 43 and the attribute control 44 .
- the setting control 45 and the indication information 46 can be displayed for 3s and disappear in the current display interface to facilitate the user to operate the multimedia data 43 and the property control 44 .
- FIG. 5 is a schematic flowchart of a locking method provided in Embodiment 2 of the present disclosure.
- changes are made based on various optional solutions in Embodiment 1 above.
- changing the lock state of the display orientation is changed to: in response to the electronic device's automatic rotation function being activated after the screen rotation control of the electronic device is triggered When it is turned on and the setting control is triggered, the lock state of the display direction is changed.
- Embodiment 1 Please refer to Embodiment 1 for the content that is not exhaustive in this embodiment.
- a locking method provided by Embodiment 2 of the present disclosure includes the following steps:
- S220 Determine whether the automatic rotation function of the electronic device is turned on and the setting control is triggered after the screen rotation control of the electronic device is triggered, and responds to whether the automatic rotation function of the electronic device is turned on and set after the screen rotation control of the electronic device is triggered.
- S230 is executed; in response to the automatic rotation function of the electronic device is not activated or the setting control is not triggered after the screen rotation control of the electronic device is triggered, S240 is executed.
- the screen rotation control can be considered as a control that controls the on/off status of the automatic screen rotation function of the electronic device.
- the switch state of the automatic screen rotation function of the current electronic device is determined.
- the screen rotation control may be a built-in system lock of the electronic device.
- the screen rotation control can be regarded as an automatic rotation control, and the automatic horizontal and vertical screen rotation mode of the electronic device can be turned on or off through the screen rotation control.
- the lock state of the display orientation can be changed.
- the display orientation is locked in response to the automatic rotation function being turned off without responding to the triggering of the setting control.
- a locking method provided in Embodiment 2 of the present disclosure can check the locked state of the display direction by judging whether the automatic rotation function of the electronic device is enabled after the screen rotation control of the electronic device is triggered, and whether the setting control is triggered. control, thereby improving the accuracy of the locking method.
- Fig. 6 is a schematic flow chart of another locking method provided by Embodiment 2 of the present disclosure.
- the electronic device when the system turns on automatic rotation, the electronic device can meet the setting conditions in two ways. Click the screen, that is, when receiving the setting operation on the display screen of the electronic device, it can display the pause in the current display interface of the application program, and display the screen lock (that is, the setting control) on the left side of the display interface, and the user can choose to open or close Screen lock (that is, the setting control is triggered), and finally change the lock state of the display direction in the current display interface, and display multimedia data and attribute controls.
- Click the screen that is, when receiving the setting operation on the display screen of the electronic device, it can display the pause in the current display interface of the application program, and display the screen lock (that is, the setting control) on the left side of the display interface, and the user can choose to open or close Screen lock (that is, the setting control is triggered), and finally change the lock state of the display direction in the current display interface,
- the screen lock prompt boast (that is, the setting control) can be displayed for 3 seconds in the current display interface of the application program, and the user can choose whether to lock the screen.
- the lock state of the display orientation is set to locked, and then when the electronic device is converted from horizontal to vertical screen again, the electronic device meets the set conditions, and the unlock prompt can be displayed for 3 seconds in the current display interface of the application.
- the user can choose whether to unlock, and perform subsequent operations according to the selection.
- the locked state of the display orientation is not changed, and when the electronic device performs a horizontal and vertical screen conversion again, the above operations are performed cyclically.
- Fig. 7 is a schematic structural diagram of a locking device provided by Embodiment 3 of the present disclosure, which is applicable to the situation of locking the display direction in an application program, where the device can be implemented by software and/or hardware, and is generally integrated in on electronic equipment.
- the device includes:
- the setting control display module 310 is configured to display a setting control in the current display interface of the application program on the electronic device when the electronic device meets the setting conditions, and the setting control is used to control the application program The locked state of the display direction of the played multimedia data;
- the lock state change module 320 is configured to change the lock state of the display direction after the setting control is triggered, the current display interface includes the multimedia data and the attribute control of the multimedia data, and the setting
- the fixed controls include a lock control and an unlock control, the lock control is used to lock the display direction, and the unlock control is used to unlock the display direction.
- the device uses the setting control display module 310 to display the setting control in the current display interface of the application program on the electronic device when the electronic device meets the setting condition, and the setting control uses To control the lock state of the display direction of the multimedia data played by the application program; after the setting control is triggered by the lock state change module 320, change the lock state of the display direction, the current display interface includes all The multimedia data and the attribute controls of the multimedia data, the setting controls include a lock control and an unlock control, the lock control is used to lock the display direction, and the unlock control is used to unlock the display direction.
- the setting control can be displayed in the current display interface of the application program to realize the change of the display direction locking state.
- the current display interface can display multimedia data and attribute controls at the same time, realizing While changing the locked state of the display direction, the user can operate the multimedia data and attribute controls in the current display interface, which improves the user experience.
- the electronic device meeting the set conditions includes one of the following:
- a setting operation on the display screen of the electronic device is received.
- the electronic device after the electronic device satisfies the set conditions, it further includes an indication information display module, which is set to:
- the indication information indicating information related to the setting control.
- the display times of the indication information is a set number of times.
- the duration is shorter than a second set duration, determining that the display state of the indication information is to display the indication information.
- the lock state changing module 320 is set to:
- the lock state changing module 320 is set to:
- the lock controller After the lock controller detects that the setting control is triggered, the lock state of the display direction is changed through the control rotation service.
- the above-mentioned locking device can execute the locking method provided by any embodiment of the present disclosure, and has corresponding functional modules and beneficial effects for executing the method.
- FIG. 8 is a schematic structural diagram of a locking device provided by Embodiment 4 of the present disclosure.
- FIG. 8 shows a schematic structural diagram of a locking device 400 suitable for implementing an embodiment of the present disclosure.
- the locking device 400 in the embodiment of the present disclosure may include, for example, a mobile phone, a notebook computer, a digital broadcast receiver, a personal digital assistant (Personal Digital Assistant, PDA), a tablet computer (Portable Android Device, PAD), a portable multimedia player (Portable Media Player, PMP), mobile terminals such as vehicle-mounted terminals (such as vehicle-mounted navigation terminals), and fixed terminals such as digital televisions (television, TV), desktop computers, and the like.
- PDA Personal Digital Assistant
- PAD Portable Android Device
- PMP portable multimedia player
- mobile terminals such as vehicle-mounted terminals (such as vehicle-mounted navigation terminals)
- fixed terminals such as digital televisions (television, TV), desktop computers, and the like.
- the electronic device 400 shown in FIG. 8 is merely an
- an electronic device 400 may include one or more processing devices (such as a central processing unit, a graphics processing unit, etc.) 401, and the electronic device 400 may be stored in a ROM (Read-Only Memory, ROM) 402 Various appropriate actions and processes are executed by a program loaded from the storage device 408 or a program loaded from the storage device 408 into the random access memory (Random Access Memory, RAM) 403 .
- One or more processing devices 401 implement methods as provided in this disclosure.
- RAM 403 various programs and data necessary for the operation of the electronic device 400 are also stored.
- the processing device 401, ROM 402, and RAM 403 are connected to each other through a bus 404.
- An input/output (Input/Output, I/O) interface 405 is also connected to the bus 404 .
- an input device 406 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; including, for example, a liquid crystal display (Liquid Crystal Display, LCD) , an output device 407 such as a speaker, a vibrator, etc.; a storage device 408 including, for example, a magnetic tape, a hard disk, etc., for storing one or more programs; and a communication device 409.
- the communication means 409 may allow the electronic device 400 to perform wireless or wired communication with other devices to exchange data. While FIG. 8 shows electronic device 400 having various means, it should be understood that implementing or having all of the means shown is not a requirement. More or fewer means may alternatively be implemented or provided.
- the processes described above with reference to the flowcharts can be implemented as computer software programs.
- the embodiments of the present disclosure include a computer program product, the computer program product includes a computer program carried on a computer-readable medium, and the computer program includes program code for executing the method shown in the flowchart.
- the computer program may be downloaded and installed from a network via communication means 409 , or from storage means 408 , or from ROM 402 .
- the processing device 401 the above-mentioned functions in the methods of the embodiments of the present disclosure are executed.
- the computer-readable medium mentioned above in the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two.
- a computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any combination thereof.
- the computer readable storage medium may include: an electrical connection having one or more conductors, a portable computer disk, a hard disk, a random access memory, a read-only memory, an Erasable Programmable Read-Only Memory (EPROM or Flash memory), optical fiber, portable compact disk read-only memory (Compact Disc Read-Only Memory, CD-ROM), optical storage device, magnetic storage device, or any suitable combination of the above.
- a computer-readable storage medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution system, apparatus, or device.
- a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave carrying computer-readable program code therein. Such propagated data signals may take many forms, including electromagnetic signals, optical signals, or any suitable combination of the foregoing.
- a computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which can send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device .
- the program code contained on the computer readable medium can be transmitted by any appropriate medium, including: electric wire, optical cable, radio frequency (Radio Frequency, RF), etc., or any appropriate combination of the above.
- the client and the server can communicate using any currently known or future-developed network protocols such as Hyper Text Transfer Protocol (Hyper Text Transfer Protocol, HTTP), and can communicate with any form or medium of digital Data communication (eg, communication network) interconnections.
- Examples of communication networks include local area networks (Local Area Network, LAN), wide area networks (Wide Area Network, WAN), internetworks (e.g., the Internet), and peer-to-peer networks (e.g., ad hoc peer-to-peer networks), as well as any currently existing networks that are known or developed in the future.
- the above-mentioned computer-readable medium may be contained in the above-mentioned electronic device 400 ; or it may exist independently without being assembled into the electronic device 400 .
- the above-mentioned computer-readable medium stores one or more computer programs, and when the above-mentioned one or more programs are executed by the processing device, the following method is realized: the above-mentioned computer-readable medium carries one or more programs, when the above-mentioned one or more programs When executed by the electronic device, the electronic device 400: can write computer program codes for performing the operations of the present disclosure in one or more programming languages or a combination thereof, the above-mentioned programming languages including object-oriented programming Languages, such as Java, Smalltalk, C++, also include conventional procedural programming languages, such as the "C" language or similar programming languages.
- object-oriented programming Languages such as Java, Smalltalk, C++
- conventional procedural programming languages such as the "C" language or similar programming languages.
- the program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server.
- the remote computer can be connected to the user computer through any kind of network, including a LAN or WAN, or, alternatively, can be connected to an external computer (such as through the Internet using an Internet service provider).
- each block in a flowchart or block diagram may represent a module, program segment, or a portion of code that includes one or more executable instructions for implementing specified logical functions.
- the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved.
- each block of the block diagrams and/or flowchart illustrations, and combinations of blocks in the block diagrams and/or flowchart illustrations can be implemented by a dedicated hardware-based system that performs the specified functions or operations , or may be implemented by a combination of dedicated hardware and computer instructions.
- the modules involved in the embodiments described in the present disclosure may be implemented by software or by hardware.
- exemplary types of hardware logic components include: Field Programmable Gate Array (Field Programmable Gate Array, FPGA), Application Specific Integrated Circuit (ASIC), Application Specific Standard Parts (ASSP) , System on Chip (SOC), Complex Programmable Logic Device (Complex Programming logic device, CPLD) and so on.
- a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device.
- a machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium.
- a machine-readable medium may comprise an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing.
- the machine-readable storage medium may include one or more wire-based electrical connections, portable computer disks, hard disks, RAM, ROM, erasable programmable read-only memory (EPROM or flash memory), optical fibers, CD-ROM, optical storage devices, magnetic storage devices, or any suitable combination of the foregoing.
- Example 1 provides a locking method applied to an application on an electronic device, including:
- a setting control is displayed in the current display interface of the application program, and the setting control is used to control the lock state of the display direction of the multimedia data played by the application program;
- the current display interface includes the multimedia data and the attribute control of the multimedia data
- the setting control includes a lock control and an unlock control
- the lock control is used to lock the display orientation
- the unlock control is used to unlock the display orientation.
- example 2 is according to the method described in example 1,
- the electronic device meeting the set conditions includes one of the following:
- a setting operation on the display screen of the electronic device is received.
- example 3 is according to the method described in example 1,
- the method further includes:
- the indication information indicating information related to the setting control.
- example 4 is according to the method described in example 3,
- the display times of the indication information are set times.
- Example 5 is the method according to Example 3, the method further comprising:
- the duration is less than a second set duration, determining that the display state of the indication information is not to display the indication information
- the duration is shorter than a second set duration, determining that the display state of the indication information is to display the indication information.
- example 6 is according to the method described in example 1,
- changing the lock state of the display direction includes:
- Example 7 is according to the method described in Example 1,
- changing the lock state of the display direction includes:
- the lock controller After the lock controller detects that the setting control is triggered, the lock state of the display direction is changed through the control rotation service.
- Example 8 provides a locking device configured on an electronic device, the device comprising:
- the setting control display module is configured to display the setting control in the current display interface of the application program on the electronic device when the electronic device meets the setting conditions, and the setting control is used to control the setting control of the application program.
- a lock state change module configured to change the lock state of the display direction after the setting control is triggered, the current display interface includes the multimedia data and the attribute control of the multimedia data, the setting
- the controls include a lock control and an unlock control, the lock control is used to lock the display direction, and the unlock control is used to unlock the display direction.
- Example 9 provides an electronic device, comprising:
- the one or more processing devices When the one or more programs are executed by the one or more processing devices, the one or more processing devices implement the method as described in any one of Examples 1-7.
- Example 10 provides a computer-readable medium, on which a computer program is stored, and when the computer program is executed by a processing device, the implementation as in Examples 1-7 any of the methods described.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
Description
Claims (10)
- 一种锁定方法,应用于电子设备上的应用程序,所述方法包括:在所述电子设备满足设定条件时,在所述应用程序当前显示界面内显示设定控件,所述设定控件用于控制所述应用程序所播放多媒体数据的显示方向的锁定状态;在所述设定控件被触发后,改变所述显示方向的锁定状态,所述当前显示界面内包括所述多媒体数据和所述多媒体数据的属性控件,所述设定控件包括锁定控件和解锁控件,所述锁定控件用于锁定所述显示方向,所述解锁控件用于解锁所述显示方向。
- 根据权利要求1所述的方法,其中,所述电子设备满足设定条件包括如下之一:所述电子设备进行横竖屏转换时;接收到所述电子设备显示屏上的设定操作。
- 根据权利要求1所述的方法,在所述电子设备满足设定条件后,所述方法还包括:对指示信息进行第一设定时长的显示,所述指示信息指示与所述设定控件相关的信息。
- 根据权利要求3所述的方法,其中,所述指示信息的显示次数为设定次数。
- 根据权利要求3所述的方法,还包括:响应于所述显示方向被锁定且所述多媒体数据的显示方向切回至切换前的显示方向的时长小于第二设定时长,确定所述指示信息的显示状态为不显示所述指示信息;响应于所述显示方向被解锁且所述多媒体数据的显示方向切回至切换前的显示方向的时长小于第二设定时长,确定所述指示信息的显示状态为显示所述指示信息。
- 根据权利要求1所述的方法,其中,在所述设定控件被触发后,改变所述显示方向的锁定状态,包括:响应于所述电子设备的屏幕旋转控件被触发后所述电子设备的自动旋转功能被开启且所述设定控件被触发,改变所述显示方向的锁定状态。
- 根据权利要求1所述的方法,其中,在所述设定控件被触发后,改变所述显示方向的锁定状态,包括:在通过锁控器检测到所述设定控件被触发后,通过控制旋转服务改变所述显示方向的锁定状态。
- 一种锁定装置,配置于电子设备,所述装置包括:设定控件显示模块,设置为在所述电子设备满足设定条件时,在所述电子设备上的应用程序当前显示界面内显示设定控件,所述设定控件用于控制所述应用程序所播放多媒体数据的显示方向的锁定状态;锁定状态改变模块,设置为在所述设定控件被触发后,改变所述显示方向的锁定状态,所述当前显示界面内包括所述多媒体数据和所述多媒体数据的属性控件,所述设定控件包括锁定控件和解锁控件,所述锁定控件用于锁定所述显示方向,所述解锁控件用于解锁所述显示方向。
- 一种电子设备,包括:处理装置;存储装置,用于存储程序;当所述程序被所述处理装置执行,使得所述处理装置实现如权利要求1-7中任一所述的方法。
- 一种计算机可读介质,所述计算机可读介质上存储有计算机程序,所述计算机程序被处理装置执行时实现如权利要求1-7中任一所述的方法。
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| EP23739888.8A EP4432078A4 (en) | 2022-01-14 | 2023-01-05 | Locking method and apparatus, and electronic device and medium |
| JP2024537337A JP7761197B2 (ja) | 2022-01-14 | 2023-01-05 | ロック方法、装置、電子機器及び媒体 |
| US18/745,566 US12293063B2 (en) | 2022-01-14 | 2024-06-17 | Display orientation locking method, electronic device, and medium |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202210043681.4A CN114398134A (zh) | 2022-01-14 | 2022-01-14 | 一种锁定方法、装置、电子设备及介质 |
| CN202210043681.4 | 2022-01-14 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US18/745,566 Continuation US12293063B2 (en) | 2022-01-14 | 2024-06-17 | Display orientation locking method, electronic device, and medium |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023134544A1 true WO2023134544A1 (zh) | 2023-07-20 |
Family
ID=81230621
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/070747 Ceased WO2023134544A1 (zh) | 2022-01-14 | 2023-01-05 | 一种锁定方法、装置、电子设备及介质 |
Country Status (5)
| Country | Link |
|---|---|
| US (1) | US12293063B2 (zh) |
| EP (1) | EP4432078A4 (zh) |
| JP (1) | JP7761197B2 (zh) |
| CN (1) | CN114398134A (zh) |
| WO (1) | WO2023134544A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN120723129A (zh) * | 2025-08-28 | 2025-09-30 | 苏州元脑智能科技有限公司 | 电子设备的控制方法、装置、服务器、介质及程序产品 |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN114398134A (zh) * | 2022-01-14 | 2022-04-26 | 北京字跳网络技术有限公司 | 一种锁定方法、装置、电子设备及介质 |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012093897A (ja) * | 2010-10-26 | 2012-05-17 | Kyocera Corp | 携帯端末、画面方向制御プログラムおよび画面方向制御方法 |
| CN106020649A (zh) * | 2016-05-30 | 2016-10-12 | 北京小米移动软件有限公司 | 图片旋转控制方法和装置 |
| CN106406848A (zh) * | 2016-03-28 | 2017-02-15 | 乐视控股(北京)有限公司 | 终端横竖屏切换方法及装置 |
| JP2019028944A (ja) * | 2017-08-03 | 2019-02-21 | 株式会社Nttドコモ | プログラムおよび情報処理装置の動作方法 |
| CN111273810A (zh) * | 2020-01-09 | 2020-06-12 | RealMe重庆移动通信有限公司 | 设备控制方法、装置、存储介质及电子设备 |
| CN114398134A (zh) * | 2022-01-14 | 2022-04-26 | 北京字跳网络技术有限公司 | 一种锁定方法、装置、电子设备及介质 |
Family Cites Families (16)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8120625B2 (en) * | 2000-07-17 | 2012-02-21 | Microsoft Corporation | Method and apparatus using multiple sensors in a device with a display |
| KR20100010860A (ko) * | 2008-07-23 | 2010-02-02 | 엘지전자 주식회사 | 이동 단말기 및 그의 이벤트 제어방법 |
| US8717285B1 (en) * | 2009-10-28 | 2014-05-06 | Amazon Technologies, Inc. | Orientation lock |
| JP2013070194A (ja) * | 2011-09-21 | 2013-04-18 | Kyocera Corp | 携帯端末装置、プログラムおよび表示制御方法 |
| US20130162684A1 (en) * | 2011-10-14 | 2013-06-27 | Barnesandnoble.Com Llc | System and method for locking the orientation of a display on a mobile |
| JP5189197B1 (ja) * | 2011-10-27 | 2013-04-24 | シャープ株式会社 | 携帯情報端末 |
| US9772700B2 (en) * | 2012-04-30 | 2017-09-26 | Blackberry Limited | Device and method for processing user input |
| US10410605B2 (en) * | 2012-07-09 | 2019-09-10 | Blackberry Limited | System and method for determining a display orientation of a mobile device |
| CN103631473B (zh) * | 2012-08-22 | 2016-12-21 | 三竹资讯股份有限公司 | 基于应用层的锁定屏幕旋转的装置与方法 |
| CN103677571A (zh) * | 2013-12-20 | 2014-03-26 | 乐视网信息技术(北京)股份有限公司 | 锁定屏幕方向的方法、模块、系统及重力感应模块 |
| US10140961B2 (en) * | 2014-04-30 | 2018-11-27 | Vonage Business Inc. | Systems and methods for controlling a display screen of a portable computing device |
| CN107340948B (zh) | 2017-06-27 | 2019-05-17 | 维沃移动通信有限公司 | 一种视频播放控制方法及移动终端 |
| US10809816B2 (en) * | 2017-08-24 | 2020-10-20 | Qualcomm Incorporated | Customizable orientation lock for a mobile display device |
| CN111294637A (zh) * | 2020-02-11 | 2020-06-16 | 北京字节跳动网络技术有限公司 | 视频播放方法、装置、电子设备和计算机可读介质 |
| CN113110783B (zh) * | 2021-04-16 | 2022-05-20 | 北京字跳网络技术有限公司 | 控件的显示方法、装置、电子设备和存储介质 |
| CN113301441B (zh) * | 2021-05-21 | 2023-02-03 | 北京字跳网络技术有限公司 | 应用程序的交互方法、装置和电子设备 |
-
2022
- 2022-01-14 CN CN202210043681.4A patent/CN114398134A/zh active Pending
-
2023
- 2023-01-05 JP JP2024537337A patent/JP7761197B2/ja active Active
- 2023-01-05 WO PCT/CN2023/070747 patent/WO2023134544A1/zh not_active Ceased
- 2023-01-05 EP EP23739888.8A patent/EP4432078A4/en active Pending
-
2024
- 2024-06-17 US US18/745,566 patent/US12293063B2/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2012093897A (ja) * | 2010-10-26 | 2012-05-17 | Kyocera Corp | 携帯端末、画面方向制御プログラムおよび画面方向制御方法 |
| CN106406848A (zh) * | 2016-03-28 | 2017-02-15 | 乐视控股(北京)有限公司 | 终端横竖屏切换方法及装置 |
| CN106020649A (zh) * | 2016-05-30 | 2016-10-12 | 北京小米移动软件有限公司 | 图片旋转控制方法和装置 |
| JP2019028944A (ja) * | 2017-08-03 | 2019-02-21 | 株式会社Nttドコモ | プログラムおよび情報処理装置の動作方法 |
| CN111273810A (zh) * | 2020-01-09 | 2020-06-12 | RealMe重庆移动通信有限公司 | 设备控制方法、装置、存储介质及电子设备 |
| CN114398134A (zh) * | 2022-01-14 | 2022-04-26 | 北京字跳网络技术有限公司 | 一种锁定方法、装置、电子设备及介质 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4432078A4 * |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN120723129A (zh) * | 2025-08-28 | 2025-09-30 | 苏州元脑智能科技有限公司 | 电子设备的控制方法、装置、服务器、介质及程序产品 |
Also Published As
| Publication number | Publication date |
|---|---|
| JP2025502693A (ja) | 2025-01-28 |
| JP7761197B2 (ja) | 2025-10-28 |
| EP4432078A1 (en) | 2024-09-18 |
| CN114398134A (zh) | 2022-04-26 |
| EP4432078A4 (en) | 2025-03-19 |
| US20240338111A1 (en) | 2024-10-10 |
| US12293063B2 (en) | 2025-05-06 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| JP7797716B2 (ja) | メディアコンテンツの再生方法、装置、機器、記憶媒体、及びプログラム製品 | |
| US9088814B2 (en) | Image display method and apparatus | |
| JP5819965B2 (ja) | システム及び装置 | |
| WO2023274354A1 (zh) | 视频共享方法、装置、设备及介质 | |
| EP4044606B1 (en) | View adjustment method and apparatus for target device, electronic device, and medium | |
| CN111741372A (zh) | 一种视频通话的投屏方法、显示设备及终端设备 | |
| US12487725B2 (en) | Data interaction method, apparatus, electronic device, storage medium, and program product | |
| US12293063B2 (en) | Display orientation locking method, electronic device, and medium | |
| EP4297415A1 (en) | Information display method and apparatus based on video, and device and medium | |
| WO2022077994A1 (zh) | 信息处理方法、装置及介质 | |
| JP7772954B2 (ja) | ビデオ表示及びインタラクティブ方法、装置、電子機器及び記憶媒体 | |
| US12430012B2 (en) | Playing videos and displaying a posting identifier during a video posting process | |
| WO2021228234A1 (zh) | 应用程序的互动消息展示方法、装置及可读存储介质 | |
| WO2024056088A1 (zh) | 直播预约方法、装置、设备、介质及产品 | |
| CN114296611A (zh) | 直播间控制方法、装置、电子设备、介质及程序产品 | |
| WO2024017117A1 (zh) | 视频处理方法、装置、电子设备以及存储介质 | |
| CN114968038A (zh) | 多媒体内容显示方法、装置、设备及介质 | |
| WO2024027689A1 (zh) | 媒体内容的控制方法、装置、电子设备和存储介质 | |
| CN115426531A (zh) | 一种直播间访问方法、装置、设备及介质 | |
| CN116668392A (zh) | 互动信息的发送方法、装置、电子设备和存储介质 | |
| WO2022161329A1 (zh) | 作品的展示方法、装置、电子设备和存储介质 | |
| US9875012B2 (en) | Media sharing between devices using drag and drop gesture | |
| WO2023155708A1 (zh) | 视角的切换方法、装置、电子设备、存储介质和程序产品 | |
| CN112083903A (zh) | 显示装置和终端的控制方法及装置、显示装置和存储介质 | |
| CN111294656A (zh) | 用于调节视频播放的方法、装置和电子设备 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23739888 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2023739888 Country of ref document: EP |
|
| ENP | Entry into the national phase |
Ref document number: 2023739888 Country of ref document: EP Effective date: 20240612 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2024537337 Country of ref document: JP |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |