CN109918122B - White list maintenance method and device and terminal equipment - Google Patents

White list maintenance method and device and terminal equipment Download PDF

Info

Publication number
CN109918122B
CN109918122B CN201910167885.7A CN201910167885A CN109918122B CN 109918122 B CN109918122 B CN 109918122B CN 201910167885 A CN201910167885 A CN 201910167885A CN 109918122 B CN109918122 B CN 109918122B
Authority
CN
China
Prior art keywords
application
white list
terminal
test
latest
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910167885.7A
Other languages
Chinese (zh)
Other versions
CN109918122A (en
Inventor
林进全
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910167885.7A priority Critical patent/CN109918122B/en
Publication of CN109918122A publication Critical patent/CN109918122A/en
Application granted granted Critical
Publication of CN109918122B publication Critical patent/CN109918122B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Stored Programmes (AREA)

Abstract

The application is applicable to the technical field of software, and provides a white list maintenance method, a white list maintenance device and terminal equipment, wherein the white list maintenance method comprises the following steps: receiving a white list maintenance instruction; sending the white list of the first terminal to a second terminal according to the white list maintenance instruction, and deleting the white list of the first terminal; reading an application identifier in a white list of the second terminal; downloading and installing the application corresponding to the application identifier to the first terminal; and testing the application installed on the first terminal, and generating a new white list of the first terminal according to the test result which does not pass the test. By the method, the application identifier without problems can be removed from the original white list of the first terminal, and further, the influence of a special processing mode of the white list on the application corresponding to the application identifier is avoided.

Description

White list maintenance method and device and terminal equipment
Technical Field
The present application belongs to the field of software technologies, and in particular, to a white list maintenance method, an apparatus, a terminal device, and a computer-readable storage medium.
Background
When the problem of some application layer calling the system interface is considered as a general problem, we often perform special treatment on the applications with this type of problem in the system interface to avoid the applications from generating the same type of problem, thereby ensuring that the user uses the applications normally. These special treatments are for example: applications that present this type of problem are white listed.
In fact, some applications have found problems themselves and modified for the problem and solved the problem by hot updating or updating versions, in the part of applications that we add to the white list for special handling. In this case, even if our special treatment is not required, the application will not be problematic.
More seriously, because the adaptation needs to take the universality into consideration in the system interface, a cutting rough adaptation mode is often adopted, so that the adaptation is usually not the optimal solution. And if the modification mode of the application is adopted, the problems can be solved, and some new designs and characteristics of the application can be maintained.
Therefore, it is necessary to provide a new method to solve the above technical problems.
Disclosure of Invention
In view of this, embodiments of the present application provide a white list maintenance method, an apparatus, and a terminal device, so as to solve the problem that it is difficult to find an application that does not have a problem of invoking a system interface in time in the prior art, and thus it is difficult to release the application from the white list in time.
A first aspect of an embodiment of the present application provides a white list maintenance method, including:
receiving a white list maintenance instruction;
sending the white list of the first terminal to a second terminal according to the white list maintenance instruction, and deleting the white list of the first terminal;
reading an application identifier in a white list of the second terminal;
downloading and installing the application corresponding to the application identifier to the first terminal;
and testing the application installed on the first terminal, and generating a new white list of the first terminal according to the test result which does not pass the test.
A second aspect of an embodiment of the present application provides a white list maintenance apparatus, including:
the maintenance instruction receiving unit is used for receiving a white list maintenance instruction;
a white list sending unit, configured to send the white list of the first terminal to the second terminal according to the white list maintenance instruction, and delete the white list of the first terminal;
an application identifier reading unit, configured to read an application identifier in a white list of the second terminal;
the application downloading unit is used for downloading and installing the application corresponding to the application identifier to the first terminal;
and the white list maintenance unit is used for testing the application installed on the first terminal and generating a new white list of the first terminal according to the test result which does not pass the test.
A third aspect of embodiments of the present application provides a terminal device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements the steps of the method according to the first aspect when executing the computer program.
A fourth aspect of embodiments of the present application provides a computer-readable storage medium, in which a computer program is stored, which, when executed by a processor, performs the steps of the method according to the first aspect.
Compared with the prior art, the embodiment of the application has the advantages that:
the white list of the first terminal is deleted during testing, so that the white list of the first terminal cannot perform special processing on the application in the white list of the first terminal, and the new white list of the first terminal is generated according to a test result which does not pass the testing, so that the new white list of the first terminal is ensured not to include the application identifier of the application which passes the testing, the application identifier which does not have problems can be removed from the original white list of the first terminal, and the influence of a special processing mode of the white list on the application corresponding to the application identifier is avoided.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a flowchart of a white list maintenance method according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of a white list maintenance apparatus according to an embodiment of the present application;
fig. 3 is a schematic diagram of a terminal device provided in an embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
In order to explain the technical solution described in the present application, the following description will be given by way of specific examples.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the present application herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in the specification of the present application and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to a determination" or "in response to a detection". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
In particular implementations, the terminal devices described in embodiments of the present application include, but are not limited to, other portable devices such as mobile phones, laptop computers, or tablet computers having touch sensitive surfaces (e.g., touch screen displays and/or touch pads). It should also be understood that in some embodiments, the devices described above are not portable communication devices, but rather are desktop computers having touch-sensitive surfaces (e.g., touch screen displays and/or touch pads).
In the discussion that follows, a terminal device that includes a display and a touch-sensitive surface is described. However, it should be understood that the terminal device may include one or more other physical user interface devices such as a physical keyboard, mouse, and/or joystick.
The terminal device supports various applications, such as one or more of the following: a drawing application, a presentation application, a word processing application, a website creation application, a disc burning application, a spreadsheet application, a gaming application, a telephone application, a video conferencing application, an email application, an instant messaging application, an exercise support application, a photo management application, a digital camera application, a web browsing application, a digital music player application, and/or a digital video player application.
Various applications that may be executed on the terminal device may use at least one common physical user interface device, such as a touch-sensitive surface. One or more functions of the touch-sensitive surface and corresponding information displayed on the terminal can be adjusted and/or changed between applications and/or within respective applications. In this way, a common physical architecture (e.g., touch-sensitive surface) of the terminal can support various applications with user interfaces that are intuitive and transparent to the user.
In addition, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not intended to indicate or imply relative importance.
Fig. 1 shows a flowchart of a white list maintenance method provided in an embodiment of the present application, which is detailed as follows:
step S11, receiving a white list maintenance instruction;
in this step, the white list maintenance instruction may be issued by triggering a script at regular time or in real time.
Step S12, according to the white list maintenance instruction, sending the white list of the first terminal to the second terminal, and deleting the white list of the first terminal;
the white list stores application identifiers of the applications, and the application identifiers may be application package names. Of course, the application identification may also include application version information. The white list in the embodiment of the present application refers to an application identifier storing the following application types: the problem that the application layer calls the system interface belongs to the application of the same general problem.
In this step, if the preset function of a script is to send the white list of the first terminal to the second terminal and delete the white list of the first terminal, the script is started to implement its function after the script is triggered to send out a white list maintenance instruction.
In this step, after the white list of the first terminal is deleted, the application corresponding to the application identifier included in the white list cannot be specially processed in the white list.
Here, the first terminal and the second terminal may be the same type of terminal, such as both mobile phones, or different types of terminals, such as the first terminal being a mobile phone and the second terminal being a Personal Computer (PC).
Step S13, reading the application identification in the white list of the second terminal;
in this step, the first terminal may read the application identifier stored in the white list of the second terminal in a wireless communication manner or a wired communication manner.
Step S14, downloading and installing the application corresponding to the application identifier to the first terminal;
in an embodiment, in order to avoid downloading and installing the identical application at the first terminal, before step S14, the method includes: and identifying whether the first terminal has installed the application corresponding to the application identifier.
Correspondingly, the step S14 specifically includes:
and if the application corresponding to the application identifier is not installed, downloading and installing the application corresponding to the application identifier to the first terminal. For example, downloading an application from an application store identifies the corresponding application.
In some embodiments, the applications that are identical refer to applications whose information, such as application names and application version numbers, are all identical, and if the application names are identical but the application version numbers are different, the applications are determined to be different applications.
And step S15, testing the application installed on the first terminal, and generating a new white list of the first terminal according to the test result which does not pass the test.
The test result includes the application identifier and corresponding information that passes or fails, for example, the test result that fails the test includes the application identifier and information related to failing the test.
Specifically, if the application passes the test, it indicates that the application can normally operate without adding a white list to perform special processing, and at this time, the white list of the new first terminal does not include the application identifier of the application. Conversely, if the application fails the test, the white list of the new first terminal includes the application identification of the application.
In the embodiment of the application, according to a received white list maintenance instruction, a white list of a first terminal is sent to a second terminal, the white list of the first terminal is deleted, an application identifier in the white list of the second terminal is read, an application corresponding to the application identifier is downloaded and installed to the first terminal, the application installed at the first terminal is tested, and a new white list of the first terminal is generated according to a test result which does not pass the test. The white list of the first terminal is deleted during testing, so that the white list of the first terminal cannot perform special processing on the application in the white list of the first terminal, and the new white list of the first terminal is generated according to a test result which does not pass the testing, so that the new white list of the first terminal is ensured not to include the application identifier of the application which passes the testing, the application identifier which does not have problems can be removed from the original white list of the first terminal, and the influence of a special processing mode of the white list on the application corresponding to the application identifier is avoided.
In some embodiments, since in an actual situation, the released latest application version is a solution to the existing problem of the old application version, in order to test whether an application has solved the existing problem, the step S14 specifically includes:
when the first terminal does not install the latest application version corresponding to the application identifier, downloading and installing the latest application version corresponding to the application identifier to the first terminal;
correspondingly, the step S15 specifically includes:
and testing the latest application version installed on the first terminal, and generating a new white list of the first terminal according to the test result which does not pass the test.
In this embodiment, if a certain application installed by the first terminal is not the latest application version, the latest application version of the certain application is downloaded and installed, and then the installed latest application version is tested.
In some embodiments, the testing the latest application version installed on the first terminal, and generating a new white list of the first terminal according to a test result that fails to pass the test specifically includes:
and testing the latest application version which is installed by the first terminal and corresponds to the application identifier in the white list of the second terminal, and generating a new white list of the first terminal according to the test result which does not pass the test.
In this embodiment, a function of testing the latest application version installed by the first terminal and corresponding to the application identifier in the white list of the second terminal may be implemented by generating a script for testing a specified application (an application corresponding to the application identifier in the white list of the second terminal). Because a certain time is needed in the testing process, and the number of the applications installed on the first terminal is greater than or equal to the number of the applications corresponding to the application identifiers in the white list of the second terminal, only the latest application version corresponding to the application identifiers stored in the white list of the second terminal is tested, and the testing time can be effectively saved.
In some embodiments, the testing the latest application version installed in the first terminal, and generating a new white list of the first terminal according to a test result that fails to pass the test specifically includes:
and testing all application versions installed on the first terminal, and generating a new white list of the first terminal according to the test result which does not pass the test and the white list of the second terminal.
In this embodiment, since scripts (for example, scripts named monkey) for testing all application versions installed in the first terminal are generated, in order to save time for generating a script for testing a specific application, all applications installed in the first terminal are tested by using the generated scripts, and finally, a new white list of the first terminal is generated by combining a white list of the second terminal. Specifically, if the test result indicates that the tested application version does not pass the test, it is determined whether the application identifier corresponding to the tested application version is in the white list of the second terminal, if so, the application identifier corresponding to the tested application version is added to the white list of the new first terminal, and if so, the application identifier corresponding to the tested application version is not added to the white list of the new first terminal.
Further, if the test result includes: if the latest application version of the application fails the test and the non-latest application version of the application passes the test, after generating a new white list of the first terminal according to the test result of the failure of the test and the white list of the second terminal, the method includes:
issuing a first prompt instructing a user to install a non-latest application version of the application passing the test.
In this embodiment, since the latest application version does not pass the test, in order to avoid the influence on the application due to the special processing manner of the white list, the user is prompted to install the non-latest application version of the application.
In some embodiments, if the test results include: if the latest application version of the application fails the test and the non-latest application version of the application passes the test, after generating a new white list of the first terminal according to the test result of the failure of the test and the white list of the second terminal, the method includes:
issuing a second prompt instructing a user to select to retain one of a non-latest application version of an application that passed the test and a latest application version of an application that failed the test;
if the user selects to keep the non-latest application version of the application passing the test, deleting the latest application version of the installed application and the application identifier corresponding to the latest application version in a white list of the new first terminal;
if the user chooses to keep the latest application version of the application that fails the test, the non-latest application version of the installed application is deleted.
In this embodiment, after deleting the latest application version of the installed application, since the white list of the new first terminal is generated according to the test result that the test is not passed, and when the latest application version does not pass the test, the application identifier corresponding to the latest application version is added to the white list of the new first terminal, if the user keeps installing the non-latest application version of the application according to the second prompt, the application identifier corresponding to the latest application version is deleted from the white list of the new first terminal.
Fig. 2 shows a schematic structural diagram of a white list maintenance apparatus provided in an embodiment of the present application, and for convenience of description, only a part related to the embodiment of the present application is shown.
The white list maintenance apparatus 2 includes: a maintenance instruction receiving unit 21, a white list sending unit 22, an application identifier reading unit 23, an application downloading unit 24, and a white list maintenance unit 25. Wherein:
a maintenance instruction receiving unit 21, configured to receive a white list maintenance instruction;
the white list maintenance instruction can be sent out by triggering a script in a timed or real-time mode.
A white list sending unit 22, configured to send the white list of the first terminal to the second terminal according to the white list maintenance instruction, and delete the white list of the first terminal;
the white list stores application identifiers of the applications, and the application identifiers may be application package names. Of course, the application identification may also include application version information. The white list in the embodiment of the present application refers to an application identifier storing the following application types: the problem that the application layer calls the system interface belongs to the application of the same general problem.
The first terminal and the second terminal may be the same type of terminal, such as both mobile phones, or different types of terminals, such as the first terminal being a mobile phone and the second terminal being a PC.
An application identifier reading unit 23, configured to read an application identifier in a white list of the second terminal;
the first terminal can read the application identifier stored in the white list of the second terminal in a wireless communication mode or a wired communication mode.
An application downloading unit 24, configured to download and install the application corresponding to the application identifier to the first terminal;
in order to avoid downloading and installing the same application in the first terminal, the white list maintaining apparatus further includes: and the application identification unit is used for identifying whether the first terminal has installed the application corresponding to the application identifier.
Correspondingly, the application downloading unit 24 is specifically configured to: and if the application corresponding to the application identifier is not installed, downloading and installing the application corresponding to the application identifier to the first terminal.
In some embodiments, the applications that are identical refer to applications whose information, such as application names and application version numbers, are all identical, and if the application names are identical but the application version numbers are different, the applications are determined to be different applications.
And a white list maintenance unit 25, configured to test the application installed in the first terminal, and generate a new white list of the first terminal according to a test result that does not pass the test.
The test result includes the application identifier and corresponding information that passes or fails, for example, the test result that fails the test includes the application identifier and information related to failing the test.
In the embodiment of the application, because the white list of the first terminal is deleted during the test, the white list of the first terminal cannot perform special processing on the application in the white list of the first terminal, and the new white list of the first terminal is generated according to the test result which does not pass the test, so that the new white list of the first terminal is ensured not to include the application identifier of the application which passes the test, the application identifier which does not have a problem can be removed from the original white list of the first terminal, and the influence of the special processing mode of the white list on the application corresponding to the application identifier is avoided.
In some embodiments, the application downloading unit 24 is specifically configured to:
when the first terminal does not install the latest application version corresponding to the application identifier, downloading and installing the latest application version corresponding to the application identifier to the first terminal;
correspondingly, the white list maintenance unit 25 is specifically configured to:
and testing the latest application version installed on the first terminal, and generating a new white list of the first terminal according to the test result which does not pass the test.
In some embodiments, the white list maintaining unit 25 is specifically configured to:
and testing the latest application version which is installed by the first terminal and corresponds to the application identifier in the white list of the second terminal, and generating a new white list of the first terminal according to the test result which does not pass the test.
In some embodiments, the white list maintaining unit 25 is specifically configured to:
and testing all application versions installed on the first terminal, and generating a new white list of the first terminal according to the test result which does not pass the test and the white list of the second terminal.
In some embodiments, if the test result includes: if the latest application version of the application fails the test but the non-latest application version of the application passes the test, the white list maintaining apparatus further includes:
a first prompt issuing unit configured to issue a first prompt, where the first prompt is used to instruct a user to install a non-latest application version of an application that passes the test.
In some embodiments, if the test results include: if the latest application version of the application fails the test but the non-latest application version of the application passes the test, the white list maintaining apparatus further includes:
a second prompt issuing unit configured to issue a second prompt instructing a user to select one of retention of a non-latest application version of an application that passes the test and retention of a latest application version of an application that does not pass the test;
a non-latest application version retaining unit, configured to delete the latest application version of the installed application and the application identifier corresponding to the latest application version in the white list of the new first terminal if the user selects to retain the non-latest application version of the application that passes the test;
and the latest application version retaining unit is used for deleting the non-latest application version of the installed application if the user selects to retain the latest application version of the application which fails to pass the test.
In some embodiments, when the white list maintaining unit 25 generates a new white list of the first terminal according to the test result failing the test and the white list of the second terminal, the method specifically includes:
if the test result indicates that the tested application version does not pass the test, judging whether the application identifier corresponding to the tested application version is in the white list of the second terminal, if so, adding the application identifier corresponding to the tested application version to the white list of the new first terminal, and if so, not adding the application identifier corresponding to the tested application to the white list of the new first terminal.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Fig. 3 is a schematic diagram of a terminal device according to an embodiment of the present application. As shown in fig. 3, the terminal device 3 of this embodiment includes: a processor 30, a memory 31 and a computer program 32 stored in said memory 31 and executable on said processor 30. The processor 30, when executing the computer program 32, implements the steps in the various method embodiments described above, such as the steps S11-S15 shown in fig. 1. Alternatively, the processor 30, when executing the computer program 32, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the modules 21 to 25 shown in fig. 2.
Illustratively, the computer program 32 may be partitioned into one or more modules/units that are stored in the memory 31 and executed by the processor 30 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 32 in the terminal device 3. For example, the computer program 32 may be divided into a maintenance instruction receiving unit, a white list sending unit, an application identifier reading unit, an application downloading unit, and a white list maintenance unit, and the specific functions of each unit are as follows:
the maintenance instruction receiving unit is used for receiving a white list maintenance instruction;
a white list sending unit, configured to send the white list of the first terminal to the second terminal according to the white list maintenance instruction, and delete the white list of the first terminal;
an application identifier reading unit, configured to read an application identifier in a white list of the second terminal;
the application downloading unit is used for downloading and installing the application corresponding to the application identifier to the first terminal;
and the white list maintenance unit is used for testing the application installed on the first terminal and generating a new white list of the first terminal according to the test result which does not pass the test.
The terminal device 3 may be a desktop computer, a notebook, a palm computer, a cloud server, or other computing devices. The terminal device may include, but is not limited to, a processor 30, a memory 31. It will be understood by those skilled in the art that fig. 3 is only an example of the terminal device 3, and does not constitute a limitation to the terminal device 3, and may include more or less components than those shown, or combine some components, or different components, for example, the terminal device may also include an input-output device, a network access device, a bus, etc.
The Processor 30 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 31 may be an internal storage unit of the terminal device 3, such as a hard disk or a memory of the terminal device 3. The memory 31 may also be an external storage device of the terminal device 3, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 3. Further, the memory 31 may also include both an internal storage unit and an external storage device of the terminal device 3. The memory 31 is used for storing the computer program and other programs and data required by the terminal device. The memory 31 may also be used to temporarily store data that has been output or is to be output.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/terminal device and method may be implemented in other ways. For example, the above-described embodiments of the apparatus/terminal device are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A white list maintenance method, comprising:
receiving a white list maintenance instruction;
according to the white list maintenance instruction, sending the white list of the first terminal to a second terminal, deleting the white list of the first terminal, and after the white list of the first terminal is deleted, performing special processing on the application corresponding to the application identifier included in the white list in a white list mode;
reading an application identifier in a white list of the second terminal;
downloading and installing the application corresponding to the application identifier to the first terminal;
and testing the application installed on the first terminal, and generating a new white list of the first terminal according to the test result which does not pass the test.
2. The white list maintenance method of claim 1, wherein the downloading and installing the application corresponding to the application identifier to the first terminal comprises:
when the first terminal does not install the latest application version corresponding to the application identifier, downloading and installing the latest application version corresponding to the application identifier to the first terminal;
correspondingly, the step of testing the application installed on the first terminal and generating a new white list of the first terminal according to the test result that does not pass the test specifically includes:
and testing the latest application version installed on the first terminal, and generating a new white list of the first terminal according to the test result which does not pass the test.
3. The white list maintenance method according to claim 2, wherein the testing the latest application version installed in the first terminal and generating a new white list of the first terminal according to the test result failing to pass the test specifically includes:
and testing the latest application version which is installed by the first terminal and corresponds to the application identifier in the white list of the second terminal, and generating a new white list of the first terminal according to the test result which does not pass the test.
4. The white list maintenance method according to claim 2, wherein the testing the latest application version installed in the first terminal and generating a new white list of the first terminal according to the test result failing to pass the test specifically includes:
and testing all application versions installed on the first terminal, and generating a new white list of the first terminal according to the test result which does not pass the test and the white list of the second terminal.
5. The white list maintenance method of claim 4, wherein if the test result comprises: if the latest application version of the application fails the test and the non-latest application version of the application passes the test, after generating a new white list of the first terminal according to the test result of the failure of the test and the white list of the second terminal, the method includes:
issuing a first prompt instructing a user to install a non-latest application version of the application passing the test.
6. The white list maintenance method of claim 4, wherein if the test result includes: if the latest application version of the application fails the test and the non-latest application version of the application passes the test, after generating a new white list of the first terminal according to the test result of the failure of the test and the white list of the second terminal, the method includes:
issuing a second prompt instructing a user to select to retain one of a non-latest application version of an application that passed the test and a latest application version of an application that failed the test;
if the user selects to keep the non-latest application version of the application passing the test, deleting the latest application version of the installed application and the application identifier corresponding to the latest application version in a white list of the new first terminal;
if the user chooses to keep the latest application version of the application that fails the test, the non-latest application version of the installed application is deleted.
7. The white list maintenance method according to claim 4, wherein the generating a new white list of the first terminal according to the test result of the failed test and the white list of the second terminal specifically includes:
if the test result indicates that the tested application version does not pass the test, judging whether the application identifier corresponding to the tested application version is in the white list of the second terminal, if so, adding the application identifier corresponding to the tested application version to the white list of the new first terminal, and if so, not adding the application identifier corresponding to the tested application to the white list of the new first terminal.
8. A white list maintenance apparatus, comprising:
the maintenance instruction receiving unit is used for receiving a white list maintenance instruction;
a white list sending unit, configured to send the white list of the first terminal to the second terminal according to the white list maintenance instruction, delete the white list of the first terminal, and after the white list of the first terminal is deleted, perform special processing on an application corresponding to an application identifier included in the white list in a white list manner;
an application identifier reading unit, configured to read an application identifier in a white list of the second terminal;
the application downloading unit is used for downloading and installing the application corresponding to the application identifier to the first terminal;
and the white list maintenance unit is used for testing the application installed on the first terminal and generating a new white list of the first terminal according to the test result which does not pass the test.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the steps of the method according to any of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 7.
CN201910167885.7A 2019-03-06 2019-03-06 White list maintenance method and device and terminal equipment Active CN109918122B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910167885.7A CN109918122B (en) 2019-03-06 2019-03-06 White list maintenance method and device and terminal equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910167885.7A CN109918122B (en) 2019-03-06 2019-03-06 White list maintenance method and device and terminal equipment

Publications (2)

Publication Number Publication Date
CN109918122A CN109918122A (en) 2019-06-21
CN109918122B true CN109918122B (en) 2022-04-22

Family

ID=66963597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910167885.7A Active CN109918122B (en) 2019-03-06 2019-03-06 White list maintenance method and device and terminal equipment

Country Status (1)

Country Link
CN (1) CN109918122B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10356579B2 (en) * 2013-03-15 2019-07-16 The Nielsen Company (Us), Llc Methods and apparatus to credit usage of mobile devices
CN104021342A (en) * 2014-05-06 2014-09-03 可牛网络技术(北京)有限公司 Method and device for processing application program
US10104107B2 (en) * 2015-05-11 2018-10-16 Qualcomm Incorporated Methods and systems for behavior-specific actuation for real-time whitelisting
CN105978934B (en) * 2016-04-25 2019-07-23 中国联合网络通信集团有限公司 List sharing method and server
CN106357670A (en) * 2016-10-17 2017-01-25 成都知道创宇信息技术有限公司 Simulator-based android application server side Web vulnerability detection method
CN107301346A (en) * 2017-05-23 2017-10-27 成都联宇云安科技有限公司 One kind realizes Android device APP fast and safely detection methods using white list mechanism

Also Published As

Publication number Publication date
CN109918122A (en) 2019-06-21

Similar Documents

Publication Publication Date Title
CN110225104B (en) Data acquisition method and device and terminal equipment
CN110244963B (en) Data updating method and device and terminal equipment
CN109726067B (en) Process monitoring method and client device
US10216510B2 (en) Silent upgrade of software with dependencies
CN108038112B (en) File processing method, mobile terminal and computer readable storage medium
CN107368735B (en) Application installation method, mobile terminal and computer readable storage medium
CN111079125A (en) Method and device for calling third-party library dynamic lifting authority by application program
US20140298462A1 (en) Restricted Software Automated Compliance
CN106484779B (en) File operation method and device
CN110737558A (en) Method and device for automatically deploying efi shell system to execute test, computer equipment and storage medium
CN111400091B (en) Factory setting restoration method, factory setting restoration device and mobile terminal
CN106775835B (en) Method, server and terminal for acquiring upgrade file
CN109271266B (en) File transmission method and device and terminal equipment
CN109104481B (en) File integrity detection method, file integrity detection device and terminal equipment
CN112596817A (en) Application program starting method, device, equipment and storage medium
CN109298956B (en) File transmission method and device and terminal equipment
CN109918122B (en) White list maintenance method and device and terminal equipment
CN110874729B (en) Switching method and switching device for electronic red packet identification strategy and mobile terminal
CN107316197B (en) Payment protection method, mobile terminal and computer readable storage medium
CN108536512B (en) Interface switching method and device and terminal equipment
CN107609119B (en) File processing method, mobile terminal and computer readable storage medium
US9003364B2 (en) Overriding system attributes and function returns in a software subsystem
CN112912855A (en) Starting-up detection method, starting-up detection device and mobile terminal
CN108509111B (en) Application notification method and device and terminal equipment
CN111352357B (en) Robot control method and device and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant