Management method and device for environment configuration application program

By reading, decrypting and encrypting configuration information on smart terminals, the problem of cumbersome environment configuration testing process is solved, simple operation and intuitive display of configuration items are achieved, and testing efficiency is improved.

CN113064656BActive Publication Date: 2024-08-27SHANGHAI PATEO ELECTRONIC EQUIPMENT MANUFACTURING CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN201911384796.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-28
Publication Date
2024-08-27
Estimated Expiration
2039-12-28

AI Technical Summary

Technical Problem

The testing process of environment configuration in the prior art is cumbersome, and testers cannot intuitively see the specific values ​​of each configuration item, resulting in inconvenient operation.

Method used

By reading the local configuration information on the smart terminal, it is decrypted and displayed on the interface, and the configuration items and corresponding configuration information set by the target object on the interface are received, and then encrypted and saved to the internal space of the environment configuration application.

Benefits of technology

The operation process of environment configuration is simplified, making it more concise and convenient, and the specific values ​​of each configuration item are intuitively displayed during the operation, which improves testing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113064656B
    Figure CN113064656B
Patent Text Reader

Abstract

The embodiment of the present application discloses a method and device for managing an environment configuration application, which is applied to a smart terminal. The method includes: reading local configuration information, decrypting the local configuration information and displaying it on an interface, receiving configuration items set by a target object on the interface and configuration information corresponding to the configuration items, and encrypting the configuration information and saving it to the internal space of the environment configuration application. The method sets configuration items in a human-computer interactive manner, making the operation process of the environment configuration more concise and convenient, and displays the configuration information on the interface during the operation, so that the specific values ​​of each configuration item can be intuitively seen.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method and device for managing an environment configuration application. Background Art

[0002] As people's living standards continue to improve, smart terminals have become an indispensable part of people's lives. Smart terminals are installed with many application software, each of which has different functions to meet the multi-functional needs of smart terminals. However, before the application goes online, a lot of tests will be carried out, including environment configuration. At present, the test of environment configuration requires testers to switch continuously by clicking, and the operation process is cumbersome, and the specific values ​​of the current configuration items cannot be intuitively seen during the operation.

[0003] Application Contents

[0004] The embodiments of the present application provide a method and device for managing an environment configuration application, which can make the operation process of the environment configuration more concise and convenient, and the specific value of each configuration item can be intuitively seen during the operation.

[0005] In a first aspect, an embodiment of the present application provides a method for managing an environment configuration application, which is applied to a smart terminal, and the method includes:

[0006] Read local configuration information;

[0007] Decrypting the local configuration information and displaying it on the interface;

[0008] Receive the configuration items set by the target object on the interface and the configuration information corresponding to the configuration items;

[0009] The configuration information is encrypted and saved in the internal space of the environment configuration application.

[0010] In a second aspect, an embodiment of the present application provides a management device for an environment configuration application, which is applied to a smart terminal, and the device includes:

[0011] A reading unit, used for reading local configuration information;

[0012] A decryption unit, used to decrypt the local configuration information and display it on an interface;

[0013] A receiving unit, configured to receive the configuration items set by the target object on the interface and the configuration information corresponding to the configuration items;

[0014] The processing unit is used to encrypt the configuration information and save it into the internal space of the environment configuration application.

[0015] In the third aspect, an embodiment of the present application provides an intelligent terminal, which includes a processor, a memory, a user interface and a network interface. The processor, user interface, network interface and memory communicate with each other through a communication bus; the memory is used to store computer programs; when the processor is used to execute the program stored in the memory, the method steps described in the first aspect above are implemented.

[0016] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps described in the first aspect of the embodiment of the present application.

[0017] In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in the first aspect of the embodiment of the present application. The computer program product may be a software installation package.

[0018] The implementation of the embodiments of the present application has the following beneficial effects:

[0019] It can be seen that the management method and device of the environment configuration application described in the embodiments of the present application are applied to smart terminals. The smart vehicle-mounted terminal reads local configuration information, decrypts the local configuration information and displays it on the interface, receives the configuration items set by the target object on the interface and the configuration information corresponding to the configuration items, encrypts the configuration information and saves it to the internal space of the environment configuration application, sets the configuration items through human-computer interaction, makes the operation process of the environment configuration more concise and convenient, and displays the configuration information on the interface during the operation, so that the specific value of each configuration item can be intuitively seen. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0021] Figure 1 It is a structural diagram of a smart terminal provided in an embodiment of the present application;

[0022] Figure 2 It is a flowchart of a method for managing an environment configuration application provided by an embodiment of the present application;

[0023] Figure 3 It is a flowchart of another method for managing an environment configuration application provided by an embodiment of the present application;

[0024] Figure 4A It is a block diagram of the functional units of a management device for an environment configuration application provided in an embodiment of the present application;

[0025] Figure 4B It is a block diagram of the functional units of another management device for an environment configuration application provided by an embodiment of the present application;

[0026] Figure 5 It is a structural diagram of another intelligent terminal provided in an embodiment of the present application. DETAILED DESCRIPTION

[0027] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0028] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0029] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0030] See also Figure 1 , Figure 1This is a schematic diagram of the structure of an intelligent terminal in an embodiment of the present application. The intelligent terminal may include a computer device for use in use, and the device may communicate with the core network via a wireless access network or a wired access network. The intelligent terminal may include intelligent terminal devices such as smart phones, laptops, desktops / tablets, smart watches, etc. The intelligent terminal in the embodiment of the present application includes: a hardware layer, a driver layer, an operating system layer, and a software layer. However, those skilled in the art should understand that Figure 1 The structure of the smart terminal shown is only an example and does not constitute a limitation on the structure of the smart terminal. The hardware layer includes the hardware modules of the smart terminal, the middle layer provides a driver for the hardware layer, abstracts the hardware modules of the hardware layer into objects that can be processed and operated by the operating system (such as Android system, Linux system, Unix system, iOS system, etc.), and the software layer includes applications that implement various functions of the smart terminal, such as navigation applications that implement positioning and navigation functions, Internet social applications and multimedia applications that implement Internet social functions, etc.

[0031] The various intelligent terminals introduced above, if located on a vehicle (eg, placed in or installed in a vehicle), can be considered as vehicle-mounted intelligent terminals, which are also called on-board units (OBU).

[0032] When installing and running a product application, the product application can be installed according to the configuration information in the configuration file. The functions of the product application after installation may be different with different configuration information. For example, when the configuration file only contains the configuration information of the desktop file, the user can only install and run the product application on a desktop computer device. When the configuration file only contains the configuration information of the MobileDevice configuration file, the user can only install and run the product application on a mobile device. Therefore, when testing a product application, the tester needs to set the configuration information to meet the needs of different users based on different systems.

[0033] The present application is described in detail below in conjunction with specific embodiments.

[0034] See also Figure 2 , Figure 2 is a flow chart of a method for managing an environment configuration application provided by an embodiment of the present application, the method is applied to Figure 1 The method comprises the following steps:

[0035] S201. Read local configuration information.

[0036] It should be noted that the environment may include a development environment, a test environment, and a production environment. The environment involved in the embodiments of the present application is a production environment, which is a real environment for formally providing external services. It generally turns off error reporting and turns on error logs. When testing a new application, the tester will install two applications on the smart terminal during the test: an environment configuration application and a product application. The tester controls the various configuration items of the product application in a human-computer interactive manner through the environment configuration application, such as requesting a gateway, log output level, file storage location, and other custom configuration items.

[0037] The local configuration information may be stored in the memory of the smart terminal, and the smart terminal may obtain the local configuration file stored in the memory by sending instructions, and read the local configuration information from the local configuration file.

[0038] S202: Decrypt the local configuration information and display it on the interface.

[0039] In the actual operation process, when the tester configures the environment, he will not see the specific values ​​of each configuration item. In order to solve this problem, the embodiment of the present application can decrypt the read local configuration information to obtain each configuration item and the specific value of each configuration item, and display the decrypted configuration items and the specific value of each configuration item on the interface so that the tester can see them directly. It should be noted that the above-mentioned method for decrypting the local configuration information can refer to the relevant method, and the embodiment of the present application will not be repeated here.

[0040] S203: Receive configuration items set by the target object on the interface and configuration information corresponding to the configuration items.

[0041] Among them, the above-mentioned target object can be a tester, a user, a programmer, etc. In the embodiment of the present application, the above-mentioned target object can be a tester.

[0042] Specifically, after the tester sees each configuration item and its specific value on the interface, he can select the required configuration item according to the operating system of the product application and user requirements, and can also modify the specific value of the selected configuration item. The smart terminal receives and stores the tester's operation on the smart terminal interface, and obtains the configuration item set by the tester and the specific value corresponding to the configuration item according to the operation.

[0043] S204: Encrypt the configuration information and save it into the internal space of the environment configuration application.

[0044] After obtaining the configuration items set by the tester and the specific values ​​corresponding to the configuration items, the intelligent terminal can encrypt the configuration information to prevent the user from modifying the configuration information. It should be noted that the encryption method of the configuration information can refer to the relevant method, and the embodiment of the present application will not be repeated here. The intelligent terminal can save the encrypted configuration information in the internal space of the environment configuration application in json format.

[0045] Among them, since the configuration information is saved and shared in JSON format, the environment configuration application can configure one or more configuration items.

[0046] Optionally, the above-mentioned encrypting the configuration information and saving it to the internal space of the environment configuration application specifically includes: obtaining the type of the operating system of the smart terminal, extracting the saving method matching the type, and encrypting the configuration information according to the saving method and saving it to the internal space of the environment configuration application.

[0047] Among them, encrypting the configuration information and saving it to the internal space of the environment configuration application according to the saving method specifically includes: if the type is an Android operating system, saving the encrypted configuration information in the form of a file on the disk; if the type is an iOS operating system, sharing the encrypted configuration information through application groups app groups.

[0048] It can be seen that the management method of the environment configuration application described in the embodiment of the present application is applied to the smart terminal. The smart vehicle-mounted terminal reads the local configuration information, decrypts the local configuration information and displays it on the interface, receives the configuration items set by the target object on the interface and the configuration information corresponding to the configuration items, encrypts the configuration information and saves it to the internal space of the environment configuration application, sets the configuration items through human-computer interaction, makes the operation process of the environment configuration more concise and convenient, and displays the configuration information on the interface during the operation, so that the specific value of each configuration item can be intuitively seen.

[0049] With the above Figure 2 For the embodiments shown, please refer to Figure 3 , Figure 3 is a flow chart of another method for managing an environment configuration application provided by an embodiment of the present application, such as Figure 3 As shown, applied to a smart terminal, the method includes:

[0050] S301: Read local configuration information.

[0051] S302: Decrypt the local configuration information and display it on the interface.

[0052] S303: Receive configuration items set by the target object on the interface and configuration information corresponding to the configuration items.

[0053] S304: Encrypt the configuration information and save it into the internal space of the environment configuration application.

[0054] S305: Start the product application and determine whether the environment configuration application is installed on the smart terminal.

[0055] S306: If it is determined that the intelligent terminal has installed the environment configuration application, read the configuration information of the environment configuration application, and use the configuration information to initialize each configuration item of the product application.

[0056] S307: If it is determined that the environment configuration application is not installed on the smart terminal, initialize each configuration item of the product application using preset values.

[0057] The specific description of S301-S304 can refer to the above Figure 1 The corresponding steps of the described road height limit prompt method will not be repeated here.

[0058] Specifically, after the tester selects the configuration information in the environment configuration application, he starts the product application. When starting, the product application determines whether the smart terminal has installed the environment configuration application. If the smart terminal has installed the environment configuration application, the product application reads the encrypted configuration information shared by the environment configuration application. The product application decrypts the encrypted configuration information to obtain the configuration items and specific values ​​of each configuration item set in the environment configuration application. The product application is installed and runs according to the configuration items and the specific values ​​of each configuration item, and initializes each configuration item. If the smart terminal does not have the environment configuration application installed, the product application uses the configuration items and specific values ​​of each configuration item that it pre-sets and stores to initialize the configuration items of the product application.

[0059] It can be seen that the management method of the environment configuration application described in the embodiment of the present application is applied to the smart terminal. The smart vehicle-mounted terminal reads the local configuration information, decrypts the local configuration information and displays it on the interface, receives the configuration items set by the target object on the interface and the configuration information corresponding to the configuration items, encrypts the configuration information and saves it to the internal space of the environment configuration application, and sets the configuration items through human-computer interaction, making the operation process of the environment configuration more concise and convenient. During the operation, the configuration information is displayed on the interface, and the specific value of each configuration item can be intuitively seen. The product application is directly initialized according to the configuration information of the environment configuration application, which can avoid the user switching the configuration of the product application from the production environment to the non-production environment.

[0060] The above mainly introduces the scheme of the embodiment of the present application from the perspective of the execution process on the method side. It is understandable that in order to realize the above functions, the intelligent terminal includes a hardware structure and / or software module corresponding to the execution of each function. It should be easily appreciated by those skilled in the art that, in combination with the units and algorithm steps of each example described in the embodiments provided herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present application.

[0061] The embodiment of the present application can divide the functional units of the intelligent terminal according to the above method example. For example, each functional unit can be divided according to each function, or two or more functions can be integrated into one processing unit. The above integrated unit can be implemented in the form of hardware or in the form of software functional units. It should be noted that the division of units in the embodiment of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0062] See also Figure 4A , Figure 4A 4 is a functional unit composition block diagram of a management device 400 for an environment configuration application provided in an embodiment of the present application. The management device 400 for the environment configuration application is applied to a smart terminal. The device 400 includes: a reading unit 410, a decryption unit 420, a receiving unit 430 and a processing unit 440, wherein

[0063] A reading unit 410, configured to read local configuration information;

[0064] Decryption unit 420, used to decrypt the local configuration information and display it on the interface

[0065] The receiving unit 430 is used to receive the configuration items set by the target object on the interface and the configuration information corresponding to the configuration items;

[0066] The processing unit 440 is used to encrypt the configuration information and save it into the internal space of the environment configuration application.

[0067] It can be seen that the management device of the environment configuration application described in the embodiment of the present application is applied to an intelligent terminal. The intelligent vehicle-mounted terminal reads the local configuration information, decrypts the local configuration information and displays it on the interface, receives the configuration items set by the target object on the interface and the configuration information corresponding to the configuration items, encrypts the configuration information and saves it to the internal space of the environment configuration application, sets the configuration items through human-computer interaction, makes the operation process of the environment configuration more concise and convenient, and displays the configuration information on the interface during the operation, so that the specific value of each configuration item can be intuitively seen.

[0068] In a possible example, in terms of encrypting and saving the configuration information to the internal space of the environment configuration application, the processing unit 440 is further specifically configured to:

[0069] The type of the operating system of the smart terminal is obtained, a saving method matching the type is extracted, and the configuration information is encrypted according to the saving method and then saved to the internal space of the environment configuration application.

[0070] In the aspect of encrypting the configuration information according to the storage method and then saving it to the internal space of the environment configuration application, the processing unit is further specifically used for:

[0071] If the type is an Android operating system, the encrypted configuration information is saved in a disk in the form of a file;

[0072] If the type is an iOS operating system, the encrypted configuration information is shared through application groups app groups.

[0073] In one possible example, Figure 4B FIG. 4 is a block diagram of functional units of another environment configuration application management device 400 provided in an embodiment of the present application. The device may also include:

[0074] A determination unit 450 is used for the smart terminal to start the product application and determine whether the smart terminal has installed the environment configuration application;

[0075] The reading unit 410 is further configured to read configuration information of the environment configuration application if it is determined that the intelligent terminal has installed the environment configuration application.

[0076] The initialization unit 460 is used to initialize each configuration item of the product application using the configuration information.

[0077] In a possible example, the initialization unit 460 further includes:

[0078] The initialization unit 460 is further configured to initialize each configuration item of the product application using preset values ​​if it is determined that the environment configuration application is not installed on the smart terminal.

[0079] It can be understood that the functions of each program module of the management device of the environment configuration application in the embodiment of the present application can be specifically implemented according to the method in the above method embodiment, and its specific implementation process can refer to the relevant description of the above method embodiment, which will not be repeated here.

[0080] The present application embodiment also provides another intelligent terminal, such as Figure 5 As shown, the smart terminal includes: one or more processors 510, a user interface 520, a network interface 530 and a memory 540. The processor 510, the user interface 520, the network interface 530 and the memory 540 in the smart terminal can be connected via a communication bus 550 or other methods. Figure 5 In the example, a communication bus connection is taken as an example, and a processor 510 is taken as an example;.

[0081] Among them, the user interface 520 is a medium for realizing interaction and information exchange between the user and the intelligent terminal. Its specific embodiment may include a display screen for output and a keyboard for input, etc. It should be noted that the keyboard here can be a physical keyboard, a touch screen virtual keyboard, or a keyboard that combines physical and touch screen virtual. The processor 510 (or CPU (Central Processing Unit)) is the computing core and control core of the intelligent terminal, which can parse various instructions in the intelligent terminal and process various data of the terminal. For example, the CPU can be used to read local configuration information and decrypt the local configuration information to display it on the interface; for example, the CPU can transmit various types of data between the internal structures of the intelligent terminal, etc. The memory 540 (Memory) is a memory device in the intelligent terminal for storing programs and data. It can be understood that the memory 540 here can include the built-in memory of the intelligent terminal, and of course, it can also include the extended memory supported by the intelligent terminal. The memory 540 provides a storage space, which stores the operating system of the intelligent terminal. In the embodiment of the present application, the storage space of the memory 540 also stores the environment configuration application and product application about the environment configuration. The processor 510 of the smart terminal executes the above-mentioned configuration application and product application in the memory 540. Figure 2 , Figure 3 The corresponding steps of the method flow shown.

[0082] The processor 510 is used to implement the following steps when executing the program stored in the memory 540:

[0083] Read local configuration information; decrypt the local configuration information and display it on the interface; receive the configuration items set by the target object on the interface and the configuration information corresponding to the configuration items; encrypt the configuration information and save it to the internal space of the environment configuration application.

[0084] Furthermore, the processor 510 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0085] The memory 540 is a non-transitory computer-readable storage medium that can be used to store software programs, computer executable programs, and modules, such as program instructions / modules or units corresponding to a method for managing an environment configuration application in an embodiment of the present application (for example, the attached Figure 4A The processor 510 executes various functional applications and data processing of the intelligent terminal by running the software programs, instructions and modules stored in the memory 540, that is, a method for managing an environment configuration application of the above method embodiment is implemented.

[0086] The memory 540 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required by at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 540 may include a random access memory (RAM), and may also include a non-transitory memory, such as at least one disk storage device, a flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory 540 may optionally include a memory remotely arranged relative to the processor 510, and these remote memories may be connected to the terminal device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0087] The communication bus 550 in the above-mentioned intelligent terminal can be a peripheral component interconnect standard (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The communication bus 550 can be divided into an address bus, a data bus, a control bus, etc. For the convenience of representation, only one line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0088] In an embodiment of the present application, the intelligent terminal reads local configuration information, decrypts the local configuration information and displays it on an interface, receives the configuration items set by the target object on the interface and the configuration information corresponding to the configuration items, encrypts the configuration information and saves it to the internal space of the environment configuration application, sets the configuration items through human-computer interaction, makes the operation process of the environment configuration more concise and convenient, and displays the configuration information on the interface during the operation, so that the specific value of each configuration item can be intuitively seen.

[0089] An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, wherein the computer program enables a computer to execute part or all of the steps of any method recorded in the above method embodiments, and the above computer includes an intelligent terminal.

[0090] The embodiment of the present application also provides a computer program product, the computer program product includes a non-transitory computer-readable storage medium storing a computer program, the computer program is operable to cause a computer to execute some or all of the steps of any method described in the method embodiment. The computer program product may be a software installation package, and the computer includes an intelligent terminal.

[0091] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0092] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0093] In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the above-mentioned units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

[0094] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0095] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0096] If the above-mentioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, terminal device or network device, etc.) to perform all or part of the steps of the above-mentioned methods of each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, disk or CD-ROM and other media that can store program codes.

[0097] A person skilled in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash drive, a read-only memory (English: Read-Only Memory, abbreviated as: ROM), a random access memory (English: Random Access Memory, abbreviated as: RAM), a magnetic disk or an optical disk, etc.

[0098] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A method for managing an environment configuration application, characterized in that: The method is applied to a smart terminal, and the method comprises the following steps: When the intelligent terminal is in a production environment, reading local configuration information of the environment configuration application; Decrypting the local configuration information and displaying it on the interface specifically includes: Decrypting the read local configuration information of the environment configuration application to obtain each configuration item of the environment configuration application and a specific value of each configuration item, and displaying the decrypted configuration items and the specific value of each configuration item on the interface; Receive the configuration items set by the target object on the interface and the configuration information corresponding to the configuration items; Encrypting the configuration information and saving it to the internal space of the environment configuration application; The smart terminal starts the product application and determines whether the smart terminal has installed the environment configuration application. If it is determined that the smart terminal has installed the environment configuration application, the configuration information of the environment configuration application is read and the configuration information is used to initialize the configuration items of the product application.

2. The method according to claim 1, characterized in that The step of encrypting the configuration information and saving it to the internal space of the environment configuration application program specifically includes: The type of the operating system of the smart terminal is obtained, a saving method matching the type is extracted, and the configuration information is encrypted according to the saving method and then saved to the internal space of the environment configuration application.

3. The method according to claim 2, characterized in that The step of encrypting the configuration information according to the storage method and then saving it to the internal space of the environment configuration application program specifically includes: If the type is an Android operating system, the encrypted configuration information is saved in a disk in the form of a file; If the type is an iOS operating system, the encrypted configuration information is shared through application groups app groups.

4. The method according to claim 1, characterized in that: The method further comprises: If it is determined that the environment configuration application is not installed on the smart terminal, each configuration item of the product application is initialized using a preset value.

5. A management device for an environment configuration application, characterized in that: Applied to a smart terminal, the smart terminal is in a production environment, and the terminal includes: A reading unit, used for reading local configuration information; The decryption unit is used to decrypt the local configuration information and display it on the interface, specifically including: Decrypt the read local configuration information to obtain each configuration item and its specific value, and display the decrypted configuration item and its specific value on the interface; A receiving unit, configured to receive the configuration items set by the target object on the interface and the configuration information corresponding to the configuration items; A processing unit, used to encrypt the configuration information and save it into the internal space of the environment configuration application program; The smart terminal is used to start the product application, determine whether the smart terminal has installed the environment configuration application, and if it is determined that the smart terminal has installed the environment configuration application, read the configuration information of the environment configuration application, and use the configuration information to initialize various configuration items of the product application.

6. The device according to claim 5, characterized in that: The processing unit is specifically used for: The type of the operating system of the smart terminal is obtained, a saving method matching the type is extracted, and the configuration information is encrypted according to the saving method and then saved to the internal space of the environment configuration application.

7. The device according to claim 5, characterized in that: The device also includes: A determination unit, configured to start a product application and determine whether the environment configuration application is installed on the smart terminal; The reading unit is further configured to read the configuration information of the environment configuration application if it is determined that the intelligent terminal has installed the environment configuration application; An initialization unit is used to initialize each configuration item of the product application using the configuration information, and if it is determined that the intelligent terminal has not installed the environment configuration application, initialize each configuration item of the product application using preset values.

8. An intelligent terminal, characterized in that: It includes a processor, a memory, a user interface and a network interface, wherein the processor, the user interface, the network interface and the memory communicate with each other via a communication bus; The memory is used to store computer programs; The processor is used to implement the method according to any one of claims 1 to 4 when executing the program stored in the memory.

9. A computer-readable storage medium, characterized in that: The computer storage medium stores a computer program, wherein the computer program includes program instructions, and when the program instructions are executed by a processor, the processor is enabled to perform the method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Identification information matching-based search method and device

    CN102207943A

  • Embedded software testing auxiliary system

    CN107562635A

  • Webpage front-end data displaying method and device based on table frame

    CN107885497A

  • Project testing method, apparatus and device for software unit and data processing system

    CN109284222A

  • System configuration method and device and storage medium

    CN109614157A