CN110347455A - A kind of quick interface arrangement method and terminal - Google Patents

A kind of quick interface arrangement method and terminal Download PDF

Info

Publication number
CN110347455A
CN110347455A CN201910441278.5A CN201910441278A CN110347455A CN 110347455 A CN110347455 A CN 110347455A CN 201910441278 A CN201910441278 A CN 201910441278A CN 110347455 A CN110347455 A CN 110347455A
Authority
CN
China
Prior art keywords
interface
option
user
desktop
terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201910441278.5A
Other languages
Chinese (zh)
Inventor
黄丽薇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201910441278.5A priority Critical patent/CN110347455A/en
Publication of CN110347455A publication Critical patent/CN110347455A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the present application discloses a kind of quick interface arrangement method and terminal, is related to field of communication technology, this method comprises: terminal shows the first interface, the first display object at first interface is located at first position, and second shows that object is located at the second position;The option of corresponding first setting option is the first option at this time;Later, terminal shows the first interface in response to user to the selection operation of the second option, wherein the first display object is located at first position, and the second display object is located at the third place;Later, terminal shows the first interface in response to user to the selection operation of the first option, wherein the first display object is located at first position, and the second display object is located at the second position.In this way, display object is constant in the position at the first interface when the option of the first setting option reverts to the first option by the first option;Remain configuration of the user on interface, it then follows the use habit of user.

Description

A kind of quick interface arrangement method and terminal
Technical field
The invention relates to field of communication technology more particularly to a kind of quick interface arrangement methods and terminal.
Background technique
Some setting options (such as desktop layouts) of terminal, a setting option may include a variety of options.In general, such as Fruit user has carried out some configurations when the setting option is set as the first option, according to user's use habit, and the configuration be The configuration for default of uniting is different;The option of the setting option is modified later.When the setting option is reverted to first again by user When option, user can lose according to the configuration that its use habit carries out;Become the configuration of system default.As long as in this way, user couple The option of setting option is changed, and user will be unable to retain according to the particular arrangement that its use habit carries out, and influences user's Usage experience.
Summary of the invention
The embodiment of the present application provides a kind of quick interface arrangement method and terminal, can change in the option of setting option, again When reverting to former option, retain configuration of the user on interface in former option, it then follows the use habit of user.
In a first aspect, the embodiment of the present application provides a kind of sound control method, this method may include:
Terminal shows the first interface;First interface includes the first display object and the second display object;Wherein, the first display Object is located at the first position at the first interface, and the second display object is located at the second position at the first interface.In response to the of user One operation, terminal show the set interface of the first setting option;In the set interface, show that the first option is selected.That is, In the first option, the first display object at the first interface is located at first position, and the second display object is located at the second position.
Terminal receives user in set interface to the selection operation of the second option;Selection in response to user to the second option Operation, terminal show the first interface;Wherein, the first display object is located at first position, and the second display object is located at the first interface The third place.In the second option, the position change of the display object at the first interface.
In response to the first operation of user, terminal shows set interface;Terminal receives user and selects in set interface first The selection operation of item;In response to user to the selection operation of the first option, terminal shows the first interface;Wherein, the first display pair As being located at first position, the second display object is located at the second position.In this way, user by the option of the first setting option remodify for After first option, show that the position of object is constant on the first interface;It remains when the first setting option is the first option, user couple The configuration at interface.
With reference to first aspect, in a kind of possible design method, there are empty positions between first position and the second position; Empty position is not present between first position and the third place.In the method, it when user selects the first option, is deposited between display object In empty position;After user selects the second option, empty position is not present in compact arrangement between the two display objects.In the first setting After the option of item changes, configuration of the user under different options is not retained.
With reference to first aspect, in a kind of possible design method, there are empty positions between first position and the second position; The number of empty position between first position and the third place with first position and states the number phase of empty position between the second position Deng.In the method, when user selects the first option, show that there are empty positions between object;After user selects the second option, retain Show the empty position between object, and the number of empty position is constant.After the option of the first setting option changes, user is remained not With the configuration under option.
With reference to first aspect, in a kind of possible design method, terminal shows the first interface;Wherein, third is shown pair The 4th position as being located at the first interface;Terminal receives the delete operation that user shows object to third;In response to user to The delete operation of three display objects, the 4th position is shown as empty position.In this way, the first interface is formed empty position.This method It is a kind of possible mode that empty position generates.
With reference to first aspect, in a kind of possible design method, the first interface includes multipage;The second position is located at first The first page at interface, the third place are located at the second page at the first interface;First page and second page difference.In the method, it responds The operation of the option of the first setting option is modified in user, the layout at the first interface that terminal is shown changes.Wherein, if current The display object that page can not be shown completely, can show in lower one page.
With reference to first aspect, in a kind of possible design method, terminal shows the first interface;Wherein, the second display pair The second position as being located at the first interface, the 4th display object are located at the 5th position at the first interface, and the second position is located at first The first page at interface, the 5th position are located at the second page at the first interface.In response to the first operation of user, terminal display setting circle Face;First option of set interface is selected.That is, when the first option is selected, the second of corresponding first interface Display object is located at first page, and the 4th display object is located at second page.
Terminal receives user in set interface to the selection operation of the second option;Selection in response to user to the second option Operation, terminal show the first interface;Wherein, the second display object is located at the 5th position, and the 4th display object is located at the first interface The 6th position, the 6th position is located at the second page at the first interface.
In the method, the display object that current page can not be shown shows in lower one page, the original display pair with lower one page It is shown as merging in same one page.
With reference to first aspect, in a kind of possible design method, terminal shows the first interface;Wherein, the second display pair As being located at the second position, the 4th display object is located at the 5th position at the first interface, and the second position is located at the first of the first interface Page, the 5th position is located at the second page at the first interface.In response to the first operation of user, terminal shows set interface;Boundary is set First option in face is selected.That is, when the first option is selected, the second display object position at corresponding first interface In first page, the 4th display object is located at second page.
Terminal receives user in set interface to the selection operation of the second option;Selection in response to user to the second option Operation, terminal show the first interface;Wherein, the second display object is located at the 5th position, and the 4th display object is located at the first interface The 7th position, the 7th position is located at the third page at the first interface.
In the method, the display object that current page can not be shown creates one page and shows, the not display original with lower one page Object merging is shown in same one page.
With reference to first aspect, in a kind of possible design method, in response to user to the selection operation of the second option, eventually End the first interface of display, comprising: in response to the second operation of user, terminal exits set interface, shows the first interface.
With reference to first aspect, in a kind of possible design method, the first interface is the desktop or application program of terminal Display interface.
With reference to first aspect, in a kind of possible design method, display object is the application icon of application program, or packet Include the file of one or more application icon.
Second aspect, the embodiment of the present application provide a kind of electronic equipment, which may be implemented described in first aspect Quick interface arrangement method, the corresponding software realization above method can be executed by software, hardware or by hardware.? In a kind of possible design, which may include processor and memory.The processor is configured as supporting the electronics Equipment executes corresponding function in above-mentioned first aspect method.Memory saves the electronic equipment for coupling with processor Necessary program instruction and data.
The third aspect, the embodiment of the present application provide a kind of computer storage medium, which includes calculating Machine instruction, when the computer instruction is run on an electronic device so that electronic equipment execute such as above-mentioned either side and its Quick interface arrangement method described in possible design method.
Fourth aspect, the embodiment of the present application provide a kind of computer program product, when the computer program product is being counted When being run on calculation machine, so that the computer executes the interface layout as described in above-mentioned either side and its possible design method Method.
Electronic equipment described in second aspect, described in computer storage medium and fourth aspect described in the third aspect Technical effect brought by computer program product can be found in technology brought by above-mentioned first aspect and its different designs mode Effect, details are not described herein again.
Detailed description of the invention
Figure 1A is a kind of Scene case schematic diagram one of quick interface arrangement method provided by the embodiments of the present application;
Figure 1B is a kind of Scene case schematic diagram two of quick interface arrangement method provided by the embodiments of the present application;
Fig. 1 C is a kind of Scene case schematic diagram three of quick interface arrangement method provided by the embodiments of the present application;
Fig. 2 is the composition schematic diagram of the hardware configuration of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 3 is the software architecture schematic diagram of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 4 is a kind of quick interface arrangement method flow chart one provided by the embodiments of the present application;
Fig. 5 A is the display interface example schematic one of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 5 B is the display interface example schematic two of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 5 C is the display interface example schematic three of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 6 A is the display interface example schematic four of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 6 B is the display interface example schematic five of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 7 is the display interface example schematic six of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 8 A is the display interface example schematic seven of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 8 B is the display interface example schematic eight of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 8 C is the display interface example schematic nine of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 9 A is the display interface example schematic ten of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 9 B is the display interface example schematic 11 of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 9 C is the display interface example schematic 12 of a kind of electronic equipment provided by the embodiments of the present application;
Figure 10 A is the display interface example schematic 13 of a kind of electronic equipment provided by the embodiments of the present application;
Figure 10 B is the display interface example schematic 14 of a kind of electronic equipment provided by the embodiments of the present application;
Figure 10 C is the display interface example schematic 15 of a kind of electronic equipment provided by the embodiments of the present application;
Figure 11 is a kind of quick interface arrangement method flowchart 2 provided by the embodiments of the present application;
Figure 12 A is the display interface example schematic 16 of a kind of electronic equipment provided by the embodiments of the present application;
Figure 12 B is the display interface example schematic 17 of a kind of electronic equipment provided by the embodiments of the present application;
Figure 13 A is the display interface example schematic 18 of a kind of electronic equipment provided by the embodiments of the present application;
Figure 13 B is the display interface example schematic 19 of a kind of electronic equipment provided by the embodiments of the present application;
Figure 13 C is the display interface example schematic 20 of a kind of electronic equipment provided by the embodiments of the present application;
Figure 14 is the structure composition schematic diagram of a kind of electronic equipment provided by the embodiments of the present application.
Specific embodiment
Some setting options of terminal, a setting option may include a variety of options.Terminal can support user to setting option Option modify.Sometimes, user can also carry out some configurations to terminal according to its use habit.User wishes to setting After the option of item is modified, its configuration carried out to terminal can be retained.For example, if user is set as in some setting option When the first option, some configurations have been carried out according to user's use habit;The second option is set by the setting option later.Work as user When setting the first option for the setting option again, user wishes before reservation when setting option is the first option, according to its use It is accustomed to the configuration carried out.
The desktop of terminal can show one or more display objects.Display object can be the application drawing of application program Mark, file or plug-in unit (widget) including one or more application icon etc..The desktop of terminal can only include one page, Multipage can also be divided into show.In general, page 0 is known as main desktop.In the embodiment of the present application, unless otherwise instructed, then with master For desktop.
The setting option " desktop layouts " of terminal is used to define the grid specification that display object is shown in desktop.For example, " desktop The option of layout " may include " 4x6 ", " 5x5 ", " 5x6 " three kinds of options, and every kind of option respectively corresponds a kind of grid specification.Choosing Item " 4x6 " indicates have 4x6 position for arranging display object (by the display area of desktop every page in the every page of desktop It is divided into 4x6 sub-viewing areas);Wherein, every a line has 4 positions (sub-viewing areas), each to show 6 positions (son is aobvious Show region).I.e. under conditions of a display object occupies a position, desktop can at most show 4x6 display object, and Every a line at most shows 4 display objects, each column at most 6 display objects of display.User can pass through setting " tabletop clothes The option of office " modifies the grid specification of desktop, so as to adjust display object desktop layout.
Illustratively, as shown in Figure 1A, desktop includes 12 application icons.The option of Figure 1A corresponding " desktop layouts " is " 5x6 ", every a line of desktop can at most show 5 application icons.12 application icons that Figure 1A is shown are non-compact arrangements 's.Non- compact arrangement shows there are one or more positions not occupied by any display object between object.Such as Figure 1A institute Show, in the first row of desktop, shows 4 application icons;There is one between application icon " mail " and application icon " setting " Empty position (position not occupied by any display object), does not show any application icon on empty position.In the second row, display There are 2 application icons;There are 3 empty positions after application icon " camera ".In the third line, 2 application icons are shown, there are 3 Empty position.In fourth line, 1 application icon is shown, there are 4 empty positions.In fifth line, 1 application icon is shown, there is 4 A empty position.In the 6th row, 2 application icons are shown, there is 1 sky between application icon " speaker " and application icon " music " Position.Show that object is non-compact arrangement.
User can modify the option of " desktop layouts ".For example, in the case where desktop is as shown in Figure 1A, user is by " table Face layout " is set as option " 4x6 ".When " desktop layouts " are set as option " 4x6 ", every a line of desktop at most shows 4 Application icon.Illustratively, it is arranged to option " 4x6 " in response to " desktop layouts ", terminal shows desktop as shown in Figure 1B. In fig. ib, 12 application icons are divided into three rows and show, every a line shows 4 application icons, and does not wrap between each application icon Include empty position.Show that object is compact arrangement.
User can continue to modify the option of " desktop layouts ".For example, user will in the case where desktop is as shown in Figure 1B " desktop layouts " are set as option " 5x6 ".In this way, desktop shows that every a line at most shows 5 according to the setting of option " 5x6 " A application icon.In one implementation, in the case where desktop is as shown in Figure 1B, " desktop layouts " are set as selecting by user Item " 5x6 ", then terminal shows desktop as shown in Figure 1 C.In fig. 1 c, 12 application icons are divided into three rows and show, every a line is most It shows 5 application icons, and does not include empty position between each icon.Show that object is compact arrangement.
In this implementation, the arrangement mode of the display object of system default is compact arrangement.The interface shown in Figure 1A, According to the configuration (for example, user changes application icon in the position of desktop by dragging application icon) of user, object is shown Arrangement mode is non-compact arrangement.In this way, after user modifies the option of " desktop layouts ", and revert to original option;But It is that the layout of desktop is changed.Before option modification, when the option of " desktop layouts " is set as " 5x6 ", desktop such as Figure 1A, The non-compact arrangement of application icon;After setting " 5x6 " for the option of " desktop layouts " recovery, desktop such as Fig. 1 C, application icon Compact arrangement.That is, user, after having modified the option of setting option, user is not retained the configuration of terminal.
The embodiment of the present application provides a kind of quick interface arrangement method, can change in the option of the setting option of terminal, again When reverting to former option, the corresponding interface layout of former option is not changed.Illustratively, desktop includes 12 application icons.When " table When face layout " is set as option " 5x6 ", every a line of desktop at most shows that 5 application icons, desktop are as shown in Figure 1A.In table In the case that face is as shown in Figure 1A, user sets " desktop layouts " to option " 4x6 ", then terminal shows table as shown in Figure 1B Face.User can continue to modify the option of " desktop layouts ".For example, user sets " 5x6 " for the option of " desktop layouts " again, Then terminal shows desktop as shown in Figure 1A.After user modifies the option of " desktop layouts ", and original option is reverted to, eventually The layout of end desktop does not change, i.e., the position of each application icon is constant on desktop.
Terminal in the embodiment of the present application can be portable computer (such as mobile phone), tablet computer, laptop, a People's computer (personal computer, PC), wearable electronic (such as smartwatch), augmented reality (augmented Reality, AR) virtual reality (virtual reality, VR) equipment, vehicle-mounted computer etc., following embodiment is to the terminal Concrete form does not do specifically limited.
Referring to FIG. 2, the structural schematic diagram of its a kind of electronic equipment 100 for showing embodiment offer.The electronic equipment 100 can be terminal described in the present embodiment.
As shown in Fig. 2, electronic equipment 100 may include processor 110, external memory interface 120, internal storage 121, universal serial bus (universal serial bus, USB) interface 130, charge management module 140, power management mould Block 141, battery 142, antenna 1, antenna 2, mobile communication module 150, wireless communication module 160, audio-frequency module 170, loudspeaker 170A, receiver 170B, microphone 170C, earphone interface 170D, sensor module 180, key 190, motor 191, indicator 192, camera 193, display screen 194 and Subscriber Identity Module (subscriber identification module, SIM) card interface 195 etc..Wherein sensor module 180 may include pressure sensor 180A, gyro sensor 180B, air pressure Sensor 180C, Magnetic Sensor 180D, acceleration transducer 180E, range sensor 180F, close to optical sensor 180G, fingerprint Sensor 180H, temperature sensor 180J, touch sensor 180K, ambient light sensor 180L, bone conduction sensor 180M etc..
It is understood that the structure of signal of the embodiment of the present invention does not constitute the specific restriction to electronic equipment 100.? In other embodiments of the application, electronic equipment 100 may include than illustrating more or fewer components, or the certain portions of combination Part perhaps splits certain components or different component layouts.The component of diagram can be with hardware, software or software and hardware Combination realize.
Processor 110 may include one or more processing units, such as: processor 110 may include application processor (application processor, AP), modem processor, graphics processor (graphics processing Unit, GPU), image-signal processor (image signal processor, ISP), controller, memory, coding and decoding video Device, digital signal processor (digital signal processor, DSP), baseband processor and/or Processing with Neural Network Device (neural-network processing unit, NPU) etc..Wherein, different processing units can be independent device, Also it can integrate in one or more processors.
Wherein, controller can be nerve center and the command centre of electronic equipment 100.Controller can be grasped according to instruction Make code and clock signal, generates operating control signal, the control completing instruction fetch and executing instruction.
Memory can also be set in processor 110, for storing instruction and data.In some embodiments, processor Memory in 110 is cache memory.The memory can save the instruction that processor 110 is just used or is recycled Or data.If processor 110 needs to reuse the instruction or data, can be called directly from the memory.It avoids Repeated access, reduces the waiting time of processor 110, thus improves the efficiency of system.
In some embodiments, processor 110 may include one or more interfaces.Interface may include integrated circuit (inter-integrated circuit, I2C) interface, integrated circuit built-in audio (inter-integrated circuit Sound, I2S) interface, pulse code modulation (pulse code modulation, PCM) interface, universal asynchronous receiving-transmitting transmitter (universal asynchronous receiver/transmitter, UART) interface, mobile industry processor interface (mobile industry processor interface, MIPI), universal input export (general-purpose Input/output, GPIO) interface, Subscriber Identity Module (subscriber identity module, SIM) interface, and/or Universal serial bus (universal serial bus, USB) interface etc..
I2C interface is a kind of bi-directional synchronization universal serial bus, including serial data line (serial data line, SDA) He Yigen serial time clock line (derail clock line, SCL).In some embodiments, processor 110 may include Multiple groups I2C bus.Processor 110 can by different I2C bus interface distinguish coupled with touch sensors 180K, charger, Flash lamp, camera 193 etc..Such as: processor 110 can make processor by I2C interface coupled with touch sensors 180K 110 are communicated with touch sensor 180K by I2C bus interface, realize the touch function of electronic equipment 100.
I2S interface can be used for voice communication.In some embodiments, processor 110 may include multiple groups I2S bus. Processor 110 can be coupled by I2S bus with audio-frequency module 170, be realized logical between processor 110 and audio-frequency module 170 Letter.In some embodiments, audio-frequency module 170 can transmit audio signal to wireless communication module 160 by I2S interface, real The function of now being received calls by bluetooth headset.
Pcm interface can be used for voice communication, by analog signal sampling, quantization and coding.In some embodiments, sound Frequency module 170 can be coupled with wireless communication module 160 by pcm bus interface.In some embodiments, audio-frequency module 170 Audio signal can also be transmitted to wireless communication module 160 by pcm interface, realize the function to receive calls by bluetooth headset Energy.The I2S interface and the pcm interface may be used to voice communication.
UART interface is a kind of Universal Serial Bus, is used for asynchronous communication.The bus can be bidirectional communications bus. The data that it will be transmitted are converted between serial communication and parallel communications.In some embodiments, UART interface usually by with In connection processor 110 and wireless communication module 160.Such as: processor 110 passes through UART interface and wireless communication module 160 In bluetooth module communication, realize Bluetooth function.In some embodiments, audio-frequency module 170 can be by UART interface to nothing Line communication module 160 transmits audio signal, realizes the function that music is played by bluetooth headset.
MIPI interface can be used to connect the peripheral components such as processor 110 and display screen 194, camera 193.MIPI connects Mouth includes camera serial line interface (camera serial interface, CSI), display screen serial line interface (display Serial interface, DSI) etc..In some embodiments, processor 110 and camera 193 are communicated by CSI interface, real The shooting function of existing electronic equipment 100.Processor 110 and display screen 194 realize electronic equipment 100 by DSI interface communication Display function.
GPIO interface can pass through software configuration.GPIO interface can be configured as control signal, may be alternatively configured as counting It is believed that number.In some embodiments, GPIO interface can be used for connecting processor 110 and camera 193, display screen 194, wirelessly Communication module 160, audio-frequency module 170, sensor module 180 etc..GPIO interface can be additionally configured to I2C interface, and I2S connects Mouthful, UART interface, MIPI interface etc..
Usb 1 30 is the interface for meeting USB standard specification, specifically can be Mini USB interface, and Micro USB connects Mouthful, USB Type C interface etc..Usb 1 30 can be used for connecting charger for the charging of electronic equipment 100, can be used for Data are transmitted between electronic equipment 100 and peripheral equipment.It can be used for connection earphone, audio played by earphone.The interface It can be also used for connecting other electronic equipments, such as AR equipment etc..
It is understood that the interface connection relationship of each intermodule of signal of the embodiment of the present invention, only schematically illustrates, The structure qualification to electronic equipment 100 is not constituted.In other embodiments of the application, electronic equipment 100 can also be used The combination of different interface connection type or multiple interfaces connection type in above-described embodiment.
Charge management module 140 is used to receive charging input from charger.Wherein, charger can be wireless charger, It is also possible to wired charger.In the embodiment of some wired chargings, charge management module 140 can pass through usb 1 30 Receive the charging input of wired charger.In the embodiment of some wireless chargings, charge management module 140 can pass through electronics The Wireless charging coil of equipment 100 receives wireless charging input.While charge management module 140 is that battery 142 charges, may be used also To be power electronic equipment by power management module 141.
Power management module 141 is for connecting battery 142, charge management module 140 and processor 110.Power management mould Block 141 receives the input of battery 142 and/or charge management module 140, is processor 110, internal storage 121, external storage Device, display screen 194, the power supply such as camera 193 and wireless communication module 160.Power management module 141 can be also used for monitoring Battery capacity, circulating battery number, the parameters such as cell health state (electric leakage, impedance).In some other embodiment, power supply pipe Reason module 141 also can be set in processor 110.In further embodiments, power management module 141 and Charge Management mould Block 140 also can be set in the same device.
The wireless communication function of electronic equipment 100 can pass through antenna 1, antenna 2, mobile communication module 150, wireless communication Module 160, modem processor and baseband processor etc. are realized.
Antenna 1 and antenna 2 electromagnetic wave signal for transmitting and receiving.Each antenna in electronic equipment 100 can be used for covering Cover single or multiple communication bands.Different antennas can also be multiplexed, to improve the utilization rate of antenna.Such as: it can be by antenna 1 It is multiplexed with the diversity antenna of WLAN.In other embodiments, antenna can be used in combination with tuning switch.
Mobile communication module 150, which can provide, applies wirelessly communicating on electronic equipment 100 including 2G/3G/4G/5G etc. Solution.Mobile communication module 150 may include at least one filter, switch, power amplifier, low-noise amplifier (low noise amplifier, LNA) etc..Mobile communication module 150 can receive electromagnetic wave by antenna 1, and to received electricity Magnetic wave is filtered, and the processing such as amplification is sent to modem processor and is demodulated.Mobile communication module 150 can also be right The modulated modulated signal amplification of demodulation processor, switchs to electromagenetic wave radiation through antenna 1 and goes out.In some embodiments, it moves At least partly functional module of dynamic communication module 150 can be arranged in processor 110.In some embodiments, mobile logical At least partly functional module of letter module 150 can be arranged in the same device at least partly module of processor 110.
Modem processor may include modulator and demodulator.Wherein, modulator is used for low frequency base to be sent Band signal is modulated into high frequency signal.Demodulator is used to received electromagnetic wave signal being demodulated into low frequency baseband signal.Then solution Adjust device that the low frequency baseband signal that demodulation obtains is sent to baseband processor.Low frequency baseband signal is through baseband processor Afterwards, it is delivered to application processor.Application processor is defeated by audio frequency apparatus (being not limited to loudspeaker 170A, receiver 170B etc.) Voice signal out, or image or video are shown by display screen 194.In some embodiments, modem processor can be Independent device.In further embodiments, modem processor can be independently of processor 110, with mobile communication module 150 or other function module be arranged in the same device.
It includes WLAN (wireless that wireless communication module 160, which can be provided and be applied on electronic equipment 100, Local area networks, WLAN) (such as Wireless Fidelity (wireless fidelity, Wi-Fi) network), bluetooth (bluetooth, BT), Global Navigation Satellite System (global navigation satellite system, GNSS), frequency modulation (frequency modulation, FM), the short distance wireless communication technology (near field communication, NFC) are red The solution of the wireless communications such as outer technology (infrared, IR).Wireless communication module 160 can be integrated into few communication One or more devices of processing module.Wireless communication module 160 receives electromagnetic wave via antenna 2, by electromagnetic wave signal frequency modulation And filtering processing, by treated, signal is sent to processor 110.Wireless communication module 160 can also connect from processor 110 Signal to be sent is received, frequency modulation is carried out to it, is amplified, is switched to electromagenetic wave radiation through antenna 2 and go out.
In some embodiments, the antenna 1 of electronic equipment 100 and mobile communication module 150 couple, antenna 2 and channel radio Believe that module 160 couples, allowing electronic equipment 100, technology is communicated with network and other equipment by wireless communication.It is described Wireless communication technique may include global system for mobile communications (global system for mobile communications, GSM), general packet radio service (general packet radio service, GPRS), CDMA access (code Division multiple access, CDMA), wideband code division multiple access (wideband code division multiple Access, WCDMA), time division CDMA (time-division code division multiple access, TD- SCDMA), long term evolution (long term evolution, LTE), BT, GNSS, WLAN, NFC, FM and/or IR technology etc..Institute Stating GNSS may include GPS (global positioning system, GPS), global navigational satellite system It unites (global navigation satellite system, GLONASS), Beidou satellite navigation system (beidou Navigation satellite system, BDS), quasi- zenith satellite system (quasi-zenith satellite System, QZSS) and/or satellite-based augmentation system (satellite based augmentation systems, SBAS).
Electronic equipment 100 realizes display function by GPU, display screen 194 and application processor etc..GPU is at image The microprocessor of reason connects display screen 194 and application processor.GPU is calculated for executing mathematics and geometry, is used for figure wash with watercolours Dye.Processor 110 may include one or more GPU, execute program instructions to generate or change display information.
Display screen 194 is for showing image, video etc..Display screen 194 includes display panel.Display panel can use liquid Crystal display screen (liquid crystal display, LCD), Organic Light Emitting Diode (organic light-emitting Diode, OLED), active matrix organic light-emitting diode or active-matrix organic light emitting diode (active-matrix Organic light emitting diode's, AMOLED), Flexible light-emitting diodes (flex light-emitting Diode, FLED), Miniled, MicroLed, Micro-oLed, light emitting diode with quantum dots (quantum dot light Emitting diodes, QLED) etc..In some embodiments, electronic equipment 100 may include 1 or N number of display screen 194, N For the positive integer greater than 1.
In the embodiment of the present application, display screen 194 can be used for the interface of display terminal.Such as Figure 1A-Fig. 1 C, display screen 194 can With the desktop for display terminal, the desktop of terminal includes multiple application icons.Application icon can be in the difference of display screen 194 Position is shown, that is, constitutes the layout of terminal desktop.
Electronic equipment 100 can be by ISP, camera 193, Video Codec, GPU, display screen 194 and at It manages device etc. and realizes shooting function.
ISP is used to handle the data of the feedback of camera 193.For example, opening shutter when taking pictures, light is passed by camera lens It is delivered on camera photosensitive element, optical signal is converted to electric signal, and camera photosensitive element passes to the electric signal at ISP Reason, is converted into macroscopic image.ISP can also be to the noise of image, brightness, colour of skin progress algorithm optimization.ISP can be with Exposure to photographed scene, the parameter optimizations such as colour temperature.In some embodiments, ISP can be set in camera 193.
Camera 193 is for capturing still image or video.Object generates optical imagery by camera lens and projects photosensitive member Part.Photosensitive element can be charge-coupled device (charge coupled device, CCD) or complementary metal oxide is partly led Body (complementary metal-oxide-semiconductor, CMOS) phototransistor.Photosensitive element turns optical signal It changes electric signal into, electric signal is passed into ISP later and is converted into data image signal.Data image signal is output to DSP by ISP Working process.Data image signal is converted into the RGB of standard, the picture signal of the formats such as YUV by DSP.In some embodiments, Electronic equipment 100 may include 1 or N number of camera 193, and N is the positive integer greater than 1.
Digital signal processor, in addition to can handle data image signal, can also handle it for handling digital signal His digital signal.For example, digital signal processor is used to carry out Fu to frequency point energy when electronic equipment 100 is when frequency point selects In leaf transformation etc..
Video Codec is used for compression of digital video or decompression.Electronic equipment 100 can be supported one or more Video Codec.In this way, electronic equipment 100 can play or record the video of a variety of coded formats, and such as: dynamic image is special Family's group (moving picture experts group, MPEG) 1, MPEG2, mpeg 3, MPEG4 etc..
NPU is neural network (neural-network, NN) computation processor, by using for reference biological neural network structure, Such as transfer mode between human brain neuron is used for reference, it, can also continuous self study to input information fast processing.Pass through NPU The application such as intelligent cognition of electronic equipment 100 may be implemented, such as: image recognition, recognition of face, speech recognition, text understanding Deng.
External memory interface 120 can be used for connecting external memory card, such as Micro SD card, realize that extension electronics is set Standby 100 storage capacity.External memory card is communicated by external memory interface 120 with processor 110, realizes that data store function Energy.Such as by music, the files such as video are stored in external memory card.
Internal storage 121 can be used for storing computer executable program code, and the executable program code includes Instruction.Processor 110 is stored in the instruction of internal storage 121 by operation, thereby executing the various functions of electronic equipment 100 Using and data processing.Internal storage 121 may include storing program area and storage data area.Wherein, storing program area Can storage program area, application program (such as sound-playing function, image player function etc.) needed at least one function etc.. Storage data area can store the data (such as audio data, phone directory etc.) etc. created in 100 use process of electronic equipment.This Outside, internal storage 121 may include high-speed random access memory, can also include nonvolatile memory, for example, at least One disk memory, flush memory device, generic flash memory (universal flash storage, UFS) etc..
Electronic equipment 100 can pass through audio-frequency module 170, loudspeaker 170A, receiver 170B, microphone 170C, earphone Interface 170D and application processor etc. realize audio-frequency function.Such as music, recording etc..
Audio-frequency module 170 is used to for digitized audio message to be converted into analog audio signal output, is also used for analogue audio frequency Input is converted to digital audio and video signals.Audio-frequency module 170 can be also used for audio-frequency signal coding and decoding.In some embodiments In, audio-frequency module 170 can be set in processor 110, or the partial function module of audio-frequency module 170 is set to processor In 110.
Loudspeaker 170A, also referred to as " loudspeaker ", for audio electrical signal to be converted to voice signal.Electronic equipment 100 can be with Music is listened to by loudspeaker 170A, or listens to hand-free call.
Receiver 170B, also referred to as " earpiece ", for audio electrical signal to be converted into voice signal.When electronic equipment 100 connects It answers a call or when voice messaging, it can be by the way that receiver 170B be answered voice close to human ear.
Microphone 170C, also referred to as " microphone ", " microphone ", for voice signal to be converted to electric signal.When making a phone call Or when sending voice messaging, voice signal can be input to microphone by mouth close to microphone 170C sounding by user 170C.At least one microphone 170C can be set in electronic equipment 100.In further embodiments, electronic equipment 100 can be set Two microphone 170C are set, in addition to collected sound signal, can also realize decrease of noise functions.In further embodiments, electronics is set Standby 100 can also be arranged three, four or more microphone 170C, realize that collected sound signal, noise reduction can also identify sound Directional recording function etc. is realized in source.
Earphone interface 170D is for connecting wired earphone.Earphone interface 170D can be usb 1 30, be also possible to Opening mobile electronic device platform (open mobile terminal platform, OMTP) standard interface of 3.5mm, the U.S. Cellular telecommunication industrial association (cellular telecommunications industry association of the USA, CTIA) standard interface.
Pressure signal can be converted into electric signal for experiencing pressure signal by pressure sensor 180A.In some implementations In example, pressure sensor 180A be can be set in display screen 194.There are many type of pressure sensor 180A, such as resistive pressure Sensor, inductance pressure transducer, capacitance pressure transducer, etc..Capacitance pressure transducer, can be including at least two Parallel-plate with conductive material.When effectively acting on pressure sensor 180A, the capacitor between electrode changes.Electronic equipment 100 determine the intensity of pressure according to the variation of capacitor.When there is touch operation to act on display screen 194, electronic equipment 100 is according to pressure Force snesor 180A detects the touch operation intensity.Electronic equipment 100 can also be believed according to the detection of pressure sensor 180A Number calculate touch position.In some embodiments, identical touch location, but the touch behaviour of different touch operation intensity are acted on Make, different operational orders can be corresponded to.Such as: when the touch operation for having touch operation intensity to be less than first pressure threshold value acts on When short message application icon, the instruction for checking short message is executed.When have touch operation intensity be greater than or equal to first pressure threshold When the touch operation of value acts on short message application icon, the instruction of newly-built short message is executed.
Gyro sensor 180B is determined for the athletic posture of electronic equipment 100.It in some embodiments, can be with Determine that electronic equipment 100 surrounds the angular speed of three axis (that is, x, y and z-axis) by gyro sensor 180B.Gyro sensors Device 180B can be used for shooting stabilization.Illustratively, when pressing shutter, gyro sensor 180B detection electronic equipment 100 is trembled Dynamic angle goes out the distance that lens module needs to compensate according to angle calculation, camera lens is allowed to offset electronic equipment by counter motion Stabilization is realized in 100 shake.Gyro sensor 180B can be also used for navigating, somatic sensation television game scene.
Baroceptor 180C is for measuring air pressure.In some embodiments, electronic equipment 100 passes through baroceptor The atmospheric pressure value that 180C is measured calculates height above sea level, auxiliary positioning and navigation.
Magnetic Sensor 180D includes Hall sensor.Electronic equipment 100 can use Magnetic Sensor 180D flip cover skin The folding of set.In some embodiments, when electronic equipment 100 is liding machine, electronic equipment 100 can be according to Magnetic Sensor The folding of 180D flip cover.And then according to the folding condition of the leather sheath detected or the folding condition of flip lid, setting flip lid is certainly The characteristics such as dynamic unlock.
Acceleration transducer 180E can detect the big of (the generally three axis) acceleration in all directions of electronic equipment 100 It is small.It can detect that size and the direction of gravity when electronic equipment 100 is static.It can be also used for identification electronic equipment posture, answer Switch for horizontal/vertical screen, the application such as pedometer.
Range sensor 180F, for measuring distance.Electronic equipment 100 can pass through infrared or laser distance measuring.? In some embodiments, photographed scene, electronic equipment 100 can use range sensor 180F ranging to realize rapid focus.
It may include such as light emitting diode (LED) and photodetector, such as photodiode close to optical sensor 180G. Light emitting diode can be infrared light-emitting diode.Electronic equipment 100 launches outward infrared light by light emitting diode.Electronics is set Standby 100 detect the infrared external reflection light from neighbouring object using photodiode.It, can be true when detecting sufficient reflected light Determining electronic equipment 100 nearby has object.When detecting insufficient reflected light, electronic equipment 100 can determine electronic equipment 100 do not have object nearby.Electronic equipment 100 can use to be pasted close to optical sensor 180G detection user's hand-hold electronic equipments 100 Nearly ear call, so that automatic distinguishing screen achievees the purpose that power saving.It can also be used for leather sheath mode, mouth close to optical sensor 180G Bag mode automatic unlocking and screen locking.
Ambient light sensor 180L is for perceiving environmental light brightness.Electronic equipment 100 can be according to the environment bright of perception Spend 194 brightness of automatic adjusument display screen.Automatic white balance adjustment when ambient light sensor 180L can also be used for taking pictures.Environment light Sensor 180L can also cooperate with close to optical sensor 180G, electronic equipment 100 be detected whether in pocket, with false-touch prevention.
Fingerprint sensor 180H is for acquiring fingerprint.The fingerprint characteristic that electronic equipment 100 can use acquisition realizes fingerprint Unlock accesses application lock, and fingerprint is taken pictures, fingerprint incoming call answering etc..
Temperature sensor 180J is for detecting temperature.In some embodiments, electronic equipment 100 utilizes temperature sensor The temperature of 180J detection, executes Temperature Treatment strategy.For example, when the temperature sensor 180J temperature reported is more than threshold value, electronics Equipment 100 executes the performance for reducing the processor being located near temperature sensor 180J, implements Thermal protection to reduce power consumption.? In other embodiments, when temperature is lower than another threshold value, electronic equipment 100 heats battery 142, leads to electricity to avoid low temperature The abnormal shutdown of sub- equipment 100.In some other embodiment, when temperature is lower than another threshold value, electronic equipment 100 is to battery 142 output voltage executes boosting, to avoid shutting down extremely caused by low temperature.
Touch sensor 180K, also referred to as " touch panel ".Touch sensor 180K can be set in display screen 194, by touching It touches sensor 180K and display screen 194 forms touch screen, also referred to as " touch screen ".Touch sensor 180K acts on it for detecting On or near touch operation.The touch operation that touch sensor can will test passes to application processor, to determine touching Touch event type.Visual output relevant to touch operation can be provided by display screen 194.In further embodiments, it touches Touching sensor 180K also can be set in the surface of electronic equipment 100, different from the location of display screen 194.
The available vibration signal of bone conduction sensor 180M.In some embodiments, bone conduction sensor 180M can be with Obtain the vibration signal of human body part vibration bone block.Bone conduction sensor 180M can also contact human pulse, receive blood pressure and jump Dynamic signal.In some embodiments, bone conduction sensor 180M also can be set in earphone, be combined into bone conduction earphone.Sound Frequency module 170 can parse voice based on the vibration signal for the part vibration bone block that the bone conduction sensor 180M is obtained Signal realizes phonetic function.The blood pressure jitter solution that application processor can be obtained based on the bone conduction sensor 180M Heart rate information is analysed, realizes heart rate detecting function.
Key 190 includes power button, volume key etc..Key 190 can be mechanical key.It is also possible to touch-key. Electronic equipment 100 can receive key-press input, generate key letter related with the user setting of electronic equipment 100 and function control Number input.
Motor 191 can produce vibration prompt.Motor 191 can be used for calling vibration prompt, can be used for touching vibration Dynamic feedback.For example, acting on the touch operation of different application (such as taking pictures, audio broadcasting etc.), different vibrations can be corresponded to Feedback effects.The touch operation of 194 different zones of display screen is acted on, motor 191 can also correspond to different vibrational feedback effects. Different application scenarios (such as: time alarm receives information, alarm clock, game etc.) different vibrational feedback effects can also be corresponded to Fruit.Touch vibrational feedback effect can also be supported customized.
Indicator 192 can be indicator light, can serve to indicate that charged state, electric quantity change can be used for instruction and disappear Breath, missed call, notice etc..
SIM card interface 195 is for connecting SIM card.SIM card can be by being inserted into SIM card interface 195, or from SIM card interface 195 extract, and realization is contacting and separating with electronic equipment 100.Electronic equipment 100 can support 1 or N number of SIM card interface, N For the positive integer greater than 1.SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card etc..The same SIM Card interface 195 can be inserted into multiple cards simultaneously.The type of multiple cards may be the same or different.SIM card interface 195 Different types of SIM card can also be compatible with.SIM card interface 195 can also be with compatible external storage card.Electronic equipment 100 passes through SIM Card and network interaction realize the functions such as call and data communication.In some embodiments, electronic equipment 100 uses eSIM, That is: embedded SIM card.ESIM card can cannot separate in electronic equipment 100 with electronic equipment 100.
The software systems of electronic equipment 100 can use layer architecture, event-driven framework, micronucleus framework, micro services frame Structure or cloud framework.The embodiment of the present application by taking the android system of layer architecture as an example, exemplary illustration electronic equipment 100 it is soft Part structure.
Fig. 3 is the software architecture diagram of the electronic equipment 100 of the embodiment of the present invention.
Software is divided into several layers by layer architecture, and each layer has clearly role and the division of labor.Pass through between layers Software interface communication.In some embodiments, android system is divided into four layers, from top to bottom respectively application layer, answered With process block rack-layer, (Android runtime) and system library and inner nuclear layer when Android is run.
Application layer may include a series of application packages.
As shown in figure 3, application package may include camera, and picture library, calendar, phone, map, navigation, WLAN, bluetooth, Music, video, the application programs such as short message.
Illustratively, application package may include the corresponding application program of application icon in Figure 1A.For example, mail, Setting, application market, photo, wechat, camera are read, sport health, Huawei store, video, speaker, music etc..
Application framework layer provides Application Programming Interface (application for the application program of application layer Programming interface, API) and programming framework.Application framework layer includes some functions predetermined.
As shown in figure 3, application framework layer may include window manager, Content Provider, view system, phone pipe Manage device, resource manager, notification manager etc..
Window manager is for managing window writing routine.The available display screen size of window manager, judges whether there is shape State column, lock-screen, screen printing etc..
Content Provider is used to store and obtains data, and accesses these data by application program.The data It may include video, image, audio, the phone dialed and answered, browsing history and bookmark, telephone directory etc..
View system includes visible controls, such as the control of display text, shows the control etc. of picture.View system is available In building application program.What display interface can be made of one or more views.E.g., including the display of short massage notice icon Interface may include the view for showing text and the view for showing picture.
In the embodiment of the present application, the data file for describing interface layout be can store in the database.View system is in structure When building interface (for example, including the desktop of application icon), the data file of storage, and root can be obtained by Content Provider According to the data file display interface of acquisition.It in some embodiments, can also be to being stored in Content Provider when constructing interface Data file modify.
Telephone supervisor is for providing the communication function of electronic equipment 100.Such as talking state management (including connect, It hangs up).
Resource manager provides various resources, such as localized strings for application program, icon, picture, topology file, Video file etc..
Notification manager allows application program to show notification information in status bar, can be used for conveying and informs type Message, can be to disappear, without user's interaction automatically after short stay.For example notification manager be used to inform that downloading is completed, and disappear Breath prompting etc..Notification manager, which can also be, appears in the logical of system head status bar with chart or scroll bar textual form Know, for example, running background application program notice, can also be occur notice on the screen in the form of dialog box.Such as Text information is prompted in status bar, issues prompt tone, vibration of electronic equipment, indicator light flashing etc..
Android Runtime includes core library and virtual machine.Android Runtime be responsible for Android system scheduling and Management.
Core library includes two parts: a part is the power function that java language needs to call, and another part is Android Core library.
Application layer and application framework layer operate in virtual machine.Virtual machine is by application layer and application program It is binary file that the java file of ccf layer, which executes,.Virtual machine is used to execute the management of Object Life Cycle, stack management, line Thread management, safety and the functions such as abnormal management and garbage reclamation.
System library may include multiple functional modules.Such as: surface manager (surface manager), media library (Media Libraries), three-dimensional graph process library (such as: OpenGL ES), 2D graphics engine (such as: SGL) etc..
Surface manager provides 2D and 3D figure layer for being managed to display subsystem for multiple application programs Fusion.
Media library supports a variety of common audios, video format playback and recording and static image file etc..Media library It can support a variety of audio/video coding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG etc..
Three-dimensional graph process library is for realizing 3-D graphic drawing, image rendering, synthesis and figure layer process etc..
2D graphics engine is the drawing engine that 2D draws.
Inner nuclear layer is the layer between hardware and software.Inner nuclear layer includes at least display driving, webcam driver, and audio is driven It is dynamic, sensor driving.
The embodiment of the present application provides a kind of quick interface arrangement method, can be applied to electronic equipment 100 in Fig. 2.The application is real Example is applied to be illustrated so that electronic equipment 100 is terminal as an example.As shown in figure 4, this method may include:
S101, terminal show the first interface.First interface includes the first display object and the second display object;Wherein, One display object is located at the first position at the first interface, and the second display object is located at the second position at the first interface.
By taking the desktop of terminal is in the first interface as an example.
The layout of the display object of terminal desktop needs to meet the grid specification that setting option " desktop layouts " defines.Display pair The layout of elephant, i.e., each display object is in the position that desktop occupies.For example, the grid specification that " desktop layouts " define is " 5x6 ", Then the every page of desktop have 5x6 position for arrange display object, wherein every a line has 5 positions, each to show 6 Position.One display object can occupy one or more positions.Illustratively, such as Fig. 5 A, the display area of desktop is divided For 5x6 sub-regions (position).One application icon occupies a position.As the display area of Fig. 5 B, desktop are divided into 5x6 Sub-regions (position).Application icon " mail " occupies first and second position of the first row;Application icon " setting " Occupy the first row third and the 4th position;Remaining each application icon occupies a position.
It should be noted that unless specifically stated otherwise, the display area of desktop described in the embodiment of the present application does not include end panel Region dock (dockbar) on curtain.Illustratively, the position of dock is as shown in Figure 5A.
In general, terminal desktop default is laid out according to compact arrangement mode.As fig. 5 a and fig. 5b, each is applied There is no the positions not occupied by any application icon between icon.It should be noted that in the embodiment of the present application, with from a left side to Right, Row Column mode arranges for display object;For example, in Fig. 5 A and Fig. 5 B, after the position of lastrow is all occupied, open Begin to arrange display object from left to right in next line position.In practical application, display object can also be arranged otherwise; For example, from top to bottom, the mode of Column Row arrange display object;Illustratively, such as Fig. 5 C, the position of previous column is all occupied Afterwards, start to arrange display object from top to bottom in next column position.This embodiment of the present application is not limited thereto.
User can match the layout of terminal desktop under conditions of the grid specification that satisfaction " desktop layouts " define It sets.For example, user can be by dragging application icon come the position of mobile application icon.Illustratively, such as Fig. 6 A, user's dragging Application icon " music ", is dragged to the 6th tertial position of row for " music ";User drags application icon " speaker ", by " sound Case " is dragged to the position of the 6th row first row.In this way, after to multiple application icon shift positions, by the configuration of user, eventually The layout of end desktop becomes form shown in (c) of Fig. 6 A.In (c) of Fig. 6 A, there is 1 empty position between " mail " and " setting ", There are 4 empty positions between " camera " and " reading ";These empty positions are since the position of user's mobile application icon generates.Again For example, user can change the layout of desktop by deleting application icon.Illustratively, such as Fig. 6 B, user is by application icon " stock " is dragged to recycle bin, and application icon " stock " is deleted from desktop;Application icon " stock " is in the position that desktop occupies Become empty position.The position change of application icon " stock ", so that the layout of desktop is changed.
User configures the layout of terminal desktop under conditions of the grid specification that satisfaction " desktop layouts " defines Afterwards, which is non-compact arrangement, different from the arrangement mode of terminal default.Non- compact arrangement is shown between object There may be empty positions, for example, there are empty positions between first position and the second position.
It should be noted that the dotted line frame in the embodiment of the present application attached drawing, is for each display pair of clearer explanation As the position of occupancy.Dotted line frame is not shown on the table.
Terminal can record the position of each display object in the database.For example, can store data text in database Part records the data information of terminal operating in data file.Including the topology file of desktop, table is recorded in the topology file The layout information of the display object in face.Layout information may include the setting information of setting option " desktop layouts ", show object Information (for example, title, the position starting point of occupancy, position number of occupancy) etc..Illustratively, desktop layouts file is entitled Launcher.db, in the storage location of database are as follows: data/user_de/0/com.huawei.android.launcher/ databases/launcher.db。
For example, desktop layouts file includes subfile shown in table 1 when terminal shows interface shown in Figure 1A ((c) of Fig. 6 A). It illustratively, include subfile favontes5x6 in desktop layouts file launcher.db;Net is had recorded in favontes5x6 When lattice specification is 5x6, desktop shows the location information of object.
Wherein, title is the title for showing object.Container indicates Container Type;For example, -100 indicate display pair As showing on the table.Screen indicates that display object is shown in which page of desktop;For example, 0 indicates display object in desktop Page 0 display, that is, be shown in main desktop.CellX indicates which display object (is shown in the abscissa of desktop one page Column) starting point;For example, " mail " corresponding cellX is 0, indicate that the position starting point of application icon " mail " is the 1st column;" setting " Corresponding cellX is 2, indicates that the position starting point of application icon " setting " is the 3rd column.CellY indicates the ordinate of display object (which row be shown in) starting point;For example, " mail " corresponding cellY is 0, indicate that the position starting point of application icon " mail " is 1st row;" wechat " corresponding cellY is 1, indicates that the position starting point of application icon " wechat " is the 2nd row.SpanX indicates display The position number that object laterally occupies;For example, the corresponding spanX of application icon " mail " is 1, indicate that application icon " mail " is horizontal To 1 position of occupancy.SpanY indicates the position number that display object longitudinally occupies;For example, application icon " mail " is corresponding SpanY is 1, indicates that application icon " mail " longitudinally occupies 1 position.
Table 1
title container screen cellX cellY spanX spanY
Mail -100 0 0 0 1 1
Setting -100 0 2 0 1 1
Application market -100 0 3 0 1 1
Photo -100 0 4 0 1 1
Wechat -100 0 0 1 1 1
Camera -100 0 1 1 1 1
It reads -100 0 1 2 1 1
Sport health -100 0 3 2 1 1
Huawei store -100 0 3 3 1 1
Video -100 0 1 4 1 1
Speaker -100 0 0 5 1 1
Music -100 0 2 5 1 1
S102, the first operation in response to user, terminal show the set interface of the first setting option, the of the set interface One option is selected.
Terminal supports user to modify the option of setting option.For example, the first setting option " desktop layouts " includes multiple Option, respectively " 5x6 ", " 4x6 " and " 5x5 ".User can the first setting option set interface to first setting option Option is modified.
For example, terminal receives the first operation of user under conditions of terminal shows desktop shown in Figure 1A.Illustratively, User can click " setting " of desktop;The operation of " setting " is clicked in response to user, terminal shows the setting in (a) of Fig. 7 Interface.Set interface may include " offline mode " option, " WLAN " option, " bluetooth " option, " mobile network " option and " table Face setting " option 701 etc..Wherein, " offline mode " option, " WLAN " option, " bluetooth " option and " mobile network " option Concrete function can be with reference to the specific descriptions in routine techniques, and it will not go into details here for the embodiment of the present application.Terminal can receive use Clicking operation (such as single-click operation) of the family to " desktop setting " option 701.In response to user to the point of " desktop setting " option 701 Operation is hit, terminal can show desktop set interface 702 ((b) of Fig. 7).The desktop set interface 702 may include " tabletop clothes Office " option 703, " locking layout " option, " automatic aligning " option, " intelligent assistant " option.Wherein, " locking layout " option, The concrete function of " automatic aligning " option and " intelligent assistant " option can be with reference to the specific descriptions in routine techniques, and the application is real Applying example, it will not go into details here.Terminal can receive user to the clicking operation (such as single-click operation) of " desktop layouts " option 703.It rings Should be in user to the clicking operation of " desktop layouts " option 703, terminal can show desktop layouts sub-interface 704.Desktop layouts Sub-interface 704 may include " 4x6 " option, " 5x5 " option, " 5x6 " option.Such as (c) of Fig. 7, option " 5x6 " is selected.
S103, terminal receive user in set interface to the selection operation of the second option.
User can modify to the option of the first setting option, and user can be by " 4x6 " option, " 5x5 " option Or the clicking operation of " 5x6 " option, select the grid specification of desktop layouts.For example, user is by the option of the first setting option by One option is revised as the second option.The option of " desktop layouts " is revised as " 4x6 " by " 5x6 ".Illustratively, user is in desktop It is laid out sub-interface 704 and clicks " 4x6 " option.Terminal receive user in set interface to the selection operation of the second option, it is exemplary , terminal receives user in desktop layouts sub-interface 704 to the clicking operation of " 4x6 " option, show interface shown in (d) of Fig. 7, The option of " desktop layouts " option 703 of terminal is updated to 4x6.
S104, in response to user to the selection operation of the second option, terminal shows the first interface;Wherein, the first display pair As being located at first position, the second display object is located at the third place at the first interface;It is not deposited between first position and the third place In empty position.
Terminal receives user to the selection operation of the second option, and later, user can exit first by the second operation and set Set the set interface of item.For example, the second operation can be the operation that user clicks the exit button of set interface;For example, second Operation can be the operation that user presses " Home " key;For example, the second operation can also be the predefined hand for exiting set interface Gesture etc..The embodiment of the present application is to this without limiting.
Terminal receives the second operation of user, in response to the second operation of user, exits set interface, shows the first boundary The layout in face, first interface changes.The layout of the display object at the first interface meets the regulation of the second option.Second option with The grid specification of first option definition is different, and the display object at the first interface needs to arrange according to the grid specification of the second option definition It arranges, shows that the position of object changes in first interface.In one implementation, multiple display objects in the first interface The sequencing of arrangement is constant;Multiple display objects become compact arrangement.For example, the first display object is located at first position, the Two display objects are located at the third place at the first interface, and empty position is not present between first position and the third place.
For example, the option of " desktop layouts " is revised as " 4x6 " by " 5x6 ", the grid specification that " desktop layouts " define is " 4x6 ", then the every page of desktop have 4x6 position for arrange show object, every a line includes 4 positions, and each column wrap Include 6 positions.One display object can occupy one or more positions.Illustratively, such as Fig. 8 A, the display area quilt of desktop It is divided into 4x6 sub-regions (position).
Illustratively, it is revised as " 4x6 " in response to the option of " desktop layouts " by " 5x6 ", terminal is shown as shown in Figure 1B Desktop.Figure 1B and Figure 1A includes identical 12 application icons, and 12 application icon desktop shown in Figure 1B arrangements Sequencing, it is identical as the sequencing that it is arranged in desktop shown in figure 1A;The display object of desktop shown in Figure 1B is Compact arrangement, the display object of desktop shown in figure 1A is non-compact arrangement.
In one implementation, terminal detects that the option of " desktop layouts " changes, then obtains in database and deposit The desktop layouts file of storage.Desktop layouts file may include corresponding first subfile of the first option and/or the second option pair The second subfile answered.Illustratively, terminal determines that " desktop layouts " current option is " 4x6 ";And determine " tabletop clothes A upper option for office " is " 5x6 ".Terminal obtains the subfile favontes5x6 in launcher.db file, according to subfile Favontes5x6 determines the sequencing of the display object that desktop includes and multiple display object arrangements.Further, such as Fruit determines that there is no corresponding subfile favontes4x6 in launcher.db file, then raw in launcher.db file At subfile favontes4x6;The sequencing of display object and multiple display object arrangements that desktop according to acquisition includes, And the rule of option " 4x6 " determines the position of multiple display objects in the way of compact arrangement, and subfile is written favontes4x6.If it is determined that there are subfile favontes4x6 in launcher.db file, in one implementation, The sequencing and option " 4x6 " of the display object and multiple display object arrangements that can include according to the desktop of acquisition Rule redefines the position of multiple display objects in the way of compact arrangement, and updates subfile favontes4x6;? In another implementation, the layout of display object can be determined according to the subfile favontes4x6 of storage.
Illustratively, terminal determines that there is no subfile favontes4x6 in launcher.db file, then generate Ziwen Part favontes4x6.
In one example, favontes5x6 specifying information is as shown in table 1.Terminal is according to table 1, according to display object in table The position in face successively obtains the title of display object from left to right, the mode of Row Column;And according to the display object of acquisition Sequencing successively determined in grid by from left to right, in the way of Row Column and the arrangement mode of compact arrangement Specification is the position of each display object under conditions of " 4x6 ".
Illustratively, from small to large according to cellY value in table 1, when cellY value is identical, cellX value from small to large suitable Sequence determines the sequencing of application icon.CellY be 0 (the first row) application icon, according to cellX value from small to large, according to Secondary is " mail ", " setting ", " application market ", " photo ";CellY is the application icon of 1 (the second row), according to the value of cellX From small to large, it is followed successively by " wechat ", " camera ";CellY be 2 (the third lines) application icon, according to cellX value from it is small to Greatly, it is followed successively by " reading ", " sport health ";CellY is that the application icon of 3 (fourth lines) is " Huawei store ";CellY is 4 (the The five-element) application icon be " video ";CellY be 5 (the 6th rows) application icon, according to cellX value from small to large, successively For " speaker ", " music ".
According to the sequencing of the application icon of acquisition, by from left to right, in the way of Row Column and compact arrangement Arrangement mode, determine that subfile favontes4x6 is as shown in table 2.Wherein, determine that each application icon laterally accounts for according to table 1 Position number, and the position number longitudinally occupied, are 1.
Table 2
title container screen cellX cellY spanX spanY
Mail -100 0 0 0 1 1
Setting -100 0 1 0 1 1
Application market -100 0 2 0 1 1
Photo -100 0 3 0 1 1
Wechat -100 0 0 1 1 1
Camera -100 0 1 1 1 1
It reads -100 0 2 1 1 1
Sport health -100 0 3 1 1 1
Huawei store -100 0 0 2 1 1
Video -100 0 1 2 1 1
Speaker -100 0 2 2 1 1
Music -100 0 3 2 1 1
Grid specification is " 4x6 ", then has 4x6 position for arranging application icon in the every page of terminal desktop, each Row at most 4 application icons of display, each column at most 6 application icons of display.By from left to right, in the way of Row Column, And the arrangement mode of compact arrangement, determine that desktop the first row is shown application icon " mail " respectively from left to right, " setting ", " application market ", " photo ";Second row shows application icon " wechat " that " camera ", " reading ", " movement is strong respectively from left to right Health ";The third line shows application icon " Huawei store ", " video ", " speaker ", " music " respectively from left to right.Illustratively, eventually End shows desktop as shown in Figure 1B.Each application icon is as shown in Figure 8 B in the position that desktop occupies.
It should be noted that terminal can first generate (or update) data file, then show desktop;Or first show table Face, regeneration (or update) data file;Or (or update) data file is generated simultaneously, and show desktop;Or according to life At the data file of (or update), determine that desktop shows content;Or show that content generates (or update) data text according to desktop Part;This embodiment of the present application is not limited thereto.
S105, terminal receive user in set interface to the selection operation of the first option.
User can the option to the first setting option repeatedly modified.For example, user by the option of the first setting option by After first option is revised as the second option, and the option of the first setting option is reverted into the first option.Terminal is in response to user's First operation, shows the set interface of the first setting option;User selects the first option in the set interface.
Illustratively, after the option of " desktop layouts " is revised as " 4x6 " by " 5x6 " by user, and desktop shown in Fig. 7 is set It sets interface and the option of " desktop layouts " is revised as " 5x6 ".For example, user is modified the option of the first setting option by the first option After the second option, and the option of the first setting option is revised as third option, and the option of the first setting option is reverted to One option.Illustratively, after the option of " desktop layouts " is revised as " 4x6 " by " 5x6 " by user, and desktop shown in Fig. 7 is set It sets interface and the option of " desktop layouts " is revised as " 5x5 ", then desktop set interface shown in Fig. 7 is by the choosing of " desktop layouts " Item is revised as " 5x6 ".
Terminal receives user in set interface to the selection operation of the first option.
In some embodiments, after the option of the first setting option is revised as other options by the first option by user, not into Operation of the row in addition to the first setting option is set, and the option of the first setting option is reverted into the first option.In some embodiments In, after the option of the first setting option is revised as other options by the first option by user, and during reverting to the first option, The operation in addition to the first setting option is set is carried out.
Wherein, in the embodiment of the present application, to the operation that the first setting option is configured, and with the first setting option of setting Associated operation is operated, the operation of the first setting option of setting is belonged to.For example, user repairs the option of the first setting option After changing, set interface is exited, display interface is returned, checks the operation of display effect, belongs to the operation of the first setting option of setting.With The unrelated operation of first setting option is set, the operation in addition to the first setting option is set is belonged to.For example, the second setting of setting The operation of item;Click the operation of one application of operation;Belong to the operation in addition to the first setting option is set.
In one example, the option of " desktop layouts " is revised as " 4x6 " by " 5x6 " in desktop set interface by user, so Backed off after random set interface returns to display interface.User can check the display effect of display interface, for example, user can also lead to It crosses and horizontally slips to switch each page of desktop, check the effect that each page is shown.Then, user reenters desktop set interface, The option of " desktop layouts " is revised as " 5x6 ".
User exits set interface, returns to display interface, and horizontally slip to switch the operation of each page of desktop, be and set The associated operation of option for setting " desktop layouts ", belongs to the operation of setting " desktop layouts ".
In another example, the option of " desktop layouts " is revised as " 4x6 " by " 5x6 " in desktop set interface by user, It is then log out set interface, returns to display interface.User clicks application icon " photo " in desktop, checks photo.Later, user Desktop set interface is reentered, the option of " desktop layouts " is revised as " 5x6 ".
User exits set interface, returns to display interface, is operation associated with the option of setting " desktop layouts ", belongs to In the operation of setting " desktop layouts ".User clicks application icon " photo " in desktop, checks photo, is not and setting " desktop The associated operation of option of layout ", belongs to the operation in addition to " desktop layouts " are arranged.
In one implementation, terminal detects user to the selection operation of the first option;Then execute S106.
In another implementation, after terminal detects user to the selection operation of the first option, the first setting is determined During the option of item reverts to the first option by the first option, whether user has carried out the behaviour in addition to the first setting option is arranged Make.If it is determined that user does not carry out the operation in addition to the first setting option is arranged, then S106 is executed.If it is determined that user carries out Operation in addition to the first setting option is arranged, then execute S107.
S106, in response to user to the selection operation of the first option, terminal shows the first interface;Wherein, the first display pair As being located at first position, the second display object is located at the second position.
In some embodiments, terminal detects user to the selection operation of the first option;Then in response to user to first The selection operation of option shows the first interface.At first interface, the layout that object is shown in the layout and S101 of object is shown It is identical.First display object is located at first position, and the second display object is located at the second position.
Illustratively, it after terminal detects that the option of " desktop layouts " is revised as " 4x6 " by " 5x6 ", and reverts to " 5x6 " is reverted to " 5x6 " in response to the option of " desktop layouts ", and terminal shows desktop shown in figure 1A.Desktop shown in figure 1A Display object be non-compact arrangement.
In one implementation, terminal detects that the option of " desktop layouts " changes, then obtains in database and deposit The desktop layouts file of storage.For example, terminal determines that the option of " desktop layouts " reverts to " 5x6 ", then file in database is obtained The subfile favontes5x6 of launcher.db is determined aobvious under conditions of grid specification is " 5x6 " according to favontes5x6 Show the layout of object.Illustratively, favontes5x6 is as shown in table 1, and terminal is corresponding to show desktop shown in figure 1A.
In some embodiments, terminal detects that the option of the first setting option reverts to the first option by the first option;Really During the option of fixed first setting option reverts to the first option by the first option, whether user has been carried out except the first setting of setting Operation except.If it is determined that user does not carry out the operation in addition to the first setting option is arranged, then in response to the first of terminal The option of setting option reverts to the first option, shows the first interface.At first interface, shows in the layout and S101 of object and show Show that the layout of object is identical.
Illustratively, it after terminal detects that the option of " desktop layouts " is revised as " 4x6 " by " 5x6 ", and reverts to " 5x6 ", and determine that in this process, user does not carry out the operation in addition to the option of setting " desktop layouts ";In response to " table The option of face layout " reverts to " 5x6 ", and terminal shows desktop shown in figure 1A.The display object right and wrong of desktop shown in figure 1A Compact arrangement.
In one implementation, terminal detects that the option of " desktop layouts " changes, then obtains in database and deposit The desktop layouts file of storage.For example, terminal determines that the option of " desktop layouts " reverts to " 5x6 ", then file in database is obtained The subfile favontes5x6 of launcher.db;And it determines and " 5x6 " process is reverted to by " 5x6 " in the option of " desktop layouts " In, user does not carry out the operation in addition to the option of setting " desktop layouts ", then determines according to favontes5x6 and advise in grid Lattice are to show the layout of object under conditions of " 5x6 ".Illustratively, favontes5x6 is as shown in table 1, the corresponding display figure of terminal Desktop shown in 1A.
S107, in response to user to the selection operation of the first option, terminal shows the first interface;At first interface, Empty position is not present between the position that the position and the second display object that one display object occupies occupy.
The layout of the display object at first interface is different from the display layout of object at the first interface in S101, with S104 In the first interface display object layout it is also different.
In some embodiments, terminal detects that the option of the first setting option reverts to the first option by the first option;Really During the option of fixed first setting option reverts to the first option by the first option, whether user has been carried out except the first setting of setting Operation except.If it is determined that user has carried out the operation in addition to the first setting option is arranged, then in response to user to first The selection operation of option, terminal show the first interface;At first interface, shows and show object in the layout and S101 of object Layout is different, also different from the layout for showing object in S104.
The option of first setting option is the first option, and the display object at the first interface needs the net according to the first option definition The arrangement of lattice specification.In one implementation, multiple display objects are constant in the sequencing of the first interface arrangement;Multiple displays Object compact arrangement.
For example, the option of " desktop layouts " is revised as " 4x6 " by " 5x6 " in desktop set interface by user, it is then log out Set interface returns to display interface.User clicks application icon " photo " in desktop, checks photo.Later, user reenters The option of " desktop layouts " is revised as " 5x6 " by desktop set interface.
Illustratively, terminal detects that the option of " desktop layouts " is reverted to " 5x6 " by " 5x6 ", and determines in " desktop During layout " reverts to " 5x6 " by " 5x6 ", user has carried out the operation in addition to the option of setting " desktop layouts ".Response It is reverted to " 5x6 " in the option of " desktop layouts ", terminal shows desktop shown in Fig. 1 C.Fig. 1 C and Figure 1A includes identical 12 Application icon, and the sequencing of 12 application icon desktops shown in Fig. 1 C arrangement, with it in desktop shown in figure 1A The sequencing of arrangement is identical;The display object of desktop shown in Fig. 1 C is compact arrangement, the display of desktop shown in figure 1A Object is non-compact arrangement.
In one implementation, terminal detects that the option of " desktop layouts " changes, then obtains in database and deposit The desktop layouts file of storage.For example, terminal determines that the option of " desktop layouts " reverts to " 5x6 ", then file in database is obtained The subfile favontes5x6 of launcher.db;And it determines during " desktop layouts " revert to " 5x6 " by " 5x6 ", User has carried out the operation in addition to the option of setting " desktop layouts ", then terminal determines that desktop includes according to launcher.db Display object and it is multiple display object arrangement sequencing;In the way of compact arrangement, multiple displays are redefined The position of object, and update subfile favontes5x6.
In one example, terminal can determine the display pair that desktop includes according to the subfile favontes5x6 of storage As and it is multiple display object arrange sequencing.In another example, terminal determines that a upper option of " desktop layouts " is " 4x6 " then obtains the subfile favontes4x6 of storage, according to subfile favontes4x6, determines the display that desktop includes Object and the sequencing of multiple display object arrangements.
Illustratively, the subfile favontes5x6 specifying information of storage is as shown in table 1.Terminal is according to table 1, according to aobvious Show that object in the position of desktop, from left to right, the mode of Row Column, successively obtains the title of display object;And according to acquisition Display object sequencing, by from left to right, in the way of Row Column and the arrangement mode of compact arrangement, successively It determines under conditions of grid specification is " 5x6 ", the position of each display object.
For example, from small to large according to cellY value in table 1, when cellY value is identical, the sequence of cellX value from small to large, really Determine the sequencing of application icon.CellY be 0 (the first row) application icon, according to cellX value from small to large, be followed successively by " mail ", " setting ", " application market ", " photo ";CellY is the application icon of 1 (the second row), according to the value of cellX from small To big, it is followed successively by " wechat ", " camera ";CellY be 2 (the third lines) application icon, according to cellX value from small to large, according to Secondary is " reading ", " sport health ";CellY is that the application icon of 3 (fourth lines) is " Huawei store ";CellY is 4 (fifth line) Application icon be " video ";CellY be 5 (the 6th rows) application icon, according to cellX value from small to large, be followed successively by " sound Case ", " music ".
According to the sequencing of the application icon of acquisition, by from left to right, in the way of Row Column and compact arrangement Arrangement mode, determine subfile favontes5x6 update after as shown in table 3.Wherein, each application icon is determined according to table 1 The position number laterally occupied, and the position number longitudinally occupied, are 1.
Table 3
title container screen cellX cellY spanX spanY
Mail -100 0 0 0 1 1
Setting -100 0 1 0 1 1
Application market -100 0 2 0 1 1
Photo -100 0 3 0 1 1
Wechat -100 0 4 0 1 1
Camera -100 0 0 1 1 1
It reads -100 0 1 1 1 1
Sport health -100 0 2 1 1 1
Huawei store -100 0 3 1 1 1
Video -100 0 4 1 1 1
Speaker -100 0 0 2 1 1
Music -100 0 1 2 1 1
Grid specification is " 5x6 ", then has 5x6 position for arranging application icon in the every page of terminal desktop, each Row at most 5 application icons of display, each column at most 6 application icons of display.By from left to right, in the way of Row Column, And the arrangement mode of compact arrangement, determine that desktop the first row is shown application icon " mail " respectively from left to right, " setting ", " application market ", " photo ", " wechat ";Second row shows application icon " camera " that " reading ", " movement is strong respectively from left to right Health ", " Huawei store ", " video ";The third line shows application icon " speaker ", " music " respectively from left to right.Illustratively, eventually End shows desktop as shown in Figure 1 C.Each application icon is as shown in Figure 8 C in the position that desktop occupies.
Quick interface arrangement method provided by the embodiments of the present application, when the option of the first setting option is the first option, Yong Hugen Desktop layouts are configured according to its use habit.Later, user modifies to the option of the first setting option, and final extensive It is again the first option.In quick interface arrangement method provided by the embodiments of the present application, terminal determines the option of the first setting option by One option reverts to the first option, then configuration of the user to desktop when can be retained in the first option, restores user and is matched The desktop set, it then follows the use habit of user.
In the above-described embodiments, it is illustrated so that the display object of desktop is application icon as an example.When display object is When file or plug-in unit (widget) including one or more application icon;In one implementation, a file or One plug-in unit can be used as an application icon processing;In another implementation, a file can be used as one and answer It is handled with icon, plug-in unit is handled by the way of being different from application icon;For example, plug-in unit occupies the fixation position of desktop, when When the option of " desktop layouts " changes, plug-in unit is constant in the position that desktop occupies.
Illustratively, when the option of " desktop layouts " is the first option, the first interface is as shown in Figure 9 A.Fig. 9 A is corresponding The option of " desktop layouts " is " 5x6 ", and the every page of desktop includes 5x6 position.Wherein, plug-in unit includes the weather in Shenyang and works as The weather and current time of preceding time and located sites Haidian District;Plug-in unit as a whole, occupies the of desktop position A line.The second row to the 6th row of application icon occupancy desktop position.Application icon is non-compact arrangement.
The corresponding subfile favontes5x6 of Fig. 9 A includes content as shown in table 4.
Table 4
title container screen cellX cellY spanX spanY itemType
Mail -100 0 0 1 1 1 0
Setting -100 0 2 1 1 1 0
Application market -100 0 3 1 1 1 0
Photo -100 0 4 1 1 1 0
Wechat -100 0 0 2 1 1 0
Camera -100 0 1 2 1 1 0
It reads -100 0 1 3 1 1 0
Sport health -100 0 3 3 1 1 0
Huawei store -100 0 2 4 1 1 0
Video -100 0 4 4 1 1 0
Speaker -100 0 0 5 1 1 0
Music -100 0 2 5 1 1 0
-100 0 0 0 5 1 4
Wherein, itemType indicates the type of display object, for example, itemType is 0, indicates that display object is application drawing Mark;ItemType is 4, indicates that display object is plug-in unit.Plug-in unit is the first row first row in the initial position of desktop, is laterally occupied 5 positions, it is longitudinal to occupy 1 position, occupy the first row.
The option of " desktop layouts " is revised as the second option in set interface by user.
Terminal detects that user shows the selection operation of the second option in response to user to the selection operation of the second option Show the first interface.Illustratively, the first interface is as shown in Figure 9 B.The option of Fig. 9 B corresponding " desktop layouts " is " 4x6 ", desktop Every page include 4x6 position.Plug-in unit does not change in the position that desktop occupies, i.e., plug-in unit as a whole, occupies table The first row of face position.Application icon can occupy the second row to the 6th row of desktop position.Terminal is according to above-described embodiment institute Method is stated, the position of each application icon is determined in the way of compact arrangement according to the sequencing that application icon arranges.
The corresponding subfile favontes4x6 of Fig. 9 B includes content as shown in table 5.
Table 5
title container screen cellX cellY spanX spanY itemType
Mail -100 0 0 1 1 1 0
Setting -100 0 1 1 1 1 0
Application market -100 0 2 1 1 1 0
Photo -100 0 3 1 1 1 0
Wechat -100 0 0 2 1 1 0
Camera -100 0 1 2 1 1 0
It reads -100 0 2 2 1 1 0
Sport health -100 0 3 2 1 1 0
Huawei store -100 0 0 3 1 1 0
Video -100 0 1 3 1 1 0
Speaker -100 0 2 3 1 1 0
Music -100 0 3 3 1 1 0
-100 0 0 0 4 1 4
Wherein, plug-in unit is the first row first row in the initial position of desktop, laterally occupies 4 positions, longitudinal to occupy 1 position It sets, occupies the first row of desktop position.Application icon occupies the second row of desktop position to fourth line.
The option of " desktop layouts " is revised as the first option in set interface by user.
Terminal detects that user shows the selection operation of the first option in response to user to the selection operation of the first option Show the first interface.
In some embodiments, the first interface is as shown in Figure 9 A.
In some embodiments, for example, terminal detect user by the option of " desktop layouts " be revised as the first option it Before, other setting options are had modified, the first interface is as shown in Figure 9 C.The option of Fig. 9 C corresponding " desktop layouts " is " 5x6 ", desktop Every page include 5x6 position.Plug-in unit as a whole, occupies the first row of desktop position.Application icon can account for With the second row to the 6th row of desktop position.Terminal is according to above-described embodiment the method, according to the successive of application icon arrangement Sequentially, in the way of compact arrangement, the position of each application icon is determined.
The corresponding subfile favontes5x6 of Fig. 9 C includes content as shown in table 6.Wherein, start bit of the plug-in unit in desktop It is set to the first row first row, laterally occupies 5 positions, it is longitudinal to occupy 1 position, occupy the first row of desktop position.Using Icon occupies the second row of desktop position to fourth line.
Table 6
title container screen cellX cellY spanX spanY itemType
Mail -100 0 0 1 1 1 0
Setting -100 0 1 1 1 1 0
Application market -100 0 2 1 1 1 0
Photo -100 0 3 1 1 1 0
Wechat -100 0 4 1 1 1 0
Camera -100 0 0 2 1 1 0
It reads -100 0 1 2 1 1 0
Sport health -100 0 2 2 1 1 0
Huawei store -100 0 3 2 1 1 0
Video -100 0 4 2 1 1 0
Speaker -100 0 0 3 1 1 0
Music -100 0 1 3 1 1 0
-100 0 0 0 5 1 4
Quick interface arrangement method provided by the embodiments of the present application, terminal determine that the option of the first setting option is restored by the first option For the first option, then configuration of the user to desktop when can be retained in the first option restores the desktop that user is configured, abides by Follow the use habit of user.Wherein, in the method, plug-in unit is in the position that desktop occupies not with the change of the first setting option option Change and changes.
In some embodiments, the display object number of desktop one page is more, if the option of " desktop layouts " occurs Variation, display object possibly can not be shown completely in current page.For example, the option of " desktop layouts " be " 5x6 ", desktop it is each Page includes 5x6 position, can at most show 30 display objects.The option of " desktop layouts " is " 4x6 ", the every page of desktop Including 4x6 position, 24 display objects can be at most shown.If when the option of " desktop layouts " were " 5x6 ", desktop The display object of one page is greater than 24;When the option of " desktop layouts " is revised as " 4x6 " by " 5x6 ", this is greater than 24 displays Object can not be shown completely in current page.
Illustratively, the first interface such as Figure 10 A, the grid specification of terminal are " 5x6 ", and the desktop of terminal includes the (figure of page 0 (a) of 10A) and page 1 ((b) of Figure 10 A).In desktop page 0, including plug-in unit and application icon;Wherein, plug-in unit occupies A line position;21 application icons are laid out respectively in the second row to the position of the 6th row.Page 1 of desktop includes 2 application drawings Mark is located at the first row first row and the first row third column.The subfile favontes5x6 of the corresponding topology file of Figure 10 A Including content as shown in table 7.
Table 7
title container screen cellX cellY spanX spanY itemType
Mail -100 0 0 1 1 1 0
Setting -100 0 2 1 1 1 0
Application market -100 0 3 1 1 1 0
Photo -100 0 4 1 1 1 0
Wechat -100 0 0 2 1 1 0
Camera -100 0 1 2 1 1 0
It reads -100 0 2 2 1 1 0
Sport health -100 0 3 2 1 1 0
Huawei store -100 0 4 2 1 1 0
Video -100 0 1 3 1 1 0
Speaker -100 0 2 3 1 1 0
Music -100 0 4 3 1 1 0
Using 1 -100 0 0 4 1 1 0
Using 2 -100 0 1 4 1 1 0
Using 3 -100 0 2 4 1 1 0
Using 4 -100 0 3 4 1 1 0
Using 5 -100 0 4 4 1 1 0
Using 6 -100 0 0 5 1 1 0
Using 7 -100 0 2 5 1 1 0
Using 8 -100 0 3 5 1 1 0
Using 9 -100 0 4 5 1 1 0
Using 10 -100 1 0 0 1 1 0
Using 11 -100 1 2 0 1 1 0
-100 0 0 0 5 1 4
The option of " desktop layouts " is revised as " 4x6 " by user, then the 0th of desktop page and page 1 respectively include 24 positions It sets.The first row that desktop is page 0 is occupied by plug-in unit, and page 0 at most shows 20 application icons.According to table 7, before modification, desktop Page 0 includes 21 application icons;After then the option of " desktop layouts " is revised as " 4x6 ", application icon " applying 9 " can not be in table The display of face page 0.
In one implementation, the display object of terminal can not show desktop current page display object and lower one page Merging is shown in lower one page.Illustratively, the first interface such as Figure 10 B, the grid specification of terminal are " 4x6 ", and desktop includes page 0 ((a) of Figure 10 B) and page 1 ((b) of Figure 10 B).In desktop page 0 ((a) of Figure 10 B), including plug-in unit and application icon;Its In, plug-in unit occupies the first row position;20 application icon compact arrangements are laid out respectively in the second row to the position of the 6th row. " applying 9 " in (a) of Figure 10 A merges with " applying 10 " and " applying 11 " in (b) of Figure 10 A, in desktop (Figure 10 B of page 1 (b)) display.The subfile favontes4x6 of the corresponding topology file of Figure 10 B includes content as shown in table 8.
Table 8
title container screen cellX cellY spanX spanY itemType
Mail -100 0 0 1 1 1 0
Setting -100 0 1 1 1 1 0
Application market -100 0 2 1 1 1 0
Photo -100 0 3 1 1 1 0
Wechat -100 0 0 2 1 1 0
Camera -100 0 1 2 1 1 0
It reads -100 0 2 2 1 1 0
Sport health -100 0 3 2 1 1 0
Huawei store -100 0 0 3 1 1 0
Video -100 0 1 3 1 1 0
Speaker -100 0 2 3 1 1 0
Music -100 0 3 3 1 1 0
Using 1 -100 0 0 4 1 1 0
Using 2 -100 0 1 4 1 1 0
Using 3 -100 0 2 4 1 1 0
Using 4 -100 0 3 4 1 1 0
Using 5 -100 0 0 5 1 1 0
Using 6 -100 0 1 5 1 1 0
Using 7 -100 0 2 5 1 1 0
Using 8 -100 0 3 5 1 1 0
Using 9 -100 1 0 0 1 1 0
Using 10 -100 1 1 0 1 1 0
Using 11 -100 1 2 0 1 1 0
-100 0 0 0 4 1 4
In another implementation, terminal creates one page between desktop current page and lower one page, current for showing The display object that page can not be shown.Illustratively, the grid specification of the first desktop such as Figure 10 C, terminal are " 4x6 ", and desktop includes Page 0 ((a) of Figure 10 C), page 1 ((b) of Figure 10 C) and page 2 ((c) of Figure 10 C).Desktop page 0 (Figure 10 C's , including plug-in unit and application icon (a));Wherein, plug-in unit occupies the first row position;20 application icon compact arrangements, difference cloth Office is in the second row to the position of the 6th row.Grid specification is " 5x6 " corresponding desktop page 1 ((b) of Figure 10 A) and is changed to desktop Page 2 ((c) of Figure 10 C);And display object " applying 10 " and " applying 11 " are in (c) compact arrangement of Figure 10 C.(b) of Figure 10 C For the one page being newly inserted between former desktop page 0 and former desktop page 1, object " applying 9 " is shown for arranging.Figure 10 C couple The subfile favontes4x6 for the topology file answered includes content as shown in table 9.
Table 9
title container screen cellX cellY spanX spanY itemType
Mail -100 0 0 1 1 1 0
Setting -100 0 1 1 1 1 0
Application market -100 0 2 1 1 1 0
Photo -100 0 3 1 1 1 0
Wechat -100 0 0 2 1 1 0
Camera -100 0 1 2 1 1 0
It reads -100 0 2 2 1 1 0
Sport health -100 0 3 2 1 1 0
Huawei store -100 0 0 3 1 1 0
Video -100 0 1 3 1 1 0
Speaker -100 0 2 3 1 1 0
Music -100 0 3 3 1 1 0
Using 1 -100 0 0 4 1 1 0
Using 2 -100 0 1 4 1 1 0
Using 3 -100 0 2 4 1 1 0
Using 4 -100 0 3 4 1 1 0
Using 5 -100 0 0 5 1 1 0
Using 6 -100 0 1 5 1 1 0
Using 7 -100 0 2 5 1 1 0
Using 8 -100 0 3 5 1 1 0
Using 9 -100 1 0 0 1 1 0
Using 10 -100 2 0 0 1 1 0
Using 11 -100 2 1 0 1 1 0
-100 0 0 0 4 1 4
The option of " desktop layouts " can also be reverted to " 5x6 " by user.In one implementation, terminal in response to The option of " desktop layouts " reverts to " 5x6 ", shows desktop shown in Figure 10 A.For example, terminal determines that the option of " desktop layouts " is extensive Multiple is " 5x6 ", then obtains the subfile favontes5x6 of file launcher.db in database, true according to favontes5x6 Being scheduled on grid specification is to show the layout of object under conditions of " 5x6 ".Illustratively, favontes5x6 is as shown in table 7, terminal Desktop shown in corresponding display Figure 10 A.
The embodiment of the present application also provides a kind of quick interface arrangement method, can be applied to electronic equipment 100 in Fig. 2.With electronics Equipment 100 be terminal for be illustrated.As shown in figure 11, this method may include:
S201, terminal show the first interface.First interface includes the first display object and the second display object;Wherein, One display object is located at the first position at the first interface, and the second display object is located at the second position at the first interface.
First interface is as illustrated in fig. 12.The subfile favontes5x6 of the corresponding desktop layouts file of Figure 12 A includes table Content shown in 10.
Table 10
title container screen cellX cellY spanX spanY
Mail -100 0 0 0 1 1
Setting -100 0 1 0 1 1
Application market -100 0 2 0 1 1
Photo -100 0 3 0 1 1
Wechat -100 0 4 0 1 1
Camera -100 0 0 1 1 1
It reads -100 0 3 1 1 1
Sport health -100 0 2 2 1 1
Huawei store -100 0 4 2 1 1
Video -100 0 0 3 1 1
Speaker -100 0 1 3 1 1
Music -100 0 2 3 1 1
Terminal shows that the specific descriptions at the first interface can refer to S101, and details are not described herein again.First interface corresponding first The option of setting option is the first option.
S202, the first operation in response to user, terminal show the set interface of the first setting option, the of the set interface One option is selected.
Specific descriptions can refer to S102, and details are not described herein again.
S203, terminal receive user in set interface to the selection operation of the second option.
Specific descriptions can refer to S103, and details are not described herein again.
S204, in response to user to the selection operation of the second option, terminal shows the first interface.Wherein, the first display pair As being located at first position, the second display object is located at the third place at the first interface;Vacancy between first position and the third place The number set, the number of empty position is equal between first position and the second position.
The layout of the display object at the first interface meets the regulation of the second option.In one implementation, multiple displays The sequencing of object arrangement is constant;Also, the relative position of multiple display object arrangements is constant, i.e., empty between two display objects The number of empty position is identical between the number of position and the two display objects at the first interface in S201.
Illustratively, it is revised as " 4x6 " in response to the option of " desktop layouts " by " 5x6 ", terminal is shown as shown in Figure 12 B Desktop.Figure 12 B and Figure 12 A includes identical 12 application icons, and every row of desktop shown in Figure 12 B at most shows 4 applications Icon, every row of desktop shown in Figure 12 A at most show 5 application icons.12 application icon desktop shown in Figure 12 B rows The sequencing of column is identical as the sequencing of its desktop shown in Figure 12 A arrangement;Also, show that object arranges in Figure 12 B Relative position, with shown in Figure 12 A object arrangement relative position it is identical.The relative position of display object arrangement refers to display The empty position number at object interval.For example, there are two empty positions between application icon " camera " and " reading " in Figure 12 A;It " reads There are three empty positions between reading " and " sport health ";There is an empty position between " sport health " and " Huawei store ".Figure 12 B In, there are two empty positions between application icon " camera " and " reading ";There are three empty positions between " reading " and " sport health "; There is an empty position between " sport health " and " Huawei store ".
In one implementation, terminal determines that " desktop layouts " current option is " 4x6 ";And determine " tabletop clothes A upper option for office " is " 5x6 ".Terminal obtains the subfile favontes5x6 in launcher.db file, according to subfile Favontes5x6 determines sequencing and the relative position of the display object that desktop includes and multiple display object arrangements.Into One step, if it is determined that corresponding subfile favontes4x6 is not present in launcher.db file, then in launcher.db Subfile favontes4x6 is generated in file;The display object and multiple display objects that desktop according to acquisition includes arrange The rule of sequencing and relative position and option " 4x6 ", determines the position of multiple display objects, and subfile is written favontes4x6。
In one example, favontes5x6 specifying information is as shown in table 10.Terminal exists according to table 10 according to display object The position of desktop successively obtains the title of display object from left to right, the mode of Row Column, the sequencing of arrangement, and Relative position;It determines under conditions of grid specification is " 4x6 ", the position of each display object.For example, cellY is 0 in table 10 The application icon of (the first row), according to cellX value from small to large, be followed successively by " mail ", " setting ", " application market ", " shine Piece ", " wechat ";Empty position is not present between 5 application icons.It can determine that cellY is 0 (the first row) in favontes4x6 Application icon includes " mail ", " setting ", " application market " and " photo ";Application icon " wechat " is put into the second row first row (cellY 1, cellX 0).According to table 10 it was determined that next application icon is " camera ", and " camera " and " wechat " Empty position is not present between the position of occupancy, then can determine in favontes4x6 that the position of " camera " is the second row secondary series (cellY 1, cellX 1).Further, according to table 10 it was determined that next application icon is " reading ", and " reading " There are two empty positions between the position that " camera " occupies, then can determine in favontes4x6 that the position of " reading " is the Three row first rows (cellY 2, cellX 0).In this way, position of each display object in favontes4x6 can be determined. Illustratively, the subfile favontes4x6 of the corresponding desktop layouts file of Figure 12 B includes content shown in table 11.
Table 11
title container screen cellX cellY spanX spanY
Mail -100 0 0 0 1 1
Setting -100 0 1 0 1 1
Application market -100 0 2 0 1 1
Photo -100 0 3 0 1 1
Wechat -100 0 0 1 1 1
Camera -100 0 1 1 1 1
It reads -100 0 0 2 1 1
Sport health -100 0 0 3 1 1
Huawei store -100 0 2 3 1 1
Video -100 0 3 3 1 1
Speaker -100 0 0 4 1 1
Music -100 0 1 4 1 1
S205, terminal receive user in set interface to the selection operation of the first option.
User can the option to the first setting option repeatedly modified.For example, user by the option of the first setting option by After first option is revised as the second option, and the option of the first setting option is reverted into the first option.Illustratively, user will After the option of " desktop layouts " is revised as " 4x6 " by " 5x6 ", and desktop set interface shown in Fig. 7 is by the choosing of " desktop layouts " Item is revised as " 5x6 ".For example, after the option of the first setting option is revised as the second option by the first option by user, and by first The option of setting option is revised as third option, and the option of the first setting option is reverted to the first option.Illustratively, user will After the option of " desktop layouts " is revised as " 4x6 " by " 5x6 ", and desktop set interface shown in Fig. 7 is by the choosing of " desktop layouts " Item is revised as " 5x5 ", and then the option of " desktop layouts " is revised as " 5x6 " by desktop set interface shown in Fig. 7.
S206, in response to user to the selection operation of the first option, terminal shows the first interface;Wherein, the first display pair As being located at first position, the second display object is located at the second position.
In response to user to the selection operation of the first option, terminal shows the first interface;At first interface, object is shown Layout and S201 in show that the layout of object is identical.Wherein, the first display object is located at first position, the second display object position In the second position.
Illustratively, it after terminal detects that the option of " desktop layouts " is revised as " 4x6 " by " 5x6 ", and reverts to " 5x6 " is reverted to " 5x6 " in response to the option of " desktop layouts ", and terminal shows desktop shown in Figure 12 A.
In one implementation, terminal detects that the option of " desktop layouts " changes, then obtains in database and deposit The desktop layouts file of storage.For example, terminal determines that the option of " desktop layouts " reverts to " 5x6 ", then file in database is obtained The subfile favontes5x6 of launcher.db is determined aobvious under conditions of grid specification is " 5x6 " according to favontes5x6 Show the layout of object.Illustratively, favontes5x6 is as shown in table 10, desktop shown in the corresponding display Figure 12 A of terminal.
In one implementation, terminal detects that the option of " desktop layouts " changes, then obtains in database and deposit The desktop layouts file of storage.Terminal determines that " desktop layouts " current option is " 5x6 ";And determine upper the one of " desktop layouts " Option is " 4x6 ".Terminal obtains the subfile favontes4x6 in launcher.db file, according to subfile Favontes4x6 determines sequencing and the relative position of the display object that desktop includes and multiple display object arrangements.Root The sequencing of display object and multiple display object arrangements that desktop according to acquisition includes and relative position and option The rule of " 5x6 " determines the position of multiple display objects, updates subfile favontes5x6.
In one example, favontes4x6 specifying information is as shown in table 11.Terminal exists according to table 11 according to display object The position of desktop successively obtains the title of display object from left to right, the mode of Row Column, the sequencing of arrangement, and Relative position;It determines under conditions of grid specification is " 5x6 ", the position of each display object.For example, cellY is 0 in table 11 The application icon of (the first row), according to cellX value from small to large, be followed successively by " mail ", " setting ", " application market ", " shine Piece ";Empty position is not present between 4 application icons.It can determine that cellY is the application icon of 0 (the first row) in favontes5x6 First row (cellX 0) is " mail ", and secondary series (cellX 1) is " setting ", and it is " to apply city that third, which arranges (cellX 2), ", the 4th column (cellX 3) are " photo ".According to table 11 it was determined that next application icon is " wechat ", and " wechat " Empty position is not present between the position that " photo " occupies, then can determine in favontes5x6 that the position of " wechat " is first Row the 5th arranges (cellY 0, cellX 4).According to table 11 it was determined that next application icon is " camera ", and " camera " Empty position is not present between the position that " wechat " occupies, then can determine in favontes5x6 that the position of " camera " is second Row first row (cellY 1, cellX 0).Further, according to table 11 it was determined that next application icon be " reading ", And it can then be determined in favontes5x6 " reading " between the position of " reading " and " camera " occupancy there are two empty positions Position is that the second row the 4th arranges (cellY 1, cellX 3).In this way, each display object can be determined in favontes5x6 In position.Illustratively, the subfile favontes5x6 of the corresponding desktop layouts file of Figure 12 A includes content shown in table 10.
It should be noted that in the quick interface arrangement method of the present embodiment, the plug-in unit of processing when being to(for) display object, and Desktop divides the processing that multipage is shown, can refer to the description of previous embodiment, details are not described herein again.
Quick interface arrangement method provided by the embodiments of the present application, terminal determines that the option of the first setting option changes, then right It should show the corresponding display interface of the option;And retain the relative position that object arrangement is shown in a upper interface.In this way, first sets The corresponding interface of different options for setting item, all remains configuration of the user to desktop, it then follows the use habit of user.
Above-described embodiment is illustrated so that the interface of terminal is desktop as an example.In practical applications, the embodiment of the present application mentions The quick interface arrangement method of confession can also be applied to other interfaces.For example, the interface can be the display interface of application program. Illustratively, such as Figure 13 A, user can be by clicking the application icon using " reading ", into the application.In searching for " reading " Rope interface, terminal can show the article of recommendation according to the keyword that user inputs.The interface layout of search interface can wrap Plurality of specifications is included, for example, the interface layout of search interface can be " 2x3 ", indicates that every row at most shows 2 display objects, often Column at most 3 display objects of display.The interface layout of search interface can also be " 3x4 ", indicate that every row at most shows 3 displays Object, each column at most show 4 display objects.
Such as Figure 13 B, in response to user entered keyword " science fiction ", terminal shows the first interface.First interface is corresponding to be searched The interface layout specification at rope interface is " 2x3 ".
User can modify the interface layout specification of search interface.For example, user can be by the interface layout of search interface It is revised as " 3x4 ".It is revised as " 3x4 " in response to the interface layout specification of search interface, terminal shows interface as shown in fig. 13 c.
User can continue to modify the interface layout specification of search interface.For example, user is by the interface cloth of search interface After " 3x4 " is revised as in office, and the interface layout of search interface is revised as " 2x3 ".In response to the interface layout rule of search interface Lattice are revised as " 2x3 ", and terminal shows interface as shown in Figure 13 B.
Wherein, terminal realizes that the specific descriptions of the quick interface arrangement method can refer to foregoing embodiments, and details are not described herein again.
It is understood that above-mentioned electronic equipment is in order to realize the above functions, it comprises executing, each function is corresponding Hardware configuration and/or software module.Those skilled in the art should be readily appreciated that, in conjunction with the embodiments described herein Each exemplary unit and algorithm steps of description, the embodiment of the present application can be with the combination shape of hardware or hardware and computer software Formula is realized.Some functions is executed in a manner of hardware or computer software driving hardware actually, depends on technical solution Specific application and design constraint.Professional technician can realize each specific application using distinct methods Described function, but this realization is it is not considered that exceed the range of the embodiment of the present application.
The embodiment of the present application can carry out the division of functional module, example according to above method example to above-mentioned electronic equipment Such as, each functional module of each function division can be corresponded to, two or more functions can also be integrated at one It manages in module.Above-mentioned integrated module both can take the form of hardware realization, can also use the form of software function module It realizes.It should be noted that being schematical, only a kind of logic function stroke to the division of module in the embodiment of the present application Point, there may be another division manner in actual implementation.
Using integrated unit, Figure 14 shows one kind of electronic equipment involved in above-described embodiment Possible structural schematic diagram.The electronic equipment 300 includes: processing unit 301, display unit 302 and storage unit 303.
Wherein, processing unit 301 carry out control management for the movement to electronic equipment 300.For example, can be used for holding In row Fig. 4, the processing step of S103 and S105;Alternatively, can be used for executing in Figure 11, the processing step of S203 and S205;With/ Or other processes for techniques described herein.
Display unit 302, for showing the interface of electronic equipment.For example, being displayed for the first interface of terminal.Example Such as, can be used for executing in Fig. 4, the processing step of S101, S102, S104, S106 and S107;Alternatively, can be used for executing figure In 11, the processing step of S201, S202, S204 and S206;And/or other processes for techniques described herein.
Storage unit 303 is used to save the program code and data of electronic equipment 300.For example, can be used for storing desktop Topology file etc..
Certainly, the unit module in above-mentioned electronic equipment 300 includes but is not limited to above-mentioned processing unit 301, display unit 302 and storage unit 303.For example, can also include audio unit, communication unit etc. in electronic equipment 300.Audio unit is used for The voice that user issues is acquired, and plays voice.Communication unit is used to support the communication of electronic equipment 300 Yu other devices.
Wherein, processing unit 301 can be processor or controller, such as can be central processing unit (central Processing unit, CPU), digital signal processor (digital signal processor, DSP), dedicated integrated electricity Road (application-specific integrated circuit, ASIC), field programmable gate array (field Programmable gate array, FPGA) or other programmable logic device, transistor logic, hardware component or Person's any combination thereof.Processor may include application processor and baseband processor.It, which may be implemented or executes, combines the application Various illustrative logic blocks, module and circuit described in disclosure.The processor, which is also possible to realize, calculates function The combination of energy, such as include that one or more microprocessors combine, DSP and the combination of microprocessor etc..Storage unit 303 can To be memory.Audio unit may include microphone, loudspeaker, receiver etc..Communication unit can be transceiver, transmitting-receiving electricity Road or communication interface etc..
For example, processing unit 301 be processor (processor 110 as shown in Figure 2), display unit 302 be display screen (such as Display screen 194 shown in Fig. 2, the display screen 194 can be touch screen, can integrate display panel and touch surface in the touch screen Plate), storage unit 303 can be memory (internal storage 121 as shown in Figure 2).Audio unit may include microphone (as shown in Figure 2 is called for (microphone 170C as shown in Figure 2), loudspeaker (loudspeaker 170A as shown in Figure 2), receiver Device 170B).Communication unit includes mobile communication module (mobile communication module 150 as shown in Figure 2) and wireless communication module is (such as Wireless communication module 160 shown in Fig. 2).Mobile communication module and wireless communication module may be collectively referred to as communication interface.The application Electronic equipment 300 provided by embodiment can be electronic equipment 100 shown in Fig. 2.Wherein, above-mentioned processor, memory and Communication interface etc. can be coupled, such as be connected by bus.
The embodiment of the present application also provides a kind of computer storage medium, and computer journey is stored in the computer storage medium Sequence code, when above-mentioned processor executes the computer program code, electronic equipment executes the step of the correlation technique in Fig. 4 or Figure 11 The rapid method realized in above-described embodiment.
The embodiment of the present application also provides a kind of computer program products, when the computer program product is transported on computers When row, so that computer executes the correlation technique step in Fig. 4 or Figure 11 and realizes method in above-described embodiment.
Wherein, electronic equipment 300 provided by the embodiments of the present application, computer storage medium or computer program product are equal For executing corresponding method presented above, therefore, attainable beneficial effect can refer to pair presented above The beneficial effect in method answered, details are not described herein again.
Through the above description of the embodiments, it is apparent to those skilled in the art that, for description It is convenienct and succinct, only the example of the division of the above functional modules, in practical application, can according to need and will be upper It states function distribution to be completed by different functional modules, i.e., the internal structure of device is divided into different functional modules, to complete All or part of function described above.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it Its mode is realized.For example, the apparatus embodiments described above are merely exemplary, for example, the module or unit It divides, only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components It may be combined or can be integrated into another device, or some features can be ignored or not executed.Another point, it is shown or The mutual coupling, direct-coupling or communication connection discussed can be through some interfaces, the indirect coupling of device or unit It closes or communicates to connect, can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown can be a physical unit or multiple physical units, it can and it is in one place, or may be distributed over Multiple and different places.Some or all of unit therein can be selected to realize this embodiment scheme according to the actual needs Purpose.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Formal implementation of hardware both can be used in member, and the form that SFU software functional unit also can be used is realized.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a read/write memory medium.Based on this understanding, the technical solution of the embodiment of the present application is substantially The all or part of the part that contributes to existing technology or the technical solution can be in the form of software products in other words It embodies, which is stored in a storage medium, including some instructions are used so that an equipment (can be list Piece machine, chip etc.) or processor (processor) execute each embodiment the method for the application all or part of the steps. And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, ROM, RAM, magnetic or disk etc. are various can store program code Medium.
The above, the only specific embodiment of the application, but the protection scope of the application is not limited thereto, it is any Change or replacement within the technical scope of the present application should all be covered within the scope of protection of this application.Therefore, this Shen Protection scope please should be based on the protection scope of the described claims.

Claims (13)

1. a kind of quick interface arrangement method characterized by comprising
Terminal shows the first interface;First interface includes the first display object and the second display object;Wherein, described first Display object is located at the first position at first interface, and the second display object is located at the second at first interface It sets;
In response to the first operation of user, the terminal shows the set interface of the first setting option;The first of the set interface Option is selected;
The terminal receives user in the set interface to the selection operation of the second option;
In response to user to the selection operation of second option, the terminal shows first interface;Wherein, described first Display object is located at the first position, and the second display object is located at the third place at first interface;
In response to the first operation of user, the terminal shows the set interface;
The terminal receives user in the set interface to the selection operation of first option;
In response to user to the selection operation of first option, the terminal shows first interface;Wherein, described first Display object is located at the first position, and the second display object is located at the second position.
2. the method according to claim 1, wherein
There are empty positions between the first position and the second position;Between the first position and the third place not There are empty positions.
3. the method according to claim 1, wherein
There are empty positions between the first position and the second position;It is empty between the first position and the third place The number of position, the number of empty position is equal between the first position and the second position.
4. according to the method in claim 2 or 3, which is characterized in that first interface further includes that third shows object, institute State method further include:
The terminal shows first interface;Wherein, the third shows that object is located at the 4th position at first interface;
The terminal receives the delete operation that user shows object to the third;
The delete operation of object is shown to the third in response to the user, the 4th position is shown as empty position.
5. method according to claim 1-3, which is characterized in that
First interface includes multipage;The second position is located at the first page at first interface, the third place position Second page in first interface;The first page is different with the second page.
6. according to the method described in claim 5, it is characterized in that, first interface further include the 4th display object, it is described Method further include:
The terminal shows first interface;Wherein, the second display object is located at the second position, and the described 4th is aobvious Show that object is located at the 5th position at first interface, the 5th position is located at the second page at first interface;
In response to the first operation of user, the terminal shows the set interface;First option of the set interface is selected In;
The terminal receives user in the set interface to the selection operation of the second option;
In response to user to the selection operation of second option, the terminal shows first interface;Wherein, described second Display object is located at the 5th position, and the described 4th shows that object is located at the 6th position at first interface, and the described 6th Position is located at the second page at first interface.
7. according to the method described in claim 5, it is characterized in that, first interface further include the 4th display object, it is described Method further include:
The terminal shows first interface;Wherein, the second display object is located at the second position, and the described 4th is aobvious Show that object is located at the 5th position at first interface, the 5th position is located at the second page at first interface;
In response to the first operation of user, the terminal shows the set interface;First option of the set interface is selected In;
The terminal receives user in the set interface to the selection operation of the second option;
In response to user to the selection operation of second option, the terminal shows first interface;Wherein, described second Display object is located at the 5th position, and the described 4th shows that object is located at the 7th position at first interface, and the described 7th Position is located at the third page at first interface.
8. method according to claim 1-7, which is characterized in that it is described in response to user to second option Selection operation, the terminal shows first interface, comprising:
Terminal receives the second operation of user;
In response to the second operation of user, the terminal exits the set interface, shows first interface.
9. method according to claim 1-8, which is characterized in that
First interface is the desktop of the terminal or the display interface of application program.
10. -9 described in any item methods according to claim 1, which is characterized in that
The display object is the application icon of application program, or the file including one or more application icon.
11. a kind of electronic equipment, which is characterized in that the electronic equipment includes: processor and memory;The memory and institute State processor coupling;The memory is for storing computer program code;The computer program code includes that computer refers to It enables, when the processor executes above-mentioned computer instruction, so that the electronic equipment is executed such as any one of claim 1-10 The method.
12. a kind of computer storage medium, which is characterized in that the computer storage medium includes computer instruction, when described When computer instruction is run on an electronic device, so that the electronic equipment executes such as the described in any item sides of claim 1-10 Method.
13. a kind of computer program product, which is characterized in that when the computer program product is run on computers, make It obtains the computer and executes such as the described in any item methods of claim 1-10.
CN201910441278.5A 2019-05-24 2019-05-24 A kind of quick interface arrangement method and terminal Pending CN110347455A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910441278.5A CN110347455A (en) 2019-05-24 2019-05-24 A kind of quick interface arrangement method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910441278.5A CN110347455A (en) 2019-05-24 2019-05-24 A kind of quick interface arrangement method and terminal

Publications (1)

Publication Number Publication Date
CN110347455A true CN110347455A (en) 2019-10-18

Family

ID=68173998

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910441278.5A Pending CN110347455A (en) 2019-05-24 2019-05-24 A kind of quick interface arrangement method and terminal

Country Status (1)

Country Link
CN (1) CN110347455A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112099682A (en) * 2020-09-02 2020-12-18 维沃移动通信有限公司 Icon display method and device and electronic equipment
CN115344910A (en) * 2022-10-20 2022-11-15 广东时谛智能科技有限公司 Big data-based shoe body library information adjusting method and device
CN116048324A (en) * 2022-05-26 2023-05-02 荣耀终端有限公司 Desktop management method, electronic device and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120017163A1 (en) * 2004-06-22 2012-01-19 Ragan Gene Z Displaying icon layouts in different resolutions
CN103377051A (en) * 2013-07-16 2013-10-30 广东欧珀移动通信有限公司 Application interface customizing method based on Android system
US20130332869A1 (en) * 2012-06-06 2013-12-12 Ken Ferry Graphical user interface layout
CN104915268A (en) * 2015-06-24 2015-09-16 上海海漾软件技术有限公司 Desktop layout storage and recovery method and device thereof, terminal equipment and system
CN105005439A (en) * 2015-08-19 2015-10-28 珠海格力电器股份有限公司 Icon management method and device and mobile terminal
CN105183294A (en) * 2015-09-16 2015-12-23 小米科技有限责任公司 Terminal display method and device
CN106095250A (en) * 2016-07-29 2016-11-09 维沃移动通信有限公司 The method of application icon layout and mobile terminal

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120017163A1 (en) * 2004-06-22 2012-01-19 Ragan Gene Z Displaying icon layouts in different resolutions
US20130332869A1 (en) * 2012-06-06 2013-12-12 Ken Ferry Graphical user interface layout
CN103377051A (en) * 2013-07-16 2013-10-30 广东欧珀移动通信有限公司 Application interface customizing method based on Android system
CN104915268A (en) * 2015-06-24 2015-09-16 上海海漾软件技术有限公司 Desktop layout storage and recovery method and device thereof, terminal equipment and system
CN105005439A (en) * 2015-08-19 2015-10-28 珠海格力电器股份有限公司 Icon management method and device and mobile terminal
CN105183294A (en) * 2015-09-16 2015-12-23 小米科技有限责任公司 Terminal display method and device
CN106095250A (en) * 2016-07-29 2016-11-09 维沃移动通信有限公司 The method of application icon layout and mobile terminal

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112099682A (en) * 2020-09-02 2020-12-18 维沃移动通信有限公司 Icon display method and device and electronic equipment
CN116048324A (en) * 2022-05-26 2023-05-02 荣耀终端有限公司 Desktop management method, electronic device and storage medium
CN116048324B (en) * 2022-05-26 2023-10-20 荣耀终端有限公司 Desktop management method, electronic device and storage medium
CN115344910A (en) * 2022-10-20 2022-11-15 广东时谛智能科技有限公司 Big data-based shoe body library information adjusting method and device

Similar Documents

Publication Publication Date Title
CN110231905A (en) A kind of screenshotss method and electronic equipment
CN110417991A (en) A kind of record screen method and electronic equipment
CN109271081B (en) Roll the method and electronic equipment of screenshotss
CN109584879A (en) A kind of sound control method and electronic equipment
CN109766043A (en) The operating method and electronic equipment of electronic equipment
CN109814766A (en) A kind of application display method and electronic equipment
CN110362373A (en) A kind of method and relevant device controlling screen wicket
CN110351422A (en) A kind of method for previewing and electronic equipment of notification message
CN110134316A (en) Model training method, Emotion identification method and relevant apparatus and equipment
CN109981839A (en) A kind of display methods and electronic equipment of the electronic equipment with flexible screen
CN110471639A (en) Display methods and relevant apparatus
CN110401766A (en) A kind of image pickup method and terminal
CN110119295A (en) A kind of display control method and relevant apparatus
CN109445572A (en) The method, graphical user interface and terminal of wicket are quickly recalled in full screen display video
CN109890067A (en) Specific position in particular course is carried out to know method for distinguishing and electronic equipment
CN110489043A (en) A kind of management method and relevant apparatus of suspension windows
CN110489215A (en) The treating method and apparatus of scene is waited in a kind of application program
CN110471725A (en) A kind of split screen method and electronic equipment
CN109782944A (en) A kind of response method and electronic equipment of touch screen
CN110058777A (en) The method and electronic equipment of shortcut function starting
CN110032307A (en) A kind of moving method and electronic equipment of application icon
CN109976626A (en) A kind of switching method and electronic equipment of application icon
CN109274828A (en) A kind of method, control method and electronic equipment generating screenshot
CN109496423A (en) Image display method and electronic equipment under a kind of photographed scene
CN110506416A (en) A kind of method and terminal of terminal switching camera

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20191018