CN117290023A - Interface jump method, device, computer equipment and storage medium - Google Patents

Interface jump method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN117290023A
CN117290023A CN202210678134.3A CN202210678134A CN117290023A CN 117290023 A CN117290023 A CN 117290023A CN 202210678134 A CN202210678134 A CN 202210678134A CN 117290023 A CN117290023 A CN 117290023A
Authority
CN
China
Prior art keywords
interface
volatile memory
picture
memory
interface picture
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210678134.3A
Other languages
Chinese (zh)
Inventor
何振
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Weiqingda Health Technology Co ltd
Original Assignee
Shenzhen Weiqingda Health Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Weiqingda Health Technology Co ltd filed Critical Shenzhen Weiqingda Health Technology Co ltd
Priority to CN202210678134.3A priority Critical patent/CN117290023A/en
Publication of CN117290023A publication Critical patent/CN117290023A/en
Pending legal-status Critical Current

Links

Classifications

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

Landscapes

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

Abstract

The application relates to an interface jump method, an interface jump device, computer equipment and a storage medium. The method comprises the following steps: displaying a first interface through the display assembly; responding to an interface jump instruction, and reading a target interface picture corresponding to the interface jump instruction from interface pictures stored in the volatile memory; the interface picture stored in the volatile memory is obtained by loading the interface picture from the nonvolatile memory to the volatile memory in the starting process of the terminal; and displaying a second interface corresponding to the target interface picture through the display component. By adopting the method, the time for reading the interface picture can be saved, so that the interface jump is smoother, and the phenomenon of jamming is avoided.

Description

Interface jump method, device, computer equipment and storage medium
Technical Field
The present disclosure relates to the field of terminal technologies, and in particular, to an interface jumping method, an interface jumping device, a computer device, and a storage medium.
Background
The interface is the medium for transferring and exchanging information between the person and the terminal, and is the set of supporting software, hardware and methods for the user and the system to perform two-way information interaction. Through the interface displayed on the display screen, the user can realize information transfer with the terminal. Based on the user operation, when a switch from the current interface to the target interface is required, an interface jump occurs. The current interface jump technology is that after the terminal receives the interface switching request of the user, the terminal loads the target interface picture corresponding to the interface switching request from the hard disk to the RAM, and then reads the target interface picture in the RAM for displaying the target interface.
However, the current interface jump technology has a jamming phenomenon when performing interface switching, which is not smooth enough.
Disclosure of Invention
In view of the foregoing, it is desirable to provide an interface jump method, apparatus, computer device, and computer readable storage medium that can improve the smoothness of interface jumps.
In a first aspect, the present application provides an interface skipping method, which is applied to a terminal, where the terminal includes a nonvolatile memory, a volatile memory, and a display component, and the display component is used for displaying an interface, and the method includes:
displaying a first interface through the display assembly;
responding to an interface jump instruction, and reading a target interface picture corresponding to the interface jump instruction from interface pictures stored in the volatile memory; the interface picture stored in the volatile memory is obtained by loading the interface picture from the nonvolatile memory to the volatile memory in the starting process of the terminal;
and displaying a second interface corresponding to the target interface picture through the display component.
In one embodiment, the method further comprises:
Confirming whether the interface pictures are all loaded to the volatile memory;
and if the interface pictures are confirmed to be completely loaded to the volatile memory, jumping to a startup completion interface.
In one embodiment, the loading the interface picture from the non-volatile memory to the volatile memory includes:
and loading the interface pictures with the calling times larger than a calling threshold value from the nonvolatile memory to the volatile memory according to the calling times of the interface pictures.
In one embodiment, the loading the interface picture from the non-volatile memory to the volatile memory includes:
receiving a starting operation instruction;
responding to the starting operation instruction, executing starting operation and searching a target file, wherein the target file comprises storage position information of the interface picture in the nonvolatile memory;
and if the target file is successfully searched, loading the interface picture from the nonvolatile memory to the volatile memory according to the storage position information.
In one embodiment, the storage location information includes an index address list and a first start address of a physical memory space storing interface pictures, the index address list includes a logical address corresponding to each interface picture, and the loading the interface picture from the nonvolatile memory to the volatile memory according to the storage location information includes:
Determining an actual address of the interface picture in a nonvolatile memory according to the first starting address and the logic address;
determining whether the interface picture exists in the actual address;
and if the interface picture exists, loading the interface picture from the nonvolatile memory to the volatile memory according to the actual address.
In one embodiment, the method further comprises:
and if the interface picture does not exist, sending prompt information.
In one embodiment, the reading, from the interface pictures stored in the volatile memory, the target interface picture corresponding to the interface jump instruction includes:
and reading a target interface picture corresponding to the interface jump instruction according to a second starting address and a logic address of the interface picture in a physical memory space in the volatile memory.
In a second aspect, the present application further provides an interface jumping device, applied to a terminal, where the terminal includes a nonvolatile memory, a volatile memory, and a display component, where the display component is used to display an interface, and the device includes:
the display module is used for displaying a first interface through the display component;
The reading module is used for responding to the interface jump instruction and reading a target interface picture corresponding to the interface jump instruction from the interface pictures stored in the volatile memory; the interface picture stored in the volatile memory is obtained by loading the interface picture from the nonvolatile memory to the volatile memory in the starting process of the terminal;
and the display module is used for displaying a second interface corresponding to the target interface picture through the display component.
In a third aspect, the present application also provides a computer device. The computer device comprises a memory storing a computer program and a processor implementing the steps of the method described above when the processor executes the computer program.
In a fourth aspect, the present application also provides a computer-readable storage medium. The computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the method described above.
In a fifth aspect, the present application also provides a computer program product. The computer program product comprises a computer program which, when executed by a processor, implements the steps of the method described above.
According to the interface jump method, the interface jump device, the computer equipment and the storage medium, the interface picture is loaded from the nonvolatile memory to the volatile memory in the starting process of the terminal, and when the interface jump instruction is received, the target interface picture corresponding to the interface jump instruction is directly read from the volatile memory for displaying the target interface. Because the target interface picture is preloaded into the volatile memory in the starting process of the terminal, the terminal does not need to load the target interface picture from the nonvolatile memory to the volatile memory when receiving the interface jump instruction, and then reads the corresponding target interface picture from the volatile memory, so that the time for reading the interface picture is saved, the interface jump is smoother, and the phenomenon of blocking is avoided.
Drawings
FIG. 1 is an application environment diagram of an interface jump method in one embodiment;
FIG. 2 is a flow chart of an interface jump method according to one embodiment;
FIG. 3 is a flow diagram of generating an index address list in one embodiment;
FIG. 4 is a flow chart of an interface jump method according to another embodiment;
FIG. 5 is a block diagram of an interface jumping device, according to one embodiment;
Fig. 6 is an internal structural diagram of a computer device in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the present application.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
It will be understood that the terms "first," "second," and the like, as used herein, may be used to describe various elements, but these elements are not limited by these terms. These terms are only used to distinguish one element from another element. For example, a first interface may be referred to as a second interface, and similarly, a second interface may be referred to as a first interface, without departing from the scope of the present application. Both the first interface and the second interface are interfaces, but they are not the same interface.
The interface jump method provided by the embodiment of the application can be applied to an application environment shown in fig. 1. The terminal 101 includes volatile memory 1011, processor 1012, display assembly 1013, and nonvolatile memory 1014.
Wherein the processor 1012 is configured to load interface pictures from the nonvolatile memory 1014 to the volatile memory 1011 and read interface pictures in the volatile memory 1011, and the display component 1013 is configured to display interface pictures.
Specifically, the terminal 101 displays a first interface through the display unit 1013; in response to the interface jump instruction, the processor 1012 reads a target interface picture corresponding to the interface jump instruction from the interface pictures stored in the volatile memory 1011; wherein, the interface picture stored in the volatile memory 1011 is obtained by loading the interface picture from the nonvolatile memory 1014 to the volatile memory 1011 during the power-on process of the terminal 101; the terminal 101 displays a second interface corresponding to the target interface picture through the display component 1013.
The terminal 101 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, internet of things devices and portable wearable devices, and the internet of things devices may be smart speakers, smart televisions, smart air conditioners, smart vehicle devices, and the like. The portable wearable device may be a smart watch, smart bracelet, headset, or the like. In all the method embodiments described below, the interface jump method is described taking the example that the terminal 101 is a ventilator.
In one embodiment, as shown in fig. 2, an interface jump method is provided, which is illustrated by taking the application of the method to the terminal 101 in fig. 1 as an example, and includes the following steps:
step 201, displaying a first interface through the display component.
Wherein, the display assembly refers to a device for displaying an interface. Specifically, the display component includes, but is not limited to, an LCD (Liquid Crystal Display ), an OLED (organic light-Emitting Diode), and the like. Among them, the LCD has 6 bits, 16 bits, 18 bits, 24 bits, etc., and the more data transmission bits, the faster the data transmission rate. It should be noted that the display assembly may be selected according to the need, and the present embodiment is not limited herein.
The first interface refers to a current interface of the display assembly. Specifically, the first interface may be an interface displayed by default after the terminal is started, or may be an interface displayed by the display component. For example, after the ventilator is started, the default interface is displayed as a standby state, and the standby state interface at this time is the first interface. For another example, when the current ventilator interface is displaying a sleep report, the first interface at this time is the interface displaying the sleep report.
Step 202, responding to an interface jump instruction, and reading a target interface picture corresponding to the interface jump instruction from interface pictures stored in the volatile memory; the interface picture stored in the volatile memory is obtained by loading the interface picture from the nonvolatile memory to the volatile memory in the starting process of the terminal.
The interface skip instruction is an instruction for indicating the terminal interface skip. Specifically, in response to the interface jump instruction, the processor reads the corresponding interface picture and displays the interface picture through the display component.
The volatile memory refers to a memory in which data is lost after power failure. In particular, including but not limited to volatile memory (Random Access Memory, RAM) or external cache memory, and the like. By way of illustration, and not limitation, RAM can be in the form of static volatile memory (Static Random Access Memory, SRAM) or dynamic volatile memory (Dynamic Random Access Memory, DRAM). The volatile memory may be selected according to requirements, and the embodiment is not limited herein.
The nonvolatile memory refers to a memory in which data is not lost after power failure. In particular, the nonvolatile Memory may include nonvolatile Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, high density embedded nonvolatile Memory, resistive random access Memory (ReRAM), magnetic random access Memory (Magnetoresistive Random Access Memory, MRAM), ferroelectric Memory (Ferroelectric Random Access Memory, FRAM), phase change Memory (Phase Change Memory, PCM), graphene Memory, and the like. The nonvolatile memory may be selected according to requirements, and the present embodiment is not limited herein.
The interface picture refers to a picture form presented on a display in front of a user. Specifically, the interface picture may be used according to the usage field Jing Xuan. For example, a standby state interface, an adjustment parameter interface, an alarm interface, and a sleep reporting detail interface of the ventilator may select different interface pictures.
And 203, displaying a second interface corresponding to the target interface picture through the display component.
The second interface is the next interface to be displayed by the display component. Specifically, the second interface may be the next interface of the default display interface after the terminal is started, or may be the next interface of the interface being displayed by the display component, which needs to be determined according to the interface jump instruction. For example, if the startup interface of the ventilator defaults to a standby state interface, the interface jump instruction instructs the next interface to jump to the adjustment parameter interface of the ventilator, and the second interface is the adjustment parameter interface of the ventilator. For another example, when the current ventilator interface is the adjustment parameter interface and the interface jump instruction instructs the next interface to jump to the alarm interface of the ventilator, the second interface is the alarm interface of the ventilator.
In this embodiment, in the process of starting up the terminal, the interface picture is loaded from the nonvolatile memory to the volatile memory, and when an interface jump instruction is received, a target interface picture corresponding to the interface jump instruction is directly read from the volatile memory for displaying a target interface. Because the target interface picture is preloaded into the volatile memory in the starting process of the terminal, the target interface picture does not need to be loaded into the volatile memory from the nonvolatile memory when the interface jump instruction is received, and then the corresponding target interface picture is read from the volatile memory, so that the time for reading the interface picture is saved, the interface jump is smoother, and the phenomenon of stuck state is avoided.
In another embodiment, the method further comprises: confirming whether the interface pictures are all loaded to the volatile memory; and if the interface pictures are confirmed to be completely loaded to the volatile memory, jumping to a startup completion interface.
The starting-up completion interface is an interface displayed after the terminal is started up. Specifically, the power-on completion interfaces of different terminals are different, and the embodiment is not limited herein.
In this embodiment, it is confirmed that the interface picture is completely loaded into the volatile memory and then jumps to the startup completion interface, so that the phenomenon that the interface is blocked or blocked when the user switches the interface under the condition that the interface picture is not completely loaded can be avoided.
In one embodiment, the loading the interface picture from the non-volatile memory to the volatile memory includes: and loading the interface pictures with the calling times larger than a calling threshold value from the nonvolatile memory to the volatile memory according to the calling times of the interface pictures.
The calling times refer to the calling times of the user to the interface picture. Specifically, the number of calls is obtained from a large amount of statistical data. It should be noted that, in general, the number of calls of interface pictures of different terminals is different. Optionally, the calling times of the interface picture can be counted in the process that the user uses the terminal.
The calling threshold is called a critical value, which refers to a lowest value or a highest value that can be generated by an effect. Specifically, when the calling number of a certain interface picture is greater than the calling threshold, the interface picture is a picture with high use frequency of the user. It should be noted that, in general, the call thresholds of different terminals are different, and the call thresholds may be set according to application scenarios of the terminals.
In this embodiment, in the process of starting up the terminal, according to the call times of the interface pictures, the interface pictures with the call times greater than the call threshold are loaded from the nonvolatile memory to the volatile memory. In the case where the storage space of the volatile memory is not large enough, the storage space of the volatile memory can be saved.
In another embodiment, the loading the interface picture from the non-volatile memory to the volatile memory further comprises: and loading the interface pictures with the calling times not larger than the calling threshold value from the nonvolatile memory to the volatile memory.
Specifically, when an interface jump instruction is received, in response to the interface jump instruction, the processor loads a target interface picture corresponding to the interface jump instruction from the nonvolatile memory to the volatile memory, and then reads the corresponding target interface picture from the volatile memory.
In this embodiment, in the process of starting up the terminal, the interface picture with the calling number not greater than the calling threshold is not loaded from the nonvolatile memory to the volatile memory, and under the condition that the storage space of the volatile memory is not large enough, the storage space of the volatile memory can be saved.
In another embodiment, the loading the interface picture from the non-volatile memory to the volatile memory includes: receiving a starting operation instruction; responding to the starting operation instruction, executing starting operation and searching a target file, wherein the target file comprises storage position information of the interface picture in the nonvolatile memory; and if the target file is successfully searched, loading the interface picture from the nonvolatile memory to the volatile memory according to the storage position information.
The starting-up operation instruction refers to a starting-up instruction of the terminal. Specifically, the power-on operation instruction is used for indicating that the terminal is in a power-on state.
The target file refers to a file related to the interface picture. Specifically, the storage position information of the interface picture in the nonvolatile memory includes but is not limited to the storage position information of the interface picture in the nonvolatile memory. In the present embodiment, when the target file is found, it is explained that the interface picture data already exists in the nonvolatile memory.
In the embodiment, the interface picture is quickly searched by searching the target file, so that the efficiency of searching the interface picture is improved.
In one embodiment, the storage location information includes an index address list and a first start address of a physical memory space storing interface pictures, the index address list includes a logical address corresponding to each interface picture, and the loading the interface picture from the nonvolatile memory to the volatile memory according to the storage location information includes: determining an actual address of the interface picture in a nonvolatile memory according to the first starting address and the logic address; determining whether the interface picture exists in the actual address; and if the interface picture exists, loading the interface picture from the nonvolatile memory to the volatile memory according to the actual address.
The first start address refers to a start physical address of the non-volatile memory for storing the interface picture. Specifically, the first starting address is selected according to the memory type and the memory size.
Wherein, the logical address refers to an address used when the user programs. Specifically, the logical addresses used in the user programming are converted into physical addresses when the CPU executes the program.
The index address list refers to a logical address list of the interface picture. Specifically, the index address list includes a logical address of each interface picture.
The actual address refers to a physical address of the nonvolatile memory where the interface picture is stored. Specifically, when the logical address and the first start address are known, the physical address is obtained by the address adder of the CPU.
In this embodiment, the physical address of the interface picture in the nonvolatile memory is determined through the logical address and the first start address, which is convenient and simple.
In one embodiment, as shown in fig. 3, the process of generating the index address list is described using the example that the terminal is a ventilator. Firstly, naming the interface pictures of the breathing machine according to the number from 1 to the last picture of the naming serial number of the pictures, then converting the pictures into binary (. Bin file format) files through a conversion tool at a computer end, generating the bin files by taking 0x00000000 as a base address, taking the size of each interface picture as a storage unit (minimum storage unit aligned with four bytes), sequentially increasing the size backwards on the basis of the base address until the address and the size of the last interface picture are recorded, finally forming picture data composed of all the interface pictures, and generating an index address list (. Txt file format) stored by each picture. It should be noted that, in this embodiment, only the index address list of the interface picture is described, and the method for generating the index address list of the interface picture is not limited.
In one embodiment, as shown in FIG. 4, a schematic diagram of an interface jump method is provided.
In step 401, when the interface is refreshed, the CPU stores the interface picture and the index address list of the interface picture stored in the SD card of the external storage unit into the nonvolatile memory through the communication bus protocol.
Wherein the communication bus protocol is the rules and conventions that the various functional components of the computer must follow to transfer data. Communication bus protocols include UART (Universal Asynchronous Receiver/Transmitter), RS232, RS485, IIC (inter-integrated Circuit integrated circuit bus), SPI (Serial Peripheral Interface ) protocols, and the like.
Step 402, when the power is turned on again, the CPU recognizes that there are interface pictures and index address lists in the nonvolatile memory during the power-on process, and then loads the interface pictures in the nonvolatile memory from the nonvolatile memory into the volatile memory according to the original storage sequence within the preset time of starting up according to the first start address and index address list, and after all the interface pictures are loaded, the jump of the starting-up interface is completed. And bus communication is adopted between the CPU and the nonvolatile memory.
Wherein the preset time is a preset time. Specifically, the shorter the preset time, the higher the performance requirement on the CPU.
And step 403, after receiving the interface jump instruction, the CPU reads a target interface picture corresponding to the interface jump instruction from the volatile memory according to the index address list and the second starting address. The CPU and the volatile memory are communicated by a bus.
And 404, the CPU sends the target interface picture to the display component for display through the RGB interface of the display component.
The RGB interface is an interface for realizing data interaction between the CPU and the LCD based on the three primary color data signals. There are many modes of operation of the RGB interface, but no exception is that multiple data lines are required. According to the different numbers of the signal lines, the interface can be subdivided into working modes of 6 bits, 16 bits, 18 bits, 24 bits and the like, and the display data of the interface can be directly written into the LCD for display without being written into a memory for processing.
Specifically, when the CPU reads the interface picture, the interface picture is refreshed to the LCD display screen for display through the RGB interface, and the response speed and the refresh speed are high.
In the embodiment, the interface picture is loaded from the nonvolatile memory to the volatile memory in the starting process, when the CPU needs to read the interface picture, the interface picture in the volatile memory is directly read, the time for reading the interface picture is saved, and meanwhile, the interface picture is refreshed to the LCD display screen for display through the RGB interface of the LCD, so that the display refresh rate of the interface picture is greatly improved.
In another embodiment, the method further comprises: and if the interface picture does not exist, sending prompt information.
The prompt information is information for prompting the user in proper positions and occasions, and the user can do nothing, the current problems are what and what should be done. Specifically, the prompt information refers to prompt information sent when the interface picture does not exist in the nonvolatile memory, and the prompt information includes but is not limited to buzzer alarms, short message prompts, voice prompts and the like.
In the embodiment, the prompt information is sent to prompt that no interface picture exists in the nonvolatile memory, so that the abnormal reasons can be conveniently checked.
In one embodiment, the reading, from the interface pictures stored in the volatile memory, the target interface picture corresponding to the interface jump instruction includes: and reading a target interface picture corresponding to the interface jump instruction according to a second starting address and a logic address of the interface picture in a physical memory space in the volatile memory.
The second start address refers to a start physical address of the volatile memory for storing the interface picture. In particular, the second starting address may be selected according to the memory type and the memory size.
In this embodiment, the physical address of the interface picture in the volatile memory is determined through the logical address and the second start address, so that the interface picture is convenient to read.
It should be understood that, although the steps in the flowcharts related to the embodiments described above are sequentially shown as indicated by arrows, these steps are not necessarily sequentially performed in the order indicated by the arrows. The steps are not strictly limited to the order of execution unless explicitly recited herein, and the steps may be executed in other orders. Moreover, at least some of the steps in the flowcharts described in the above embodiments may include a plurality of steps or a plurality of stages, which are not necessarily performed at the same time, but may be performed at different times, and the order of the steps or stages is not necessarily performed sequentially, but may be performed alternately or alternately with at least some of the other steps or stages.
Based on the same inventive concept, the embodiment of the application also provides an interface jumping device for realizing the above-mentioned interface jumping method. The implementation of the solution provided by the device is similar to the implementation described in the above method, so the specific limitation of one or more embodiments of the interface jumping device provided below may be referred to the limitation of the interface jumping method hereinabove, and will not be repeated here.
In one embodiment, as shown in fig. 5, there is provided an interface jumping apparatus, comprising: a display module 501 and a reading module 502, wherein:
a display module 501 for displaying a first interface via the display component;
the reading module 502 is configured to respond to an interface jump instruction, and read a target interface picture corresponding to the interface jump instruction from interface pictures stored in the volatile memory; the interface picture stored in the volatile memory is obtained by loading the interface picture from the nonvolatile memory to the volatile memory in the starting process of the terminal;
the display module 501 is further configured to display, through the display component, a second interface corresponding to the target interface picture.
In one embodiment, the read module 502 includes:
the confirming unit is used for confirming whether the interface pictures are all loaded into the volatile memory;
and the jump unit is used for jumping to a startup completion interface if the interface pictures are confirmed to be completely loaded to the volatile memory.
In one embodiment, the read module 502 includes:
and the first loading unit is used for loading the interface pictures with the calling times larger than the calling threshold value from the nonvolatile memory to the volatile memory according to the calling times of the interface pictures.
In one embodiment, the read module 502 further includes:
the receiving unit is used for receiving a starting operation instruction;
the searching unit is used for responding to the starting operation instruction, executing starting operation and searching a target file, wherein the target file comprises storage position information of the interface picture in the nonvolatile memory;
and the second loading unit is used for loading the interface picture from the nonvolatile memory to the volatile memory according to the storage position information if the target file is successfully searched.
In one embodiment, the read module 502 includes:
the first determining unit is used for determining the actual address of the interface picture in the nonvolatile memory according to the first starting address and the logic address;
the second determining unit is used for determining whether the actual address exists the interface picture or not;
and the third loading unit is used for loading the interface picture from the nonvolatile memory to the volatile memory according to the actual address if the interface picture exists.
In one embodiment, the read module 502 includes:
and the sending unit is used for sending prompt information if the interface picture does not exist.
In one embodiment, the read module 502 includes:
and the reading unit is used for reading the target interface picture corresponding to the interface jump instruction according to the second starting address and the logic address of the physical memory space of the interface picture in the volatile memory.
The various modules in the interface jumping device described above may be implemented in whole or in part by software, hardware, or a combination thereof. The above modules may be embedded in hardware or may be independent of a processor in the computer device, or may be stored in software in a memory in the computer device, so that the processor may call and execute operations corresponding to the above modules.
In one embodiment, a computer device is provided, which may be a terminal, and the internal structure of which may be as shown in fig. 6. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless mode can be realized through WIFI, a mobile cellular network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement an interface jump method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, can also be keys, a track ball or a touch pad arranged on the shell of the computer equipment, and can also be an external keyboard, a touch pad or a mouse and the like.
It will be appreciated by those skilled in the art that the structure shown in fig. 6 is merely a block diagram of some of the structures associated with the present application and is not limiting of the computer device to which the present application may be applied, and that a particular computer device may include more or fewer components than shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided comprising a memory and a processor, the memory having stored therein a computer program, the processor when executing the computer program performing the steps of:
displaying a first interface through the display assembly;
responding to an interface jump instruction, and reading a target interface picture corresponding to the interface jump instruction from interface pictures stored in the volatile memory; the interface picture stored in the volatile memory is obtained by loading the interface picture from the nonvolatile memory to the volatile memory in the starting process of the terminal;
and displaying a second interface corresponding to the target interface picture through the display component.
In one embodiment, the processor when executing the computer program further performs the steps of:
Confirming whether the interface pictures are all loaded to the volatile memory;
and if the interface pictures are confirmed to be completely loaded to the volatile memory, jumping to a startup completion interface.
In one embodiment, the processor when executing the computer program further performs the steps of:
and loading the interface pictures with the calling times larger than a calling threshold value from the nonvolatile memory to the volatile memory according to the calling times of the interface pictures.
In one embodiment, the processor when executing the computer program further performs the steps of:
receiving a starting operation instruction;
responding to the starting operation instruction, executing starting operation and searching a target file, wherein the target file comprises storage position information of the interface picture in the nonvolatile memory;
and if the target file is successfully searched, loading the interface picture from the nonvolatile memory to the volatile memory according to the storage position information.
In one embodiment, the processor when executing the computer program further performs the steps of:
determining an actual address of the interface picture in a nonvolatile memory according to the first starting address and the logic address;
Determining whether the interface picture exists in the actual address;
and if the interface picture exists, loading the interface picture from the nonvolatile memory to the volatile memory according to the actual address.
In one embodiment, the processor when executing the computer program further performs the steps of:
and if the interface picture does not exist, sending prompt information.
In one embodiment, the processor when executing the computer program further performs the steps of:
and reading a target interface picture corresponding to the interface jump instruction according to a second starting address and a logic address of the interface picture in a physical memory space in the volatile memory.
In one embodiment, a computer readable storage medium is provided having a computer program stored thereon, which when executed by a processor, performs the steps of:
displaying a first interface through the display assembly;
responding to an interface jump instruction, and reading a target interface picture corresponding to the interface jump instruction from interface pictures stored in the volatile memory; the interface picture stored in the volatile memory is obtained by loading the interface picture from the nonvolatile memory to the volatile memory in the starting process of the terminal;
And displaying a second interface corresponding to the target interface picture through the display component.
In one embodiment, the computer program when executed by the processor further performs the steps of:
confirming whether the interface pictures are all loaded to the volatile memory;
and if the interface pictures are confirmed to be completely loaded to the volatile memory, jumping to a startup completion interface.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and loading the interface pictures with the calling times larger than a calling threshold value from the nonvolatile memory to the volatile memory according to the calling times of the interface pictures.
In one embodiment, the computer program when executed by the processor further performs the steps of:
receiving a starting operation instruction;
responding to the starting operation instruction, executing starting operation and searching a target file, wherein the target file comprises storage position information of the interface picture in the nonvolatile memory;
and if the target file is successfully searched, loading the interface picture from the nonvolatile memory to the volatile memory according to the storage position information.
In one embodiment, the computer program when executed by the processor further performs the steps of:
determining an actual address of the interface picture in a nonvolatile memory according to the first starting address and the logic address;
determining whether the interface picture exists in the actual address;
and if the interface picture exists, loading the interface picture from the nonvolatile memory to the volatile memory according to the actual address.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and if the interface picture does not exist, sending prompt information.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and reading a target interface picture corresponding to the interface jump instruction according to a second starting address and a logic address of the interface picture in a physical memory space in the volatile memory.
In one embodiment, a computer program product is provided comprising a computer program which, when executed by a processor, performs the steps of:
displaying a first interface through the display assembly;
responding to an interface jump instruction, and reading a target interface picture corresponding to the interface jump instruction from interface pictures stored in the volatile memory; the interface picture stored in the volatile memory is obtained by loading the interface picture from the nonvolatile memory to the volatile memory in the starting process of the terminal;
And displaying a second interface corresponding to the target interface picture through the display component.
In one embodiment, the computer program when executed by the processor further performs the steps of:
confirming whether the interface pictures are all loaded to the volatile memory;
and if the interface pictures are confirmed to be completely loaded to the volatile memory, jumping to a startup completion interface.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and loading the interface pictures with the calling times larger than a calling threshold value from the nonvolatile memory to the volatile memory according to the calling times of the interface pictures.
In one embodiment, the computer program when executed by the processor further performs the steps of:
receiving a starting operation instruction;
responding to the starting operation instruction, executing starting operation and searching a target file, wherein the target file comprises storage position information of the interface picture in the nonvolatile memory;
and if the target file is successfully searched, loading the interface picture from the nonvolatile memory to the volatile memory according to the storage position information.
In one embodiment, the computer program when executed by the processor further performs the steps of:
determining an actual address of the interface picture in a nonvolatile memory according to the first starting address and the logic address;
determining whether the interface picture exists in the actual address;
and if the interface picture exists, loading the interface picture from the nonvolatile memory to the volatile memory according to the actual address.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and if the interface picture does not exist, sending prompt information.
In one embodiment, the computer program when executed by the processor further performs the steps of:
and reading a target interface picture corresponding to the interface jump instruction according to a second starting address and a logic address of the interface picture in a physical memory space in the volatile memory.
Those skilled in the art will appreciate that implementing all or part of the above described methods may be accomplished by way of a computer program stored on a non-transitory computer readable storage medium, which when executed, may comprise the steps of the embodiments of the methods described above. Any reference to memory, database, or other medium used in the various embodiments provided herein may include at least one of non-volatile and volatile memory. The databases referred to in the various embodiments provided herein may include at least one of relational databases and non-relational databases. The non-relational database may include, but is not limited to, a blockchain-based distributed database, and the like. The processors referred to in the embodiments provided herein may be general purpose processors, central processing units, graphics processors, digital signal processors, programmable logic units, quantum computing-based data processing logic units, etc., without being limited thereto.
The technical features of the above embodiments may be arbitrarily combined, and all possible combinations of the technical features in the above embodiments are not described for brevity of description, however, as long as there is no contradiction between the combinations of the technical features, they should be considered as the scope of the description.
The above examples only represent a few embodiments of the present application, which are described in more detail and are not to be construed as limiting the scope of the present application. It should be noted that it would be apparent to those skilled in the art that various modifications and improvements could be made without departing from the spirit of the present application, which would be within the scope of the present application. Accordingly, the scope of protection of the present application shall be subject to the appended claims.

Claims (11)

1. An interface jump method, characterized by being applied to a terminal, the terminal comprising a nonvolatile memory, a volatile memory and a display component, the display component being used for displaying an interface, the method comprising:
displaying a first interface through the display assembly;
responding to an interface jump instruction, and reading a target interface picture corresponding to the interface jump instruction from interface pictures stored in the volatile memory; the interface picture stored in the volatile memory is obtained by loading the interface picture from the nonvolatile memory to the volatile memory in the starting process of the terminal;
And displaying a second interface corresponding to the target interface picture through the display component.
2. The method of claim 1, the method further comprising:
confirming whether the interface pictures are all loaded to the volatile memory;
and if the interface pictures are confirmed to be completely loaded to the volatile memory, jumping to a startup completion interface.
3. The method of claim 1, wherein the loading the interface picture from the non-volatile memory to the volatile memory comprises:
and loading the interface pictures with the calling times larger than a calling threshold value from the nonvolatile memory to the volatile memory according to the calling times of the interface pictures.
4. The method of claim 1, wherein the loading the interface picture from the non-volatile memory to the volatile memory comprises:
receiving a starting operation instruction;
responding to the starting operation instruction, executing starting operation and searching a target file, wherein the target file comprises storage position information of the interface picture in the nonvolatile memory;
and if the target file is successfully searched, loading the interface picture from the nonvolatile memory to the volatile memory according to the storage position information.
5. The method of claim 4, wherein the storage location information includes an index address list and a first start address of a physical memory space storing interface pictures, the index address list including logical addresses corresponding to the interface pictures, the loading the interface pictures from the nonvolatile memory to the volatile memory according to the storage location information comprising:
determining an actual address of the interface picture in a nonvolatile memory according to the first starting address and the logic address;
determining whether the interface picture exists in the actual address;
and if the interface picture exists, loading the interface picture from the nonvolatile memory to the volatile memory according to the actual address.
6. The method of claim 5, the method further comprising:
and if the interface picture does not exist, sending prompt information.
7. The method of claim 1, wherein the reading, from the interface pictures stored in the volatile memory, the target interface picture corresponding to the interface jump instruction includes:
and reading a target interface picture corresponding to the interface jump instruction according to a second starting address and a logic address of the interface picture in a physical memory space in the volatile memory.
8. An interface jumping apparatus applied to a terminal, the terminal including a nonvolatile memory, a volatile memory, and a display assembly for displaying an interface, the apparatus comprising:
the display module is used for displaying a first interface through the display component;
the reading module is used for responding to the interface jump instruction and reading a target interface picture corresponding to the interface jump instruction from the interface pictures stored in the volatile memory; the interface picture stored in the volatile memory is obtained by loading the interface picture from the nonvolatile memory to the volatile memory in the starting process of the terminal;
and the display module is used for displaying a second interface corresponding to the target interface picture through the display component.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor implements the steps of the method of any of claims 1 to 7 when the computer program is executed.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
11. A computer program product comprising a computer program, characterized in that the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 7.
CN202210678134.3A 2022-06-16 2022-06-16 Interface jump method, device, computer equipment and storage medium Pending CN117290023A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210678134.3A CN117290023A (en) 2022-06-16 2022-06-16 Interface jump method, device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210678134.3A CN117290023A (en) 2022-06-16 2022-06-16 Interface jump method, device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN117290023A true CN117290023A (en) 2023-12-26

Family

ID=89239508

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210678134.3A Pending CN117290023A (en) 2022-06-16 2022-06-16 Interface jump method, device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN117290023A (en)

Similar Documents

Publication Publication Date Title
US11249643B2 (en) Electronic device for displaying list of executable applications on split screen and operating method thereof
JP6348989B2 (en) Firmware restoration method, apparatus, terminal, program, and recording medium
KR102011135B1 (en) Mobile device and method of managing data using swap thereof
CN110888821B (en) Memory management method and device
KR20150066083A (en) Multi tasking method of electronic apparatus and electronic apparatus thereof
US20200389783A1 (en) Electronic device and method for switching electronic device between dual standby mode and single standby mode
US20060160569A1 (en) Cellular phone and portable storage device using the same
US20160247306A1 (en) Apparatus and method for controlling display in electronic device having processors
CN105556417A (en) Electronic device for controlling power and method therefor
CN110928935B (en) Data access command processing method, device and system
US20120225621A1 (en) Electronic device with the function of supporting multiple cards
KR20150033505A (en) Method for performing a power save mode on an electronic device and the electronic device therefor
KR20130087853A (en) Power control system and method for operating the same
CN105847446B (en) Method, device and system for acquiring network data
CN110046497B (en) Function hook realization method, device and storage medium
KR100782592B1 (en) Device having shared memory and method for controlling shared memory
US10237087B2 (en) Method for controlling transmission speed and electronic device thereof
KR20150019813A (en) Method for controlling an content integrity and an electronic device
CN110602772A (en) WiFi module control method, control device, electronic device and storage medium
CN117290023A (en) Interface jump method, device, computer equipment and storage medium
US20180004380A1 (en) Screen display method and electronic device supporting the same
US9791915B2 (en) Power control method and electronic device supporting the same
CN116049096B (en) Data migration method, electronic equipment and storage medium
US20230161324A1 (en) Electronic apparatus for performing heating control and control method therefor
CN112701759B (en) Control method of terminal equipment, storage medium and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination