A method for obtaining mobile phone numbers by automatically sending text messages
By automatically sending text messages, the user's permission habits and the trust of the alarm software are analyzed, and the text message content is generated to obtain the mobile phone number, which solves the problem of the alarm software not obtaining permissions, realizes the acquisition of mobile phone numbers in emergency situations, and assists in alarm processing.
Patent Information
- Application Number
- CN202410909750.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-09-27
- Estimated Expiration
- 2044-07-09
AI Technical Summary
When the user is in a critical situation, the alarm software fails to obtain the mobile phone number permission of the mobile phone device in advance or immediately, resulting in the inability to reasonably obtain the user's mobile phone number and affecting emergency response.
By automatically sending text messages, we analyze the breadth of user permissions and the trustworthiness of the alarm software. When certain conditions are met, preset text message content is generated and sent to the background of the alarm software to obtain a mobile phone number.
Under the premise of considering the user's permission habits, it is possible to reasonably obtain the mobile phone number of the mobile phone device in the event of an alarm, and assist the alarm software in emergency processing.
Smart Images

Figure CN118509525B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of mobile communication technology, and in particular to a method for obtaining a mobile phone number by automatically sending short messages. Background Art
[0002] At present, there are many alarm software programs for mobile phones, which can assist mobile phone users to report an incident when the user is in danger, and even obtain the location information or phone number of the mobile phone so that the alarm center can locate the user's location more quickly and obtain his or her current environmental conditions, etc., so that the center can further determine the specific alarm handling operation.
[0003] However, the protection of personal privacy data on mobile software programs has attracted widespread attention from the public. Therefore, any software that wants to use the mobile device to obtain the user's personal data requires the user to grant corresponding permissions in advance, such as: permission to access the address book, or permission to access the camera, or permission to access the photo album on the mobile device, etc. When the alarm software program triggers the alarm command, the user may be in a critical situation and fail to grant the alarm program software permission to obtain the mobile phone number on the mobile device in advance or immediately. At this time, how to reasonably obtain the mobile phone number on the mobile device under the premise of considering the user's habit of granting permissions to software programs becomes a major technical difficulty.
[0004] Therefore, the present invention proposes a method for obtaining a mobile phone number by automatically sending a text message. Summary of the invention
[0005] The present invention provides a method for obtaining a mobile phone number by automatically sending text messages, which is used for reasonably obtaining the mobile phone number of the mobile phone device end according to whether the alarm program software is granted the mobile phone number acquisition authority when the mobile phone device end triggers an alarm instruction at the alarm program software end, and when the alarm program software is not granted the mobile phone number acquisition program, the user's permission granting habit breadth and the alarm program software's trustworthiness are determined based on the program permission granting information of the mobile phone device end, so as to analyze the user's permission granting habit for the software program, and when the user's permission granting habit breadth and the alarm program software's trustworthiness meet the requirements, the mobile phone device end is controlled to send the automatically generated preset text message content to the communication end of the alarm program software background, so as to assist the alarm program software to reasonably obtain the mobile phone number of the mobile phone device end under the premise of considering the user's permission granting habit for the software program.
[0006] The present invention provides a method for obtaining a mobile phone number by automatically sending a text message, comprising:
[0007] S1: When the mobile device triggers an alarm command on the alarm program software and the alarm program software is granted the mobile phone number acquisition permission, the mobile phone number of the mobile device that triggers the alarm command is directly acquired;
[0008] S2: When the mobile device triggers an alarm command on the alarm program software and the alarm program software is not granted the mobile phone number access permission, the user's permission granting habit breadth and the alarm program software's trustworthiness are determined based on the program permission granting information on the mobile device;
[0009] S3: When the user's permission granting habit breadth and the alarm program software's trustworthiness meet the requirements, a preset SMS content is automatically generated, and the mobile device end that triggers the alarm command is controlled to send the preset SMS content to the communication end of the alarm program software background;
[0010] S4: Based on the content of the SMS message and the source information of the SMS message received by the communication terminal of the background of the alarm program software, the mobile phone number of the mobile device terminal that triggered the alarm command is obtained.
[0011] Preferably, the method of obtaining the mobile phone number by automatically sending text messages, S1: when the mobile device end triggers an alarm instruction on the alarm program software end and the alarm program software is granted the mobile phone number acquisition authority, the mobile phone number of the mobile device end that triggers the alarm instruction is directly obtained, including:
[0012] When the mobile device triggers an alarm instruction on the alarm program software and the alarm program software is granted the mobile phone number acquisition authority, the mobile phone number of the mobile device that triggers the alarm instruction is directly acquired based on the mobile phone number acquisition authority granted to the alarm program software;
[0013] Preferably, the method of obtaining the mobile phone number by automatically sending text messages, S2: when the mobile device end triggers an alarm instruction at the alarm program software end and the alarm program software is not granted the mobile phone number acquisition permission, then based on the program permission granting information at the mobile device end, the user's permission granting habit breadth and the alarm program software's trustworthiness are determined, including:
[0014] S201: When the mobile device triggers an alarm instruction on the alarm program software and the alarm program software is not granted the mobile phone number acquisition permission, the permission granting information of all program software installed under the built-in system of the mobile device is obtained as the program permission granting information of the mobile device;
[0015] S202: Determine the breadth of the user's permission granting habits and the trustworthiness of the alarm program software based on the program permission granting information on the mobile device.
[0016] Preferably, the method of obtaining the mobile phone number by automatically sending a text message, S202: determining the breadth of the user's permission granting habits and the trustworthiness of the alarm program software based on the program permission granting information on the mobile device side, including:
[0017] S2021: Analyze the breadth of the user's permission granting habits based on the permission granting information of all program software in the program permission granting information on the mobile device;
[0018] S2022: Obtaining permission information of the alarm program software from the program permission information on the mobile device;
[0019] S2023: Analyze the trustworthiness of the alarm program software based on the permission information of the alarm program software.
[0020] Preferably, in the method of obtaining a mobile phone number by automatically sending a text message, S2021: analyzing the breadth of the user's permission granting habits based on the permission granting information of all program software in the program permission granting information on the mobile device side, including:
[0021] Determine all permissions to be granted for all program software;
[0022] Based on the permission granting information of all program software in the program permission granting information on the mobile device, all the granted permission items of each program software are determined;
[0023] Based on all the granted permission items of all software programs, determine the number of all program software granted to each permission item to be granted, and use the ratio of the total number of all program software granted to each permission item to be granted to the total number of all program software corresponding to the permission item to be granted as the user's permission for each permission item to be granted;
[0024] Based on the permission level from small to large, the permission items to be granted of all program software are sorted to obtain the permission item level sequence;
[0025] Based on the permission item level sequence and all granted permission items of each program software, the breadth of the user's permission granting habits is analyzed.
[0026] Preferably, the method of obtaining the mobile phone number by automatically sending SMS messages is to analyze the breadth of the user's permission granting habits based on the permission item level sequence and all the granted permission items of each program software, including:
[0027] The ranking ordinal numbers of all the permission items granted to each program software in the permission item level sequence are regarded as the levels of all the permission items granted to each program software;
[0028] Based on the usage frequency of each program software on the current mobile device, the permission breadth weight of each program software is analyzed;
[0029] Based on the weight of the breadth of permissions for each program software and the levels of all permissions granted, the breadth of users' permission granting habits is analyzed.
[0030] Preferably, the method of automatically sending SMS to obtain the mobile phone number is to analyze the user's permission granting habit breadth based on the permission breadth weight of each program software and the level of all granted permission items, including:
[0031] The product of the minimum value of all permission item levels granted to each program software and the corresponding permission breadth weight is used as the permission granting range value of each program software;
[0032] The ratio of the minimum value of the ranking ordinal numbers of all the permission items to be granted in the permission item level sequence of each software program to the permission granting range value of the corresponding program software is regarded as the breadth of the permission granted by the user to the corresponding program software;
[0033] Based on the breadth of permissions granted by the user to all program software installed under the built-in system of the mobile device, the breadth of the user's permission granting habits is determined.
[0034] Preferably, the method of obtaining a mobile phone number by automatically sending a text message determines the user's habitual breadth of granting permissions based on the user's breadth of permissions granted to all program software installed under the built-in system of the mobile phone device, including:
[0035] Delete the outliers in the broadness of the user's permission granting to all the software installed in the built-in system of the mobile device, and obtain the broadness of all the user's unbiased permission granting;
[0036] The average of all the user's non-biased permission grant breadth is taken as the user's permission grant habitual breadth.
[0037] Preferably, the method of obtaining the mobile phone number by automatically sending a text message, S2023: analyzing the trustworthiness of the alarm program software based on the permission granting information of the alarm program software, comprises:
[0038] Determine all the permission items granted to the alarm program software based on the permission granting information of the alarm program software;
[0039] The ratio of the minimum value of the sorting ordinal numbers of all the permission items to be granted of the alarm program software in the permission item level sequence to the minimum value of the sorting ordinal numbers of all the permission items granted to the alarm program software in the permission item level sequence is taken as the trustworthiness of the alarm program software.
[0040] Preferably, the method of obtaining the mobile phone number by automatically sending SMS, S3: when the user's permission granting habit breadth and the alarm program software's trustworthiness meet the requirements, automatically generate a preset SMS content, and control the mobile device end that triggers the alarm instruction to send the preset SMS content to the communication end of the alarm program software background, including:
[0041] When the user's permission granting habit breadth is not less than the breadth threshold and the trustworthiness of the alarm program software is not less than the trustworthiness threshold, the preset SMS content is automatically generated, and the mobile device end that triggers the alarm command is controlled to send the preset SMS content to the communication end of the alarm program software background.
[0042] The beneficial effects of the present invention compared to the prior art are as follows: when a mobile phone device triggers an alarm instruction at the alarm program software end, the mobile phone number of the mobile phone device end is reasonably obtained according to whether the alarm program software is granted the mobile phone number acquisition permission, and when the alarm program software is not granted the mobile phone number acquisition program, the user's permission granting habit breadth and the alarm program software's trustworthiness are determined based on the program permission granting information at the mobile phone device end, thereby realizing an analysis of the user's permission granting habit for software programs, and when the user's permission granting habit breadth and the alarm program software's trustworthiness meet the requirements, the mobile phone device end is controlled to send the automatically generated preset SMS content to the communication end of the alarm program software background, so as to assist the alarm program software in reasonably obtaining the mobile phone number of the mobile phone device end under the premise of taking into account the user's permission granting habit for software programs.
[0043] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures specifically pointed out in this application document.
[0044] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0045] The accompanying drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation of the present invention. In the accompanying drawings:
[0046] Figure 1 This is a flow chart of a method for obtaining a mobile phone number by automatically sending text messages in an embodiment of the present invention;
[0047] Figure 2 is a flowchart of a specific execution method of step S2 in an embodiment of the present invention;
[0048] Figure 34 is a flowchart of a specific execution method of step S202 in an embodiment of the present invention. DETAILED DESCRIPTION
[0049] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0050] Embodiment 1:
[0051] The present invention provides a method for obtaining a mobile phone number by automatically sending a text message. Figure 1 ,include:
[0052] S1: When the mobile device triggers an alarm command on the alarm program software and the alarm program software is granted the mobile phone number acquisition permission, the mobile phone number of the mobile device that triggers the alarm command is directly acquired;
[0053] S2: When the mobile device triggers an alarm command on the alarm program software and the alarm program software is not granted the mobile phone number access permission, the user's permission granting habit breadth and the alarm program software's trustworthiness are determined based on the program permission granting information on the mobile device;
[0054] S3: When the user's permission granting habit breadth and the alarm program software's trustworthiness meet the requirements, a preset SMS content is automatically generated, and the mobile device end that triggers the alarm command is controlled to send the preset SMS content to the communication end of the alarm program software background;
[0055] S4: Based on the content of the SMS message and the source information of the SMS message received by the communication terminal of the background of the alarm program software, the mobile phone number of the mobile device terminal that triggered the alarm command is obtained.
[0056] In this embodiment, the mobile device end is the mobile phone end on which the program software is running when the user initiates an alarm instruction to the alarm program software end.
[0057] In this embodiment, the alarm program software end is a communication end for receiving an alarm instruction input by a user and a background of the alarm program software that can receive instructions.
[0058] In this embodiment, the alarm instruction is an instruction initiated by the user to the alarm software program for requesting the alarm program software to assist in initiating an alarm.
[0059] In this embodiment, the alarm program software is granted the mobile phone number acquisition authority because the alarm program software is granted the mobile phone number acquisition authority by the user in advance. After being granted the mobile phone number acquisition authority, the alarm program software can directly obtain the mobile phone number of the mobile device at any time.
[0060] In this embodiment, the mobile phone number of the mobile device end is a contactable mobile phone number of the mobile device end that is used by the user to initiate an alarm command to the alarm program software end.
[0061] In this embodiment, the user's permission granting habit breadth represents a numerical value of the comprehensive breadth of the user's permission granting to all program software loaded in the mobile device.
[0062] In this embodiment, the trustworthiness of the alarm program software indicates the degree to which the alarm program software is trusted by the user. The higher the trustworthiness of the alarm program software, the more willing the user is to grant it a higher level of information acquisition authority.
[0063] In this embodiment, the preset SMS content is a SMS content in a preset text format, containing distinguishing information of the mobile device or the user of the mobile device (such as the trigger time and trigger position of the alarm instruction or the user's pre-registration information).
[0064] In this embodiment, the communication terminal of the alarm program software background is a communication terminal belonging to the alarm program software background and dedicated to receiving SMS messages with preset SMS contents sent by all users of the alarm program software via a preset number.
[0065] In this embodiment, based on the SMS content and SMS source information received by the communication terminal of the alarm program software background, the mobile phone number of the mobile device terminal that triggers the alarm instruction is obtained, including:
[0066] Based on the distinguishing information of the mobile device or the user of the mobile device contained in the text message content, it is determined that the text message was sent by which user who triggered the alarm instruction, and the mobile phone number of the corresponding user is obtained based on the text message source information, that is, the mobile phone number in the text message source information can be matched one-to-one with the mobile device that triggered the alarm instruction.
[0067] The beneficial effects of the above technology are: when the mobile device end triggers an alarm instruction on the alarm program software end, the mobile phone number of the mobile device end is reasonably obtained according to whether the alarm program software is granted the mobile phone number acquisition permission, and when the alarm program software is not granted the mobile phone number acquisition program, the user's permission granting habit breadth and the alarm program software's trustworthiness are determined based on the program permission granting information on the mobile device end, thereby realizing an analysis of the user's permission granting habit for software programs, and when the user's permission granting habit breadth and the alarm program software's trustworthiness meet the requirements, the mobile device end is controlled to send the automatically generated preset SMS content to the communication end of the alarm program software background, so as to assist the alarm program software in reasonably obtaining the mobile phone number of the mobile device end under the premise of taking into account the user's permission granting habit for software programs.
[0068] Embodiment 2:
[0069] Based on Example 1, a method for obtaining a mobile phone number by automatically sending a text message, S1: when a mobile device triggers an alarm instruction on an alarm program software side and the alarm program software is granted the mobile phone number acquisition authority, the mobile phone number of the mobile device side that triggers the alarm instruction is directly obtained, including:
[0070] When the mobile device triggers an alarm instruction on the alarm program software and the alarm program software is granted the mobile phone number acquisition authority, the mobile phone number of the mobile device that triggered the alarm instruction is directly acquired based on the mobile phone number acquisition authority granted to the alarm program software.
[0071] The beneficial effect of the above technology is that when the alarm program software is granted the permission to obtain the mobile phone number, when the alarm program software receives the alarm instruction triggered by the mobile phone device, the mobile phone number of the mobile phone device can be directly obtained.
[0072] Embodiment 3:
[0073] Based on Example 1, a method for obtaining a mobile phone number by automatically sending a text message, S2: When the mobile device triggers an alarm instruction on the alarm program software and the alarm program software is not granted the mobile phone number acquisition permission, the user's permission granting habit breadth and the alarm program software's trustworthiness are determined based on the program permission granting information on the mobile device, referring to Figure 2 ,include:
[0074] S201: When the mobile device triggers an alarm instruction on the alarm program software and the alarm program software is not granted the mobile phone number acquisition permission, the permission granting information of all program software installed under the built-in system of the mobile device is obtained as the program permission granting information of the mobile device;
[0075] S202: Determine the breadth of the user's permission granting habits and the trustworthiness of the alarm program software based on the program permission granting information on the mobile device.
[0076] In this embodiment, the permission granting information of the program software includes all information acquisition permission items granted to the program software, such as the permission to access the address book, the permission to access the camera, or the permission to access the photo album on the mobile device.
[0077] The beneficial effect of the above technology is: when the mobile device side triggers an alarm command on the alarm program software side and the alarm program software is not granted permission to obtain the mobile phone number, the program permission granting information of the mobile device side is obtained by obtaining the permission granting information of all program software installed under the built-in system of the mobile device side, and through further analysis of the program permission granting information of the mobile device side, the breadth of the user's permission granting habits and the trustworthiness of the alarm program software are determined.
[0078] Embodiment 4:
[0079] Based on Example 3, the method for obtaining a mobile phone number by automatically sending a text message, S202: determining the breadth of the user's permission granting habits and the trustworthiness of the alarm program software based on the program permission granting information on the mobile device end, including:
[0080] S2021: Analyze the breadth of the user's permission granting habits based on the permission granting information of all program software in the program permission granting information on the mobile device;
[0081] S2022: Obtaining permission information of the alarm program software from the program permission information on the mobile device;
[0082] S2023: Analyze the trustworthiness of the alarm program software based on the permission information of the alarm program software.
[0083] The beneficial effects of the above technology are: by analyzing the permission granting information of all program software in the program permission granting information on the mobile device side, the comprehensive breadth of the user's permission granting habits for all program software loaded in the mobile device side is determined, and by analyzing the permission granting information of the alarm program software, the degree of trust of the alarm program software by the user is determined.
[0084] Embodiment 5:
[0085] Based on Example 4, the method for obtaining a mobile phone number by automatically sending a text message, S2021: based on the permission granting information of all program software in the program permission granting information on the mobile device, analyzing the breadth of the user's permission granting habits, including:
[0086] Determine all permissions to be granted for all program software;
[0087] Based on the permission granting information of all program software in the program permission granting information on the mobile device, all the granted permission items of each program software are determined;
[0088] Based on all the granted permission items of all software programs, determine the number of all program software granted to each permission item to be granted, and use the ratio of the total number of all program software granted to each permission item to be granted to the total number of all program software corresponding to the permission item to be granted as the user's permission for each permission item to be granted;
[0089] Based on the permission level from small to large, the permission items to be granted of all program software are sorted to obtain the permission item level sequence;
[0090] Based on the permission item level sequence and all granted permission items of each program software, the breadth of the user's permission granting habits is analyzed.
[0091] In this embodiment, all the permission items to be granted of the program software are all the information acquisition permission items that need to be granted by the user when the program software runs all functions.
[0092] In this embodiment, all the granted permission items of the program software are all the information acquisition permission items that have been currently granted to the program software by the user.
[0093] In this embodiment, the number of all program softwares to which the permission item to be granted is the total number of all program softwares installed in the system of the mobile device to which the permission item to be granted is granted.
[0094] In this embodiment, the total number of all program software to be granted permission items is the total number of all program software installed in the system of the mobile device end, which need to be granted by the user for the permission items to be granted.
[0095] In this embodiment, the permission level of the permission item to be granted is a numerical value indicating the degree to which the user allows the permission item to be granted to be granted, taking into account all program software.
[0096] The beneficial effects of the above technology are: through all the permission items to be granted of all program software and all the granted permission items of all program software, the number of all program software granted to each permission item to be granted and the total number of all program software to each permission item to be granted are accurately quantified, and by taking the ratio between the two, the degree to which the user allows the permission item to be granted is accurately determined in the case of considering all program software, and further based on the degree of permission, the permission items to be granted of all program software are sorted to obtain a permission item level sequence, and based on the permission item level sequence and all the granted permission items of each program software, the breadth of the user's permission granting habits is determined.
[0097] Embodiment 6:
[0098] On the basis of Example 5, the method of automatically sending SMS to obtain the mobile phone number is used to analyze the breadth of the user's permission granting habits based on the permission item level sequence and all the granted permission items of each program software, including:
[0099] The ranking ordinal numbers of all the permission items granted to each program software in the permission item level sequence are regarded as the levels of all the permission items granted to each program software;
[0100] Based on the usage frequency of each program software on the current mobile device, the permission breadth weight of each program software is analyzed;
[0101] Based on the weight of the breadth of permissions for each program software and the levels of all permissions granted, the breadth of users' permission granting habits is analyzed.
[0102] In this embodiment, the method for obtaining the usage frequency of each program software on the current mobile device terminal includes:
[0103] Input the usage record data of all program software (including the start and end time of each usage process of each program software on the mobile device end by the user up to the current time) into the preset usage frequency quantification model to obtain the usage frequency of each program software on the current mobile device end;
[0104] Among them, the preset usage frequency quantification model is a model obtained after training the neural network model by using the usage record data of all program software on different mobile phone devices and the usage record data of each program software manually analyzed based on the usage record data as model input and model output respectively.
[0105] In this embodiment, based on the usage frequency of each program software on the current mobile device, the permission breadth weight of each program software is analyzed, including:
[0106] The ratio of the usage frequency of each program software on the current mobile device to the sum of the usage frequencies of all program software on the current mobile device is used as the permission breadth weight of each program software.
[0107] In this embodiment, the weight of the breadth of permission of a program software indicates the weight of the permission granting situation of a single program software when determining the breadth of the permission granting habit of a user.
[0108] The beneficial effects of the above technology are: based on the ranking ordinal number of all granted permission items of each program software in the permission item level sequence, the level of all permission items granted to each program software is determined, and based on the frequency of use of each program software on the current mobile device, the permission breadth weight of each program software is analyzed, and finally, based on the permission breadth weight of each program software and the level of all granted permission items, the user's permission granting habit breadth is analyzed.
[0109] Embodiment 7:
[0110] On the basis of Example 6, the method of automatically sending SMS to obtain the mobile phone number is used to analyze the user's permission granting habit breadth based on the permission breadth weight of each program software and the level of all granted permission items, including:
[0111] The product of the minimum value of all permission item levels granted to each program software and the corresponding permission breadth weight is used as the permission granting range value of each program software;
[0112] The ratio of the minimum value of the ranking ordinal numbers of all the permission items to be granted in the permission item level sequence of each software program to the permission granting range value of the corresponding program software is regarded as the breadth of the permission granted by the user to the corresponding program software;
[0113] Based on the breadth of permissions granted by the user to all program software installed under the built-in system of the mobile device, the breadth of the user's permission granting habits is determined.
[0114] In this embodiment, the permission granting range value of the program software is a relative value of the level range of the permission items granted to a single program software in the user's permission granting customary breadth calculated in consideration of the permission breadth weight.
[0115] In this embodiment, the breadth of the permissions granted by the user to the corresponding program software represents the relative numerical value of the level of permissions granted by the user to a single program software.
[0116] The beneficial effects of the above technology are: it realizes accurate calculation of the permission granting range value of each program software under the permission breadth weight of each program software, and further calculates the user's permission granting breadth to each program software, and finally accurately determines the user's permission granting habit breadth based on the user's permission granting breadth to all program software installed under the built-in system of the mobile device.
[0117] Embodiment 8:
[0118] On the basis of Example 7, the method of automatically sending SMS to obtain the mobile phone number is based on the user's permission granting breadth to all program software installed in the built-in system of the mobile phone device, and the user's permission granting habit breadth is determined, including:
[0119] Delete the outliers in the broadness of the user's permission granting to all the software installed in the built-in system of the mobile device, and obtain the broadness of all the user's unbiased permission granting;
[0120] The average of all the user's non-biased permission grant breadth is taken as the user's permission grant habitual breadth.
[0121] In this embodiment, outliers in the breadth of the user's permission granting to all program software installed in the built-in system of the mobile device are deleted, including:
[0122] Calculate the average of all the permission granting breadths except the breadth of each permission granting breadth among the permission granting breadths of all the programs and software installed under the built-in system of the mobile device by the user, as the reference value of the corresponding permission granting breadth, and take the difference between each permission granting breadth and the corresponding reference value and the ratio of the corresponding reference value as the degree of outlier of each permission granting breadth;
[0123] All permission granting broadnesses with outlier degrees greater than a threshold (a preset threshold for screening outliers in the permission granting broadnesses of all program software) are regarded as outliers.
[0124] The beneficial effect of the above technology is: by removing outliers and averaging the breadth of permissions granted by users to all program software installed under the built-in system of the mobile device, the habitual breadth of permission granting is obtained, which can accurately represent the comprehensive breadth of permissions granted by users to all program software loaded in the mobile device.
[0125] Embodiment 9:
[0126] Based on Example 5, the method for obtaining a mobile phone number by automatically sending a text message, S2023: analyzing the trustworthiness of the alarm program software based on the permission granting information of the alarm program software, including:
[0127] Determine all the permission items granted to the alarm program software based on the permission granting information of the alarm program software;
[0128] The ratio of the minimum value of the sorting ordinal numbers of all the permission items to be granted of the alarm program software in the permission item level sequence to the minimum value of the sorting ordinal numbers of all the permission items granted to the alarm program software in the permission item level sequence is taken as the trustworthiness of the alarm program software.
[0129] The beneficial effect of the above technology is: based on the sorting ordinal numbers corresponding to all the permission items to be granted of the alarm program software in the permission item level sequence and the sorting ordinal numbers corresponding to all the permission items granted to the alarm program software in the permission item level sequence, the trustworthiness of the alarm program software is accurately determined.
[0130] Embodiment 10:
[0131] Based on Example 1, the method for obtaining a mobile phone number by automatically sending a text message, S3: when the user's permission granting habit breadth and the trustworthiness of the alarm program software meet the requirements, the preset text message content is automatically generated, and the mobile device end that triggers the alarm instruction is controlled to send the preset text message content to the communication end of the alarm program software background, including:
[0132] When the user's permission granting habit breadth is not less than the breadth threshold and the trustworthiness of the alarm program software is not less than the trustworthiness threshold, the preset SMS content is automatically generated, and the mobile device end that triggers the alarm command is controlled to send the preset SMS content to the communication end of the alarm program software background.
[0133] In this embodiment, the breadth threshold is a threshold that cannot be less than when determining whether the breadth of the user's permission granting habits meets the requirement.
[0134] In this embodiment, the trustworthiness threshold is a threshold that cannot be less than when determining whether the trustworthiness of the alarm program software meets the requirements.
[0135] The beneficial effect of the above technology is: clarifying the specific judgment conditions for judging whether the user's permission granting habits are broad and the trustworthiness of the alarm program software meets the requirements.
[0136] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A method for obtaining a mobile phone number by automatically sending a text message, characterized in that: include: S1: When the mobile device triggers an alarm command on the alarm program software and the alarm program software is granted the mobile phone number acquisition permission, the mobile phone number of the mobile device that triggers the alarm command is directly acquired; S2: When the mobile device triggers an alarm command on the alarm program software and the alarm program software is not granted the mobile phone number access permission, the user's permission granting habit breadth and the alarm program software's trustworthiness are determined based on the program permission granting information on the mobile device; S3: When the user's permission granting habit breadth and the alarm program software's trustworthiness meet the requirements, a preset SMS content is automatically generated, and the mobile device end that triggers the alarm command is controlled to send the preset SMS content to the communication end of the alarm program software background; S4: Based on the content of the SMS message and the source information of the SMS message received by the communication terminal of the background of the alarm program software, the mobile phone number of the mobile device terminal that triggered the alarm command is obtained.
2. The method for obtaining a mobile phone number by automatically sending a text message according to claim 1, characterized in that: S1: When the mobile device triggers an alarm command on the alarm program software and the alarm program software is granted the mobile phone number acquisition permission, the mobile phone number of the mobile device that triggers the alarm command is directly acquired, including: When the mobile device triggers an alarm instruction on the alarm program software and the alarm program software is granted the mobile phone number acquisition authority, the mobile phone number of the mobile device that triggered the alarm instruction is directly acquired based on the mobile phone number acquisition authority granted to the alarm program software.
3. The method for obtaining a mobile phone number by automatically sending a text message according to claim 1, characterized in that: S2: When the mobile device triggers an alarm command on the alarm program software and the alarm program software is not granted the permission to obtain the mobile phone number, the user's permission granting habits and the trustworthiness of the alarm program software are determined based on the program permission granting information on the mobile device, including: S201: When the mobile device triggers an alarm instruction on the alarm program software and the alarm program software is not granted the mobile phone number acquisition permission, the permission granting information of all program software installed under the built-in system of the mobile device is obtained as the program permission granting information of the mobile device; S202: Determine the breadth of the user's permission granting habits and the trustworthiness of the alarm program software based on the program permission granting information on the mobile device.
4. The method for obtaining a mobile phone number by automatically sending a text message according to claim 3, characterized in that: S202: Determine the breadth of the user's permission granting habits and the trustworthiness of the alarm program software based on the program permission granting information on the mobile device, including: S2021: Analyze the breadth of the user's permission granting habits based on the permission granting information of all program software in the program permission granting information on the mobile device; S2022: Obtaining permission information of the alarm program software from the program permission information on the mobile device; S2023: Analyze the trustworthiness of the alarm program software based on the permission information of the alarm program software.
5. The method for obtaining a mobile phone number by automatically sending a text message according to claim 4, characterized in that: S2021: Based on the permission granting information of all program software in the program permission granting information on the mobile device, analyze the breadth of the user's permission granting habits, including: Determine all permissions to be granted for all program software; Based on the permission granting information of all program software in the program permission granting information on the mobile device, all the granted permission items of each program software are determined; Based on all the granted permission items of all software programs, determine the number of all program software granted to each permission item to be granted, and use the ratio of the total number of all program software granted to each permission item to be granted to the total number of all program software corresponding to the permission item to be granted as the user's permission for each permission item to be granted; Based on the permission level from small to large, the permission items to be granted of all program software are sorted to obtain the permission item level sequence; Based on the permission item level sequence and all granted permission items of each program software, the breadth of the user's permission granting habits is analyzed.
6. The method for obtaining a mobile phone number by automatically sending a text message according to claim 5, characterized in that: Based on the permission item level sequence and all the permission items granted to each program software, the breadth of the user's permission granting habits is analyzed, including: The ranking ordinal numbers of all the permission items granted to each program software in the permission item level sequence are regarded as the levels of all the permission items granted to each program software; Based on the usage frequency of each program software on the current mobile device, the permission breadth weight of each program software is analyzed; Based on the weight of the breadth of permissions for each program software and the levels of all permissions granted, the breadth of users' permission granting habits is analyzed.
7. The method for obtaining a mobile phone number by automatically sending a text message according to claim 6, characterized in that: Based on the weight of each program's permission breadth and the level of all granted permissions, the user's permission granting habit breadth is analyzed, including: The product of the minimum value of all permission item levels granted to each program software and the corresponding permission breadth weight is used as the permission granting range value of each program software; The ratio of the minimum value of the ranking ordinal numbers of all the permission items to be granted for each software program in the permission item level sequence to the permission granting range value of the corresponding program software is regarded as the breadth of the permission granted by the user to the corresponding program software; Based on the breadth of permissions granted by the user to all program software installed under the built-in system of the mobile device, the breadth of the user's permission granting habits is determined.
8. The method for obtaining a mobile phone number by automatically sending a text message according to claim 7, characterized in that: Based on the breadth of permissions granted by users to all software installed in the built-in system of the mobile device, the breadth of the user's permission granting habits is determined, including: Delete the outliers in the broadness of the user's permission granting to all programs and software installed under the built-in system of the mobile device, and obtain the broadness of all the user's unbiased permission granting; The average of all the non-biased permission granting breadths of the user is taken as the user's permission granting habitual breadth.
9. The method for obtaining a mobile phone number by automatically sending a text message according to claim 5, characterized in that: S2023: Analyze the trustworthiness of the alarm program software based on the permission information of the alarm program software, including: Determine all the permission items granted to the alarm program software based on the permission granting information of the alarm program software; The ratio of the minimum value of the sorting ordinal numbers of all the permission items to be granted of the alarm program software in the permission item level sequence to the minimum value of the sorting ordinal numbers of all the permission items granted to the alarm program software in the permission item level sequence is taken as the trustworthiness of the alarm program software.
10. The method for obtaining a mobile phone number by automatically sending a text message according to claim 1, characterized in that: S3: When the user's permission granting habit breadth and the alarm program software's trustworthiness meet the requirements, the preset SMS content is automatically generated, and the mobile device end that triggers the alarm command is controlled to send the preset SMS content to the communication end of the alarm program software background, including: When the user's permission granting habit breadth is not less than the breadth threshold and the trustworthiness of the alarm program software is not less than the trustworthiness threshold, the preset SMS content is automatically generated, and the mobile device end that triggers the alarm command is controlled to send the preset SMS content to the communication end of the alarm program software background.
