Mobile terminal security aspect management and control method and device, storage medium and electronic equipment

By building web services within mobile apps to provide interactive pages and chart displays, the high cost and complex management of interaction between mobile security aspect SDKs and the cloud are solved, enabling control demonstration and data visualization of security aspects.

CN116302157BActive Publication Date: 2026-11-27ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202211610852.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-14
Publication Date
2026-11-27
Estimated Expiration
2042-12-14

AI Technical Summary

Technical Problem

In existing technologies, mobile security aspect SDKs need to interact with cloud-based management platforms, which requires customers to build their own aspect servers to achieve secure aspect access and display. This is costly, difficult to obtain management permissions, and the log information is not intuitive, and the configuration files are difficult to understand.

Method used

A web service is built in the mobile app, and an interactive page is provided through the SDK. Customers can input configuration information and generate aspect configurations. The SDK injects aspect programs, processes log information and displays it in the form of charts, realizing the management demonstration and data visualization of security aspect business.

Benefits of technology

Mobile security aspect management can be demonstrated and visualized without setting up an aspect server, reducing costs and improving the intuitiveness and ease of use of management.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116302157B_ABST
    Figure CN116302157B_ABST
Patent Text Reader

Abstract

The application relates to a mobile terminal security aspect management and control method and device, a storage medium and electronic equipment. The method is applied to a mobile terminal running an SDK, and comprises the following steps: after an APP is started, the SDK constructs a Web service in the APP to provide an interactive page; the SDK obtains configuration information input on the interactive page as aspect configuration through the Web service, and injects an aspect program into a point of the APP through an aspect base to execute security aspect business; the SDK obtains log information when the aspect program executes the security aspect business, and processes the log information, taking the processed data as to-be-displayed data; and the SDK displays the to-be-displayed data in the form of a chart on the interactive page. The mobile terminal security aspect management and control method and device construct a Web service in an APP through an SDK to provide an interactive page for interaction with a customer, so that the management and control demonstration of the security aspect and the visualization of data can be realized without building an aspect server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of security aspect control, and more specifically to a method, apparatus, storage medium, and electronic device for controlling security aspects of mobile devices. Background Technology

[0002] Security parallel aspects extend the concept of Aspect-Oriented Programming (AOP) to security architecture construction, building a security parallel space (parallel cabin) orthogonally integrated with business logic. This allows for the enhancement of original logic without modifying normal business logic, achieving a higher level of security protection. It can also be simply referred to as security aspects or aspects.

[0003] Mobile security aspects run on mobile devices, embedding augmented logic (parallel cabins) into the network, privacy, and business API calls of the mobile operating system. This enables the app to perform privacy compliance checks, risk awareness, and vulnerability protection. In existing technologies, mobile security aspect SDKs (Software Development Kits) need to interact with a cloud-based management platform (i.e., aspect server) to report and display aspect data on the device and obtain management configurations.

[0004] However, when promoting secure aspect products to customers, customers usually want to integrate and display secure aspect on their own company's app. This requires setting up an aspect server at the customer's company, which greatly increases costs. Summary of the Invention

[0005] One of the objectives of this invention is to provide a method for managing and controlling mobile security aspects. By building a web service in an app using an SDK, interactive pages can be provided for customer interaction, thereby enabling the management, demonstration, and visualization of mobile security aspects without the need to build a separate aspect server.

[0006] To achieve the above objectives, the present invention provides a method for managing security aspects on mobile devices. This method is applied to a mobile device running an SDK, and the method includes the following steps:

[0007] After the APP installed on the mobile device is launched, the SDK builds a Web service in the APP, and the Web service is used to provide interactive pages;

[0008] The SDK obtains the configuration information input on the interactive page through the Web service as the aspect configuration, and injects the aspect program at the point of the APP according to the aspect configuration through the pre-deployed aspect base, so as to execute the secure aspect business through the aspect program;

[0009] The SDK obtains log information when the aspect program executes the security aspect business, processes the data in the log information, and uses the processed data as the data to be displayed.

[0010] The SDK displays the data to be shown in the form of charts on the interactive page via the Web service.

[0011] Furthermore, in some implementations, the SDK obtains the aspect configuration input on the interactive page through the Web service, specifically including:

[0012] The SDK displays the required configuration information on the interactive page via the web service;

[0013] The SDK obtains the configuration information input on the interactive page through the Web service and converts it into a JSON string as aspect configuration.

[0014] Furthermore, in some embodiments, the data in the log information is processed, specifically including:

[0015] The various cut-off points of the APP are categorized and / or the number of times each cut-off point of the APP is called within a preset time period is statistically analyzed and / or the number of times each functional module of the APP calls each cut-off point within a preset time period is statistically analyzed.

[0016] Furthermore, in some implementations, the data to be displayed is presented in the form of charts on the interactive page, specifically including:

[0017] The data to be displayed is generated into a web chart using a JavaScript charting framework;

[0018] The web chart is displayed on the interactive page via the web service.

[0019] Another objective of this invention is to provide a mobile security aspect control device that, by building a web service in an app to provide interactive pages for customer interaction, enables the control demonstration and data visualization of mobile security aspects without the need to build an aspect server.

[0020] To achieve the above objectives, another aspect of the present invention provides a mobile terminal security aspect control device, applied to a mobile terminal, the device comprising:

[0021] The Web service module is configured to build a Web service in the APP after the APP installed on the mobile terminal is launched, and the Web service is used to provide an interactive page;

[0022] The configuration acquisition module is configured to acquire configuration information input on the interactive page through the Web service as aspect configuration, and inject aspect programs at the point of the APP according to the aspect configuration through the pre-deployed aspect base, so as to execute secure aspect business through the aspect program;

[0023] The data processing module is configured to acquire log information when the aspect program executes the security aspect business, process the data in the log information, and use the processed data as the data to be displayed.

[0024] The data display module is configured to display the data to be displayed in the form of charts on the interactive page via the web service.

[0025] Furthermore, in some implementations, obtaining the aspect configuration input on the interactive page through the Web service specifically includes:

[0026] The web service displays the configuration information that needs to be entered on the interactive page;

[0027] The configuration information input on the interactive page is obtained through the web service and converted into a JSON string as aspect configuration.

[0028] Furthermore, in some embodiments, the data in the log information is processed, specifically including:

[0029] The various cut-off points of the APP are categorized and / or the number of times each cut-off point of the APP is called within a preset time period is statistically analyzed and / or the number of times each functional module of the APP calls each cut-off point within a preset time period is statistically analyzed.

[0030] Furthermore, in some implementations, the data to be displayed is presented in the form of charts on the interactive page, specifically including:

[0031] The data to be displayed is generated into a web chart using a JavaScript charting framework;

[0032] The web chart is displayed on the interactive page via the web service.

[0033] Another objective of this invention is to provide a storage medium storing a computer program that, when executed in a computer, causes the computer to perform the steps of the mobile terminal security aspect control method as described above.

[0034] Another object of the present invention is to provide an electronic device, which includes a memory and a processor, wherein the memory stores executable code, and when the processor executes the executable code, it performs the steps of the mobile terminal security aspect control method as described above. Attached Figure Description

[0035] Figure 1 This is a flowchart of a mobile terminal security aspect control method according to an embodiment of the present invention;

[0036] Figure 2 This is a structural block diagram of a mobile terminal security aspect control device according to another embodiment of the present invention. Detailed Implementation

[0037] The preferred embodiments of the present invention are given below with reference to the accompanying drawings and described in detail.

[0038] Security aspects refer to the method of dynamically adding or modifying aspect programs to implement security-oriented business logic within the runtime logic of a business application without modifying the application itself. This decouples the program implementing the security aspect from the business application, thus avoiding development iteration problems caused by high coupling.

[0039] The aspect program mentioned here refers to an enhancement program that implements security aspect functionality based on business logic. By using aspect-oriented programming, aspect programs can be injected into corresponding pointcuts in the business application. These aspect programs are triggered and executed during the execution of the business application to achieve the required security aspect functionality.

[0040] When a business application executes its business logic, it typically does so through method calls. Therefore, any method within the business application can be used as a pointcut for an aspect, as mentioned above, and the aspect can be injected into the corresponding pointcut. This ensures that when the business application reaches a pointcut—that is, when it calls a method of the business application corresponding to that pointcut—the injected aspect is executed.

[0041] Typically, the code responsible for injecting aspects into pointcuts is highly reusable. Therefore, the program implementing this process is usually abstracted into a service module, namely the aspect base. The aspect base can obtain the aspects to be deployed and the pointcuts injected into the business application from the server providing secure aspect services. It is then awakened after the application container starts and injects the corresponding aspects at the pointcuts in the business application.

[0042] A business application can be a business application that provides business services on the servers of a business platform. These business services can be services provided by the business platform's servers to users, such as query services and payment services. Business services can also be services provided by one server of the business platform to other servers, such as settlement services.

[0043] Of course, as described above, to decouple the security aspect service program from the business application, this specification employs aspect-oriented programming (AOP) to allow the security aspect service program and the business application to intertwine during business execution, while remaining parallel and independently maintainable. Therefore, unlike the business application provider, the third party providing the security aspect service can manage the content related to the security aspect service through a server, such as configuring security aspect service control policies, iterating aspect program versions, configuring aspect program deployment rules, etc. Of course, the provider of the security aspect service can be either a third party or a business application provider.

[0044] When managing the content related to security aspect services, the server can record various configuration information through configuration files, such as the configuration of various policies and the deployment rules for aspect programs. This allows the aspect platform to deploy aspect programs according to the configuration files, or the server to implement security aspect services according to the configuration files.

[0045] In practical applications, service providers typically set up data centers containing several physical machines or servers, providing the physical resources required by business applications. Of course, a business application may not require all the physical resources of a single physical machine; therefore, virtualization technology is often used to run multiple virtual hosts on a single physical machine. Each virtual host is independent, sharing a portion of the physical resources of the physical machine. Application containers can then be deployed within these virtual hosts, and business applications can run through these containers. Application containers typically contain the physical resources allocated to them, such as CPU and memory, as well as the runtime environment provided to them, such as the operating system (OS) or other runtime environment data (e.g., container serial number, assigned IP address, application name, tenant, environment variables, etc.). Business applications can be deployed within these application containers to execute business logic.

[0046] In scenarios where secure aspect-based business execution is used, the business provider or a third party providing secure aspect services can provide a server to manage the content involved in the secure aspect services and deploy the aspect base in the application container. The aspect program is then injected into the business application in the business application container through the aspect base, thereby providing secure aspect service support for the business provider's application container.

[0047] Therefore, an aspect-based framework can be pre-deployed within the application container of the service provider. Typically, when the application container starts, the operating system provided to the container is invoked, and the pre-deployed aspect-based framework runs. It then obtains aspects and pointcuts for the business application from the server and injects the aspects into the pointcuts of the business application within the application container. Furthermore, the aspect-based framework can also obtain aspects and pointcuts for the business application from the server during the execution of the business application and inject the aspects into the pointcuts of the business application within the application container.

[0048] Of course, how the aspect-based platform obtains the information needed to deploy aspects from the server can be configured as needed. For example, it can actively pull the required information from the server based on the configuration file, or the server can actively send the required information to the aspect-based platform.

[0049] After injecting an aspect into a pointcut of a business application, the business application can trigger the aspect during execution to achieve the corresponding security aspect business function.

[0050] Mobile security aspects run on mobile devices to perform security protection such as privacy compliance checks, risk awareness, and vulnerability protection for mobile business applications (i.e., apps). A standard mobile security aspect consists only of an aspect base and aspect function modules (aspect programs). Functions such as aspect configuration distribution, log collection, data processing, and data chart display are implemented by the aspect server's management platform. The aspect base is mainly responsible for aspect configuration reading, data reporting, and aspect program injection. After the app starts, the aspect server can distribute the aspect configuration to the aspect base, which then injects the aspect program at the app's pointcuts based on the configuration. Different aspect programs handle different business scenarios. During app runtime, aspect programs can be monitored through call stacks, function parameters, return values, and context information. The system obtains details of each call chain, performs corresponding analysis and judgment for different security business scenarios such as privacy API calls, data and network requests, and reports the data from the aspect base to the aspect server. After receiving the reported call chain data, the aspect server can characterize the behavioral features of the business through big data analysis and algorithms, filter out abnormal behaviors, and issue corresponding aspect configurations to the aspect base. After injecting new aspect programs, it can control risky privacy leakage or vulnerability attack chains. At the same time, the aspect server can process the acquired data and display it in the form of charts, thereby realizing data visualization. Since standard mobile security aspects lack features such as aspect configuration distribution, log collection, data processing, and data chart display, there are several ways to present security aspect data to customers. One approach is to set up an aspect server at the customer's company or on a public cloud, and then use the aspect server to communicate with the mobile security aspect to distribute aspect configurations or display data. However, it is difficult to obtain server management permissions at the customer's company, making the setup and debugging of the aspect server challenging and costly. On the other hand, setting up the aspect server on a public cloud could easily lead to data leaks for the customer. Another approach is to connect to a local computer via USB and upload configuration files and view logs in debug mode. However, log information is text-based and not intuitive, and configuration files are generally composed of JSON strings, making the content difficult to understand. Furthermore, distributing aspect configurations through debug mode is cumbersome.

[0051] Based on this, the present invention provides a method for managing and controlling security aspects on mobile devices. After the mobile app is launched, a web service is built in the app through an SDK to provide an interactive page. Customers can log in to the interactive page through a browser to receive aspect configurations. At the same time, the SDK can obtain the log information of security aspects, process the data, and display it in the form of charts on the interactive page for customers to view. In this way, the management and demonstration of mobile security aspects and the visualization of data can be achieved without setting up an aspect server.

[0052] like Figure 1 As shown, this embodiment of the invention provides a method for managing security aspects on mobile devices, which is applied to mobile devices running an SDK. The method includes the following steps:

[0053] 100: After the app is launched on the mobile device, the SDK builds a web service in the app, which is used to provide interactive pages.

[0054] Web services are a service-oriented architecture technology that provides services through standard web protocols, aiming to ensure interoperability between application services on different platforms. A web service can provide an interactive website (page) where clients can enter requests through a browser. The web service can receive and process these requests and then return appropriate responses. Web services can also display data and place files on the interactive website for clients to browse or download.

[0055] 200: The SDK obtains the aspect configuration input on the interactive page through a web service, and injects aspect programs at the point of contact in the APP according to the aspect configuration through a pre-deployed aspect base, so as to execute secure aspect business through the aspect programs.

[0056] Aspect configuration includes data sampling rate, pointcuts, and aspect procedures. Configuration files are typically composed of JSON strings. The web service can visually display the required configuration information on an interactive page. Clients can input their desired configuration information through a browser on the interactive page. The web service retrieves the client's input on the interactive page and converts it into a JSON string as the aspect configuration. For example, the web service can display input boxes or tabs for data sampling rate, pointcuts, and aspect procedures on the interactive page. Clients can enter their desired values ​​in the input boxes or select their desired tabs. Then, the web service can retrieve the client's input values ​​or selected tabs and convert them into JSON format as the aspect configuration. In this way, aspect configuration can be distributed through the web service and the interactive page.

[0057] After obtaining the aspect configuration, the SDK will inject the aspect program at the point of contact through the pre-deployed aspect base. Then, when the APP runs, the aspect program will execute security aspect business, such as privacy compliance detection, risk perception, vulnerability protection, etc. The specific security aspect business executed is related to the aspect configuration, which is input by the customer. Therefore, the customer can choose the point of contact and aspect program to achieve the security aspect business function they expect.

[0058] 300: The SDK obtains log information when the aspect program executes security aspect business, and classifies and processes the data in the log information as data to be displayed.

[0059] During app runtime, business logic is typically executed through method calls. When the app reaches a pointcut (i.e., a method), the aspect injected at that point is executed to perform security-related business logic. Through the aspect, key data (such as parameters, return values, and call stacks) can be obtained when the app reaches that pointcut, and this data is logged. Since an app may have multiple pointcuts and aspects during runtime, the log information contains key data from multiple pointcuts, including device ID, date, pointcut name, the name of the functional module containing the pointcut, parameters, return values, and call stacks for each pointcut.

[0060] In an exemplary embodiment, the app may include functional modules such as a wealth management module and a travel module. Each functional module contains numerous methods, each implementing different business functions. Therefore, each functional module may have multiple pointcuts. Taking privacy compliance detection as an example, all privacy APIs (such as camera, microphone, and geolocation) can be used as pointcuts; that is, functions for obtaining camera, microphone, and geolocation information can be used as pointcuts. Aspect-oriented programming (AOP) procedures are injected at these pointcuts to obtain log information. For example, if the app's wealth management module calls the camera pointcut, the AOP at that point will generate a log entry recording that the app's wealth management module on device A called the camera pointcut on date B. Each pointcut execution generates a log entry. If the logs are directly displayed to the customer, the customer will not understand them, and due to the large number of pointcuts, there will be many log entries, making it difficult to obtain useful information directly.

[0061] Therefore, in some embodiments, after the SDK obtains log information, it can first process the data in the log information, and then use the processed data as the data to be displayed to the customer in subsequent processes. Specifically, the SDK can first build a local SQL database in the APP, then import the data from the log information into the database, and perform statistical analysis on the data, including classifying the pointcuts, grouping the same pointcuts together, how many times each pointcut was executed within a preset time, or by functional module, which pointcuts were called by the functional module within a preset time, how many times each pointcut was called, etc., and then storing the processed data as the data to be displayed in the SQL database. For example, between date B and date C when the app is running, various functional modules may have called many cutoff points, generating many log messages. After processing the data in the log messages, we can obtain the number of times the wealth module called the camera cutoff point, microphone cutoff point, and location cutoff point respectively (e.g., 7 times, 5 times, and 3 times respectively), and the number of times the travel module called the camera cutoff point, microphone cutoff point, and location cutoff point respectively (e.g., 3 times, 2 times, and 1 time respectively). Thus, we can obtain the number of times the wealth module and travel module obtained camera permission, microphone permission, and location permission respectively during this period.

[0062] 400: The SDK will display the data to be shown in the form of charts on the interactive page via a web service.

[0063] The SDK can generate web charts (such as bar charts and pie charts) from the data to be displayed using a JavaScript charting framework. These charts are then displayed on an interactive page via a web service for customers to view. Because the interactive page displays charts, the results are more intuitive and easier to understand.

[0064] In some embodiments, customers can input the data they want to view on the interactive page. After the SDK obtains this information through a web service, it can query an SQL database. The SQL database will output the data the customer wants to view. Then, the SDK uses a JavaScript charting framework to generate web charts from this data and displays them on the interactive page, thus providing a customized display based on the customer's needs. For example, if a customer wants to see how many times all functional modules of the app have called various privacy APIs within a certain period and wants it presented in the form of a bar chart, the SDK can query the relevant content in the SQL database, generate a bar chart using a JavaScript charting framework, and display it on the interactive page via a web service. This allows the customer to intuitively see the results.

[0065] The mobile security aspect management method of this invention uses an SDK to build a web service in the APP to provide an interactive page. Customers can log in to the interactive page through a browser to receive aspect configurations. At the same time, the SDK can obtain security aspect log information, process the data and display it in the form of charts on the interactive page for customers to view. Thus, without setting up an aspect server, it can realize the management demonstration and data visualization of mobile security aspects.

[0066] like Figure 2 As shown, another embodiment of the present invention provides a mobile terminal security aspect control device, which is applied to a mobile terminal and includes a Web service module 11 for mutual data communication, a configuration acquisition module 12, a data processing module 13 and a data display module 14.

[0067] Web service module 11 is configured to build a web service in the app after the app is launched on the mobile device. The web service is used to provide interactive pages.

[0068] Web services can provide an interactive website (page) where clients can enter requests through a browser. The web service can receive and process these requests and then return a corresponding response. Web services can also display data and place files on the interactive website for clients to browse or download.

[0069] The configuration acquisition module 12 is configured to acquire the aspect configuration input on the interactive page through a web service, and inject the aspect program at the point of the APP according to the aspect configuration through the pre-deployed aspect base, so as to execute the secure aspect business through the aspect program.

[0070] Aspect configuration includes data sampling rate, pointcuts, and aspect procedures. Configuration files are typically composed of JSON strings. The web service can visually display the required configuration information on an interactive page. Clients can input their desired configuration information through a browser on the interactive page. The web service retrieves the client's input on the interactive page and converts it into a JSON string as the aspect configuration. For example, the web service can display input boxes or tabs for data sampling rate, pointcuts, and aspect procedures on the interactive page. Clients can enter their desired values ​​in the input boxes or select their desired tabs. Then, the web service can retrieve the client's input values ​​or selected tabs and convert them into JSON format as the aspect configuration. In this way, aspect configuration can be distributed through the web service and the interactive page.

[0071] After obtaining the aspect configuration, the configuration acquisition module 12 will inject the aspect program at the point of contact through the pre-deployed aspect base. Then, when the APP runs, the aspect program will execute the security aspect business, such as privacy compliance detection, risk perception, vulnerability protection, etc. The specific security aspect business executed is related to the aspect configuration, which is input by the customer. Therefore, the customer can choose the point of contact and aspect program to achieve the security aspect business function they expect.

[0072] The data processing module 13 is configured to acquire log information when the aspect program executes the security aspect business, and classify and process the data in the log information as data to be displayed.

[0073] During app runtime, business logic is typically executed through method calls. When the app reaches a pointcut (i.e., a method), the aspect injected at that point is executed to perform security-related business logic. Through the aspect, key data (such as parameters, return values, and call stacks) can be obtained when the app reaches that pointcut, and this data is logged. Since an app may have multiple pointcuts and aspects during runtime, the log information contains key data from multiple pointcuts, including device ID, date, pointcut name, the name of the functional module containing the pointcut, parameters, return values, and call stacks for each pointcut.

[0074] In some embodiments, after obtaining log information, the data processing module 13 can first process the data in the log information, and then use the processed data as data to be displayed to the customer in subsequent processes. Specifically, the data processing module 13 can first build a local SQL database in the APP, then import the data in the log information into the database, and perform statistical analysis on the data, including classifying the pointcuts, grouping the same pointcuts together, how many times each pointcut was executed within a preset time, or by functional module, which pointcuts were called by the functional module within a preset time, how many times each pointcut was called, etc., and then storing the processed data as data to be displayed in the SQL database.

[0075] The data display module 14 is configured to display the data to be displayed in the form of charts on the interactive page via a web service.

[0076] The data visualization module 14 can generate web charts (such as bar charts, pie charts, etc.) from the data to be displayed using a JavaScript charting framework. These web charts are then displayed on an interactive page via a web service for customer viewing. Because the interactive page displays charts, the results are more intuitive and easier to understand.

[0077] In some embodiments, customers can input the data they want to view on the interactive page. After the data display module 14 obtains this information through the Web service, it can query the SQL database. The SQL database will output the data that the customer wants to view. Then, the data display module 14 will generate Web charts from this data using a JavaScript charting framework and display these Web charts on the interactive page, thereby displaying the data according to the customer's needs.

[0078] The mobile security aspect management device of this invention constructs a web service in the APP through the web service module 11 to provide an interactive page. Customers can log in to the interactive page through a browser and send aspect configuration to the configuration acquisition module 12. At the same time, the data processing module 13 can obtain the log information of the security aspect, process the data, and display it in the form of charts on the interactive page through the data display module 14 for customers to browse. Thus, without building an aspect server, the management demonstration and data visualization of mobile security aspects can be realized.

[0079] Another embodiment of the present invention provides a readable storage medium having a computer program stored thereon, which, when executed in a computer, causes the computer to perform the steps of the method described in the above embodiments of the present invention.

[0080] Another embodiment of the present invention provides an electronic device, which includes a memory and a processor. The memory stores executable code, and when the processor executes the executable code, it performs the steps of the method in the above embodiments of the present invention.

[0081] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, a computer can be, for example, a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.

[0082] For ease of description, the above apparatus is described by dividing it into various functional units. Of course, in implementing this invention, the functions of each unit can be implemented in one or more software and / or hardware components.

[0083] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0084] This invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each block of the flowchart illustrations and / or block diagrams, and combinations of blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, special-purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, generate instructions for implementing the flowchart illustrations and / or block diagrams. Figure 1 One or more processes and / or boxes Figure 1 A device that provides the functions specified in one or more boxes.

[0085] These computer program instructions may also be stored in a computer-readable storage medium that can direct a computer or other programmable data processing device to function in a particular manner, such that the instructions stored in the computer-readable storage medium produce an article of manufacture including instruction means, which are implemented in a process Figure 1 One or more processes and / or boxes Figure 1 The function specified in one or more boxes.

[0086] These computer program instructions may also be loaded onto a computer or other programmable data processing equipment to cause a series of operational steps to be performed on the computer or other programmable equipment to produce a computer-implemented process, thereby providing instructions that execute on the computer or other programmable equipment for implementing the process. Figure 1 One or more processes and / or boxes Figure 1 The steps of the function specified in one or more boxes.

[0087] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0088] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.

[0089] Computer-readable media includes both permanent and non-permanent, removable and non-removable media that can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.

[0090] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.

[0091] Those skilled in the art will understand that embodiments of the present invention can be provided as methods, systems, or computer program products. Therefore, the present invention can take the form of a completely hardware embodiment, a completely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention can take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0092] This invention can be described in the general context of computer-executable instructions, such as program modules, that are executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc., that perform a specific task or implement a specific abstract data type. This invention can also be practiced in distributed computing environments where tasks are performed by remote processing devices connected via a communication network. In distributed computing environments, program modules can reside in local and remote computer storage media, including storage devices.

[0093] The various embodiments in this invention are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.

[0094] The above description is merely a preferred embodiment of the present invention and is not intended to limit the scope of the invention. Various variations can be made to the above embodiments of the present invention. That is, all simple and equivalent changes and modifications made based on the claims and description of this invention fall within the protection scope of the claims of this patent. All aspects not described in detail in this invention are conventional technical content.

Claims

1. A method for managing security aspects on a mobile device, the method being applied to a mobile device running an SDK, the method comprising the following steps: After the APP installed on the mobile device is launched, the SDK builds a Web service in the APP, and the Web service is used to provide interactive pages; The SDK obtains the configuration information input on the interactive page through the Web service as the aspect configuration, and injects the aspect program at the point of the APP according to the aspect configuration through the pre-deployed aspect base, so as to execute the secure aspect business through the aspect program; The SDK obtains log information when the aspect program executes the security aspect business, processes the data in the log information, and uses the processed data as the data to be displayed. The SDK displays the data to be shown in the form of charts on the interactive page via the Web service.

2. The mobile terminal security aspect control method according to claim 1, wherein the SDK obtains the aspect configuration input on the interactive page through the Web service, specifically including: The SDK displays the required configuration information on the interactive page via the web service; The SDK obtains the configuration information input on the interactive page through the Web service and converts it into a JSON string as aspect configuration.

3. The mobile terminal security aspect control method according to claim 1, specifically includes processing the data in the log information: The various cut-off points of the APP are categorized and / or the number of times each cut-off point of the APP is called within a preset time period is statistically analyzed and / or the number of times each functional module of the APP calls each cut-off point within a preset time period is statistically analyzed.

4. The mobile terminal security aspect control method according to claim 1, wherein the data to be displayed is presented in the form of a chart on the interactive page, specifically including: The data to be displayed is generated into a web chart using a JavaScript charting framework; The web chart is displayed on the interactive page via the web service.

5. A mobile terminal security aspect control device, applied to a mobile terminal, the device comprising: The Web service module is configured to build a Web service in the APP after the APP installed on the mobile terminal is launched, and the Web service is used to provide an interactive page; The configuration acquisition module is configured to acquire configuration information input on the interactive page through the Web service as aspect configuration, and inject aspect programs at the point of the APP according to the aspect configuration through the pre-deployed aspect base, so as to execute secure aspect business through the aspect program; The data processing module is configured to acquire log information when the aspect program executes the security aspect business, process the data in the log information, and use the processed data as the data to be displayed. The data display module is configured to display the data to be displayed in the form of charts on the interactive page via the web service.

6. The mobile terminal security aspect control device according to claim 5, wherein obtaining aspect configuration input on the interactive page through the Web service specifically includes: The web service displays the configuration information that needs to be entered on the interactive page; The configuration information input on the interactive page is obtained through the web service and converted into a JSON string as aspect configuration.

7. The mobile terminal security aspect control device according to claim 5, wherein processing of the data in the log information specifically includes: The various cut-off points of the APP are categorized and / or the number of times each cut-off point of the APP is called within a preset time period is statistically analyzed and / or the number of times each functional module of the APP calls each cut-off point within a preset time period is statistically analyzed.

8. The mobile terminal security aspect control device according to claim 5, wherein the data to be displayed is presented in the form of a chart on the interactive page, specifically including: The data to be displayed is generated into a web chart using a JavaScript charting framework; The web chart is displayed on the interactive page via the web service.

9. A storage medium storing a computer program thereon, which, when executed in a computer, causes the computer to perform the steps of the mobile terminal security aspect control method as described in any one of claims 1-4.

10. An electronic device comprising a memory and a processor, wherein executable code is stored in the memory, and when the processor executes the executable code, it performs the steps of the control method for the mobile terminal security aspect as described in any one of claims 1-4.

Citation Information

Patent Citations

  • Web page monitoring data generation method, device and equipment

    CN111813629A

  • Data acquisition method, device, equipment, medium and program product

    CN113010395A

  • Data processing method and device, storage medium and electronic equipment

    CN115357940A