CN111966290A - Read-write control method, device, equipment and medium based on RAM memory - Google Patents

Read-write control method, device, equipment and medium based on RAM memory Download PDF

Info

Publication number
CN111966290A
CN111966290A CN202010813291.1A CN202010813291A CN111966290A CN 111966290 A CN111966290 A CN 111966290A CN 202010813291 A CN202010813291 A CN 202010813291A CN 111966290 A CN111966290 A CN 111966290A
Authority
CN
China
Prior art keywords
controls
image data
control
preset image
ram memory
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
CN202010813291.1A
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.)
Kinseal Technology Shenzhen Co ltd
Original Assignee
Kinseal Technology Shenzhen 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 Kinseal Technology Shenzhen Co ltd filed Critical Kinseal Technology Shenzhen Co ltd
Priority to CN202010813291.1A priority Critical patent/CN111966290A/en
Publication of CN111966290A publication Critical patent/CN111966290A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • G06F3/0607Improving or facilitating administration, e.g. storage management by facilitating the process of upgrading existing storage systems, e.g. for improving compatibility between host and storage device
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0629Configuration or reconfiguration of storage systems
    • G06F3/0631Configuration or reconfiguration of storage systems by allocating resources to storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0658Controller construction arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]

Landscapes

  • Engineering & Computer Science (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 a read-write control method, a device, equipment and a medium based on a RAM memory, which comprises the following steps of obtaining priority judgment parameters of all controls corresponding to a current human-computer interaction interface, and comparing the priority judgment parameters of all the controls; generating a set loading sequence of the corresponding control according to the comparison result of the priority judgment parameters; and controlling the RAM memory to sequentially load the preset image data corresponding to the controls according to the set loading sequence of all the controls. The method and the device have the effect of relieving the picture blocking phenomenon caused by insufficient capacity of the RAM so as to improve the use experience of a user.

Description

Read-write control method, device, equipment and medium based on RAM memory
Technical Field
The present application relates to the field of data read-write control, and in particular, to a read-write control method, apparatus, device, and medium based on a RAM memory.
Background
At present, in order to meet diversified requirements of users, applications supported by a display terminal are increasing, and in order to implement each function of an application, the application provides a control corresponding to each function, so that the application can implement the corresponding function through the control.
The application program usually has a plurality of controls, and the display form of the controls on the human-computer interaction interface generally adopts an icon form, that is, a plurality of icons are provided on the main interface, and each icon corresponds to a different control. Referring to fig. 1, when a user clicks a certain icon on a main interface through a touch screen to trigger a corresponding control, an MCU of a display terminal receives a signal for the control, reads preset image data corresponding to the control stored in a Flash memory through an RAM memory and sends the preset image data to a display controller, and the display controller controls a human-computer interaction interface to jump to an interface corresponding to the control, thereby implementing human-computer interaction.
In order to ensure the smoothness of the connection between the main interface and the interface corresponding to the control, that is, to improve the response speed and reduce the stuck phenomenon, the RAM memory of the display terminal generally needs to pre-load the preset image data corresponding to all the controls on the main interface from the Flash memory, so that when a user clicks any icon to trigger the corresponding control, the RAM memory can directly send the pre-stored preset image data to the display controller for displaying.
With respect to the related art among the above, the inventors consider that the following drawbacks exist: due to the fact that the whole capacity of the preset image data corresponding to all the controls of the application program is large, when the capacity of the RAM memory is low, all the preset image data cannot be loaded, and therefore the phenomenon that a user is stuck on a screen when the user operates the display terminal is caused, and the use experience of the user is poor.
Disclosure of Invention
In order to alleviate the picture pause phenomenon caused by insufficient capacity of the RAM memory so as to improve the use experience of a user, the application provides a read-write control method based on the RAM memory.
The read-write control method based on the RAM adopts the following technical scheme: the read-write control method based on the RAM memory comprises the following steps,
acquiring priority judging parameters of all controls corresponding to the current human-computer interaction interface, and comparing the priority judging parameters of all the controls;
generating a set loading sequence of the corresponding control according to the comparison result of the priority judgment parameters;
and controlling the RAM memory to sequentially load the preset image data corresponding to the controls according to the set loading sequence of all the controls.
By adopting the technical scheme, the overall cost of the display terminal is reduced by reducing the required capacity of the RAM, and the required capacity of the RAM is reduced, so that the RAM cannot load preset image data designated by all controls corresponding to the current human-computer interaction interface, and therefore, the controls corresponding to the current human-computer interaction interface are sorted by the priority judgment parameters, and the priorities are allocated, for example, the priorities can be divided according to the respective use frequencies of the controls, so that the RAM preferentially loads the preset image data corresponding to the control with higher probability of being selected according to the priorities, the display terminal can keep smooth pictures under most operation conditions, and the picture blocking phenomenon caused by insufficient capacity of the RAM is further relieved, the use experience of a user is improved, and the utilization rate of a storage space is improved; and after the application program of the display terminal is upgraded, the number of controls corresponding to a certain human-computer interaction interface of the display terminal is possibly increased to cause the capacity of the preset image data required to be loaded by the RAM to be increased, and at the moment, the picture blocking phenomenon caused by insufficient capacity of the RAM can be relieved by adopting a mode of generating a set loading sequence through the priority judgment parameter, so that the method is simultaneously suitable for a low-capacity RAM memory and a high-capacity RAM memory.
Preferably, the priority decision parameter includes a control operation frequency ratio;
and when the trigger signal of any control is acquired, recording the operation of the control and updating the operation frequency ratio of the control.
By adopting the technical scheme, the priority determination parameters can adopt control operation frequency ratio and can be used in a combined manner, the control operation frequency ratio is the ratio of the historical trigger frequency of a certain control on the same interface to the historical trigger frequency of all controls on the interface, the higher the control operation frequency ratio is, the higher the loading priority is, the interface commonly used by a user is preferentially loaded, and therefore the preset image data is preferentially distributed according to the use habits or industry habits of the user, and the smoothness of the picture is improved approximately.
Preferably, the set loading sequence is arranged from high to low according to the control operation frequency ratio.
By adopting the technical scheme, the priority of the preset image data corresponding to the RAM memory loading control is distributed from high to low according to the control operation frequency ratio, namely the higher the control operation frequency ratio of a certain control on the same interface is, the higher the priority of the RAM memory loading the corresponding preset image data is, so that the loading priority of the RAM memory is adjusted according to the use habit or the industry operation habit of a user, the RAM memory is enabled to preferentially load the preset image data corresponding to the control with higher probability of being selected according to the priority, the display terminal can keep smooth pictures under most operation conditions, and the picture blocking phenomenon caused by insufficient capacity of the RAM memory is further relieved, and the use experience of the user is improved.
Preferably, the operation frequencies of all the controls corresponding to the current human-computer interaction interface are obtained and summed, the operation frequency of any one of the controls is obtained, and if the sum of the operation frequencies of all the controls corresponding to the current human-computer interaction interface is set to be N, and the operation frequency of any one of the controls is set to be a, the ratio of the operation frequencies of the controls to be a/N.
By adopting the technical scheme, the use frequency degree of each control in the same interface can be calculated through the formula of the control operation frequency ratio = a/N, so that the use habits or industry operation habits of a user are reflected, the judgment accuracy is improved, the occurrence probability of the smooth picture phenomenon is improved, and the use experience of the user is improved.
Preferably, the image data capacity of preset image data designated by all controls corresponding to the current human-computer interaction interface is acquired;
sequentially accumulating the image data capacity of the preset image data appointed by each control according to the set loading sequence of all the controls corresponding to the current human-computer interaction interface, stopping accumulation operation when the image data capacity of the accumulated preset image data appointed by the controls is larger than the capacity of an RAM (random access memory) and recording the controls participating in accumulation;
and controlling the RAM to load the preset image data specified by the rest of the accumulated controls except the preset image data specified by the last accumulated control.
By adopting the technical scheme, before the RAM is loaded with the preset image data, the image data capacity of the preset image data corresponding to each control of the same interface is obtained, then the image data capacity of the preset image data corresponding to each control is accumulated in sequence according to the set loading sequence until the accumulated sum exceeds the capacity of the RAM, the control accumulated at last is removed, the RAM is controlled to only load the preset image data appointed by the rest controls participating in accumulation, so that the storage space occupancy rate of the RAM is improved, the resource utilization rate is improved, the probability that the user triggers the control corresponding to the loaded preset image data is improved, the image fluency is improved, and the use experience of the user is improved.
Preferably, if the value obtained by totally accumulating the image data capacities of the preset image data designated by all the controls corresponding to the current human-computer interaction interface is less than or equal to the capacity of the RAM memory, the RAM memory is directly controlled to load the preset image data designated by all the controls corresponding to the current human-computer interaction interface.
By adopting the technical scheme, when the value of the superposed image data capacity of the preset image data designated by all the controls corresponding to the current human-computer interaction interface is still less than or equal to the capacity of the RAM memory, the RAM memory can be used for loading all the preset image data, so that the fluency of the picture is improved.
Preferably, when a trigger signal corresponding to any one control on the current human-computer interaction interface is acquired, preset image data corresponding to all the controls in the RAM memory is searched, if the preset image data corresponding to the control is not contained in the RAM memory, the preset image data corresponding to the control at the end of the set loading sequence is deleted, and the preset image data corresponding to the control corresponding to the trigger signal is loaded.
By adopting the technical scheme, when a user just selects a control which is not normally used on the current human-computer interaction interface, namely the operation frequency of the selected control is low, the RAM possibly does not contain the preset image data corresponding to the control, and at the moment, the preset image data of the part of the control at the tail of the set loading sequence, namely the part of the control with low priority, needs to be deleted, so that a reserved space is provided for the user to store the preset image data of the control selected by the user, and the switching of the human-computer interaction interface is realized.
In the second aspect, in order to alleviate the picture pause phenomenon caused by insufficient capacity of the RAM memory, the use experience of the user is improved.
The application provides a read-write control device based on a RAM memory, which adopts the following technical scheme: a read-write control device based on a RAM memory comprises,
the priority judgment parameter acquisition module is used for acquiring priority judgment parameters of all controls corresponding to the current human-computer interaction interface;
the comparison module is connected with the priority judgment parameter acquisition module and used for comparing the priority judgment parameters of all the controls and generating a set loading sequence corresponding to the controls according to the comparison result of the priority judgment parameters;
and the loading control module is connected with the comparison module and used for controlling the RAM memory to sequentially load the preset image data corresponding to the controls according to the set loading sequence of all the controls.
By adopting the technical scheme, the priority judging parameter is obtained by the priority judging parameter obtaining module, the comparison module sorts each control corresponding to the current human-computer interaction interface by the priority judging parameter and allocates priority, the loading control module controls the RAM to sequentially load the preset image data corresponding to the control according to the set loading sequence, for example, the priority can be divided according to the respective use frequency of the control, so that the RAM preferentially loads the preset image data corresponding to the control with higher probability of being selected according to the priority, the display terminal can keep smooth pictures under most operation conditions, and the picture blocking phenomenon caused by lower capacity of the RAM is relieved, thereby improving the use experience of a user and simultaneously improving the utilization rate of a storage space; and after the application program of the display terminal is upgraded, the number of controls corresponding to a certain human-computer interaction interface of the display terminal is possibly increased to cause the capacity of the preset image data required to be loaded by the RAM to be increased, and at the moment, the picture blocking phenomenon caused by insufficient capacity of the RAM can be relieved by adopting a mode of generating a set loading sequence through the priority judgment parameter, so that the method is simultaneously suitable for a low-capacity RAM memory and a high-capacity RAM memory.
In a third aspect, the picture pause phenomenon caused by insufficient RAM memory capacity is alleviated to improve the use experience of a user.
The application provides an intelligent terminal, adopts following technical scheme: the intelligent terminal comprises a memory and a processor, wherein the memory is stored with a computer program which can be loaded by the processor and can execute the read-write control method based on the RAM memory.
In the fourth aspect, in order to alleviate the picture pause phenomenon caused by insufficient capacity of the RAM memory, the use experience of the user is improved.
The application provides a computer-readable storage medium, which adopts the following technical scheme: a computer-readable storage medium storing a computer program that can be loaded by a processor and executes the above-described read-write control method based on a RAM memory.
In summary, the present application includes at least one of the following beneficial technical effects:
sequencing each control corresponding to the current human-computer interaction interface through priority judging parameters such as the use frequency and the like of each control, and distributing the priority, so that the RAM memory preferentially loads preset image data corresponding to the selected control with higher probability according to the priority, the display terminal can keep smooth pictures under most operation conditions, and the picture blocking phenomenon caused by lower capacity of the RAM memory is further relieved, the use experience of a user is improved, and meanwhile, the utilization rate of a storage space is improved; after the application program of the display terminal is upgraded, the number of controls corresponding to a certain human-computer interaction interface of the display terminal is possibly increased, so that the capacity of the preset image data required to be loaded by the RAM is increased, and at the moment, the picture blocking phenomenon caused by insufficient capacity of the RAM can be relieved by adopting a mode of generating a set loading sequence through a priority judgment parameter, so that the method is simultaneously suitable for a low-capacity RAM memory and a high-capacity RAM memory;
the higher the control operation frequency ratio is, the higher the loading priority is, the interface frequently used by the user is loaded preferentially, and the preset image data is distributed preferentially according to the use habit or industry habit of the user, so that the smoothness of the picture is improved at a high probability;
the image data capacity of the preset image data corresponding to each control is sequentially accumulated according to the set loading sequence until the accumulated sum exceeds the capacity of the RAM, the control accumulated at last is removed, the RAM is controlled to only load the preset image data appointed by the other controls participating in accumulation, so that the storage space occupancy rate of the RAM is improved, the resource utilization rate is improved, the probability that a user triggers the control corresponding to the loaded preset image data is improved, the smoothness of the picture is improved, and the use experience of the user is improved.
Drawings
FIG. 1 is a schematic diagram of a structure in the background of the present application;
FIG. 2 is a schematic overall structure diagram of a first embodiment of the present application;
FIG. 3 is a flowchart of a method according to a first embodiment of the present application;
FIG. 4 is a schematic diagram of a main interface according to a first embodiment of the present application;
fig. 5 is a schematic view of a "setup" interface according to a first embodiment of the present application.
Detailed Description
The present application is described in further detail below with reference to figures 1-2.
The first embodiment is as follows: the embodiment of the application discloses a read-write control device based on a RAM (random access memory) for relieving the phenomenon of picture blocking caused by insufficient capacity of the RAM, so that the use experience of a user is improved. Referring to fig. 2, the read-write control device based on the RAM memory includes a priority determination parameter obtaining module, a comparing module, and a loading control module.
Referring to fig. 2 and 3, the priority determination parameter obtaining module may adopt a single chip microcomputer, and is configured to obtain priority determination parameters of all controls corresponding to the current human-computer interaction interface. For example, the current human-computer interaction interface is a main interface of an application program, and icons corresponding to a plurality of controls, such as an icon corresponding to "setup", an icon corresponding to "temperature monitoring", and the like, are distributed on the main interface in an arrangement manner. When the human-computer interaction interface is switched to the main interface of the application program, the priority determination parameter acquisition module is used for acquiring priority determination parameters of all controls on the main interface, such as priority determination parameters of the controls corresponding to the setting.
And the priority determination parameter comprises a control operation frequency ratio, and under the condition that the priority determination parameter adopts the control operation frequency ratio, the operation of the control is recorded and the operation frequency ratio of the control is updated when the processor acquires a trigger signal of any control. For example, each time the user clicks the setting icon on the main interface, the frequency of the control corresponding to the setting icon is accumulated once, and similarly, the frequency of other controls on the current human-computer interaction interface can be calculated.
The control operation frequency ratio is calculated as follows: the method comprises the steps of firstly obtaining operation frequencies of all controls corresponding to a current human-computer interaction interface, summing the operation frequencies, then obtaining the operation frequency of any one of the controls, and if the sum of the operation frequencies of all the controls corresponding to the current human-computer interaction interface is set to be N and the operation frequency of any one of the controls is set to be a, the ratio of the operation frequencies of the controls is a/N. For example, the control frequency corresponding to the "set" icon is 20 times, and the control frequency corresponding to the rest icons on the current human-computer interaction interface is 50 times, then the sum N of the operation frequencies of all the controls is 70, that is, the control operation frequency ratio corresponding to the "set" icon is a/N = 2/7. The use frequency degree of each control in the same interface can be calculated through a formula of the control operation frequency ratio = a/N, so that the use habits or industry operation habits of users are reflected.
The comparison module can adopt a processor, is connected with the priority determination parameter acquisition module, and is used for comparing the priority determination parameters of all the controls on the current human-computer interaction interface, namely comparing the control operation frequency ratio values of all the controls, and then generating the set loading sequence of the corresponding controls according to the comparison result of the priority determination parameters. And the loading sequence is set to be arranged from high to low according to the control operation frequency ratio, for example, the control operation frequency ratio corresponding to the 'setting' icon: and a/N =2/7, the control with the highest operation frequency of the controls on the main interface is the control, and the control corresponding to the "setting" icon is at the first position of the set loading sequence.
The loading control module can adopt a processor, is connected with the comparison module and is used for controlling the RAM memory to sequentially load the preset image data corresponding to the controls according to the set loading sequence of all the controls, wherein the preset image data is originated from the Flash memory and corresponds to the background patterns, the icon patterns and the like of the human-computer interaction interface, for example, when a user selects the setting icon, the control is triggered to switch the human-computer interaction interface to the setting interface, and the background patterns, the icon patterns and the like of the setting interface are the preset image data. If the control corresponding to the "set" icon is at the first position of the set loading sequence according to the previous example, the loading control module first controls the RAM memory to load the preset image data of the control corresponding to the "set" icon, and then loads the preset image data of the other controls on the current human-computer interaction interface.
Therefore, the higher the control operation frequency ratio of a certain control on the same human-computer interaction interface is, the higher the priority of loading the corresponding preset image data by the RAM is. The control operation frequency ratio can reflect the use frequency degree of the user to the control, so that the use habit or industry operation habit of the user is reflected, the loading priority of the RAM can be adjusted according to the use habit or industry operation habit of the user, the RAM is enabled to load preset image data corresponding to the control with higher probability of being selected according to the priority, the display terminal can keep smooth pictures under most operation conditions, the picture blocking phenomenon caused by lower capacity of the RAM is relieved, and the use experience of the user is improved.
In another embodiment, the priority determination parameter may also adopt an image data volume, which is a volume of preset image data corresponding to each control on the same interface. When the capacity of the preset image data corresponding to some controls on the same human-computer interaction interface is smaller than that of other controls, it is indicated that the RAM memory with the same capacity can load a larger number of preset image data corresponding to the controls when the part of the preset image data with the smaller capacity is preferentially loaded, so that the number of the controls loaded with the preset image data is relatively larger, the probability that the loaded part of the controls is triggered by a user is higher, the situation of smooth pictures is more, and the use experience is improved.
And before the loading control module controls the RAM memory to load the preset image data of the control, the processor firstly obtains the image data capacity of the preset image data appointed by all the controls corresponding to the current human-computer interaction interface. And sequentially accumulating the image data capacity of the preset image data appointed by each control according to the set loading sequence of all the controls corresponding to the current human-computer interaction interface, and stopping accumulation operation and recording the controls participating in accumulation when the image data capacity of the accumulated preset image data appointed by the controls is larger than the capacity of the RAM memory. And finally, the processor controls the RAM memory to reload the preset image data appointed by the other accumulated controls according to the set loading sequence except the preset image data appointed by the last accumulated control.
Referring to fig. 3 and 4, for example, the capacities of the preset image data of the controls corresponding to the "setting" icon, the "temperature monitoring" icon, and the "humidity monitoring" icon on the main interface are all 2mb, and the setting loading sequence of the controls on the main interface is the "setting" icon, the "temperature monitoring" icon, and the "humidity monitoring" icon. And if the capacity of the RAM memory is 5mb, stopping accumulation operation and recording a plurality of controls participating in accumulation, namely controls corresponding to the 'setting' icon, the 'temperature monitoring' icon and the 'humidity monitoring' icon, removing the controls corresponding to the 'humidity monitoring' icon, and controlling the RAM memory to load preset image data corresponding to the 'setting' icon and the 'temperature monitoring' icon by the loading control module. Through the loading mode, the RAM can be loaded with more preset image data of the control at each time, the storage space occupancy rate of the RAM is improved, the resource utilization rate is improved, the probability that the user triggers the control loaded with the preset image data is improved, the smoothness of the picture is improved, and therefore the use experience of the user is improved.
And if the value obtained by totally accumulating the image data capacities of the preset image data of all the controls corresponding to the current human-computer interaction interface is smaller than or equal to the capacity of the RAM, directly controlling the RAM to load the preset image data appointed by all the controls corresponding to the current human-computer interaction interface, and reducing the calculation time for acquiring and comparing the priority judgment parameters so as to improve the fluency of the picture.
And when a trigger signal corresponding to any control on the current human-computer interaction interface is acquired, namely when a user clicks an icon corresponding to any control on the current human-computer interaction interface, searching for preset image data corresponding to all the controls in the RAM memory. And if the RAM memory contains the preset image data corresponding to the control, directly displaying the interface corresponding to the control through the display controller. And if the RAM memory does not contain the preset image data corresponding to the control, deleting the preset image data corresponding to the control at the last position in the set loading sequence, and loading the preset image data corresponding to the control corresponding to the trigger signal.
Referring to fig. 4 and 5, for example, if the user selects the control corresponding to the "set" icon, and the RAM memory does not find the preset image data of the control corresponding to the "set" icon when looking up the RAM memory, the RAM memory deletes the preset image data of the control at the end of the set loading sequence, for example, the preset image data of the "humidity monitoring" control, controls the RAM memory to load the preset image data of the "set" control in the Flash memory, and displays the interface corresponding to the control, that is, the "set" interface through the display controller.
When a user just selects a control which is not commonly used at ordinary times on the current human-computer interaction interface, namely under the condition that the operation frequency of the selected control is low, the RAM possibly does not contain the preset image data corresponding to the control, and at the moment, the preset image data of the control at the tail of the set loading sequence, namely the part of the control with low priority, needs to be deleted, so that a reserved space is used for storing the preset image data of the control selected by the user, and the switching of the human-computer interaction interface is realized. And the preset image data of the control with higher priority in the RAM memory is reserved, so that the control can be directly called in the later period conveniently, and the interface switching smoothness is improved. For example, when the setting interface returns to the main interface, if the preset image data of the temperature monitoring control on the main interface is still stored in the RAM memory, the temperature monitoring interface can be directly displayed without reloading when the user selects the temperature monitoring icon to trigger the control, so that the fluency of the picture is improved.
The implementation principle of the read-write control device based on the RAM memory in the embodiment of the application is as follows: when a user switches the human-computer interaction interface, the processor firstly obtains the priority judging parameters of all the controls on the interface, then sorts all the controls according to the priority judging parameters of all the controls, distributes the priorities and generates a set loading sequence. And then the processor controls the RAM memory to preferentially load preset image data corresponding to the control with higher operation frequency, namely the control with higher probability is selected by the user, according to the set loading sequence, namely the priority of each control, so that the loading object of the RAM memory is adjusted according to the use habit or industry habit of the user, the display terminal can keep smooth pictures under most operation conditions, and the picture blocking phenomenon caused by lower capacity of the RAM memory is relieved, and the use experience of the user is improved.
And stopping the loading operation when the capacity of the loaded preset image data reaches the upper limit of the capacity of the RAM memory, so that the utilization rate of the storage space of the RAM memory is improved. When the RAM memory stores the preset image data of a part of controls, the loading operation of the preset image data of the part of controls can be directly skipped, and the interfaces corresponding to the controls are directly displayed when the user selects the icons corresponding to the part of controls. And if the user selects the icon of a certain control and the RAM memory does not load the preset image data of the control, the preset image data corresponding to the control positioned at the last position of the set loading sequence on the current human-computer interaction interface is deleted, then the preset image data of the selected control is loaded and displayed through the display controller, so that the preset image data of the control with higher priority is reserved, the later direct calling is facilitated, and the interface switching smoothness is improved.
And after the application program of the display terminal is upgraded, the number of controls corresponding to a certain human-computer interaction interface of the display terminal is possibly increased to cause the capacity of the preset image data required to be loaded by the RAM to be increased, and at the moment, the picture blocking phenomenon caused by insufficient capacity of the RAM can be relieved by adopting a mode of generating a set loading sequence through the priority judgment parameter, so that the method is simultaneously suitable for a low-capacity RAM memory and a high-capacity RAM memory.
Example two: the intelligent terminal comprises a memory and a processor, wherein the memory is stored with a computer program which can be loaded by the processor and can execute the read-write control method based on the RAM memory.
The implementation principle of the intelligent terminal in the embodiment of the application is as follows: the priority judging parameters are obtained through the processor, the controls corresponding to the current human-computer interaction interface are sorted according to the priority judging parameters, and priorities are distributed, so that the RAM is enabled to preferentially load preset image data corresponding to the controls with higher probability of being selected according to the priorities, the display terminal can keep smooth pictures under most operation conditions, the picture blocking phenomenon caused by lower capacity of the RAM is relieved, and the use experience of a user is improved.
Example three: a computer-readable storage medium storing a computer program that can be loaded by a processor and executes the above-described read-write control method based on a RAM memory.
The implementation principle of the computer-readable storage medium in the embodiment of the application is as follows: the method comprises the steps of firstly obtaining priority judging parameters, then sequencing all controls corresponding to the current human-computer interaction interface according to the priority judging parameters, and distributing priorities, so that the RAM is enabled to preferentially load preset image data corresponding to the controls with higher probability of being selected according to the priorities, the display terminal can keep smooth pictures under most operation conditions, and then the phenomenon of picture blocking caused by low capacity of the RAM is relieved, and the use experience of a user is improved.
The above embodiments are preferred embodiments of the present application, and the protection scope of the present application is not limited by the above embodiments, so: all equivalent changes made according to the structure, shape and principle of the present application shall be covered by the protection scope of the present application.

Claims (10)

1. A read-write control method based on a RAM memory is characterized in that: comprises the following steps of (a) carrying out,
acquiring priority judging parameters of all controls corresponding to the current human-computer interaction interface, and comparing the priority judging parameters of all the controls;
generating a set loading sequence of the corresponding control according to the comparison result of the priority judgment parameters;
and controlling the RAM memory to sequentially load the preset image data corresponding to the controls according to the set loading sequence of all the controls.
2. The RAM memory-based read-write control method of claim 1, wherein: the priority decision parameter comprises the control operation frequency ratio;
and when the trigger signal of any control is acquired, recording the operation of the control and updating the operation frequency ratio of the control.
3. The RAM memory-based read-write control method of claim 2, characterized in that: setting the loading sequence to be arranged from high to low according to the operation frequency ratio of the control.
4. The RAM memory-based read-write control method of claim 3, wherein: and if the sum of the operation frequencies of all the controls corresponding to the current human-computer interaction interface is set to be N, and the operation frequency of any one of the controls is set to be a, the control operation frequency ratio is a/N.
5. The RAM memory-based read-write control method of claim 1, wherein: acquiring image data capacity of preset image data designated by all controls corresponding to the current human-computer interaction interface;
sequentially accumulating the image data capacity of the preset image data appointed by each control according to the set loading sequence of all the controls corresponding to the current human-computer interaction interface, stopping accumulation operation when the image data capacity of the accumulated preset image data appointed by the controls is larger than the capacity of an RAM (random access memory) and recording the controls participating in accumulation;
and controlling the RAM to load the preset image data specified by the rest of the accumulated controls except the preset image data specified by the last accumulated control.
6. The RAM memory-based read-write control method of claim 1, wherein: and if the value obtained by totally accumulating the image data capacities of the preset image data appointed by all the controls corresponding to the current human-computer interaction interface is smaller than or equal to the capacity of the RAM, directly controlling the RAM to load the preset image data appointed by all the controls corresponding to the current human-computer interaction interface.
7. The RAM memory-based read-write control method of claim 1, wherein: and searching preset image data corresponding to all the controls in the RAM memory when a trigger signal corresponding to any control on the current human-computer interaction interface is acquired, deleting the preset image data corresponding to the control at the tail in the set loading sequence if the preset image data corresponding to the control is not contained in the RAM memory, and loading the preset image data of the control corresponding to the trigger signal.
8. A read-write control device based on a RAM memory is characterized by comprising,
the priority judgment parameter acquisition module is used for acquiring priority judgment parameters of all controls corresponding to the current human-computer interaction interface;
the comparison module is connected with the priority judgment parameter acquisition module and used for comparing the priority judgment parameters of all the controls and generating a set loading sequence corresponding to the controls according to the comparison result of the priority judgment parameters;
and the loading control module is connected with the comparison module and used for controlling the RAM memory to sequentially load the preset image data corresponding to the controls according to the set loading sequence of all the controls.
9. An intelligent device, comprising a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and executes the method for controlling read/write based on the RAM memory according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that a computer program is stored which can be loaded by a processor and which executes the RAM memory based read-write control method according to any of claims 1 to 7.
CN202010813291.1A 2020-08-13 2020-08-13 Read-write control method, device, equipment and medium based on RAM memory Pending CN111966290A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010813291.1A CN111966290A (en) 2020-08-13 2020-08-13 Read-write control method, device, equipment and medium based on RAM memory

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010813291.1A CN111966290A (en) 2020-08-13 2020-08-13 Read-write control method, device, equipment and medium based on RAM memory

Publications (1)

Publication Number Publication Date
CN111966290A true CN111966290A (en) 2020-11-20

Family

ID=73365499

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010813291.1A Pending CN111966290A (en) 2020-08-13 2020-08-13 Read-write control method, device, equipment and medium based on RAM memory

Country Status (1)

Country Link
CN (1) CN111966290A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033935A (en) * 2010-12-20 2011-04-27 深圳市五巨科技有限公司 Preloading method, preloading device and preloading system of mobile terminal browser
CN102541602A (en) * 2011-12-28 2012-07-04 用友软件股份有限公司 Interface preloading device and interface preloading method
US20190354408A1 (en) * 2018-05-21 2019-11-21 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for Preloading Application, Storage Medium, and Terminal
CN110609718A (en) * 2019-09-23 2019-12-24 广州虎牙科技有限公司 Picture loading method and device, electronic equipment and readable storage medium
CN110851863A (en) * 2019-11-07 2020-02-28 北京无限光场科技有限公司 Application program authority control method and device and electronic equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102033935A (en) * 2010-12-20 2011-04-27 深圳市五巨科技有限公司 Preloading method, preloading device and preloading system of mobile terminal browser
CN102541602A (en) * 2011-12-28 2012-07-04 用友软件股份有限公司 Interface preloading device and interface preloading method
US20190354408A1 (en) * 2018-05-21 2019-11-21 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for Preloading Application, Storage Medium, and Terminal
CN110609718A (en) * 2019-09-23 2019-12-24 广州虎牙科技有限公司 Picture loading method and device, electronic equipment and readable storage medium
CN110851863A (en) * 2019-11-07 2020-02-28 北京无限光场科技有限公司 Application program authority control method and device and electronic equipment

Similar Documents

Publication Publication Date Title
US11358058B2 (en) Information object display method and apparatus in virtual scene, and storage medium
KR102313882B1 (en) How and how to start the application
EP0394164B1 (en) Display with enhanced scrolling capabilities
CN108499103B (en) Scene element display method and device
EP4016273A1 (en) Side toolbar display method and device, terminal, and storage medium
KR20180097674A (en) Memory reclaim method and apparatus
JPH04165541A (en) File rearranging method
CN108595100B (en) Split screen display method and device, storage medium and electronic equipment
CN107479951B (en) Process control method and device, storage medium and electronic equipment
RU2587416C2 (en) Selecting objects on display device
EP2518631A1 (en) Picture loading method and terminal
CN102566928A (en) System and method for automatically managing desktop application icons of mobile terminal
EP1086418A2 (en) Method for dynamically displaying controls in a toolbar display based on control usage
CN111078408B (en) Memory allocation method and device, storage medium and electronic equipment
CN103902163A (en) Desktop icon arrangement method and intelligent terminal
CN110392305A (en) Detection method, terminal and the computer readable storage medium of video tableaux
EP3964973A1 (en) File loading method and apparatus, electronic device, and storage medium
CN107766134A (en) The cleaned system method and mobile device of a kind of mobile device
CN105068719A (en) Information processing method and electronic device
CN112558831A (en) Desktop sorting method and device and electronic equipment
JPH02201506A (en) Interactive device for plant monitoring
CN111966290A (en) Read-write control method, device, equipment and medium based on RAM memory
CN111274010A (en) Data control method and device, electronic equipment and storage medium
CN110727385A (en) Desktop icon sorting method and device, electronic equipment and storage medium
CN111522476B (en) Method, device, computer device and storage medium for monitoring window switching

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