Virtual key display method, device, system and storage medium
1. A virtual key display method is applied to an embedded system and comprises the following steps:
when a function key triggering instruction is detected in a target interface, determining a triggered target function key and updating the triggering frequency of the target function key;
determining the arrangement sequence of each function key in the target interface according to the trigger frequency of each function key in the target interface;
and adjusting the display position of each function key in the target interface according to the arrangement sequence of each function key.
2. The method of claim 1, wherein after determining the triggered target function key, further comprising:
and if the fact that the sub-function key of the target function key is triggered is detected in the sub-function interface of the preset level under the target function key, updating the trigger frequency of the target function key.
3. The method of claim 3, wherein the preset level of sub-function interfaces is related to interface attributes of the target interface; wherein the interface attribute comprises an interface type and/or an interface hierarchy.
4. The method according to claim 1 or 2, wherein the determining an arrangement order of the function buttons in the target interface according to the trigger frequency of the function buttons in the target interface comprises:
and when the display instruction of the target interface is obtained again, determining the arrangement sequence of each function key in the target interface according to the trigger frequency of each function key in the target interface.
5. The method of claim 1, wherein the determining the arrangement order of the function buttons in the target interface according to the trigger frequency of the function buttons in the target interface comprises:
and determining the arrangement sequence of each function key in the target interface according to the trigger frequency of each function key in the target interface and the weight coefficient of each function key.
6. The method of claim 1, wherein the determining the arrangement order of the function buttons in the target interface according to the trigger frequency of the function buttons in the target interface comprises:
determining the arrangement sequence of each function key in the target interface through a sequencing model according to the triggering frequency, the weight coefficient and the triggering times of each function key in the target interface; wherein the ranking model is constructed based on a neural network.
7. The method according to any one of claims 1-6, wherein before adjusting the display position of each function key in the target interface according to the arrangement sequence of each function key, the method comprises:
judging whether the trigger data of the target function key accords with an adjustment rule or not; wherein the trigger data comprises a trigger frequency and/or a trigger number;
if the trigger data of the target function key is determined not to accord with the adjustment rule, keeping the display position of each function key in the target interface unchanged;
adjusting the display position of each function key in the target interface according to the arrangement sequence of each function key, including:
and if the trigger data of the target function keys are determined to accord with the adjustment rule, adjusting the display positions of the function keys in the target interface according to the arrangement sequence of the function keys.
8. A display device of virtual keys is applied to an embedded system, and comprises:
the first trigger frequency updating module is used for determining a triggered target function key and updating the trigger frequency of the target function key when a function key trigger instruction is detected in a target interface;
the arrangement order acquisition module is used for determining the arrangement order of each function key in the target interface according to the trigger frequency of each function key in the target interface;
and the display position adjusting module is used for adjusting the display position of each function key in the target interface according to the arrangement sequence of each function key.
9. An embedded system, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement a method of presenting a virtual key as claimed in any one of claims 1-7.
10. A storage medium containing computer-executable instructions for performing a method of presenting a virtual key as claimed in any one of claims 1-7 when executed by a computer processor.
Background
An embedded system is a computer system based on modern computer technology and centered on application, and because of its strong specificity, it can flexibly cut software and hardware modules according to the actual requirements of users, so it is widely used in industrial production.
Because the customization degree of the embedded system is extremely high, when the equipment leaves a factory, the interface layout of the system is already arranged, and the interface layout of the system is usually arranged in advance depending on the experience of production personnel or referring to the interface layout of other production equipment, so that the interface layout can not adapt to the operation habit of each user, the convenience of user operation is extremely poor, and the user experience is greatly influenced.
Disclosure of Invention
The embodiment of the invention provides a method, a device, a system and a storage medium for displaying virtual keys, which are used for dynamically adjusting the display position of each functional key in an interface of an embedded system.
In a first aspect, an embodiment of the present invention provides a method for displaying a virtual key, including:
when a function key triggering instruction is detected in a target interface, determining a triggered target function key and updating the triggering frequency of the target function key;
determining the arrangement sequence of each function key in the target interface according to the trigger frequency of each function key in the target interface;
and adjusting the display position of each function key in the target interface according to the arrangement sequence of each function key.
In a second aspect, an embodiment of the present invention provides a display apparatus for virtual keys, including:
the first trigger frequency updating module is used for determining a triggered target function key and updating the trigger frequency of the target function key when a function key trigger instruction is detected in a target interface;
the arrangement order acquisition module is used for determining the arrangement order of each function key in the target interface according to the trigger frequency of each function key in the target interface;
and the display position adjusting module is used for adjusting the display position of each function key in the target interface according to the arrangement sequence of each function key.
In a third aspect, an embodiment of the present invention further provides an embedded system, where the embedded system includes:
one or more processors;
storage means for storing one or more programs;
when the one or more programs are executed by the one or more processors, the one or more processors implement the method for presenting virtual keys according to any embodiment of the present invention.
In a fourth aspect, an embodiment of the present invention further provides a storage medium containing computer-executable instructions, where the computer-executable instructions, when executed by a computer processor, implement the method for presenting a virtual key according to any embodiment of the present invention.
According to the technical scheme provided by the embodiment of the invention, the triggering frequency of the target function key is updated according to the triggering instruction of the function key in the target interface, the arrangement sequence of the function keys in the target interface is determined according to the triggering frequency of the function keys in the target interface, and the display position of the function keys in the target interface is adjusted according to the arrangement sequence of the function keys, so that the display position of the function keys in the interface is adjusted according to the operation habit of a user, the convenience of user operation is improved, and the user experience is improved.
Drawings
Fig. 1A is a flowchart of a method for displaying a virtual key according to an embodiment of the present invention;
fig. 1B is a schematic structural diagram of an interface according to an embodiment of the present invention;
FIG. 1C is a schematic structural diagram of another interface provided in the first embodiment of the present invention;
fig. 1D is a schematic diagram illustrating a display position of a function key according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for displaying a virtual key according to a second embodiment of the present invention;
fig. 3 is a block diagram of a display apparatus for virtual keys according to a third embodiment of the present invention;
fig. 4 is a block diagram of an embedded system according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1A is a flowchart of a method for displaying virtual keys according to an embodiment of the present invention, where this embodiment is applicable to dynamically adjusting display positions of function keys in an interface of an embedded system, and the method may be executed by a display apparatus for virtual keys in an embodiment of the present invention, where the display apparatus may be implemented by software and/or hardware, and may be integrated in an embedded system, and typically may be integrated in a Micro Controller Unit (MCU) of the embedded system, where the method specifically includes the following steps:
s110, when a function key triggering instruction is detected in the target interface, determining a triggered target function key, and updating the triggering frequency of the target function key.
The embedded system usually includes a plurality of interfaces, and some interfaces may not include any function button, for example, interface a is only used to display monitoring information of certain status parameters, and does not include any virtual button that can be triggered, so if the currently presented interface does not include any function button or only includes one function button, there is no need to monitor the triggering frequency of the function button of the interface.
The function key is a virtual key including at least one sub-function interface, that is, after the function key is triggered, the function interface of the next level matched with the function key is displayed, for example, as shown in fig. 1B, the main interface includes six keys of "function 1", "function 2", "function 3", "function 4", "function 5" and "function 6", after the "function 5" key is triggered, the interface B is displayed, the sub-function keys of "function 5" key, function 5.1 "," function 5.2 "and" function 5.3 "are displayed in the interface B, obviously, the interface B is the sub-function interface of" function 5 "key, and is the sub-function interface of the first level, if the" function 5.1 "key is triggered in the interface B, the interface C is displayed, the sub-function keys of" function 5.1.1.2 "and" function 5.1.3 "are displayed in the interface C, obviously, the interface C is also a sub-function interface of the function 5 key and is a sub-function interface of a second level; in particular, the interface C is also a sub-function interface of the "function 5.1" key, and is a sub-function interface of the first level; as shown in fig. 1C, after the "function 3" key is triggered, an interface D is displayed, and although the interface D does not include any virtual key, various monitored system state information, that is, "temperature information," "load information," and "storage information," is displayed, so that the interface D is a sub-function interface of the "function 3" key and is a sub-function interface of a first level, and the "function 3" key only includes the sub-function interface of the first level.
Particularly, for the universal keys such as "return", "jump home" and "refresh" in the interface, because the universal keys are often displayed in each interface and the display positions are relatively fixed, if the display positions of the universal keys are adjusted, the display positions of the universal keys in different interfaces are different, which is not in line with the use habit of the user, the universal keys can be used as the functional keys in the embodiment of the present invention, that is, the trigger frequency of the universal keys is not monitored; the type of the universal key can be preset according to the requirement.
After determining the triggered target function key, the number of triggers of the target function key is increased by 1, and the trigger frequency is determined according to the number of triggers within a past period of time (e.g., one day, one week, or one month).
S120, determining the arrangement sequence of the function keys in the target interface according to the trigger frequency of the function keys in the target interface.
The higher the trigger frequency, the more frequently the user uses the function key, so when sorting the function keys according to the trigger frequency, the higher the trigger frequency, the earlier the sorting.
Optionally, in this embodiment of the present invention, the determining, according to the trigger frequency of each function key in the target interface, an arrangement order of each function key in the target interface includes: and determining the arrangement sequence of each function key in the target interface according to the trigger frequency of each function key in the target interface and the weight coefficient of each function key. The weight coefficient is a weight value preset for each function key in the interface, the larger the value is, the higher the default display priority of the function key in the embedded system is, the higher the importance is, and at the same time, the weight coefficient is also the basis for setting the initial display position for each function key, for example, in fig. 1B, the weight coefficients of "function 1", "function 2", "function 3", "function 4", "function 5" and "function 6" are sequentially reduced, and the default display positions in the main interface are also sequentially arranged in the same order, so that the trigger frequency of each function key and the corresponding weight coefficient are summed or multiplied, and then the function keys are arranged according to the summation or multiplication result, and the use frequency of each function key by the user and the importance degree of each function key are comprehensively considered, and acquiring a more reasonable function key arrangement sequence.
Optionally, in this embodiment of the present invention, the determining, according to the trigger frequency of each function key in the target interface, an arrangement order of each function key in the target interface includes: determining the arrangement sequence of each function key in the target interface through a sequencing model according to the triggering frequency, the weight coefficient and the triggering times of each function key in the target interface; wherein the ranking model is constructed based on a neural network. If the use time of the user is short or the triggering times of all the function keys are less, the use habits of the user cannot be truly reflected by fewer sampling samples at the time, so that the triggering frequency, the weight coefficient and the triggering times of all the function keys in the currently displayed target interface are used as input data through the pre-trained sorting model, all the function keys are sorted based on the input data, and the output data is the sorting result of all the function keys in the current target display interface.
Taking the example that the sorting model uses the linear excitation function, the more the triggering times of the function keys are, the higher the correction value of the triggering frequency is, for example, the using frequency of the function key a is 5 times/day, and when the actual triggered times are 100 times, the obtained excitation value is obviously larger than that when the actual triggered times are 10 times, and further, the larger the correction value of the obtained triggering frequency is, the larger the probability value is when sorting is performed, and the more the sorting position is likely to be forward, so that the sorting model constructed based on the neural network performs sorting operation on each function key in the target display interface, and the accuracy of the sorting result of each function key is further improved; in particular, in order to reduce the resource occupation of the MCU in the embedded system, a single-layer or a small number of layers of neural networks may be used to construct the order model, so that the order model with a simplified structure occupies a small amount of MCU resources.
Optionally, in this embodiment of the present invention, after determining the triggered target function key, the method further includes: and if the fact that the sub-function key of the target function key is triggered is detected in the sub-function interface of the preset level under the target function key, updating the trigger frequency of the target function key. There may be one or more levels of sub-function interfaces under a function key, for example, the "function 5" key in fig. 1B includes two levels of sub-function interfaces, and the "function 3" key in fig. 1C includes one level of sub-function interfaces; the sub-function interfaces of the preset hierarchy are sub-function interfaces of one or more hierarchies specified under the function keys, for example, only the sub-function interface of the first hierarchy under each function key is taken as the sub-function interface of the preset hierarchy, taking fig. 1B as an example, according to the setting that the preset hierarchy is the first hierarchy, if the function 5.1 key is detected to be triggered in the interface B, the function 5.1 key is considered to have an association relationship with the function 5 key, and is also considered to be triggered by the function 5 key, so that when the function 5.1 key is triggered, the triggering frequency of the function 5 key is also updated; similarly, according to the setting that the preset hierarchy is the first hierarchy, if the function 5.1.1 key is triggered in the interface C, the function 5.1.1 key and the function 5 key are not considered to have an association relationship and are not considered to be triggered by the function 5 key, so that when the function 5.1.1 key is triggered, the trigger frequency of the function 5 key is not updated; by setting the sub-function interface with the preset level, the use frequency of the sub-functions of the user under each function key can be obtained, and the actual use condition of the user on each system function can be reflected more accurately.
In particular, the sub-function interfaces of the preset hierarchy are related to the interface attribute of the target interface; wherein the interface attribute comprises an interface type and/or an interface hierarchy. Different interfaces may correspond to different preset levels, for example, the interface type may include a main interface and a non-main interface, and for the main interface, since the main interface has the highest importance and the level of the included sub-function interface is the most, the sub-function interfaces of the preset level corresponding to each function key in the main interface may be set to a larger value, for example, the sub-function interfaces of the first level, the second level, and the third level corresponding to each function key in the main interface are used as the sub-function interfaces of the preset level, and for the non-main interface, the sub-function interfaces of the preset level corresponding to each function key in the non-main interface may be set to a smaller value, for example, only the sub-function interfaces of the first level corresponding to each function key in the non-main interface are used as the sub-function interfaces of the preset level; the interface level is a position level of the interface in the system, for example, in fig. 1B, the main interface is located at the first level of the system, the interface B is located at the second level of the system, the interface C is located at the third level of the system, the position levels of the interfaces in the system are different, the sub-function interfaces of the preset level corresponding to each function key in the interface may also be different, and the higher the interface level is, the more the number of the sub-function interfaces of the preset level is. By setting the sub-function interfaces of the preset levels, the detection of different numbers of sub-function interfaces is realized for different interfaces, the multi-level detection of the important interfaces is ensured, the detection of fewer levels is also carried out for non-important interfaces, and the detection resources of the embedded system are reasonably utilized.
S130, adjusting the display position of each function key in the target interface according to the arrangement sequence of each function key.
According to the arrangement sequence of the function keys, the function keys are sequentially placed at the designated display positions in the display interface, and by taking the target interface as the main interface and taking the target function key as the "function 5" key as an example, the display positions before and after the adjustment of the function keys are respectively displayed in fig. 1D.
Optionally, in an embodiment of the present invention, before adjusting a display position of each function key in the target interface according to an arrangement sequence of each function key, the method includes: judging whether the trigger data of the target function key accords with an adjustment rule or not; wherein the trigger data comprises a trigger frequency and/or a trigger number; if the trigger data of the target function key is determined not to accord with the adjustment rule, keeping the display position of each function key in the target interface unchanged; adjusting the display position of each function key in the target interface according to the arrangement sequence of each function key, including: and if the trigger data of the target function keys are determined to accord with the adjustment rule, adjusting the display positions of the function keys in the target interface according to the arrangement sequence of the function keys.
If the triggering frequency of the target function key is greater than or equal to the preset frequency threshold and/or the triggering times of the target function key are greater than or equal to the preset time threshold, the triggering data of the target function key is shown to accord with the adjustment rule, and at the moment, the display position of each function key in the target interface is adjusted; if the triggering frequency of the target function key is smaller than the preset frequency threshold and/or the triggering times of the target function key are smaller than the preset time threshold, the triggering data of the target function key is not in accordance with the adjustment rule, and at the moment, the display position of each function key in the target interface is kept unchanged; by setting the adjustment rule, the sequencing result does not influence the actual display position of each function key in the target interface when the use time of the user is short or the triggering times of each function key are small, and the misjudgment of the use habits of the user based on the triggering result obtained by a small number of sampling samples is avoided.
According to the technical scheme provided by the embodiment of the invention, the triggering frequency of the target function key is updated according to the triggering instruction of the function key in the target interface, the arrangement sequence of the function keys in the target interface is determined according to the triggering frequency of the function keys in the target interface, and the display position of the function keys in the target interface is adjusted according to the arrangement sequence of the function keys, so that the display position of the function keys in the interface is adjusted according to the operation habit of a user, the convenience of user operation is improved, and the user experience is improved.
Example two
Fig. 2 is a flowchart of a method for displaying virtual keys according to a second embodiment of the present invention, which is embodied on the basis of the foregoing technical solution, and in this embodiment, when a display instruction of the target interface is obtained again, an arrangement order of each function key in the target interface is determined according to a trigger frequency of each function key in the target interface, where the method specifically includes:
s210, when a function key triggering instruction is detected in the target interface, determining a triggered target function key, and updating the triggering frequency of the target function key.
S220, if the fact that the sub-function key of the target function key is triggered is detected in the sub-function interface of the preset level under the target function key, updating the trigger frequency of the target function key.
And S230, when the display instruction of the target interface is obtained again, determining the arrangement sequence of the function keys in the target interface according to the trigger frequency of the function keys in the target interface.
Aiming at the sorting operation executed by the function keys, the purpose is to adjust the display position of each function key in the target interface so that the adjusted interface conforms to the use habit of a user when the interface is displayed to the user, therefore, the sorting operation executed by the function keys can be carried out when a display instruction of the interface is acquired next time; this is because the user may continue to use other sub-functions under the target function key after triggering the target function key, and further frequently update the trigger frequency of the target function key, and in the update process of the trigger frequency, the target interface is not substantially displayed to the user, and if the trigger frequency of the target function key is updated each time, the sorting of the function keys is performed, which may cause a waste of computing resources.
S240, adjusting the display position of each function key in the target display interface according to the arrangement sequence of each function key.
According to the technical scheme provided by the embodiment of the invention, the triggering frequency of the target function key is updated according to the function key triggering instruction in the target interface, when the display instruction of the target interface is obtained again, the arrangement sequence of the function keys in the target interface is determined according to the triggering frequency of the function keys in the target interface, and the display position of the function keys in the target interface is adjusted according to the arrangement sequence of the function keys, so that the display position of the function keys in the interface is adjusted according to the operation habit of a user, the convenience of the user operation is improved, and meanwhile, the computing resources of an embedded system are saved.
EXAMPLE III
Fig. 3 is a block diagram of a display apparatus for virtual keys according to a third embodiment of the present invention, where the display apparatus specifically includes: a first trigger frequency updating module 310, an arrangement order obtaining module 320 and a display position adjusting module 330;
a first trigger frequency updating module 310, configured to determine a triggered target function key when a function key triggering instruction is detected in a target interface, and update a trigger frequency of the target function key;
an arrangement order obtaining module 320, configured to determine an arrangement order of each function key in the target interface according to a trigger frequency of each function key in the target interface;
the display position adjusting module 330 is configured to adjust a display position of each function key in the target interface according to an arrangement sequence of each function key.
According to the technical scheme provided by the embodiment of the invention, the triggering frequency of the target function key is updated according to the triggering instruction of the function key in the target interface, the arrangement sequence of the function keys in the target interface is determined according to the triggering frequency of the function keys in the target interface, and the display position of the function keys in the target interface is adjusted according to the arrangement sequence of the function keys, so that the display position of the function keys in the interface is adjusted according to the operation habit of a user, the convenience of user operation is improved, and the user experience is improved.
Optionally, on the basis of the above technical solution, the display device for virtual keys further includes:
and the second trigger frequency updating module is used for updating the trigger frequency of the target function key if the fact that the sub-function key of the target function key is triggered is detected in the sub-function interface of the preset level under the target function key.
Optionally, on the basis of the above technical solution, the sub-function interface of the preset hierarchy is related to the interface attribute of the target interface; wherein the interface attribute comprises an interface type and/or an interface hierarchy.
Optionally, on the basis of the above technical solution, the arrangement order obtaining module 320 is specifically configured to determine the arrangement order of each function key in the target interface according to the trigger frequency of each function key in the target interface when the display instruction of the target interface is obtained again.
Optionally, on the basis of the above technical solution, the arrangement order obtaining module 320 is specifically configured to determine the arrangement order of each function key in the target interface according to the trigger frequency of each function key in the target interface and the weight coefficient of each function key.
Optionally, on the basis of the above technical solution, the arrangement order obtaining module 320 is specifically configured to determine, according to the trigger frequency, the weight coefficient, and the trigger frequency of each function key in the target interface, an arrangement order of each function key in the target interface through a sorting model; wherein the ranking model is constructed based on a neural network.
Optionally, on the basis of the above technical solution, the display device for virtual keys further includes:
the adjustment rule judging module is used for judging whether the trigger data of the target function key accords with the adjustment rule or not; wherein the trigger data comprises a trigger frequency and/or a trigger number; and if the trigger data of the target function key is determined not to accord with the adjustment rule, keeping the display position of each function key in the target interface unchanged.
Optionally, on the basis of the above technical solution, the display position adjusting module 330 is specifically configured to adjust a display position of each function key in the target interface according to an arrangement sequence of each function key if it is determined that the trigger data of the target function key meets an adjustment rule.
The device can execute the display method of the virtual key provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not described in detail in this embodiment, reference may be made to the method provided in any embodiment of the present invention.
Example four
Fig. 4 is a schematic structural diagram of an embedded system according to a fourth embodiment of the present invention. FIG. 4 illustrates a block diagram of an exemplary embedded system 12 suitable for use in implementing embodiments of the present invention. The embedded system 12 shown in fig. 4 is only an example and should not bring any limitations to the function and scope of use of the embodiments of the present invention.
As shown in FIG. 4, the embedded system 12 is in the form of a general purpose computing device. The components of the embedded system 12 may include, but are not limited to: one or more processors or processing units 16, a memory 28, and a bus 18 that couples various system components including the memory 28 and the processing unit 16.
Bus 18 represents one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, and a processor or local bus using any of a variety of bus architectures. By way of example, such architectures include, but are not limited to, Industry Standard Architecture (ISA) bus, micro-channel architecture (MAC) bus, enhanced ISA bus, Video Electronics Standards Association (VESA) local bus, and Peripheral Component Interconnect (PCI) bus.
The embedded system 12 typically includes a variety of computer system readable media. Such media may be any available media that is accessible by the embedded system 12 and includes both volatile and nonvolatile media, removable and non-removable media.
The memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. The embedded system 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 4, and commonly referred to as a "hard drive"). Although not shown in FIG. 4, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to carry out the functions of embodiments of the invention.
A program/utility 40 having a set (at least one) of program modules 42 may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which examples or some combination thereof may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
The embedded system 12 may also communicate with one or more external devices 14 (e.g., keyboard, pointing device, display 24, etc.), with one or more devices that enable a user to interact with the embedded system 12, and/or with any devices (e.g., network card, modem, etc.) that enable the embedded system 12 to communicate with one or more other computing devices. Such communication may be through an input/output (I/O) interface 22. Also, the embedded system 12 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network such as the Internet) via the network adapter 20. As shown, the network adapter 20 communicates with the other modules of the embedded system 12 over the bus 18. It should be understood that although not shown in the figures, other hardware and/or software modules may be used in conjunction with the embedded system 12, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, among others.
The processing unit 16 executes various functional applications and data processing by executing programs stored in the memory 28, for example, implementing the virtual key display method provided by the embodiment of the present invention. Namely: when a function key triggering instruction is detected in a target interface, determining a triggered target function key and updating the triggering frequency of the target function key; determining the arrangement sequence of each function key in the target interface according to the trigger frequency of each function key in the target interface; and adjusting the display position of each function key in the target interface according to the arrangement sequence of each function key.
EXAMPLE five
The fifth embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the method for displaying virtual keys according to any embodiment of the present invention; the method comprises the following steps:
when a function key triggering instruction is detected in a target interface, determining a triggered target function key and updating the triggering frequency of the target function key;
determining the arrangement sequence of each function key in the target interface according to the trigger frequency of each function key in the target interface;
and adjusting the display position of each function key in the target interface according to the arrangement sequence of each function key.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
- 上一篇:石墨接头机器人自动装卡簧、装栓机
- 下一篇:一种音乐播放控制方法及终端设备