Shooting interface switching method and apparatus, and device and storage medium thereof

US11159703B2 · US · B2

Patent metadata
FieldValue
Publication numberUS-11159703-B2
Application numberUS-201916557418-A
CountryUS
Kind codeB2
Filing dateAug 30, 2019
Priority dateOct 19, 2018
Publication dateOct 26, 2021
Grant dateOct 26, 2021

How to read this patent

A practical reading order for non-experts. Skip the full description unless you need deep technical detail.

  1. Title

    What the patent document calls the invention.

  2. Abstract

    A short plain-language summary of the technical disclosure.

  3. Assignees and inventors

    Who owns or filed the patent and who is credited as inventor.

  4. Key dates

    Filing, priority, publication, and grant dates set the timeline.

  5. First independent claim

    The legal scope of protection — read this for what is actually claimed.

  6. CPC / IPC classifications

    Technology tags used to group this patent with similar filings.

  7. Citations and related patents

    Prior art links and similar publications in this corpus.

Abstract

Official abstract text for this publication.

The present disclosure provides a shooting interface switching method and apparatus, and a device and storage medium thereof, relating to the field of camera shooting technology. The method includes: displaying a first user interface that enables a shooting program to shoot a photo using a rear camera on a terminal; acquiring a first cover slide event indicating that the slide rear cover is slid out; and controlling, based on the first cover slide event, the shooting program to switch the first user interface to a second user interface that enables the shooting program to shoot a photo using a front camera.

First claim

Opening claim text (preview).

What is claimed is: 1. A method for switching photo shooting interface, the method being applied to a terminal with a front camera and a rear camera being respectively arranged on a front surface and a rear surface of a slide rear cover, and the method comprising: displaying a first user interface that enables a shooting program to shoot a photo using the rear camera on the terminal; acquiring a first cover slide event indicating that the slide rear cover is slid out; and controlling, based on the first cover slide event, the shooting program to switch the first user interface to a second user interface that enables the shooting program to shoot a photo using the front camera, wherein the first user interface for the rear camera is switched to the second user interface for the front camera when a switching control program receives the first cover slide event upon monitoring the first cover slide event, and wherein controlling the shooting program to switch the first user interface to the second user interface comprises: acquiring configuration information corresponding to a switching button control in the shooting program from a configuration file, the switching button control being a control for switching the front camera and the rear camera; generating a first simulation event based on the configuration information of the switching button control, wherein the first simulation event is a click simulation event generated by an operating system when a user clicks a screen position corresponding to an interface position of the switching button control on a touch screen; and sending the first simulation event to the shooting program, the first simulation event being used for triggering the shooting program to switch the first user interface to the second user interface. 2. The method according to claim 1 , wherein the configuration information comprises: interface positional information of the switching button control, the interface positional information being used for indicating positional coordinates of the switching button control on the first user interface; and generating the first simulation event based on the configuration information of the switching button control for simulating trigger of the switching button control comprises: generating, based on the interface positional information of the switching button control, the first simulation event for simulating click of the switching button control. 3. The method according to claim 1 , wherein the configuration information comprises: interface positional information and identifying information of the switching button control; and the method further comprises: acquiring identifying information of a target control corresponding to the interface positional information on the first user interface; and when the identifying information of the target control matches the identifying information of the switching button control, performing the step of generating the first simulation event based on the configuration information of the switching button control for simulating trigger of the switching button control. 4. The method according to claim 1 , wherein the configuration information comprises: interface positional information and identifying information of the switching button control; and the method further comprises: acquiring identifying information of a target control corresponding to the interface positional information on the first user interface; and when the identifying information of the target control does not match the identifying information of the switching button control, updating the configuration information with a background server. 5. The method according to claim 1 , wherein the configuration information comprises: a first version number; and the method further comprises: acquiring a second version number of the shooting program; and when the first version number is different from the second version number, updating the configuration information with a background server. 6. The method according to claim 1 , wherein the acquiring a first cover slide event indicating that the slide rear cover is slid out comprises: monitoring the first cover slide event indicating that the slide rear cover is slid out by a cover slide event controller; and acquiring the first cover slide event from the cover slide event controller. 7. The method according to claim 1 , further comprising: acquiring an action at a stack top of an action stack, the action being used for indicating a foreground display interface on the terminal; and when the action indicates the foreground display interface is the first user interface, performing the step of acquiring a first cover slide event indicating that the slide rear cover is slid out. 8. The method according to claim 7 , further comprising: acquiring a second cover slide event indicating that the slide rear cover is slid in; and controlling, based on the second cover slide event, the shooting program to switch the second user interface to the first user interface. 9. A shooting interface switching apparatus, applied to a terminal with a front camera and a rear camera being respectively arranged on a front surface and a rear surface of a slide rear cover, the apparatus comprising: a processor; and a memory arranged to store an instruction executable by the processor, wherein the processor is arranged to: display a first user interface that enables a shooting program to shoot a photo using the rear camera on the terminal; acquire a first cover slide event indicating that the slide rear cover is slid out; and control, based on the first cover slide event, the shooting program to switch the first user interface to a second user interface that enables the shooting program to shoot a photo using the front camera, wherein the first user interface for the rear camera is switched to the second user interface for the front camera when a switching control program receives the first cover slide event upon monitoring the first cover slide event, and wherein to control the shooting program to switch the first user interface to the second user interface, the processor is further arranged to: acquire configuration information corresponding to a switching button control in the shooting program from a configuration file, the switching button control being a control for switching the front camera and the rear camera; generate a first simulation event based on the configuration information of the switching button control, wherein the first simulation event is a click simulation event generated by an operating system when a user clicks a screen position corresponding to an interface position of the switching button control on a touch screen; and send the first simulation event to the shooting program, the first simulation event being used for triggering the shooting program to switch the first user interface to the second user interface. 10. The apparatus according to claim 9 , wherein the configuration information comprises: interface positional information of the switching button control, the interface positional information being used for indicating positional coordinates of the switching button control on the first user interface; and wherein in order to generate the first simulation event based on the configuration information of the switching button control for simulating trigger of the switching button control, the processor is arranged to: generate, based on the interface positional information of the switching button control, the first simulation event for simulating click of the switching button control. 11. The apparatus according to claim 10 , wherein the configuration information co

Assignees

Inventors

Classifications

  • Upgrading or updating of programs or applications for camera control · CPC title

  • by using camera arrangements where one camera controls another camera to affect the control of camera image capture, e.g. placing the camera in a desirable condition to capture a desired image · CPC title

  • H04M1/0235Primary

    Slidable or telescopic telephones, i.e. with a relative translation movement of the body parts; Telephones using a combination of translation and other relative motions of the body parts · CPC title

  • H04N23/55Primary

    Optical parts specially adapted for electronic image sensors; Mounting thereof · CPC title

  • Control of parameters via user interfaces · CPC title

Patent family

Related publications grouped by family.

External sources

Frequently asked questions

Answers are generated from the same data shown on this page.

What does patent US11159703B2 cover?
The present disclosure provides a shooting interface switching method and apparatus, and a device and storage medium thereof, relating to the field of camera shooting technology. The method includes: displaying a first user interface that enables a shooting program to shoot a photo using a rear camera on a terminal; acquiring a first cover slide event indicating that the slide rear cover is sli…
Who is the assignee on this patent?
Beijing Xiaomi Mobile Software Co Ltd
What technology area does this patent fall under?
Primary CPC classification H04M1/0235. Mapped technology areas include Electricity.
When was this patent published?
Publication date Tue Oct 26 2021 00:00:00 GMT+0000 (Coordinated Universal Time) (B2). Legal status and post-grant events are not shown on this page.
What related patents are in patentsdb?
We list 1 related publication on this page (citations in our corpus or others sharing the same primary CPC).