An application management method, a terminal and an electronic device
By creating a fixed file system on the embedded terminal to store application scripts and using configuration files to record information, the problems of poor flexibility and complex operation in the management of embedded terminal applications with limited storage resources are solved, and flexible management of applications is realized.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- CHINA MOBILE M2M
- Filing Date
- 2021-08-05
- Publication Date
- 2026-04-21
AI Technical Summary
Embedded terminals with limited storage resources are inflexible and complex to manage applications, and cannot flexibly manage multiple applications.
A fixed file system is created on embedded terminals with limited storage resources to store all application scripts supported by the application management system, and the configuration information of the application scripts is recorded through configuration files to achieve flexible management of applications.
This technology enables flexible management of applications by listening for access requests and processing configuration files within embedded terminals with limited storage resources without restarting the device. This solves the problems of poor flexibility and complex operation.
Smart Images

Figure CN115705218B_ABST
Abstract
Description
Technical Field
[0001] This application relates to, but is not limited to, the field of computers, and in particular to an application management method, a terminal, and an electronic device. Background Technology
[0002] With the continuous development and growth of industries such as the Internet of Things, mobile Internet, and cloud computing, embedded terminals, which use embedded microprocessors as control units and integrate sensors, memory, and communication modules, are widely used. Currently, many relatively simple embedded terminals with limited storage resources have emerged for different application directions and scenarios. These storage-restricted embedded terminals refer to devices with less than 1MB of Read-Only Memory (ROM) / Flash Memory and less than 256KB of Random Access Memory (RAM). Due to storage resource limitations, these terminals typically cannot run large operating systems such as Android or Linux. They generally run embedded real-time operating systems (RTOS) and use C as the programming language for application development.
[0003] However, in practical applications, embedded terminals with limited storage resources can only run one set of applications. If another set of applications needs to be run, the application must be re-flashed onto the device or an over-the-air (FOTA) firmware upgrade must be performed. Therefore, the management of applications on embedded terminals with limited storage resources in related technologies suffers from poor flexibility and high operational complexity. Summary of the Invention
[0004] In view of this, this application provides an application management method, terminal, and electronic device, which solves the problems of poor flexibility and high operational complexity in the management of applications by embedded terminals with limited storage resources in the related art.
[0005] To achieve the above objectives, the technical solution of this application is implemented as follows:
[0006] An application management system, the method comprising:
[0007] If the application management system starts, it calls the initialization application in the configuration file of the application management system and runs the initialization application;
[0008] If the communication module of the application management system detects an access request, it stops running the initialization application and determines the access operation corresponding to the access request.
[0009] In response to the access operation, the configuration files associated with the access operation in all configuration files of the application management system are processed to obtain the processing result; wherein, all configuration files are used to record the configuration information of the application scripts of all applications stored in the file system of the application management system, and the file system is a system created on the storage area by firmware;
[0010] The processing result is then fed back to the sender of the access request.
[0011] A terminal, the terminal comprising:
[0012] The processing unit is configured to, if the application management system starts, call the initialization application in the configuration file of the application management system and run the initialization application;
[0013] The processing unit is further configured to, if the communication module of the application management system detects an access request, stop running the initialization application and determine the access operation corresponding to the access request;
[0014] The processing unit is further configured to respond to the access operation and process the configuration files associated with the access operation in all configuration files of the application management system to obtain a processing result; wherein, all configuration files are used to record the configuration information of the application scripts of all applications stored in the file system of the application management system, and the file system is a system created on the storage area by firmware;
[0015] The processing unit is also used to feed back the processing result to the sending end of the access request.
[0016] An electronic device, the electronic device comprising:
[0017] Memory, used to store executable instructions;
[0018] The processor, when executing executable instructions stored in the memory, implements the steps of the application management method described above.
[0019] A computer-readable storage medium storing one or more applications, which can be executed by one or more processors to implement the steps of the application management method described above.
[0020] The application management method, terminal, and electronic device provided in this application, when the application management system starts, call and run the initialization application in the configuration file of the application management system; if the communication module of the application management system listens for an access request, it stops running the initialization application, determines the access operation corresponding to the access request; responds to the access operation, processes the configuration files associated with the access operation in all configuration files of the application management system, and obtains the processing result; the processing result is fed back to the sending end of the access request; that is, this application opens a fixed storage area, i.e., a file system, on the embedded terminal with limited storage resources through firmware, to store the application scripts of all applications supported by the application management system, i.e., the storage area can store the application scripts of multiple applications; and, a configuration file is used to record the configuration information of the application scripts of all applications stored in the application file system. Obviously, when managing applications, this application changes the relevant information in the configuration file, rather than burning all the content to the embedded terminal with limited storage resources all at once, as is done in related technologies. In this way, the problems of poor flexibility and high complexity in managing applications in embedded terminals with limited storage resources in related technologies are solved. This application does not require restarting the device when managing applications. As long as the communication module listens for access requests and processes the configuration files in the embedded terminal with limited storage resources, the application on the terminal can be flexibly managed. Attached Figure Description
[0021] Figure 1 A schematic diagram of the structure of a terminal provided in this application;
[0022] Figure 2 A flowchart illustrating an application management method provided in this application;
[0023] Figure 3 A flowchart illustrating an application management method provided in this application;
[0024] Figure 4 A flowchart illustrating an application management method provided in this application;
[0025] Figure 5 A flowchart illustrating an application management method provided in this application;
[0026] Figure 6 A flowchart illustrating an application management method provided in this application;
[0027] Figure 7 A flowchart illustrating an application management method provided in this application;
[0028] Figure 8 A flowchart illustrating an application management method provided in this application;
[0029] Figure 9 A flowchart illustrating an application management method provided in this application;
[0030] Figure 10 A flowchart illustrating an application management method provided in this application;
[0031] Figure 11 A flowchart illustrating an application management method provided in this application;
[0032] Figure 12 A flowchart illustrating an application management method provided in this application;
[0033] Figure 13 A flowchart illustrating an application management method provided in this application;
[0034] Figure 14 A flowchart illustrating an application management method provided in this application;
[0035] Figure 15 A flowchart illustrating an application management method provided in this application;
[0036] Figure 16 A schematic diagram of the structure of a terminal provided for the implementation of this application;
[0037] Figure 17 A schematic diagram of the structure of an electronic device provided for the implementation of this application. Detailed Implementation
[0038] To make the objectives, technical solutions, and advantages of this application clearer, the application will be further described in detail below with reference to the accompanying drawings. The described embodiments should not be regarded as limitations on this application. All other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0039] In the following description, references to "some embodiments" refer to a subset of all possible embodiments. However, it is understood that "some embodiments" may be the same or different subsets of all possible embodiments and may be combined with each other without conflict. Unless otherwise defined, all technical and scientific terms used in the embodiments of this application have the same meaning as commonly understood by one of ordinary skill in the art to which the embodiments of this application pertain. The terminology used in the embodiments of this application is for the purpose of describing the embodiments of this application only and is not intended to limit the application.
[0040] The following describes exemplary applications of the electronic devices provided in the embodiments of this application. These electronic devices can be implemented as laptops, tablets, desktop computers, mobile devices (e.g., mobile phones, portable music players, personal digital assistants, portable gaming devices), intelligent robots, and other embedded terminals with limited storage resources, or as servers. The following will describe exemplary applications when the electronic device is implemented as a terminal.
[0041] See Figure 1 , Figure 1 This is a structural schematic diagram of the terminal 100 provided in this application. Figure 1 The terminal 100 shown includes: an application management system 110 and an embedded real-time multitasking operating system 120. The application management system 110 includes a parsing module 1101, a communication module 1102, a security module 1103, a configuration file 1104, a file system 1105, a script interpreter 1106, and an operating system abstraction interface layer 1107.
[0042] The parsing module 1101 is responsible for parsing the operation commands and data files transmitted transparently (pass-through) by the communication module 1102 and performing corresponding processing. The supported commands fall into two categories: query commands, including querying the application list, querying the module list, querying the current application, and querying the previous application; and operation commands, including adding an application, deleting an application, updating an application, switching applications, and modifying the configuration file 1104.
[0043] The communication module 1102 is responsible for the transparent transmission of operation commands and data files, such as module program files. The communication module 1102 is divided into two sub-modules: local communication and network communication. Local communication can transparently transmit commands from the terminal via a Universal Asynchronous Receiver / Transmitter (USRT) serial port, Serial Peripheral Interface (SPI), or Inter-Integrated Circuit (I2C). Network communication can interface with socket interfaces in real-world scenarios through an integrated socket interface, and transparently transmit external commands. It should be noted that the command transmission method provided in this application is flexible and versatile, capable of transmitting both local and remote network commands, thus improving the expandability of the application management system.
[0044] Security module 1103 is used to determine whether the data file transparently transmitted by communication module 1102 is complete, thereby ensuring the integrity of the file stored in the file system. Security module 1103 is also used to determine whether the operation commands transparently transmitted by the sending end through communication module 1102 have specific processing permissions, thereby ensuring the sending end's permissions. For example, security module 1103 can use the user signature public key in configuration file 1104 to verify the operation command, thereby ensuring the sending end's permissions. Alternatively, security module 1103 can perform integrity verification on the transmitted data file; only if the verification passes will the data file be stored in file system 1105.
[0045] Configuration file 1104 is a pre-configured file that records configuration information and is stored in a fixed area. The configuration information includes the name of the currently running application, the name of the last running application, the current application list, the current module list, the application and module dependency table, the Internet Protocol (IP) address, and the user's signature public key.
[0046] The file system 1105 contains application scripts for all applications supported by the application management system 110. Application scripts are divided into two categories: application execution bodies and application execution submodules. The application execution body is the main part required to implement a specific program function. The system has multiple application execution bodies, each of which can consist of one or more application scripts to achieve a complete application function. Application execution submodules assist the application execution body by allowing it to call other modules. An application execution body can call multiple submodules to complete different application functions. The file system 1105 treats application execution bodies and submodules as files for adding, deleting, and modifying. Simultaneously, program submodules can be called by multiple application execution bodies, reducing space usage and improving application utilization.
[0047] Script interpreter 1106 is a module used to execute application scripts. For example, script interpreter 1106 could be a MicroPython interpreter; it should be noted that the MicroPython interpreter is a Python interpreter that can run on embedded processors, requires less storage resources, supports the same syntax as Python, and includes most of Python's built-in functions and libraries. MicroPython can be considered a simplified version of Python. After MicroPython is ported to the processor chip, users can develop application scripts using the Python language. After the script applications are stored in file system 1105, the processor chip will interpret and run these script applications.
[0048] The operating system abstraction interface layer 1107 couples the application management system 110 with the embedded real-time multitasking operating system 120. The operating system abstraction interface layer 1107 includes a set of abstract serial port operation interfaces, which can interface with the USRT driver in practical applications. It should be noted that the application management system 110 has a complete driver framework, i.e., a set of abstract serial port operation interfaces, to implement data reception, transmission, and configuration. This framework can be applied to different chips; when applying to different chips, only the corresponding driver framework for that chip needs to be adapted.
[0049] See Figure 2 , Figure 2 This is a schematic diagram illustrating an implementation flow of the application management method provided in this application embodiment. This application management method can be applied to... Figure 1 The terminal 100 shown; the application management method includes the following steps:
[0050] Step 201: If the application management system starts, call the initialization application in the configuration file of the application management system and run the initialization application.
[0051] In this embodiment, an application management system is deployed on the terminal. If the terminal detects a startup request for the application management system, it responds to the startup request and launches the initial application in the configuration file of the application management system. The launched initial application is then displayed on the terminal's screen. For example, the startup request may be generated by the terminal after the user clicks on the identifier corresponding to the application management system displayed on the terminal. Of course, the terminal can also generate the startup request in other ways. For instance, the user may send a voice message to the terminal, such as a message to open the application management system, and the terminal generates a startup request after receiving this message. This application does not specifically limit the method by which the terminal generates the startup request.
[0052] In this embodiment of the application management system, the initial application in the configuration file is the application that the terminal ran in the previous execution cycle as recorded in the configuration file, or it can be a factory default application preset by the application management system.
[0053] In this embodiment, when the application management system starts, it obtains the identification information of the application script corresponding to the application identifier of the initialization application recorded in the configuration file of the application management system. Based on the identification information, it retrieves the application script corresponding to the application identifier of the initialization application from the file system of the application management system and runs the application script, i.e., starts the main thread. Here, during the process of starting the main thread, the terminal initializes other auxiliary modules, such as the serial port module and the network module. For example, the terminal starts a network thread responsible for initializing the network module so that the terminal can receive external commands sent by other terminals through the network module.
[0054] Step 202: If the communication module of the application management system detects an access request, it stops running the initialization application and determines the access operation corresponding to the access request.
[0055] In this embodiment, during the initialization process of the application management system's configuration file, the application management system's communication module starts a listening thread to continuously monitor serial port commands transparently transmitted by the serial port module and network commands transparently transmitted by the network module. If the communication module detects an access request, it stops running the initialization application and determines the access operation corresponding to the access request. Here, the access request may carry the application identifier of the application to be accessed, the processing command corresponding to the operation to be performed on the application to be accessed, and at least one application script corresponding to the application identifier of the application to be accessed. Alternatively, the access request may carry the application identifier of the application to be accessed and the processing command corresponding to the operation to be performed on the application identifier of the application to be accessed.
[0056] Step 203: Respond to the access operation by processing the configuration files associated with the access operation in all configuration files of the application management system to obtain the processing result.
[0057] Among them, all configuration files are used to record the configuration information of all application scripts stored in the application management system's file system. The file system is a system created on the storage area by the firmware.
[0058] In this embodiment, the file system of the application management system is a system created on the storage area by firmware, used to store the application scripts of all applications supported by the application management system.
[0059] In this embodiment, the application management system responds to the access operation corresponding to the access request, processes the configuration file associated with the access operation, and obtains the processing result from the processed configuration file. Here, the processing result includes, but is not limited to, indicating whether the application management system successfully processed the access operation.
[0060] Step 204: Feedback the processing result to the sender of the access request.
[0061] In this embodiment of the application management system, if the communication module of the application management system detects that the access request is a query request, it parses the query request and determines the query operation corresponding to the query request. For example, if the query request is to query all applications supported by the application management system, then the parsed query operation may first obtain the configuration file of the application management system and obtain the application identifiers of all applications supported by the application management system from the configuration file; further, respond to the query operation, obtain the application identifiers of all applications, and return the application identifiers of all applications to the sending end of the access request. Figure 3 This is a flowchart illustrating an application management method provided in this application. When the access request received by the communication module is a query request, the query request is sent to the parsing module. The parsing module parses the query request, obtains the query command for accessing the configuration file, executes the query command, retrieves the query information from the configuration file, and finally feeds back the query information to the sender of the access request through the communication module.
[0062] The application management method provided in this application, when the application management system starts, calls and runs the initial application in the configuration file of the application management system; if the communication module of the application management system listens for an access request, it stops running the initial application, determines the access operation corresponding to the access request; responds to the access operation, processes the configuration files associated with the access operation in all configuration files of the application management system, and obtains the processing result; the processing result is fed back to the sending end of the access request. In other words, this application opens a fixed storage area, i.e., a file system, on the embedded terminal with limited storage resources through firmware, to store the application scripts of all applications supported by the application management system; i.e., the storage area can store the application scripts of multiple applications; and, a configuration file is used to record the configuration information of the application scripts of all applications stored in the application file system. Obviously, when managing applications, this application changes the relevant information in the configuration file, rather than burning all the content to the embedded terminal with limited storage resources all at once, as is done in related technologies. In this way, the problems of poor flexibility and high operational complexity in the management of applications by embedded terminals with limited storage resources in related technologies are solved. This application does not require restarting the device when managing applications; as long as the communication module listens for an access request and processes the configuration files in the embedded terminal with limited storage resources, flexible management of applications on the terminal can be achieved.
[0063] In other embodiments of this application, after feeding back the processing result to the sender of the access request in step 204 above, the application management method further includes the following steps:
[0064] The first step is to read the application identifier of the application to be run from the configuration file.
[0065] In this embodiment, the application management system reads the currently running application name stored in the configuration file. Here, the currently running application name is the application identifier of the application to be run.
[0066] In some embodiments, the application to be run may be the initialization application. It should be noted that before the application management system starts, the name of the currently running application stored in the configuration file is the initialization application. When the access request is a query request, only the query operation is performed, and the name of the currently running application stored in the configuration file is not modified. Therefore, when the communication module returns the query result corresponding to the query request to the sender of the query request, the application identifier of the application to be run read by the application management system from the configuration file is still the application identifier of the initialization application.
[0067] The second step is to retrieve the application script associated with the application identifier of the application to be run from the file system.
[0068] In this embodiment, the application management system reads the mapping table from the configuration file, searches for the identification information of the application script associated with the application identifier of the application to be run based on the mapping table, and calls the application script associated with the application identifier of the application to be run from the file system based on the identification information of the application script.
[0069] The mapping table indicates the mapping relationship between all applications supported by the application management system and the corresponding module identifiers of those applications.
[0070] It should be noted that the application scripts corresponding to the applications in this application are stored in the file system. The space size of each program does not need to be set in advance, and is not subject to the constraints of the pre-set size. It is only related to the size of the file system. Furthermore, each program does not need to set jump addresses, etc., and can directly call the script file.
[0071] The third step is to execute the application script associated with the application identifier of the application to be run through the script interpreter of the application management system.
[0072] In this embodiment of the application management system, the script interpreter executes the application script associated with the application identifier of the application to be run, so that the terminal runs the application to be run.
[0073] See Figure 4 , Figure 4 This is a schematic diagram illustrating an implementation flow of the application management method provided in this application embodiment. This application management method can be applied to... Figure 1 The terminal 100 shown; the application management method includes the following steps:
[0074] Step 401: If the application management system starts, call the application initialization function in the application management system's configuration file and run the initialization process.
[0075] Step 402: If the communication module of the application management system detects an access request, it stops running the initialization application and determines the access operation corresponding to the access request.
[0076] Step 403: Respond to the access operation by parsing the access request through the parsing module of the application management system.
[0077] Step 404: If the application script carried in the access request is parsed and the processing command for the application script carried in the access request is obtained.
[0078] In this embodiment, if the parsing module parses at least one application script carried in the access request and a processing command for the application script carried in the access request, for example, if the parsing module determines that the access request carries all application scripts corresponding to the marquee and a processing command to write all application scripts corresponding to the marquee to the file system, then the access request transparently transmitted by the communication module is to add the marquee application to the application management system. Alternatively, if the parsing module determines that the access request carries some application scripts corresponding to the new features of the marquee version 1.2.3 relative to the marquee version 1.2.2 in the application management system, and a processing command to write some application scripts corresponding to the marquee to the file system, then the access request transparently transmitted by the communication module is to update the application management system and update the marquee application.
[0079] Step 405: Obtain the processing permission verification information from the configuration file associated with the access operation through the parsing module, and send it to the security module of the application management system.
[0080] In this embodiment, the parsing module obtains processing permission verification information from the configuration file and sends the permission verification information to the security module. For example, the processing permission verification information can be a user signature public key; it can also be a permission verification rule, such as when the 8th bit of the processing command is 1, it indicates that the sender of the access request has processing permission, and when the 8th bit of the processing command is 0, it indicates that the sender of the access request does not have processing permission.
[0081] Step 406: Through the security module, based on the processing permission verification information, perform security verification on the processing permissions of the processing command.
[0082] In this embodiment, the security module performs security verification on the processing permissions of the processing command based on the processing permission verification information.
[0083] For example, when the processing permission verification information is a user-signed public key, the sending end of the access request first signs the processing command using the user-signed private key, obtaining a signed and an unsigned processing command. It then sends an access request containing both the signed and unsigned commands. The communication module transparently transmits the access request, the parsing module parses the signed and unsigned commands and sends them to the security module. The security module uses the user-signed public key to design the signed command, obtaining the designed command. It compares the designed command with the unsigned command. If they are the same, it determines that the sending end of the access request has permission to process the configuration file, and the security verification passes. If they are different, it determines that the sending end of the access request does not have permission to process the configuration file, and the security verification fails. The security module outputs a prompt message. Thus, this application ensures the reliability of the processing command source and guarantees user permissions through processing permission verification information.
[0084] Here, the output prompt message may include, but is not limited to, outputting colors, text, sounds, graphics, symbols, images, and anything else that can inform the sender of the access request that the security verification has failed.
[0085] Step 407: If the security verification passes, the security module performs integrity verification on the application script carried in the access request.
[0086] In this embodiment, if the security module verifies the processing command, it performs integrity verification on the application script carried in the access request. For example, this application uses Cyclic Redundancy Check (CRC) to verify the application script carried in the access request. The parsing module first sends the parsed application script of the application to be accessed to the security module, and then sends the application script verification value. The security module receives the application script and calculates the CRC verification value. Then, it compares the calculated verification value with the verification value sent by the sender of the access request. If they are the same, the application script of the application to be accessed is determined to be complete and error-free; if they are different, the application script of the application to be accessed is determined to be incorrect. The security module generates a prompt message and sends the prompt message back to the sender of the access request. The sender of the access request can choose to retransmit or take other measures.
[0087] Here, the feedback information may include, but is not limited to, any output color, text, sound, graphics, symbols, images, etc., that can inform the sender of the access request of an application script error in the application to be accessed.
[0088] Step 408: If the integrity verification passes, write the application script carried in the access request to the file system.
[0089] Step 409: Using the parsing module, add the identification information of the application script carried in the access request, and / or the relationship between the application script carried in the access request and the upper-layer application, to the configuration file associated with the access operation to obtain the added configuration file.
[0090] In this embodiment of the application, when the security module determines that the integrity verification of the application script carried in the access request has passed and the security verification of the processing command of the application script carried in the access request has passed, the application script carried in the access request is written into the file system, and the identification information of the application script carried in the access request and the mapping relationship between the application script carried in the access request and the upper-layer application are added to the configuration file associated with the access operation to obtain the added configuration file and generate a processing result of successful addition.
[0091] For example, the identifier of the marquee (upper-layer application) with version number 1.3.2 is 1.3.2-run, and the application scripts of this application include two scripts, light.py and run.py, which are identified as 1.3.2-run-light and 1.3.2-run-2, respectively. Then, the parsing module writes 1.3.2-run into the configuration file to record the storage area of the applications supported by the application management system, and writes the mapping relationship between the application scripts (1.3.2-run: (1.3.2-run-light, 1.3.2-run-2)) and the upper-layer application into the configuration file.
[0092] Step 410: Feedback the processing result to the sender of the access request.
[0093] Figure 5 This is a flowchart illustrating an application management method provided in this application. In the scenario of adding an application, when the communication module transparently transmits the access request to the parsing module, and the parsing module determines the application script carried in the access request and the processing commands for the application script, the security module first performs a security verification on the processing commands of the application script carried in the access request. If the security verification passes, it replies to the communication module with information indicating that the application management system is ready. The communication module sends the application script carried in the access request to the security module. The security module performs an integrity verification on the application script carried in the access request. If the integrity verification passes, it writes the application script carried in the access request to the file system and outputs a success message to the parsing module. After receiving the message, the parsing module modifies the configuration file, adding the identification information of the application script carried in the access request and / or the relationship between the application script carried in the access request and the upper-layer application to the configuration file associated with the access operation, obtaining the modified configuration file, and outputting the processing result. Finally, the communication module feeds back the processing result to the sender of the access request.
[0094] It should be noted that when adding applications, the parsing module only adds scripts unique to the application scripts of the application to be accessed, and does not add scripts shared with other applications. This ensures that the file system can accommodate a sufficient number of application scripts.
[0095] It should be noted that the descriptions of the same steps and contents as in other embodiments in this embodiment can be found in the descriptions in other embodiments, and will not be repeated here.
[0096] See Figure 6 , Figure 6 This is a schematic diagram illustrating an implementation flow of the application management method provided in this application embodiment. This application management method can be applied to... Figure 1 The terminal 100 shown; the application management method includes the following steps:
[0097] Step 601: If the application management system starts, call the application initialization function in the application management system's configuration file and run the initialization process.
[0098] Step 602: If the communication module of the application management system detects an access request, it stops running the initialization application and determines the access operation corresponding to the access request.
[0099] Step 603: Respond to the access operation by parsing the access request through the parsing module of the application management system.
[0100] Step 604: If the application script carried in the access request is parsed and the processing command for the application script carried in the access request is obtained.
[0101] Step 605: Obtain the processing permission verification information from the configuration file associated with the access operation through the parsing module, and send it to the security module of the application management system.
[0102] Step 606: Through the security module, based on the processing permission verification information, perform security verification on the processing permissions of the processing command.
[0103] Step 607: If the security verification passes, the parsing module uses the application script associated with the application script carried in the access request in the file system as a backup script, and the security module performs integrity verification on the application script carried in the access request.
[0104] In some embodiments, when updating a functional module of the application to be accessed, when the sending end of the access request sends the application script to be updated, the security verification of the application script processing command parsed by the parsing module passes. The parsing module uses the application script associated with the application script carried in the access request in the file system as a backup script. For example, it adds a suffix or marks the filename associated with the application script carried in the file system access request to prevent the application to be accessed from failing to run if the application script carried in the access request fails to be written to the file system.
[0105] Step 608: If the integrity verification passes, write the application script carried in the access request to the file system and delete the backup script.
[0106] Step 609: Using the parsing module, replace the identifier corresponding to the backup script with the identifier corresponding to the application script carried in the access request in the configuration file associated with the access operation, and obtain the modified configuration file.
[0107] In this embodiment of the application, when the security module determines that the integrity verification of the application script carried in the access request has passed and the security verification of the processing command of the application script carried in the access request has passed, the application script carried in the access request is written into the file system and the backup script is deleted. In the configuration file associated with the access operation, the identifier corresponding to the backup script is replaced with the identifier corresponding to the application script carried in the access request to obtain the modified configuration file and generate a processing result of successful addition.
[0108] Step 610: Feedback the processing result to the sender of the access request.
[0109] Figure 7This is a flowchart illustrating an application management method provided in this application. In an application update scenario, when the communication module transparently transmits an access request to the parsing module, the parsing module determines the application script carried in the access request and the processing commands for that script. First, it performs a security verification on the processing commands for the application script. If the security verification passes, the parsing module adds the '_backup' suffix to the filename associated with the application script in the file system access request, thus creating a backup script. When the file system backup script is successful, it sends a successful backup message to the parsing module. The parsing module then replies to the communication module with a message indicating that the application management system is ready. The communication module sends the application script carried in the access request to the security module. The security module performs an integrity verification on the application script. If the integrity verification passes, it writes the application script to the file system and outputs an update completion message to the parsing module. Upon receiving the message, the parsing module modifies the configuration file, replacing the identifier corresponding to the backup script with the identifier corresponding to the application script carried in the access request in the configuration file associated with the access operation, obtaining the modified configuration file, and outputs the processing result. If the backup fails, it sends a backup failure message to the parsing module and outputs the backup failure processing result. Finally, the communication module sends the processing result back to the end that sent the access request.
[0110] It should be noted that in the scenario of updating applications, the parsing module only adds the new scripts in the application scripts corresponding to the application to be updated, and does not add scripts shared with other applications. That is, in this application, the underlying code and application code are separated. When upgrading the application code, only the corresponding script files in the file system need to be updated; thus, the update efficiency is improved.
[0111] It should be noted that the descriptions of the same steps and contents as in other embodiments in this embodiment can be found in the descriptions in other embodiments, and will not be repeated here.
[0112] See Figure 8 , Figure 8 This is a schematic diagram illustrating an implementation flow of the application management method provided in this application embodiment. This application management method can be applied to... Figure 1 The terminal 100 shown; the application management method includes the following steps:
[0113] Step 801: If the application management system starts, call the initialization application in the application management system and run the initialization application.
[0114] Step 802: If the communication module of the application management system detects an access request, it stops running the initialization application and determines the access operation corresponding to the access request.
[0115] Step 803: Respond to the access operation. If the application identifier of the application to be accessed corresponding to the access operation is the application script to be accessed that already exists in the file system, call the application script with the application script to be accessed in the file system for processing.
[0116] In this embodiment of the application, if the parsing module parses the application identifier of the application to be accessed corresponding to the access operation of the access request, and the application script with the pending access identifier in the file system is the processing of the application supported by the application management system, then the application script with the pending access identifier in the file system is called for processing. For example, the application script with the pending access identifier in the file system is called to perform deletion and switching operations.
[0117] In other embodiments of this application, reference is made to Figure 9 As shown, step 803 calls the application script with the access identifier in the file system for processing, which can be achieved through the following steps:
[0118] Step 8031: Obtain the processing permission verification information from the configuration file associated with the application script of the target identifier through the parsing module, and send it to the security module of the application management system.
[0119] Step 8032: Through the security module, based on the processing permission verification information, perform security verification on the operation permissions of the access operation.
[0120] Step 804: Update the configuration file associated with the application script of the access identifier through the parsing module of the application management system to obtain the updated configuration file.
[0121] In this embodiment of the application, if the security verification is successful, the parsing module of the application management system updates the configuration files associated with the application scripts of the target access identifier in all configuration files to obtain the updated configuration files and output the processing results.
[0122] Step 805: Feedback the processing result to the sender of the access request.
[0123] Figure 10This is a flowchart illustrating an application management method provided in this application. In a scenario involving modifying a configuration file, when the communication module transparently transmits an access request to the parsing module, the parsing module determines that the application identifier corresponding to the access operation is the application identifier of an existing application script in the file system. For example, the parsing reveals that the access operation is to modify the application identifier of an application such as "Running Horse" recorded in the configuration file. The parsing module first performs a security verification of the access operation's permissions. If the security verification passes, the parsing module modifies the configuration file, that is, it updates all configuration files associated with the application script of the access identifier, obtaining the modified configuration file and outputting the processing result. Finally, the communication module feeds back the processing result to the sender of the access request.
[0124] It should be noted that the descriptions of the same steps and contents as in other embodiments in this embodiment can be found in the descriptions in other embodiments, and will not be repeated here.
[0125] See Figure 11 , Figure 11 This is a schematic diagram illustrating an implementation flow of the application management method provided in this application embodiment. This application management method can be applied to... Figure 1 The terminal 100 shown; the application management method includes the following steps:
[0126] Step 1101: If the application management system starts, call the initialization application in the application management system and run the initialization application.
[0127] Step 1102: If the communication module of the application management system detects an access request, it stops running the initialization application and determines the access operation corresponding to the access request.
[0128] Step 1103: Respond to the access operation. If the application identifier of the application to be accessed corresponding to the access operation is the application script to be accessed in the file system, the parsing module obtains the processing permission verification information from the configuration file associated with the application script to be accessed and sends it to the security module of the application management system.
[0129] Step 1104: The security module performs security verification on the access operation permissions based on the processing permission verification information.
[0130] Step 1105: If the security verification passes, replace the identifier corresponding to the initialization application with the identifier to be accessed in the configuration file associated with the application script of the identifier to be accessed, and obtain the modified configuration file.
[0131] In this embodiment, during a switching scenario, if the security verification passes, the parsing module queries all configuration files to see if a configuration file associated with the application script of the target identifier exists. If it does, the parsing module replaces the identifier of the initialization application recorded in the configuration file associated with the application script of the target identifier with the target identifier. It should be noted that before the application relationship system starts, the application currently running in the configuration file is the initialization application. When the communication module receives an access request to switch applications, after performing security verification on the access request, the parsing module modifies the configuration file, replacing the application identifier of the initialization application with the application identifier of the target application carried in the access request. The configuration file indicates that the currently running application is the target application. Based on the application identifier of the target application recorded in the configuration file and the mapping relationship between the target application and its corresponding application script, the parsing module obtains the application script corresponding to the target application and then executes the application script associated with the application identifier of the target application through the script interpreter of the application management system. This achieves the switching of applications on the terminal.
[0132] Step 1106: Feedback the processing result to the sending end of the access request.
[0133] Figure 12 This is a flowchart illustrating an application management method provided in this application. In an application switching scenario, when the communication module transparently transmits an access request to the parsing module, the parsing module determines that the application identifier corresponding to the access operation is the application identifier of an existing application script in the file system. For example, the parsing reveals that the access operation is to replace the currently running marquee application on the terminal with the alarm application. The parsing module first performs a security verification of the access operation's permissions. If the security verification passes, the parsing module modifies the configuration file, that is, in the configuration file associated with the application script of the access identifier, it replaces the identifier corresponding to the initialization application with the access identifier, obtaining the replaced configuration file, and outputs the processing result. Finally, the communication module feeds back the processing result to the sending end of the access request.
[0134] It should be noted that the descriptions of the same steps and contents as in other embodiments in this embodiment can be found in the descriptions in other embodiments, and will not be repeated here.
[0135] See Figure 13 , Figure 13 This is a schematic diagram illustrating an implementation flow of the application management method provided in this application embodiment. This application management method can be applied to... Figure 1 The terminal 100 shown; the application management method includes the following steps:
[0136] Step 1301: If the application management system starts, call the initialization application in the application management system and run the initialization application.
[0137] Step 1302: If the communication module of the application management system detects an access request, it stops running the initialization application and determines the access operation corresponding to the access request.
[0138] Step 1303: Respond to the access operation. If the application identifier of the application to be accessed corresponding to the access operation is the application script to be accessed in the file system, the parsing module obtains the processing permission verification information from the configuration file associated with the application script to be accessed and sends it to the security module of the application management system.
[0139] Step 1304: The security module performs security verification on the access operation permissions based on the processing permission verification information.
[0140] Step 1305: If the security verification passes, delete the application scripts associated with the access identifier in the file system through the parsing module.
[0141] Step 1306: Delete the identification information of the application script associated with the application script of the target identifier and the relationship between the application script of the target identifier and the upper-layer application in the configuration file to obtain the deleted configuration file.
[0142] In the scenario of deleting an application, if the security verification passes, the parsing module queries all configuration files to see if there is a configuration file associated with the application script of the target identifier. If it exists, the parsing module deletes the target application and its related configuration information from the file system.
[0143] Step 1307: Feedback the processing result to the sender of the access request.
[0144] Figure 14This is a flowchart illustrating an application management method provided in this application. In the scenario of deleting an application, when the communication module transparently transmits an access request to the parsing module, the parsing module determines that the application identifier corresponding to the access operation is an existing application script in the file system. For example, the parsing reveals the access operation is to delete the marquee application on the terminal. The parsing module first performs a security verification of the access operation's permissions. If the security verification passes, the parsing module queries the configuration information of the application script associated with the application script of the accessed identifier from the configuration file, and deletes the application script of the accessed application from the file system based on the configuration information. After successfully deleting the application script of the accessed application, the file system replies with a successful deletion result. Further, the parsing module modifies the configuration file, that is, it deletes the identifier information of the application script of the accessed identifier and the relationship between the application script of the accessed identifier and the upper-layer application from all configuration files, obtaining the deleted configuration file, and outputs the processing result. Finally, the communication module feeds back the processing result to the sending end of the access request.
[0145] It should be noted that when deleting an application, the parsing module will only delete scripts unique to the application scripts of the application being accessed, and will not delete scripts that are shared, thus ensuring the normal operation of other applications.
[0146] It should be noted that the descriptions of the same steps and contents as in other embodiments in this embodiment can be found in the descriptions in other embodiments, and will not be repeated here.
[0147] See Figure 15 , Figure 15 This is a schematic diagram illustrating an implementation flow of the application management method provided in this application embodiment. This application management method can be applied to... Figure 1 The terminal 100 shown; the application management method includes the following steps:
[0148] Step 1501: Start the application management system.
[0149] Step 1502: Initialize the serial port module, start the main thread and network thread, and perform network operations;
[0150] Step 1503: Initialize the listening thread and listen for external serial port commands and network commands in a loop. If a command is received, execute step 1504.
[0151] Step 1504: If the application management system has a running script, terminate the current script and proceed to step 1505. If the application management system has no running script, proceed to step 1505.
[0152] Step 1505: Parse the received command and execute the corresponding operation.
[0153] Step 1506: Read the currently running application name from the configuration file; if there is no currently running application name, read the default application name.
[0154] In this embodiment, the application management system pre-configures an application as the default application. Upon first startup of the application management system, the default application is the factory-specified application. If the application corresponding to the currently running application name recorded in the configuration file does not have a corresponding application script in the application management system's file system, the application management system runs the factory-specified application. On subsequent startups of the application management system, the default application name recorded in the configuration file is modified to the application name corresponding to the application run in the previous cycle, i.e., the application name corresponding to the initialization application. If the application corresponding to the currently running application name recorded in the configuration file does not have a corresponding application script in the application management system's file system, the application management system runs the initialization application.
[0155] Step 1507: Obtain the relevant application script from the file system based on the application name obtained in step 1506.
[0156] Step 1508: Execute the application script corresponding to the application name using the script interpreter.
[0157] Based on the foregoing embodiments, embodiments of this application provide a terminal that can be applied to the figure. Figure 2 , Figure 4 , Figure 6 , Figure 8 , Figure 11 , Figure 13 In the application management method provided in the corresponding embodiment, refer to Figure 16 As shown, the terminal 100 may include:
[0158] The processing unit 1601 is used to call the initialization application in the configuration file of the application management system and run the initialization application if the application management system starts.
[0159] The processing unit 1601 is used to stop running the initialization application and determine the access operation corresponding to the access request if the communication module of the application management system detects the access request.
[0160] The processing unit 1601 is used to respond to access operations, process the configuration files associated with the access operations in all configuration files of the application management system, and obtain the processing results; wherein, all configuration files are used to record the configuration information of the application scripts of all applications stored in the file system of the application management system, and the file system is a system created on the storage area by the firmware.
[0161] The processing unit 1601 is used to feed back the processing result to the sending end of the access request.
[0162] In other embodiments of this application, terminal 100 further includes:
[0163] Processing unit 1601 is used to respond to access operations and parse access requests through the parsing module of the application management system;
[0164] The processing unit 1601 is used to parse the application script carried in the access request and to process the application script carried in the access request.
[0165] The processing unit 1601 is used to respond to processing commands and write the application script carried in the access request into the application file system.
[0166] In other embodiments of this application, terminal 100 further includes:
[0167] The acquisition unit 1602 is used to obtain processing permission verification information from the configuration file associated with the access operation through the parsing module;
[0168] Processing unit 1601 is used to send processing permission verification information to the security module of the application management system;
[0169] The processing unit 1601 is used to perform security verification on the processing permissions of the processing command based on the processing permission verification information through the security module;
[0170] Processing unit 1601 is used to perform integrity verification on the application script carried in the access request through the security module if the security verification passes.
[0171] The processing unit 1601 is used to write the application script carried in the access request to the file system if the integrity verification passes.
[0172] In other embodiments of this application, terminal 100 further includes:
[0173] The processing unit 1601 is used to add the identification information of the application script carried in the access request and / or the relationship between the application script carried in the access request and the upper-layer application to the configuration file associated with the access operation through the parsing module, so as to obtain the added configuration file.
[0174] In other embodiments of this application, terminal 100 further includes:
[0175] The processing unit 1601 is used to use the parsing module to select the application script associated with the application script carried in the access request in the file system as a backup script.
[0176] Processing unit 1601 is used to delete the backup script.
[0177] In other embodiments of this application, terminal 100 further includes:
[0178] The processing unit 1601 is used to replace the identifier of the backup script with the identifier of the application script carried in the access request in the configuration file associated with the access operation through the parsing module, so as to obtain the modified configuration file.
[0179] In other embodiments of this application, terminal 100 further includes:
[0180] The processing unit 1601 is used to respond to access operations. If the application identifier of the application to be accessed corresponding to the access operation is the access identifier of an existing application script in the file system, the application script with the access identifier in the file system is called for processing.
[0181] The processing unit 1601 is used to update the configuration file associated with the application script of the access identifier through the parsing module of the application management system, and obtain the updated configuration file.
[0182] In other embodiments of this application, terminal 100 further includes:
[0183] The processing unit 1601 is used to obtain processing permission verification information from the configuration file associated with the application script of the identifier to be accessed through the parsing module, and send it to the security module of the application management system.
[0184] The processing unit 1601 is used to perform security verification on the operation permissions of the access operation based on the processing permission verification information through the security module.
[0185] In other embodiments of this application, terminal 100 further includes:
[0186] The processing unit 1601 is used to replace the identifier corresponding to the initialization application with the identifier to be accessed in the configuration file associated with the application script of the identifier to be accessed, if the security verification is successful, so as to obtain the modified configuration file.
[0187] In other embodiments of this application, terminal 100 further includes:
[0188] Processing unit 1601 is used to delete application scripts associated with the access identifier in the file system through the parsing module if the security verification is passed;
[0189] Processing unit 1601 is used to delete the identification information of the application script associated with the application script of the target identifier and the relationship between the application script of the target identifier and the upper layer application in the configuration file, and obtain the deleted configuration file.
[0190] It should be noted that the specific implementation process of the steps executed by the first processor in this embodiment can be referred to Figure 2 , Figure 4 , Figure 6, Figure 8 , Figure 11 , Figure 13 The implementation process of the application management system provided in the corresponding embodiments will not be described in detail here.
[0191] This application provides an electronic device 17, which can be applied to... Figure 2 , Figure 4 , Figure 6 , Figure 8 , Figure 11 , Figure 13 In one application management method provided in the corresponding embodiment, referring to Figure 17 As shown, the electronic device 17 includes: a processor 1701, a memory 1702, and a communication bus 1703, wherein:
[0192] The communication bus 1703 is used to establish a communication connection between the processor 1701 and the memory 1702. The processor 1701 executes the application management program stored in the memory 1702 to achieve, for example... Figure 2 , Figure 4 , Figure 6 , Figure 8 , Figure 11 , Figure 13 The corresponding embodiment provides an application management method.
[0193] Based on the foregoing embodiments, embodiments of this application provide a computer-readable storage medium that stores one or more applications, which can be executed by one or more processors to achieve, as Figure 2 , Figure 4 , Figure 6 , Figure 8 , Figure 11 , Figure 13 The corresponding implementation provides an application management method.
[0194] It should be noted that the aforementioned computer-readable storage media can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), magnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM), etc.; or it can be various electronic devices that include one or any combination of the above-mentioned memories, such as mobile phones, computers, tablet devices, personal digital assistants, etc.
[0195] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element.
[0196] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.
[0197] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.
[0198] This application is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer application products according to embodiments of this application. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer application instructions. These computer application instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.
[0199] These computer application instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.
[0200] These computer application instructions can also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.
[0201] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.
Claims
1. An application management method, characterized in that, The method includes: If the application management system starts, it calls the initialization application in the configuration file of the application management system and runs the initialization application; If the communication module of the application management system detects an access request, it stops running the initialization application and determines the access operation corresponding to the access request. In response to the access operation, the access request is parsed by the parsing module of the application management system; If the application script carried by the access request and the processing commands for the application script carried by the access request are obtained through parsing; In response to the processing command, the application script carried in the access request is written to the file system; The configuration files associated with the access operation in all configuration files of the application management system are processed to obtain the processing result; wherein, all configuration files are used to record the configuration information of the application scripts of all applications stored in the file system of the application management system, and the file system is a system created on the storage area by firmware; The processing result is then fed back to the sending end of the access request; Read the application identifier of the application to be run from all the configuration files; In the file system, call the application script associated with the application identifier; Execute the application script associated with the application identifier.
2. The method according to claim 1, characterized in that, The step of responding to the processing command by writing the application script carried in the access request into the file system includes: The parsing module obtains the processing permission verification information from the configuration file associated with the access operation and sends it to the security module of the application management system. The security module performs security verification on the processing permissions of the processing command based on the processing permission verification information. If the security verification passes, the security module performs integrity verification on the application script carried in the access request. If the integrity verification passes, the application script carried in the access request is written to the file system.
3. The method according to claim 2, characterized in that, The process of processing the configuration files associated with the access operation in all configuration files of the application management system to obtain the processing result includes: The parsing module adds the identification information of the application script carried in the access request, and / or the relationship between the application script carried in the access request and the upper-layer application, to the configuration file associated with the access operation, thus obtaining the added configuration file.
4. The method according to claim 2, characterized in that, If the security verification passes, the method further includes: The parsing module uses the application script associated with the application script carried in the access request in the file system as a backup script. Accordingly, after writing the application script carried in the access request into the file system, the method further includes: Delete the aforementioned backup script.
5. The method according to claim 4, characterized in that, The process of processing the configuration files associated with the access operation in all configuration files of the application management system to obtain the processing result includes: The parsing module replaces the identifier corresponding to the backup script with the identifier corresponding to the application script carried in the access request in the configuration file associated with the access operation, thereby obtaining the modified configuration file.
6. The method according to claim 1, characterized in that, Before processing the configuration files associated with the access operation in all configuration files of the application management system to obtain the processing result, the method further includes: In response to the access operation, if the application identifier of the application to be accessed corresponding to the access operation is the access identifier of an existing application script in the file system, the application script with the access identifier in the file system is called to process it. Accordingly, the processing of all configuration files associated with the access operation in the application management system to obtain the processing result includes: The parsing module of the application management system updates the configuration file associated with the application script of the access identifier to obtain the updated configuration file.
7. The method according to claim 6, characterized in that, The process of calling the application script containing the access identifier in the file system includes: The parsing module retrieves the processing permission verification information from the configuration file associated with the application script of the target identifier and sends it to the security module of the application management system. The security module performs security verification on the access operation permissions based on the processing permission verification information.
8. The method according to claim 7, characterized in that, The step of updating the configuration file associated with the application script of the accessed identifier to obtain the updated configuration file includes: If the security verification passes, the identifier corresponding to the initialization application is replaced with the identifier to be accessed in the configuration file associated with the application script of the identifier to be accessed, and a modified configuration file is obtained.
9. The method according to claim 7, characterized in that, After performing security verification on the access operation permissions, the method further includes: If the security verification passes, the parsing module deletes the application script associated with the access identifier from the file system. Accordingly, the step of updating the configuration file associated with the application script of the accessed identifier to obtain the updated configuration file includes: The configuration file associated with the application script of the target identifier is deleted, along with the identifier information of the application script of the target identifier and the relationship between the application script of the target identifier and the upper-layer application, to obtain the configuration file after deletion.
10. A terminal, characterized in that, The terminal includes: The processing unit is configured to, if the application management system starts, call the initialization application in the configuration file of the application management system and run the initialization application; The processing unit is further configured to, if the communication module of the application management system detects an access request, stop running the initialization application and determine the access operation corresponding to the access request; The processing unit is further configured to respond to the access operation by parsing the access request through the parsing module of the application management system; if the parsing yields the application script carried by the access request and the processing command for the application script carried by the access request; responding to the processing command by writing the application script carried by the access request into the file system; and processing the configuration files associated with the access operation in all configuration files of the application management system to obtain a processing result; wherein, all configuration files are used to record the configuration information of the application scripts of all applications stored in the file system of the application management system, and the file system is a system created on the storage area by firmware; The processing unit is also used to feed back the processing result to the sending end of the access request; The processing unit is further configured to read the application identifier of the application to be run from all the configuration files; call the application script associated with the application identifier in the file system; and execute the application script associated with the application identifier.
11. An electronic device, characterized in that, The electronic device includes: Memory, used to store executable instructions; A processor, when executing executable instructions stored in the memory, implements the application management method according to any one of claims 1 to 9.
Citation Information
Patent Citations
Embeded system based on script programming language and operation method thereof
KR1020110108143A