Multi-source information security processing method and system of android app

By collecting and analyzing user interaction information from multiple sources within an Android app, calculating weight values, and determining information security, the problem of users receiving insecure information is solved, thereby improving user security and experience.

CN116028934BActive Publication Date: 2025-11-21SHENZHEN HAIYUNAN NETWORK SECURITY TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310126218.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-07
Publication Date
2025-11-21
Estimated Expiration
2043-02-07

AI Technical Summary

Technical Problem

Existing methods for processing multi-source information in Android apps can easily lead to users receiving unsafe information, affecting user security and experience. In particular, multi-source information recommended through bidding may contain illegal or offensive information.

Method used

By adding patches or upgrade packages to Android apps, user interaction information from multiple sources, such as duration and click location, is collected and sent to the data center to calculate a weight value. If the weight value is below a threshold, the information is determined to be insecure, thereby improving security.

Benefits of technology

By analyzing and calculating user operation information, the security of multi-source information can be determined, thereby improving user security and experience and reducing the reception of insecure information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116028934B_ABST
    Figure CN116028934B_ABST
Patent Text Reader

Abstract

The application provides a kind of multi-source information security processing method and system of Android APP, the method includes the following steps: when terminal equipment runs first APP in Android system, receive the first multi-source information recommended by first APP;If terminal equipment jumps from first multi-source information page to subsequent page, terminal equipment collects the operation information of target object in first multi-source information, the operation information includes: the duration t1 of first multi-source information, click position s1 and subsequent duration t1 after subsequent page, the operation information is sent to data center;Data center receives the multiple operation information of first multi-source information fed back by multiple terminal equipment, calculates the weight value of first multi-source information by executing the multiple operation information, if the weight value is lower than weight threshold, determine that the first multi-source information is non-safe information.The technical scheme provided by the application has the advantage of improving user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the Internet and data fields, specifically to a method and system for multi-source information security processing in Android apps. Background Technology

[0002] Android apps refer to applications running the Android system. With the rise of smartphones, more and more phones use the Android system and apps to access multi-source information. Multi-source information includes various third-party information received within installed apps, the most common being advertisements. Currently, the processing of multi-source information typically involves advertising referral fees. This approach may result in users receiving unsafe information or even accidentally clicking on multi-source information, impacting user security. Summary of the Invention

[0003] This invention provides a method and system for secure processing of multi-source information in Android apps, which improves the security of multi-source information and has the advantage of enhancing security.

[0004] In a first aspect, embodiments of the present invention provide a method for multi-source information security processing in an Android APP, the method comprising the following steps:

[0005] When the terminal device is running the first APP on the Android system, it receives the first multi-source information recommended by the first APP.

[0006] If the terminal device jumps from the first multi-source information page to a subsequent page, the terminal device collects the operation information of the target object in the first multi-source information, which includes: the duration t1 of the first multi-source information, the click position s1, and the subsequent duration t1 of the subsequent page, and sends the operation information to the data center.

[0007] The data center receives multiple operation messages from multiple terminal devices regarding the first multi-source information. It then performs calculations on these multiple operation messages to obtain the weight value of the first multi-source information. If the weight value is lower than the weight threshold, the first multi-source information is determined to be insecure information.

[0008] Secondly, a multi-source information security processing system for Android apps is provided, the system comprising: terminal devices and a data center, wherein...

[0009] The terminal device is used to receive first multi-source information recommended by the first APP when running the first APP on the Android system; when jumping from the first multi-source information page to the subsequent page, it collects the operation information of the target object in the first multi-source information, which includes: the duration t1 of the first multi-source information, the click position s1 and the subsequent duration t1 of the subsequent page, and sends the operation information to the data center.

[0010] The data center is used to receive multiple operation messages of the first multi-source information fed back by multiple terminal devices, perform calculations on the multiple operation messages to obtain the weight value of the first multi-source information, and determine that the first multi-source information is insecure information if the weight value is lower than the weight threshold.

[0011] Thirdly, a computer-readable storage medium is provided that stores a program for electronic data interchange, wherein the program causes a terminal to execute the method provided in the first aspect.

[0012] Implementing the embodiments of the present invention has the following beneficial effects: When the terminal device of the technical solution provided in this application is running a first APP on the Android system, it receives first multi-source information recommended by the first APP; if the terminal device jumps from the first multi-source information page to a subsequent page, the terminal device collects the operation information of the target object in the first multi-source information, which includes: the duration t1 of the first multi-source information, the click position s1, and the subsequent duration t1 of the subsequent page, and sends the operation information to the data center; the data center receives multiple operation information of the first multi-source information fed back by multiple terminal devices, performs detection calculation on the multiple operation information to obtain the weight value of the first multi-source information, and if the weight value is lower than the weight threshold, it determines that the first multi-source information is unsafe information. In this way, the user collects and analyzes the operation information of the first multi-source information from all users, and then calculates the weight value of the first multi-source information to determine the safety of the first multi-source information among multiple feedback users, i.e., the degree of interest, thereby improving the user's safety and experience. Attached Figure Description

[0013] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0014] Figure 1 This is a structural diagram of a terminal device;

[0015] Figure 2 This is a flowchart illustrating a multi-source information security processing method for an Android APP provided in this application;

[0016] Figure 3 This is a schematic diagram illustrating a click location, close location, and jump center location provided in this application;

[0017] Figure 4 This is a schematic diagram of the structure of a multi-source information security processing system for an Android APP provided in this application. Detailed Implementation

[0018] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0019] The terms "first," "second," "third," and "fourth," etc., used in the specification, claims, and accompanying drawings of this invention are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or apparatus that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products, or apparatuses.

[0020] In this document, the term "embodiment" means that a particular feature, result, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0021] See Figure 1 , Figure 1 A terminal is provided, which can be an Android system terminal, such as... Figure 1 As shown, the aforementioned device may specifically include a processor, memory, communication circuitry, and a display screen. These components can be connected via a bus or other means; this application does not limit the specific connection method. The aforementioned terminal can be a personal computer, server, smartphone, tablet computer, etc.

[0022] With the widespread use of smartphones, apps have become virtual items that almost every user interacts with daily. For smartphones, apps can be broadly divided into two categories: those already installed on the device and those not installed. For the manufacturers of these non-installed apps, they recommend them to users through various channels. Because this information comes from multiple channels or manufacturers, it's called multi-source information. Recommending multi-source information within existing apps is a very common practice. To improve the accuracy of recommendations, existing apps often use bidding to rank and recommend multi-source information. Here, we'll use 100 users as an example; the actual number of users will be much larger. There are many more sources of information. Taking three sources as an example, let's say they are source 1, source 2, and source 3. Their bidding order is: source 1 > source 2 > source 3. For 100 users, the number of users recommended to each source might be 45, 35, and 20 respectively. This means the recommended user order is essentially the same as the bidding order. Therefore, for the provider of source 3, increasing the number of recommendations requires increasing the bid, which is the principle of bidding-based recommendations. However, source 1 might be considered unsafe information, affecting user security and causing users to doubt existing apps recommending it, thus reducing user experience. It's important to note that "security" here is a broad concept, meaning the recommended source information could be illegal, such as fraudulent, or simply information that users find offensive or uninteresting. This application primarily concerns the security handling of information that users find offensive or uninteresting.

[0023] The technical solution of this application is to detect multi-source information of Android APP, that is, to upgrade or supplement the Android APP or Android system by adding a patch or upgrade package source code to the Android APP, thereby realizing the detection of multi-source information of Android APP.

[0024] See Figure 2 , Figure 2 This application provides a flowchart illustrating a multi-source information security processing method for an Android app. This method is executed by a terminal device, such as... Figure 2 As shown, it includes the following steps:

[0025] Step S201: When the terminal device is running the first APP on the Android system, it receives the first multi-source information recommended by the first APP;

[0026] The aforementioned first multi-source information is information provided by a manufacturer. This first multi-source information is displayed in the form of a page and has subsequent redirect pages. These redirect pages include, but are not limited to, pages for downloading another APP, pages for another multi-source information, purchase pages, etc. This application does not limit the specific form of the redirect pages, as long as the redirect pages are associated with the first multi-source information. The aforementioned association methods can also take various forms.

[0027] Step S202: If the terminal device jumps from the first multi-source information page to the subsequent page, the terminal device collects the operation information of the target object in the first multi-source information, which includes: the duration t1 of the first multi-source information, the click position s1 and the subsequent duration t1 of the subsequent page, and sends the operation information to the data center.

[0028] For example, the click location s1 mentioned above refers to the click coordinates on the terminal device screen. The duration t1 of the first multi-source information mentioned above may specifically include: the time value between the target object opening the page of the first multi-source information and closing the first multi-source information (or jumping to the page); the duration t1 of the subsequent page mentioned above may specifically include: the time value between opening and closing the subsequent page or the download time of downloading another APP on the subsequent page.

[0029] Step S203: The data center receives multiple operation information of the first multi-source information fed back by multiple terminal devices, performs calculation on the multiple operation information to obtain the weight value of the first multi-source information, and if the weight value is lower than the weight threshold, the first multi-source information is determined to be non-secure information.

[0030] The technical solution provided in this application, when a terminal device runs a first APP on an Android system, receives first multi-source information recommended by the first APP. If the terminal device jumps from the first multi-source information page to a subsequent page, the terminal device collects the operation information of the target object in the first multi-source information. This operation information includes: the duration t1 of the first multi-source information, the click position s1, and the subsequent duration t1 of the subsequent page. This operation information is then sent to a data center. The data center receives multiple operation information from the first multi-source information fed back by multiple terminal devices, performs detection calculations on these multiple operation information to obtain a weight value for the first multi-source information. If the weight value is lower than a weight threshold, the first multi-source information is determined to be insecure information. In this way, the user collects and analyzes the operation information of all users on the first multi-source information, calculates the weight value of the first multi-source information, and determines the security of the first multi-source information among multiple users, i.e., the degree of interest, thereby improving user security and experience.

[0031] For example, the weight value of the first multi-source information obtained by performing calculations on the multiple operational information may specifically include:

[0032] Weight value = k + historical weight values;

[0033] The historical weight value is the weight value of this first multi-source information before calculation;

[0034] k=∑(t i / t0-1) / n+∑(t i ' / t0'-1) / n+∑(L i ' / L i -1) / n;

[0035] Where n represents the number of multiple operation messages, t i t represents the duration of the i-th operation message, t0 represents a reference value for the duration (which can be preset), and t i ' represents the subsequent duration of the i-th operation message, t0' represents the reference value of the duration (which can be preset), L i L represents the distance between the click position of the i-th operation information and the jump position of the i-th operation information. i ' represents the distance between the click position of the i-th operation message and the close position of the i-th operation message, where,

[0036] L i =[(x i -x i0 ) 2 +(y i -y i0 ) 2 ] 1 / 2 ;

[0037] L i '=[(x i -x i0 ') 2 +(y i -y i0 ') 2 ] 1 / 2

[0038] Where, x i y i Let x be the x-axis coordinates and y-axis coordinates of the click position of the i-th operation information on the terminal device. i0 y i0 Let x be the x-axis coordinate of the jump center position of the i-th operation information on the terminal device and y-axis coordinate. i0 '、y i0 'The closing position of the i-th operation information is located at the x-axis and y-axis coordinates of the terminal device;

[0039] The aforementioned jump center position is the center position where clicking this position will jump the first operation information to the subsequent page. Since most operation information pages will directly jump to the subsequent page unless the close position is clicked, the jump center position is taken as the center position of the display page of the first operation on the terminal device; the close position is the position where the target object can close the first operation information without jumping to the subsequent page.

[0040] It should be noted that the principle behind adjusting this weight value is that, for time, the shorter the time, the higher the likelihood that the user will perceive the information as insecure. Therefore, if the time is shorter, for example, less than t0, the corresponding weight value should be lower. Similarly, for t... i The same principle applies, but for click positions, if the target wants to open a subsequent page, the click position must be close to the jump center and far from the close position. If the click position is close to the close position, the user may want to close the first operation information, but because the close position area is very small, it is impossible to accurately click the corresponding position, thus resulting in an accidental click and entering a subsequent page. In this case, the weight value needs to be reduced. The weight value is adjusted based on this principle. For example, when the user wants to close the jump page of the first operation information and clicks near the close position, then L... i Smaller, L i The value of L is relatively large, and the calculated value of L is large at this time. i ' / L i If the value is less than 1, the weighting will decrease. If a user wants to open the page that redirects to the first operation information, clicking near the center of the redirect will result in a lower weighting. i Larger, L i The value of L is relatively small, therefore the calculated value is... i ' / L i A value greater than 1 increases the weight value, thus adjusting the weight value and consequently the number of recommendations for the first piece of information. Specifically, the aforementioned weight value can serve as the basis for adjusting the number of recommendations.

[0041] See Figure 3 , Figure 3 This is an illustration of the click location, close location, and jump center location, as shown below. Figure 3 As shown, point A can be the jump center position, generally located in the center of the display screen, while the close position is located in a corner of the screen, as shown by point B. Point C is the click position, as shown below. Figure 3 As shown, point C is closer to point B. Therefore, in this case, when entering the redirected page, the weight value of the first operation information needs to be reduced. Conversely, if point C is closer to point A, the weight value of the first operation information needs to be increased.

[0042] See Figure 4 , Figure 4A multi-source information security processing system for Android apps is provided. The system includes: a terminal device and a data center, wherein...

[0043] The terminal device is used to receive first multi-source information recommended by the first APP when running the first APP on the Android system; when jumping from the first multi-source information page to the subsequent page, it collects the operation information of the target object in the first multi-source information, which includes: the duration t1 of the first multi-source information, the click position s1 and the subsequent duration t1 of the subsequent page, and sends the operation information to the data center.

[0044] The data center is used to receive multiple operation messages of the first multi-source information fed back by multiple terminal devices, perform calculations on the multiple operation messages to obtain the weight value of the first multi-source information, and determine that the first multi-source information is insecure information if the weight value is lower than the weight threshold.

[0045] Example,

[0046] The click position s1 is the click coordinate on the terminal device screen; the duration t1 of the first multi-source information specifically includes: the time value between the target object opening the page of the first multi-source information and closing the first multi-source information; the subsequent duration t1 of the subsequent page specifically includes: the time value between opening and closing the subsequent page or the download time of downloading another APP on the subsequent page.

[0047] Example,

[0048] The data center is specifically used to calculate the weight value using the following formula;

[0049] Weight value = k + historical weight values;

[0050] The historical weight value is the weight value of this first multi-source information before calculation;

[0051] k=∑(t i / t0-1) / n+∑(t i ' / t0'-1) / n+∑(L i ' / L i -1) / n;

[0052] Where n represents the number of multiple operation messages, t i t represents the duration of the i-th operation message, t0 represents the reference value of the duration, t i ' represents the subsequent duration of the i-th operation information, t0' represents the reference value of the duration, L i L represents the distance between the click position of the i-th operation information and the jump position of the i-th operation information. i ' represents the distance between the click position of the i-th operation message and the close position of the i-th operation message, where,

[0053] L i =[(x i -x i0 ) 2 +(y i -y i0 ) 2 ] 1 / 2 ;

[0054] L i '=[(x i -x i0 ') 2 +(y i -y i0 ') 2 ] 1 / 2

[0055] Where, x i y i Let x be the x-axis coordinates and y-axis coordinates of the click position of the i-th operation information on the terminal device. i0 y i0 Let x be the x-axis coordinate of the jump center position of the i-th operation information on the terminal device and y-axis coordinate. i0 '、y i0 'The closing position of the i-th operation information is located at the x-axis and y-axis coordinates of the terminal device.

[0056] This invention also provides a computer storage medium storing a computer program for electronic data interchange, which causes a computer to perform some or all of the steps of any of the multi-source information security processing methods for Android apps described in the above method embodiments.

[0057] This invention also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any of the multi-source information security processing methods for Android APPs described in the above method embodiments.

[0058] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that the present invention is not limited to the described order of actions, as some steps can be performed in other orders or simultaneously. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are optional embodiments, and the actions and modules involved are not necessarily essential to the present invention.

[0059] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.

[0060] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical or other forms.

[0061] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, which may include: flash drive, read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0062] The embodiments of the present invention have been described in detail above. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A method for multi-source information security processing in an Android APP, characterized in that, The method includes the following steps: When the terminal device is running the first APP on the Android system, it receives the first multi-source information recommended by the first APP. If the terminal device jumps from the first multi-source information page to a subsequent page, the terminal device collects the operation information of the target object in the first multi-source information, which includes: the duration t1 of the first multi-source information, the click position s1 and the subsequent duration t1' of the subsequent page, and sends the operation information to the data center. The data center receives multiple operation messages from multiple terminal devices regarding first multi-source information. It then calculates a weight value for the first multi-source information based on these operation messages. If the weight value is lower than a weight threshold, the first multi-source information is determined to be insecure information. Specifically, the calculation of the weight value for the first multi-source information includes: Weight value = k + historical weight values; The historical weight value is the weight value of this first multi-source information before calculation; k=∑(t i / t0-1) / n+∑(t i ’ / t0’-1) / n +∑(L i ’ / L i -1) / n; Where n represents the number of multiple operation messages, t i t represents the duration of the i-th operation message, t0 represents the reference value of the duration, t i ' represents the subsequent duration of the i-th operation information, t0' represents the reference value of the subsequent duration, L i L represents the distance between the click position of the i-th operation message and the jump position of the i-th operation message. i ' is the distance between the click position of the i-th operation message and the close position of the i-th operation message, where, L i =[(x i - x i0 ) 2 +(and i - and i0 ) 2 ] 1 / 2 ; L i '=[(x i - x i0 ') 2 +(and i - and i0 ') 2 ] 1 / 2 Where, x i y i Let x be the x-axis coordinates and y-axis coordinates of the click position of the i-th operation information on the terminal device. i0 y i0 Let x be the x-axis coordinate of the jump center position of the i-th operation information on the terminal device and y-axis coordinate. i0 '、y i0 'The closing position of the i-th operation information is located at the x-axis and y-axis coordinates of the terminal device.

2. The method for multi-source information security processing of Android APP according to claim 1, characterized in that, The click position s1 is the click coordinate of the terminal device screen; the duration t1 of the first multi-source information specifically includes: the time value between the target object opening the page of the first multi-source information and closing the first multi-source information; the subsequent duration t1' of the subsequent page specifically includes: the time value between opening and closing the subsequent page or the download time of downloading another APP on the subsequent page.

3. A multi-source information security processing system for an Android APP, characterized in that, The system includes: terminal equipment and a data center, wherein... The terminal device is used to receive first multi-source information recommended by the first APP when running the first APP on the Android system; when jumping from the first multi-source information page to the subsequent page, it collects the operation information of the target object in the first multi-source information, which includes: the duration t1 of the first multi-source information, the click position s1 and the subsequent duration t1' of the subsequent page, and sends the operation information to the data center. The data center is used to receive multiple operation messages of first multi-source information fed back by multiple terminal devices, perform calculations on the multiple operation messages to obtain the weight value of the first multi-source information, and determine that the first multi-source information is non-secure information if the weight value is lower than the weight threshold. The data center is specifically used to calculate the weight value by the following formula. Weight value = k + historical weight values; The historical weight value is the weight value of this first multi-source information before calculation; k=∑(t i / t0-1) / n+∑(t i ’ / t0’-1) / n +∑(L i ’ / L i -1) / n; Where n represents the number of multiple operation messages, t i t represents the duration of the i-th operation message, t0 represents the reference value of the duration, t i ' represents the subsequent duration of the i-th operation information, t0' represents the reference value of the subsequent duration, L i L represents the distance between the click position of the i-th operation message and the jump position of the i-th operation message. i ' is the distance between the click position of the i-th operation message and the close position of the i-th operation message, where, L i =[(x i - x i0 ) 2 +(and i - and i0 ) 2 ] 1 / 2 ; L i '=[(x i - x i0 ') 2 +(and i - and i0 ') 2 ] 1 / 2 Where, x i y i Let x be the x-axis coordinates and y-axis coordinates of the click position of the i-th operation information on the terminal device. i0 y i0 Let x be the x-axis coordinate of the jump center position of the i-th operation information on the terminal device and y-axis coordinate. i0 '、y i0 'The closing position of the i-th operation information is located at the x-axis and y-axis coordinates of the terminal device.

4. The multi-source information security processing system for Android APP according to claim 3, characterized in that, The click position s1 is the click coordinate of the terminal device screen; the duration t1 of the first multi-source information specifically includes: the time value between the target object opening the page of the first multi-source information and closing the first multi-source information; the subsequent duration t1' of the subsequent page specifically includes: the time value between opening and closing the subsequent page or the download time of downloading another APP on the subsequent page.

Citation Information

Patent Citations

  • Operation processing method and device and computer equipment

    CN109558032A

  • Information management method and device and electronic equipment

    CN111639333A