Method and system for editing desktop application shortcut key, terminal and storage medium

By writing and reading the application package name in the listening list of the UI interface software, the problem of special permission users calling multiple applications in the fixed single-function UI interface is solved, and the need to start other applications on the single-function UI interface is realized. Meets the fixed functions of most users and the special permission needs of a few users, with low cost and small changes.

CN119248368APending Publication Date: 2025-01-03JWIPC TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411286766.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-13
Publication Date
2025-01-03

AI Technical Summary

Technical Problem

In the fixed single-function UI interface of industrial control products, users with special permissions need to call multiple applications, but device manufacturers cannot develop UI interfaces separately for each user, making it difficult for users to find and use the required applications.

Method used

By adding a file for specifying the name to the listening list of the UI interface software, write the required application package name, and check whether the corresponding application exists in the system. If it exists, list it on the interface, otherwise the feedback will be errored or there will be no action , the file name adopts json_pkg.txt, and the format is json format.

Benefits of technology

It realizes the need to start other applications on a UI interface with a single function. The system changes are small and the cost is low, and it meets the fixed functions of most users and meets the needs of a few special permission users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119248368A_ABST
    Figure CN119248368A_ABST
Patent Text Reader

Abstract

The invention relates to a method and a system for editing desktop application shortcut keys, a terminal and a storage medium. The method comprises the following steps of: adding a file for assigning a name in a monitoring list of UI interface software; writing the package name of the required application into a file; the UI interface software reads the package name of the application in the file, and checks whether the corresponding application exists in the system; if yes, listing the application on the UI interface, and otherwise, feeding back an error or no action; by applying the method provided by the invention, the requirement of starting other applications can be realized on a UI interface with a relatively single function, the change on the system is very small, the cost is low, and the purposes of not only meeting the fixed single function used by most users, but also meeting a few users needing special permissions can be realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of computer equipment, and more specifically, to a method, system, terminal and storage medium for editing desktop application shortcut keys. Background Art

[0002] In some industrial control product systems, the UI interface is fixed with a single function. It is not open to users to install applications at will. Instead, it uses specific applications installed by customers in the system. In this kind of UI interface with a fixed single function, there are also some users with special permissions. They need to use high-level permissions to call multiple applications, and they also need to find the applications they need quickly and easily. However, it is impossible for equipment manufacturers to develop the required UI interface for each user with special permissions. Therefore, a UI interface with a fixed single function that can meet the needs of most users and the needs of a small number of users who need special permissions is needed. Summary of the invention

[0003] The technical problem to be solved by the present invention is that, in view of the above-mentioned defects of the prior art, a method for editing desktop application shortcut keys is provided, and a system for editing desktop application shortcut keys, a terminal for editing desktop application shortcut keys and a computer-readable storage medium are also provided.

[0004] The technical solution adopted by the present invention to solve its technical problem is:

[0005] A method for editing desktop application shortcut keys is constructed, wherein the method comprises the following steps:

[0006] Step 1: Add a file with the specified name to the monitoring list of the UI interface software;

[0007] Step 2: Write the package name of the required application into the file;

[0008] Step 3: The UI interface software reads the package name of the application in the file and checks whether there is a corresponding application in the system;

[0009] Step 4: If yes, the application will be listed on the UI interface, otherwise an error will be reported or no action will be taken.

[0010] The method for editing desktop application shortcut keys of the present invention further comprises the steps of:

[0011] By deleting the package name of the application written in the file, the corresponding listed application on the UI interface is deleted.

[0012] In the method for editing desktop application shortcut keys described in the present invention, the file name is: json_pkg.txt.

[0013] The method for editing desktop application shortcut keys of the present invention, wherein in the step 2, the package name of the required application is written into the file in json format.

[0014] A system capable of editing desktop application shortcut keys, wherein the system comprises UI interface software and a writing unit; the UI interface software comprises a monitoring unit, an application checking unit and a UI interface display unit;

[0015] The monitoring unit is used to monitor the monitoring list; a file for specifying a name can be added to the monitoring list;

[0016] The writing unit is used to write the package name of the required application into the file;

[0017] The application checking unit is used to read the package name of the application in the file and check whether there is a corresponding application in the system;

[0018] The interface display unit is used to list the applications checked by the application checking unit on the UI interface.

[0019] The system for editing desktop application shortcut keys of the present invention, wherein the writing unit is further used to delete the package name of the application written in the file;

[0020] The interface display unit deletes the corresponding listed application on the UI interface when the package name of the written application is deleted.

[0021] In the system for editing desktop application shortcut keys of the present invention, the file name is: json_pkg.txt.

[0022] In the system for editing desktop application shortcut keys of the present invention, the writing unit writes the package name of the required application into the file in the json format.

[0023] A terminal capable of editing desktop application shortcut keys comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.

[0024] A computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the above method when executed by a processor.

[0025] The beneficial effect of the present invention is that by applying the method of the present application, the need to start other applications can be realized on a UI interface with relatively single functions, with very small changes to the system and low cost, which can achieve the purpose of satisfying the fixed single function used by the vast majority of users while satisfying the purpose of a small number of users who need special permissions. BRIEF DESCRIPTION OF THE DRAWINGS

[0026] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the present invention will be further described below in conjunction with the accompanying drawings and embodiments. The drawings described below are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work:

[0027] Figure 1 is a flow chart of a method for editing desktop application shortcut keys according to a preferred embodiment of the present invention; Figure 2 It is a schematic diagram of the package name format of the method for editing desktop application shortcut keys in a preferred embodiment of the present invention; Figure 3 The present invention is a block diagram of the system principle of the editable desktop application shortcut keys of the preferred embodiment of the present invention. DETAILED DESCRIPTION

[0028] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the following will be described clearly and completely in combination with the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are partial embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work belong to the protection scope of the present invention.

[0029] The method for editing desktop application shortcut keys in a preferred embodiment of the present invention is as follows: Figure 1 See also Figure 2 , including the following steps:

[0030] S01: Add a file with a specified name to the monitoring list of the UI interface software;

[0031] S02: Write the package name of the required application into the file;

[0032] S03: The UI interface software reads the package name of the application in the file and checks whether there is a corresponding application in the system;

[0033] S04: If yes, the application is listed on the UI interface, otherwise an error is fed back or no action is taken;

[0034] By applying the method of this application, the need to launch other applications can be realized on a UI interface with relatively single functions, with very small changes to the system and low cost, which can meet the needs of a fixed single function used by the vast majority of users while meeting the needs of a small number of users who need special permissions.

[0035] Preferably, the method further comprises the steps of:

[0036] By deleting the package name of the application written in the file, the corresponding listed application on the UI interface is deleted.

[0037] Preferably, the file name is: json_pkg.txt. In step 2, the package name of the required application is written into the file in json format. For its content and format, refer to Figure 2 .

[0038] A system for editing desktop application shortcut keys, such as Figure 3 As shown, the system includes UI interface software 10 and a writing unit 11; the UI interface software 10 includes a monitoring unit 100, an application checking unit 101 and a UI interface display unit 102;

[0039] The monitoring unit 100 is used to monitor the monitoring list; a file for specifying a name can be added to the monitoring list;

[0040] A writing unit 11 is used to write the package name of the required application into the file;

[0041] The application checking unit 101 is used to read the package name of the application in the file and check whether there is a corresponding application in the system;

[0042] The interface display unit 102 is used to list the applications checked by the application checking unit on the UI interface;

[0043] By applying the system of the present application, the need to launch other applications can be realized on a UI interface with relatively single functions. The changes to the system are very small and the cost is low. It can achieve the purpose of satisfying the fixed single function used by the vast majority of users while satisfying the purpose of a small number of users who need special permissions.

[0044] Preferably, the writing unit is further used to delete the package name of the application written in the file;

[0045] The interface display unit deletes the corresponding listed application on the UI interface when the package name of the written application is deleted.

[0046] Preferably, the file name is: json_pkg.txt, and the writing unit writes the package name of the required application into the file in the json format.

[0047] A terminal capable of editing desktop application shortcut keys comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.

[0048] A computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the above method when executed by a processor.

[0049] It should be understood that those skilled in the art can make improvements or changes based on the above description, and all these improvements and changes should fall within the scope of protection of the appended claims of the present invention.

Claims

1. A method for editing desktop application shortcut keys, characterized in that: The method comprises the following steps: Step 1: Add a file with the specified name to the monitoring list of the UI interface software; Step 2: Write the package name of the required application into the file; Step 3: The UI interface software reads the package name of the application in the file and checks whether there is a corresponding application in the system; Step 4: If yes, the application will be listed on the UI interface, otherwise an error will be reported or no action will be taken.

2. The method for editing desktop application shortcut keys according to claim 1, characterized in that: The method further comprises the steps of: By deleting the package name of the application written in the file, the corresponding listed application on the UI interface is deleted.

3. The method for editing desktop application shortcut keys according to claim 1, characterized in that: The file name is: json_pkg.txt.

4. The method for editing desktop application shortcut keys according to claim 1, characterized in that: In the step 2, the package name of the required application is written into the file in json format.

5. A system for editing desktop application shortcut keys, characterized in that: The system includes UI interface software and a writing unit; the UI interface software includes a monitoring unit, an application checking unit and a UI interface display unit; The monitoring unit is used to monitor the monitoring list; a file for specifying a name can be added to the monitoring list; The writing unit is used to write the package name of the required application into the file; The application checking unit is used to read the package name of the application in the file and check whether there is a corresponding application in the system; The interface display unit is used to list the applications checked by the application checking unit on the UI interface.

6. The system for editing desktop application shortcut keys according to claim 5, characterized in that: The writing unit is further used to delete the package name of the application written in the file; The interface display unit deletes the corresponding listed application on the UI interface when the package name of the written application is deleted.

7. The system for editing desktop application shortcut keys according to claim 5, characterized in that: The file name is: json_pkg.txt.

8. The system for editing desktop application shortcut keys according to claim 5, characterized in that: The writing unit writes the package name of the required application into the file in the json format.

9. A terminal capable of editing desktop application shortcut keys, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 4 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 4 are implemented.