WO2014036817A1 - Terminal and method for dynamically loading application program interface - Google Patents

Terminal and method for dynamically loading application program interface Download PDF

Info

Publication number
WO2014036817A1
WO2014036817A1 PCT/CN2013/072171 CN2013072171W WO2014036817A1 WO 2014036817 A1 WO2014036817 A1 WO 2014036817A1 CN 2013072171 W CN2013072171 W CN 2013072171W WO 2014036817 A1 WO2014036817 A1 WO 2014036817A1
Authority
WO
WIPO (PCT)
Prior art keywords
interface
adjacent
interface number
target
memory
Prior art date
Application number
PCT/CN2013/072171
Other languages
French (fr)
Chinese (zh)
Inventor
白希玮
Original Assignee
华为终端有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为终端有限公司 filed Critical 华为终端有限公司
Publication of WO2014036817A1 publication Critical patent/WO2014036817A1/en

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/46Multiprogramming arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/46Indexing scheme relating to G06F9/46
    • G06F2209/462Lookup

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to a terminal for dynamically loading an application interface and a method for dynamically loading an application interface. Background technique
  • terminals are increasingly rich in functions, such as mobile phones, tablets, personal digital assistants (PDAs), etc.
  • Most terminals use a large application interface to display applications.
  • Icon or widget desktop control with the richness of application functions, the number of various application icons and widget desktop controls is increasing, and the single application interface cannot fully display all application icons or widget desktop controls, which makes the terminal
  • the number of application interfaces continues to increase.
  • the number of application interfaces provided by the terminal for displaying the application icons and the widget desktop controls is limited, and the contradiction between this limitation and the increasing terminal functions is also increasing. The more prominent, the inability to meet the user's needs. Summary of the invention
  • Embodiments of the present invention provide a terminal and a method for dynamically loading an application interface, which can cyclically load interface information of an application, thereby alleviating the contradiction between the limitation of storage capacity and the increasing number of application interfaces.
  • the first aspect provides a method for dynamically loading an application interface, including: receiving a switching signal generated by a user switching an application interface operation; parsing the switching signal, and determining a target interface Determining an interface number adjacent to the target interface number according to a predetermined number adjacent to the target interface number; determining according to an interface number stored in the first memory and an interface number adjacent to the target interface number The interface information corresponding to the interface number to be loaded; releasing the storage space occupied by the interface information corresponding to at least part of the interface number that is not adjacent to the target interface number in the first memory; loading the interface number to be loaded Interface information to the first memory.
  • determining an interface number adjacent to the target interface number according to a predetermined quantity adjacent to the target interface number including: according to the adjacent to the target interface number
  • the predetermined number is determined to be adjacent to the target interface number by a predetermined number, a left adjacent predetermined number, or a right adjacent predetermined number of interface numbers.
  • determining, according to an interface number stored in the first memory and an interface number adjacent to the target interface number The interface information corresponding to the interface number to be loaded includes: calculating a number of interface numbers adjacent to each side of the target interface number; determining that the quantity is consistent with a predetermined number adjacent to the target interface number; An interface number corresponding to the interface information in the first memory and an interface number adjacent to the target number; determining interface information corresponding to the interface number adjacent to the target interface number that is not stored in the first memory The interface information corresponding to the interface number to be loaded.
  • the interface information corresponding to at least part of the interface number that is not adjacent to the target interface number in the first memory is released.
  • the storage space includes: a storage space occupied by the boundary information corresponding to the interface number to be loaded; and if the storage space required for the interface information corresponding to the interface number to be loaded is released, releasing the first a storage space required for the interface information corresponding to the interface number to be loaded in the memory, where the released storage space does not include the occupied by the target interface information.
  • loading the interface information corresponding to the interface number to be loaded to the first memory includes: loading the to-be-loaded The interface information corresponding to the interface number is in the storage space released by the first memory, and the storage address corresponding to the interface information corresponding to the interface number to be loaded is updated;
  • the second aspect provides a terminal, including: a receiving module, a parsing module, a calculating module, a determining module, a releasing module, and a loading module, where the receiving module receives a switching signal generated by a user switching an application interface operation; The switching signal determines a target interface number; the calculating module determines an interface number adjacent to the target interface number according to a predetermined number adjacent to the target interface number; the determining module is configured according to the interface stored in the first memory a number and an interface number adjacent to the target interface number, and determining interface information corresponding to the interface number to be loaded; the release module releasing at least part of the interface number in the first memory that is not adjacent to the target interface number The storage space occupied by the corresponding interface information; the loading module loads the interface information corresponding to the interface number to be loaded to the first memory.
  • the calculating module determines, according to a predetermined number adjacent to the target interface number, an interface number that is adjacent to the target interface number, including: the calculating module is configured according to The predetermined number adjacent to the target interface number is determined to be adjacent to the target interface number by a predetermined number, a left adjacent predetermined number, or a right adjacent predetermined number of interface numbers.
  • the determining module is determined according to an interface number stored in the first memory and an interface number adjacent to the target interface number.
  • the interface information corresponding to the interface number to be loaded includes: the determining module calculates a number of interface numbers adjacent to each side of the target interface number; determining that the quantity is consistent with a predetermined number adjacent to the target interface number Comparing an interface number corresponding to the interface information in the first memory with an interface number adjacent to the target number; determining not to be stored in the first storage
  • the interface information corresponding to the interface number adjacent to the target number of the storage is used as the interface information corresponding to the interface number to be loaded.
  • the releasing module releases at least part of an interface number in the first memory that is not adjacent to the target interface number.
  • the storage space occupied by the interface information includes: a storage space required by the release module to compare interface information corresponding to the interface number to be loaded, and interface information corresponding to an interface number not adjacent to the target interface number.
  • the occupied storage space if the storage space required for the interface information corresponding to the interface number to be loaded is smaller than the storage space occupied by the interface information corresponding to the interface number not adjacent to the target interface number, the first a storage space required for the interface information corresponding to the interface number to be loaded in a memory, where the released storage space does not include the storage space occupied by the target interface information, or is not adjacent to the target interface number.
  • the interface number corresponds to the storage space occupied by the interface information.
  • the user switching the signal generated by the application interface operation includes: loading, by the loading module, the interface number to be loaded
  • the interface information is sent to the first memory, and the loading module loads the interface information corresponding to the interface number to be loaded in the storage space released by the first memory, and updates the interface number to be loaded.
  • the interface information corresponding to the interface information; or the interface information corresponding to the interface number to be loaded is used to overwrite the stored interface information in the first memory, wherein the covered interface information does not include the target interface information.
  • the receiving module receives a switching signal generated by a user switching an application interface operation
  • the method includes: the receiving module receiving a user sliding interface generated The sliding signal, the drag signal generated by dragging the interface slider, or one or more of the click signals generated by touching the interface number.
  • a terminal including a first memory, a processor, and an input unit, wherein the first memory stores interface information of a preset number of applications of the terminal, where the interface information includes an interface element. , the interface number, the correspondence between the interface number and the interface element, And the interface element is located at the location information of the application interface corresponding to the interface number; the input unit is configured to receive a user switching application interface operation, and generate a switching signal; the processor is configured to determine a target interface number according to the switching signal; Determining an interface number adjacent to the target interface number according to a predetermined number adjacent to the target interface number; determining, according to the interface number stored in the first memory and an interface number adjacent to the target interface number The interface information corresponding to the loaded interface number is the interface information corresponding to the interface number to be loaded; releasing the storage space occupied by the interface information corresponding to at least part of the interface number that is not adjacent to the target interface number in the first memory. Loading the interface information corresponding to the interface number to
  • the terminal further includes a second memory, where interface information corresponding to the interface number to be loaded is stored in the second memory.
  • the interface information corresponding to the interface number to be loaded is stored in the second memory, where the second memory is located Cloud Server.
  • the processor determines an interface number adjacent to the target interface number according to a predetermined quantity adjacent to the target interface number , including:
  • the processor determines, based on a predetermined number adjacent to the target interface number, a predetermined number adjacent to the target interface number, a left adjacent predetermined number, or a right adjacent predetermined number of interface numbers.
  • the processor determines, according to an interface number stored in the first memory and an interface number adjacent to the target interface number.
  • the interface information corresponding to the interface number to be loaded includes: the processor calculating a number of interface numbers adjacent to each side of the target interface number; determining that the quantity is consistent with a predetermined number adjacent to the target interface number And comparing an interface number corresponding to the interface information in the first memory with an interface number adjacent to the target interface number; determining not to be stored in the first The interface number corresponds to the interface information.
  • the processor is configured to release at least part of an interface number of the first memory that is not adjacent to the target interface number.
  • the storage space occupied by the interface information includes: a storage space required by the processor to compare interface information corresponding to the interface number to be loaded, and interface information corresponding to an interface number not adjacent to the target interface number.
  • the occupied storage space if the storage space required for the interface information corresponding to the interface number to be loaded is smaller than the storage space occupied by the interface information corresponding to the interface number not adjacent to the target interface number, the first a storage space required for the interface information corresponding to the interface number to be loaded in a memory, where the released storage space does not include the storage space occupied by the target interface information, or is not adjacent to the target interface number.
  • the interface number corresponds to the storage space occupied by the interface information.
  • the loading, by the processor, the interface information corresponding to the interface number to be loaded to the first memory The processor loads the interface information corresponding to the interface number to be loaded in the storage space of the first memory, and updates the storage address corresponding to the interface information corresponding to the interface number to be loaded; or loads the to-be-loaded
  • the interface information corresponding to the interface number covers the stored interface information in the first memory, where the covered interface information does not include the target interface information.
  • the receiving, by the processor, a switching signal generated by a user switching an application interface operation includes: the processor receiving a user sliding interface generated The sliding signal, the drag signal generated by dragging the interface slider, or one or more of the click signals generated by touching the interface number.
  • the terminal and the method for dynamically loading an application interface in the embodiment of the present invention may release the storage occupied by the interface information corresponding to at least part of the interface number of the first memory that is not adjacent to the target interface number. Space, loading interface information corresponding to the interface number adjacent to the target interface number, thereby cyclically loading the interface information, and slowing down the storage capacity of the terminal.
  • FIG. 1 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 2 is a schematic view showing a display area of a touch display screen according to an embodiment of the present invention.
  • 3a-3c are schematic diagrams showing the operation mode of the switching interface according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a process of loading interface information according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a terminal for dynamically loading an application interface according to another embodiment of the present invention.
  • FIG. 6 is a flowchart of a method for dynamically loading an application interface according to an embodiment of the present invention.
  • FIG. 7 is a flowchart of a method for determining interface information corresponding to an interface number to be loaded according to an embodiment of the present invention. detailed description
  • the embodiment of the invention relates to a terminal 100 and a method for dynamically loading an application interface.
  • the terminal 100 can be a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales, a sales terminal), or Car computer, etc.
  • FIG. 1 is a schematic structural diagram of a terminal 100 according to an embodiment of the present invention.
  • a terminal 100 of an embodiment of the present invention includes: a first memory 120, processing And the input unit 130, the first memory 120 stores interface information of the preset number of applications of the terminal, where the interface information includes an interface element, an interface number, a correspondence between the interface number and the interface element, and the The interface element is located at the location information of the application interface corresponding to the interface number; the input unit 130 is configured to receive a user switching application interface operation, and generate a switching signal; the processor 160 is configured to determine a target interface number according to the switching signal; Determining an interface number adjacent to the target interface number to determine an interface number adjacent to the target interface number; determining an interface to be loaded according to an interface number stored in the first memory 120 and an interface number adjacent to the target interface number And the interface information corresponding to the interface information corresponding to at least part of the interface number that is not adjacent to the target interface number in the first memory 120; and loading the interface information corresponding to the interface number to be loaded to the first In a memory 120.
  • the preset number refers to the number of interface information of an application that can be stored in the first memory.
  • the predetermined number refers to the number of interface numbers adjacent to each side of the target interface number.
  • the processor 160 may release the storage space occupied by the interface information corresponding to at least part of the interface number of the first memory 120 that is not adjacent to the target interface number, and load the interface number adjacent to the target interface number.
  • the interface information is in the first memory 120, so that the interface information can be cyclically loaded, and the contradiction between the limitation of the storage capacity of the terminal 100 and the increasing number of application interfaces is alleviated.
  • the interface information corresponding to the interface number to be loaded is determined according to the interface number stored in the first memory 120 and the interface number adjacent to the target interface number, specifically: according to the interface number stored in the first memory 120.
  • An interface number adjacent to the target interface number is used to determine an interface number that is not stored in the first memory 120.
  • the interface information corresponding to the unstored interface number is an interface corresponding to the interface number to be loaded in the first memory 120. information.
  • the processor 160 may call the interface element corresponding to the target interface number stored in the first memory 120 and the location information of the application interface corresponding to the interface element displayed by the interface element, thereby The interface element is displayed in the application interface corresponding to the target interface number.
  • the interface element may be an application icon or a widget desktop control.
  • the terminal 100 may further include a second memory 121, where the second memory 121 may be used to store interface information of all applications of the terminal 100.
  • the processor 160 loads the interface information corresponding to the interface number to be loaded into the first memory 120. Specifically, the processor 160 invokes the interface information corresponding to the interface number to be loaded in the second memory 121, and the The interface information corresponding to the loaded interface number is loaded into the first memory 120.
  • the second memory 121 can be an external memory of the terminal 100, and the first memory 120 can be the memory of the terminal 100.
  • the processor 160 can load a preset amount of interface information from the second memory 121 into the first memory 120. Each loaded interface information corresponds to one storage space in the first memory 120. Alternatively, each storage space may be the same.
  • the first memory 120 may be one of NVRAM nonvolatile memory, DRAM dynamic random access memory, SRAM static random access memory, flash flash memory, etc.; the second memory 121 may be a hard disk, an optical disk, a USB disk, a floppy disk or a tape drive or the like.
  • all interface information of the terminal may be stored in the cloud server, and the cloud server may be the second memory 121.
  • the processor 160 loads the interface information corresponding to the interface number to be loaded into the first memory 120, specifically: the processor 160 acquires interface information corresponding to the interface number to be loaded in the cloud server through the network channel, The interface information corresponding to the interface number to be loaded is loaded into the first memory 120.
  • the input unit 130 can be configured to receive input digital or character information and to generate signal inputs related to user settings and function control of the terminal 100.
  • the input unit 130 may include a touch panel 131.
  • the touch panel 131 also referred to as a touch screen, can collect touch operations on or near the user (such as the user's operation on the touch panel 131 or on the touch panel 131 using any suitable object or accessory such as a finger, a stylus, or the like. ), and drive the corresponding connection device according to a preset program.
  • the touch panel 131 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information Giving the processor 160 and receiving the processor 160 Send the order and execute it.
  • the touch panel 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves.
  • the input unit 130 may further include other input devices 132.
  • the other input devices 132 may include but are not limited to physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like. One or more of them.
  • the terminal 100 can also include a display unit 140 that can be used to display information entered by the user or information provided to the user and various menu interfaces of the terminal 100.
  • the display unit 140 may include a display panel 141.
  • the display panel 141 may be configured in the form of an LCD (Liquid Crystal Display) or an OLED (Organic Light-Emitting Diode).
  • the touch panel 131 covers the display panel 141 to form a touch display screen 142.
  • the touch display screen 142 detects a touch operation on or near it, the touch display screen 142 transmits the touch screen to the processor. 160 determines the type of touch event, and processor 160 then provides a corresponding visual output on touch display 142 depending on the type of touch event.
  • the touch display screen 142 includes an application interface display area 143 and a common control display area 144.
  • the arrangement manner of the application interface display area 143 and the common control display area 144 is not limited, and may be arranged in an up-and-down manner, a left-right arrangement, or the like to distinguish the two display areas.
  • the application interface display area 143 can be used to display the interface of the application. Each interface can contain interface elements such as at least one application's icon and/or widget desktop control.
  • the application interface display area 143 can also be an empty interface that does not contain any content.
  • the common control display area 144 is used to display controls with high usage, such as setting buttons, interface numbers, scroll bars, phone book icons, and the like.
  • the processor 160 is a control center of the terminal 100, and connects various parts of the entire mobile phone by using various interfaces and lines, by running or executing software programs and/or modules stored in the first memory 120, and calling the storage in the first
  • the data in the two memories 121 performs various functions and processing data of the terminal 100, thereby performing overall monitoring of the terminal 100.
  • the processor 160 can include Includes one or more processing units.
  • a preset amount of interface information may be loaded into the first memory 120 from the interface information stored in the second memory 121, and an interface corresponding to the preset number of interface information is recorded.
  • the processor 160 reads interface information of any one of the first memory 120 or a predetermined number, and generates an interface according to the interface information, and controls the application interface display area 143 of the touch display screen 142 to display the generated interface as an initial. And displaying the interface number of the common control display area 144, and providing a user selection interface, wherein the interface number displayed by the common control display area 144 may be the interface number corresponding to the interface information loaded in the first memory 120, It may be an interface number corresponding to the interface information stored in the second memory 121.
  • the preset number is not greater than the maximum number of interface information that the first memory 120 can store.
  • the processor 160 may control at least part of the interface number displayed by the common control display area 144 to respond to a user input operation.
  • the interface number corresponding to the loaded interface information may be in response to the user input operation, and the interface number corresponding to the unloaded interface information does not respond to the user input. operating.
  • the processor 160 determines a target interface number according to a switching signal generated by the user operating the input unit 130 to switch interface operations, including:
  • the target interface number may be the previous interface number, the next interface number, or other loaded interface number of the currently displayed interface.
  • the switching signal can be a sliding signal, a drag signal or a touch click signal.
  • the switching signal is a sliding signal
  • the processor 160 determines, according to the sliding signal, that the target interface number is the previous interface number or the next interface number of the interface number corresponding to the current display interface.
  • the switching signal is a drag signal
  • the processor 160 parses the switching signal as a drag signal of the slider, and determines a drag distance and a drag direction corresponding to the drag signal, according to the drag distance and the drag The correspondence between the moving direction and the number of movements of the interface number determines the target interface number.
  • the switching signal is a touch click signal
  • the processor 160 parses the switching signal as When the touch signal is touched, the touch position corresponding to the touch click signal is acquired, and the target interface number is determined according to the correspondence between the touch position and the interface number.
  • the processor 160 determines an interface number adjacent to the target interface number according to a predetermined number adjacent to the target interface number, including:
  • the processor 160 determines that the predetermined number of interface numbers are adjacent to the left and right of the target interface number, wherein the predetermined numbers adjacent to the left and right may be equal or unequal.
  • interface numbers that are adjacent to each other on the left and right sides of the target interface number, or three interface numbers that are sequentially adjacent to the left of the target interface number, and four adjacent to the right of the target interface number.
  • Interface number For example, three interface numbers that are adjacent to each other on the left and right sides of the target interface number, or three interface numbers that are sequentially adjacent to the left of the target interface number, and four adjacent to the right of the target interface number.
  • the processor 160 may determine the predetermined number of interface numbers that are adjacent to the left or right of the target interface number.
  • the processor 160 determines three interface numbers that are sequentially adjacent to the left of the target interface, or four interface numbers that are sequentially adjacent to the right of the target interface.
  • the predetermined number adjacent to the target interface number and the adjacent manner with the target interface number are not limited, and the manufacturer or the user may define the adjacent mode and adjacent by a certain functional relationship or natural law in advance.
  • the number, the processor 160 can recognize that the interface number adjacent to the target interface number is applicable to the embodiment of the present invention.
  • the processor 160 determines the interface information corresponding to the interface number to be loaded, according to the interface number stored in the first memory 120 and the interface number adjacent to the target interface number, including:
  • the processor 160 may calculate the number of interface numbers adjacent to each side of the target interface number. If the number is different from the predetermined number adjacent to the target interface number, determine that the interface number to be loaded is empty, the processor 160 does not load interface information of the second memory 121; if the processor 160 determines that the number is consistent with a predetermined number adjacent to the target interface number, comparing the interface number in the first memory 120 with the target interface The number of the adjacent interface number is determined; the interface number that is not stored in the first memory 120 adjacent to the target interface number is determined, and the interface information corresponding to the interface number not stored in the first memory 120 is used as the interface to be loaded. Number corresponding to the interface letter Interest.
  • the processor 160 releases the storage space occupied by the interface information corresponding to at least part of the interface number of the first memory 120 that is not adjacent to the target interface number, and includes:
  • the storage space required, wherein the released storage space does not include the storage space occupied by the target interface information, or the storage space occupied by the interface information corresponding to the interface number not adjacent to the target interface number may be released.
  • the storage space required for the interface information corresponding to the interface number to be loaded is equal to the storage space occupied by the interface information corresponding to the interface number that is not adjacent to the target interface number, all releases are not adjacent to the target interface number.
  • the storage space occupied by the interface information corresponding to the interface number is equal to the storage space occupied by the interface information corresponding to the interface number that is not adjacent to the target interface number.
  • the processor 160 loads the interface information corresponding to the interface number to be loaded into the first memory 120, and includes:
  • the processor 160 can load the interface information corresponding to the interface number to be loaded in the storage space released by the first memory 120, and the processor 160 can update the storage address corresponding to the interface information to be loaded.
  • the processor 160 may also load the interface information corresponding to the interface number to be loaded to overwrite the stored interface information in the first memory 120, and the processor 160 may update an interface adjacent to the target interface number.
  • the processor 160 may control, according to the target interface number, the touch display screen 142 to display a target interface generated by the interface information corresponding to the target interface number.
  • the terminal 100 may further include: an RF (Radio Frequency) circuit 110, an audio circuit 170, a WiFi (Wireless Fidelity) module 180, and a power supply 190.
  • RF Radio Frequency
  • an audio circuit 170 an audio circuit 170
  • WiFi Wireless Fidelity
  • a power supply 190 a power supply 190.
  • the terminal structure shown in FIG. 1 does not constitute a limitation on the terminal 100, and may include more or less components than those shown in FIG. 1, for example, a part of the terminal may not have the WiFi module 170, or Combine some components, or different component arrangements.
  • the RF circuit 110 can be used for receiving and transmitting information during the transmission and reception of information or a call, and in particular, processing the downlink information of the base station received by the RF circuit to the processor 160; and transmitting the uplink information to the base station.
  • RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like.
  • RF circuitry 110 can also communicate with the network and other devices via wireless communication.
  • the wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division). Multiple Access, Code Division Multiple Access, WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and so on.
  • the speaker and microphone provide an audio interface between the user and the terminal 100.
  • the audio circuit 170 can transmit the converted electrical data of the received audio data to the speaker, and convert it into a sound signal output by the speaker; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 170 and then converted. For audio information, the audio information is then output to an RF circuit for transmission to, for example, another handset, or the audio information is output to memory 120 for further processing.
  • the WiFi is a short-range wireless transmission technology
  • the terminal 100 can help the user to send and receive emails, browse web pages, and access streaming media through the WiFi module 180, which provides wireless broadband Internet access for users.
  • FIG. 1 shows the WiFi module 180, it can be understood that it does not belong to the essential configuration of the terminal 100, and can be completely saved as needed within the scope of not changing the essence of the invention.
  • the power supply 190 can be logically coupled to the processor 160 through a power management system to manage functions such as charging, discharging, and power consumption through a power management system.
  • the terminal 100 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
  • the terminal 100 of the embodiment of the present invention will be described in detail below through a specific example.
  • the second memory 121 stores the interface information corresponding to the interface number 1-12
  • the first memory 120 can load the interface information corresponding to the seven interface numbers in the second memory 121 by the processor 160, and the user can operate the touch display.
  • the screen 142 performs cyclic loading and display of the interface information corresponding to the 1-12 interface numbers.
  • Pre-defining the preset number adjacent to the target interface number is 3, for example, the target interface number is 4, and the interface number adjacent to the target interface number is interface number 1, 2, 3 and interface number 5, 6, 7; Alternatively, the interface number adjacent to the target interface number is interface number 1, 2, 3; or, the interface number adjacent to the target interface number is interface number 5, 6, 7.
  • the scheme of the embodiment is described by taking the interface number adjacent to the target interface number as an example.
  • 3a-3c are schematic diagrams showing the operation mode of the switching interface according to an embodiment of the present invention.
  • the processor 160 loads the interface information corresponding to the interface number 1-7 from the second memory 121 to the first memory 120 in advance, and determines the target interface number according to the switching signal generated by the input operation of the user, for example: the switching signal is once The sliding signal generated by the sliding operation (as shown in FIG. 3a), the processor 160 determines, according to the one-time sliding signal, that the target interface number is the previous or next interface number of the interface number corresponding to the current display interface.
  • the switching signal may be a touch click signal, and the user may select a target interface number by touching the interface mark 145 (eg, a number of 1-7, or 7 iconic graphics) (as shown in FIG. 3b).
  • the processor 160 determines the target interface number based on the correspondence between the touch click location information and the interface number.
  • the switching signal is a drag signal of the sliding bar
  • the user can select a target interface number by dragging a sliding bar of the common control display area 12 (as shown in FIG. 3c).
  • the user can press and hold the application interface mark 145, and the processor 160 displays a slide bar on the interface mark 145 so that the user can quickly find the target interface number, and the processor 160 further according to the sliding distance. And the sliding direction to determine the target interface number.
  • the processor 160 determines that the target interface number is 5, and the interface numbers adjacent to the target interface number are 2, 3, 4, and 6, 7, 8, the processor 160 calculates adjacent to each side of the target number. If the number of the interface numbers is 3, it is determined that the number 3 is the same as the preset number of the preset number adjacent to the target interface number, and the interface number corresponding to the interface information in the first memory 120 is 1-1. 7. The interface information corresponding to the interface number No. 1-7 and the interface numbers 2, 3, 4, and 6, 7, 8 adjacent to the target interface number are determined to be not loaded in the first memory 120. Therefore, the interface information corresponding to the interface number 8 is determined as the interface information corresponding to the interface number to be loaded.
  • the processor 160 releases the storage space occupied by the interface information corresponding to the interface number 1 that is not adjacent to the target interface number, and loads the interface information corresponding to the interface number 8 into the released storage space, the processor 160 can update the storage address corresponding to the eighth interface to be the storage address corresponding to the first interface (as shown in FIG. 4).
  • the processor 160 calculates the target interface number respectively.
  • the number of interface numbers adjacent to the left side of the target number is 1 and the number of interface numbers adjacent to the right side is 3, and it is determined that the number of interface numbers adjacent to the target interface number is inconsistent with the preset number.
  • the processor 160 does not load the interface information of the second memory 121.
  • the processor 160 further controls the touch display 142 to display the target interface number.
  • the interface information in the second memory 121 is cyclically loaded to the In the first memory 120, this can alleviate the contradiction between the limitation of the storage capacity of the terminal and the increasing number of application interfaces, and does not affect the display speed of the interface to be displayed.
  • FIG. 5 is a schematic diagram of a terminal 200 that dynamically loads an application interface according to another embodiment of the present invention.
  • the terminal 200 can include a receiving module 210, a parsing module 230, a calculating module 250, a determining module 260, a releasing module 270, and a loading module 290. among them,
  • the receiving module 210 receives a switching signal generated by the user switching the application interface operation; the parsing module 230 parses the switching signal to determine a target interface number;
  • the calculating module 250 determines an interface number adjacent to the target interface number according to a predetermined number adjacent to the target interface number
  • the determining module 260 determines the interface information corresponding to the interface number to be loaded according to the interface number stored in the first memory 120 and the interface number adjacent to the target interface number;
  • the release module 270 releases the storage space occupied by the interface information corresponding to at least part of the interface numbers of the first memory 120 that is not adjacent to the target interface number;
  • the loading module 290 loads the interface information corresponding to the interface number to be loaded into the first memory 120.
  • the terminal 200 can load the interface information corresponding to the interface number adjacent to the target interface number by releasing the storage space occupied by the interface information corresponding to at least part of the interface number that is not adjacent to the target interface number, so that the interface information can be cyclically loaded.
  • Interface information the conflict between the limitations of the storage capacity of the terminal and the increasing number of application interfaces.
  • the first memory 120 is configured to store interface information of the preset number of applications of the terminal, where the interface information includes an interface element, an interface number, a correspondence between the interface number and the interface element, and the interface element is located in the interface.
  • the preset number refers to the number of interface information of an application that can be stored in the first memory.
  • the predetermined number refers to the number of interface numbers adjacent to each side of the target interface number.
  • the switching signal may be a sliding signal, a drag signal, or a touch click signal.
  • the switching signal is a sliding signal.
  • the parsing module 230 parses the switching signal to determine the target interface number, and includes: the parsing module 230 parses the sliding signal, and determines, according to the sliding signal, that the target interface number is the previous interface number or the next interface of the interface number corresponding to the current display interface. Numbering.
  • the switching signal is a drag signal of the sliding bar.
  • the parsing module 230 parses the switching signal to determine the target interface number, including: the parsing module 230 parses the drag signal, and determines a drag distance and a drag direction corresponding to the drag signal, according to the drag distance and the drag direction. The correspondence with the number of interface number movements determines the target interface number.
  • the switching signal is a touch click signal.
  • the parsing module 230 parses the switching signal to determine the target interface number, and includes: the parsing module 230 parses the touch click signal, obtains a touch position corresponding to the touch click signal, and determines a target interface number according to the correspondence between the touch position and the interface number. .
  • the calculating module 250 determines an interface number adjacent to the target interface number according to a predetermined quantity adjacent to the target interface number, including:
  • the calculation module 250 determines that the predetermined number of interface numbers are adjacent to the left and right of the target interface number, wherein the predetermined numbers of the left and right adjacent may be equal or unequal.
  • interface numbers that are adjacent to each other on the left and right sides of the target interface number, or three interface numbers that are sequentially adjacent to the left of the target interface number, and four adjacent to the right of the target interface number.
  • Interface number For example, three interface numbers that are adjacent to each other on the left and right sides of the target interface number, or three interface numbers that are sequentially adjacent to the left of the target interface number, and four adjacent to the right of the target interface number.
  • the calculation module 250 can determine the predetermined number of interface numbers that are adjacent to the left or right of the target interface number.
  • the calculation module 250 determines three interface numbers that are sequentially adjacent to the left of the target interface, or four interface numbers that are sequentially adjacent to the right of the target interface.
  • the predetermined number number adjacent to the target interface number and the adjacent manner with the target interface number are not limited, and the manufacturer or the user may define the adjacent mode and phase in advance through a certain functional relationship or a natural law.
  • the number of neighbors, the calculation module 250 can recognize that the interface numbers adjacent to the target interface number are applicable to the embodiment of the present invention.
  • the determining module 260 determines, according to the interface number stored in the first memory 120 and the interface number adjacent to the target interface number, interface information corresponding to the interface number to be loaded, including: The determining module 260 may calculate the number of interface numbers adjacent to each side of the target number, and if the number is different from the predetermined number adjacent to the target interface number, determine that the interface number to be loaded is empty; if the determining module 260: determining that the quantity is consistent with a predetermined number adjacent to the target interface number, and is greater than an interface number corresponding to the interface information in the first memory 120 and an interface number adjacent to the target interface number; determining is not stored in the The interface number of the first memory 120 adjacent to the target interface number is the interface information corresponding to the interface number not stored in the first memory 120 as the interface information corresponding to the interface number to be loaded.
  • the release module 270 releases the storage space occupied by the interface information corresponding to at least part of the interface number of the first memory 120 that is not adjacent to the target interface number, and includes:
  • the release module 270 is larger than the storage space required for the interface information corresponding to the interface number to be loaded and the interface information corresponding to the interface number not adjacent to the target interface number, if the interface number to be loaded is If the storage space required for the corresponding interface information is smaller than the storage space occupied by the interface information corresponding to the interface number that is not adjacent to the target interface number, the interface information corresponding to the interface number to be loaded in the first memory 120 may be released.
  • the storage space required, wherein the released storage space does not include the storage space occupied by the target interface information, or the storage space occupied by the interface information corresponding to the interface number not adjacent to the target interface number may be released.
  • the storage space required for the interface information corresponding to the interface number to be loaded is equal to the storage space occupied by the interface information corresponding to the interface number that is not adjacent to the target interface number, all releases are not adjacent to the target interface number.
  • the storage space occupied by the interface information corresponding to the interface number is equal to the storage space occupied by the interface information corresponding to the interface number that is not adjacent to the target interface number.
  • the load module 290 loads the interface information corresponding to the interface number to be loaded into the first memory 120, and includes:
  • the loading module 290 can load the interface information corresponding to the interface number to be loaded in the storage space released by the first memory 120, and the loading module 290 can update the storage address corresponding to the interface information to be loaded.
  • the loading module 290 can also load the interface information corresponding to the interface number to be loaded to overwrite the stored interface information in the first memory 120, and the loading module 290 can update.
  • the terminal 200 may further include a display module 280, and the display module 280 may display a target interface generated by the interface information corresponding to the target interface number.
  • the terminal 200 may load the interface information corresponding to the interface number adjacent to the target interface number by releasing the storage space occupied by the interface information corresponding to at least part of the interface number that is not adjacent to the target interface number. This can cyclically load interface information, slowing the conflict between the terminal's storage capacity limit and the growing number of application interfaces.
  • FIG. 6 is a flowchart of a method for dynamically loading an application interface according to an embodiment of the present invention.
  • the methods for dynamically loading an application interface include:
  • S610 Receive a switching signal generated by a user switching an application interface operation.
  • the signal generated by the user switching application interface operation may be a sliding signal generated by the user sliding the application interface; or may be a touch signal generated by the user clicking the application interface number; or the drag slider may be used to quickly find the target interface number. Drag signal.
  • S620 Parse the switching signal to determine a target interface number.
  • the switching signal may be a sliding signal, and the target interface number is determined as the previous interface number or the next interface number of the interface number corresponding to the current display interface.
  • parsing the switching signal may be a drag signal of the slider, acquiring a drag distance and a drag direction corresponding to the drag signal, and further according to the corresponding relationship between the drag distance and the drag direction and the number of the interface number movement Determine the target interface number.
  • the switching signal may be a touch click signal, and the touch location information corresponding to the touch click signal is obtained, and the target interface number is determined according to the correspondence between the touch location information and the interface number.
  • S630 Determine an interface number adjacent to the target interface number according to a predetermined number adjacent to the target interface number. Specifically, a predetermined number, a left adjacent predetermined number, or a right adjacent predetermined number of interface numbers adjacent to the target interface number are determined according to a predetermined number adjacent to the target interface number. The predetermined number of adjacent left and right may be equal or unequal.
  • interface numbers that are adjacent to each other on the left and right sides of the target interface number, or three interface numbers that are sequentially adjacent to the left of the target interface number, and four adjacent to the right of the target interface number.
  • Interface number For example, three interface numbers that are adjacent to each other on the left and right sides of the target interface number, or three interface numbers that are sequentially adjacent to the left of the target interface number, and four adjacent to the right of the target interface number.
  • the predetermined number of the adjacent to the target interface number and the adjacent manner with the target interface number are not limited, and the manufacturer or the user may define the adjacent mode and phase in advance through a certain functional relationship or a natural law.
  • the number of neighbors, the terminal can recognize that the interface number adjacent to the target interface number is applicable to the embodiment of the present invention.
  • S640 Determine interface information corresponding to the interface number to be loaded according to the interface number stored in the first memory 120 and the interface number adjacent to the target interface number.
  • FIG. 7 is a flowchart of a method for determining interface information corresponding to an interface number to be loaded according to an embodiment of the present invention.
  • S642 Determine whether the quantity and the predetermined quantity adjacent to the target interface number are consistent. If not, determine that the interface number to be loaded is empty. Otherwise, go to step S643.
  • S643 Compare the interface number in the first memory 120 with the interface number adjacent to the target interface number.
  • S650 Release the storage space occupied by the interface information corresponding to at least part of the interface number of the first memory 120 that is not adjacent to the target interface number.
  • the storage space required for the interface information corresponding to the interface number, wherein the released storage space does not include the storage space occupied by the target interface information, or the interface information corresponding to the interface number not adjacent to the target interface number may be All occupied storage space is released;
  • the storage space required for the interface information corresponding to the interface number to be loaded is equal to the storage space occupied by the interface information corresponding to the interface number that is not adjacent to the target interface number, all releases are not adjacent to the target interface number.
  • the storage space occupied by the interface information corresponding to the interface number is equal to the storage space occupied by the interface information corresponding to the interface number that is not adjacent to the target interface number.
  • S660 Load interface information corresponding to the interface number to be loaded into the first memory 120. Specifically, the interface information corresponding to the interface number to be loaded is loaded in the storage space released by the first memory 120, and the storage address corresponding to the interface information to be loaded may be updated.
  • the interface information corresponding to the interface number to be loaded may be loaded to cover the stored interface information in the first memory 120, and the interface information corresponding to the interface number adjacent to the target interface number may be updated.
  • S670 Further or optionally, displaying a target interface generated by the interface information corresponding to the target interface number according to the target interface number.
  • the first memory 120 stores interface information of a preset number of applications, where the interface information includes an interface element, an interface number, the interface number, and the interface element.
  • the preset number refers to the number of interface information of an application that can be stored in the first memory.
  • the predetermined number refers to the number of interface numbers adjacent to each side of the target interface number.
  • the terminal may be the terminal 100 or the terminal 200 described in the foregoing embodiment, or may be an electronic device such as a mobile phone, a tablet computer, or a PDA.
  • the terminal may load the interface information corresponding to the interface number adjacent to the target interface number by releasing the storage space occupied by the interface information corresponding to at least part of the interface number that is not adjacent to the target interface number.
  • the interface information can be cyclically loaded, alleviating the contradiction between the limitation of the storage capacity of the terminal and the increasing number of application interfaces.
  • RAM random access memory
  • ROM read only memory
  • electrically programmable ROM electrically erasable programmable ROM
  • registers hard disk, removable disk, CD-ROM, or technical field. Any other form of storage medium known.
  • the invention is not limited to this.
  • Various equivalent modifications and alterations to the embodiments of the present invention can be made by those skilled in the art without departing from the spirit and scope of the invention.

Landscapes

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

Abstract

Disclosed are a terminal and a method for dynamically loading an application program interface. The method comprises: receiving a switch signal generated when a user switches an application program interface; parsing the switch signal and determining a target interface number; determining an interface number adjacent to the target interface number according to a preset quantity adjacent to the target interface number; determining, according to an interface number stored in a first memory and the interface number adjacent to the target interface number, interface information corresponding to an interface number to be loaded; releasing, in the first memory, a memory space occupied by interface information corresponding to at least some interface numbers that are not adjacent to the target interface number; and loading, to the first memory, the interface information corresponding to the interface number to be loaded. According to embodiments of the present invention, at least some memory spaces occupied by interface information that is not adjacent to the target interface number are released to load interface information adjacent to the target interface number, so that the contradiction between the limited memory capacity of a terminal and the increasing quantity of application program interfaces can be relieved.

Description

一种终端及动态加载应用程序界面的方法 本申请要求于 2012 年 09 月 07 日提交中国专利局, 申请号为 201210329833.3、 发明名称为 "一种终端及动态加载应用程序界面的方法" 的 中国专利申请, 其全部内容通过引用结合在本申请中。  A terminal and a method for dynamically loading an application interface. The present application claims to be submitted to the Chinese Patent Office on September 7, 2012, the application number is 201210329833.3, and the invention title is "a terminal and a method for dynamically loading an application interface". The application, the entire contents of which is incorporated herein by reference.
技术领域 Technical field
本发明涉及通信技术领域, 特别涉及动态加载应用程序界面的终端及动 态加载应用程序界面的方法。 背景技术  The present invention relates to the field of communications technologies, and in particular, to a terminal for dynamically loading an application interface and a method for dynamically loading an application interface. Background technique
随着移动通信的飞速发展, 终端的功能日益丰富, 例如: 手机、 平板电 脑, 个人数字助理( Personal Digital Assistant, PDA )等终端, 绝大多数终端 都釆用较大应用程序界面来显示应用程序图标或 widget桌面控件, 随着应用 程序功能的丰富, 各种应用程序图标、 widget 桌面控件的数量越来越多, 单 一应用程序界面无法完全显示所有的应用图标或 widget桌面控件, 这使得终 端的应用程序界面数量不断增加。 但是, 由于目前终端的内存容量有限, 导 致终端为用户提供的用于显示应用程序图标及 widget桌面控件的应用程序界 面数量也有限, 这种限制同日益增加的终端功能之间的矛盾也越来越突出, 无法满足用户的使用需求。 发明内容  With the rapid development of mobile communications, terminals are increasingly rich in functions, such as mobile phones, tablets, personal digital assistants (PDAs), etc. Most terminals use a large application interface to display applications. Icon or widget desktop control, with the richness of application functions, the number of various application icons and widget desktop controls is increasing, and the single application interface cannot fully display all application icons or widget desktop controls, which makes the terminal The number of application interfaces continues to increase. However, due to the limited memory capacity of the current terminal, the number of application interfaces provided by the terminal for displaying the application icons and the widget desktop controls is limited, and the contradiction between this limitation and the increasing terminal functions is also increasing. The more prominent, the inability to meet the user's needs. Summary of the invention
本发明实施例提供了一种终端及动态加载应用程序界面方法, 可以循环 加载应用程序的界面信息, 从而緩解存储容量的限制与日益增长的应用程序 界面数量之间的矛盾。  Embodiments of the present invention provide a terminal and a method for dynamically loading an application interface, which can cyclically load interface information of an application, thereby alleviating the contradiction between the limitation of storage capacity and the increasing number of application interfaces.
第一方面, 提供一种动态加载应用程序界面的方法, 包括: 接收用户切 换应用程序界面操作产生的切换信号; 解析所述切换信号, 确定目标界面编 号; 根据与所述目标界面编号相邻的预定数量确定与所述目标界面编号相邻 的界面编号; 根据第一存储器中存储的界面编号和与所述目标界面编号相邻 的界面编号, 确定待加载的界面编号对应的界面信息; 释放所述第一存储器 中与所述目标界面编号不相邻的至少部分界面编号对应的界面信息所占用的 存储空间; 加载所述待加载的界面编号对应的界面信息到所述第一存储器。 The first aspect provides a method for dynamically loading an application interface, including: receiving a switching signal generated by a user switching an application interface operation; parsing the switching signal, and determining a target interface Determining an interface number adjacent to the target interface number according to a predetermined number adjacent to the target interface number; determining according to an interface number stored in the first memory and an interface number adjacent to the target interface number The interface information corresponding to the interface number to be loaded; releasing the storage space occupied by the interface information corresponding to at least part of the interface number that is not adjacent to the target interface number in the first memory; loading the interface number to be loaded Interface information to the first memory.
在第一方面的第一种可能的实现方式中, 根据与该目标界面编号相邻的 预定数量确定与所述目标界面编号相邻的界面编号, 包括: 根据与所述目标 界面编号相邻的预定数量确定与所述目标界面编号左右都相邻预定数量、 左 相邻预定数量或者右相邻预定数量的界面编号。  In a first possible implementation manner of the first aspect, determining an interface number adjacent to the target interface number according to a predetermined quantity adjacent to the target interface number, including: according to the adjacent to the target interface number The predetermined number is determined to be adjacent to the target interface number by a predetermined number, a left adjacent predetermined number, or a right adjacent predetermined number of interface numbers.
结合第一方面或第一方面的第一种可能的实现方式, 在第二种可能的实 现方式中, 根据第一存储器中存储的界面编号和与所述目标界面编号相邻的 界面编号, 确定待加载的界面编号对应的界面信息, 包括: 计算与所述目标 界面编号每一侧相邻的界面编号数量; 确定所述数量和与所述目标界面编号 相邻的预定数量一致; 比对所述第一存储器中的界面信息对应的界面编号和 与所述目标编号相邻的界面编号; 确定未存储于所述第一存储器的, 与所述 目标界面编号相邻的界面编号对应的界面信息作为待加载的界面编号对应的 界面信息。  With reference to the first aspect or the first possible implementation manner of the first aspect, in a second possible implementation manner, determining, according to an interface number stored in the first memory and an interface number adjacent to the target interface number The interface information corresponding to the interface number to be loaded includes: calculating a number of interface numbers adjacent to each side of the target interface number; determining that the quantity is consistent with a predetermined number adjacent to the target interface number; An interface number corresponding to the interface information in the first memory and an interface number adjacent to the target number; determining interface information corresponding to the interface number adjacent to the target interface number that is not stored in the first memory The interface information corresponding to the interface number to be loaded.
结合第一方面或上述任一可能的实现方式, 在第三种可能的实现方式中, 释放所述第一存储器中与所述目标界面编号不相邻的至少部分界面编号对应 的界面信息所占用的存储空间, 包括: 比对所述待加载的界面编号对应的界 信息所占用的存储空间; 若所述待加载的界面编号对应的界面信息所需的存 存储空间, 则释放所述第一存储器中所述待加载的界面编号对应的界面信息 所需的存储空间, 其中, 所释放的存储空间不包括所述目标界面信息占用的 所占用的存储空间。 With reference to the first aspect, or any one of the foregoing possible implementation manners, in a third possible implementation, the interface information corresponding to at least part of the interface number that is not adjacent to the target interface number in the first memory is released. The storage space includes: a storage space occupied by the boundary information corresponding to the interface number to be loaded; and if the storage space required for the interface information corresponding to the interface number to be loaded is released, releasing the first a storage space required for the interface information corresponding to the interface number to be loaded in the memory, where the released storage space does not include the occupied by the target interface information. The storage space used.
结合第一方面或上述任一可能的实现方式, 在第四种可能的实现方式中, 加载所述待加载的界面编号对应的界面信息到所述第一存储器, 包括: 加载 所述待加载的界面编号对应的界面信息于所述第一存储器释放的存储空间 中, 并更新所述待加载的界面编号对应的界面信息对应的存储地址;  With the first aspect or any of the foregoing possible implementations, in a fourth possible implementation, loading the interface information corresponding to the interface number to be loaded to the first memory includes: loading the to-be-loaded The interface information corresponding to the interface number is in the storage space released by the first memory, and the storage address corresponding to the interface information corresponding to the interface number to be loaded is updated;
或者加载所述待加载的界面编号对应的界面信息于所述第一存储器中覆 盖已存储的界面信息, 其中, 被覆盖的界面信息不包括所述目标界面信息。  Or loading the interface information corresponding to the interface number to be loaded to cover the stored interface information in the first memory, where the covered interface information does not include the target interface information.
第二方面, 提供一种终端, 包括, 接收模块、 解析模块、 计算模块、 确 定模块、 释放模块及加载模块, 所述接收模块接收用户切换应用程序界面操 作产生的切换信号; 所述解析模块解析该切换信号, 确定目标界面编号; 所 述计算模块根据与所述目标界面编号相邻的预定数量确定与所述目标界面编 号相邻的界面编号; 所述确定模块根据第一存储器中存储的界面编号和与所 述目标界面编号相邻的界面编号, 确定待加载的界面编号对应的界面信息; 所述释放模块释放所述第一存储器中与所述目标界面编号不相邻的至少部分 界面编号对应的界面信息所占用的存储空间; 所述加载模块加载所述待加载 的界面编号对应的界面信息到所述第一存储器。  The second aspect provides a terminal, including: a receiving module, a parsing module, a calculating module, a determining module, a releasing module, and a loading module, where the receiving module receives a switching signal generated by a user switching an application interface operation; The switching signal determines a target interface number; the calculating module determines an interface number adjacent to the target interface number according to a predetermined number adjacent to the target interface number; the determining module is configured according to the interface stored in the first memory a number and an interface number adjacent to the target interface number, and determining interface information corresponding to the interface number to be loaded; the release module releasing at least part of the interface number in the first memory that is not adjacent to the target interface number The storage space occupied by the corresponding interface information; the loading module loads the interface information corresponding to the interface number to be loaded to the first memory.
在第二方面的第一种可能的实现方式中, 所述计算模块根据与所述目标 界面编号相邻的预定数量确定与所述目标界面编号相邻的界面编号, 包括: 所述计算模块根据与所述目标界面编号相邻的预定数量确定与所述目标界面 编号左右都相邻预定数量、 左相邻预定数量或者右相邻预定数量的界面编号。  In a first possible implementation manner of the second aspect, the calculating module determines, according to a predetermined number adjacent to the target interface number, an interface number that is adjacent to the target interface number, including: the calculating module is configured according to The predetermined number adjacent to the target interface number is determined to be adjacent to the target interface number by a predetermined number, a left adjacent predetermined number, or a right adjacent predetermined number of interface numbers.
结合第二方面或上述任一可能的实现方式, 在第二种可能的实现方式中, 所述确定模块根据第一存储器中存储的界面编号和与所述目标界面编号相邻 的界面编号, 确定待加载的界面编号对应的界面信息, 包括: 所述确定模块 计算与所述目标界面编号每一侧相邻的界面编号数量; 确定所述数量和与所 述目标界面编号相邻的预定数量一致; 比对所述第一存储器中的界面信息对 应的界面编号和与所述目标编号相邻的界面编号; 确定未存储于所述第一存 储器的, 与所述目标编号相邻的界面编号对应的界面信息作为待加载的界面 编号对应的界面信息。 With reference to the second aspect or any of the foregoing possible implementation manners, in a second possible implementation manner, the determining module is determined according to an interface number stored in the first memory and an interface number adjacent to the target interface number. The interface information corresponding to the interface number to be loaded includes: the determining module calculates a number of interface numbers adjacent to each side of the target interface number; determining that the quantity is consistent with a predetermined number adjacent to the target interface number Comparing an interface number corresponding to the interface information in the first memory with an interface number adjacent to the target number; determining not to be stored in the first storage The interface information corresponding to the interface number adjacent to the target number of the storage is used as the interface information corresponding to the interface number to be loaded.
结合第二方面或上述任一可能的实现方式, 在第三种可能的实现方式中, 所述释放模块释放所述第一存储器中与所述目标界面编号不相邻的至少部分 界面编号对应的界面信息所占用的存储空间, 包括: 所述释放模块比对所述 待加载的界面编号对应的界面信息所需的存储空间和与所述目标界面编号不 相邻的界面编号对应的界面信息所占用的存储空间; 若所述待加载的界面编 号对应的界面信息所需的存储空间小于与所述目标界面编号不相邻的界面编 号对应的界面信息所占用的存储空间, 则释放所述第一存储器中所述待加载 的界面编号对应的界面信息所需的存储空间, 其中, 所释放的存储空间不包 括所述目标界面信息占用的存储空间, 或者释放与所述目标界面编号不相邻 的界面编号对应的界面信息所占用的存储空间。  With reference to the second aspect, or any one of the foregoing possible implementation manners, in a third possible implementation manner, the releasing module releases at least part of an interface number in the first memory that is not adjacent to the target interface number. The storage space occupied by the interface information includes: a storage space required by the release module to compare interface information corresponding to the interface number to be loaded, and interface information corresponding to an interface number not adjacent to the target interface number. The occupied storage space; if the storage space required for the interface information corresponding to the interface number to be loaded is smaller than the storage space occupied by the interface information corresponding to the interface number not adjacent to the target interface number, the first a storage space required for the interface information corresponding to the interface number to be loaded in a memory, where the released storage space does not include the storage space occupied by the target interface information, or is not adjacent to the target interface number. The interface number corresponds to the storage space occupied by the interface information.
结合第二方面或上述任一可能的实现方式, 在第四种可能的实现方式中, 所述用户切换应用程序界面操作产生的信号, 包括: 所述加载模块加载所述 待加载的界面编号对应的界面信息到所述第一存储器, 包括: 所述加载模块 加载所述待加载的界面编号对应的界面信息于所述第一存储器释放的存储空 间中, 并更新所述待加载的界面编号对应的界面信息对应的存储地址; 或者 加载所述待加载的界面编号对应的界面信息于所述第一存储器中覆盖已存储 的界面信息, 其中, 被覆盖的界面信息不包括所述目标界面信息。  With reference to the second aspect, or any one of the foregoing possible implementation manners, in a fourth possible implementation manner, the user switching the signal generated by the application interface operation includes: loading, by the loading module, the interface number to be loaded The interface information is sent to the first memory, and the loading module loads the interface information corresponding to the interface number to be loaded in the storage space released by the first memory, and updates the interface number to be loaded. The interface information corresponding to the interface information; or the interface information corresponding to the interface number to be loaded is used to overwrite the stored interface information in the first memory, wherein the covered interface information does not include the target interface information.
结合第二方面或上述任一可能的实现方式, 在第五种可能的实现方式中, 所述接收模块接收用户切换应用程序界面操作产生的切换信号, 包括: 所述 接收模块接收用户滑动界面产生的滑动信号、 拖动界面滑动条产生的拖动信 号, 或者触摸点击界面编号产生的点击信号的一种或多种。  With reference to the second aspect or any of the foregoing possible implementation manners, in a fifth possible implementation manner, the receiving module receives a switching signal generated by a user switching an application interface operation, and the method includes: the receiving module receiving a user sliding interface generated The sliding signal, the drag signal generated by dragging the interface slider, or one or more of the click signals generated by touching the interface number.
第三方面, 提供一种终端, 包括第一存储器、 处理器及输入单元, 其特 征在于, 所述第一存储器存储所述终端预设数量的应用程序的界面信息, 所 述界面信息包括界面元素、 界面编号、 该界面编号与该界面元素的对应关系、 以及该界面元素位于该界面编号对应的应用程序界面的位置信息; 所述输入 单元用于接收用户切换应用程序界面操作, 并产生切换信号; 所述处理器用 于根据该切换信号确定目标界面编号; 根据与所述目标界面编号相邻的预定 数量确定与所述目标界面编号相邻的界面编号; 根据所述第一存储器存储的 界面编号和与所述目标界面编号相邻的界面编号, 确定未被加载的界面编号 对应的界面信息为待加载的界面编号对应的界面信息; 释放所述第一存储器 中与所述目标界面编号不相邻的至少部分界面编号对应的界面信息所占用的 存储空间; 加载所述待加载的界面编号对应的界面信息到所述第一存储器。 In a third aspect, a terminal is provided, including a first memory, a processor, and an input unit, wherein the first memory stores interface information of a preset number of applications of the terminal, where the interface information includes an interface element. , the interface number, the correspondence between the interface number and the interface element, And the interface element is located at the location information of the application interface corresponding to the interface number; the input unit is configured to receive a user switching application interface operation, and generate a switching signal; the processor is configured to determine a target interface number according to the switching signal; Determining an interface number adjacent to the target interface number according to a predetermined number adjacent to the target interface number; determining, according to the interface number stored in the first memory and an interface number adjacent to the target interface number The interface information corresponding to the loaded interface number is the interface information corresponding to the interface number to be loaded; releasing the storage space occupied by the interface information corresponding to at least part of the interface number that is not adjacent to the target interface number in the first memory. Loading the interface information corresponding to the interface number to be loaded to the first memory.
在第三方面的第一种可能的实现方式中, 所述终端还包括第二存储器, 所述待加载的界面编号对应的界面信息存储于所述第二存储器。  In a first possible implementation manner of the third aspect, the terminal further includes a second memory, where interface information corresponding to the interface number to be loaded is stored in the second memory.
结合第三方面或者第三方面的第一种可能的实现方式, 在第二种可能的 实现方式中, 所述待加载的界面编号对应的界面信息存储于第二存储器, 所 述第二存储器位于云服务器。  With reference to the third aspect, or the first possible implementation manner of the third aspect, in a second possible implementation, the interface information corresponding to the interface number to be loaded is stored in the second memory, where the second memory is located Cloud Server.
结合第三方面或上述任一可能的实现方式, 在第三种可能的实现方式中, 所述处理器根据与该目标界面编号相邻的预定数量确定与所述目标界面编号 相邻的界面编号, 包括:  With reference to the third aspect, or any one of the foregoing possible implementation manners, in a third possible implementation manner, the processor determines an interface number adjacent to the target interface number according to a predetermined quantity adjacent to the target interface number , including:
所述处理器根据与所述目标界面编号相邻的预定数量确定与所述目标界 面编号左右都相邻预定数量、 左相邻预定数量或者右相邻预定数量的界面编 号。  The processor determines, based on a predetermined number adjacent to the target interface number, a predetermined number adjacent to the target interface number, a left adjacent predetermined number, or a right adjacent predetermined number of interface numbers.
结合第三方面或上述任一可能的实现方式, 在第四种可能的实现方式中, 所述处理器根据第一存储器中存储的界面编号和与所述目标界面编号相邻的 界面编号, 确定待加载的界面编号对应的界面信息, 包括: 所述处理器计算 与所述目标界面编号每一侧相邻的界面编号数量; 确定所述数量和与所述目 标界面编号相邻的预定数量一致; 则比对所述第一存储器中的界面信息对应 的界面编号和与所述目标界面编号相邻的界面编号; 确定未存储于所述第一 的界面编号对应的界面信息。 With reference to the third aspect, or any one of the foregoing possible implementation manners, in a fourth possible implementation manner, the processor determines, according to an interface number stored in the first memory and an interface number adjacent to the target interface number. The interface information corresponding to the interface number to be loaded includes: the processor calculating a number of interface numbers adjacent to each side of the target interface number; determining that the quantity is consistent with a predetermined number adjacent to the target interface number And comparing an interface number corresponding to the interface information in the first memory with an interface number adjacent to the target interface number; determining not to be stored in the first The interface number corresponds to the interface information.
结合第三方面或上述任一可能的实现方式, 在第五种可能的实现方式中, 所述处理器释放所述第一存储器中与所述目标界面编号不相邻的至少部分界 面编号对应的界面信息所占用的存储空间, 包括: 所述处理器比对所述待加 载的界面编号对应的界面信息所需的存储空间和与所述目标界面编号不相邻 的界面编号对应的界面信息所占用的存储空间; 若所述待加载的界面编号对 应的界面信息所需的存储空间小于与所述目标界面编号不相邻的界面编号对 应的界面信息所占用的存储空间, 则释放所述第一存储器中所述待加载的界 面编号对应的界面信息所需的存储空间, 其中, 所释放的存储空间不包括所 述目标界面信息占用的存储空间, 或者释放与所述目标界面编号不相邻的界 面编号对应的界面信息所占用的存储空间。  With reference to the third aspect, or any one of the foregoing possible implementation manners, in a fifth possible implementation manner, the processor is configured to release at least part of an interface number of the first memory that is not adjacent to the target interface number. The storage space occupied by the interface information includes: a storage space required by the processor to compare interface information corresponding to the interface number to be loaded, and interface information corresponding to an interface number not adjacent to the target interface number. The occupied storage space; if the storage space required for the interface information corresponding to the interface number to be loaded is smaller than the storage space occupied by the interface information corresponding to the interface number not adjacent to the target interface number, the first a storage space required for the interface information corresponding to the interface number to be loaded in a memory, where the released storage space does not include the storage space occupied by the target interface information, or is not adjacent to the target interface number. The interface number corresponds to the storage space occupied by the interface information.
结合第三方面或上述任一可能的实现方式, 在第六种可能的实现方式中, 所述处理器加载所述待加载的界面编号对应的界面信息到所述第一存储器, 包括: 所述处理器加载所述待加载的界面编号对应的界面信息于所述第一存 储器释放的存储空间中, 并更新所述待加载的界面编号对应的界面信息对应 的存储地址; 或者加载所述待加载的界面编号对应的界面信息于所述第一存 储器中覆盖已存储的界面信息, 其中, 被覆盖的界面信息不包括所述目标界 面信息。  With reference to the third aspect or any of the foregoing possible implementation manners, in a sixth possible implementation, the loading, by the processor, the interface information corresponding to the interface number to be loaded to the first memory, The processor loads the interface information corresponding to the interface number to be loaded in the storage space of the first memory, and updates the storage address corresponding to the interface information corresponding to the interface number to be loaded; or loads the to-be-loaded The interface information corresponding to the interface number covers the stored interface information in the first memory, where the covered interface information does not include the target interface information.
结合第三方面或上述任一可能的实现方式, 在第七种可能的实现方式中, 所述处理器接收用户切换应用程序界面操作产生的切换信号, 包括: 所述处 理器接收用户滑动界面产生的滑动信号、 拖动界面滑动条产生的拖动信号, 或者触摸点击界面编号产生的点击信号的一种或多种。  With reference to the third aspect, or any one of the foregoing possible implementation manners, in a seventh possible implementation manner, the receiving, by the processor, a switching signal generated by a user switching an application interface operation, the method includes: the processor receiving a user sliding interface generated The sliding signal, the drag signal generated by dragging the interface slider, or one or more of the click signals generated by touching the interface number.
基于上述技术方案, 本发明实施例的终端及动态加载应用程序界面的方 法, 可以通过释放第一存储器中, 与所述目标界面编号不相邻的至少部分界 面编号对应的界面信息所占用的存储空间, 加载与所述目标界面编号相邻的 界面编号对应的界面信息,从而可以循环加载界面信息, 减緩终端的存储容量 的限制与日益增长的应用程序界面数量之间的矛盾。 附图说明 Based on the foregoing technical solution, the terminal and the method for dynamically loading an application interface in the embodiment of the present invention may release the storage occupied by the interface information corresponding to at least part of the interface number of the first memory that is not adjacent to the target interface number. Space, loading interface information corresponding to the interface number adjacent to the target interface number, thereby cyclically loading the interface information, and slowing down the storage capacity of the terminal The contradiction between the limitations and the growing number of application interfaces. DRAWINGS
为了更清楚地说明本发明实施例的技术方案, 下面将对本发明实施例中 所需要使用的附图作简单地介绍, 显而易见地, 下面所描述的附图仅仅是本 发明的一些实施例, 对于本领域普通技术人员来讲, 在不付出创造性劳动的 前提下, 还可以根据这些附图获得其他的附图。  In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings to be used in the embodiments of the present invention will be briefly described below. It is obvious that the drawings described below are only some embodiments of the present invention, Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图 1示出的是本发明实施例终端的结构示意图。  FIG. 1 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
图 2是本发明实施例的触摸显示屏的显示区域示意图。  2 is a schematic view showing a display area of a touch display screen according to an embodiment of the present invention.
图 3a-3c为本发明实施例切换界面操作方式的示意图。  3a-3c are schematic diagrams showing the operation mode of the switching interface according to an embodiment of the present invention.
图 4为本发明实施例加载界面信息过程的示意图。  FIG. 4 is a schematic diagram of a process of loading interface information according to an embodiment of the present invention.
图 5是本发明另一实施例动态加载应用程序界面的终端的示意图。  FIG. 5 is a schematic diagram of a terminal for dynamically loading an application interface according to another embodiment of the present invention.
图 6为本发明实施例动态加载应用程序界面的方法的流程图。  FIG. 6 is a flowchart of a method for dynamically loading an application interface according to an embodiment of the present invention.
图 7 为本发明实施例确定待加载的界面编号对应的界面信息的方法流程 图。 具体实施方式  FIG. 7 is a flowchart of a method for determining interface information corresponding to an interface number to be loaded according to an embodiment of the present invention. detailed description
下面将结合本发明实施例中的附图, 对本发明实施例中的技术方案进行 清楚、 完整地描述, 显然, 所描述的实施例是本发明的一部分实施例, 而不 是全部实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创 造性劳动的前提下所获得的所有其他实施例, 都应属于本发明保护的范围。  The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without making creative labor are within the scope of the present invention.
本发明实施例涉及一种终端 100及动态加载应用程序界面的方法, 该终 端 100可以为手机、 平板电脑、 PDA ( Personal Digital Assistant, 个人数字助 理)、 POS ( Point of Sales, 销售终端)、 或车载电脑等。  The embodiment of the invention relates to a terminal 100 and a method for dynamically loading an application interface. The terminal 100 can be a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), a POS (Point of Sales, a sales terminal), or Car computer, etc.
图 1示出的是本发明实施例终端 100的结构示意图。  FIG. 1 is a schematic structural diagram of a terminal 100 according to an embodiment of the present invention.
参考图 1 , 本发明实施例的一种终端 100, 包括, 第一存储器 120、 处理 器 160及输入单元 130,该第一存储器 120存储该终端预设数量的应用程序的 界面信息, 其中, 该界面信息包括界面元素、 界面编号、 该界面编号与该界 面元素的对应关系、 以及该界面元素位于该界面编号对应的应用程序界面的 位置信息; 该输入单元 130用于接收用户切换应用程序界面操作, 并产生切 换信号; 该处理器 160 用于根据该切换信号确定目标界面编号; 根据与该目 标界面编号相邻的预定数量确定与该目标界面编号相邻的界面编号; 根据该 第一存储器 120 中存储的界面编号和与该目标界面编号相邻的界面编号, 确 定待加载的界面编号对应的界面信息; 释放该第一存储器 120 中与该目标界 面编号不相邻的至少部分界面编号对应的界面信息所占用的存储空间; 加载 该待加载的界面编号对应的界面信息到该第一存储器 120中。 Referring to FIG. 1 , a terminal 100 of an embodiment of the present invention includes: a first memory 120, processing And the input unit 130, the first memory 120 stores interface information of the preset number of applications of the terminal, where the interface information includes an interface element, an interface number, a correspondence between the interface number and the interface element, and the The interface element is located at the location information of the application interface corresponding to the interface number; the input unit 130 is configured to receive a user switching application interface operation, and generate a switching signal; the processor 160 is configured to determine a target interface number according to the switching signal; Determining an interface number adjacent to the target interface number to determine an interface number adjacent to the target interface number; determining an interface to be loaded according to an interface number stored in the first memory 120 and an interface number adjacent to the target interface number And the interface information corresponding to the interface information corresponding to at least part of the interface number that is not adjacent to the target interface number in the first memory 120; and loading the interface information corresponding to the interface number to be loaded to the first In a memory 120.
其中, 该预设数量是指可以存储于该第一存储器的应用程序的界面信息 的数量。 该预定数量是指与该目标界面编号每一侧相邻的界面编号的数量。  The preset number refers to the number of interface information of an application that can be stored in the first memory. The predetermined number refers to the number of interface numbers adjacent to each side of the target interface number.
该处理器 160可以通过释放该第一存储器 120中, 与该目标界面编号不 相邻的至少部分界面编号对应的界面信息所占用的存储空间, 加载与该目标 界面编号相邻的界面编号对应的界面信息于该第一存储器 120 中, 从而可以 循环加载界面信息, 减緩终端 100 的存储容量的限制与日益增长的应用程序 界面数量之间的矛盾。  The processor 160 may release the storage space occupied by the interface information corresponding to at least part of the interface number of the first memory 120 that is not adjacent to the target interface number, and load the interface number adjacent to the target interface number. The interface information is in the first memory 120, so that the interface information can be cyclically loaded, and the contradiction between the limitation of the storage capacity of the terminal 100 and the increasing number of application interfaces is alleviated.
其中, 根据该第一存储器 120 中存储的界面编号和与该目标界面编号相 邻的界面编号, 确定待加载的界面编号对应的界面信息, 具体为: 根据该第 一存储器 120 中存储的界面编号和与该目标界面编号相邻的界面编号, 确定 该第一存储器 120 中未存储的界面编号, 该未存储的界面编号对应的界面信 息为该第一存储器 120中待加载的界面编号对应的界面信息。  The interface information corresponding to the interface number to be loaded is determined according to the interface number stored in the first memory 120 and the interface number adjacent to the target interface number, specifically: according to the interface number stored in the first memory 120. An interface number adjacent to the target interface number is used to determine an interface number that is not stored in the first memory 120. The interface information corresponding to the unstored interface number is an interface corresponding to the interface number to be loaded in the first memory 120. information.
需要说明的是, 该处理器 160可以调用该第一存储器 120中存储的与该 目标界面编号对应的界面元素、 以及该界面元素显示于该界面编号对应的应 用程序界面的位置信息, 从而将该界面元素显示在与该目标界面编号对应的 应用程序界面。 其中, 该界面元素可以是应用程序图标或 widget桌面控件等。 本发明实施例中, 该终端 100还可以包括第二存储器 121 , 该第二存储器 121可以用于存储终端 100的所有应用程序的界面信息。该处理器 160加载该 待加载的界面编号对应的界面信息到该第一存储器 120 中, 具体为: 该处理 器 160调用该第二存储器 121 中待加载的界面编号对应的界面信息, 将该待 加载的界面编号对应的界面信息加载到该第一存储器 120中。 It should be noted that the processor 160 may call the interface element corresponding to the target interface number stored in the first memory 120 and the location information of the application interface corresponding to the interface element displayed by the interface element, thereby The interface element is displayed in the application interface corresponding to the target interface number. The interface element may be an application icon or a widget desktop control. In the embodiment of the present invention, the terminal 100 may further include a second memory 121, where the second memory 121 may be used to store interface information of all applications of the terminal 100. The processor 160 loads the interface information corresponding to the interface number to be loaded into the first memory 120. Specifically, the processor 160 invokes the interface information corresponding to the interface number to be loaded in the second memory 121, and the The interface information corresponding to the loaded interface number is loaded into the first memory 120.
可以理解的, 该第二存储器 121可以为该终端 100的外存, 该第一存储 器 120可以为该终端 100的内存。 该处理器 160可以从该第二存储器 121中 加载预设数量的界面信息到该第一存储器 120 中。 每个加载的界面信息在该 第一存储器 120 中对应一个存储空间, 可选的, 每个存储空间可以相同。 该 第一存储器 120可以为 NVRAM非易失存储器、 DRAM动态随机存储器、 SRAM静态随机存储器、 Flash闪存等其中之一; 该第二存储器 121可以为硬 盘、 光盘、 USB盘、 软盘或磁带机等。  It can be understood that the second memory 121 can be an external memory of the terminal 100, and the first memory 120 can be the memory of the terminal 100. The processor 160 can load a preset amount of interface information from the second memory 121 into the first memory 120. Each loaded interface information corresponds to one storage space in the first memory 120. Alternatively, each storage space may be the same. The first memory 120 may be one of NVRAM nonvolatile memory, DRAM dynamic random access memory, SRAM static random access memory, flash flash memory, etc.; the second memory 121 may be a hard disk, an optical disk, a USB disk, a floppy disk or a tape drive or the like.
本发明实施例中, 终端的所有界面信息可以存储在云服务器, 该云服务 器可以为第二存储器 121。该处理器 160加载该待加载的界面编号对应的界面 信息到该第一存储器 120中, 具体为: 该处理器 160通过网络通道获取该云 服务器中待加载的界面编号对应的界面信息, 将该待加载的界面编号对应的 界面信息加载到该第一存储器 120中。  In the embodiment of the present invention, all interface information of the terminal may be stored in the cloud server, and the cloud server may be the second memory 121. The processor 160 loads the interface information corresponding to the interface number to be loaded into the first memory 120, specifically: the processor 160 acquires interface information corresponding to the interface number to be loaded in the cloud server through the network channel, The interface information corresponding to the interface number to be loaded is loaded into the first memory 120.
该输入单元 130可用于接收输入的数字或字符信息,以及产生与终端 100 的用户设置以及功能控制有关的信号输入。 具体地, 本发明实施例中, 该输 入单元 130可以包括触控面板 131。 触控面板 131 , 也称为触摸屏, 可收集用 户在其上或附近的触摸操作 (比如用户使用手指、 触笔等任何适合的物体或 附件在触控面板 131上或在触控面板 131的操作 ), 并根据预先设定的程式驱 动相应的连接装置。 可选的, 触控面板 131 可包括触摸检测装置和触摸控制 器两个部分。 其中, 触摸检测装置检测用户的触摸方位, 并检测触摸操作带 来的信号, 将信号传送给触摸控制器; 触摸控制器从触摸检测装置上接收触 摸信息, 并将它转换成触点坐标, 再送给该处理器 160, 并能接收处理器 160 发来的命令并加以执行。 此外, 可以釆用电阻式、 电容式、 红外线以及表面 声波等多种类型实现触控面板 131。 除了触控面板 131 , 输入单元 130还可以 包括其他输入设备 132, 其他输入设备 132可以包括但不限于物理键盘、 功能 键(比如音量控制按键、 开关按键等)、 轨迹球、 鼠标、 操作杆等中的一种或 多种。 The input unit 130 can be configured to receive input digital or character information and to generate signal inputs related to user settings and function control of the terminal 100. Specifically, in the embodiment of the present invention, the input unit 130 may include a touch panel 131. The touch panel 131, also referred to as a touch screen, can collect touch operations on or near the user (such as the user's operation on the touch panel 131 or on the touch panel 131 using any suitable object or accessory such as a finger, a stylus, or the like. ), and drive the corresponding connection device according to a preset program. Optionally, the touch panel 131 may include two parts: a touch detection device and a touch controller. Wherein, the touch detection device detects the touch orientation of the user, and detects a signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts the touch information into contact coordinates, and sends the touch information Giving the processor 160 and receiving the processor 160 Send the order and execute it. In addition, the touch panel 131 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. In addition to the touch panel 131, the input unit 130 may further include other input devices 132. The other input devices 132 may include but are not limited to physical keyboards, function keys (such as volume control buttons, switch buttons, etc.), trackballs, mice, joysticks, and the like. One or more of them.
该终端 100还可以包括显示单元 140,该显示单元 140可用于显示由用户 输入的信息或提供给用户的信息以及终端 100 的各种菜单界面。 该显示单元 140可包括显示面板 141 , 可选的, 可以釆用 LCD ( Liquid Crystal Display, 液晶显示器)或 OLED ( Organic Light-Emitting Diode,有机发光二极管)等形 式来配置显示面板 141。  The terminal 100 can also include a display unit 140 that can be used to display information entered by the user or information provided to the user and various menu interfaces of the terminal 100. The display unit 140 may include a display panel 141. Alternatively, the display panel 141 may be configured in the form of an LCD (Liquid Crystal Display) or an OLED (Organic Light-Emitting Diode).
请参考图 2 , 本发明实施例中, 该触控面板 131覆盖该显示面板 141 , 形 成触摸显示屏 142, 当该触摸显示屏 142检测到在其上或附近的触摸操作后, 传送给处理器 160以确定触摸事件的类型, 随后处理器 160根据触摸事件的 类型在触摸显示屏 142上提供相应的视觉输出。  Referring to FIG. 2, in the embodiment of the present invention, the touch panel 131 covers the display panel 141 to form a touch display screen 142. When the touch display screen 142 detects a touch operation on or near it, the touch display screen 142 transmits the touch screen to the processor. 160 determines the type of touch event, and processor 160 then provides a corresponding visual output on touch display 142 depending on the type of touch event.
本发明实施例中, 该触摸显示屏 142包括应用程序界面显示区 143及常 用控件显示区 144。该应用程序界面显示区 143及该常用控件显示区 144的排 列方式并不限定, 可以为上下排列、 左右排列等可以区分两个显示区的排列 方式。 该应用程序界面显示区 143 可以用于显示应用程序的界面。 每一个界 面可以包含至少一个应用程序的图标和 /或 widget桌面控件等界面元素。 该应 用程序界面显示区 143 也可以为不包含任何内容的空界面。 该常用控件显示 区 144用于显示使用率较高的控件, 例如, 设置按钮、 界面编号、 滚动条、 电话本图标等应用程序图标等。  In the embodiment of the present invention, the touch display screen 142 includes an application interface display area 143 and a common control display area 144. The arrangement manner of the application interface display area 143 and the common control display area 144 is not limited, and may be arranged in an up-and-down manner, a left-right arrangement, or the like to distinguish the two display areas. The application interface display area 143 can be used to display the interface of the application. Each interface can contain interface elements such as at least one application's icon and/or widget desktop control. The application interface display area 143 can also be an empty interface that does not contain any content. The common control display area 144 is used to display controls with high usage, such as setting buttons, interface numbers, scroll bars, phone book icons, and the like.
该处理器 160是终端 100的控制中心, 利用各种接口和线路连接整个手 机的各个部分, 通过运行或执行存储在该第一存储器 120内的软件程序和 /或 模块, 以及调用存储在该第二存储器 121 内的数据, 执行终端 100的各种功 能和处理数据, 从而对终端 100进行整体监控。 可选的, 该处理器 160可包 括一个或多个处理单元。 The processor 160 is a control center of the terminal 100, and connects various parts of the entire mobile phone by using various interfaces and lines, by running or executing software programs and/or modules stored in the first memory 120, and calling the storage in the first The data in the two memories 121 performs various functions and processing data of the terminal 100, thereby performing overall monitoring of the terminal 100. Optionally, the processor 160 can include Includes one or more processing units.
可以理解的, 该处理器 160初始化时, 可以从该第二存储器 121存储的 界面信息中,加载预设数量的界面信息到该第一存储器 120 , 并记录该预设数 量的界面信息对应的界面编号, 该处理器 160读取该第一存储器 120的任意 一个或预定编号的界面信息, 并根据该界面信息生成界面, 控制该触摸显示 屏 142的应用程序界面显示区 143显示该生成界面作为初始界面, 并控制该 常用控件显示区 144显示界面编号, 提供用户选择界面, 其中, 该常用控件 显示区 144显示的界面编号可以为该第一存储器 120中已加载的界面信息对 应的界面编号, 也可以是该第二存储器 121 中存储的界面信息对应的界面编 号。 该预设数量不大于该第一存储器 120所能存储该界面信息的最大数量。  It can be understood that, when the processor 160 is initialized, a preset amount of interface information may be loaded into the first memory 120 from the interface information stored in the second memory 121, and an interface corresponding to the preset number of interface information is recorded. The processor 160 reads interface information of any one of the first memory 120 or a predetermined number, and generates an interface according to the interface information, and controls the application interface display area 143 of the touch display screen 142 to display the generated interface as an initial. And displaying the interface number of the common control display area 144, and providing a user selection interface, wherein the interface number displayed by the common control display area 144 may be the interface number corresponding to the interface information loaded in the first memory 120, It may be an interface number corresponding to the interface information stored in the second memory 121. The preset number is not greater than the maximum number of interface information that the first memory 120 can store.
可选的或进一步的, 该处理器 160可以控制该常用控件显示区 144显示 的界面编号中的至少部分界面编号响应用户输入操作。  Alternatively or in addition, the processor 160 may control at least part of the interface number displayed by the common control display area 144 to respond to a user input operation.
例如, 该处理器 160在该常用控件显示区 144显示的界面编号中, 控制 已加载的界面信息对应的界面编号可以响应用户的输入操作, 未加载的界面 信息对应的界面编号不响应用户的输入操作。  For example, in the interface number displayed by the common control display area 144, the interface number corresponding to the loaded interface information may be in response to the user input operation, and the interface number corresponding to the unloaded interface information does not respond to the user input. operating.
该处理器 160根据用户操作该输入单元 130切换界面操作产生的切换信 号确定目标界面编号, 包括:  The processor 160 determines a target interface number according to a switching signal generated by the user operating the input unit 130 to switch interface operations, including:
其中, 该目标界面编号可以为当前显示的界面的上一界面编号、 下一界 面编号或者其他的已加载的界面编号。 该切换信号可以为滑动信号、 拖动信 号或者触摸点击信号。  The target interface number may be the previous interface number, the next interface number, or other loaded interface number of the currently displayed interface. The switching signal can be a sliding signal, a drag signal or a touch click signal.
例如, 该切换信号为滑动信号, 该处理器 160根据该滑动信号确定目标 界面编号为当前显示界面对应的界面编号的上一界面编号或下一界面编号。  For example, the switching signal is a sliding signal, and the processor 160 determines, according to the sliding signal, that the target interface number is the previous interface number or the next interface number of the interface number corresponding to the current display interface.
可选的, 该切换信号为拖动信号, 该处理器 160解析该切换信号为滑动 条的拖动信号, 确定该拖动信号对应的拖动距离及拖动方向, 根据该拖动距 离和拖动方向与界面编号的移动数量的对应关系确定目标界面编号。  Optionally, the switching signal is a drag signal, and the processor 160 parses the switching signal as a drag signal of the slider, and determines a drag distance and a drag direction corresponding to the drag signal, according to the drag distance and the drag The correspondence between the moving direction and the number of movements of the interface number determines the target interface number.
可选的, 该切换信号为触摸点击信号, 该处理器 160解析该切换信号为 触摸点击信号, 则获取该触摸点击信号对应的触摸位置, 根据该触摸位置与 界面编号的对应关系确定目标界面编号。 Optionally, the switching signal is a touch click signal, and the processor 160 parses the switching signal as When the touch signal is touched, the touch position corresponding to the touch click signal is acquired, and the target interface number is determined according to the correspondence between the touch position and the interface number.
该处理器 160根据与该目标界面编号相邻的预定数量确定与该目标界面 编号相邻的界面编号, 包括:  The processor 160 determines an interface number adjacent to the target interface number according to a predetermined number adjacent to the target interface number, including:
该处理器 160确定与该目标界面编号左右都相邻该预定数量的界面编号, 其中, 该左右都相邻的该预定数量可以相等也可以不等。  The processor 160 determines that the predetermined number of interface numbers are adjacent to the left and right of the target interface number, wherein the predetermined numbers adjacent to the left and right may be equal or unequal.
例如, 与该目标界面编号左右两边都顺次相邻的三个界面编号, 或者与 该目标界面编号左边顺次相邻的三个界面编号及与该目标界面编号右边顺次 相邻的四个界面编号。  For example, three interface numbers that are adjacent to each other on the left and right sides of the target interface number, or three interface numbers that are sequentially adjacent to the left of the target interface number, and four adjacent to the right of the target interface number. Interface number.
可选的, 该处理器 160 可以确定与该目标界面编号左相邻或者右相邻的 该预定数量的界面编号。  Optionally, the processor 160 may determine the predetermined number of interface numbers that are adjacent to the left or right of the target interface number.
例如, 该处理器 160确定与该目标界面左边顺次相邻的三个界面编号, 或者与该目标界面右边顺次相邻的四个界面编号。  For example, the processor 160 determines three interface numbers that are sequentially adjacent to the left of the target interface, or four interface numbers that are sequentially adjacent to the right of the target interface.
本实施例中, 与该目标界面编号相邻的预定数量及与该目标界面编号的 相邻方式并不限定, 制造商或者用户可以预先通过一定的函数关系或自然规 律定义相邻方式及相邻数量, 该处理器 160 能够识别出与该目标界面编号相 邻的界面编号均适用于本发明实施例。  In this embodiment, the predetermined number adjacent to the target interface number and the adjacent manner with the target interface number are not limited, and the manufacturer or the user may define the adjacent mode and adjacent by a certain functional relationship or natural law in advance. The number, the processor 160 can recognize that the interface number adjacent to the target interface number is applicable to the embodiment of the present invention.
该处理器 160根据该第一存储器 120中存储的界面编号和与该目标界面 编号相邻的界面编号, 确定待加载的界面编号对应的界面信息, 包括:  The processor 160 determines the interface information corresponding to the interface number to be loaded, according to the interface number stored in the first memory 120 and the interface number adjacent to the target interface number, including:
该处理器 160可以计算与该目标界面编号每一侧相邻的界面编号数量, 若该数量和与该目标界面编号相邻的预定数量不一致, 则确定待加载的界面 编号为空, 该处理器 160不加载该第二存储器 121 的界面信息; 若该处理器 160确定该数量和与该目标界面编号相邻的预定数量一致,则比对该第一存储 器 120 中的界面编号和与该目标界面编号相邻的界面编号; 确定未存储于该 第一存储器 120 的与该目标界面编号相邻的界面编号, 将该未存储于该第一 存储器 120 的界面编号对应的界面信息作为待加载的界面编号对应的界面信 息。 The processor 160 may calculate the number of interface numbers adjacent to each side of the target interface number. If the number is different from the predetermined number adjacent to the target interface number, determine that the interface number to be loaded is empty, the processor 160 does not load interface information of the second memory 121; if the processor 160 determines that the number is consistent with a predetermined number adjacent to the target interface number, comparing the interface number in the first memory 120 with the target interface The number of the adjacent interface number is determined; the interface number that is not stored in the first memory 120 adjacent to the target interface number is determined, and the interface information corresponding to the interface number not stored in the first memory 120 is used as the interface to be loaded. Number corresponding to the interface letter Interest.
该处理器 160释放该第一存储器 120中与该目标界面编号不相邻的至少 部分界面编号对应的界面信息所占用的存储空间, 包括:  The processor 160 releases the storage space occupied by the interface information corresponding to at least part of the interface number of the first memory 120 that is not adjacent to the target interface number, and includes:
该处理器 160 比对该待加载的界面编号对应的界面信息所需的存储空间 和与该目标界面编号不相邻的界面编号对应的界面信息所占用的存储空间, 若该待加载的界面编号对应的界面信息所需的存储空间小于与该目标界面编 号不相邻的界面编号对应的界面信息所占用的存储空间, 则可以释放该第一 存储器 120 中该待加载的界面编号对应的界面信息所需的存储空间, 其中, 所释放的存储空间不包括所述目标界面信息占用的存储空间, 或者可以将与 该目标界面编号不相邻的界面编号对应的界面信息所占用的存储空间全部释 放。 若该待加载的界面编号对应的界面信息所需的存储空间等于与该目标界 面编号不相邻的界面编号对应的界面信息所占用的存储空间, 则全部释放与 该目标界面编号不相邻的界面编号对应的界面信息所占用的存储空间。  The storage space occupied by the processor 160 corresponding to the interface information corresponding to the interface information corresponding to the interface number to be loaded and the interface number corresponding to the interface number not adjacent to the target interface number, if the interface number to be loaded is If the storage space required for the corresponding interface information is smaller than the storage space occupied by the interface information corresponding to the interface number that is not adjacent to the target interface number, the interface information corresponding to the interface number to be loaded in the first memory 120 may be released. The storage space required, wherein the released storage space does not include the storage space occupied by the target interface information, or the storage space occupied by the interface information corresponding to the interface number not adjacent to the target interface number may be released. . If the storage space required for the interface information corresponding to the interface number to be loaded is equal to the storage space occupied by the interface information corresponding to the interface number that is not adjacent to the target interface number, all releases are not adjacent to the target interface number. The storage space occupied by the interface information corresponding to the interface number.
进一步的, 该处理器 160加载该待加载的界面编号对应的界面信息到该 第一存储器 120中, 包括:  Further, the processor 160 loads the interface information corresponding to the interface number to be loaded into the first memory 120, and includes:
该处理器 160可以加载该待加载的界面编号对应的界面信息于该第一存 储器 120释放的存储空间中, 该处理器 160可以更新该待加载的界面信息对 应的存储地址。  The processor 160 can load the interface information corresponding to the interface number to be loaded in the storage space released by the first memory 120, and the processor 160 can update the storage address corresponding to the interface information to be loaded.
可选的, 该处理器 160也可以加载该待加载的界面编号对应的界面信息 于该第一存储器 120中覆盖已存储的界面信息, 该处理器 160可以更新与该 目标界面编号相邻的界面编号对应的界面信息的存储地址, 其中, 被覆盖的 界面信息不包括该目标界面信息。  Optionally, the processor 160 may also load the interface information corresponding to the interface number to be loaded to overwrite the stored interface information in the first memory 120, and the processor 160 may update an interface adjacent to the target interface number. The storage address of the interface information corresponding to the number, wherein the covered interface information does not include the target interface information.
进一步的或可选的, 该处理器 160可以根据该目标界面编号控制该触摸 显示屏 142显示该目标界面编号对应的界面信息生成的目标界面。  Further or alternatively, the processor 160 may control, according to the target interface number, the touch display screen 142 to display a target interface generated by the interface information corresponding to the target interface number.
该终端 100还可以包括: RF ( Radio Frequency, 射频)电路 110、 音频电 路 170、 WiFi(wireless fidelity, 无线保真)模块 180、 以及电源 190等部件。 本 领域技术人员可以理解, 图 1 中示出的终端结构并不构成对该终端 100的限 定, 可以包括比图 1 所示更多或更少的部件, 例如对于一部分终端可以没有 WiFi模块 170, 或者组合某些部件, 或者不同的部件布置。 The terminal 100 may further include: an RF (Radio Frequency) circuit 110, an audio circuit 170, a WiFi (Wireless Fidelity) module 180, and a power supply 190. Ben It will be understood by those skilled in the art that the terminal structure shown in FIG. 1 does not constitute a limitation on the terminal 100, and may include more or less components than those shown in FIG. 1, for example, a part of the terminal may not have the WiFi module 170, or Combine some components, or different component arrangements.
该 RF电路 110可用于在收发信息或通话过程中, 信息的接收和发送, 特 别地, 将 RF电路接收的基站的下行信息, 给处理器 160处理; 另外, 将上行 信息发送给基站。 通常, RF电路包括但不限于天线、 至少一个放大器、 收发 信机、 耦合器、 LNA ( Low Noise Amplifier, 低噪声放大器)、 双工器等。 此 外, RF电路 110还可以通过无线通信与网络和其他设备通信。 所述无线通信 可以使用任一通信标准或协议, 包括但不限于 GSM(Global System of Mobile communication , 全 ί求移动通讯系统)、 GPRS(General Packet Radio Service , 通 用分组无线服务)、 CDMA(Code Division Multiple Access , 码分多址)、 WCDMA(Wideband Code Division Multiple Access, 宽带码分多址)、 LTE(Long Term Evolution,长期演进)、 电子邮件、 SMS(Short Messaging Service, 短消息 服务)等。  The RF circuit 110 can be used for receiving and transmitting information during the transmission and reception of information or a call, and in particular, processing the downlink information of the base station received by the RF circuit to the processor 160; and transmitting the uplink information to the base station. Generally, RF circuits include, but are not limited to, an antenna, at least one amplifier, a transceiver, a coupler, an LNA (Low Noise Amplifier), a duplexer, and the like. In addition, RF circuitry 110 can also communicate with the network and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System of Mobile communication), GPRS (General Packet Radio Service), CDMA (Code Division). Multiple Access, Code Division Multiple Access, WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), e-mail, SMS (Short Messaging Service), and so on.
扬声器和麦克风可提供用户与终端 100之间的音频接口。 音频电路 170 可将接收到的音频数据转换后的电信号, 传输到扬声器, 由扬声器转换为声 音信号输出; 另一方面, 麦克风将收集的声音信号转换为电信号, 由音频电 路 170接收后转换为音频信息,再将音频信息输出给 RF电路以发送给比如另 一手机, 或者将音频信息输出至存储器 120以便进一步处理。  The speaker and microphone provide an audio interface between the user and the terminal 100. The audio circuit 170 can transmit the converted electrical data of the received audio data to the speaker, and convert it into a sound signal output by the speaker; on the other hand, the microphone converts the collected sound signal into an electrical signal, which is received by the audio circuit 170 and then converted. For audio information, the audio information is then output to an RF circuit for transmission to, for example, another handset, or the audio information is output to memory 120 for further processing.
该 WiFi属于短距离无线传输技术, 终端 100通过 WiFi模块 180可以帮 助用户收发电子邮件、 浏览网页和访问流式媒体等, 它为用户提供了无线的 宽带互联网访问。 虽然图 1示出了 WiFi模块 180, 但是可以理解的是, 其并 不属于终端 100 的必须构成, 完全可以根据需要在不改变发明的本质的范围 内而省格。  The WiFi is a short-range wireless transmission technology, and the terminal 100 can help the user to send and receive emails, browse web pages, and access streaming media through the WiFi module 180, which provides wireless broadband Internet access for users. Although FIG. 1 shows the WiFi module 180, it can be understood that it does not belong to the essential configuration of the terminal 100, and can be completely saved as needed within the scope of not changing the essence of the invention.
该电源 190可以通过电源管理系统与该处理器 160逻辑相连, 从而通过 电源管理系统实现管理充电、 放电、 以及功耗等功能。 尽管未示出, 该终端 100 还可以包括摄像头、 蓝牙模块等, 在此不再赘 述。 The power supply 190 can be logically coupled to the processor 160 through a power management system to manage functions such as charging, discharging, and power consumption through a power management system. Although not shown, the terminal 100 may further include a camera, a Bluetooth module, and the like, and details are not described herein.
以下通过一具体例子详细说明本发明实施例的终端 100。  The terminal 100 of the embodiment of the present invention will be described in detail below through a specific example.
例如, 该第二存储器 121存储界面编号 1-12对应的界面信息, 该第一存 储器 120可以通过该处理器 160加载该第二存储器 121中 7个界面编号对应 的界面信息, 用户可以操作触摸显示屏 142进行该 1-12个界面编号对应的界 面信息的循环加载及显示。  For example, the second memory 121 stores the interface information corresponding to the interface number 1-12, and the first memory 120 can load the interface information corresponding to the seven interface numbers in the second memory 121 by the processor 160, and the user can operate the touch display. The screen 142 performs cyclic loading and display of the interface information corresponding to the 1-12 interface numbers.
预先定义与该目标界面编号相邻编号的预设数量为 3 , 例如, 目标界面编 号为 4,与该目标界面编号相邻的界面编号为界面编号 1,2,3及界面编号 5,6,7; 或者, 与该目标界面编号相邻的界面编号为界面编号 1,2,3; 或者, 与该目标 界面编号相邻的界面编号为界面编号 5,6,7。 本实施例以与该目标界面编号左 右都相邻的界面编号为例说明本实施例方案。  Pre-defining the preset number adjacent to the target interface number is 3, for example, the target interface number is 4, and the interface number adjacent to the target interface number is interface number 1, 2, 3 and interface number 5, 6, 7; Alternatively, the interface number adjacent to the target interface number is interface number 1, 2, 3; or, the interface number adjacent to the target interface number is interface number 5, 6, 7. In this embodiment, the scheme of the embodiment is described by taking the interface number adjacent to the target interface number as an example.
图 3a-3c为本发明实施例切换界面操作方式的示意图。  3a-3c are schematic diagrams showing the operation mode of the switching interface according to an embodiment of the present invention.
该处理器 160预先从该第二存储器 121中加载界面编号 1-7对应的界面信 息到该第一存储器 120,根据用户的输入操作产生的切换信号确定目标界面编 号, 例如: 该切换信号为一次滑动操作产生的滑动信号 (如图 3a所示), 该处 理器 160根据该一次滑动信号确定该目标界面编号为当前显示界面对应的界 面编号的前一个或后一个界面编号。  The processor 160 loads the interface information corresponding to the interface number 1-7 from the second memory 121 to the first memory 120 in advance, and determines the target interface number according to the switching signal generated by the input operation of the user, for example: the switching signal is once The sliding signal generated by the sliding operation (as shown in FIG. 3a), the processor 160 determines, according to the one-time sliding signal, that the target interface number is the previous or next interface number of the interface number corresponding to the current display interface.
可选的, 该切换信号可以为触摸点击信号, 用户可以通过触摸点击界面 标记 145 (如: 1-7的数字, 或 7个标志性的图形 )选择目标界面编号 (如图 3b所示), 该处理器 160根据该触摸点击位置信息与界面编号的对应关系, 确 定目标界面编号。  Optionally, the switching signal may be a touch click signal, and the user may select a target interface number by touching the interface mark 145 (eg, a number of 1-7, or 7 iconic graphics) (as shown in FIG. 3b). The processor 160 determines the target interface number based on the correspondence between the touch click location information and the interface number.
可选的, 该切换信号为滑动条的拖动信号, 用户可以通过拖动常用控件 显示区 12的滑动条选择目标界面编号 (如图 3c所示)。 例如, 用户可以通过 长按该应用程序界面标记 145 , 该处理器 160将一滑动条显示于该界面标记 145上使用户可以快速查找目标界面编号,该处理器 160进一步根据滑动距离 和滑动方向, 确定目标界面编号。 Optionally, the switching signal is a drag signal of the sliding bar, and the user can select a target interface number by dragging a sliding bar of the common control display area 12 (as shown in FIG. 3c). For example, the user can press and hold the application interface mark 145, and the processor 160 displays a slide bar on the interface mark 145 so that the user can quickly find the target interface number, and the processor 160 further according to the sliding distance. And the sliding direction to determine the target interface number.
若该处理器 160判断该目标界面编号为 5 ,与该目标界面编号相邻的界面 编号为 2、 3、 4和 6、 7、 8 , 该处理器 160计算与该目标编号每一侧相邻的界 面编号数量均为 3 ,则确定该数量 3与预先定义的与该目标界面编号相邻编号 的预设数量 3—致, 则查找该第一存储器 120中界面信息对应的界面编号为 1-7 , 比对该界面编号 1-7和与该目标界面编号相邻的界面编号 2、 3、 4和 6、 7、 8, 确定界面编号 8对应的界面信息未加载于该第一存储器 120中, 从而 确定界面编号 8对应的界面信息作为待加载的界面编号对应的界面信息。  If the processor 160 determines that the target interface number is 5, and the interface numbers adjacent to the target interface number are 2, 3, 4, and 6, 7, 8, the processor 160 calculates adjacent to each side of the target number. If the number of the interface numbers is 3, it is determined that the number 3 is the same as the preset number of the preset number adjacent to the target interface number, and the interface number corresponding to the interface information in the first memory 120 is 1-1. 7. The interface information corresponding to the interface number No. 1-7 and the interface numbers 2, 3, 4, and 6, 7, 8 adjacent to the target interface number are determined to be not loaded in the first memory 120. Therefore, the interface information corresponding to the interface number 8 is determined as the interface information corresponding to the interface number to be loaded.
进一步的, 该处理器 160释放与该目标界面编号不相邻的界面编号 1对 应的界面信息所占用的存储空间, 加载该界面编号 8对应的界面信息到该释 放的存储空间中, 该处理器 160可以更新第 8界面对应的存储地址为第 1界 面对应的存储地址 (如图 4所示)。  Further, the processor 160 releases the storage space occupied by the interface information corresponding to the interface number 1 that is not adjacent to the target interface number, and loads the interface information corresponding to the interface number 8 into the released storage space, the processor 160 can update the storage address corresponding to the eighth interface to be the storage address corresponding to the first interface (as shown in FIG. 4).
可选的, 该处理器 160若确定该目标界面编号为 2, 且与该目标界面编号 左右相邻的界面编号分别为 1和 3、 4、 5 , 该处理器 160分别计算与该目标界 面编号左右相邻的界面编号数量。 其中, 与该目标编号左侧相邻的界面编号 数量为 1 , 右侧相邻的界面编号数量为 3 , 则确定存在一侧与该目标界面编号 相邻的界面编号数量和该预设数量不一致, 该处理器 160 不加载该第二存储 器 121的界面信息。 该处理器 160进一步控制该触摸显示屏 142显示该目标 界面编号。  Optionally, if the processor 160 determines that the target interface number is 2, and the interface numbers adjacent to the target interface number are 1 and 3, 4, and 5 respectively, the processor 160 calculates the target interface number respectively. The number of interface numbers adjacent to each other. The number of interface numbers adjacent to the left side of the target number is 1 and the number of interface numbers adjacent to the right side is 3, and it is determined that the number of interface numbers adjacent to the target interface number is inconsistent with the preset number. The processor 160 does not load the interface information of the second memory 121. The processor 160 further controls the touch display 142 to display the target interface number.
本实施例中, 通过释放第一存储器 120 中与该目标界面编号不相邻的至 少部分界面编号对应的界面信息所占用的存储空间, 从而实现循环加载该第 二存储器 121 中的界面信息到该第一存储器 120中, 这样可以减緩终端的存 储容量的限制与日益增长的应用程序界面数量之间的矛盾, 并且也不影响待 显示界面的显示速度。  In this embodiment, by releasing the storage space occupied by the interface information corresponding to at least part of the interface number of the first memory 120 that is not adjacent to the target interface number, the interface information in the second memory 121 is cyclically loaded to the In the first memory 120, this can alleviate the contradiction between the limitation of the storage capacity of the terminal and the increasing number of application interfaces, and does not affect the display speed of the interface to be displayed.
图 5是根据本发明另一实施例动态加载应用程序界面的终端 200的示意 图。 该终端 200可以包括接收模块 210、 解析模块 230、 计算模块 250、 确定 模块 260、 释放模块 270及加载模块 290。 其中, FIG. 5 is a schematic diagram of a terminal 200 that dynamically loads an application interface according to another embodiment of the present invention. The terminal 200 can include a receiving module 210, a parsing module 230, a calculating module 250, a determining module 260, a releasing module 270, and a loading module 290. among them,
该接收模块 210, 接收用户切换应用程序界面操作产生的切换信号; 该解析模块 230, 解析该切换信号, 确定目标界面编号;  The receiving module 210 receives a switching signal generated by the user switching the application interface operation; the parsing module 230 parses the switching signal to determine a target interface number;
该计算模块 250,根据与该目标界面编号相邻的预定数量确定与该目标界 面编号相邻的界面编号;  The calculating module 250 determines an interface number adjacent to the target interface number according to a predetermined number adjacent to the target interface number;
该确定模块 260,根据第一存储器 120中存储的界面编号和与该目标界面 编号相邻的界面编号, 确定待加载的界面编号对应的界面信息;  The determining module 260 determines the interface information corresponding to the interface number to be loaded according to the interface number stored in the first memory 120 and the interface number adjacent to the target interface number;
该释放模块 270,释放该第一存储器 120中与该目标界面编号不相邻的至 少部分界面编号对应的界面信息所占用的存储空间;  The release module 270 releases the storage space occupied by the interface information corresponding to at least part of the interface numbers of the first memory 120 that is not adjacent to the target interface number;
该加载模块 290,加载该待加载的界面编号对应的界面信息到该第一存储 器 120中。  The loading module 290 loads the interface information corresponding to the interface number to be loaded into the first memory 120.
该终端 200可以通过释放与该目标界面编号不相邻的至少部分界面编号 对应的界面信息所占用的存储空间, 来加载与该目标界面编号相邻的界面编 号对应的界面信息, 这样可以循环加载界面信息, 减緩终端的存储容量的限 制与日益增长的应用程序界面数量之间的矛盾。  The terminal 200 can load the interface information corresponding to the interface number adjacent to the target interface number by releasing the storage space occupied by the interface information corresponding to at least part of the interface number that is not adjacent to the target interface number, so that the interface information can be cyclically loaded. Interface information, the conflict between the limitations of the storage capacity of the terminal and the increasing number of application interfaces.
其中, 该第一存储器 120 , 用于存储该终端预设数量的应用程序的界面信 息, 该界面信息包括界面元素、 界面编号、 该界面编号与该界面元素的对应 关系、 以及该界面元素位于该界面编号对应的应用程序界面的位置信息。  The first memory 120 is configured to store interface information of the preset number of applications of the terminal, where the interface information includes an interface element, an interface number, a correspondence between the interface number and the interface element, and the interface element is located in the interface. The location information of the application interface corresponding to the interface number.
其中, 该预设数量是指可以存储于该第一存储器的应用程序的界面信息 的数量。 该预定数量是指与该目标界面编号每一侧相邻的界面编号的数量。  The preset number refers to the number of interface information of an application that can be stored in the first memory. The predetermined number refers to the number of interface numbers adjacent to each side of the target interface number.
本发明实施例中, 该切换信号可以为滑动信号、 拖动信号或者触摸点击 信号。  In this embodiment of the present invention, the switching signal may be a sliding signal, a drag signal, or a touch click signal.
例如, 该切换信号为滑动信号。 该解析模块 230解析该切换信号, 确定 目标界面编号, 包括: 该解析模块 230解析该滑动信号, 根据该滑动信号确 定目标界面编号为当前显示界面对应的界面编号的上一界面编号或下一界面 编号。 For example, the switching signal is a sliding signal. The parsing module 230 parses the switching signal to determine the target interface number, and includes: the parsing module 230 parses the sliding signal, and determines, according to the sliding signal, that the target interface number is the previous interface number or the next interface of the interface number corresponding to the current display interface. Numbering.
可选的, 该切换信号为滑动条的拖动信号。 该解析模块 230解析该切换 信号, 确定目标界面编号, 包括: 该解析模块 230解析该拖动信号, 确定该 拖动信号对应的拖动距离及拖动方向, 根据该拖动距离和拖动方向与界面编 号移动数量的对应关系确定目标界面编号。  Optionally, the switching signal is a drag signal of the sliding bar. The parsing module 230 parses the switching signal to determine the target interface number, including: the parsing module 230 parses the drag signal, and determines a drag distance and a drag direction corresponding to the drag signal, according to the drag distance and the drag direction. The correspondence with the number of interface number movements determines the target interface number.
可选的, 该切换信号为触摸点击信号。 该解析模块 230解析该切换信号, 确定目标界面编号, 包括: 该解析模块 230解析该触摸点击信号, 获取该触 摸点击信号对应的触摸位置, 根据该触摸位置与界面编号的对应关系确定目 标界面编号。  Optionally, the switching signal is a touch click signal. The parsing module 230 parses the switching signal to determine the target interface number, and includes: the parsing module 230 parses the touch click signal, obtains a touch position corresponding to the touch click signal, and determines a target interface number according to the correspondence between the touch position and the interface number. .
可选的或进一步的, 该计算模块 250根据与该目标界面编号相邻的预定 数量确定与该目标界面编号相邻的界面编号, 包括:  Optionally or in addition, the calculating module 250 determines an interface number adjacent to the target interface number according to a predetermined quantity adjacent to the target interface number, including:
该计算模块 250确定与该目标界面编号左右都相邻该预定数量的界面编 号, 其中, 该左右相邻的该预定数量可以相等也可以不等。  The calculation module 250 determines that the predetermined number of interface numbers are adjacent to the left and right of the target interface number, wherein the predetermined numbers of the left and right adjacent may be equal or unequal.
例如, 与该目标界面编号左右两边都顺次相邻的三个界面编号, 或者与 该目标界面编号左边顺次相邻的三个界面编号及与该目标界面编号右边顺次 相邻的四个界面编号。  For example, three interface numbers that are adjacent to each other on the left and right sides of the target interface number, or three interface numbers that are sequentially adjacent to the left of the target interface number, and four adjacent to the right of the target interface number. Interface number.
可选的, 该计算模块 250 可以确定与该目标界面编号左相邻或者右相邻 的该预定数量的界面编号。  Optionally, the calculation module 250 can determine the predetermined number of interface numbers that are adjacent to the left or right of the target interface number.
例如, 该计算模块 250确定与该目标界面左边顺次相邻的三个界面编号, 或者与该目标界面右边顺次相邻的四个界面编号。 本实施例中, 与该目标界 面编号相邻的预定数量编号及与该目标界面编号的相邻方式并不限定, 制造 商或者用户可以预先通过一定的函数关系或自然规律定义相邻方式及相邻数 量, 该计算模块 250 能够识别出与该目标界面编号相邻的界面编号均适用于 本发明实施例。  For example, the calculation module 250 determines three interface numbers that are sequentially adjacent to the left of the target interface, or four interface numbers that are sequentially adjacent to the right of the target interface. In this embodiment, the predetermined number number adjacent to the target interface number and the adjacent manner with the target interface number are not limited, and the manufacturer or the user may define the adjacent mode and phase in advance through a certain functional relationship or a natural law. The number of neighbors, the calculation module 250 can recognize that the interface numbers adjacent to the target interface number are applicable to the embodiment of the present invention.
该确定模块 260根据该第一存储器 120中存储的界面编号和与该目标界 面编号相邻的界面编号, 确定待加载的界面编号对应的界面信息, 包括: 该确定模块 260 可以计算与该目标编号每一侧相邻的界面编号数量, 若 该数量和与该目标界面编号相邻的预定数量不一致, 则确定待加载的界面编 号为空; 若该确定模块 260确定该数量和与该目标界面编号相邻的预定数量 一致, 则比对该第一存储器 120 中的界面信息对应的界面编号和与该目标界 面编号相邻的界面编号; 确定未存储于该第一存储器 120 的与该目标界面编 号相邻的界面编号, 将该未存储于该第一存储器 120 的界面编号对应的界面 信息作为待加载的界面编号对应的界面信息。 The determining module 260 determines, according to the interface number stored in the first memory 120 and the interface number adjacent to the target interface number, interface information corresponding to the interface number to be loaded, including: The determining module 260 may calculate the number of interface numbers adjacent to each side of the target number, and if the number is different from the predetermined number adjacent to the target interface number, determine that the interface number to be loaded is empty; if the determining module 260: determining that the quantity is consistent with a predetermined number adjacent to the target interface number, and is greater than an interface number corresponding to the interface information in the first memory 120 and an interface number adjacent to the target interface number; determining is not stored in the The interface number of the first memory 120 adjacent to the target interface number is the interface information corresponding to the interface number not stored in the first memory 120 as the interface information corresponding to the interface number to be loaded.
该释放模块 270释放该第一存储器 120中与该目标界面编号不相邻的至 少部分界面编号对应的界面信息所占用的存储空间, 包括:  The release module 270 releases the storage space occupied by the interface information corresponding to at least part of the interface number of the first memory 120 that is not adjacent to the target interface number, and includes:
该释放模块 270 比对该待加载的界面编号对应的界面信息所需的存储空 间和与该目标界面编号不相邻的界面编号对应的界面信息所占用的存储空 间, 若该待加载的界面编号对应的界面信息所需的存储空间小于与该目标界 面编号不相邻的界面编号对应的界面信息所占用的存储空间, 则可以释放该 第一存储器 120 中该待加载的界面编号对应的界面信息所需的存储空间, 其 中, 所释放的存储空间不包括所述目标界面信息占用的存储空间, 或者可以 将与该目标界面编号不相邻的界面编号对应的界面信息所占用的存储空间全 部释放。 若该待加载的界面编号对应的界面信息所需的存储空间等于与该目 标界面编号不相邻的界面编号对应的界面信息所占用的存储空间, 则全部释 放与该目标界面编号不相邻的界面编号对应的界面信息所占用的存储空间。  If the release module 270 is larger than the storage space required for the interface information corresponding to the interface number to be loaded and the interface information corresponding to the interface number not adjacent to the target interface number, if the interface number to be loaded is If the storage space required for the corresponding interface information is smaller than the storage space occupied by the interface information corresponding to the interface number that is not adjacent to the target interface number, the interface information corresponding to the interface number to be loaded in the first memory 120 may be released. The storage space required, wherein the released storage space does not include the storage space occupied by the target interface information, or the storage space occupied by the interface information corresponding to the interface number not adjacent to the target interface number may be released. . If the storage space required for the interface information corresponding to the interface number to be loaded is equal to the storage space occupied by the interface information corresponding to the interface number that is not adjacent to the target interface number, all releases are not adjacent to the target interface number. The storage space occupied by the interface information corresponding to the interface number.
该加载模块 290加载该待加载的界面编号对应的界面信息到该第一存储 器 120中, 包括:  The load module 290 loads the interface information corresponding to the interface number to be loaded into the first memory 120, and includes:
该加载模块 290 可以加载该待加载的界面编号对应的界面信息于该第一 存储器 120释放的存储空间中, 该加载模块 290可以更新该待加载的界面信 息对应的存储地址。  The loading module 290 can load the interface information corresponding to the interface number to be loaded in the storage space released by the first memory 120, and the loading module 290 can update the storage address corresponding to the interface information to be loaded.
可选的, 该加载模块 290也可以加载该待加载的界面编号对应的界面信 息于该第一存储器 120中覆盖已存储的界面信息, 该加载模块 290可以更新 与该目标界面编号相邻的界面编号对应的界面信息的存储地址, 其中, 被覆 盖的的界面信息不包括该目标界面信息。 Optionally, the loading module 290 can also load the interface information corresponding to the interface number to be loaded to overwrite the stored interface information in the first memory 120, and the loading module 290 can update. The storage address of the interface information corresponding to the interface number adjacent to the target interface number, wherein the covered interface information does not include the target interface information.
进一步的或可选的, 该终端 200还可以包括显示模块 280, 该显示模块 280可以显示该目标界面编号对应的界面信息生成的目标界面。  Further or alternatively, the terminal 200 may further include a display module 280, and the display module 280 may display a target interface generated by the interface information corresponding to the target interface number.
本实施例中, 该终端 200 可以通过释放与该目标界面编号不相邻的至少 部分界面编号对应的界面信息所占用的存储空间, 来加载与该目标界面编号 相邻的界面编号对应的界面信息, 这样可以循环加载界面信息, 减緩终端的 存储容量的限制与日益增长的应用程序界面数量之间的矛盾。  In this embodiment, the terminal 200 may load the interface information corresponding to the interface number adjacent to the target interface number by releasing the storage space occupied by the interface information corresponding to at least part of the interface number that is not adjacent to the target interface number. This can cyclically load interface information, slowing the conflict between the terminal's storage capacity limit and the growing number of application interfaces.
图 6为本发明实施例动态加载应用程序界面的方法的流程图。  FIG. 6 is a flowchart of a method for dynamically loading an application interface according to an embodiment of the present invention.
该动态加载应用程序界面的方法包括:  The methods for dynamically loading an application interface include:
S610: 接收用户切换应用程序界面操作产生的切换信号。  S610: Receive a switching signal generated by a user switching an application interface operation.
该接收用户切换应用程序界面操作产生的信号可以为用户滑动应用程序 界面产生的滑动信号; 也可以为用户点击应用程序界面编号产生的触摸信号; 还可以是拖动滑动条以快速查找目标界面编号的拖动信号。  The signal generated by the user switching application interface operation may be a sliding signal generated by the user sliding the application interface; or may be a touch signal generated by the user clicking the application interface number; or the drag slider may be used to quickly find the target interface number. Drag signal.
S620: 解析该切换信号, 确定目标界面编号。  S620: Parse the switching signal to determine a target interface number.
具体地, 解析该切换信号可以为一滑动信号, 则根据该滑动信号确定目 标界面编号为当前显示界面对应的界面编号的上一界面编号或下一界面编 号。  Specifically, the switching signal may be a sliding signal, and the target interface number is determined as the previous interface number or the next interface number of the interface number corresponding to the current display interface.
可选的, 解析该切换信号可以为滑动条的拖动信号, 获取该拖动信号对 应的拖动距离及拖动方向, 进一步根据该拖动距离和拖动方向与界面编号移 动数量的对应关系确定目标界面编号。  Optionally, parsing the switching signal may be a drag signal of the slider, acquiring a drag distance and a drag direction corresponding to the drag signal, and further according to the corresponding relationship between the drag distance and the drag direction and the number of the interface number movement Determine the target interface number.
可选的, 解析该切换信号可以为触摸点击信号, 获取该触摸点击信号对 应的触摸位置信息, 根据该触摸位置信息与界面编号的对应关系确定目标界 面编号。  Optionally, the switching signal may be a touch click signal, and the touch location information corresponding to the touch click signal is obtained, and the target interface number is determined according to the correspondence between the touch location information and the interface number.
S630: 根据与该目标界面编号相邻的预定数量确定与该目标界面编号相 邻的界面编号。 具体的, 根据与该目标界面编号相邻的预定数量确定与该目标界面编号 左右都相邻预定数量、 左相邻预定数量或者右相邻预定数量的界面编号。 其 中, 该左右都相邻的该预定数量可以相等也可以不等。 S630: Determine an interface number adjacent to the target interface number according to a predetermined number adjacent to the target interface number. Specifically, a predetermined number, a left adjacent predetermined number, or a right adjacent predetermined number of interface numbers adjacent to the target interface number are determined according to a predetermined number adjacent to the target interface number. The predetermined number of adjacent left and right may be equal or unequal.
例如, 与该目标界面编号左右两边都顺次相邻的三个界面编号, 或者与 该目标界面编号左边顺次相邻的三个界面编号及与该目标界面编号右边顺次 相邻的四个界面编号。  For example, three interface numbers that are adjacent to each other on the left and right sides of the target interface number, or three interface numbers that are sequentially adjacent to the left of the target interface number, and four adjacent to the right of the target interface number. Interface number.
本实施例中, 与该目标界面编号相邻的预定数量编号及与该目标界面编 号的相邻方式并不限定, 制造商或者用户可以预先通过一定的函数关系或自 然规律定义相邻方式及相邻数量, 终端能够识别出与该目标界面编号相邻的 界面编号均适用于本发明实施例。  In this embodiment, the predetermined number of the adjacent to the target interface number and the adjacent manner with the target interface number are not limited, and the manufacturer or the user may define the adjacent mode and phase in advance through a certain functional relationship or a natural law. The number of neighbors, the terminal can recognize that the interface number adjacent to the target interface number is applicable to the embodiment of the present invention.
S640: 根据第一存储器 120 中存储的界面编号和与该目标界面编号相邻 的界面编号, 确定待加载的界面编号对应的界面信息。  S640: Determine interface information corresponding to the interface number to be loaded according to the interface number stored in the first memory 120 and the interface number adjacent to the target interface number.
具体的图 7 为本发明实施例确定待加载的界面编号对应的界面信息的方 法流程图。  FIG. 7 is a flowchart of a method for determining interface information corresponding to an interface number to be loaded according to an embodiment of the present invention.
S641 : 计算与该目标界面编号每一侧相邻的界面编号数量。  S641: Calculate the number of interface numbers adjacent to each side of the target interface number.
S642: 确定该数量和与该目标界面编号相邻的预定数量是否一致, 若不 一致, 则确定待加载的界面编号为空, 否则, 执行步骤 S643。  S642: Determine whether the quantity and the predetermined quantity adjacent to the target interface number are consistent. If not, determine that the interface number to be loaded is empty. Otherwise, go to step S643.
S643: 比对该第一存储器 120 中的界面编号和与该目标界面编号相邻的 界面编号。  S643: Compare the interface number in the first memory 120 with the interface number adjacent to the target interface number.
S644: 确定未存储于该第一存储器 120 的与该目标界面编号相邻的界面 编号, 将该未存储于该第一存储器 120 的界面编号对应的界面信息作为待加 载的界面编号对应的界面信息。  S644: The interface number that is not stored in the first memory 120 adjacent to the target interface number is determined, and the interface information corresponding to the interface number not stored in the first memory 120 is used as the interface information corresponding to the interface number to be loaded. .
S650: 释放该第一存储器 120 中与该目标界面编号不相邻的至少部分界 面编号对应的界面信息所占用的存储空间。  S650: Release the storage space occupied by the interface information corresponding to at least part of the interface number of the first memory 120 that is not adjacent to the target interface number.
具体的, 比对该待加载的界面编号对应的界面信息所需的存储空间和与 该目标界面编号不相邻的界面编号对应的界面信息所占用的存储空间; 若该待加载的界面编号对应的界面信息所需的存储空间小于与该目标界 面编号不相邻的界面编号对应的界面信息所占用的存储空间, 则可以释放该 第一存储器 120 中该待加载的界面编号对应的界面信息所需的存储空间, 其 中, 所释放的存储空间不包括所述目标界面信息占用的存储空间, 或者可以 将与该目标界面编号不相邻的界面编号对应的界面信息所占用的存储空间全 部释放; Specifically, a storage space occupied by the storage space required for the interface information corresponding to the interface number to be loaded and the interface information corresponding to the interface number not adjacent to the target interface number; If the storage space required for the interface information corresponding to the interface number to be loaded is smaller than the storage space occupied by the interface information corresponding to the interface number that is not adjacent to the target interface number, the to-be-loaded in the first memory 120 may be released. The storage space required for the interface information corresponding to the interface number, wherein the released storage space does not include the storage space occupied by the target interface information, or the interface information corresponding to the interface number not adjacent to the target interface number may be All occupied storage space is released;
若该待加载的界面编号对应的界面信息所需的存储空间等于与该目标界 面编号不相邻的界面编号对应的界面信息所占用的存储空间, 则全部释放与 该目标界面编号不相邻的界面编号对应的界面信息所占用的存储空间。  If the storage space required for the interface information corresponding to the interface number to be loaded is equal to the storage space occupied by the interface information corresponding to the interface number that is not adjacent to the target interface number, all releases are not adjacent to the target interface number. The storage space occupied by the interface information corresponding to the interface number.
S660: 加载该待加载的界面编号对应的界面信息到该第一存储器 120。 具体的, 加载该待加载的界面编号对应的界面信息于该第一存储器 120 释放的存储空间中, 并可以更新该待加载的界面信息对应的存储地址。  S660: Load interface information corresponding to the interface number to be loaded into the first memory 120. Specifically, the interface information corresponding to the interface number to be loaded is loaded in the storage space released by the first memory 120, and the storage address corresponding to the interface information to be loaded may be updated.
可选的, 也可以加载该待加载的界面编号对应的界面信息于该第一存储 器 120 中覆盖已存储的界面信息, 并可以更新与该目标界面编号相邻的界面 编号对应的界面信息的存储地址, 其中, 被覆盖的界面信息不包括该目标界 面信息。  Optionally, the interface information corresponding to the interface number to be loaded may be loaded to cover the stored interface information in the first memory 120, and the interface information corresponding to the interface number adjacent to the target interface number may be updated. The address, where the covered interface information does not include the target interface information.
S670: 进一步的或可选的, 根据该目标界面编号显示该目标界面编号对 应的界面信息生成的目标界面。  S670: Further or optionally, displaying a target interface generated by the interface information corresponding to the target interface number according to the target interface number.
其中, 对于本发明实施例动态加载应用程序界面的方法中, 该第一存储 器 120存储预设数量的应用程序的界面信息, 该界面信息包括界面元素、 界 面编号、 该界面编号与该界面元素的对应关系、 以及该界面元素位于该界面 编号对应的应用程序界面的位置信息。  The method for dynamically loading an application interface in the embodiment of the present invention, the first memory 120 stores interface information of a preset number of applications, where the interface information includes an interface element, an interface number, the interface number, and the interface element. The correspondence relationship and the location information of the interface element corresponding to the interface number of the interface element.
其中, 该预设数量是指可以存储于该第一存储器的应用程序的界面信息 的数量。 该预定数量是指与该目标界面编号每一侧相邻的界面编号的数量。  The preset number refers to the number of interface information of an application that can be stored in the first memory. The predetermined number refers to the number of interface numbers adjacent to each side of the target interface number.
可以理解的, 上述步骤可以由终端执行, 该终端可以为上述实施例中描 述的终端 100或终端 200, 也可以是手机、 平板电脑、 PDA等电子设备。 本发明实施例中, 该终端可以通过释放与该目标界面编号不相邻的至少 部分界面编号对应的界面信息所占用的存储空间, 来加载与该目标界面编号 相邻的界面编号对应的界面信息, 从而可以循环加载界面信息, 緩解终端的 存储容量的限制与日益增长的应用程序界面数量之间的矛盾。 It is to be understood that the foregoing steps may be performed by the terminal, and the terminal may be the terminal 100 or the terminal 200 described in the foregoing embodiment, or may be an electronic device such as a mobile phone, a tablet computer, or a PDA. In the embodiment of the present invention, the terminal may load the interface information corresponding to the interface number adjacent to the target interface number by releasing the storage space occupied by the interface information corresponding to at least part of the interface number that is not adjacent to the target interface number. Thus, the interface information can be cyclically loaded, alleviating the contradiction between the limitation of the storage capacity of the terminal and the increasing number of application interfaces.
需要说明的是, 结合本文中所公开的实施例中描述的各方法步骤和模块, 能够以电子硬件或者计算机软件和硬件二者的结合来实现, 在上述说明中已 经按照功能一般性地描述了各实施例的步骤及组成。 这些功能究竟以硬件还 是软件和硬件的方式来执行, 取决于技术方案的特定应用和设计约束条件。 本领域普通技术人员可以对每个特定的应用来使用不同方法来实现所描述的 功能, 但是这种实现不应认为超出本发明的范围。  It should be noted that the method steps and modules described in connection with the embodiments disclosed herein can be implemented in electronic hardware or a combination of computer software and hardware, which have been generally described in terms of functions in the above description. The steps and composition of the various embodiments. Whether these functions are performed in hardware or software and hardware depends on the specific application and design constraints of the solution. Different methods may be used to implement the described functionality for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
结合本文中所公开的实施例描述的方法或步骤可以用硬件、 处理器执行 的软件程序,或者二者的结合来实施。软件程序可以置于随机存储器(RAM )、 内存、 只读存储器(ROM )、 电可编程 ROM、 电可擦除可编程 ROM、寄存器、 硬盘、 可移动磁盘、 CD-ROM、 或技术领域内所公知的任意其它形式的存储 介质中。 但本发明并不限于此。 在不脱离本发明的精神和实质的前提下, 本领域普通 技术人员可以对本发明的实施例进行各种等效的修改或替换, 而这些修改或 替换都应在本发明的涵盖范围内。  The methods or steps described in connection with the embodiments disclosed herein may be implemented in hardware, a software program executed by a processor, or a combination of both. The software program can be placed in random access memory (RAM), memory, read only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or technical field. Any other form of storage medium known. However, the invention is not limited to this. Various equivalent modifications and alterations to the embodiments of the present invention can be made by those skilled in the art without departing from the spirit and scope of the invention.

Claims

权 利 要求 书 claims
1、 一种动态加载应用程序界面的方法, 其特征在于, 包括: 接收用户切换应用程序界面操作产生的切换信号; 1. A method for dynamically loading an application program interface, which is characterized by: receiving a switching signal generated by a user's switching application program interface operation;
解析所述切换信号, 确定目标界面编号; Analyze the switching signal and determine the target interface number;
根据与所述目标界面编号相邻的预定数量确定与所述目标界面编号相邻的 界面编号; Determine the interface number adjacent to the target interface number according to a predetermined number adjacent to the target interface number;
根据第一存储器中存储的界面编号和与所述目标界面编号相邻的界面编 号, 确定待加载的界面编号对应的界面信息; Determine the interface information corresponding to the interface number to be loaded according to the interface number stored in the first memory and the interface number adjacent to the target interface number;
释放所述第一存储器中与所述目标界面编号不相邻的至少部分界面编号对 应的界面信息所占用的存储空间; Release the storage space occupied by interface information corresponding to at least part of the interface numbers that are not adjacent to the target interface number in the first memory;
加载所述待加载的界面编号对应的界面信息到所述第一存储器。 Load the interface information corresponding to the interface number to be loaded into the first memory.
2、 如权利要求 1所述的方法, 其特征在于, 根据与所述目标界面编号相邻 的预定数量确定与所述目标界面编号相邻的界面编号, 包括: 2. The method of claim 1, wherein determining interface numbers adjacent to the target interface number based on a predetermined number of interface numbers adjacent to the target interface number includes:
根据与所述目标界面编号相邻的预定数量确定与所述目标界面编号左右都 相邻预定数量、 左相邻预定数量或者右相邻预定数量的界面编号。 A predetermined number of interface numbers that are adjacent to the target interface number on both left and right, a predetermined number on the left, or a predetermined number on the right are determined based on the predetermined number of adjacent to the target interface number.
3、 如权利要求 1或 2所述的方法, 其特征在于, 根据第一存储器中存储的 界面编号和与所述目标界面编号相邻的界面编号, 确定待加载的界面编号对应 的界面信息, 包括: 3. The method according to claim 1 or 2, characterized in that, based on the interface number stored in the first memory and the interface number adjacent to the target interface number, the interface information corresponding to the interface number to be loaded is determined, include:
计算与所述目标界面编号每一侧相邻的界面编号数量; 确定所述数量和与所述目标界面编号相邻的预定数量一致; Calculate the number of interface numbers adjacent to each side of the target interface number; Determine that the number is consistent with a predetermined number adjacent to the target interface number;
比对所述第一存储器中的界面信息对应的界面编号和与所述目标编号相邻 的界面编号; 确定未存储于所述第一存储器的, 与所述目标界面编号相邻的界面编号对 应的界面信息作为待加载的界面编号对应的界面信息。 Compare the interface number corresponding to the interface information in the first memory and the interface number adjacent to the target interface number; determine the interface number pair adjacent to the target interface number that is not stored in the first memory. The corresponding interface information is used as the interface information corresponding to the interface number to be loaded.
4、 如权利要求 1-3任一项权利要求所述的方法, 其特征在于, 释放所述第 一存储器中与所述目标界面编号不相邻的至少部分界面编号对应的界面信息所 占用的存储空间, 包括: 4. The method according to any one of claims 1 to 3, characterized in that: releasing the space occupied by interface information corresponding to at least part of the interface numbers that are not adjacent to the target interface number in the first memory. Storage space, including:
比对所述待加载的界面编号对应的界面信息所需的存储空间和与所述目标 界面编号不相邻的界面编号对应的界面信息所占用的存储空间; 若所述待加载的界面编号对应的界面信息所需的存储空间小于与所述目标 界面编号不相邻的界面编号对应的界面信息所占用的存储空间, 则释放所述第 一存储器中所述待加载的界面编号对应的界面信息所需的存储空间, 其中, 所 释放的存储空间不包括所述目标界面信息占用的存储空间, 或者释放将与所述 目标界面编号不相邻的界面编号对应的界面信息所占用的存储空间。 Compare the storage space required for the interface information corresponding to the interface number to be loaded and the storage space occupied by the interface information corresponding to the interface number that is not adjacent to the target interface number; if the interface number to be loaded corresponds to The storage space required for the interface information is less than the storage space occupied by the interface information corresponding to the interface number that is not adjacent to the target interface number, then release the interface information corresponding to the interface number to be loaded in the first memory Required storage space, wherein the released storage space does not include the storage space occupied by the target interface information, or the storage space occupied by interface information corresponding to an interface number that is not adjacent to the target interface number is released.
5、 如权利要求 1-4任一项权利要求所述的方法, 其特征在于, 加载所述待 加载的界面编号对应的界面信息到所述第一存储器, 包括: 加载所述待加载的界面编号对应的界面信息于所述第一存储器释放的存储 空间中; 或者加载所述待加载的界面编号对应的界面信息于所述第一存储器中, 覆 盖已存储的界面信息, 其中, 被覆盖的界面信息不包括所述目标界面编号对应 的界面信息。 5. The method according to any one of claims 1 to 4, wherein loading the interface information corresponding to the interface number to be loaded to the first memory includes: loading the interface to be loaded. The interface information corresponding to the number is stored in the storage space released by the first memory; or the interface information corresponding to the interface number to be loaded is loaded into the first memory, overwriting the stored interface information, where the overwritten The interface information does not include the interface information corresponding to the target interface number.
6、 一种终端, 其特征在于, 所述终端包括, 接收模块、 解析模块、 计算模 块、 确定模块、 释放模块及加载模块, 6. A terminal, characterized in that the terminal includes a receiving module, an analysis module, a calculation module, a determination module, a release module and a loading module,
所述接收模块, 接收用户切换应用程序界面操作产生的切换信号; 所述解析模块, 解析所述切换信号, 确定目标界面编号; 所述计算模块, 根据与所述目标界面编号相邻的预定数量确定与所述目标 界面编号相邻的界面编号; 所述确定模块, 根据第一存储器中存储的界面编号和与所述目标界面编号 相邻的界面编号, 确定待加载的界面编号对应的界面信息; 所述释放模块, 释放所述第一存储器中与所述目标界面编号不相邻的至少 部分界面编号对应的界面信息所占用的存储空间; The receiving module receives the switching signal generated by the user's switching application interface operation; the parsing module parses the switching signal to determine the target interface number; the calculation module is based on a predetermined number adjacent to the target interface number Determine the interface number adjacent to the target interface number; The determination module determines the interface information corresponding to the interface number to be loaded according to the interface number stored in the first memory and the interface number adjacent to the target interface number; the release module releases the interface information in the first memory The storage space occupied by interface information corresponding to at least part of the interface numbers that are not adjacent to the target interface number;
所述加载模块, 加载所述待加载的界面编号对应的界面信息到所述第一存 储器。 The loading module loads the interface information corresponding to the interface number to be loaded into the first memory.
7、 如权利要求 6所述的终端, 其特征在于, 所述计算模块根据与所述目标 界面编号相邻的预定数量确定与所述目标界面编号相邻的界面编号, 包括: 所述计算模块根据与所述目标界面编号相邻的预定数量确定与所述目标界 面编号左右都相邻预定数量、 左相邻预定数量或者右相邻预定数量的界面编号。 7. The terminal according to claim 6, wherein the calculation module determines interface numbers adjacent to the target interface number based on a predetermined number adjacent to the target interface number, including: the calculation module A predetermined number of interface numbers adjacent to the target interface number on both left and right, a predetermined number on the left, or a predetermined number on the right are determined based on the predetermined number of adjacent to the target interface number.
8、 如权利要求 6或 7所述的终端, 其特征在于, 所述确定模块根据第一存 储器中存储的界面编号和与所述目标界面编号相邻的界面编号, 确定待加载的 界面编号对应的界面信息, 包括: 所述确定模块计算与所述目标界面编号每一侧相邻的界面编号数量; 确定所述数量和与所述目标界面编号相邻的预定数量一致; 8. The terminal according to claim 6 or 7, wherein the determining module determines the interface number corresponding to the to-be-loaded interface number based on the interface number stored in the first memory and the interface number adjacent to the target interface number. The interface information includes: the determination module calculates the number of interface numbers adjacent to each side of the target interface number; determines that the number is consistent with a predetermined number adjacent to the target interface number;
比对所述第一存储器中的界面信息对应的界面编号和与所述目标界面编号 相邻的界面编号; 确定未存储于所述第一存储器的, 与所述目标界面编号相邻的界面编号对 应的界面信息作为待加载的界面编号对应的界面信息。 Compare the interface number corresponding to the interface information in the first memory with the interface number adjacent to the target interface number; determine the interface number adjacent to the target interface number that is not stored in the first memory The corresponding interface information is used as the interface information corresponding to the interface number to be loaded.
9、 如权利要求 6-8任一项权利要求所述的终端, 其特征在于, 所述释放模 块释放所述第一存储器中与所述目标界面编号不相邻的至少部分界面编号对应 的界面信息所占用的存储空间, 包括: 所述释放模块比对所述待加载的界面编号对应的界面信息所需的存储空间 若所述待加载的界面编号对应的界面信息所需的存储空间小于与所述目标 界面编号不相邻的界面编号对应的界面信息所占用的存储空间, 则释放所述第 一存储器中所述待加载的界面编号对应的界面信息所需的存储空间, 其中, 所 释放的存储空间不包括所述目标界面信息占用的存储空间, 或者释放与所述目 标界面编号不相邻的界面编号对应的界面信息所占用的存储空间。 9. The terminal according to any one of claims 6 to 8, wherein the release module releases interfaces corresponding to at least part of the interface numbers in the first memory that are not adjacent to the target interface number. The storage space occupied by the information includes: the storage space required by the release module to compare the interface information corresponding to the interface number to be loaded If the storage space required for the interface information corresponding to the interface number to be loaded is less than the storage space occupied by the interface information corresponding to the interface number that is not adjacent to the target interface number, then release the storage space in the first memory. The storage space required for the interface information corresponding to the interface number to be loaded, where the released storage space does not include the storage space occupied by the target interface information, or the storage space corresponding to the interface number that is not adjacent to the target interface number is released. The storage space occupied by interface information.
10、 如权利要求 6-9任一项权利要求所述的终端, 其特征在于, 所述加载模 块加载所述待加载的界面编号对应的界面信息到所述第一存储器, 包括: 10. The terminal according to any one of claims 6 to 9, wherein the loading module loads the interface information corresponding to the interface number to be loaded into the first memory, including:
所述加载模块加载所述待加载的界面编号对应的界面信息于所述第一存储 器释放的存储空间中; 或者加载所述待加载的界面编号对应的界面信息于所述第一存储器中覆盖 已存储的界面信息, 其中, 被覆盖的界面信息不包括所述目标界面信息。 The loading module loads the interface information corresponding to the interface number to be loaded in the storage space released by the first memory; or loads the interface information corresponding to the interface number to be loaded in the first memory to overwrite the existing interface information. Stored interface information, wherein the overwritten interface information does not include the target interface information.
11、 如权利要求 6-10任一项权利要求所述的终端, 其特征在于, 所述接收 模块接收用户切换应用程序界面操作产生的切换信号, 包括: 所述接收模块接 收用户滑动界面产生的滑动信号、 拖动界面滑动条产生的拖动信号, 或者触摸 点击界面编号产生的点击信号的一种或多种。 11. The terminal according to any one of claims 6 to 10, wherein the receiving module receives a switching signal generated by a user switching application program interface operation, including: the receiving module receives a switching signal generated by a user sliding interface One or more of the sliding signal, the drag signal generated by dragging the interface slide bar, or the click signal generated by touching and clicking the interface number.
12、 一种终端, 包括第一存储器、 处理器及输入单元, 其特征在于, 所述第一存储器存储, 所述终端预设数量的应用程序的界面信息, 所述界 面信息包括界面元素、 界面编号、 所述界面编号与所述界面元素的对应关系、 以及所述界面元素位于所述界面编号对应的应用程序界面的位置信息; 所述输入单元, 用于接收用户切换应用程序界面操作, 并产生切换信号; 所述处理器, 用于根据所述切换信号确定目标界面编号; 根据与所述目标 界面编号相邻的预定数量确定与所述目标界面编号相邻的界面编号; 根据所述 第一存储器存储的界面编号和与所述目标界面编号相邻的界面编号, 确定未被 加载的界面编号对应的界面信息为待加载的界面编号对应的界面信息; 释放所 述第一存储器中与所述目标界面编号不相邻的至少部分界面编号对应的界面信 息所占用的存储空间; 加载所述待加载的界面编号对应的界面信息到所述第一 存储器。 12. A terminal, including a first memory, a processor and an input unit, characterized in that the first memory stores interface information of a preset number of application programs of the terminal, and the interface information includes interface elements, interfaces number, the corresponding relationship between the interface number and the interface element, and the position information of the interface element in the application interface corresponding to the interface number; the input unit is used to receive the user's application interface switching operation, and Generate a switching signal; the processor is configured to determine a target interface number based on the switching signal; determine an interface number adjacent to the target interface number based on a predetermined number adjacent to the target interface number; The interface number stored in a memory and the interface number adjacent to the target interface number are determined to be The interface information corresponding to the loaded interface number is the interface information corresponding to the interface number to be loaded; releasing the storage space occupied by the interface information corresponding to at least part of the interface numbers that are not adjacent to the target interface number in the first memory; Load the interface information corresponding to the interface number to be loaded into the first memory.
13、 如权利要求 12所述的终端, 其特征在于, 所述终端还包括第二存储器, 所述待加载的界面编号对应的界面信息存储于所述第二存储器。 13. The terminal according to claim 12, wherein the terminal further includes a second memory, and the interface information corresponding to the interface number to be loaded is stored in the second memory.
14、 如权利要求 12或 13所述的终端, 其特征在于, 所述待加载的界面编 号对应的界面信息存储于第二存储器, 所述第二存储器位于云服务器。 14. The terminal according to claim 12 or 13, characterized in that the interface information corresponding to the interface number to be loaded is stored in a second memory, and the second memory is located in the cloud server.
15、 如权利要求 12-14任一项权利要求所述的终端, 其特征在于, 所述处理 器根据与所述目标界面编号相邻的预定数量确定与所述目标界面编号相邻的界 面编号, 包括: 所述处理器根据与所述目标界面编号相邻的预定数量确定与所述目标界面 编号左右都相邻预定数量、 左相邻预定数量或者右相邻预定数量的界面编号。 15. The terminal according to any one of claims 12 to 14, wherein the processor determines interface numbers adjacent to the target interface number based on a predetermined number of adjacent interface numbers to the target interface number. , including: the processor determines a predetermined number of interface numbers that are adjacent to the target interface number on both left and right, a predetermined number of left adjacent, or a predetermined number of right adjacent to the target interface number based on a predetermined number of adjacent to the target interface number.
16、 如权利要求 12-15任一项权利要求所述的终端, 其特征在于, 所述处理 器根据第一存储器中存储的界面编号和与所述目标界面编号相邻的界面编号, 确定待加载的界面编号对应的界面信息, 包括: 所述处理器计算与所述目标界面编号每一侧相邻的界面编号数量; 确定所 述数量和与所述目标界面编号相邻的预定数量一致; 则比对所述第一存储器中 的界面信息对应的界面编号和与所述目标界面编号相邻的界面编号; 确定未存 作为待加载的界面编号对应的界面信息。 16. The terminal according to any one of claims 12 to 15, wherein the processor determines the interface number to be processed based on the interface number stored in the first memory and the interface number adjacent to the target interface number. The interface information corresponding to the loaded interface number includes: the processor calculates the number of interface numbers adjacent to each side of the target interface number; determines that the number is consistent with a predetermined number adjacent to the target interface number; Then compare the interface number corresponding to the interface information in the first memory and the interface number adjacent to the target interface number; determine that the interface information corresponding to the interface number to be loaded is not stored.
17、 如权利要求 12-16所述的终端, 其特征在于, 所述处理器释放所述第一 存储器中与所述目标界面编号不相邻的至少部分界面编号对应的界面信息所占 用的存储空间, 包括: 所述处理器比对所述待加载的界面编号对应的界面信息所需的存储空间和 17. The terminal according to claims 12-16, wherein the processor releases the storage occupied by the interface information corresponding to at least part of the interface numbers that are not adjacent to the target interface number in the first memory. space, including: The processor compares the storage space required for the interface information corresponding to the interface number to be loaded and the
若所述待加载的界面编号对应的界面信息所需的存储空间小于与所述目标 界面编号不相邻的界面编号对应的界面信息所占用的存储空间, 则释放所述第 一存储器中所述待加载的界面编号对应的界面信息所需的存储空间, 其中, 所 释放的存储空间不包括所述目标界面信息占用的存储空间, 或者释放与所述目 标界面编号不相邻的界面编号对应的界面信息所占用的存储空间。 If the storage space required for the interface information corresponding to the interface number to be loaded is less than the storage space occupied by the interface information corresponding to the interface number that is not adjacent to the target interface number, then release the storage space in the first memory. The storage space required for the interface information corresponding to the interface number to be loaded, where the released storage space does not include the storage space occupied by the target interface information, or the storage space corresponding to the interface number that is not adjacent to the target interface number is released. The storage space occupied by interface information.
18、 如权利要求 12-17所述的终端, 其特征在于, 所述处理器加载所述待加 载的界面编号对应的界面信息到所述第一存储器, 包括: 所述处理器加载所述待加载的界面编号对应的界面信息于所述第一存储器 释放的存储空间中; 或者加载所述待加载的界面编号对应的界面信息于所述第一存储器中覆盖 已存储的界面信息, 其中, 被覆盖的界面信息不包括所述目标界面信息。 18. The terminal according to claims 12-17, wherein the processor loads the interface information corresponding to the interface number to be loaded into the first memory, including: the processor loads the interface information to be loaded. The interface information corresponding to the loaded interface number is stored in the storage space released by the first memory; or the interface information corresponding to the interface number to be loaded is loaded into the first memory to overwrite the stored interface information, where, The overwritten interface information does not include the target interface information.
19、 如权利要求 12-18所述的终端, 其特征在于, 所述处理器接收用户切换 应用程序界面操作产生的切换信号, 包括: 所述处理器接收用户滑动界面产生 的滑动信号、 拖动界面滑动条产生的拖动信号, 或者触摸点击界面编号产生的 点击信号的一种或多种。 19. The terminal according to claims 12-18, wherein the processor receives a switching signal generated by a user switching application interface operation, including: the processor receives a sliding signal generated by a user sliding interface, dragging One or more of the drag signals generated by the interface slider, or the click signals generated by touching and clicking on the interface number.
PCT/CN2013/072171 2012-09-07 2013-03-05 Terminal and method for dynamically loading application program interface WO2014036817A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201210329833.3A CN102866916B (en) 2012-09-07 2012-09-07 Terminal and method for dynamically loading application program interface
CN201210329833.3 2012-09-07

Publications (1)

Publication Number Publication Date
WO2014036817A1 true WO2014036817A1 (en) 2014-03-13

Family

ID=47445795

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2013/072171 WO2014036817A1 (en) 2012-09-07 2013-03-05 Terminal and method for dynamically loading application program interface

Country Status (2)

Country Link
CN (1) CN102866916B (en)
WO (1) WO2014036817A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106250224A (en) * 2016-07-28 2016-12-21 乐视控股(北京)有限公司 The management method of a kind of application program and device

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102866916B (en) * 2012-09-07 2014-12-24 华为终端有限公司 Terminal and method for dynamically loading application program interface
CN104035820B (en) * 2013-03-08 2018-06-22 腾讯科技(深圳)有限公司 The data load method and device of display terminal
CN104169854B (en) * 2014-01-07 2018-06-05 华为终端(东莞)有限公司 A kind of icon arrangement method and terminal
CN103744793B (en) * 2014-01-20 2017-03-01 苏州壹世通科技有限公司 A kind of data display method to set up and device
CN107515711A (en) * 2016-06-17 2017-12-26 中兴通讯股份有限公司 The method and device of exhibiting pictures
CN106648619A (en) * 2016-11-14 2017-05-10 深圳市元征科技股份有限公司 Method and device for rapidly generating vehicle-mounted terminal operation interface
CN107632869B (en) * 2017-09-15 2021-01-26 百富计算机技术(深圳)有限公司 Method and equipment for loading user interface of POS application
CN109753214A (en) * 2017-11-06 2019-05-14 阿里巴巴集团控股有限公司 Processing method, device, equipment and machine readable media
CN109753326B (en) * 2017-11-06 2023-04-07 斑马智行网络(香港)有限公司 Processing method, device, equipment and machine readable medium
CN108762836B (en) * 2018-05-21 2022-04-19 Oppo广东移动通信有限公司 Management method and device for preloaded application, storage medium and intelligent terminal
CN113377270B (en) * 2021-05-31 2024-04-30 北京达佳互联信息技术有限公司 Information display method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080295027A1 (en) * 2007-05-25 2008-11-27 Samsung Electronics Co., Ltd. Apparatus and method for changing application user interface in portable terminal
CN101741969A (en) * 2008-11-07 2010-06-16 康佳集团股份有限公司 Method for managing a plurality of controls on display interface of mobile phone and control manager thereof
CN102222006A (en) * 2011-07-22 2011-10-19 武汉天喻信息产业股份有限公司 Mobile Widget user interface realization method and device
CN102385473A (en) * 2010-09-02 2012-03-21 腾讯科技(深圳)有限公司 Page switching method and device
CN102866916A (en) * 2012-09-07 2013-01-09 华为终端有限公司 Terminal and method for dynamically loading application program interface

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6941133B2 (en) * 2001-05-18 2005-09-06 Qualcomm Inc. Dynamic loading and creation of functional objects in a wireless device
CN102223450A (en) * 2011-06-25 2011-10-19 北京播思软件技术有限公司 Method for processing display of main screen of mobile terminal
CN102368258B (en) * 2011-09-30 2014-11-26 广州市动景计算机科技有限公司 Webpage page caching management method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20080295027A1 (en) * 2007-05-25 2008-11-27 Samsung Electronics Co., Ltd. Apparatus and method for changing application user interface in portable terminal
CN101741969A (en) * 2008-11-07 2010-06-16 康佳集团股份有限公司 Method for managing a plurality of controls on display interface of mobile phone and control manager thereof
CN102385473A (en) * 2010-09-02 2012-03-21 腾讯科技(深圳)有限公司 Page switching method and device
CN102222006A (en) * 2011-07-22 2011-10-19 武汉天喻信息产业股份有限公司 Mobile Widget user interface realization method and device
CN102866916A (en) * 2012-09-07 2013-01-09 华为终端有限公司 Terminal and method for dynamically loading application program interface

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106250224A (en) * 2016-07-28 2016-12-21 乐视控股(北京)有限公司 The management method of a kind of application program and device

Also Published As

Publication number Publication date
CN102866916A (en) 2013-01-09
CN102866916B (en) 2014-12-24

Similar Documents

Publication Publication Date Title
US10917515B2 (en) Method for switching applications in split screen mode, computer device and computer-readable storage medium
WO2014036817A1 (en) Terminal and method for dynamically loading application program interface
US20240012562A1 (en) Control method applied to screen projection scenario and related device
US8674955B2 (en) Sensing method, computer program product and portable device
CN111240789B (en) Widget processing method and related device
CN105518605A (en) Touch operation method and apparatus for terminal
CN105786878B (en) Display method and device of browsing object
WO2019104677A1 (en) Method for displaying application shortcut menus on different screens
WO2015039445A1 (en) Notification message display method and apparatus, and electronic device
CN105975190B (en) Graphical interface processing method, device and system
CN110879680B (en) Icon management method and electronic equipment
WO2018120905A1 (en) Message reminding method for terminal, and terminal
WO2014012472A1 (en) User interface icon mangement method and touch control device
US20150212693A1 (en) Interaction method and apparatus for listing data on mobile terminal
TW201516844A (en) Apparatus and method for selecting object
WO2013135169A1 (en) Method for adjusting input-method keyboard and mobile terminal thereof
CN108834132B (en) Data transmission method and equipment and related medium product
WO2017193496A1 (en) Application data processing method and apparatus, and terminal device
WO2018049934A1 (en) Data migration method and terminals
WO2019061512A1 (en) Task switching method and terminal
WO2014094456A1 (en) Page switching method and device and terminal
CN110023894A (en) A kind of mobile application figure calibration method and terminal
CN104238931B (en) Information input method and device and electronic equipment
CN110602766B (en) Personal hotspot identification method and method for determining association relationship between terminals
CN106293407B (en) Picture display method and terminal equipment

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 13835959

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 13835959

Country of ref document: EP

Kind code of ref document: A1