Application program running method and device, electronic equipment and storage medium

By obtaining the historical login information of the application and updating the configuration file, the delay problem of application logic adjustment is solved, timely logical adjustments are achieved without manual intervention, and the application's operation efficiency and user experience are improved.

CN120066602APending Publication Date: 2025-05-30NETEASE (HANGZHOU) NETWORK CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411949940.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-26
Publication Date
2025-05-30

AI Technical Summary

Technical Problem

The restriction or release of some logic in the application depends on manual operations, resulting in high latency and difficulty in limiting or releasing specific program logic in a timely manner, which may cause user churn or experience reduction.

Method used

By obtaining the application's historical login information, we determine whether it meets the preset program logic adjustment conditions, update the configuration file to control the restrictions of the specified program logic or lift the restrictions, and send the configuration file to the terminal to achieve timely adjustment of the logic.

Benefits of technology

The program logic can be adjusted in time without manual intervention and updating the application, which improves the timeliness and efficiency of application operation and avoids user churn and experience decline.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120066602A_ABST
    Figure CN120066602A_ABST
Patent Text Reader

Abstract

The invention provides an application program running method and device, electronic equipment and a storage medium. The method comprises the following steps: in response to an inspection instruction for a target application program of a specified version, obtaining historical login information of the target application program of the specified version; judging whether the historical login information meets a preset program logic adjustment condition or not; if yes, updating a configuration file of the target application program to obtain a target configuration file; wherein the configuration file of the target application program is used for controlling limitation or operation release of specified program logic of the target application program of a specified version; and sending the target configuration file to a terminal in which a target application program of a specified version is installed, so that the terminal runs the target application program according to the target configuration file. According to the invention, the timeliness of specific program logic control in the application program can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technologies, and in particular, to a method, apparatus, electronic device, and storage medium for running an application program. Background Art

[0002] The logic that needs to be executed by an application program at different stages may be different. The limitation or removal of limitations of some logic in the application program depends on manual operations, resulting in high latency and difficulty in timely limiting or removing the limitations of specific program logic in the application program, which may cause problems such as loss of users or decline in the sense of experience. Summary of the Invention

[0003] In view of this, an object of the present disclosure is to provide a method, apparatus, electronic device, and storage medium for running an application program to improve the timeliness of controlling specific program logic in the application program.

[0004] In a first aspect, an embodiment of the present disclosure provides a method for running an application program, the method including: in response to an inspection instruction for a target application program of a specified version, obtaining historical login information of the target application program of the specified version; determining whether the historical login information meets a preset program logic adjustment condition; if it meets, updating a configuration file of the target application program to obtain a target configuration file; wherein, the configuration file of the target application program is used to control the limitation or removal of the operation of specified program logic of the target application program of the specified version; sending the target configuration file to a terminal installed with the target application program of the specified version, so that the terminal runs the target application program according to the target configuration file.

[0005] In a second aspect, an embodiment of the present disclosure provides an apparatus for running an application program, the apparatus including: an obtaining module, configured to obtain historical login information of a target application program of a specified version in response to an inspection instruction for the target application program of the specified version; a determining module, configured to determine whether the historical login information meets a preset program logic adjustment condition; an updating module, configured to, if it meets, update a configuration file of the target application program to obtain a target configuration file; wherein, the configuration file of the target application program is used to control the limitation or removal of the operation of specified program logic of the target application program of the specified version; a sending module, configured to send the target configuration file to a terminal installed with the target application program of the specified version, so that the terminal runs the target application program according to the target configuration file.

[0006] In a third aspect, an embodiment of the present disclosure provides an electronic device, including a processor and a memory, where the memory stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the above method for running an application program.

[0007] In a fourth aspect, embodiments of the present disclosure provide a computer-readable storage medium storing computer-executable instructions, which, when called and executed by a processor, cause the processor to implement the above-mentioned method for running an application program.

[0008] Embodiments of the present disclosure bring the following beneficial effects:

[0009] For the above-mentioned method, device, electronic device, and storage medium for running an application program, when the historical login information of a specified version of the application program meets specific program logic adjustment conditions, by updating the configuration file of the application program, the running mode of the application program on the terminal is changed to achieve control over whether a specific program logic runs or not. Thus, without manual intervention and without updating the application program, it is possible to timely restrict or lift the restriction on the running of a specific program logic in the application program.

[0010] Other features and advantages of the present disclosure will be described in the following specification, and some of them will become obvious from the specification or be understood by implementing the present disclosure. The objectives and other advantages of the present disclosure are achieved and obtained by the structures specifically pointed out in the specification, claims, and drawings.

[0011] To make the above objectives, features, and advantages of the present disclosure more obvious and understandable, the following preferred embodiments are specifically given and described in detail in conjunction with the accompanying drawings as follows. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] To more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the specific embodiments or the prior art. Obviously, the following drawings are some embodiments of the present disclosure, and those skilled in the art can obtain other drawings without creative efforts based on these drawings.

[0013] Figure 1 It is a flowchart of an embodiment of the method for running an application program in an embodiment of the present disclosure;

[0014] Figure 2 It is a schematic diagram of an apparatus for running an application program provided by an embodiment of the present disclosure;

[0015] Figure 3 It is a schematic diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0016] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure clearer, the technical solutions of the present disclosure will be clearly and completely described below with reference to the accompanying drawings. Apparently, the described embodiments are some, but not all, of the embodiments of the present disclosure. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present disclosure without creative efforts shall fall within the scope of protection of the present disclosure.

[0017] The terms "first", "second", "third", "fourth", etc. (if any) in the specification, claims, and above-mentioned drawings of the present disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged under appropriate circumstances so that the embodiments described herein can be implemented in an order different from that shown or described herein. In addition, the term "comprising" or "having" and any variation thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that comprises a series of steps or units does not necessarily limit to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products, or devices.

[0018] For ease of understanding, the specific process of the embodiments of the present disclosure will be described below. Please refer to Figure 1 , an embodiment of the method for running an application program in the embodiments of the present disclosure includes:

[0019] Step S10: In response to a check instruction for a target application program of a specified version, obtain the historical login information of the target application program of the specified version;

[0020] It can be understood that the embodiments of the present disclosure can be used for any application program, and the running mode of the target application program of any version can be controlled to make the running of the application program more flexible. In this embodiment, according to specific requirements, a check instruction for the target application program of the specified version can be triggered. The check instruction can be triggered by a terminal installed with the target application program or by a server, and specific details are not limited here.

[0021] In one embodiment, the check instruction for the target application program of the specified version can be triggered regularly, can be triggered when a preset condition is met, or can be triggered manually. For example, the check instruction can be triggered once every 30 minutes, or can be triggered when the target application program of the specified version meets the preset condition, or can be triggered by the operator of the target application program, etc. through a visualization platform.

[0022] Among them, the preset condition can be a condition for the login information of the target application. For example, when the login information of the target application is newly added or changed, it is determined to meet the preset condition, and specific details are not limited here. It can be understood that the login information of the target application may include some / all information generated when the terminal logs in to the target application. For example, the login account, login time, geographical location of the login terminal, IP (Internet Protocol) address of the login terminal, version of the target application being logged in, and device information of the login terminal, etc., and specific details are not limited here.

[0023] It should be noted that the historical login information of the target application may include the login information of all terminals that logged in to the target application before the current moment or during a preset historical period. It can be understood that the historical login information includes the information recorded when the terminal logs in to the target application of a specified version. The login information recorded when different terminals log in is different, and the historical login information includes the login information of multiple terminals.

[0024] In one implementation, the historical login information can be obtained after the terminal sends some / all of the login information to the server after logging in to the target application of a specified version, or can be obtained by counting the historical login information of the target application from the login information table of the server, and specific details are not limited here.

[0025] Step S20: Determine whether the historical login information meets the preset program logic adjustment condition;

[0026] It can be understood that the login situation of the target application can be learned based on the historical login information, and whether to trigger the program logic adjustment is determined according to the login situation, so that some program logic restrictions of the target application are restricted / removed from running, which can improve the timeliness of the program logic adjustment.

[0027] It should be noted that the program logic adjustment condition is an adjustment condition used to indicate whether the specified program logic already included in the target application runs. Without changing the original program logic of the target application, controlling the restricted operation or removal of the restricted operation of the specified program logic through the configuration file can improve the controllability of the application program running mode.

[0028] In one embodiment, the program logic adjustment condition can be a restricted operating condition that specifies the program logic, or an unrestricted operating condition that specifies the program logic. Specifically, it is not limited here. For example, according to historical login information, the number of accounts logged in historically can be counted. When the number of accounts logged in historically exceeds a certain threshold, the program logic of the relevant welfare package in the target application can be lifted, so that the welfare package can be run on the terminal, and the user can perform relevant operations such as receiving the welfare package through the terminal, thereby improving the timeliness of the opening of the welfare package.

[0029] Step S30: If it meets the conditions, update the configuration file of the target application to obtain a target configuration file; wherein, the configuration file of the target application is used to control the restriction or release of the operation of the specified program logic of the target application of the specified version.

[0030] It should be noted that when adjusting the running mode of the application program in this embodiment of the present disclosure, it is not necessary to update the code file of the target application program, so that the original program logic in the target application program can be restricted or unrestricted, so that it is not necessary to republish and update the application program, and the running mode of the target application program can be adjusted in a timely manner, with high efficiency and easy operation, and problems such as user loss or decline in the sense of experience can be avoided.

[0031] It can be understood that if the historical login information meets the preset program logic adjustment condition, it means that the running adjustment of the specified program logic is required. In this embodiment, by updating the configuration file, the running adjustment of the specified program logic can be realized. The implementation method is simple and takes effect quickly, and the running of the program logic can be adjusted in a timely manner.

[0032] In one embodiment, the configuration file of the target application contains all the configuration information required for the operation of the target application, and is used to indicate the running mode of the target application. As an example but not a limitation, the configuration file of the target application can include connection information of the target application, system configuration, terminal interface configuration, business logic configuration, interface configuration, running switch configuration of the specified program logic, etc. Specifically, it is not limited here. Among them, the running switch configuration of the specified program logic can be used to control the restricted or unrestricted operation of the specified program logic of the target application of the specified version, making the adjustment of the program logic more efficient.

[0033] Step S40: Send the target configuration file to the terminal installed with the target application of the specified version, so that the terminal runs the target application according to the target configuration file.

[0034] In this embodiment, after obtaining the target configuration file, the target configuration file can be pushed to the terminal, so that the terminal installed with the target application of the specified version runs the target application according to the target configuration file, enabling the specified program logic to be restricted or unrestricted, thereby controlling whether the program logic runs in a timely manner without updating the application.

[0035] For the method for running an application provided in the above embodiment, when the historical login information of the application of the specified version meets the specific program logic adjustment condition, by updating the configuration file of the application, the running mode of the application on the terminal is changed to achieve the control of whether the specific program logic runs, so that the specific program logic in the application can be restricted or unrestricted in a timely manner without manual intervention or updating the application.

[0036] Next, the specific running mode of the target application will be described.

[0037] It should be noted that the historical login information of the target application includes the login information of the terminal logged in during the historical period. In one embodiment, in response to the instruction for the terminal to log in to the target application, the first login information of the terminal is obtained; wherein, the first login information includes the first version of the target application logged in by the terminal; if the first version is the specified version, the first login information is recorded. The specified version can be the latest version.

[0038] It can be understood that the versions of the applications installed on different terminals may be different, and the embodiments of the present disclosure can adjust the running mode for the specified version. In this embodiment, when the terminal logs in to the target application, the first login information of the terminal is obtained. The first login information includes the first version of the target application logged in by the terminal. If the first version is the specified version, the first login information is recorded. The first login information within a certain historical duration can be used as the historical login information of the target application.

[0039] It should be noted that by recording the first login information, the login times, or the number of login accounts, etc. of the target application of the specified version within a certain historical duration can be counted, so as to determine whether it meets the program logic adjustment condition, and the specified program logic of the target application can be restricted or unrestricted when the login and user volume of the target application reach different levels.

[0040] In one embodiment, the first login information further includes the login address of the terminal; when recording the first login information if the first version is the specified version, if the login address meets the preset address condition and the first version is the specified version, the first login information is recorded.

[0041] It can be understood that in order to combine the control of the operation or non - operation of the specified program logic with the network area where the login terminal is located, in this embodiment, when the terminal logs in to the target application program, the login address of the terminal is also recorded. Here, the login address can be the IP address of the login terminal or the geographical location, and specific limitations are not made here.

[0042] In this embodiment, when the login address meets the preset address condition and the first version is the specified version, the first login information is recorded as part of the historical login information of the target application program. For example, when the login address is an address outside the specified geographical location, or when the login address is abroad / domestic, it is determined to meet the preset address condition, and specific limitations are not made here.

[0043] It should be noted that through the login address and the first version, the regionality of the application program login can be combined to determine whether to restrict or lift the restriction on running the specified program logic of the target application program. For example, when the number of players of the foreign server of the game application program (the login address is an address outside the specified geographical location) exceeds a certain threshold, it is determined to meet the preset program logic adjustment condition, and the program logic of the welfare package in the application program can be lifted, so that all players can receive the welfare package.

[0044] In one embodiment, in response to the recording of the first login information, a check instruction for the target application program of the specified version is triggered; when obtaining the historical login information of the target application program of the specified version in response to the check instruction for the target application program of the specified version, in response to the check instruction for the target application program of the specified version, the first login information within the preset historical period is obtained to obtain the historical login information of the target application program of the specified version.

[0045] In this embodiment, each time a first login information is recorded, a check instruction is triggered once, and all the recorded first login information is obtained as the historical login information of the target application program, so that the adjustment of the application program operation logic can be triggered when the login information changes, with higher timeliness. Moreover, the recorded first login information can be used for the judgment of the program logic adjustment conditions without further secondary processing (such as screening, cleaning, etc.), further improving the timeliness of the program logic adjustment.

[0046] In one embodiment, the historical login information includes: the number of terminals logging in to the target application program of the specified version; when judging whether the historical login information meets the preset program logic adjustment condition, it is judged whether the number of terminals is greater than or equal to the preset terminal number threshold; if so, it is determined that the historical login information meets the preset program logic adjustment condition.

[0047] In this embodiment, the first login information within a preset historical period can be obtained to acquire the historical login information. Through statistics, the number of terminals logging in to the target application of the specified version can be determined in the historical login information. When the number of terminals is greater than or equal to the preset terminal number threshold, it can be determined that the historical login information meets the preset program logic adjustment condition, and thus by updating the configuration file, the specified program logic of the target application can be restricted from running or the restriction can be lifted.

[0048] Among them, the specified version can be the latest version of the target application. For example, when the number of terminals logging in to the latest version of the game application exceeds a certain number, it indicates that the player base of the game application has reached a certain level, and thus the program logic of some gameplay or welfare packages in the game can be opened, enabling players to experience and receive benefits in a timely manner.

[0049] In one embodiment, the historical login information includes the terminal addresses of the terminals logging in to the target application of the specified version. When determining whether the historical login information meets the preset program logic adjustment condition, it is determined whether the number of terminals with terminal addresses meeting the preset address condition is greater than or equal to the preset terminal number threshold; if so, it is determined that the historical login information meets the preset program logic adjustment condition.

[0050] It can be understood that the historical login information can also be obtained by acquiring the first login information containing the terminal login addresses within a certain historical period, where the login address of the terminal is the terminal address of the terminal logging in to the target application of the specified version. Through statistics, when the number of terminals with terminal addresses meeting the preset address condition in the historical login information is greater than or equal to a certain number, it can be determined that the historical login information meets the preset program logic adjustment condition, and thus by updating the configuration file, the specified program logic of the target application can be restricted from running or the restriction can be lifted.

[0051] It should be noted that the specified version can be the latest version of the target application. For example, when the number of overseas players logging in to the latest version of the game application exceeds a certain number, it is determined that the preset program logic adjustment condition is met, indicating that the game application is no longer in the internal testing stage but in the state of being available for download and installation online, and the number of logged-in players has reached a certain level, and thus the program logic of some gameplay or welfare packages in the game can be opened, enabling players to experience and receive benefits in a timely manner.

[0052] In one embodiment, when updating the configuration file of the target application to obtain the target configuration file, the switch state of the specified program logic in the configuration file of the target application is adjusted to obtain the target configuration file.

[0053] In this embodiment, when updating the configuration file of the target application, a target configuration file is obtained by adjusting the switch configuration of the specified program logic, so that the specified program logic can be restricted from running or unrestricted from running. Specifically, when the switch configuration of the specified program logic is adjusted to on, the specified program logic is unrestricted from running; conversely, when the switch configuration of the specified program logic is adjusted to off, the specified program logic is restricted from running.

[0054] In one embodiment, in response to a program logic adjustment instruction, the configuration file of the target application is updated to obtain a target configuration file. It can be understood that the configuration file of the target application can also be updated by triggering a program logic adjustment instruction, thereby obtaining a target configuration file, which improves the flexibility of program logic adjustment. Among them, the program logic adjustment instruction can be triggered automatically or manually, and specific details are not limited here.

[0055] In one embodiment, after the step of sending the target configuration file to a terminal installed with the target application of the specified version, the first program logic for controlling the adjustment of the specified program logic in the target configuration file is set to the off state to obtain a first configuration file; the first configuration file is sent to a terminal installed with the target application of the specified version to restrict the operation of the first program logic on the terminal.

[0056] It should be noted that the steps S10 - S40 of the embodiments of the present disclosure are also a kind of program logic, which can be called the first program logic. The first program logic is a program logic for controlling the adjustment of the specified program logic, and the switch state of the first program logic can also be configured in the configuration file of the target application. In this embodiment, after the target configuration file is sent to a terminal installed with the target application of the specified version, that is, after the program logic for adjusting the specified program logic takes effect on the terminal, the target configuration file can be updated again to turn off the operation of the steps S10 - S40 of the embodiments of the present disclosure, that is, to restrict the operation of the first program logic on the terminal.

[0057] Specifically, after the target configuration file is sent to a terminal installed with the target application of the specified version, the switch state parameter of the first program logic in the target configuration file is configured to the off state to obtain a first configuration file, and then the first configuration file is sent to a terminal installed with the target application of the specified version, so that the terminal no longer executes the relevant logic for adjusting the specified program logic (that is, the first program logic), and the server also no longer executes the steps S10 - S40 of the embodiments of the present disclosure, reducing the redundant logic of the target application and improving the computing efficiency of the business logic.

[0058] Corresponding to the above method embodiments, see Figure 2Schematic diagram of an operating device for an application program. The device includes: an acquisition module 20, configured to acquire historical login information of the target application program of the specified version in response to a check instruction for the target application program of the specified version; a judgment module 22, configured to judge whether the historical login information meets a preset program logic adjustment condition; an update module 24, configured to update the configuration file of the target application program to obtain a target configuration file if it meets the condition; wherein, the configuration file of the target application program is used to control the restriction or release of the operation of the specified program logic of the target application program of the specified version; a sending module 26, configured to send the target configuration file to a terminal installed with the target application program of the specified version, so that the terminal runs the target application program according to the target configuration file.

[0059] For the above-mentioned operating device of the application program, when the historical login information of the application program of the specified version meets the specific program logic adjustment condition, by updating the configuration file of the application program, the running mode of the application program on the terminal is changed, achieving the control of whether the specific program logic runs or not, so that without manual intervention and without updating the application program, the specific program logic in the application program can be restricted or unrestricted in a timely manner.

[0060] Optionally, the above-mentioned device further includes: a response module, configured to acquire first login information of the terminal in response to an instruction for the terminal to log in to the target application program; wherein, the first login information includes the first version of the target application program logged in by the terminal; a recording module, configured to record the first login information if the first version is the specified version.

[0061] Optionally, the first login information further includes the login address of the terminal; the above-mentioned recording module is configured to: record the first login information if the login address meets the preset address condition and the first version is the specified version.

[0062] Optionally, the above-mentioned device further includes: a triggering module, configured to trigger a check instruction for the target application program of the specified version in response to the recording of the first login information; the above-mentioned acquisition module 20 is specifically configured to: acquire the first login information within a preset historical period in response to a check instruction for the target application program of the specified version, and obtain the historical login information of the target application program of the specified version.

[0063] Optionally, the historical login information includes: the number of terminals logging in to the target application program of the specified version; the above-mentioned judgment module 22 is further configured to: judge whether the number of terminals is greater than or equal to a preset terminal number threshold; if so, determine that the historical login information meets the preset program logic adjustment condition.

[0064] Optionally, the historical login information includes: the terminal address for logging in to the target application of the specified version; the determination module 22 is further configured to: determine whether the number of terminals with the terminal address meeting the preset address condition is greater than or equal to a preset terminal number threshold; if so, determine that the historical login information meets the preset program logic adjustment condition.

[0065] Optionally, the update module 24 includes: an adjustment unit configured to, if it meets the condition, adjust the switch state of the specified program logic in the configuration file of the target application to obtain a target configuration file.

[0066] Optionally, the apparatus further includes: a setting module configured to set the first program logic for controlling the adjustment of the specified program logic in the target configuration file to a closed state to obtain a first configuration file; a push module configured to send the first configuration file to a terminal installed with the target application of the specified version to restrict the operation of the first program logic on the terminal.

[0067] This embodiment further provides an electronic device, including a processor and a memory. The memory stores machine-executable instructions that can be executed by the processor, and the processor executes the machine-executable instructions to implement the running method of the above application program. The electronic device can be a server or a terminal device.

[0068] See Figure 3 As shown, the electronic device includes a processor 100 and a memory 101. The memory 101 stores machine-executable instructions that can be executed by the processor 100, and the processor 100 executes the machine-executable instructions to implement the running method of the above application program.

[0069] Furthermore, Figure 3 the electronic device shown further includes a bus 102 and a communication interface 103. The processor 100, the communication interface 103, and the memory 101 are connected through the bus 102.

[0070] Among them, the memory 101 may include a high-speed random access memory (RAM, Random Access Memory), and may also include a non-volatile memory, such as at least one disk memory. Through at least one communication interface 103 (which can be wired or wireless), a communication connection is established between the system network element and at least one other network element, and the Internet, wide area network, local area network, metropolitan area network, etc. can be used. The bus 102 can be an ISA bus, a PCI bus, an EISA bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of representation, Figure 3 only a bidirectional arrow is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0071] The processor 100 may be an integrated circuit chip with the ability to process signals. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware in the processor 100 or the instructions in the form of software. The above-mentioned processor 100 may be a general-purpose processor, including a central processing unit (CPU for short), a network processor (NP for short), etc.; it may also be a digital signal processor (DSP for short), an application specific integrated circuit (ASIC for short), a field-programmable gate array (FPGA for short), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. It can implement or execute the various methods, steps, and logic block diagrams disclosed in the embodiments of the present disclosure. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in combination with the embodiments of the present disclosure can be directly embodied as being executed and completed by a hardware decoding processor, or executed and completed by a combination of the hardware and software modules in the decoding processor. The software module may be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. This storage medium is located in the memory 101, and the processor 100 reads the information in the memory 101 and combines its hardware to complete the steps of the method in the foregoing embodiments. For example:

[0072] In response to a check instruction for a target application program of a specified version, obtain the historical login information of the target application program of the specified version; determine whether the historical login information meets a preset program logic adjustment condition; if it meets, update the configuration file of the target application program to obtain a target configuration file; wherein, the configuration file of the target application program is used to control the limitation or release of the operation of the specified program logic of the target application program of the specified version; send the target configuration file to a terminal installed with the target application program of the specified version, so that the terminal runs the target application program according to the target configuration file.

[0073] In this way, when the historical login information of the application program of the specified version meets a specific program logic adjustment condition, by updating the configuration file of the application program, the running mode of the application program on the terminal is changed, so as to control whether the specific program logic runs or not, so that the specific program logic in the application program can be restricted or unrestricted in a timely manner without manual intervention and without updating the application program.

[0074] Optionally, the method further includes: in response to an instruction for the terminal to log in to the target application, obtaining first login information of the terminal; wherein the first login information includes a first version of the target application logged in by the terminal; if the first version is a specified version, recording the first login information.

[0075] Optionally, the first login information further includes a login address of the terminal; the step of recording the first login information if the first version is a specified version further includes: if the login address meets a preset address condition and the first version is a specified version, recording the first login information.

[0076] Optionally, the method further includes: triggering an inspection instruction for the target application of the specified version in response to the recording of the first login information; the step of obtaining historical login information of the target application of the specified version in response to the inspection instruction for the target application of the specified version includes: obtaining the first login information within a preset historical period in response to the inspection instruction for the target application of the specified version, to obtain the historical login information of the target application of the specified version.

[0077] Optionally, the historical login information includes: the number of terminals logging in to the target application of the specified version; the step of determining whether the historical login information meets a preset program logic adjustment condition includes: determining whether the number of terminals is greater than or equal to a preset terminal number threshold; if so, determining that the historical login information meets the preset program logic adjustment condition.

[0078] Optionally, the historical login information includes: the terminal addresses of the terminals logging in to the target application of the specified version; the step of determining whether the historical login information meets a preset program logic adjustment condition includes: determining whether the number of terminals with terminal addresses meeting the preset address condition is greater than or equal to a preset terminal number threshold; if so, determining that the historical login information meets the preset program logic adjustment condition.

[0079] Optionally, if it meets the condition, the step of updating a configuration file of the target application to obtain a target configuration file includes: if it meets the condition, adjusting a switch state of a specified program logic in the configuration file of the target application to obtain a target configuration file.

[0080] Optionally, after the step of sending the target configuration file to the terminal installed with the target application of the specified version, the method further includes: setting the first program logic for controlling the adjustment of the specified program logic in the target configuration file to a closed state to obtain a first configuration file; sending the first configuration file to the terminal installed with the target application of the specified version to restrict the operation of the first program logic on the terminal.

[0081] This embodiment further provides a computer-readable storage medium storing computer-executable instructions, which, when called and executed by a processor, cause the processor to implement the above-mentioned method for running an application program, for example:

[0082] In response to a check instruction for a target application of a specified version, obtain historical login information of the target application of the specified version; determine whether the historical login information meets a preset program logic adjustment condition; if it meets, update the configuration file of the target application to obtain a target configuration file; wherein, the configuration file of the target application is used to control the restriction or release of the operation of the specified program logic of the target application of the specified version; send the target configuration file to the terminal installed with the target application of the specified version so that the terminal runs the target application according to the target configuration file.

[0083] In this way, when the historical login information of the application of the specified version meets the specific program logic adjustment condition, by updating the configuration file of the application, the running mode of the application on the terminal is changed to achieve the control of whether the specific program logic runs or not, so that the specific program logic in the application can be restricted or unrestricted in a timely manner without manual intervention or updating the application.

[0084] Optionally, the method further includes: in response to an instruction for the terminal to log in to the target application, obtain first login information of the terminal; wherein, the first login information includes the first version of the target application logged in by the terminal; if the first version is the specified version, record the first login information.

[0085] Optionally, the first login information further includes the login address of the terminal; if the first version is the specified version, the step of recording the first login information further includes: if the login address meets the preset address condition and the first version is the specified version, record the first login information.

[0086] Optionally, the method further includes: triggering an inspection instruction for a target application of a specified version in response to the recording of the first login information; the step of obtaining historical login information of the target application of the specified version in response to the inspection instruction for the target application of the specified version includes: obtaining the first login information within a preset historical period in response to the inspection instruction for the target application of the specified version, so as to obtain the historical login information of the target application of the specified version.

[0087] Optionally, the historical login information includes: the number of terminals logging in to the target application of the specified version; the step of determining whether the historical login information meets a preset program logic adjustment condition includes: determining whether the number of terminals is greater than or equal to a preset terminal number threshold; if so, determining that the historical login information meets the preset program logic adjustment condition.

[0088] Optionally, the historical login information includes: the terminal addresses of the terminals logging in to the target application of the specified version; the step of determining whether the historical login information meets a preset program logic adjustment condition includes: determining whether the number of terminals with the terminal addresses meeting the preset address condition is greater than or equal to a preset terminal number threshold; if so, determining that the historical login information meets the preset program logic adjustment condition.

[0089] Optionally, if it meets the condition, the step of updating the configuration file of the target application to obtain a target configuration file includes: if it meets the condition, adjusting the switch state of the specified program logic in the configuration file of the target application to obtain a target configuration file.

[0090] Optionally, after the step of sending the target configuration file to the terminal installed with the target application of the specified version, the method further includes: setting the first program logic for controlling the adjustment of the specified program logic in the target configuration file to a closed state to obtain a first configuration file; sending the first configuration file to the terminal installed with the target application of the specified version to limit the operation of the first program logic on the terminal.

[0091] The computer program product of the method, device, electronic device, and storage medium for running an application provided by the embodiments of the present disclosure includes a computer-readable storage medium storing program code, and the instructions included in the program code can be used to execute the method described in the foregoing method embodiments. For specific implementation, reference can be made to the method embodiments, which will not be elaborated herein.

[0092] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems and devices described above can refer to the corresponding processes in the foregoing method embodiments, which will not be elaborated herein.

[0093] In addition, in the description of the embodiments of the present disclosure, unless otherwise clearly specified and limited, the terms "install", "connect", and "couple" should be understood in a broad sense. For example, it may be a fixed connection, a detachable connection, or an integral connection; it may be a mechanical connection or an electrical connection; it may be a direct connection or an indirect connection through an intermediate medium, and it may be the communication inside two elements. For those skilled in the art, the specific meanings of the above terms in the present disclosure can be understood according to specific circumstances.

[0094] If the above-mentioned functions are implemented in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present disclosure, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs.

[0095] In the description of the present disclosure, it should be noted that the orientation or positional relationship indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. is based on the orientation or positional relationship shown in the drawings. It is only for the convenience of describing the present disclosure and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and thus should not be construed as a limitation to the present disclosure. In addition, the terms "first", "second", and "third" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.

[0096] Finally, it should be noted that the above embodiments are only specific implementation manners of the present disclosure, used to illustrate the technical solutions of the present disclosure, rather than limiting them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art within the technical scope disclosed by the present disclosure can still modify the technical solutions recorded in the foregoing embodiments, or can easily think of changes, or perform equivalent replacements on some of the technical features; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should all be covered within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.

Claims

1. A method for running an application, characterized in that: The method comprises: In response to a check instruction for a target application of a specified version, acquiring historical login information of the target application of the specified version; Determining whether the historical login information meets the preset program logic adjustment conditions; If it is in compliance, the configuration file of the target application is updated to obtain the target configuration file; wherein the configuration file of the target application is used to control the restriction or release of the operation of the specified program logic of the specified version of the target application; The target configuration file is sent to a terminal having the target application of the specified version installed thereon, so that the terminal runs the target application according to the target configuration file.

2. The method according to claim 1, characterized in that The method further comprises: In response to an instruction for a terminal to log in to a target application, obtaining first login information of the terminal; wherein the first login information includes a first version of the target application logged in by the terminal; If the first version is a specified version, the first login information is recorded.

3. The method according to claim 2, characterized in that The first login information also includes a login address of the terminal; If the first version is a specified version, the step of recording the first login information further includes: If the login address meets the preset address condition and the first version is a specified version, the first login information is recorded.

4. The method according to claim 2, characterized in that: The method further comprises: In response to the recording of the first login information, triggering a check instruction for a target application of a specified version; The step of obtaining the historical login information of the target application of the specified version in response to the inspection instruction for the target application of the specified version includes: In response to a check instruction for a target application of a specified version, first login information within a preset historical period is acquired to obtain historical login information of the target application of the specified version.

5. The method according to claim 1, characterized in that The historical login information includes: the number of terminals that have logged into the target application of the specified version; The step of determining whether the historical login information meets the preset program logic adjustment condition includes: Determining whether the number of terminals is greater than or equal to a preset terminal number threshold; If so, it is determined that the historical login information meets the preset program logic adjustment conditions.

6. The method according to claim 1, characterized in that The historical login information includes: the terminal address for logging into the target application of the specified version; The step of determining whether the historical login information meets the preset program logic adjustment condition includes: Determining whether the number of terminals at the terminal address that meets the preset address condition is greater than or equal to a preset terminal number threshold; If so, it is determined that the historical login information meets the preset program logic adjustment conditions.

7. The method according to claim 1, characterized in that If the target application is in compliance with the requirements, the configuration file of the target application is updated, and the step of obtaining the target configuration file includes: If it is in compliance, the switch state of the specified program logic in the configuration file of the target application is adjusted to obtain the target configuration file.

8. The method according to claim 7, characterized in that After the step of sending the target configuration file to a terminal having the target application of the specified version installed, the method further comprises: Setting the first program logic in the target configuration file that controls the adjustment of the designated program logic to a closed state to obtain a first configuration file; The first configuration file is sent to a terminal having the target application of the specified version installed thereon, so as to limit the running of the first program logic in the terminal.

9. A device for running an application, characterized in that: The device comprises: an acquisition module, configured to acquire historical login information of a target application of a specified version in response to a check instruction for the target application of the specified version; A judgment module, used to judge whether the historical login information meets the preset program logic adjustment conditions; An update module, used for updating the configuration file of the target application program to obtain a target configuration file if the conditions are met; wherein the configuration file of the target application program is used to control the restriction or release of the operation of the specified program logic of the specified version of the target application program; The sending module is used to send the target configuration file to a terminal installed with the target application of the specified version, so that the terminal runs the target application according to the target configuration file.

10. An electronic device, characterized in that: The invention comprises a processor and a memory, wherein the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the method for running the application program according to any one of claims 1 to 8.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions. When the computer-executable instructions are called and executed by a processor, the computer-executable instructions prompt the processor to implement the method for running the application program according to any one of claims 1 to 8.