WO2023130920A9 - 一种电子设备的控制方法及电子设备 - Google Patents

一种电子设备的控制方法及电子设备 Download PDF

Info

Publication number
WO2023130920A9
WO2023130920A9 PCT/CN2022/138789 CN2022138789W WO2023130920A9 WO 2023130920 A9 WO2023130920 A9 WO 2023130920A9 CN 2022138789 W CN2022138789 W CN 2022138789W WO 2023130920 A9 WO2023130920 A9 WO 2023130920A9
Authority
WO
WIPO (PCT)
Prior art keywords
interface
control
controls
printing
electronic device
Prior art date
Application number
PCT/CN2022/138789
Other languages
English (en)
French (fr)
Other versions
WO2023130920A1 (zh
Inventor
鲍新彤
王龙
Original Assignee
荣耀终端有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 荣耀终端有限公司 filed Critical 荣耀终端有限公司
Priority to EP22918369.4A priority Critical patent/EP4293495A1/en
Priority to US18/280,297 priority patent/US20240160339A1/en
Publication of WO2023130920A1 publication Critical patent/WO2023130920A1/zh
Publication of WO2023130920A9 publication Critical patent/WO2023130920A9/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1292Mobile client, e.g. wireless printing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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
    • G06F3/0482Interaction with lists of selectable items, e.g. menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction 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
    • G06F3/04847Interaction techniques to control parameter settings, e.g. interaction with sliders or dials
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04883Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures for inputting data by handwriting, e.g. gesture or text
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • G06F3/04886Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures by partitioning the display area of the touch-screen or the surface of the digitising tablet into independently controllable areas, e.g. virtual keyboards or menus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1204Improving or facilitating administration, e.g. print management resulting in reduced user or operator actions, e.g. presetting, automatic actions, using hardware token storing data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1202Dedicated interfaces to print systems specifically adapted to achieve a particular effect
    • G06F3/1203Improving or facilitating administration, e.g. print management
    • G06F3/1205Improving or facilitating administration, e.g. print management resulting in increased flexibility in print job configuration, e.g. job settings, print requirements, job tickets
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1253Configuration of print job parameters, e.g. using UI at the client
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/0035User-machine interface; Control console
    • H04N1/00405Output means
    • H04N1/00408Display of information to the user, e.g. menus
    • H04N1/00413Display of information to the user, e.g. menus using menus, i.e. presenting the user with a plurality of selectable options
    • H04N1/00416Multi-level menus
    • H04N1/00419Arrangements for navigating between pages or parts of the menu
    • H04N1/00424Arrangements for navigating between pages or parts of the menu using a list of graphical elements, e.g. icons or icon bar
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N1/00Scanning, transmission or reproduction of documents or the like, e.g. facsimile transmission; Details thereof
    • H04N1/0035User-machine interface; Control console
    • H04N1/00405Output means
    • H04N1/00482Output means outputting a plurality of job set-up options, e.g. number of copies, paper size or resolution
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2203/00Indexing scheme relating to G06F3/00 - G06F3/048
    • G06F2203/048Indexing scheme relating to G06F3/048
    • G06F2203/04806Zoom, i.e. interaction techniques or interactors for controlling the zooming operation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Definitions

  • the present application relates to the field of terminal technology, and in particular, to a control method of an electronic device and an electronic device.
  • This application provides an electronic device control method and electronic device, which helps reduce the user's operational complexity, improve the intelligence of the terminal device, and ultimately improve the user experience.
  • embodiments of the present application provide a method for controlling an electronic device.
  • the method can be applied to the electronic device.
  • the method includes: the electronic device displays a first interface, and the first interface includes: a first thumbnail and A first number of controls, a first thumbnail corresponding to the first file, the first thumbnail having a first size, the first number of controls including the first control;
  • the first control may be a print control, the user triggers the print control, the electronic device A print instruction can be sent to the printing device, and the print instruction instructs to print the first file;
  • the user performs a first operation on the first interface, and the first operation can be a slide-up operation
  • the electronic device displays a second interface
  • the second interface includes: a second thumbnail and a second number of controls, the second number of controls includes the first control, the second thumbnail corresponds to the first file, the second thumbnail has a second size, the second size is smaller than the first size, and the second The quantity is greater than the first quantity, and the second interface is the same size as the first
  • the user performs the second operation in the first interface, so that more controls are displayed in the second interface than in the first interface, thereby providing the user with more control items, and at the same time
  • the first thumbnail is reduced to the second thumbnail to avoid the control from blocking the thumbnail, making it easier for the user to view and improving the user experience.
  • the first thumbnail in response to the second operation on the first interface, is reduced from the first size to the second size to obtain the second thumbnail; and the first number of controls is reduced according to the second operation. Move and add a third number of controls in the second interface to obtain a second number of controls, where the sum of the first number and the third number is the second number.
  • the first thumbnail is located on the upper side of the first number of controls, and the second operation is a slide-up operation. The user can drag out more controls by swiping up on the first interface.
  • the first interface is displayed in response to the third operation acting on the second interface.
  • the third operation may be a sliding operation.
  • the controls are reduced and the second thumbnail is increased to the first thumbnail, thereby causing the electronic device to display the first interface.
  • the first number of controls also includes a second control, a third control and a fourth control.
  • a third interface is displayed, and the third interface includes: print Device options;
  • a fourth interface is displayed, and the fourth interface includes: the option of selecting the number of print copies;
  • a fifth interface is displayed, and the fifth interface includes: : Print range option; wherein, in response to the first operation on the first control, sending a printing instruction to the printing device includes: in response to the first operation on the first control, sending a print instruction to the printing device selected in the third interface.
  • the first printing parameters include the printing number selected in the fourth interface and the printing range selected in the fifth interface.
  • the second control can be a printing device selection control
  • the third control can be a print number selection control
  • the fourth control can be a printing range selection control.
  • the second number of controls also includes a fifth control, a sixth control, a seventh control and an eighth control.
  • the sixth interface is displayed.
  • the interface includes: a paper type option; in response to the eighth operation acting on the sixth control, a seventh interface is displayed, and the seventh interface includes: a paper size selection option; in response to the ninth operation acting on the seventh control, an eighth interface is displayed, and the The eight interfaces include: printing mode options, the printing modes include: double-sided printing and single-sided printing; in response to the tenth operation on the eighth control, the ninth interface is displayed, the ninth interface includes: color mode options, the color mode options include: Black and white mode and color mode; wherein, in response to the first operation on the first control, sending a printing instruction to the printing device includes: in response to the first operation on the first control, sending a printing instruction carrying the second printing parameter to the printing device , the second printing parameters include: the paper type selected in the fifth interface, the paper type selected in the sixth interface,
  • the first number of controls also includes a ninth control.
  • the ninth control corresponds to the background image.
  • the icon of the ninth control is displayed as a third thumbnail corresponding to the background image.
  • the user can display the ninth control according to the third thumbnail.
  • the thumbnail determines the background to be selected, and selects the ninth control corresponding to the background.
  • the first thumbnail is displayed on the background image selected by the eleventh operation.
  • the background image selected in the eleventh operation is the background image corresponding to the ninth control selected in the eleventh operation.
  • the second number of controls also includes a tenth control.
  • the tenth control corresponds to the positional relationship between the first thumbnail and the background image.
  • the icon of the tenth control is a schematic diagram of the corresponding positional relationship.
  • the user The position relationship to be selected can be determined according to the schematic diagram, and the tenth control corresponding to the position relationship can be selected.
  • the eleventh operation of a tenth control according to the position relationship selected by the twelfth operation, in the eleventh operation
  • the first thumbnail is displayed on the selected background image, and the positional relationship selected by the twelfth operation is the positional relationship corresponding to the tenth control selected by the twelfth operation.
  • the first thumbnail is located on the upper side of the first number of controls, and in response to the thirteenth operation acting on the first interface, a tenth interface is displayed, and the tenth interface includes the first thumbnail and the Four numbers of controls, wherein the first thumbnail has a first size, and a fourth number of controls are located on an upper side of the first thumbnail.
  • the thirteenth operation is a sliding operation.
  • inventions of the present application provide an electronic device.
  • the electronic device includes a memory for storing computer program instructions and a processor for executing the program instructions.
  • a trigger is triggered.
  • the electronic device performs the printing method according to any one of the first aspects.
  • inventions of the present application provide a computer-readable storage medium.
  • the computer-readable storage medium includes a stored program, wherein when the program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the steps in the first aspect.
  • the printing method of the item is controlled to execute any one of the steps in the first aspect.
  • inventions of the present application provide a computer program product.
  • the computer program product includes executable instructions. When the executable instructions are executed on a computer, they cause the computer to perform the printing method according to any one of the first aspects.
  • embodiments of the present application also provide a chip, which is coupled to a memory and used to execute a computer program stored in the memory to perform any possible printing in any of the above aspects.
  • the electronic device of the second aspect, the computer-readable storage medium of the third aspect, the computer program product of the fourth aspect, and the chip of the fifth aspect provided above are all used to execute the corresponding methods provided above. , therefore, the beneficial effects it can achieve can be referred to the beneficial effects in the corresponding methods provided above, and will not be described again here.
  • Figure 1 is a schematic diagram of an application scenario provided by an embodiment of the present application.
  • Figure 2 is a schematic structural diagram of a mobile phone provided by an embodiment of the present application.
  • Figure 3a is a schematic diagram of a graphical user interface of the first electronic device provided by an embodiment of the present application.
  • Figure 3b is a schematic diagram of a graphical user interface of the second electronic device provided by an embodiment of the present application.
  • Figure 3c is a schematic diagram of a graphical user interface of a third electronic device provided by an embodiment of the present application.
  • Figure 3d is a schematic diagram of a graphical user interface of the fourth electronic device provided by an embodiment of the present application.
  • Figure 4a is a schematic diagram of a graphical user interface of the fifth electronic device provided by an embodiment of the present application.
  • Figure 4b is a schematic diagram of a graphical user interface of a sixth electronic device provided by an embodiment of the present application.
  • Figure 4c is a schematic diagram of a graphical user interface of a seventh electronic device provided by an embodiment of the present application.
  • Figure 4d is a schematic diagram of a graphical user interface of an eighth electronic device provided by an embodiment of the present application.
  • Figure 4e is a schematic diagram of a graphical user interface of the ninth electronic device provided by an embodiment of the present application.
  • Figure 5a is a schematic diagram of a graphical user interface of a tenth electronic device provided by an embodiment of the present application.
  • Figure 5b is a schematic diagram of a graphical user interface of an eleventh electronic device provided by an embodiment of the present application.
  • Figure 5c is a schematic diagram of a graphical user interface of a twelfth electronic device provided by an embodiment of the present application.
  • Figure 5d is a schematic diagram of a graphical user interface of a thirteenth electronic device provided by an embodiment of the present application.
  • Figure 5e is a schematic diagram of a graphical user interface of a fourteenth electronic device provided by an embodiment of the present application.
  • Figure 5f is a schematic diagram of a graphical user interface of a fifteenth electronic device provided by an embodiment of the present application.
  • Figure 5g is a schematic diagram of a graphical user interface of a sixteenth electronic device provided by an embodiment of the present application.
  • Figure 6a is a schematic diagram of a graphical user interface of a seventeenth electronic device provided by an embodiment of the present application.
  • Figure 6b is a schematic diagram of a graphical user interface of an eighteenth electronic device provided by an embodiment of the present application.
  • Figure 6c is a schematic diagram of a graphical user interface of a nineteenth electronic device provided by an embodiment of the present application.
  • Figure 7a is a schematic diagram of a graphical user interface of a twentieth electronic device provided by an embodiment of the present application.
  • Figure 7b is a schematic diagram of a graphical user interface of a twenty-first electronic device provided by an embodiment of the present application.
  • Figure 7c is a schematic diagram of the graphical user interface of the twenty-second electronic device provided by the embodiment of the present application.
  • Figure 7d is a schematic diagram of a graphical user interface of a twenty-third electronic device provided by an embodiment of the present application.
  • Figure 7e is a schematic diagram of the graphical user interface of the twenty-fourth electronic device provided by the embodiment of the present application.
  • Figure 7f is a schematic diagram of the graphical user interface of the twenty-fifth electronic device provided by the embodiment of the present application.
  • Figure 7g is a schematic diagram of the graphical user interface of the twenty-sixth electronic device provided by the embodiment of the present application.
  • Figure 8a is a schematic diagram of a graphical user interface of the twenty-seventh electronic device provided by the embodiment of the present application.
  • Figure 8b is a schematic diagram of the graphical user interface of the twenty-eighth electronic device provided by the embodiment of the present application.
  • Figure 8c is a schematic diagram of the graphical user interface of the twenty-ninth electronic device provided by the embodiment of the present application.
  • Figure 8d is a schematic diagram of a graphical user interface of the thirtieth electronic device provided by an embodiment of the present application.
  • Figure 9a is a schematic diagram of a graphical user interface of the thirty-first electronic device provided by an embodiment of the present application.
  • Figure 9b is a schematic diagram of a graphical user interface of the thirty-second electronic device provided by an embodiment of the present application.
  • Figure 9c is a schematic diagram of a graphical user interface of the thirty-third electronic device provided by an embodiment of the present application.
  • Figure 9d is a schematic diagram of a graphical user interface of the thirty-fourth electronic device provided by an embodiment of the present application.
  • Figure 9e is a schematic diagram of a graphical user interface of the thirty-fifth electronic device provided by an embodiment of the present application.
  • Figure 10a is a schematic diagram of a graphical user interface of the thirty-sixth electronic device provided by an embodiment of the present application.
  • Figure 10b is a schematic diagram of a graphical user interface of the thirty-seventh electronic device provided by the embodiment of the present application.
  • Figure 10c is a schematic diagram of a graphical user interface of the thirty-eighth electronic device provided by an embodiment of the present application.
  • Figure 10d is a schematic diagram of a graphical user interface of the thirty-ninth electronic device provided by an embodiment of the present application.
  • Figure 10e is a schematic diagram of a graphical user interface of the fortieth electronic device provided by an embodiment of the present application.
  • Figure 10f is a schematic diagram of the graphical user interface of the forty-first electronic device provided by the embodiment of the present application.
  • Figure 11a is a schematic diagram of a graphical user interface of the forty-second electronic device provided by an embodiment of the present application.
  • Figure 11b is a schematic diagram of the graphical user interface of the forty-third electronic device provided by the embodiment of the present application.
  • Figure 12a is a schematic diagram of a graphical user interface of the forty-fourth electronic device provided by an embodiment of the present application.
  • Figure 12b is a schematic diagram of a graphical user interface of the forty-fifth electronic device provided by an embodiment of the present application.
  • Figure 13a is a schematic diagram of a graphical user interface of the forty-sixth electronic device provided by an embodiment of the present application.
  • Figure 13b is a schematic diagram of the graphical user interface of the forty-seventh electronic device provided by the embodiment of the present application.
  • Figure 14a is a schematic diagram of a graphical user interface of the forty-eighth electronic device provided by an embodiment of the present application.
  • Figure 14b is a schematic diagram of the graphical user interface of the forty-ninth electronic device provided by the embodiment of the present application.
  • Figure 14c is a schematic diagram of a graphical user interface of the fiftieth electronic device provided by an embodiment of the present application.
  • Figure 14d is a schematic diagram of a graphical user interface of the fifty-first electronic device provided by an embodiment of the present application.
  • Figure 15 is a schematic diagram of a graphical user interface of the fifty-second electronic device provided by an embodiment of the present application.
  • Figure 16a is a schematic diagram of a graphical user interface of the fifty-third electronic device provided by an embodiment of the present application.
  • Figure 16b is a schematic diagram of the graphical user interface of the fifty-fourth electronic device provided by the embodiment of the present application.
  • Figure 16c is a schematic diagram of a graphical user interface of the fifty-fifth electronic device provided by an embodiment of the present application.
  • Figure 17a is a schematic diagram of the graphical user interface of the fifty-sixth electronic device provided by the embodiment of the present application.
  • Figure 17b is a schematic diagram of the graphical user interface of the fifty-seventh electronic device provided by the embodiment of the present application.
  • Figure 17c is a schematic diagram of the graphical user interface of the fifty-eighth electronic device provided by the embodiment of the present application.
  • Figure 17d is a schematic diagram of the graphical user interface of the fifty-ninth electronic device provided by the embodiment of the present application.
  • Figure 17e is a schematic diagram of a graphical user interface of the sixtieth electronic device provided by an embodiment of the present application.
  • Figure 17f is a schematic diagram of the graphical user interface of the sixty-first electronic device provided by the embodiment of the present application.
  • Figure 17g is a schematic diagram of the graphical user interface of the sixty-second electronic device provided by the embodiment of the present application.
  • Figure 17h is a schematic diagram of the graphical user interface of the sixty-third electronic device provided by the embodiment of the present application.
  • Figure 17i is a schematic diagram of the graphical user interface of the sixty-fourth electronic device provided by the embodiment of the present application.
  • Figure 18a is a schematic diagram of a graphical user interface of the sixty-fifth electronic device provided by an embodiment of the present application.
  • Figure 18b is a schematic diagram of the graphical user interface of the sixty-sixth electronic device provided by the embodiment of the present application.
  • Figure 18c is a schematic diagram of the graphical user interface of the sixty-seventh electronic device provided by the embodiment of the present application.
  • Figure 18d is a schematic diagram of the graphical user interface of the sixty-eighth electronic device provided by the embodiment of the present application.
  • Figure 18e is a schematic diagram of the graphical user interface of the sixty-ninth electronic device provided by the embodiment of the present application.
  • Figure 18f is a schematic diagram of the graphical user interface of the seventy-ninth electronic device provided by the embodiment of the present application.
  • Figure 19 is a flow chart of a control method for an electronic device provided by an embodiment of the present application.
  • first”, “second” and “third” are used for descriptive purposes only and shall not be understood as indicating or implying relative importance or implicitly indicating the quantity of indicated technical features. Thus, features defined as “first”, “second”, and “third” may explicitly or implicitly include one or more of these features.
  • the shooting method provided by the embodiment of this application can be applied to mobile phones, tablet computers, wearable devices, vehicle-mounted devices, augmented reality (AR)/virtual reality (VR) devices, notebook computers, super mobile personal computers ( On terminal devices such as ultra-mobile personal computers (UMPC), netbooks, and personal digital assistants (personal digital assistants, PDA), the embodiments of the present application do not place any restrictions on the specific types of terminal devices.
  • AR augmented reality
  • VR virtual reality
  • PDA personal digital assistants
  • FIG. 1 is a schematic structural diagram of an example terminal device 100 provided by an embodiment of the present application.
  • the terminal device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charging management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2 , mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone interface 170D, sensor module 180, button 190, motor 191, indicator 192, camera 193, display screen 194, and Subscriber identification module (SIM) card interface 195, etc.
  • SIM Subscriber identification module
  • the sensor module 180 may include a pressure sensor 180A, a gyro sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.
  • the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the terminal device 100.
  • the terminal device 100 may include more or less components than shown in the figures, or combine some components, or split some components, or arrange different components.
  • the components illustrated may be implemented in hardware, software, or a combination of software and hardware.
  • the software system of the terminal device 100 may adopt a layered architecture, an event-driven architecture, a microkernel architecture, a microservice architecture, or a cloud architecture.
  • the embodiment of this application takes the Android system with a layered architecture as an example to illustrate the software structure of the terminal device 100 .
  • FIG. 2 is a software structure block diagram of the terminal device 100 according to the embodiment of the present application.
  • the layered architecture divides the software into several layers, and each layer has clear roles and division of labor.
  • the layers communicate through software interfaces.
  • the Android system is divided into four layers, from top to bottom: application layer, application framework layer, Android runtime (Android runtime) and system libraries, and kernel layer.
  • the application layer can include a series of application packages. As shown in Figure 2, the application package can include camera, gallery, calendar, calling, map, navigation, WLAN, Bluetooth, music, video, short message and other applications.
  • the application framework layer provides an application programming interface (API) and programming framework for applications in the application layer.
  • API application programming interface
  • the application framework layer includes some predefined functions.
  • the application framework layer can include a window manager, content provider, view system, phone manager, resource manager, notification manager, etc.
  • Android runtime includes core libraries and virtual machines. Android runtime is responsible for the scheduling and management of the Android system.
  • the core library contains two parts: one is the functional functions that need to be called by the Java language, and the other is the core library of Android.
  • the application layer and application framework layer run in virtual machines.
  • the virtual machine executes the java files of the application layer and application framework layer into binary files.
  • the virtual machine is used to perform object life cycle management, stack management, thread management, security and exception management, and garbage collection and other functions.
  • System libraries can include multiple functional modules. For example: surface manager (surface manager), media libraries (media libraries), 3D graphics processing libraries (for example: OpenGL ES), 2D graphics engines (for example: SGL), etc.
  • the kernel layer is the layer between hardware and software.
  • the kernel layer contains at least display driver, camera driver, audio driver, and sensor driver.
  • the hardware layer may include various types of sensors, such as the various types of sensors introduced in Figure 1, acceleration sensors, gyroscope sensors, touch sensors, etc. involved in the embodiment of this application.
  • the physical components involved in the electronic device 100 mainly include sensors, decision support systems (decision support systems, DSS) display chips, touch screens, and fingerprint recognition Modules and other hardware components; as well as screen management module, display driver, fingerprint driver, anti-accidental touch and other kernel software layers; anti-accidental touch input, screen control, always on display (AOD) service, power management and other application frameworks layer functions; as well as application layer services such as special adaptation applications (camera), third-party applications, system hibernation, and AOD.
  • DSS decision support systems
  • DSS decision support systems
  • DSS decision support systems
  • touch screens touch screens
  • screen management module display driver, fingerprint driver, anti-accidental touch and other kernel software layers
  • anti-accidental touch input, screen control, always on display (AOD) service power management and other application frameworks layer functions
  • application layer services such as special adaptation applications (camera), third-party applications, system hibernation, and AOD.
  • the shooting method provided by the embodiment of the present application is mainly realized by the cooperation between the touch panel (TP) module and one or more of the above physical components as well as each layer of the software architecture layer of the electronic device 100.
  • TP touch panel
  • the TP module receives the user's touch operation on the touch display screen, and passes the user's touch operation to the physical state recognition module of the system library.
  • the physical state monitoring module monitors and identifies the user's touch operation.
  • the physical state monitoring module transmits the user's touch operation to the state machine management module of the electronic device, and controls the window management system of the FWK layer through the state machine management module to control a series of actions and displays of the electronic device.
  • the implementation of the entire process also requires the collaborative participation of multiple other modules and sensors, such as the skin module of the application layer, which is used to control the touch screen display interface, etc., which will not be described in this application.
  • the electronic device has the function of generating a printing task based on a printing object, which may be an image, a file, a memo, etc.
  • a printing object which may be an image, a file, a memo, etc.
  • the electronic device is installed with a photo album application for browsing images. Users can click on the icon of the photo album application to enter the photo album interface.
  • the photo album interface has images displayed according to preset sizes and preset arrangement rules. Images in the photo album interface can be selected by long pressing and other operations.
  • Figure 3a is a schematic diagram of selecting images in the photo album interface of the electronic device. After the user selects image A, image B and image C in the photo album interface, the user enters the interface 30a shown in Figure 3a.
  • a sharing control 31 is provided in the interface 30a.
  • a print control 32 and some other control controls 33 are provided in the interface 30b.
  • the user triggers the print control 32 the user can enter the printing task of the image object.
  • the user enters the interface 30c as shown in Figure 3c, displays the file manager in the interface 30c, and selects the print object 36 by long pressing or other operations in the file manager, and triggers the print object 36
  • the interface 30d shown in Figure 3d is entered.
  • the interface 30d provides a task preview area 34.
  • the user triggers the print control 35 for the print object 36 in the task preview area 34 to enter the print task corresponding to the file.
  • an interface 40a as shown in Figure 4a can be obtained.
  • the interface 40a at least includes a preview area 41 and a control area 42.
  • the preview area 41 is used to display the preview result corresponding to the printing object, that is, the preview object.
  • the preview area 41 includes a fully displayed first preview object 411 and an incompletely displayed second preview object 412. In the preview area 41, you can also slide in the direction in which the preview objects are arranged to view the complete preview object. For example, the user can display a third preview object not displayed in the interface 40a in the preview area 41 by sliding to the left in the preview area 41.
  • Each preview object includes a selection control 413. After entering the print task, the selection control of each preview object is in a selected state. The user can cancel the selection of the preview object by clicking the selection control 413.
  • the control area 42 is used to display control controls.
  • the control controls may specifically include a start printing control 421 and a printing parameter control.
  • the printing parameter controls may include a printer selection control 422, a copy selection control 423, a range selection control 424, etc.
  • the control control can be clicked to trigger the display of a control window on the interface 40a for the user to make selections.
  • control controls displayed in the control area 42 of the interface 40a can be commonly used control controls. In the image printing scenario, they can be the printer selection control 422, the number of copies selection control 423, and the range selection control 424, or Can be other controls.
  • the user can click the start printing control 421 to trigger the electronic device to send a printing instruction to the printing device.
  • control area 42 There is a mark 43 above the control area 42, which is used to indicate that the control area 42 can also provide other undisplayed control controls in addition to the currently provided control controls.
  • the user slides upward on a single point in the interface 40a.
  • the interface 40a changes to the interface 40c as shown in Figure 4c.
  • the control controls hidden in 40a are displayed: paper type selection control 425, paper size selection control 426, printing mode selection control 427 and color mode. Select control 428.
  • the corresponding control window can also be displayed.
  • step 40c due to the expansion of the control area 42, the area occupied by the preview area 41 in the display interface becomes smaller.
  • the preview object in the preview area 41 also becomes smaller accordingly.
  • the preview area 41 displays a complete first preview object 411, a complete second preview object 412, and an incomplete third preview object 414. Similarly, you can slide in the direction in which the preview objects are arranged to display the complete third preview object in the preview area 41 .
  • control area 42 provides seven types of control controls.
  • a scroll bar can also be added to the control area 42 of 40c.
  • the control area 42 displays seven control controls and a scroll bar 44. The user pulls down the scroll bar 44 to display hidden control controls, such as printing direction and page margins. wait.
  • the user clicks the number of copies selection control 423 in the interface 40c, and the interface 50a shown in Figure 5a is displayed.
  • the interface 50a provides a number of copies selection window 51, and the number of copies to be printed can be selected in the number of copies selection window 51. number of copies, and then click the confirmation control 511, the number of copies selection window 51 disappears, and the electronic device returns to the interface 40c.
  • the interface 50b provides a paper selection window 52, and the paper type to be printed can be selected in the paper selection window 52.
  • the paper selection window 52 disappears, the electronic device returns to the interface 40c, and the paper type is plain paper.
  • the user clicks the cancel control 521 the electronic device returns to the interface 40c, and the paper type remains unchanged compared to before the paper selection window 52 pops up.
  • the interface 50c provides a print method selection window 53, and the desired printing method can be selected in the print method selection window 53. , including double-sided printing or single-sided printing.
  • the user clicks single-sided printing the paper selection window 53 disappears, the electronic device returns to the interface 40c, and the printing mode is single-sided printing.
  • the first preview object, the second preview object and the third preview object have all been selected.
  • the third preview object is provided in 50d.
  • a range selection window 54, in which the range to be printed can be selected.
  • the first range selection window can provide all printing options, or can also provide options for selecting the start page and the end page respectively. For example, in 50d, the user selected Print All.
  • the interface 50e provides another second range selection window 55 that is different from the first range selection window 54.
  • all printing options 551, customized printing options 552 and continuous printing options 553 are provided.
  • the second range selection window 55 disappears and returns to the interface 40c.
  • the second range selection window 55 disappears and returns to the interface 40c.
  • the printing range corresponding to the custom print option 552 is the image corresponding to the first preview object and the third preview object.
  • the user selects the continuous printing option 553, selects the start page in the start page selection area, and selects the end page in the end page selection area.
  • the OK control 554 the second range selection window 55 disappears and returns to the interface 40c. .
  • the interface 50f provides a paper size selection window 56.
  • the paper size provided in the paper size selection window 56 is the current paper size.
  • a color mode selection window 57 is provided in 50g.
  • the color mode selection window 57 provides both color mode and black and white mode. options.
  • the preview objects in the preview area 42 are displayed in the black and white mode, the color mode selection window 57 disappears, and the electronic device returns to the interface 40c.
  • FIG. 4 c there is a mark 45 above the control area 42 , and the mark 45 is used to indicate that the current control area 42 can shrink downward.
  • the mark 45 is used to indicate that the current control area 42 can shrink downward.
  • the user slides downwards with a single point in the interface 40c, and the control area 42 shrinks downward.
  • the size of the control controls in the control area 42 remains unchanged and the number decreases.
  • the electronic device displays as shown in Figure 4a. displayed interface.
  • both the control area and the preview area are areas that can be expanded or contracted.
  • the size of the preview object in the preview area changes accordingly.
  • the control area is in a contracted state, the preview object is larger; when the control area is in an extended state, the preview object is smaller, and the preview object can change accordingly according to the controls in the control area.
  • the above-mentioned single-point slide-up operation and single-point slide-down operation may be operations generated at any position in the interface.
  • the single-point slide-up operation can be generated at any position of the interface 40a.
  • the single-point slide operation can be generated at any position on the interface 40c.
  • the electronic device displays another print task interface 60a as shown in Figure 6a.
  • the interface 60 at least includes a control area 61 and a preview area 62 .
  • Three frequently used control controls are provided in the control area 61 , and multiple preview objects are displayed in the preview area 62 .
  • the preview area 62 does not completely display all the preview objects, and the user can view all the preview objects in the preview area 62 by performing a sliding operation in the direction in which the preview objects are arranged.
  • a mark 621 is included below the control area 61, and the mark 621 is used to indicate that the control area 61 is allowed to be folded upward.
  • a mark 622 is included below the preview area 62 , and the mark 622 is used to indicate that there is other content below the preview area 62 that can be dragged out.
  • the user swipes up a single point on the interface 60a, and in response to the above operation, the electronic device displays the interface 60b as shown in FIG. 6b. In the interface 60b, the control area 61 is retracted upward, the preview area 62 moves upward, and the background selection area 63 is displayed.
  • the background selection area 63 is not the only content that can be displayed below the preview area 62. Other content can also be displayed below the moved up preview area 62. Here, only the background is used. Select area 63 as an example for description.
  • the background selection area 63 provides a variety of preset backgrounds, and the user can slide in the direction in which the multiple backgrounds are arranged to browse more backgrounds that are allowed to be selected. As an example, the user selects the background 631, and the first preview object 411 currently selected in the preview area 62 is displayed on the background 631.
  • a mark 623 is also displayed above the background selection area 62.
  • the mark 623 is used to indicate that the background selection area 63 is allowed to be slid up to display more content.
  • the user performs a single-point sliding operation on the interface 60b and drags out the location selection area 65.
  • the electronic device displays the interface 60c as shown in Figure 6c.
  • the position selection area 65 is used to provide various position options of the preview object in the background. In the example of the interface 60c, the centering option 651 is selected, and the first preview object is displayed centered on the selected background 631.
  • the user performs a single-click sliding operation on the interface 60c, and the display interface of the electronic device changes from 60c to the interface 60b.
  • the user performs a single-click sliding operation on the interface 60b, and the display interface of the electronic device changes from 60b to 60a.
  • the printing task can display at least three states as shown in 60a, 60b, and 60c.
  • the position and size of the preview area will change differently according to the user's operations, so that the user When more content is called up, the preview object can not be covered.
  • the preview object can occupy a larger area for display, thus realizing variable layout under different control requirements and avoiding the preview object being blocked. Cover it to make it easier for users to see the preview effect.
  • the electronic device has a short video application installed, and the user starts the short video application through a preset operation on the electronic device.
  • the electronic device plays a short video
  • the electronic device displays an interface 70a as shown in Figure 7a.
  • the interface 70a includes a video playback area 71, an information display area 72, and a comment area 73.
  • the video playback area 71 is used to display the short video of the current page;
  • the information display area 72 is used to display video information, such as video name, video introduction information, topics carried by the video, etc.;
  • the comment area 73 is used to display comment information of the current video.
  • the video playback area 71 and the comment area 73 can be displayed in different areas on the same layer, and the information display area 72 can be overlaid on the video playback area 71 . In other examples, the information display area 72 may also be on the same layer as the video playback area 71 and the comment area 73 .
  • the interface 70a also provides a variety of operation controls 74. The operation controls 74 are all displayed at the top level and partially overlap with the video playback area 71, the information display area 72, and the comment area 73.
  • the proportion of the short video displayed in the video playback area 71 is not limited. When the ratio of the short video to the video playback area 71 is the same, the short video can fill the video playback area 71; When the proportions are different, the video can be centered and displayed in the video playback area 71 .
  • the comment area 73 may display TopN comments according to the number of likes of the currently played short video, or display TopN comments according to the number of comment replies. When there are no comments on the short video, the comment area 73 can be hidden, or display information to prompt the user to comment, for example: Come and express your thoughts!
  • the mark 75 is used to indicate that there is other content below the comment area.
  • This part of the content may be content belonging to the comment area 73, or may be other functional areas, for example, recommendation information used to recommend other highly liked videos of the current anchor, etc.
  • the expanded content is used as comment information for explanation.
  • the user performs a single-point slide-up operation in the interface 70a, and the single-point slide-up operation is generated in the video playback area 71, as shown in Figure 7b.
  • This operation triggers the short video slide-up in the video playback area 71, and Play the next recommended short video.
  • the user performs a single-point slide-up operation as shown in FIG. 7c in the interface 70a, and the down point of the single-point slide-up operation is in the comment area 73.
  • the electronic device displays an interface 70d as shown in Figure 7d.
  • the comment area 73 is pulled out, the video playback area 71 moves upward, the operation controls 74 are hidden, the video playback area 71 is reduced, and the short videos in the video playback area 71 are reduced and displayed in the same proportion.
  • the pulled-out comment area 73 When there are many comments on the video, the pulled-out comment area 73 cannot fully display all the comments.
  • the pulled-out comment area 73 includes a scroll bar 731, and all comments of the current short video can be previewed by pulling the scroll bar 731. .
  • the down point of the single-point sliding operation falls in the video playback area 71, and the up point falls in the comment area 73.
  • the pulled out comment area 73 is contracted, and the electronic device displays an interface 70a as shown in Figure 7a.
  • the user performs a single-click sliding operation in the interface 70e, and the comment content in the comment area 73 is scrolled up.
  • the comment content in the comment area 73 is pulled to the top, the pulled The comment area 73 is contracted, and the electronic device displays an interface 70a as shown in Figure 7a.
  • the previous short video is displayed in the video playback area 71 .
  • the user performs a single-point slide-up operation 77 on the interface 70e, and the down point and up point of this operation fall in the video playback area 71.
  • the next short video is displayed in the video playback area 71.
  • the comment area 73 is automatically closed, and the layout of the interface is the same as 70a.
  • the above embodiment provides changes in the layout of the task interface including the preview area in three different scenarios. It can be understood that, in addition to the above three scenarios, in other scenarios, in order to take into account both control and preview, the interface layout scheme that adapts the size and position of the preview area according to different operations falls within the scope of protection of this scheme.
  • this solution can also have other implementation modes.
  • Figure 8d is another schematic diagram of entering a printing task.
  • Two entrances are provided in the interface 800a.
  • the first entrance is the printer connection entrance 81, and the other entrance is the print entrance 82 for entering a print job.
  • the electronic device displays the print task interface 800b as shown in FIG. 8b.
  • Two types of printing functions are provided in the interface 800b, specifically the first type of printing function 83 and the second type of printing function 84.
  • the first type of printing function 83 includes: document printing function 831, large picture printing function 832, picture printing function 833 and photo album printing function 834.
  • the printing function area 83 also has an identification control 835.
  • the identification control 835 is used to indicate that other functions not shown in the interface 800b can also be provided.
  • the interface 800c more printing functions that the electronic device can provide are displayed, including: scanning function 835, puzzle printing function 836, area cropping printing function 837, custom printing function 838, and ID card printing function 839. In some examples, there may be more or less functionality than in interface 800c.
  • the user triggers the document printing function 831, and the electronic device displays an interface 900a as shown in Figure 9a.
  • the interface 900a includes a preview frame 91 and a control area 92.
  • a document adding control 911 is displayed at a preset position in the preview box 91 .
  • the user selects a document to be printed in the document selection interface 900e and clicks the completion control 96.
  • the electronic device enters a printing interface with the same layout as the interface 40a, and displays the document to be printed selected by the user in the preview area 41.
  • the user triggers the picture printing function 833, and the electronic device displays the interface 900c as shown in Figure 9c.
  • the interface 900c includes: a preview frame 93 and a control area 94.
  • a picture adding control 931 is displayed at a preset position in the preview box 93 .
  • the user selects a picture to be printed in the picture selection interface 900d and clicks the completion control 95.
  • the electronic device enters a printing interface with the same layout as the interface 40a, and displays the picture to be printed selected by the user in the preview area 41.
  • the document can be printed through the document printing function 831, or the document can be printed through the method of FIG. 3c.
  • the document printing services provided by the two are the same. The difference is that when the document printing function 831 is used, When printing, first enter the print task, and then select the document to be printed; when printing the document through the method in Figure 3c, first select the document to be printed, and then enter the print task.
  • pictures can be printed through the picture printing function 833, or pictures can be printed through the method of Figure 3b.
  • the picture printing services provided by the two are the same. The difference is that when pictures are printed through the picture printing function 833, When printing, first enter the print task, and then select the picture to be printed; when printing the picture through the method in Figure 3b, first select the picture to be printed, and then enter the print task.
  • the user triggers the scan function 835, and the electronic device displays the interface 100a as shown in Figure 10a.
  • the interface 100a includes a preview area 11 and a control area 12.
  • the controls in the control area 12 cannot be triggered, and the mark 111 is used to identify the number of pages currently scanned. For example, 1/1 means that the currently scanned page number is the first page, and a total of one page is scanned.
  • the electronic device displays an interface 100c as shown in Figure 10c.
  • the scan result, the thumbnail of the scan result 124, the rescan control 122 and the continue scan control 123 are displayed in the preview area 11 of the interface 100c.
  • a prompt message 13 is displayed in the interface 100d, prompting the user that rescanning will not retain the scan results, and asks the user whether to continue. Rescan, if the user selects "continue", the electronic device clears the content in the scanned preview area 11, and enters the interface 100b to scan again. If the user selects "cancel", the electronic device displays the interface 100c.
  • the electronic device displays the interface 100f shown in FIG. 10f.
  • the interface 100f displays a thumbnail 124 of the first page scan result and a thumbnail 125 of the second page scan result.
  • the user can also click the control 14, and the electronic device displays the interface 100e as shown in Figure 10e.
  • the control window 15 is displayed. If the user chooses to save as a picture, the scan result will be saved to the electronic device in the format of the picture; if the user chooses to save as PDF, the scan result will be saved to the electronic device in the format of PDF.
  • the user triggers the album printing function 834, and the electronic device displays the interface 110a as shown in Figure 11a.
  • the interface 110a includes a preview frame 21 and a control area 22.
  • the image to be printed is displayed in the preview box 21 in a "fit" display mode. If the image to be printed does not fill the preview box 21, the user can click the fill control 23, and the control to be printed can fill the preview box 21, and the excess part will be cropped.
  • control area 22 also includes a printer selection control, a copy selection control, and a paper size selection control.
  • a mark 24 is included above the control area 22. The mark 24 is used to indicate that the control area 22 can also provide more control controls.
  • the control controls hidden in the current control area 22 in the interface 110a can be pulled out through preset operations. After the hidden control controls in the current control area 22 are pulled out, the electronic device displays an interface 110b as shown in Figure 11b. In the interface 110b, the size of each control control remains unchanged, the control area 22 expands, and accordingly, the preview box 21 becomes smaller, and the preview object in preview box 21 becomes smaller.
  • the printing parameters can be adjusted through the paper size selection control 221 and the paper direction selection control 222.
  • the electronic device controls the printer to determine whether the actually inserted paper meets the set printing parameters. If the judgment result is consistent, the electronic device controls the printer to print; if the judgment result If it is not met, the electronic device displays a prompt message: Printing using the current size paper may be different from the preview effect or the printing will fail. Do you want to continue? When the user confirms to continue printing, the electronic device then controls the printer to print.
  • the user triggers the ID card printing function 839, and the electronic device displays the interface 120a as shown in Figure 12a.
  • the interface 120a includes a scanning position prompt box 30 and prompt information 31. The user clicks "Got it" in the prompt message 31 to scan the ID card.
  • the ID card includes two sides. After scanning one side, the electronic device prompts the user to scan the other side of the ID card. After both sides of the ID card are scanned, the electronic device displays an interface 120b as shown in Figure 12b. In the interface 120b, the front and back images of the scanned ID card are displayed in the preview area 302.
  • the interface 120b also includes a save control 304, a retake control 331, and a go to print control 332.
  • the user triggers the save control 304, and the electronic device saves the scan result of the ID card in the preview area 302.
  • the user triggers the retake control, and the electronic device returns to scan the ID card again.
  • the user triggers the printing control 332, and the electronic device enters the printing task of the ID card.
  • the printing task of ID card is similar to the printing task of picture. The difference is that the control controls in the control area can be the same, which will not be described again here.
  • the user triggers the large image printing function 832.
  • Large image printing is used to enlarge the image to be printed and divide it into multiple parts. Print each part as a separate page, and you can choose the magnification (that is, the number of divided copies) and the method of division.
  • the interface 130a includes a preview area 401, a magnification selection control 402, and a print control 403.
  • the dashed lines in the preview area 401 are used to represent the way in which the image to be printed is divided. In this example, the magnification is four times.
  • the user triggers the print control 403 in the interface 130a, and the electronic device displays the interface 130b as shown in Figure 13b.
  • the interface 130b includes a preview area 404 and a control area 405. Each part of the divided image to be printed is previewed in the preview area 404 as a preview object.
  • the control area 405 also includes more controls that can be pulled out. The way the interface layout changes caused by the control controls hidden in the control area 405 being pulled out or retracted can be compared with the preview area in Figure 4a to Figure 4e according to the control area. The way of adapting to changes is similar and will not be described again here.
  • a preview area 141 and a control area 142 are provided.
  • the control area 142 provides an add picture control 143.
  • the electronic device can display an image selection interface.
  • the user selects three images on the image selection interface.
  • the electronic device enters the interface 140b shown in Figure 14b.
  • the three selected images are displayed in the preview area 141 as preview objects.
  • a layout style selection control 144 is provided in the control area 142. After the layout style selection control 144 is triggered, the electronic device displays an interface 140c as shown in Figure 14c. A variety of optional layout styles are provided in the interface 140c, such as: 3x3, 2x2, 2x3, etc. The user selects the 2x2 layout. The electronic device displays an interface 140d as shown in Figure 14d. In the interface 140d, the three selected images are displayed according to a 2x2 layout.
  • control area 142 may also include more controls that can be pulled out.
  • the interface layout changes caused by the control controls hidden in the control area 142 being pulled out or retracted can be related to In Figures 4a to 4e, the preview area adaptively changes according to changes in the control area in a similar manner, which will not be described again here.
  • the electronic device displays the interface 150 as shown in Figure 15.
  • the interface 150 includes a preview area 151, a paper size selection control 152 and a print control 153.
  • the electronic device or printer determines whether the printer supports the paper size selected by the user. If the judgment result is no, the paper size selection window pops up again; if the judgment result is yes, the paper size selection window is closed.
  • the electronic device will prompt the size of the paper that needs to be put in. This size is the paper size adjusted by the user in the paper size selection window.
  • the user clicks the area cropping and printing function 837, and the electronic device displays the image selection interface. After the user selects multiple images on the image selection interface and confirms, the electronic device displays the interface 160a as shown in Figure 16a.
  • the interface 160a includes a first preview area 161, an auxiliary function area 162, a second preview area 163 and a print control 164.
  • the second preview area 163 displays thumbnails of multiple images selected by the user, and the user clicks on the thumbnail 165 to select an image corresponding to the thumbnail.
  • the first preview area 161 displays the image selected by the user in the second preview area 163 .
  • a cropping grid is also displayed in the first preview area 161 , and the user can crop the preview object in the first preview area 16 by adjusting the cropping grid.
  • the user adjusts the cropping grid to the state in the interface 160b as shown in Figure 16b.
  • the electronic device displays the cropping effect in the first preview area 161, specifically the interface 160c as shown in Figure 16c.
  • Accessibility area 162 includes Reset, Apply All, and Extract Titles.
  • the user triggers a reset in interface 160c and the electronic device returns to interface 160a.
  • the user triggers the application all in the interface 160c, and the electronic device applies the cropping effect of the first preview interface 161 to the multiple images selected in the image selection interface, and displays a prompt message: the cropping effect has been applied to all images.
  • the user triggers the extraction title in the interface 160c, and the electronic device displays a watermark position selection window, which provides options for the watermark, including "place on top", "place on bottom” and "close”.
  • the user triggers the print control 164, and the electronic device displays a print interface similar to Figure 4a, in which the preview object is the cropped image.
  • the second type of printing function 84 includes a couplet printing function 841 and a red envelope printing function 842.
  • external printing materials can also be accessed to provide more printing functions. Take the couplet printing function 841 as an example.
  • the user triggers the couplet printing function 841 in the second type of printing function 84 in the interface 80b shown in FIG. 8b.
  • the electronic device displays an interface 170a as shown in Figure 17a.
  • the interface 170a includes: a first control area 171, a preview area 172 and a second control area 173.
  • the first control area 171 includes controls for selecting the upper link, lower link and horizontal batch in the couplet;
  • the preview area 172 is used to display the couplet being edited;
  • the second control area 173 is used to provide a variety of editing items (for example: background, text and handwriting), as well as content in a variety of edits.
  • "Uplink" in the first control area 171, the background control 173b and the background option 173a in the second control area 173 are selected by default.
  • the second control area 173 of the interface 170b optional text content, optional fonts, and optional colors are displayed.
  • content 173e, font 173d, and color 173f are selected.
  • each content provided includes upper link, lower link and horizontal batch. After selecting a content, the upper link, lower link and horizontal batch can be determined according to the selected content.
  • the upper line will read “Tiger leaps into the golden age of China”
  • the second line will read “Phoenix dances for nine days to welcome the New Year”
  • the horizontal line will read "Auspicious Year of the Tiger”.
  • the second control area 173 blocks part of the preview area 172 .
  • the user clicks the text option 173c in the second control area 173, and the electronic device displays the interface 170c as shown in Figure 17c.
  • the preview area 172 is adaptively reduced and displayed, and the second control area 173 does not block the preview area 172.
  • Interface 170c has the same functions as other controls in interface 170b, which will not be described again here.
  • the interface 170d the preview effect of the entire couplet (including the upper couplet, the lower couplet and the horizontal batch) is displayed.
  • the control 173g in the second control area 173 can also be clicked.
  • the electronic device enters the interface 170e shown in Figure 17e.
  • a virtual keyboard 174 and a customized content window 177 are displayed, and the user inputs customized text into the customized content window 177 by operating the virtual keyboard 174.
  • the user can also select the font and color of the customized text in the second control area 173 .
  • the user can also select controls 173h and 173i to enter the handwriting function.
  • the electronic device displays an interface 170f as shown in Figure 17f.
  • an editing area 178 is displayed, and the editing area 178 also includes a control 178a, a control 178b, a control 178c, and a control 178d.
  • the user writes in the editing area 178.
  • the user can click the control 178d to write the next unit of handwriting in the upper couplet.
  • the couplet in the preview area 172 shows that it has been written. The first unit of handwriting.
  • each text has a corresponding position and size.
  • the size and position of the first character in the upper link are shown in the virtual box 172a (172a is only for illustration and may not be displayed in the interface 170f).
  • the currently written first word can be reduced or enlarged so that the written handwriting fits the size of 172a, and then the reduced or enlarged handwriting is displayed on 172a location.
  • the written word "Tiger” is scaled and displayed at the position of 172a, and the user can write the next word in the couplet in the editing area 178.
  • the editing area 178 also includes prompt information, which is displayed in the form of x/y, where y represents how many characters are included in the currently written first line, and x is used to represent which character in the currently written first line is included.
  • the prompt information is 1/7, that is, there are 7 characters in the first couplet, and the first character is currently being written.
  • the second control area 173 blocks part of the preview area 172 .
  • the prompt information is 1/7, and the control 178c can be grayed out.
  • the prompt information is 7/7, and the control 178d can change from "next" to "complete”.
  • the electronic device displays an interface 170g as shown in Figure 17g.
  • the preview area 172 is adaptively reduced, and the second control area 173 does not block the preview area 172.
  • the preview area 172 returns to its original size.
  • the printing device sends a print command, and the printing device prints the upper link.
  • the paper the user puts into the printer can be original paper without color.
  • the printing device After the printing device completes printing the upper link, it returns the printed information to the electronic device, and the electronic device automatically jumps to the editing interface for the lower link. Similarly, after the user completes editing the lower link, he clicks the print control 175 to print the lower link. After the printing device completes printing the lower link, the printed information is returned to the electronic device, and the electronic device automatically jumps to the editing interface of the horizontal batch; After the user completes editing the horizontal batch, click the print control 175 to print the horizontal batch.
  • the paper size that the user puts into the printing device does not match the paper size in prompt message 179.
  • the printing device detects that the paper size of the current paper does not match the paper size required for printing, and can send corresponding information to the electronic device, and the electronic device can display prompt information to prompt the user to replace the paper.
  • the interface 180a includes a first control area 181, a preview area 182 and a second control area 183.
  • a variety of optional themes are provided in the first control area 181, such as trend, New Year, Year of the Tiger, etc., and each theme has a corresponding background.
  • the trend theme is selected, and the background in the second control area 183 is the background corresponding to the trend theme.
  • a thumbnail of the red envelope to be printed is displayed in the preview area 182.
  • the dotted lines in it are used to indicate folding and trimming marks. That is, the printed paper is trimmed and folded according to the dotted lines to obtain the red envelope.
  • the folding and trimming marks can be It is a trace on the printing paper itself, or it can be a trace printed on the paper through double-sided printing or other methods.
  • a text input box 184 is displayed in the interface 180b.
  • a text input box 186, a virtual keyboard 185 and a second control area 183 are displayed.
  • the input text "Happy New Year!” is displayed in the preview area 182 in cursive font.
  • the interface 180d displays alternative pictures that can be used as stickers.
  • the user can also move the position of map 187 in preview area 182.
  • the user can also click the control 183b to clear the texture in the preview area 182 in response to the user clicking the control 183b.
  • the "Preview” option and the “Save” option can pop up.
  • a preview effect 188a of printing the red envelope is displayed.
  • a dotted line in the preview area 182 may also be displayed to facilitate cropping and folding by the user. Double-sided printing can also be performed, with the front side as shown in the preview effect 188a and the back side printed with a dotted line in the preview area 182 .
  • a prompt message 182a is displayed, prompting the user about the paper size required to print the red envelope.
  • the user prepares the paper After selecting the size, start printing.
  • the electronic device sends a printing instruction to the printing device, and the printing device prints the red envelope.
  • FIG 19 is a flow chart of a printing method provided by an embodiment of the present application. This method can be applied to the electronic device shown in Figure 1, as shown in Figure 19, and mainly includes the following steps.
  • the first interface includes: a first thumbnail and a first number of controls.
  • the first thumbnail corresponds to the first file.
  • the first thumbnail has a first size.
  • the first number of controls includes the first controls.
  • the first interface may be interface 40a as shown in Figure 4a.
  • the first thumbnail may be a first preview object 411 and an incompletely displayed second preview object 412.
  • the first number of controls may include: start printing control 421, printer selection Control 422, copy number selection control 423 and range selection control 424, the first control may be the start printing control 421.
  • the first operation may be an operation in which the user clicks the start printing control 421.
  • the second interface includes: a second thumbnail and a second number of controls.
  • the second number of controls includes the first control.
  • the second thumbnail corresponds to The first file and the second thumbnail have a second size, the second size is smaller than the first size, the second quantity is larger than the first quantity, and the second interface is the same size as the first interface.
  • the above-mentioned second operation may be a slide-up operation in the interface 40b.
  • the second interface may be shown in the interface 40c shown in Figure 4c.
  • the second thumbnail may be the complete second thumbnail in the interface 40c.
  • the second number of controls include: start printing control 421, printer selection control 422, number of copies selection control 423, range selection control 424, paper type selection control 425, paper size selection control 426, printing mode selection control 427 and color mode selection control 428.
  • the user performs the second operation in the first interface, so that more controls are displayed in the second interface than in the first interface, thereby providing the user with more control items, and at the same time
  • the first thumbnail is reduced to the second thumbnail to avoid the control from blocking the thumbnail, making it easier for the user to view and improving the user experience.
  • displaying the second interface in response to a first operation on the first interface, includes: in response to a second operation on the first interface, the first thumbnail is reduced from the first size to the second size, Obtain a second thumbnail; and move the first number of controls according to the second operation, and add a third number of controls in the second interface to obtain a second number of controls, where the sum of the first number and the third number is obtained is the second quantity.
  • the user drags out more controls through the upward sliding operation, and the preview area 41 and the preview objects in the preview area 41 are also adaptively reduced, thereby avoiding the impact of the controls on the preview objects. Occlusion.
  • the third number of controls may include: paper type selection control 425, paper size selection control 426, printing mode selection control 427, and color mode selection control 428.
  • the first thumbnail is located on an upper side of the first number of controls, and the second operation is a sliding-up operation.
  • the first interface is displayed in response to a third operation on the second interface.
  • the first number of controls also includes a second control, a third control and a fourth control.
  • a third interface is displayed, and the third interface includes: printing device options.
  • the fourth interface is displayed, and the fourth interface includes: the option of selecting the number of copies to be printed;
  • the fifth interface is displayed, and the fifth interface includes: printing Range options; wherein, in response to the first operation on the first control, sending the printing instruction to the printing device includes: in response to the first operation on the first control, sending the first printing instruction to the printing device selected in the third interface.
  • the first print parameter includes the print number selected in the fourth interface and the print range selected in the fifth interface.
  • the second control may be a printer selection control 422.
  • the third control may be the portion selection control 423, and the fourth interface may be as shown in Figure 5a.
  • the fourth control may be the range selection control 424, and the fifth interface may be as shown in Figure 5d or Figure 5e.
  • the second number of controls also includes a fifth control, a sixth control, a seventh control and an eighth control.
  • a sixth interface In response to the seventh operation acting on the fifth control, a sixth interface is displayed, and the sixth interface includes : Paper type option; in response to the eighth operation acting on the sixth control, the seventh interface is displayed, and the seventh interface includes: paper size selection option; in response to the ninth operation acting on the seventh control, the eighth interface is displayed, the eighth interface Including: printing mode options, the printing modes include: double-sided printing and single-sided printing; in response to the tenth operation on the eighth control, the ninth interface is displayed, the ninth interface includes: color mode options, the color mode options include: black and white mode and color mode; wherein, in response to the first operation on the first control, sending a printing instruction to the printing device includes: in response to the first operation on the first control, sending a printing instruction carrying the second printing parameter to the printing device,
  • the second printing parameters include: the paper type selected in the fifth interface, the paper type selected in the sixth interface, the
  • the fifth control may be the paper type selection control 425, and the sixth interface may be as shown in Figure 5b.
  • the sixth control may be the paper size selection control 426, and the seventh interface may be as shown in Figure 5f.
  • the seventh control may be the print mode selection control 427, and the eighth interface may be as shown in Figure 5c.
  • the eighth control may be the color mode selection control 428, and the ninth interface may be as shown in Figure 5e.
  • the first number of controls also includes a ninth control.
  • the ninth control corresponds to the background image.
  • the icon of the ninth control is displayed as a third thumbnail corresponding to the background image.
  • the first thumbnail is displayed on the background image selected in the eleventh operation, and the background image selected in the eleventh operation is the background image corresponding to the ninth control selected in the eleventh operation.
  • the first interface can be as shown in Figure 6b.
  • the first control can be a start printing control
  • the ninth control can be a background selection control in the background selection area 63.
  • Each background selection control corresponds to an optional background.
  • Picture, the icon of each background selection control is the thumbnail of its corresponding background image, that is, the third thumbnail.
  • the user selects background 631 over which first preview object 411 is displayed.
  • the second interface may be as shown in Figure 6c.
  • the second number of controls also includes a tenth control.
  • the tenth control corresponds to the positional relationship between the first thumbnail and the background image.
  • the icon of the tenth control is a schematic diagram of the corresponding positional relationship.
  • the twelfth operation of a tenth control displays the first thumbnail on the background image selected by the eleventh operation, and the position relationship selected by the twelfth operation is the twelfth Operate the position relationship corresponding to the selected tenth control.
  • the second number of controls may include controls in the background selection area 63 and the position selection area 65 .
  • the tenth control is the position selection control in the position selection area 65.
  • Each position selection control corresponds to a position relationship (the position relationship is used to represent the position relationship between the first thumbnail and its background).
  • Each position selection control has The icon is a schematic diagram of its corresponding position relationship. In the illustration of Figure 6c, the user clicks the centering option 651, and the first preview object is displayed centered on the selected background 631.
  • the first thumbnail is located on the upper side of the first number of controls, and in response to the thirteenth operation acting on the first interface, a tenth interface is displayed, and the tenth interface includes the first thumbnail and the fourth number.
  • the control wherein the first thumbnail has a first size, and a fourth number of controls are located on an upper side of the first thumbnail.
  • the user causes the electronic device to display the third interface as shown in Figure 6a through a sliding operation.
  • the fourth number of controls may include controls in the control area 61.
  • the thirteenth operation is a sliding operation.
  • An embodiment of the present application also provides an electronic device, including a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the electronic device is triggered Execute the above related method steps to implement the method in the above embodiment.
  • Embodiments of the present application also provide a computer-readable storage medium.
  • Computer instructions are stored in the computer-readable storage medium.
  • the terminal device causes the terminal device to execute the above related method steps to achieve the above embodiments. Methods.
  • Embodiments of the present application also provide a computer storage medium that stores computer instructions.
  • the terminal device executes the above related method steps to implement the method in the above embodiment.
  • An embodiment of the present application also provides a computer program product.
  • the computer program product When the computer program product is run on a computer, it causes the computer to perform the above related steps to implement the method in the above embodiment.
  • inventions of the present application also provide a device.
  • This device may be a chip, a component or a module.
  • the device may include a connected processor and a memory.
  • the memory is used to store computer execution instructions.
  • the processor can execute computer execution instructions stored in the memory, so that the chip executes the methods in each of the above method embodiments.
  • the electronic devices, computer storage media, computer program products or chips provided by the embodiments of the present application are all used to execute the corresponding methods provided above. Therefore, the beneficial effects they can achieve can be referred to the corresponding methods provided above. The beneficial effects of this method will not be repeated here.
  • the disclosed devices and methods can be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of modules or units is only a logical function division.
  • there may be other division methods for example, multiple units or components may be combined or can be integrated into another device, or some features can be dropped, or not implemented.
  • the coupling or direct coupling or communication connection between each other shown or discussed may be through some interfaces, indirect coupling or communication connection of devices or units, which may be in electrical, mechanical or other forms.
  • a unit described as a separate component may or may not be physically separate.
  • a component shown as a unit may be one physical unit or multiple physical units, that is, it may be located in one place, or it may be distributed to multiple different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application can be integrated into one processing unit, each unit can exist physically alone, or two or more units can be integrated into one unit.
  • the above integrated units can be implemented in the form of hardware or software functional units.
  • Integrated units may be stored in a readable storage medium if they are implemented in the form of software functional units and sold or used as independent products.
  • the technical solutions of the embodiments of the present application are essentially or contribute to the existing technology, or all or part of the technical solution can be embodied in the form of a software product, and the software product is stored in a storage medium , including several instructions to cause a device (which can be a microcontroller, a chip, etc.) or a processor to execute all or part of the steps of the methods of various embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read only memory (ROM), random access memory (RAM), magnetic disk or optical disk and other media that can store program code.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

本申请提供了一种电子设备的控制方法及电子设备,该方法有助于提高用户通过电子设备控制打印设备进行打印时的便捷度,最终提升用户使用体验。该方法包括:显示第一界面,第一界面包括:第一缩略图和第一数量的控件,第一缩略图对应第一文件,第一缩略图具有第一尺寸,第一数量的控件中包括第一控件;响应于对第一控件的第一操作,向打印设备发送打印指令,打印指令指示打印第一文件;响应作用于第一界面的第二操作,显示第二界面,第二界面包括:第二缩略图和第二数量的控件,第二数量的控件中包括第一控件,第二缩略图对应第一文件,第二缩略图具有第二尺寸,第二尺寸小于第一尺寸,第二数量大于第一数量,第二界面与第一界面大小相同。

Description

一种电子设备的控制方法及电子设备
本申请要求于2022年01月10日提交国家知识产权局、申请号为202210023693.0、发明名称为“一种电子设备的控制方法及电子设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及终端技术领域,尤其涉及一种电子设备的控制方法及电子设备。
背景技术
用户可以通过电子设备控制打印机进行打印,目前在通过电子设备控制打印机进行打印时,界面布局不便于用于观看,导致用户体验低。
发明内容
本申请提供一种电子设备的控制方法及电子设备,有助于降低用户的操作复杂度、提高终端设备的智能化程度,最终提升用户使用体验。
第一方面,本申请实施例提供一种电子设备的控制方法,该方法可以应用于电子设备上,具体地,该方法包括:电子设备显示第一界面,第一界面包括:第一缩略图和第一数量的控件,第一缩略图对应第一文件,第一缩略图具有第一尺寸,第一数量的控件中包括第一控件;第一控件可以为打印控件,用户触发打印控件,电子设备既可以向打印设备发送打印指令,打印指令指示打印第一文件;用户在第一界面中执行第一操作,该第一操作可以为上滑操作,电子设备显示第二界面,第二界面包括:第二缩略图和第二数量的控件,第二数量的控件中包括第一控件,第二缩略图对应第一文件,第二缩略图具有第二尺寸,第二尺寸小于第一尺寸,第二数量大于第一数量,第二界面与第一界面大小相同。
可见,上述实施例中,用户通过在第一界面中执行第二操作,使得在第二界面中显示出与第一界面中相比更多的控件,从而为用户提供更多的控制项,同时第一缩略图缩小为第二缩略图,避免控件对缩略图造成遮挡,便于用户观看,提高用户体验。
在一种可能的实施方式中,响应作用于第一界面的第二操作,第一缩略图由第一尺寸缩小至第二尺寸,得到第二缩略图;以及第一数量的控件根据第二操作移动,并在第二界面中新增第三数量的控件,得到第二数量的控件,其中,第一数量与第三数量之和为第二数量。
在一种可能的实施方式中,在第一界面中,第一缩略图位于第一数量的控件的上侧,第二操作为上滑操作。用户在第一界面中进行上滑操作,可以拖出更多的控件。
在一种可能的实施方式中,在响应作用于第一界面的第二操作,显示第二界面之后,响应作用于第二界面的第三操作,显示第一界面。第三操作可以是下滑操作,用户在第二界面中进行下滑操作,即可使控件减少且第二缩略图增大至第一缩略图,从而使得电子设备显示第一界面。
在一种可能的实施方式中,第一数量的控件还包括第二控件、第三控件和第四控件,响应作用于第二控件的第四操作,显示第三界面,第三界面包括:打印设备选项; 响应作用于第三控件的第五操作,显示第四界面,第四界面包括:打印份数选选项;响应作用于第四控件的第六操作,显示第五界面,第五界面包括:打印范围选项;其中,响应于对第一控件的第一操作,向打印设备发送打印指令包括:响应于对第一控件的第一操作,向在第三界面中所选的打印设备发送携带第一打印参数的打印指令,第一打印参数包括在第四界面中所选的打印份数和在第五界面所选的打印范围。第二控件可以为打印设备选择控件,第三控件可以为打印份数选择控件,第四控件可以为打印范围选择控件。
在一种可能的实施方式中,第二数量的控件还包括第五控件、第六控件、第七控件和第八控件,响应作用于第五控件的第七操作,显示第六界面,第六界面包括:纸张类型选项;响应作用于第六控件的第八操作,显示第七界面,第七界面包括:纸张尺寸选选项;响应作用于第七控件的第九操作,显示第八界面,第八界面包括:打印方式选项,打印方式包括:双面打印和单面打印;响应作用于第八控件的第十操作,显示第九界面,第九界面包括:色彩模式选项,色彩模式选项包括:黑白模式和彩色模式;其中,响应于对第一控件的第一操作,向打印设备发送打印指令包括:响应于对第一控件的第一操作,向打印设备发送携带第二打印参数的打印指令,第二打印参数包括:在第五界面中所选的纸张类型、在第六界面中所选的纸张类型、在第七界面中所选的打印方式和在第八界面所选的色彩模式。第五控件可以为纸张类型选择控件,第六控件可以为纸张尺寸选择控件,第七控件可以为打印方式选择控件,第八控件可以为色彩模式选择控件。
在一种可能的实施方式中,第一数量的控件还包括第九控件,第九控件与背景图相对应,第九控件的图标显示为对应背景图的第三缩略图,用户可以根据第三缩略图确定要选择的背景,并选择该背景对应的第九控件,响应于对一个第九控件的第十一操作,将第一缩略图显示在第十一操作所选的背景图上,第十一操作所选的背景图为第十一操作所选的第九控件对应的背景图。
在一种可能的实施方式中,第二数量的控件还包括第十控件,第十控件与第一缩略图与背景图的位置关系相对应,第十控件的图标为对应位置关系的示意图,用户可以根据示意图确定要选择的位置关系,并选择该位置关系对应的第十控件,响应于对一个第十控件的第十二操作,根据第十二操作所选的位置关系,在第十一操作所选的背景图上显示第一缩略图,十二操作所选的位置关系为第十二操作所选的第十控件对应的位置关系。
在一种可能的实施方式中,第一缩略图位于第一数量的控件的上侧,响应作用于第一界面的第十三操作,显示第十界面,第十界面包括第一缩略图和第四数量的控件,其中,第一缩略图具有第一尺寸,第四数量的控件位于第一缩略图的上侧。
在一种可能的实施方式中,第十三操作为下滑操作。
第二方面,本申请实施例提供一种电子设备,该电子设备包括用于存储计算机程序指令的存储器和用于执行程序指令的处理器,其中,当该计算机程序指令被处理器执行时,触发电子设备执行如第一方面中任一项的打印方法。
第三方面,本申请实施例提供一种计算机可读存储介质,该计算机可读存储介质包括存储的程序,其中,在程序运行时控制计算机可读存储介质所在设备执行如第一 方面中任一项的打印方法。
第四方面,本申请实施例提供一种计算机程序产品,该计算机程序产品包含可执行指令,当可执行指令在计算机上执行时,使得计算机执行如第一方面中任一项的打印方法。
第五方面,本申请实施例还提供一种芯片,芯片与存储器耦合,用于执行存储器中存储的计算机程序,以执行上述任一方面的任意一种可能的打印。
可以理解地,上述提供的第二方面的电子设备、第三方面的计算机可读存储介质、第四方面的计算机程序产品,以及第五方面的芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
附图说明
图1为本申请实施例提供的一种应用场景示意图;
图2为本申请实施例提供的一种手机结构示意图;
图3a为本申请实施例提供的第一种电子设备的图形用户界面的示意图;
图3b为本申请实施例提供的第二种电子设备的图形用户界面的示意图;
图3c为本申请实施例提供的第三种电子设备的图形用户界面的示意图;
图3d为本申请实施例提供的第四种电子设备的图形用户界面的示意图;
图4a为本申请实施例提供的第五种电子设备的图形用户界面的示意图;
图4b为本申请实施例提供的第六种电子设备的图形用户界面的示意图;
图4c为本申请实施例提供的第七种电子设备的图形用户界面的示意图;
图4d为本申请实施例提供的第八种电子设备的图形用户界面的示意图;
图4e为本申请实施例提供的第九种电子设备的图形用户界面的示意图;
图5a为本申请实施例提供的第十种电子设备的图形用户界面的示意图;
图5b为本申请实施例提供的第十一种电子设备的图形用户界面的示意图;
图5c为本申请实施例提供的第十二种电子设备的图形用户界面的示意图;
图5d为本申请实施例提供的第十三种电子设备的图形用户界面的示意图;
图5e为本申请实施例提供的第十四种电子设备的图形用户界面的示意图;
图5f为本申请实施例提供的第十五种电子设备的图形用户界面的示意图;
图5g为本申请实施例提供的第十六种电子设备的图形用户界面的示意图;
图6a为本申请实施例提供的第十七种电子设备的图形用户界面的示意图;
图6b为本申请实施例提供的第十八种电子设备的图形用户界面的示意图;
图6c为本申请实施例提供的第十九种电子设备的图形用户界面的示意图;
图7a为本申请实施例提供的第二十种电子设备的图形用户界面的示意图;
图7b为本申请实施例提供的第二十一种电子设备的图形用户界面的示意图;
图7c为本申请实施例提供的第二十二种电子设备的图形用户界面的示意图;
图7d为本申请实施例提供的第二十三种电子设备的图形用户界面的示意图;
图7e为本申请实施例提供的第二十四种电子设备的图形用户界面的示意图;
图7f为本申请实施例提供的第二十五种电子设备的图形用户界面的示意图;
图7g为本申请实施例提供的第二十六种电子设备的图形用户界面的示意图;
图8a为本申请实施例提供的第二十七种电子设备的图形用户界面的示意图;
图8b为本申请实施例提供的第二十八种电子设备的图形用户界面的示意图;
图8c为本申请实施例提供的第二十九种电子设备的图形用户界面的示意图;
图8d为本申请实施例提供的第三十种电子设备的图形用户界面的示意图;
图9a为本申请实施例提供的第三十一种电子设备的图形用户界面的示意图;
图9b为本申请实施例提供的第三十二种电子设备的图形用户界面的示意图;
图9c为本申请实施例提供的第三十三种电子设备的图形用户界面的示意图;
图9d为本申请实施例提供的第三十四种电子设备的图形用户界面的示意图;
图9e为本申请实施例提供的第三十五种电子设备的图形用户界面的示意图;
图10a为本申请实施例提供的第三十六种电子设备的图形用户界面的示意图;
图10b为本申请实施例提供的第三十七种电子设备的图形用户界面的示意图;
图10c为本申请实施例提供的第三十八种电子设备的图形用户界面的示意图;
图10d为本申请实施例提供的第三十九种电子设备的图形用户界面的示意图;
图10e为本申请实施例提供的第四十种电子设备的图形用户界面的示意图;
图10f为本申请实施例提供的第四十一种电子设备的图形用户界面的示意图;
图11a为本申请实施例提供的第四十二种电子设备的图形用户界面的示意图;
图11b为本申请实施例提供的第四十三种电子设备的图形用户界面的示意图;
图12a为本申请实施例提供的第四十四种电子设备的图形用户界面的示意图;
图12b为本申请实施例提供的第四十五种电子设备的图形用户界面的示意图;
图13a为本申请实施例提供的第四十六种电子设备的图形用户界面的示意图;
图13b为本申请实施例提供的第四十七种电子设备的图形用户界面的示意图;
图14a为本申请实施例提供的第四十八种电子设备的图形用户界面的示意图;
图14b为本申请实施例提供的第四十九种电子设备的图形用户界面的示意图;
图14c为本申请实施例提供的第五十种电子设备的图形用户界面的示意图;
图14d为本申请实施例提供的第五十一种电子设备的图形用户界面的示意图;
图15为本申请实施例提供的第五十二种电子设备的图形用户界面的示意图;
图16a为本申请实施例提供的第五十三种电子设备的图形用户界面的示意图;
图16b为本申请实施例提供的第五十四种电子设备的图形用户界面的示意图;
图16c为本申请实施例提供的第五十五种电子设备的图形用户界面的示意图;
图17a为本申请实施例提供的第五十六种电子设备的图形用户界面的示意图;
图17b为本申请实施例提供的第五十七种电子设备的图形用户界面的示意图;
图17c为本申请实施例提供的第五十八种电子设备的图形用户界面的示意图;
图17d为本申请实施例提供的第五十九种电子设备的图形用户界面的示意图;
图17e为本申请实施例提供的第六十种电子设备的图形用户界面的示意图;
图17f为本申请实施例提供的第六十一种电子设备的图形用户界面的示意图;
图17g为本申请实施例提供的第六十二种电子设备的图形用户界面的示意图;
图17h为本申请实施例提供的第六十三种电子设备的图形用户界面的示意图;
图17i为本申请实施例提供的第六十四种电子设备的图形用户界面的示意图;
图18a为本申请实施例提供的第六十五种电子设备的图形用户界面的示意图;
图18b为本申请实施例提供的第六十六种电子设备的图形用户界面的示意图;
图18c为本申请实施例提供的第六十七种电子设备的图形用户界面的示意图;
图18d为本申请实施例提供的第六十八种电子设备的图形用户界面的示意图;
图18e为本申请实施例提供的第六十九种电子设备的图形用户界面的示意图;
图18f为本申请实施例提供的第七十九种电子设备的图形用户界面的示意图;
图19为本申请实施例提供的一种电子设备的控制方法的流程图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。其中,在本申请实施例的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本文中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,在本申请实施例的描述中,“多个”是指两个或多于两个。
以下,术语“第一”、“第二”、“第三”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”、“第三”的特征可以明示或者隐含地包括一个或者更多个该特征。
本申请实施例提供的拍摄方法可以应用于手机、平板电脑、可穿戴设备、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、个人数字助理(personal digital assistant,PDA)等终端设备上,本申请实施例对终端设备的具体类型不作任何限制。
示例性的,图1是本申请实施例提供的一例终端设备100的结构示意图。终端设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。
可以理解的是,本申请实施例示意的结构并不构成对终端设备100的具体限定。在本申请另一些实施例中,终端设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。
终端设备100的软件系统可以采用分层架构,事件驱动架构,微核架构,微服务架构,或云架构。本申请实施例以分层架构的Android系统为例,示例性说明终端设备100的软件结构。
图2是本申请实施例的终端设备100的软件结构框图。分层架构将软件分成若干个层,每一层都有清晰的角色和分工。层与层之间通过软件接口通信。在一些实施例 中,将Android系统分为四层,从上至下分别为应用程序层,应用程序框架层,安卓运行时(Android runtime)和系统库,以及内核层。应用程序层可以包括一系列应用程序包。如图2所示,应用程序包可以包括相机,图库,日历,通话,地图,导航,WLAN,蓝牙,音乐,视频,短信息等应用程序。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层包括一些预先定义的函数。
如图2所示,应用程序框架层可以包括窗口管理器,内容提供器,视图系统,电话管理器,资源管理器,通知管理器等。
Android runtime包括核心库和虚拟机。Android runtime负责安卓系统的调度和管理。
核心库包含两部分:一部分是java语言需要调用的功能函数,另一部分是安卓的核心库。
应用程序层和应用程序框架层运行在虚拟机中。虚拟机将应用程序层和应用程序框架层的java文件执行为二进制文件。虚拟机用于执行对象生命周期的管理,堆栈管理,线程管理,安全和异常的管理,以及垃圾回收等功能。
系统库可以包括多个功能模块。例如:表面管理器(surface manager),媒体库(media libraries),三维图形处理库(例如:OpenGL ES),2D图形引擎(例如:SGL)等。
内核层是硬件和软件之间的层。内核层至少包含显示驱动,摄像头驱动,音频驱动,传感器驱动。
硬件层可以包括各类传感器,例如图1中介绍的各类传感器,在本申请实施例中涉及的加速度传感器、陀螺仪传感器、触摸传感器等。
结合以上图1和图2介绍的电子设备,在本申请实施例中,电子设备100涉及的物理元器件主要包括传感器、决策支持系统(decision support systems,DSS)显示芯片、触摸显示屏、指纹识别模块等硬件组件;以及屏幕管理模块、显示驱动、指纹驱动、防误触等内核软件层;防误触输入、屏幕控制、灭屏显示(always on display,AOD)服务、电源管理等应用程序框架层功能;以及特殊适配应用(camera)、三方应用、系统休眠、AOD等应用层业务。
下面结合本申请实施例的拍摄方法,示例性说明电子设备100软件以及硬件的工作流程。本申请实施例提供的拍摄方法,主要由触摸面板(touch panel,TP)模块和上述一种或多种物理元器件以及电子设备100的软件架构层的各层之间的相互配合来实现。
其中,TP模块接收用户对触摸显示屏的触摸操作,将用户的触摸操作传递给系统库的物理状态识别模块,由物理状态监测模块进行监测,识别用户的触摸操作等。物理状态监测模块将用户的触摸操作传递给电子设备的状态机管理模块,通过状态机管理模块控制FWK层的窗口管理系统,从而控制电子设备的一系列动作和显示等。
此外,整个过程的实现还需要其他多个模块、传感器的协同参与,例如应用程序层的皮肤模块,用于控制触摸屏显示界面等,本申请不再赘述。
为了便于理解,本申请以下实施例将以具有图1和图2所示结构的电子设备为例,结合附图和应用场景,对本申请所提供的电子设备的显示方法进行具体说明。首先以 一种打印场景为例。
电子设备具有根据打印对象生成打印任务的功能,打印对象可以是图像、文件、备忘录等。以打印对象是图像为例,电子设备安装了用于浏览图像的相册应用。用户可以通过点击相册应用的图标进入相册界面,相册界面具有按照预设大小和预设排列规律显示的图像,相册界面中的图像可以通过长按等操作被选中。图3a是在电子设备的相册界面中选中图像的示意图,用户在相册界面中选中图像A、图像B和图像C后,进入如图3a所示的界面30a,界面30a中提供一分享控件31,用户点击分享控件31,电子设备显示如图3b所示的界面30b。界面30b中,提供打印控件32和一些其他控制控件33,用户触发打印控件32,即可进入图像对象的打印任务。
再以打印对象是文件为例,用户进入如图3c所示的界面30c,在界面30c中显示文件管理器,并在文件管理器通过长按或其他操作选中打印对象36,在触发打印对象36的分享功能后,进入如图3d所示的界面30d。界面30d提供了任务预览区34,用户触发任务预览区34中针对打印对象36的打印控件35,即可进入文件对应的打印任务。
上述进入打印任务的方式仅用于示例,本申请对进入打印任务的方式不进行限定。电子设备还可以提供其他进入打印任务的方式,此处不再赘述。
作为一种示例,在图3b的基础上,在进入图像对应的打印任务后,可得到如图4a所示的界面40a,界面40a中至少包括预览区域41和控制区域42。
预览区域41用于显示打印对象对应的预览结果,即预览对象。预览区域41中包括完全显示的第一预览对象411和未完全显示的第二预览对象412,在预览区域41中,还可以在预览对象排列的方向上滑动,来查看完整的预览对象。例如,用户可以通过在预览区域41内向左滑动,以在预览区域41内显示出界面40a中未显示的第三预览对象。每个预览对象包括一选择控件413,在进入打印任务后,每个预览对象的选择控件均为已选择状态,用户点击选择控件413,可以取消对预览对象的选择。
控制区域42用于显示控制控件,控制控件具体可以包括开始打印控件421和打印参数控件,打印参数控件可以包括:打印机选择控件422、份数选择控件423以及范围选择控件424等。在需要调整打印参数时,可以点击控制控件,触发在界面40a上显示控制窗口,供用户选择。
作为一种示例,在界面40a中控制区域42中显示的控制控件可以是常用的控制控件,在图像的打印场景下,可以是打印机选择控件422、份数选择控件423以及范围选择控件424,也可以是其他控制控件。在用户确认打印对象和打印参数后,可以点击开始打印控件421,以触发电子设备向打印设备发送打印指令。
在控制区域42的上方具有一标识43,该标识43用于表示控制区域42除了当前所提供的控制控件之外,还可以提供其他未显示出来的控制控件。在图4a的基础上进一步结合图4b所示,用户在界面40a内单点向上滑动。响应于这一滑动操作,界面40a变化至如图4c所示的界面40c。在界面40c中,控制区域42在整个显示界面中所占的区域变大,并显示出40a中隐藏的控制控件:纸张类型选择控件425、纸张尺寸选择控件426、打印方式选择控件427以及色彩模式选择控件428。在用户点击上述四个控制控件时,也能够显示出对应的控制窗口。
在40c中,由于控制区域42的扩大,预览区域41在显示界面中所占的区域变小。预览区域41中的预览对象也相应变小。预览区域41显示了完整的第一预览对象411、完整的第二预览对象412和未完整的第三预览对象414。类似的,可以在预览对象排列的方向滑动,以在预览区域41中显示完整的第三预览对象。
在图4c的示例中,控制区域42提供了七种控制控件。作为一种可选的示例,为了提供更多的控制控件,还可以在40c的控制区域42中增加滚动条。如图4d所示,在界面40d中,控制区域42显示了七种控制控件和一滚动条44,用户向下拉动滚动条44,可以显示出隐藏的控制控件,例如:打印方向、页边距等。
作为一种示例,用户点击界面40c中的份数选择控件423,显示界面如图5a所示的50a,界面50a中提供了份数选择窗口51,可以在份数选择窗口51中选择需要打印的份数,再点击确定控件511,份数选择窗口51消失,电子设备返回界面40c。
作为一种示例,用户点击界面40c中的纸张类型选择控件425,显示如图5b所示的界面50b,界面50b中提供了纸张选择窗口52,可以在纸张选择窗口52中选择需要打印的纸张类型,例如,用户选择普通纸,纸张选择窗口52消失,电子设备返回界面40c,纸张类型为普通纸。再例如,用户点击了取消控件521,电子设备返回界面40c,纸张类型与纸张选择窗口52弹出前相比不变。
作为一种示例,用户点击界面40c中的打印方式选择控件427,显示如图5c所示的界面50c,界面50c中提供了打印方式选择窗口53,可以在打印方式选择窗口53中选择需要打印方式,包括双面打印或单面打印,例如,在50c中,用户选择了单面打印,纸张选择窗口53消失,电子设备返回界面40c,打印方式为单面打印。再例如,用户点击了取消控件531,电子设备返回界面40c,打印方式与打印方式选择窗口53弹出前相比不变。
作为一种示例,第一预览对象、第二预览对象和第三预览对象均已被选中,用户点击界面40c中的范围选择控件424,显示如图5d所示的界面50d,50d中提供了第一范围选择窗口54,可以在第一范围选择窗口54中选择需要打印的范围,第一范围选择窗口可以提供全部打印选项,也可以提供分别选择起始页和结束页的选项。例如,在50d中,用户选择了全部打印。在选择了打印范围后,用户再点击50d中的确定控件541,第一范围选择窗口54消失,电子设备返回界面40c。
作为一种示例,第一预览对象和第三预览对象已被选中,第二预览对象未被选中。在这样的场景下,用户点击界面40c中的范围选择控件424,显示如图5e所示的界面50e,界面50e提供了另一与第一范围选择窗口54不同的第二范围选择窗口55,第二范围选择窗口55中,提供了全部打印选项551、自定义打印选项552和连续打印选项553。可选的,用户选择全部打印选项551并点击确定控件554,第二范围选择窗口55消失,返回界面40c。可选的,用户选择自定义打印选项552,并点击确定控件554,第二范围选择窗口55消失,返回界面40c。由于用户在进入第二范围选择窗口55之前选择了第一预览对象和第三预览对象,因此自定义打印选项552对应的打印范围为第一预览对象和第三预览对象对应的图像。可选的,用户选择连续打印选项553,并在起始页选择区域选择起始页,在终止页选择区域选择终止页,用户点击确定控件554后,第二范围选择窗口55消失,返回界面40c。
作为一种示例,用户点击界面40c中的纸张尺寸选择控件426,显示如图5f所示的界面,界面50f中提供了纸张尺寸选择窗口56,纸张尺寸选择窗口56中所提供的纸张尺寸为当前与电子设备连接的打印设备能够提供的纸张尺寸。例如,用户选择了A4,纸张选择窗口56消失,电子设备返回界面40c,纸张尺寸为A4。再例如,用户点击了取消控件561,电子设备返回界面40c,纸张尺寸与纸张尺寸选择窗口56弹出前相比不发生变化。
作为一种示例,用户点击界面40c中的色彩模式选择控件428,显示如图5g所示的界面50g,50g中提供了色彩模式选择窗口57,色彩模式选择窗口57提供了彩色模式和黑白模式两种选项。可选的,用户选择黑白模式,同时,预览区域42中的预览对象按照黑白模式显示,色彩模式选择窗口57消失,电子设备返回界面40c。可选的,用户点击取消控件571,色彩模式选择窗口57消失,电子设备返回界面40c,色彩模式与色彩模式选择窗口57弹出之前相比不发生变化。
继续结合图4c所示,控制区域42的上方具有一标识45,该标识45用于表示当前控制区域42可以向下收缩。作为一种示例,如图4e所示,用户在界面40c中单点向下滑动,控制区域42向下收缩,控制区域42内的控制控件大小不变且数量减少,电子设备显示如图4a所示的界面。
在上述实施例提供的方案中,控制区域和预览区域均是可以伸展或者收缩的区域,在用户操作控制区域伸展或者收缩时,预览区域中的预览对象的大小随之进行相应的变化。当控制区域处于收缩状态时,预览对象较大;当控制区域处于伸展状态时,预览对象较小,且预览对象可以根据控制区域中的控制进行相应变化。基于上述方案,使得在提供了完善的控制控件的同时,避免了控制区域对预览对象的遮挡。
需要说明的是,在不存在操作冲突的情况下,上述单点上滑操作和单点下滑操作可以是生成于界面中的任意位置的操作。例如,在图4b的界面40b中,仅存在一种单点上滑操作,即拉出控制区域42的操作,因此该单点上滑操作可以生成于界面40a的任意位置。再例如,在图4e中,仅存在一种单点下滑的操作,即收回控制区域42的操作,因此该单点下滑操作可以生成于界面40c的任意位置。
以第二种打印场景为例。仍以在图3所示的相机界面30a中选择三个图像作为打印对象为例,在该示例中,进入打印任务后,电子设备显示如图6a所示的另一打印任务界面60a。界面60至少包括控制区域61和预览区域62。控制区域61中提供了三种使用频率较高的控制控件,预览区域62中显示了多个预览对象。预览区域62未完全显示全部的预览对象,用户可以在预览区域62内,通过在预览对象排列的方向上执行滑动操作来查看所有的预览对象。
控制区域61下方包括标识621,该标识621用于表示控制区域61允许向上收起。预览区域62下方包括标识622,该标识622用于表示预览区域62下方具有可以拖出的其他内容。作为一种示例,用户在界面60a中单点上滑,响应于上述操作,电子设备显示如图6b所示的界面60b。在界面60b中,控制区域61向上收起,预览区域62向上移,并显示背景选择区域63。
需要说明的是,在预览区域62上移后,背景选择区域63并不是唯一可以显示在预览区域62下方的内容,还可以在上移后的预览区域62下方显示其他内容,此处仅 以背景选择区域63为例进行说明。
背景选择区域63提供预设的多种背景,用户可以按照多种背景排列的方向滑动,以浏览更多允许选择的背景。作为一种示例,用户选择背景631,预览区域62中当前选中的第一预览对象411显示在背景631之上。
在界面60b中,背景选择区域62上方还显示了标识623,标识623用于指示背景选择区域63允许被上滑,以显示更多的内容。用户在界面60b中执行单点上滑操作,拖动出位置选择区域65,电子设备显示如图6c所示的界面60c。位置选择区域65用于提供多种预览对象在背景中的位置选项。界面60c的示例中,选中居中选项651,第一预览对象在选择的背景631上居中显示。
作为一种示例,用户在界面60c中执行单点下滑操作,电子设备的显示界面由60c变化为界面60b。用户在界面60b上单点执行下滑操作,电子设备的显示界面由60b变化为60a。
在这一示例中,打印任务中可以展示至少如60a、60b和60c所示的三个状态,这三个状态中,预览区域的位置和尺寸会根据用户的操作进行不同的变化,从而在用户调出更多的内容时,预览对象能够不被遮盖,当用户收缩一些内容时,预览对象能够占据更大的区域进行显示,进而实现了不同控制需求下的可变布局,避免了预览对象被遮盖,便于用户查看预览效果。
下面再以短视频场景为例对本申请的方案进行说明。电子设备安装了短视频应用,用户在电子设备上通过预设操作启动短视频应用。在电子设备播放短视频时,电子设备显示如图7a所示的界面70a,界面70a中包括视频播放区域71、信息显示区域72以及评论区域73。视频播放区域71用于显示当前页面的短视频;信息显示区域72用于显示视频信息,例如视频名称、视频介绍信息、视频携带的话题等;评论区域73用于显示当前视频的评论信息。视频播放区域71和评论区域73可以显示在同一层的不同区域,信息显示区域72可以覆盖在视频播放区域71之上。在其他的示例中,信息显示区域72也可以和视频播放区域71和评论区域73处于同一层。界面70a还提供了多种操作控件74,操作控件74均显示在最顶层,且部分与视频播放区域71、信息显示区域72以及评论区域73发生重叠。
上述视频播放区域71内所显示的短视频的比例不受限制,在短视频与视频播放区域71的比例相同的情况下,短视频可以充满视频播放区域71;在短视频与视频播放区域71的比例不同时,视频可以居中显示在视频播放区域71中。
评论区域73可以按照当前播放的短视频的点赞数量显示TopN个评论,或按照评论回复数量显示TopN个评论。在短视频没有评论的情况下,评论区域73可以隐藏,或显示用于提示用户评论的信息,例如:快来说出你的想法吧!
继续结合图7a所示,评论区域73上方具有一标识75,该标识75用于指示评论区域下方还具有其他内容。这部分内容可以是属于评论区域73的内容,也可以是其他功能区域,例如,用于推荐当前主播的其他高赞视频的推荐信息等。下面,以展开内容为评论信息进行说明。
作为一种示例,用户在界面70a中执行单点上滑操作,单点上滑操作生成于视频播放区域71中,具体可见图7b,该操作触发视频播放区域71内的短视频上滑,并播 放下一段推荐短视频。
作为一种示例,用户在界面70a中执行如图7c所示的单点上滑操作,单点上滑操作的down点处于评论区域73中。响应于上述单点上滑操作,电子设备显示如图7d所示的界面70d。在界面70d中,评论区域73被拉出,视频播放区域71向上移动,操作控件74隐藏,视频播放区域71缩小,且视频播放区域71内的短视频按照等比例缩小显示。
在视频评论较多的情况下,被拉出的评论区域73也无法完全显示所有评论,被拉出的评论区域73中包括一滚动条731,通过拉动滚动条731可以预览当前短视频的所有评论。
作为一种示例,结合图7e所示,该示例中,单点下滑操作的down点落在视频播放区域71中,up点落在评论区域73中,响应于这一操作,拉出的评论区域73被收缩,电子设备显示如图7a所示的界面70a。作为又一种示例,结合图7f所示,用户在界面70e中进行单点下滑操作,评论区域73中的评论内容上翻,当评论区域73中的评论内容被拉到顶部时,拉出的评论区域73被收缩,电子设备显示如图7a所示的界面70a。作为又一种示例,响应于down点和up点均落在视频播放区域71中的单点下滑操作,在视频播放区域71中显示上一个短视频。
作为一种示例,结合图7g所示,用户在界面70e中进行单点上滑操作77,该操作的down点和up点落在视频播放区域71中。响应于这一操作,在视频播放区域71中显示下一个短视频。当视频播放区域71由当前视频切换至下一个短视频时,评论区域73自动收起,界面的布局与70a相同。
需要说明的是,上述操作仅用于作为一个示例说明在界面70d中允许执行的部分操作,其他的操作方式或操作方式的组合也可以用于执行上述操作,此处不再赘述。
上述实施例提供了三种不同场景下,包含预览区域的任务界面中的布局的变化。可以理解为,除了上述三种场景,在其他的场景下,为了兼顾控制和预览,根据不同的操作对预览区域的大小和位置作出相应适配的界面布局方案,均属于本方案的保护范围。
仍在打印场景中,本方案还可以具有其他的实施方式。
图8d是另一种进入打印任务的示意图。可以在电子设备中通过设置——更多连接进入如图8d所示的界面800d,在界面800d中触发打印控件85,进入如图8a所示的界面800a,在界面800a中提供两个入口,第一个入口是打印机连接入口81,另一个入口是用于进入打印任务的打印入口82。用户触摸打印入口82进入打印任务。在界面800a中选择第二打印入口82之后,电子设备显示如图8b所示的打印任务界面800b。界面800b中提供了两类打印功能,具体为第一类打印功能83和第二类打印功能84。在界面800b中,第一类打印功能83中包括:文档打印功能831、大图打印功能832、图片打印功能833以及相册打印功能834。
在图8b所示的界面800b中,打印功能区域83中还具有一标识控件835,该标识控件835用于表示还可以提供在界面800b中未显示出的其他功能。用户点击标识控件835,电子设备显示如图8c所示的界面800c。在界面800c中,显示了电子设备能够提供的更多的打印功能,包括:扫描功能835、拼图打印功能836、区域裁剪打印功能 837、自定义打印功能838以及身份证打印功能839。在一些示例中,可以具有比界面800c中更多或更少的功能。
作为一种示例,用户触发文档打印功能831,电子设备显示如图9a所示的界面900a。界面900a中包括预览框91和控制区域92。预览框91中的预设位置显示文档添加控件911。用户点击文档添加控件911,电子设备显示如图9e所示的文档选择界面900e。用户在文档选择界面900e中选择待打印的文档,并点击完成控件96,电子设备进入与界面40a的布局相同的打印界面,并在预览区域41中显示用户选择的待打印文档。
作为一种示例,用户触发图片打印功能833,电子设备显示如图9c所示的界面900c。界面900c中包括:预览框93和控制区域94。预览框93中的预设位置显示图片添加控件931。用户点击图片添加控件931,电子设备显示如图9d所示的图片选择界面900d。用户在图片选择界面900d中选择待打印的图片,并点击完成控件95,电子设备进入与界面40a的布局相同的打印界面,并在预览区域41显示用户选择的待打印图片。
在上述实施例中,可以通过文档打印功能831进行文档的打印,也可以通过图3c的方式进行文档的打印,二者所提供的文档打印的服务相同,区别在于当通过文档打印功能831进行文档的打印时,先进入打印任务,再选择待打印文档;当通过图3c的方式进行文档的打印时,先选择待打印文档,再进入打印任务。
在上述实施例中,可以通过图片打印功能833进行图片的打印,也可以通过图3b的方式进行图片的打印,二者所提供的图片打印的服务相同,区别在于当通过图片打印功能833进行图片的打印时,先进入打印任务,再选择待打印图片;当通过图3b的方式进行图片的打印时,先选择待打印图片,再进入打印任务。
作为一种示例,用户触发扫描功能835,电子设备显示如图10a所示的界面100a。界面100a中包括预览区域11和控制区域12。用户点击开始扫描控件121,电子设备执行扫描任务,并显示如图10b所示的界面100b,在界面100b中,控制区域12中的控件无法被触发,标识111用于标识当前扫描的页数,例如,1/1表示当前扫描的页码为第一页,一共扫描一页。在扫描完成当前页之后,电子设备显示如图10c所示的界面100c。在界面100c的预览区域11中显示扫描结果、扫描结果的缩略图124、重新扫描控件122和继续扫描控件123。
用户在界面100c中点击重新扫描控件122,电子设备显示如图10d所示的界面100d,在界面100d中显示提示信息13,提示用户重新扫描将不会保留此次扫描结果,并询问用户是否继续重新扫描,如果用户选择“继续”,则电子设备清除已扫描得到的预览区域11中的内容,并进入界面100b重新进行扫描,如果用户选择“取消”,则电子设备显示界面100c。
用户在界面100c中点击继续扫描控件123,电子设备进入与界面100b相似的界面继续进行扫描,其中,标识111为2/2。在完成当前扫描后,电子设备显示图10f所示的界面100f,界面100f中显示第一页扫描结果的缩略图124和第二页扫描结果的缩略图125。
在界面100c中,用户还可以点击控件14,电子设备显示如图10e所示的界面100e。在界面100e中,显示控制窗口15。用户选择保存为图片,则将扫描结果按照图片的格式保存至电子设备;用户选择保存为PDF,则将扫描结果按照PDF的格式保存至电 子设备。
作为一种示例,用户触发相册打印功能834,电子设备显示如图11a所示的界面110a。界面110a中包括预览框21和控制区域22。用户点击添加图片控件211,电子设备显示图像选择界面。用户在图像选择界面中选择待打印的图像,电子设备显示如图11b所示的界面110b。在界面110b中,待打印的图像以“适合”的显示方式显示在预览框21中。待打印的图像未充满预览框21,用户可以点击填充控件23,待打印控件可充满预览框21,并将多出的部分进行裁剪。
在界面110a中,控制区域22还包括打印机选择控件、份数选择控件以及纸张尺寸选择控件。在控制区域22的上方包括一个标识24,标识24用于指示控制区域22还可以提供更多的控制控件,可以通过预设的操作拉出界面110a中当前控制区域22内隐藏的控制控件。在当前控制区域22内隐藏控制控件被拉出后,电子设备显示如图11b所示的界面110b,在界面110b中,每个控制控件的大小不变,控制区域22扩大,相应的,预览框21变小,预览框21中的预览对象变小。在控制区域22中隐藏的控制控件被拉出或收回所引起的界面布局变化的方式,可以与图4a至图4e中预览区域根据控制区域的变化而适应性变化的方式类似,此处不再赘述。
在如图11b所示的界面110b中,可以通过纸张尺寸选择控件221和纸张方向选择控件222来调整打印参数。在用户触发开始打印控件223后,在打印机允许的情况下,电子设备控制打印机判断实际放入的纸张是否符合设置的打印参数,如果判断结果为符合,则电子设备控制打印机进行打印;如果判断结果为不符合,电子设备显示提示信息:使用当前尺寸的纸张打印可能会与预览效果不同或打印失败,是否继续?在用户确认继续打印的情况下电子设备再控制打印机进行打印。
作为一种示例,用户触发身份证打印功能839,电子设备显示如图12a所示的界面120a。界面120a中包括扫描位置提示框30和提示信息31。用户点击提示信息31中的“知道了”,即可进行身份证的扫描。身份证包括两面,在扫描完成一面后,电子设备提示用户扫描身份证的另一面。在身份证的两面均扫描完成后,电子设备显示如图12b所示的界面120b。在界面120b中,在预览区域302中显示扫描得到的身份证的正反面图像。
界面120b中还包括保存控件304、重拍控件331以及前往打印控件332。用户触发保存控件304,电子设备保存预览区域302中身份证的扫描结果。用户触发重拍控件,电子设备返回重新进行身份证的扫描。用户触发前往打印控件332,电子设备进入身份证的打印任务。身份证的打印任务与图片的打印任务类似,区别在于控制区域的控制控件可以相同,此处不再赘述。
作为一种示例,用户触发大图打印功能832。大图打印用于将待打印的图像放大后分割为多个部分,将每部分作为单独一页进行打印,并可以选择放大倍数(即为分割份数)以及分割的方式。如图13a所示,界面130a中包括预览区域401、放大倍数选择控件402以及打印控件403。预览区域401中的虚线用于表示待打印的图像被分割的方式。在该示例中,放大倍数为四倍。
用户在界面130a中触发打印控件403,电子设备显示如图13b所示的界面130b,在界面130b中,包括预览区域404和控制区域405。分割后的待打印图像的每部分作 为一个预览对象在预览区域404中进行预览。控制区域405中还包括更多可以拉出的控件,在控制区域405中隐藏的控制控件被拉出或收回所引起的界面布局变化的方式,可以与图4a至图4e中预览区域根据控制区域的变化而适应性变化的方式类似,此处不再赘述。
作为一种可选的示例,用户点击拼图打印功能836,电子设备可以显示如图14a所示的界面140a。在界面140a中,提供了预览区域141和控制区域142,控制区域142中提供了添加图片控件143,用户触发添加图片控件143,电子设备可以显示图像选择界面,用户在图像选择界面选择三张图像并确认后,电子设备进入如图14b所示的界面140b。在界面140b中,被选择的三张图像作为预览对象显示在预览区域141中。可选的,用户选择了十张图像,前九张按照3x3的布局构成第一张拼图,最后一张和八张空白图像构成第二张拼图。
控制区域142中提供了一布局样式选择控件144,在触发布局样式选择控件144后,电子设备显示如图14c所示的界面140c,界面140c中提供多种可选的布局样式,例如:3x3、2x2、2x3等。用户选中2x2布局。电子设备显示如图14d所示的界面140d。在界面140d中,按照2x2的布局显示选中的三张图像。
类似的,在拼图打印的场景下,控制区域142中还可以包括更多可以拉出的控件,在控制区域142中隐藏的控制控件被拉出或收回所引起的界面布局变化的方式,可以与图4a至图4e中预览区域根据控制区域的变化而适应性变化的方式类似,此处不再赘述。
作为一种可选的示例,用户点击自定义打印功能838,电子设备显示图像选择界面,用户在图像选择界面选择一个图像并确认后,电子设备显示如图15所示的界面150。界面150中包括预览区域151、纸张尺寸选择控件152和打印控件153。用户点击纸张选择控件152,电子设备显示纸张尺寸选择窗口,用户可以在该窗口内自定义打印时的纸张尺寸。在用户确定纸张尺寸之后,电子设备或打印机判断打印机是否支持用户所选择的纸张尺寸。如果判断结果为否,则再次弹出纸张尺寸选择窗口;如果判断结果为是,纸张尺寸选择窗口关闭。用户点击打印控件153后,电子设备会提示需要放入纸张的尺寸,该尺寸即为用户在纸张尺寸选择窗口中调整的纸张尺寸。
作为一种可选的示例,用户点击区域裁剪打印功能837,电子设备显示图像选择界面,用户在图像选择界面选择多个图像并确认后,电子设备显示如图16a所示的界面160a。界面160a中,包括第一预览区域161、辅助功能区域162、第二预览区域163以及打印控件164。
第二预览区域163中显示用户选择的多个图像的缩略图,用户点击缩略图165对该缩略图对应的图像进行选中。第一预览区域161显示用户在第二预览区域163中选中的图像。第一预览区域161中还显示有裁剪网格,用户通过调整该裁剪网格在第一预览区域16内对预览对象进行裁剪。用户将裁剪网格调整至如图16b所示的界面160b中的状态,电子设备响应于这一裁剪操作,在第一预览区域161中显示裁剪效果,具体如图16c所示的界面160c。
辅助功能区域162包括重置、应用全部以及提取标题。用户触发界面160c中的重置,电子设备返回界面160a。用户触发界面160c中的应用全部,电子设备将第一预 览界面161的裁剪效果应用至在图像选择界面中选中的多个图像,并显示提示信息:修剪效果已应用至全部图像。用户触发界面160c中的提取标题,电子设备显示水印位置选择窗口,该窗口中提供关于水印的选项,分别包括“置于顶部”、“置于底部”以及“关闭”。用户触发打印控件164,电子设备显示与图4a相似的打印界面,其中,预览对象为裁剪后的图像。
在如图8b所示的界面800b中,第二类打印功能84中包括对联打印功能841和红包打印功能842。在第二类打印功能841中还可以接入外部提供打印素材,以提供更多的打印功能,以对联打印功能841为例说明。
作为一种示例,用户在图8b所示的界面80b中触发第二类打印功能84中的对联打印功能841。电子设备显示如图17a所示的界面170a。界面170a中包括:第一控制区域171,预览区域172以及第二控制区域173。第一控制区域171包括用于选择对联中的上联、下联和横批的控件;预览区域172用于显示正在编辑的对联;第二控制区域173用于提供多种编辑项(例如:背景、文字和手写),以及多种编辑项中的内容。在电子设备进入对联打印功能时,默认选中第一控制区域171中的“上联”、第二控制区域173中的背景控件173b以及背景选项173a。
作为一种示例,用户点击第二控制区域173中的文字选项173c,电子设备显示如图17b所示的界面170b。在界面170b的第二控制区域173中,显示可选的文字内容、可选的字体以及可选的颜色。在该示例中,选中内容173e、字体173d以及颜色173f。其中,提供的每个内容中,均包括上联、下联和横批,在选中一个内容后,上联、下联以及横批均可以根据选中的内容确定。例如,选中内容173e,则上联为“虎跃神州歌盛世”,下联为“凤舞九天迎新春”,横批为“虎年吉祥”。在该示例中,第二控制区域173对预览区域172的部分产生了遮挡。
作为另一种示例,用户点击第二控制区域173中的文字选项173c,电子设备显示如图17c所示的界面170c。在该示例中,响应于点击文字选项173c的操作,预览区域172适应性的缩小显示,第二控制区域173未对预览区域172产生了遮挡。界面170c于界面170b中的其他控件功能相同,此处不再赘述。
用户在界面170c中点击控件176,界面170c中可弹出“预览”选项和“保存”选项。用户点击“保存”选项,当前编辑的对联将会分别以上联、下联和横批对应的三张图像保存在相册中。用户点击“预览”选项,电子设备显示如图17d所示的界面170d。在界面170d中,显示整幅对联(包括上联、下联和横批)的预览效果。
如图17b所示,还可以点击第二控制区域173中的控件173g。电子设备进入如图17e所示的界面170e。在界面170e中,显示虚拟键盘174和自定义内容窗口177,用户通过对虚拟键盘174进行操作,以将自定义文字输入至自定义内容窗口177中。用户还可以在第二控制区域173中选择自定义文字的字体和颜色。
如图17b所示,用户还可以选择控件173h和173i,进入手写功能。作为一种示例,电子设备显示如图17f所示的界面170f。在界面170f中,显示编辑区域178,在编辑区域178中,还包括控件178a、控件178b、控件178c和控件178d。用户在编辑区域178内书写,当书写完成一个单位的笔迹(例如,一个字)之后,可以点击控件178d,书写上联中下一个单位的笔迹,此时预览区域172中的对联上显示已书写的第一个单 位的笔迹。在预览区域172中已存在笔迹的情况下,也可以点击控件178c对上一个单位的笔迹进行书写。在书写过程中,可以点击删除控件178a对当前编辑的笔迹进行删除,也可以点击关闭控件178b退出编辑。
可选的,在预览区域172中的上联中,每个文字具有对应的位置和大小。在图17f中,上联的第一个字的大小和位置如虚拟框172a所示(172a仅用于示意,可以并不显示在界面170f中)。用户书写完成第一个字,并点击控件178d之后,可以对当前书写的第一个字进行缩小或放大,以使得书写的笔迹符合172a的大小,然后再将缩小或放大后的笔迹显示在172a所在的位置。如图17i所示的界面170i,在用户点击控件178d之后,书写的“虎”字经过缩放后显示在172a所在的位置,用户可以在编辑区域178中书对联中的下一个字。
编辑区域178中还包括提示信息,提示信息以x/y的形式显示,y表示当前书写的上联一共包括多少个字,x用于表示当前书写的为上联中的第几个字。在该示例中,提示信息为1/7,也即上联中具有7个字,当前正在书写第一个字。在该示例中,第二控制区域173对预览区域172的部分产生了遮挡。
在当前书写的字为第一个字时,提示信息为1/7,控件178c可以置灰。在当前书写的字为最后一个字时,提示信息为7/7,控件178d可以由“下一个”变化为“完成”。此时用户点击控件178d,编辑区域178关闭。
作为另一种示例,进入手写功能后,电子设备显示如图17g所示的界面170g。在该示例中,响应于用户还可以选择控件173h和173i的操作,预览区域172适应性的缩小,第二控制区域173未对预览区域172产生了遮挡。当编辑区域178关闭之后,预览区域172回复至原大小。
再如图17h所示的界面170h所示,用户点击打印控件175,显示提示信息179,提示用户打印上联所需要的纸张尺寸,用户在向打印机放好纸张尺寸后选择开始打印,电子设备向打印设备发送打印指令,打印设备打印上联。用户放入打印机的纸张可以是不具有颜色的原始纸张。
在打印设备打印完成上联之后,向电子设备返回已打印完成的信息,电子设备自动跳转至对下联的编辑界面。类似的,用户在对下联编辑完成后,点击打印控件175即可打印下联,在打印设备打印完成下联之后,向电子设备返回已打印完成的信息,电子设备自动跳转至对横批的编辑界面;用户在对横批编辑完成后,点击打印控件175即可打印横批。
可选的,用户放入打印设备的纸张尺寸与提示信息179中的纸张尺寸不符。打印设备检测到当前纸张的纸张尺寸与打印所需的纸张尺寸不符,可以向电子设备发送对应的信息,电子设备可以显示提示信息,以提示用户更换纸张。
再对红包打印进行说明。在如图8b所示的界面800b中,用户点击红包打印功能842。进入如图18a所示的界面180a。界面180a中包括第一控制区域181、预览区域182和第二控制区域183。第一控制区域181中提供多种可选的主题,例如:潮流、新春以及虎年等,每种主题具有对应的背景。在该示例中,选中潮流主题,第二控制区域183中的背景为潮流主题对应的背景。在预览区域182中显示待打印的红包的缩略图,其中的虚线用于表示折叠和修剪痕迹,也即,将打印出来的纸张按照虚线进行修 剪和折叠,即可得到红包,折叠和修剪痕迹可以是打印纸张本身所具有的痕迹,也可以是通过双面打印等方式打印在纸张上构成的痕迹。
用户还可以在红包上添加文字。用户在界面180a的第二控制区域183中点击“文字”控件,即可进入如图18b所示的界面180b。在界面180b中显示文本输入框184,用户点击文本输入框184,电子设备显示如图18c所示的界面180c。在界面180c中,显示文本输入框186、虚拟键盘185以及第二控制区域183,用户在第二控制区域183中选择字体为“行书”,并通过虚拟键盘185在文本输入框186中输入“新年快乐!”。用户点击确认控件后,输入的文本“新年快乐!”以行书的字体显示在预览区域182内,用户可以移动文本输入框186的位置,也可以移动已输入文本的位置。
用户还可以在红包上添加贴图。用户在界面180a的第二控制区域183中点击“贴图”控件,即可进入如图18d所示的界面180d。界面180d中显示可以作为贴图的备选图片,在该示例中,用户选择贴图183a,预览区域182中显示贴图187。用户还可以移动贴图187在预览区域182中的位置。用户还可以点击控件183b,响应于用户点击控件183b的操作,清除预览区域182内的贴图。
仍在界面180d中为例,用户点击控件188,可以弹出“预览”选项和“保存”选项。用户点击“保存”选项,当前编辑的红包可以以图像的方式保存在相册中。用户点击“预览”选项,进入如图18e所示的界面180e。在界面180e中,显示打印红包的预览效果188a。在预览效果188a中,还可以显示预览区域182中的虚线,以便于用户裁剪和折叠。还可以进行双面打印,正面如预览效果188a所示,反面打印预览区域182中的虚线。
仍在界面180d中为例,用户点击控件189,电子设备进入如图18f所示的界面180f,在界面180f中,显示提示信息182a,提示用户打印红包所需要的纸张尺寸,用户在准备好纸张尺寸后选择开始打印,电子设备向打印设备发送打印指令,打印设备打印红包。
参见图19,为本申请实施例提供的一种打印方法的流程图。该方法可应用于图1所示的电子设备,如图19所示,其主要包括以下步骤。
S191,显示第一界面,第一界面包括:第一缩略图和第一数量的控件,第一缩略图对应第一文件,第一缩略图具有第一尺寸,第一数量的控件中包括第一控件。
第一界面可以如图4a所示的界面40a,第一缩略图可以为第一预览对象411和未完全显示的第二预览对象412,第一数量的控件可以包括:开始打印控件421、打印机选择控件422、份数选择控件423以及范围选择控件424,第一控件可以为开始打印控件421。
S192,响应于对第一控件的第一操作,向打印设备发送打印指令,打印指令指示打印第一文件。
第一操作可以为用户点击开始打印控件421的操作,用户点击开始打印控件421,电子设备向打印设备发送指令,打印设备执行打印任务。
S193,响应作用于第一界面的第二操作,显示第二界面,第二界面包括:第二缩略图和第二数量的控件,第二数量的控件中包括第一控件,第二缩略图对应第一文件,第二缩略图具有第二尺寸,第二尺寸小于第一尺寸,第二数量大于第一数量,第二界 面与第一界面大小相同。
如图4b所示的界面40b,上述第二操作可以是界面40b中的上滑操作,第二界面可以如图4c所示的界面40c所示,第二缩略图可以为界面40c中完整的第一预览对象411、完整的第二预览对象412和未完整的第三预览对象414。第二数量的控件包括:开始打印控件421、打印机选择控件422、份数选择控件423、范围选择控件424、纸张类型选择控件425、纸张尺寸选择控件426、打印方式选择控件427以及色彩模式选择控件428。
可见,上述实施例中,用户通过在第一界面中执行第二操作,使得在第二界面中显示出与第一界面中相比更多的控件,从而为用户提供更多的控制项,同时第一缩略图缩小为第二缩略图,避免控件对缩略图造成遮挡,便于用户观看,提高用户体验。
在一种实现方式中,响应作用于第一界面的第一操作,显示第二界面,包括:响应作用于第一界面的第二操作,第一缩略图由第一尺寸缩小至第二尺寸,得到第二缩略图;以及第一数量的控件根据第二操作移动,并在第二界面中新增第三数量的控件,得到第二数量的控件,其中,第一数量与第三数量之和为第二数量。
结合图4a、图4b和图4c所示,用户通过上滑操作,拖出更多的控件,预览区域41和预览区域41内的预览对象也适应性的缩小,从而避免了控件对预览对象的遮挡。第三数量的控件可以包括:纸张类型选择控件425、纸张尺寸选择控件426、打印方式选择控件427以及色彩模式选择控件428。
在一种实现方式中,第一缩略图位于第一数量的控件的上侧,第二操作为上滑操作。
在一种实现方式中,在响应作用于第一界面的第二操作,显示第二界面之后,响应作用于第二界面的第三操作,显示第一界面。
如图4e所示,用户在第二界面中下滑,一些控件被收回,预览区域41和预览区域41都增大,恢复至如图4a所示的界面40a。
在一种实现方式中,第一数量的控件还包括第二控件、第三控件和第四控件,响应作用于第二控件的第四操作,显示第三界面,第三界面包括:打印设备选项;响应作用于第三控件的第五操作,显示第四界面,第四界面包括:打印份数选选项;响应作用于第四控件的第六操作,显示第五界面,第五界面包括:打印范围选项;其中,响应于对第一控件的第一操作,向打印设备发送打印指令包括:响应于对第一控件的第一操作,向在第三界面中所选的打印设备发送携带第一打印参数的打印指令,第一打印参数包括在第四界面中所选的打印份数和在第五界面所选的打印范围。
第二控件可以为打印机选择控件422。第三控件可以为份数选择控件423,第四界面可以如图5a所示。第四控件可以为范围选择控件424,第五界面可以如图5d或图5e所示。
在一种实现方式中,第二数量的控件还包括第五控件、第六控件、第七控件和第八控件,响应作用于第五控件的第七操作,显示第六界面,第六界面包括:纸张类型选项;响应作用于第六控件的第八操作,显示第七界面,第七界面包括:纸张尺寸选选项;响应作用于第七控件的第九操作,显示第八界面,第八界面包括:打印方式选项,打印方式包括:双面打印和单面打印;响应作用于第八控件的第十操作,显示第 九界面,第九界面包括:色彩模式选项,色彩模式选项包括:黑白模式和彩色模式;其中,响应于对第一控件的第一操作,向打印设备发送打印指令包括:响应于对第一控件的第一操作,向打印设备发送携带第二打印参数的打印指令,第二打印参数包括:在第五界面中所选的纸张类型、在第六界面中所选的纸张类型、在第七界面中所选的打印方式和在第八界面所选的色彩模式。
第五控件可以为纸张类型选择控件425,第六界面可以如图5b所示。第六控件可以为纸张尺寸选择控件426,第七界面可以如图5f所示。第七控件可以为打印方式选择控件427,第八界面可以如图5c所示。第八控件可以为色彩模式选择控件428,第九界面可以如图5e所示。
在一种实现方式中第一数量的控件还包括第九控件,第九控件与背景图相对应,第九控件的图标显示为对应背景图的第三缩略图,响应于对一个第九控件的第十一操作,将第一缩略图显示在第十一操作所选的背景图上,第十一操作所选的背景图为第十一操作所选的第九控件对应的背景图。
在该示例中,第一界面可以如图6b所示,第一控件可以为开始打印控件,第九控件可以为背景选择区域63中的背景选择控件,每个背景选择控件对应一个可选的背景图,每个背景选择控件的图标即为其对应的背景图的缩略图,即第三缩略图。在图6b的示例中,用户选择背景631,第一预览对象411显示在背景631之上。第二界面可以如图6c所示。
在一种实现方式中,第二数量的控件还包括第十控件,第十控件与第一缩略图与背景图的位置关系相对应,第十控件的图标为对应位置关系的示意图,响应于对一个第十控件的第十二操作,根据第十二操作所选的位置关系,在第十一操作所选的背景图上显示第一缩略图,十二操作所选的位置关系为第十二操作所选的第十控件对应的位置关系。
结合图6c所示,第二数量的控件可以包括背景选择区域63和位置选择区域65中的控件。第十控件即可以为位置选择区域65中的位置选择控件,每个位置选择控件对应一种位置关系(该位置关系用于表示第一缩略图与其背景的位置关系),每个位置选择控件的图标即为其所对应的位置关系的示意图。在图6c的示意中,用户点击居中选项651,第一预览对象在选择的背景631上居中显示。
在一种实现方式中,第一缩略图位于第一数量的控件的上侧,响应作用于第一界面的第十三操作,显示第十界面,第十界面包括第一缩略图和第四数量的控件,其中,第一缩略图具有第一尺寸,第四数量的控件位于第一缩略图的上侧。
在图6b中,用户通过下滑操作,使电子设备显示如图6a所示的第三界面,在第三界面中,第四数量的控件可以包括控制区域61内的控件。
在一种实现方式中,第十三操作为下滑操作。
本申请实施例还提供一种电子设备,包括用于存储计算机程序指令的存储器和用于执行程序指令的处理器,其中,当该计算机程序指令被所述处理器执行时,触发所述电子设备执行上述相关方法步骤实现上述实施例中的方法。
本申请实施例还提供一种计算机可读存储介质,该计算机可读存储介质中存储有计算机指令,当该计算机指令在终端设备上运行时,使得终端设备执行上述相关方法 步骤实现上述实施例中的方法。
本申请实施例还提供一种计算机存储介质,该计算机存储介质中存储有计算机指令,当该计算机指令在终端设备上运行时,使得终端设备执行上述相关方法步骤实现上述实施例中的方法。
本申请实施例还提供了一种计算机程序产品,当该计算机程序产品在计算机上运行时,使得计算机执行上述相关步骤,以实现上述实施例中的方法。
另外,本申请的实施例还提供一种装置,这个装置具体可以是芯片,组件或模块,该装置可包括相连的处理器和存储器;其中,存储器用于存储计算机执行指令,当装置运行时,处理器可执行存储器存储的计算机执行指令,以使芯片执行上述各方法实施例中的方法。
其中,本申请实施例提供的电子设备、计算机存储介质、计算机程序产品或芯片均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考上文所提供的对应的方法中的有益效果,此处不再赘述。
通过以上实施方式的描述,所属领域的技术人员可以了解到,为描述的方便和简洁,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。
在本申请所提供的几个实施例中,应该理解到,所揭露的装置和方法,可以通过其他的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个装置,或一些特征可以丢弃,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其他的形式。
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是一个物理单元或多个物理单元,即可以位于一个地方,或者也可以分布到多个不同地方。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。
集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个可读取存储介质中。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该软件产品存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(read only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。
以上内容,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任 何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。

Claims (13)

  1. 一种电子设备的控制方法,其特征在于,包括:
    显示第一界面,所述第一界面包括:第一缩略图和第一数量的控件,所述第一缩略图对应第一文件,所述第一缩略图具有第一尺寸,所述第一数量的控件中包括第一控件;
    响应于对所述第一控件的第一操作,向打印设备发送打印指令,所述打印指令指示打印所述第一文件;
    响应作用于所述第一界面的第二操作,显示第二界面,所述第二界面包括:第二缩略图和第二数量的控件,所述第二数量的控件中包括所述第一控件,所述第二缩略图对应所述第一文件,所述第二缩略图具有第二尺寸,所述第二尺寸小于所述第一尺寸,所述第二数量大于所述第一数量,所述第二界面与所述第一界面大小相同。
  2. 根据权利要求1所述的方法,其特征在于,响应作用于所述第一界面的第一操作,显示第二界面,包括:
    响应作用于所述第一界面的第二操作,所述第一缩略图由所述第一尺寸缩小至所述第二尺寸,得到所述第二缩略图;以及
    所述第一数量的控件根据所述第二操作移动,并在所述第二界面中新增第三数量的控件,得到所述第二数量的控件,其中,所述第一数量与所述第三数量之和为所述第二数量。
  3. 根据权利要求1所述的方法,其特征在于,所述第一缩略图位于所述第一数量的控件的上侧,所述第二操作为上滑操作。
  4. 根据权利要求1所述的方法,其特征在于,在响应作用于所述第一界面的第二操作,显示第二界面之后,所述方法还包括:
    响应作用于所述第二界面的第三操作,显示所述第一界面。
  5. 根据权利要求1所述的方法,其特征在于,所述第一数量的控件还包括第二控件、第三控件和第四控件,所述方法还包括:
    响应作用于所述第二控件的第四操作,显示第三界面,所述第三界面包括:打印设备选项;
    响应作用于所述第三控件的第五操作,显示第四界面,所述第四界面包括:打印份数选选项;
    响应作用于所述第四控件的第六操作,显示第五界面,所述第五界面包括:打印范围选项;
    其中,响应于对所述第一控件的第一操作,向打印设备发送打印指令包括:响应于对所述第一控件的第一操作,向在所述第三界面中所选的打印设备发送携带第一打印参数的打印指令,所述第一打印参数包括在所述第四界面中所选的打印份数和在所述第五界面所选的打印范围。
  6. 根据权利要求5所述的方法,其特征在于,所述第二数量的控件还包括第五控件、第六控件、第七控件和第八控件,所述方法还包括:
    响应作用于所述第五控件的第七操作,显示第六界面,所述第六界面包括:纸张类型选项;
    响应作用于所述第六控件的第八操作,显示第七界面,所述第七界面包括:纸张尺寸选选项;
    响应作用于所述第七控件的第九操作,显示第八界面,所述第八界面包括:打印方式选项,所述打印方式包括:双面打印和单面打印;
    响应作用于所述第八控件的第十操作,显示第九界面,所述第九界面包括:色彩模式选项,所述色彩模式选项包括:黑白模式和彩色模式;
    其中,响应于对所述第一控件的第一操作,向打印设备发送打印指令包括:响应于对所述第一控件的第一操作,向所述打印设备发送携带第二打印参数的打印指令,所述第二打印参数包括:在所述第五界面中所选的纸张类型、在所述第六界面中所选的纸张类型、在所述第七界面中所选的打印方式和在所述第八界面所选的色彩模式。
  7. 根据权利要求1所述的方法,其特征在于,所述第一数量的控件还包括第九控件,所述第九控件与背景图相对应,所述第九控件的图标显示为对应背景图的第三缩略图,所述方法还包括:
    响应于对一个所述第九控件的第十一操作,将所述第一缩略图显示在所述第十一操作所选的背景图上,所述第十一操作所选的背景图为所述第十一操作所选的第九控件对应的背景图。
  8. 根据权利要求7所述的方法,其特征在于,所述第二数量的控件还包括第十控件,所述第十控件与所述第一缩略图与背景图的位置关系相对应,所述第十控件的图标为对应位置关系的示意图,所述方法还包括:
    响应于对一个所述第十控件的第十二操作,根据所述第十二操作所选的位置关系,在所述第十一操作所选的背景图上显示所述第一缩略图,所述十二操作所选的位置关系为所述第十二操作所选的第十控件对应的位置关系。
  9. 根据权利要求7所述的方法,其特征在于,所述第一缩略图位于所述第一数量的控件的上侧,所述方法还包括:
    响应作用于所述第一界面的第十三操作,显示第十界面,所述第十界面包括所述第一缩略图和第四数量的控件,其中,所述第一缩略图具有所述第一尺寸,所述第四数量的控件位于所述第一缩略图的上侧。
  10. 根据权利要求9所述的方法,其特征在于,所述第十三操作为下滑操作。
  11. 一种电子设备,其特征在于,包括用于存储计算机程序指令的存储器和用于执行程序指令的处理器,其中,当该计算机程序指令被所述处理器执行时,触发所述电子设备执行权利要求1-10任一项所述的方法。
  12. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质包括存储的程序,其中,在所述程序运行时控制所述计算机可读存储介质所在设备执行权利要求1-10中任意一项所述的方法。
  13. 一种计算机程序产品,其特征在于,所述计算机程序产品包含可执行指令,当所述可执行指令在计算机上执行时,使得计算机执行权利要求1-10中任意一项所述的方法。
PCT/CN2022/138789 2022-01-10 2022-12-13 一种电子设备的控制方法及电子设备 WO2023130920A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
EP22918369.4A EP4293495A1 (en) 2022-01-10 2022-12-13 Control method for electronic device and electronic device
US18/280,297 US20240160339A1 (en) 2022-01-10 2022-12-13 Electronic device control method and electronic device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210023693.0 2022-01-10
CN202210023693.0A CN116450012A (zh) 2022-01-10 2022-01-10 一种电子设备的控制方法及电子设备

Publications (2)

Publication Number Publication Date
WO2023130920A1 WO2023130920A1 (zh) 2023-07-13
WO2023130920A9 true WO2023130920A9 (zh) 2023-12-14

Family

ID=87073074

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/138789 WO2023130920A1 (zh) 2022-01-10 2022-12-13 一种电子设备的控制方法及电子设备

Country Status (4)

Country Link
US (1) US20240160339A1 (zh)
EP (1) EP4293495A1 (zh)
CN (1) CN116450012A (zh)
WO (1) WO2023130920A1 (zh)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101571793B (zh) * 2009-04-24 2012-07-18 广州市易票联电子商务有限公司 一种打印页面信息的方法和系统
CN111338519B (zh) * 2020-02-04 2022-05-06 华为技术有限公司 一种显示方法及电子设备
CN111708499A (zh) * 2020-05-13 2020-09-25 厦门汉印电子技术有限公司 一种打印页面的打印管理方法、装置、设备及存储介质
CN112162814A (zh) * 2020-09-27 2021-01-01 维沃移动通信有限公司 图像显示方法、装置及电子设备

Also Published As

Publication number Publication date
WO2023130920A1 (zh) 2023-07-13
EP4293495A1 (en) 2023-12-20
CN116450012A (zh) 2023-07-18
US20240160339A1 (en) 2024-05-16

Similar Documents

Publication Publication Date Title
US8089653B2 (en) Document processing apparatus, method and program for variable printing with document file dividing
EP1526463A1 (en) Electronic sticky notes
US7464336B2 (en) Information processing apparatus, image edit apparatus, and control methods thereof, and computer program and computer-readable storage medium
US20060053370A1 (en) Electronic album editing apparatus and control method therefor
US7847971B2 (en) Layout processing method, information processing apparatus, and computer program
CN102436358B (zh) 信息处理装置及输出控制方法
JP4966533B2 (ja) 印刷システム、印刷方法、印刷プログラムおよび記録媒体
US9158488B2 (en) Data processing apparatus and data processing method for generating data to be edited using a print driver
JP2008077210A (ja) 画像表示装置およびプログラム
JP2012230574A (ja) 情報処理装置とその処理方法及びプログラム
JPH10124489A (ja) 電子文書管理装置および方法
WO2023130920A9 (zh) 一种电子设备的控制方法及电子设备
US8839151B2 (en) Device and program for transmitting/playing image folder based on an album setting folder file
WO2004021164A1 (ja) 印刷制御装置、印刷制御方法、印刷制御プログラム、印刷制御プログラムを記録した媒体、画像処理装置、画像処理コンピュータ
CN115562543B (zh) 一种电子设备的控制方法及电子设备
JP6353261B2 (ja) 情報処理装置、制御方法およびプログラム
JP2004318915A (ja) 電子文書処理装置および方法
JPH11296324A (ja) プリンタ制御装置およびその方法並びに記録媒体
JP2007074136A (ja) レイアウト編集装置、サーバ、レイアウト編集方法およびレイアウト編集プログラム
JP2018160263A (ja) 情報処理装置、制御方法およびプログラム
US11240384B2 (en) Information processing apparatus, method for information processing, and storage medium
JP2001243489A (ja) 画像合成編集方法、画像合成編集装置および画像合成編集プログラムを記録した記録媒体
JP2001113777A (ja) 電子写真画像システムおよび電子画像処理装置および方法
JP5849611B2 (ja) プリントデータ編集装置、プリントデータ編集方法およびプリントデータ編集プログラム
JP2006135864A (ja) 電子アルバム編集装置及びその制御方法及びそのプログラム及びそのプログラムをコンピュータ装置読み出し可能に記憶した記憶媒体

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: 22918369

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 18280297

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 2022918369

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2022918369

Country of ref document: EP

Effective date: 20230911