Method and device for determining user broadband network
By obtaining the user's location and mobile network traffic within a specific time interval, the resident location and wireless network connection status are determined, and combined with the construction of a family circle, the problem of low broadband identification accuracy in traditional methods is solved and higher identification is achieved. accuracy.
Patent Information
- Application Number
- CN202410749380.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-11
- Publication Date
- 2024-10-11
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The traditional method of identifying different network broadband has low accuracy and cannot accurately determine the time of user line switching and broadband type, resulting in low identification accuracy.
By obtaining the user's location and mobile network traffic within a specific time interval, the resident location and wireless network connection status are determined, and combined with the construction of the family circle, the broadband type of the user's connection is determined.
It improves the accuracy of location positioning and judgment of wireless network connection status, and enhances the accuracy of different network broadband identification.
Smart Images

Figure CN118764848A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a method and device for determining a user broadband network. Background Art
[0002] Traditional methods for identifying inter-network broadband generally use features such as mobile traffic and broadband traffic conversion at time nodes and the services that users have already completed as positive samples for machine learning training to identify inter-network broadband. However, the time when each user switches traffic lines is not fixed every day, so it is impossible to accurately determine the time when the user switches lines and the type of broadband; and it is not accurate to determine the type of broadband that the user switches based on the services that the user has already completed, which leads to a low accuracy rate in identifying inter-network broadband. Summary of the invention
[0003] In view of the above problems, embodiments of the present application provide a method and device for determining a user broadband network that overcomes the above problems or at least partially solves the above problems.
[0004] In a first aspect, an embodiment of the present invention provides a method for determining a user broadband network, the method comprising:
[0005] Obtaining a location and used mobile network traffic of the first user in a first time interval;
[0006] determining a permanent location of the first user according to the location of the first user in the first time interval;
[0007] Determining a wireless network connection state of the first user at the permanent location according to the permanent location of the first user and the mobile network traffic of the first user in the first time interval;
[0008] When the wireless network connection state of the first user at the permanent location is connected, obtaining a target location where a broadband of a target type is installed in the home circle of the first user;
[0009] The type of broadband to which the first user is connected at the permanent location is determined according to the permanent location of the first user and the target location.
[0010] Optionally, determining the permanent location of the first user according to the location of the first user in the first time interval includes:
[0011] Extracting the position of the first user in a preset time interval from the positions in the first time interval, the preset time interval being a time interval within the first time interval;
[0012] Obtaining the grid to which each position of the first user within the preset time interval belongs;
[0013] Determine the average value of the positions in the target grid as the permanent location of the first user;
[0014] In the case that the number of grids to which the position of the first user in the preset time interval belongs is multiple, the target grid is the grid with the largest number of positions among the multiple grids.
[0015] Optionally, obtaining the location and used mobile network traffic of the first user in the first time interval includes:
[0016] Obtain a first time interval, and divide the first time interval into M second time intervals according to a preset time interval, where M is an integer greater than 1;
[0017] Obtaining the location and mobile network traffic of the first user in each second time interval;
[0018] Calculate the mobile network traffic and value and the location average of the first user in each second time interval;
[0019] Determine the mobile network traffic sum value as the mobile network traffic corresponding to the second time interval, and determine the location average value as the location corresponding to the second time interval;
[0020] The mobile network traffic and the position corresponding to the M second time intervals are combined to form the position and mobile network traffic of the first user in the first time interval.
[0021] Optionally, combining the mobile network traffic and the positions corresponding to the M second time intervals to form the position and mobile network traffic of the first user in the first time interval includes:
[0022] In the case where the position and / or mobile network traffic corresponding to the third time interval among the M second time intervals is missing, obtaining the position and / or mobile network traffic corresponding to N second time intervals adjacent to the third time interval, where N is an integer greater than 1;
[0023] Filling the missing positions and / or mobile network traffic of the third time interval according to the positions and / or mobile network traffic corresponding to the N second time intervals;
[0024] The positions and mobile network traffic corresponding to the M second time intervals are combined to form the position and mobile network traffic of the first user in the first time interval.
[0025] Optionally, filling the missing position and / or mobile network traffic of the third time interval according to the positions and / or mobile network traffic corresponding to the N second time intervals includes:
[0026] In a case where the positions and / or mobile network traffic corresponding to the N second time intervals are missing, keeping the positions and / or mobile network traffic missing in the third time interval in a missing state;
[0027] In a case where there are positions and / or mobile network traffic corresponding to P second time intervals among the N second time intervals that are not missing, filling the missing positions and / or mobile network traffic of the third time interval according to the positions and / or mobile network traffic corresponding to the fourth time interval among the P second time intervals, where P is a positive integer less than or equal to N;
[0028] Wherein, when P is greater than or equal to 2, and the P second time intervals are all before or after the third time interval, the fourth time interval represents the second time interval that is closest to the third time interval among the P second time intervals;
[0029] When P is greater than or equal to 2, and a portion of the P second time intervals is before the third time interval and another portion is after the third time interval, the fourth time interval represents the second time interval among the P second time intervals that is before the third time interval and closest to the third time interval, and the second time interval among the P second time intervals that is after the third time interval and closest to the third time interval.
[0030] Optionally, determining the wireless network connection state of the first user at the permanent location according to the permanent location of the first user and the mobile network traffic of the first user in the first time interval includes:
[0031] According to the permanent location of the first user, dividing the mobile network traffic of the first user in the first time interval into permanent traffic and non-permanent traffic;
[0032] When the ratio of the sum of the resident traffic to the sum of the non-resident traffic is less than a preset ratio, determining that the wireless network connection state of the first user at the resident location is a connected state;
[0033] When the ratio of the sum of the resident traffic to the sum of the non-resident traffic is greater than or equal to the preset ratio, it is determined that the wireless network connection state of the first user at the resident location is a disconnected state.
[0034] Optionally, dividing the mobile network traffic of the first user in the first time interval into resident traffic and non-resident traffic according to the resident location of the first user includes:
[0035] Calculating an average value and a variance of the mobile network traffic of the first user in the first time interval;
[0036] When the average value and the variance meet a preset condition, the mobile network traffic of the first user in the first time interval is divided into resident traffic and non-resident traffic according to the resident location of the first user.
[0037] Optionally, the determining, according to the permanent location of the first user and the target location, a type of broadband connected to the first user at the permanent location includes:
[0038] When the distance between the permanent location and the target location is greater than a preset distance, obtaining the location of the permanent location and the location of the target location;
[0039] In a case where the home location of the permanent location and the home location of the target location are the same home location, determining that the broadband type connected to the first user at the permanent location is the target type;
[0040] In a case where the home location of the permanent location and the home location of the target location are not the same home location, it is determined that the broadband type connected to the first user at the permanent location is a non-target type.
[0041] In a second aspect, an embodiment of the present invention further provides a device for determining a user broadband network, the device comprising:
[0042] A first acquisition module, used to acquire a location and used mobile network traffic of a first user within a first time interval;
[0043] A first determining module, configured to determine a permanent location of the first user according to the location of the first user in the first time interval;
[0044] A second determination module, configured to determine a wireless network connection state of the first user at the permanent location according to the permanent location of the first user and the mobile network traffic of the first user in the first time interval;
[0045] A second acquisition module is used to acquire a target location for installing a target type of broadband in a home circle of the first user when the wireless network connection state of the first user at the permanent location is connected;
[0046] The third determination module is used to determine the type of broadband connected to the first user at the permanent location according to the permanent location of the first user and the target location.
[0047] In a third aspect, an embodiment of the present invention further provides an electronic device, including a memory, a transceiver, and a processor:
[0048] A memory for storing a computer program; a transceiver for sending and receiving data under the control of a processor; and a processor for reading the computer program in the memory and executing the method as described in the first aspect above.
[0049] In a fourth aspect, an embodiment of the present invention further provides a processor-readable storage medium, wherein the processor-readable storage medium stores a computer program, and the computer program is used to enable a processor to execute the method described in the first aspect above.
[0050] In the above embodiment of the present invention, by obtaining the location of the first user in the first time interval and the mobile network traffic used, the permanent location of the first user is determined according to the location of the first user in the first time interval, that is, through all the locations of the first user in the first time interval, the location and location movement information of the first user can be known, and the permanent location of the first user can be determined from multiple aspects of time and location, thereby improving the accuracy of location positioning. Then, according to the permanent location of the first user and the usage and usage change of the mobile network traffic of the first user in the first time interval, the wireless network connection status of the first user at the permanent location is determined, that is, through the determined permanent location and mobile network traffic, it can be determined whether the mobile network traffic of the first user changes in the permanent location, and then it can be determined whether the first user is connected to the wireless network in the permanent location, and whether to switch the wireless network is no longer determined solely based on the traffic switching, so that the accuracy of the judgment structure is higher. Then, when the wireless network connection status of the first user at the permanent location is connected, the target location of the target type of broadband installed in the family circle where the first user is located is obtained, and the type of broadband connected to the first user at the permanent location is determined based on the permanent location of the first user and the target location. That is, the type of wireless network connected to the first user is judged through the family circle, which improves the accuracy of identifying broadband of other networks. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0052] Figure 1 A flowchart of a method for determining a user broadband network provided by an embodiment of the present invention;
[0053] Figure 2 A schematic diagram of mobile network traffic of a first user in a permanent location and a non-resident location provided by an embodiment of the present invention;
[0054] Figure 3 A schematic diagram of constructing a family circle provided by an embodiment of the present invention;
[0055] Figure 4 A schematic diagram of the locations of the third time interval and the fourth time interval provided in an embodiment of the present invention;
[0056] Figure 5 One of the schematic diagrams of the relationship between the second time interval and the mobile network traffic provided by the embodiment of the present invention;
[0057] Figure 6 A second schematic diagram of the relationship between the second time interval and the mobile network traffic provided by an embodiment of the present invention;
[0058] Figure 7 One of the schematic diagrams of the relationship between the second time interval and the number of days at home and the number of days away from home provided by the embodiment of the present invention;
[0059] Figure 8 A second schematic diagram of the relationship between the second time interval and the number of days at home and the number of days away from home provided by the embodiment of the present invention;
[0060] Fig. 9 A schematic diagram of the positions of the grid where the permanent location is located and the surrounding grids provided in an embodiment of the present invention;
[0061] Fig.10 A specific flow chart of a method for determining a user broadband network provided by an embodiment of the present invention;
[0062] Fig.11 A structural block diagram of a device for determining a user broadband network provided by an embodiment of the present invention
[0063] Fig.12 This is a structural block diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0064] The following will be combined with the drawings in the embodiments of the present invention to clearly describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of this application.
[0065] The terms "first", "second", etc. in the specification and claims of the present invention are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first", "second", etc. are generally of the same type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0066] The method for determining a user broadband network provided by the embodiment of the present invention is described in detail below through specific embodiments and application scenarios in conjunction with the accompanying drawings.
[0067] Specifically, an embodiment of the present invention provides a method for determining a user broadband network, which is applied to a server, such as Figure 1 As shown, the following steps may be specifically included:
[0068] Step 101: Obtain a location and used mobile network traffic of a first user in a first time interval.
[0069] Specifically, the location refers to the longitude and latitude of the first user, and each location also corresponds to a time, that is, the location of the first user at XX time. Mobile network traffic refers to the cellular network traffic generated by the user's mobile terminal through APP use, web browsing, email and other behaviors. The first time interval is a time period. Since the work and life of the first user are more regular during weekdays, it is preferred to set the first time interval to the weekday time within a time period. For example: the first time interval is the weekday time in three consecutive months.
[0070] Step 102: Determine the permanent location of the first user according to the location of the first user in the first time interval.
[0071] Specifically, the position and movement information of the first user can be known through all positions of the first user in the first time interval, and the permanent location of the first user can be comprehensively determined from multiple aspects of time and position, thereby improving the accuracy of position positioning.
[0072] Step 103: Determine a wireless network connection state of the first user at the permanent location according to the permanent location of the first user and the mobile network traffic of the first user in the first time interval.
[0073] Specifically, according to the first user's permanent location and the first user's mobile network traffic usage and usage changes in the first time interval, it is determined whether the first user's mobile network traffic changes in the permanent location, and then it is determined whether the first user is connected to a wireless network in the permanent location, instead of judging whether to switch the wireless network based solely on traffic switching, so that the judgment structure is more accurate. Figure 2 As shown, the first user needs to use mobile network traffic after going out, so the usage of mobile network traffic presents a fluctuating curve S1. When the first user returns to the permanent residence (i.e., the first user goes home), the mobile network traffic usage of the first user decreases significantly, as shown in curve S2, and it can be determined that the first user is connected to the wireless network at the permanent residence, that is, the wireless network connection state of the first user at the permanent residence is connected.
[0074] Step 104 : when the wireless network connection state of the first user at the permanent location is connected, obtain a target location for installing a target type of broadband in the home circle of the first user.
[0075] Specifically, if the wireless network connection status of the first user at the permanent location is connected, it means that the user switches the mobile network to the wireless network. At this time, the family circle where the first user is located can be obtained, and it can be determined whether each member in the family circle has applied for the target type of broadband. If the first user or other members of the family circle have applied for the target type of broadband, the target location for installing the target type of broadband is obtained, thereby determining all locations of the target type of broadband service applied for by the family circle where the first user is located.
[0076] The process of constructing the family circle includes: obtaining the service package data of the first user, the basic information of the first user, and the financial bill data of the first sub-user, and constructing the family circle of the first user through the service package data, basic information, and financial bill data. Figure 3 As shown, users with the same ID, bill, package or other strong association with the first user are merged into the same family circle. The members of the first user's family circle have 3 broadbands, which are installed in different areas. Specifically, the family circle device composition is constructed based on the service side package data, user basic information and financial bill data, and the data structure is designed with the concept of graph theory using the programming language Python code. The first user's device is selected as the base point based on the established business rules, and the database is traversed. Strongly associated devices that meet the conditions are continuously added and truncation conditions are set. The optical branching device (OBD) of the broadband connection is rasterized to realize the first user's family circle composition and broadband location acquisition, and obtain the first user's family dimension device view.
[0077] Among them, OBD is a passive device used for optical signal distribution and branching in optical fiber communication systems. OBD can divide an optical signal into multiple optical signals for use by multiple users or devices. OBD usually consists of multiple input ports and multiple output ports, and can distribute optical signals from input ports to different output ports as needed. The broadband end of the user will be connected to the OBD of the building, and OBD has its specific latitude and longitude information as a resource maintenance.
[0078] Step 105: Determine the type of broadband to which the first user is connected at the permanent location according to the permanent location of the first user and the target location.
[0079] Specifically, through the target location of the target type of broadband service handled by the family circle where the first user is located and the permanent location of the first user, it can be determined whether the first user's permanent location handles the target type of broadband service, and then the type of wireless network connected to the first user is determined, thereby achieving the accuracy of cross-network broadband identification. Among them, non-target type broadband is regarded as cross-network broadband.
[0080] In the above embodiment of the present invention, by obtaining the location of the first user in the first time interval and the mobile network traffic used, the permanent location of the first user is determined according to the location of the first user in the first time interval, that is, through all the locations of the first user in the first time interval, the location and location movement information of the first user can be known, and the permanent location of the first user can be determined from multiple aspects of time and location, thereby improving the accuracy of location positioning. Then, according to the permanent location of the first user and the usage and usage change of the mobile network traffic of the first user in the first time interval, the wireless network connection status of the first user at the permanent location is determined, that is, through the determined permanent location and mobile network traffic, it can be determined whether the mobile network traffic of the first user changes in the permanent location, and then it can be determined whether the first user is connected to the wireless network in the permanent location, and whether to switch the wireless network is no longer determined solely based on the traffic switching, so that the accuracy of the judgment structure is higher. Then, when the wireless network connection status of the first user at the permanent location is connected, the target location of the target type of broadband installed in the family circle where the first user is located is obtained, and the type of broadband connected to the first user at the permanent location is determined based on the permanent location of the first user and the target location. That is, the type of wireless network connected to the first user is judged through the family circle, thereby achieving accurate identification of broadband on other networks.
[0081] As an optional specific embodiment, the step 101 of obtaining the location and used mobile network traffic of the first user in the first time interval includes:
[0082] Obtain a first time interval, and divide the first time interval into M second time intervals according to a preset time interval, where M is an integer greater than 1;
[0083] Obtaining the location and mobile network traffic of the first user in each second time interval;
[0084] Calculate the mobile network traffic and value and the location average of the first user in each second time interval;
[0085] Determine the mobile network traffic sum value as the mobile network traffic corresponding to the second time interval, and determine the location average value as the location corresponding to the second time interval;
[0086] The mobile network traffic and the position corresponding to the M second time intervals are combined to form the position and mobile network traffic of the first user in the first time interval.
[0087] Specifically, the original position and the used mobile network traffic corresponding to the first time interval and each time point in the first time interval are obtained. There is no unified measurement for the original position and mobile network traffic, and the measurement report (MR) data is also sampled by the base station. The actual operation conditions such as the base station load cannot be collected in full and continuously. The user's original position and mobile network traffic have defects in time continuity and spatial continuity, and the MR data also has the problem of insufficient correlation with DPI (Dots Per Inch) and insufficient coverage of missing samples.
[0088] In order to set a statistical method for mobile network traffic and location with uniform granularity, the first time interval is divided according to a preset time interval to obtain M second time intervals, and the location and mobile network traffic in each second time interval are obtained. This is equivalent to dividing the original position in the first time interval according to the preset time interval to obtain the positions corresponding to the M second time intervals, and dividing the original mobile network traffic in the first time interval according to the preset time interval to obtain the mobile network traffic corresponding to the M second time intervals.
[0089] Since there may be multiple locations corresponding to multiple time points and mobile network information corresponding to multiple time points within a second time interval, in order to unify the time of the location and mobile network traffic, the same time interval is coupled, that is, the mobile network traffic in one of the second time intervals is added to obtain the mobile network traffic sum value, and the mobile network traffic sum value is used as the mobile network traffic corresponding to the second time interval; and the longitude and latitude of the location in the above second time interval are added and the average value is calculated to obtain the location average value, and the location average value is used as the location corresponding to the second time interval. In the above manner, the mobile network traffic and location corresponding to each second time interval are calculated. Among them, each second time interval corresponds to a timestamp, and the timestamp represents the corresponding second time interval.
[0090] For example, the location and mobile network traffic in the first time interval are described by the following Table 1:
[0091] Table 1 Location and mobile network traffic in the first time interval
[0092] User Number Second time interval Location Mobile network traffic 177XXXX 202312081550 106.5658,29.5088 0.07 177XXXX 202312081600 106.5906,29.5199 12.00 177XXXX 202312081610 177XXXX 202312081620 106.5732,29.4769 69.00
[0093] Among them, 202312081550 is the timestamp of 15:50 on December 8, 2023. The second time interval corresponding to this timestamp is 15:50 and 15:59, that is, the sum of the mobile network traffic between 15:50 and 15:59 (0.07GB) is the mobile network traffic corresponding to the second time interval from 15:50 to 15:59; the average value of all locations between 15:50 and 15:59 (longitude 106.5658 latitude 29.5088) is the position corresponding to the second time interval from 15:50 to 15:59.
[0094] Similarly, 202312081600 is the timestamp of 16:00 on December 8, 2023, and the second time interval corresponding to this timestamp is 16:00 and 16:09, that is, the sum of the mobile network traffic between 16:00 and 16:09 (12GB) is the mobile network traffic corresponding to the second time interval from 16:00 to 16:09; the average value of all locations between 16:00 and 16:09 (longitude 106.5906 latitude 29.5199) is the position corresponding to the second time interval from 16:00 to 16:09.
[0095] Similarly, 202312081610 is the timestamp of 16:10 on December 8, 2023. The second time interval corresponding to this timestamp is 16:10 and 16:19. There is a lack of mobile network traffic between 16:10 and 16:19; there is a lack of position between 16:10 and 16:19.
[0096] Similarly, 202312081620 is the timestamp of 16:20 on December 8, 2023. The second time interval corresponding to this timestamp is 16:20 and 16:29, that is, the sum of the mobile network traffic between 16:20 and 16:29 (69GB) is the mobile network traffic corresponding to the second time interval from 16:20 to 16:29; the average value of all locations between 16:20 and 16:29 (longitude 106.5732 latitude 29.4769) is the position corresponding to the second time interval from 16:20 to 16:29.
[0097] As an optional specific embodiment, the step of combining the mobile network traffic and the position corresponding to the M second time intervals to form the position and mobile network traffic of the first user in the first time interval specifically includes:
[0098] In the case where the position and / or mobile network traffic corresponding to the third time interval among the M second time intervals is missing, obtaining the position and / or mobile network traffic corresponding to N second time intervals adjacent to the third time interval, where N is an integer greater than 1;
[0099] Filling the missing positions and / or mobile network traffic of the third time interval according to the positions and / or mobile network traffic corresponding to the N second time intervals;
[0100] The positions and mobile network traffic corresponding to the M second time intervals are combined to form the position and mobile network traffic of the first user in the first time interval.
[0101] Specifically, from Table 1, we can get how much mobile network traffic the first user used at each moment. Here we can also see the discontinuity of MR data, as well as the sparseness and sporadic nature of business traffic. The reasons for missing information may be: user shutdown, wandering out of other provinces, MR data not collected, MR data association failure and other factors, resulting in the loss of location and / or mobile network traffic, especially at night when the first user is not active. The loss is serious, affecting the subsequent first user behavior analysis and permanent location positioning. Therefore, if the location and / or mobile network traffic corresponding to the third time interval in the M second time intervals is missing, it is necessary to obtain the location and / or mobile network traffic corresponding to the N second time intervals adjacent to the third time interval, and fill in the missing location and / or mobile network traffic of the third time interval according to the location and / or mobile network traffic corresponding to the N second time intervals adjacent to the third time interval. In the above manner, all missing locations and / or mobile network traffic are backfilled, thereby obtaining the complete location and mobile network traffic in the first time interval.
[0102] It should be noted that if the position corresponding to the third time interval is missing, the positions corresponding to the N second time intervals adjacent to the third time interval are obtained, and the missing position of the third time interval is backfilled according to the positions corresponding to the N second time intervals adjacent to the third time interval. If the mobile network traffic corresponding to the third time interval is missing, the mobile network traffic corresponding to the N second time intervals adjacent to the third time interval is obtained, and the missing mobile network traffic of the third time interval is backfilled according to the mobile network traffic corresponding to the N second time intervals adjacent to the third time interval.
[0103] The number of N can be pre-set or the number of second time intervals between the first time point and the second time point. The first time point represents the time point of the third time interval pushed forward by the first duration, and the second time point represents the time point of the third time interval pushed backward by the first duration. For example: the third time interval is from 16:00 to 16:09, and the first duration is 3 hours, then the first time point is the time point pushed forward by 16:00 for 3 hours, that is, the first time point is 13:00; the second time point is the time point pushed backward by 16:09 for 3 hours, that is, the second time point is 19:09.
[0104] Further, the step of filling the missing positions and / or mobile network traffic of the third time interval according to the positions and / or mobile network traffic corresponding to the N second time intervals specifically includes:
[0105] In a case where the positions and / or mobile network traffic corresponding to the N second time intervals are missing, keeping the positions and / or mobile network traffic missing in the third time interval in a missing state;
[0106] In a case where there are positions and / or mobile network traffic corresponding to P second time intervals among the N second time intervals that are not missing, filling the missing positions and / or mobile network traffic of the third time interval according to the positions and / or mobile network traffic corresponding to the fourth time interval among the P second time intervals, where P is a positive integer less than or equal to N;
[0107] Wherein, when P is greater than or equal to 2, and the P second time intervals are all before or after the third time interval, the fourth time interval represents the second time interval that is closest to the third time interval among the P second time intervals;
[0108] When P is greater than or equal to 2, and a portion of the P second time intervals is before the third time interval and another portion is after the third time interval, the fourth time interval represents the second time interval among the P second time intervals that is before the third time interval and closest to the third time interval, and the second time interval among the P second time intervals that is after the third time interval and closest to the third time interval.
[0109] Specifically, if the location and / or mobile network traffic corresponding to the third time interval among the M second time intervals is missing, it is necessary to obtain the location and / or mobile network traffic corresponding to the N second time intervals adjacent to the third time interval. If the location and / or mobile network traffic corresponding to the N second time intervals are all missing, the missing location and / or mobile network traffic of the third time interval will not be backfilled, or the missing location and / or mobile network traffic of the third time interval will remain missing, or the missing location and / or mobile network traffic of the third time interval will be backfilled as blank. If there is a second time interval (i.e., the fourth time interval) among the N second time intervals that has a location and / or mobile network traffic corresponding to it that is not missing, the missing location and / or mobile network traffic of the third time interval will be filled with the location and / or mobile network traffic corresponding to the fourth time interval.
[0110] If the positions and / or mobile network traffic corresponding to two or more second time intervals among the N second time intervals are not missing, determine whether the two or more second time intervals are before or after the third time interval; if the two or more second time intervals are both before the third time interval, then the second time interval closest to the third interval among the two or more second time intervals is taken as the fourth time interval, and the missing positions and / or mobile network traffic in the third time interval is filled with the positions and / or mobile network traffic corresponding to the fourth time interval.
[0111] If the positions and / or mobile network traffic corresponding to two or more second time intervals among the N second time intervals are not missing, determine whether the two or more second time intervals are before or after the third time interval; if the two or more second time intervals are both after the third time interval, then the second time interval closest to the third interval among the two or more second time intervals is taken as the fourth time interval, and the missing positions and / or mobile network traffic in the third time interval is filled with the positions and / or mobile network traffic corresponding to the fourth time interval.
[0112] If there are two or more second time intervals among the N second time intervals whose corresponding positions and / or mobile network traffic are not missing, determine whether the two or more second time intervals are before or after the third time interval; if one part of the two or more second time intervals is before the third time interval and the other part is after the third time interval, then the second time interval before the third time interval and closest to the third time interval is taken as the fourth time interval, and the second time interval after the third time interval and closest to the third time interval is taken as the fourth time interval, and the two fourth time intervals are taken at geometric positions in the corresponding connecting line according to the time difference between the previous and next data, and the data at the geometric positions are taken as the missing positions and / or mobile network traffic of the third time interval. For example: the third time interval is in the middle position (i.e., half position) of the two fourth time intervals, then the sum of the positions and / or mobile network traffic of the two fourth time intervals divided by 2 is the position and / or mobile network traffic of the third time interval, and the specific examples are shown in Table 2:
[0113] Table 2 Location and mobile network traffic in the first time interval after filling
[0114] User Number Second time interval Location Mobile network traffic 177XXXX 202312081550 106.5658,29.5088 0.07 177XXXX 202312081600 106.5906,29.5199 12.00 177XXXX 202312081610 106.5819,29.4984 40.50 177XXXX 202312081620 106.5732,29.4769 69.00
[0115] Among them, in Table 1, 202312081550 corresponds to Figure 4 t in 0 Timestamp, 202312081600 corresponds to Figure 4 t in 1 Timestamp, corresponding to 202312081610 Figure 4 t in 2 Timestamp, corresponding to 202312081620 Figure 4 t in 3 In the second time interval corresponding to 202312081610, there is a lack of mobile network traffic and a lack of location, that is, the second time interval corresponding to 202312081610 is the third time interval (that is, the timestamp corresponding to the third time interval is t 2). 202312081550 and 202312081600 are both before the third time interval. Since 202312081600 is closest to the third time interval, 202312081600 is taken as the fourth time interval before the third time interval (i.e., the timestamp corresponding to the fourth time interval is t 1 ). 202312081620 is the fourth time interval after the third time interval (that is, the timestamp corresponding to the fourth time interval is t 3 ). Since the third time interval is located at half of the two fourth time intervals, the longitude at the location of the third time interval is:
[0116]
[0117] The latitude in the position of the third time interval is:
[0118]
[0119] The mobile network traffic in the third time interval is:
[0120]
[0121] If the third time interval is located at one-third of the position between the two fourth time intervals, the position obtained by multiplying the sum of the positions of the two fourth time intervals by one-third is the position corresponding to the third time interval; the mobile network traffic obtained by multiplying the sum of the mobile network traffic of the two fourth time intervals by one-third is the mobile network traffic corresponding to the third time interval. If the third time interval is located at two-thirds of the position between the two fourth time intervals, the position obtained by multiplying the sum of the positions of the two fourth time intervals by two-thirds is the position corresponding to the third time interval; the mobile network traffic obtained by multiplying the sum of the positions of the two fourth time intervals by two-thirds is the mobile network traffic corresponding to the third time interval.
[0122] The above embodiment first locks the moment when the first user's position is missing and the mobile network traffic is missing, and then conducts a forward and backward search to find the previous and subsequent data with position and mobile network traffic at the nearest moment to the missing moment, and fills in the data by comparing the position relationship of the previous and subsequent data of the missing position. This can greatly reduce the nighttime positioning continuity problem of a certain number of shutdown user groups, and overall allows a small amount of position loss, retains the rationality of the missing position of the out-of-control user, thereby improving the user's mobile network traffic and position as a whole.
[0123] As an optional specific embodiment, the step 102 determines the permanent location of the first user according to the location of the first user in the first time interval, including:
[0124] Extracting the position of the first user in a preset time interval from the positions in the first time interval, the preset time interval being a time interval within the first time interval;
[0125] Obtaining the grid to which each position of the first user within the preset time interval belongs;
[0126] Determine the average value of the positions in the target grid as the permanent location of the first user;
[0127] In the case that the number of grids to which the position of the first user in the preset time interval belongs is multiple, the target grid is the grid with the largest number of positions among the multiple grids.
[0128] Specifically, due to the errors in the MR fingerprint library positioning and the 5G triangulation positioning itself, the first user's base station switching, weak coverage, over-coverage of the base station, and the engineering parameter errors of the base station itself will affect the specific positioning of the first user. Set the preset time interval as the night time period (such as: 01:30-05:30 at night), and after rasterizing the position of the first user, based on the position of the first user at 01:30-05:30 every day in the first time interval, obtain the grid where the position is located at 01:30-05:30 every day, and mark the position in the corresponding grid, so that the grid with the largest number of positions can be determined, and the grid is used as the target grid. Calculate the average value of the position in the target grid, and use the average value as the permanent location of the first user at night, so as to improve the accuracy of the first user's permanent location. In addition, the permanent location distribution and nighttime movement of the first user in the first time interval can be obtained by the above-mentioned grid method.
[0129] As an optional specific embodiment, the step 103 determines the wireless network connection state of the first user at the permanent location according to the permanent location of the first user and the mobile network traffic of the first user in the first time interval, including:
[0130] According to the permanent location of the first user, dividing the mobile network traffic of the first user in the first time interval into permanent traffic and non-permanent traffic;
[0131] When the ratio of the sum of the resident traffic to the sum of the non-resident traffic is less than a preset ratio, determining that the wireless network connection state of the first user at the resident location is a connected state;
[0132] When the ratio of the sum of the resident traffic to the sum of the non-resident traffic is greater than or equal to the preset ratio, it is determined that the wireless network connection state of the first user at the resident location is a disconnected state.
[0133] Specifically, since the permanent location of the first user is known, the mobile network traffic in the first time interval can be divided into traffic consumed by the permanent location (i.e., permanent traffic) and traffic consumed by the non-resident location (i.e., non-resident traffic) according to the location. The specific process is as follows: Based on the previous analysis, the permanent location of the first user and the location and mobile network traffic of each second time interval can be obtained, and it is determined whether the location of the first user in each second time interval is within the range of its permanent location (it can be set that the straight-line distance of the permanent location within 500 meters is within the range of the permanent location). If the location of the second time interval is within the range of the permanent location, then mark the first user in the permanent location in the second time interval. According to the above data, an XY coordinate system is formed, and the mobile network traffic corresponding to the second time interval is used as the Y axis, and is divided into permanent traffic and non-resident traffic; for the X-axis coordinates, which are the number of days at home, the number of days not at home, and the specific timestamp of the second time interval from top to bottom, the mobile network traffic and location distribution of the first user can be analyzed more comprehensively, and the usage behavior of the first user can be understood.
[0134] If the coordinate system formed is Figure 5 As shown in FIG. 1 , the mobile network traffic used by the first user at the permanent location (i.e., at-home traffic) is significantly lower than the mobile network traffic used at the non-permanent location (i.e., not-at-home traffic), so it can be determined that the wireless network connection state of the first user at the permanent location is connected. If the coordinate system formed is as follows Figure 6 As shown in the figure, the mobile network traffic used by the first user at the permanent location (i.e., at-home traffic) is not much different from the mobile network traffic used at the non-resident location (i.e., not-at-home traffic). Therefore, it can be determined that the wireless network connection status of the first user at the permanent location is disconnected. However, the actual mobile network traffic usage behavior of the first user is not as Figure 5 and Figure 6Generally, it is ideal and easy to distinguish, so it is necessary to calculate the sum of the resident traffic and the sum of the non-resident traffic, and then compare the ratio of the sum of the resident traffic to the sum of the non-resident traffic with a preset ratio (such as: 0.4). If the above ratio is less than the preset ratio, the wireless network connection state of the first user at the resident location is determined to be connected; conversely, if the above ratio is greater than or equal to the preset ratio, the wireless network connection state of the first user at the resident location is determined to be unconnected. The connection state of the wireless network is determined by the relationship between the ratio of the sum of the resident traffic to the sum of the non-resident traffic and the preset ratio, which is not only applicable to ideal and easy-to-distinguish mobile network traffic usage behaviors, but also to undesirable and difficult-to-distinguish mobile network traffic usage behaviors, thereby improving the accuracy of judging the wireless network connection state.
[0135] In addition, if the first user is a single-resident user, that is, the first user has only one permanent location; if the first user is a multi-resident user, the first user has at least two permanent locations. When the first user has multiple permanent locations, the number of days at home on weekdays will be divided into the number of days at the first permanent location, the number of days at the second permanent location, etc., while the number of days away from home remains unchanged. When the first user is a single permanent location, the number of days at home and the number of days away from home are complementary as a whole. Through the above data analysis, a curve graph of the second time interval and the number of days can be generated, with the ordinate being the number of days and the abscissa being the timestamp of the second time interval, and then a sliding window mean operation is performed to obtain a processed curve graph of the second time interval and the number of days to reduce noise and smooth the curve.
[0136] For example: Figure 7 is a graph of the second time interval and days of a single permanent location after processing, that is, the graph includes a curve of the number of days the first user is not at home and a curve of the number of days the first user is in the first permanent location. Figure 7 Differentiation processing obtains the maximum first-order derivative and the minimum first-order derivative of the curve. If the curve represents the number of days away from home, the X-axis coordinate corresponding to the maximum first-order derivative (the maximum first-order derivative at the rising point of the curve) is the time when the first user goes out, and the X-axis coordinate corresponding to the minimum first-order derivative (the minimum first-order derivative at the falling point of the curve) is the time when the first user returns home. Similarly, if the curve represents the number of days at home, the X-axis coordinate corresponding to the maximum first-order derivative (the maximum first-order derivative at the rising point of the curve) is the time when the first user returns home, and the X-axis coordinate corresponding to the minimum first-order derivative (the minimum first-order derivative at the falling point of the curve) is the time when the first user goes out. This allows us to obtain the travel pattern of the permanent residence, and the data on the travel pattern can be used to guide the appointment time for door-to-door service and improve service perception.
[0137] For example: Figure 8The graph is a graph of the second time interval and days of the processed dual permanent locations, that is, the graph includes the curve of the number of days the first user is not at home, the curve of the number of days the first user is in the first permanent location, and the curve of the number of days the first user is in the second permanent location. In the case of dual permanent locations, the travel pattern of each permanent location can be obtained by the above single permanent location method. The data of the travel pattern can be used to guide the appointment time of the service visit and improve the service perception.
[0138] Furthermore, the step of dividing the mobile network traffic of the first user in the first time interval into resident traffic and non-resident traffic according to the resident location of the first user specifically includes:
[0139] Calculating an average value and a variance of the mobile network traffic of the first user in the first time interval;
[0140] When the average value and the variance meet a preset condition, the mobile network traffic of the first user in the first time interval is divided into resident traffic and non-resident traffic according to the resident location of the first user.
[0141] Specifically, before dividing the resident traffic and non-resident traffic, it is necessary to determine whether the mobile network traffic is abnormal, that is, to calculate the average value and variance of the mobile network traffic of the first user in the first time interval, and consider the mobile network traffic in the interval of μ-3δ to μ+3δ under the normal distribution, and the mobile network traffic outside this interval is considered abnormal. For example: the average value μ of the mobile network traffic of the first user is 4Mb, the variance δ is 5Mb, 4-5*3=-11Mb, 4+5*3=19Mb. If the average value is less than or equal to -11Mb or the average value is greater than or equal to 19Mb, it is considered abnormal. Since the mobile network traffic is a non-negative number, it is considered abnormal as long as the average value is greater than or equal to 19Mb. On the contrary, if the average value is greater than or equal to 0 and less than 19Mb, the mobile network traffic of the first user is non-abnormal data, and the mobile network traffic in the first time interval is divided into traffic consumed by the resident location (i.e., resident traffic) and traffic consumed by the non-resident location (i.e., non-resident traffic) according to the location.
[0142] In the above embodiment, whether the first user is connected to the wireless network at the permanent location is comprehensively determined by using the average value, variance, sum of permanent location traffic and sum of non-resident location traffic of the mobile network traffic, thereby improving the accuracy of determining the wireless network connection status.
[0143] As an optional specific embodiment, the step 105 determines the type of broadband connected to the first user at the permanent location according to the permanent location of the first user and the target location, including:
[0144] When the distance between the permanent location and the target location is greater than a preset distance, obtaining the location of the permanent location and the location of the target location;
[0145] In a case where the home location of the permanent location and the home location of the target location are the same home location, determining that the broadband type connected to the first user at the permanent location is the target type;
[0146] In a case where the home location of the permanent location and the home location of the target location are not the same home location, it is determined that the broadband type connected to the first user at the permanent location is a non-target type.
[0147] Specifically, since the target location of the target type of broadband service handled by the family circle where the first user is located is known, it is necessary to determine whether the permanent location of the first user is the same location as the target location, that is, to determine whether the distance difference between the permanent location and the target location is less than a preset distance (such as 500 meters). If the distance difference between the permanent location and the target location is less than the preset distance, it is determined that the permanent location and the target location belong to the same location, and it can be determined that the wireless network type connected by the first user at the permanent location is the target type. Among them, the broadband of the target type can be telecommunications broadband, and the broadband of the non-target type is abnormal broadband.
[0148] like Fig. 9 As shown, if the distance difference between the permanent location a and the target location is greater than or equal to the preset distance, it is determined that the permanent location and the target location do not belong to the same location, and it is necessary to match the grid of the permanent location of the first user with the OBD, that is, first search for the nearest OBD in the grid A1 that is the same as the permanent location of the first user, and if no OBD is found, gradually expand the search range, search for the OBD in the surrounding OBD grids A2, A3, A4, and A5, set a stop search distance threshold (for example: 5 kilometers), and divide the corresponding OBD resource cell, branch office, and branch company for the permanent location of the first user, thereby obtaining the location of the permanent location of the first user. Obtaining the location of the permanent location in this way can reduce computing consumption. If the location of the permanent location is the location of the OBD of the target location, it is determined that the broadband type connected to the first user at the permanent location is the target type; conversely, if the location of the permanent location is not the location of the target location, it is determined that the broadband type connected to the first user at the permanent location is a non-target type, that is, a broadband of a different network.
[0149] like Fig.10 As shown, the above solution is described below through a specific embodiment:
[0150] Step 1001: Acquire a first time interval, and divide the first time interval according to preset time intervals to obtain M second time intervals.
[0151] Step 1002: Obtain the location and mobile network traffic of the first user in each second time interval.
[0152] Step 1003: Calculate the mobile network traffic and value and the location average of the first user in each second time interval.
[0153] Step 1004: Determine the mobile network traffic sum value as the mobile network traffic corresponding to the second time interval, and determine the location average value as the location corresponding to the second time interval.
[0154] Step 1005: When the position and / or mobile network traffic corresponding to a third time interval among the M second time intervals is missing, obtain the position and / or mobile network traffic corresponding to N second time intervals adjacent to the third time interval.
[0155] Step 1006: Fill in the missing positions and / or mobile network traffic of the third time interval according to the positions and / or mobile network traffic corresponding to the N second time intervals.
[0156] Step 1007: Combine the locations and mobile network traffic corresponding to the M second time intervals to form the location and mobile network traffic of the first user in the first time interval.
[0157] Step 1008: Determine the permanent location of the first user according to the location of the first user in the first time interval.
[0158] Step 1009: Calculate the average value and variance of the mobile network traffic of the first user in the first time interval.
[0159] Step 1010: When the mean value and the variance meet a preset condition, the mobile network traffic of the first user in the first time interval is divided into resident traffic and non-resident traffic according to the permanent location of the first user.
[0160] Step 1011: when the ratio of the sum of the resident traffic to the sum of the non-resident traffic is less than a preset ratio, determine that the wireless network connection state of the first user at the resident location is connected.
[0161] Step 1012: When the ratio of the sum of the resident traffic to the sum of the non-resident traffic is greater than or equal to the preset ratio, determine that the wireless network connection state of the first user at the resident location is a disconnected state.
[0162] Step 1013: when the wireless network connection state of the first user at the permanent location is connected, obtain the target location for installing the target type of broadband in the home circle of the first user.
[0163] Step 1014: Determine the type of broadband to which the first user is connected at the permanent location according to the permanent location of the first user and the target location.
[0164] In summary, in the above embodiment of the present invention, the position and position movement information of the first user can be obtained through all the positions of the first user in the first time interval, and the permanent location of the first user can be comprehensively determined from time and location, thereby improving the accuracy of position positioning. In addition, by locking the moment when the first user's position is missing and the flow is missing, and then conducting a forward and backward search, the previous and subsequent data with the position and mobile network flow at the closest moment to the missing moment are found, and the position relationship of the previous and subsequent data of the missing position is compared to perform data filling, which can greatly reduce the night positioning continuity problem of a certain number of shutdown user groups, and allow a small amount of position loss as a whole, retain the rationality of the missing position of the out-of-user, thereby improving the user's flow location as a whole. In addition, the grid with the largest number of positions is determined as the target grid, and the average value of the positions in the target grid is calculated, and the average value is used as the permanent location of the first user at night, thereby improving the accuracy of the first user's permanent location. In addition, the average value, variance, sum of permanent location flow, and sum of non-resident flow of the mobile network flow are comprehensively judged in multiple aspects to determine whether the first user is connected to the wireless network at the permanent location, thereby improving the accuracy of the judgment of the wireless network connection status. By using the family circle method, the type of the wireless network to which the first user is connected is determined, thereby improving the accuracy of identifying broadband from other networks.
[0165] The above describes a method for determining a user broadband network provided by an embodiment of the present invention. The following describes an apparatus for determining a user broadband network provided by an embodiment of the present invention in conjunction with the accompanying drawings.
[0166] like Fig.11 As shown, the embodiment of the present invention further provides a device 1100 for determining a user broadband network, the device comprising:
[0167] A first acquisition module 1101 is used to acquire a location and used mobile network traffic of a first user in a first time interval;
[0168] A first determining module 1102, configured to determine a permanent location of the first user according to the location of the first user in the first time interval;
[0169] A second determining module 1103 is used to determine the wireless network connection state of the first user at the permanent location according to the permanent location of the first user and the mobile network traffic of the first user in the first time interval;
[0170] The second acquisition module 1104 is used to acquire a target location for installing a target type of broadband in the home circle of the first user when the wireless network connection state of the first user at the permanent location is connected;
[0171] The third determination module 1105 is configured to determine the type of broadband to which the first user is connected at the permanent location according to the permanent location of the first user and the target location.
[0172] In the above embodiment of the present invention, by obtaining the location of the first user in the first time interval and the mobile network traffic used, the permanent location of the first user is determined according to the location of the first user in the first time interval, that is, through all the locations of the first user in the first time interval, the location and location movement information of the first user can be known, and the permanent location of the first user can be determined from multiple aspects of time and location, thereby improving the accuracy of location positioning. Then, according to the permanent location of the first user and the usage and usage change of the mobile network traffic of the first user in the first time interval, the wireless network connection status of the first user at the permanent location is determined, that is, through the determined permanent location and mobile network traffic, it can be determined whether the mobile network traffic of the first user changes in the permanent location, and then it can be determined whether the first user is connected to the wireless network in the permanent location, and whether to switch the wireless network is no longer determined solely based on the traffic switching, so that the accuracy of the judgment structure is higher. Then, when the wireless network connection status of the first user at the permanent location is connected, the target location of the target type of broadband installed in the family circle where the first user is located is obtained, and the type of broadband connected to the first user at the permanent location is determined based on the permanent location of the first user and the target location. That is, the type of wireless network connected to the first user is judged through the family circle, which improves the accuracy of identifying broadband of other networks.
[0173] Optionally, the first determining module 1102 is specifically configured to:
[0174] Extracting the position of the first user in a preset time interval from the positions in the first time interval, the preset time interval being a time interval within the first time interval;
[0175] Obtaining the grid to which each position of the first user within the preset time interval belongs;
[0176] Determine the average value of the positions in the target grid as the permanent location of the first user;
[0177] In the case that the number of grids to which the position of the first user in the preset time interval belongs is multiple, the target grid is the grid with the largest number of positions among the multiple grids.
[0178] Optionally, the first acquisition module 1101 is specifically configured to:
[0179] Obtain a first time interval, and divide the first time interval into M second time intervals according to a preset time interval, where M is an integer greater than 1;
[0180] Obtaining the location and mobile network traffic of the first user in each second time interval;
[0181] Calculate the mobile network traffic and value and the location average of the first user in each second time interval;
[0182] Determine the mobile network traffic sum value as the mobile network traffic corresponding to the second time interval, and determine the location average value as the location corresponding to the second time interval;
[0183] The mobile network traffic and the position corresponding to the M second time intervals are combined to form the position and mobile network traffic of the first user in the first time interval.
[0184] Optionally, when the first acquisition module 1101 combines the mobile network traffic and the position corresponding to the M second time intervals to form the position and mobile network traffic of the first user in the first time interval, it is specifically used to:
[0185] In the case where the position and / or mobile network traffic corresponding to the third time interval among the M second time intervals is missing, obtaining the position and / or mobile network traffic corresponding to N second time intervals adjacent to the third time interval, where N is an integer greater than 1;
[0186] Filling the missing positions and / or mobile network traffic of the third time interval according to the positions and / or mobile network traffic corresponding to the N second time intervals;
[0187] The positions and mobile network traffic corresponding to the M second time intervals are combined to form the position and mobile network traffic of the first user in the first time interval.
[0188] Optionally, when the first acquisition module 1101 fills the missing position and / or mobile network traffic of the third time interval according to the positions and / or mobile network traffic corresponding to the N second time intervals, it is specifically used to:
[0189] In a case where the positions and / or mobile network traffic corresponding to the N second time intervals are missing, keeping the positions and / or mobile network traffic missing in the third time interval in a missing state;
[0190] In a case where there are positions and / or mobile network traffic corresponding to P second time intervals among the N second time intervals that are not missing, filling the missing positions and / or mobile network traffic of the third time interval according to the positions and / or mobile network traffic corresponding to the fourth time interval among the P second time intervals, where P is a positive integer less than or equal to N;
[0191] Wherein, when P is greater than or equal to 2, and the P second time intervals are all before or after the third time interval, the fourth time interval represents the second time interval that is closest to the third time interval among the P second time intervals;
[0192] When P is greater than or equal to 2, and a portion of the P second time intervals is before the third time interval and another portion is after the third time interval, the fourth time interval represents the second time interval among the P second time intervals that is before the third time interval and closest to the third time interval, and the second time interval among the P second time intervals that is after the third time interval and closest to the third time interval.
[0193] Optionally, the second determining module 1103 is specifically configured to:
[0194] According to the permanent location of the first user, dividing the mobile network traffic of the first user in the first time interval into permanent traffic and non-permanent traffic;
[0195] When the ratio of the sum of the resident traffic to the sum of the non-resident traffic is less than a preset ratio, determining that the wireless network connection state of the first user at the resident location is a connected state;
[0196] When the ratio of the sum of the resident traffic to the sum of the non-resident traffic is greater than or equal to the preset ratio, it is determined that the wireless network connection state of the first user at the resident location is a disconnected state.
[0197] Optionally, when the second determining module 1103 divides the mobile network traffic of the first user in the first time interval into a permanent location and non-resident location traffic according to the permanent location of the first user, it is specifically configured to:
[0198] Calculating an average value and a variance of the mobile network traffic of the first user in the first time interval;
[0199] When the average value and the variance meet a preset condition, the mobile network traffic of the first user in the first time interval is divided into resident traffic and non-resident traffic according to the resident location of the first user.
[0200] Optionally, the third determining module 1105 is specifically configured to:
[0201] When the distance between the permanent location and the target location is greater than a preset distance, obtaining the location of the permanent location and the location of the target location;
[0202] In a case where the home location of the permanent location and the home location of the target location are the same home location, determining that the broadband type connected to the first user at the permanent location is the target type;
[0203] In a case where the home location of the permanent location and the home location of the target location are not the same home location, it is determined that the broadband type connected to the first user at the permanent location is a non-target type.
[0204] In summary, in the above embodiment of the present invention, the position and position movement information of the first user can be obtained through all the positions of the first user in the first time interval, and the permanent location of the first user can be comprehensively determined from time and location, thereby improving the accuracy of position positioning. In addition, by locking the moment when the first user's position is missing and the flow is missing, and then conducting a forward and backward search, the previous and subsequent data with the position and mobile network flow at the closest moment to the missing moment are found, and the position relationship of the previous and subsequent data of the missing position is compared to perform data filling, which can greatly reduce the night positioning continuity problem of a certain number of shutdown user groups, and allow a small amount of position loss as a whole, retain the rationality of the missing position of the out-of-user, thereby improving the user's flow location as a whole. In addition, the grid with the largest number of positions is determined as the target grid, and the average value of the positions in the target grid is calculated, and the average value is used as the permanent location of the first user at night, thereby improving the accuracy of the first user's permanent location. In addition, the average value, variance, sum of permanent location flow, and sum of non-resident flow of the mobile network flow are comprehensively judged in multiple aspects to determine whether the first user is connected to the wireless network at the permanent location, thereby improving the accuracy of the judgment of the wireless network connection status. By using the family circle method, the type of the wireless network to which the first user is connected is determined, thereby improving the accuracy of identifying broadband from other networks.
[0205] It should be noted here that the above-mentioned device for determining a user broadband network applied to a cloud rendering server provided in an embodiment of the present invention can implement all the method steps implemented in the above-mentioned method embodiment for determining a user broadband network applied to a cloud rendering server, and can achieve the same technical effect. The parts and beneficial effects that are the same as those in the method embodiment will not be specifically described in detail herein.
[0206] It should be noted that the division of units in the embodiments of the present application is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional unit in each embodiment of the present application may be integrated into a processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0207] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a processor-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) or a processor (processor) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.
[0208] like Fig.12 As shown, an embodiment of the present invention further provides an electronic device, including a memory 1220, a transceiver 1210, and a processor 1200:
[0209] A memory 1220, used for storing computer programs;
[0210] A transceiver 1210, configured to transmit and receive data under the control of the processor;
[0211] The processor 1200 is configured to read the computer program in the memory and execute the steps of the method for determining the user broadband network as described in any of the above embodiments.
[0212] Among them, Fig.12 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 1200 and various circuits of memory represented by memory 1220 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 1210 may be a plurality of components, namely, a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium, which transmission medium may include a wireless channel, a wired channel, an optical cable, and other transmission media. The processor 1200 is responsible for managing the bus architecture and general processing, and the memory 1220 may store data used by the processor 1200 when performing operations.
[0213] The processor 1200 may be a central processing unit (CPU), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or a complex programmable logic device (CPLD). The processor may also adopt a multi-core architecture.
[0214] The processor calls the computer program stored in the memory to execute the method for determining the user broadband network provided in the embodiment of the present application according to the obtained executable instructions. The processor and the memory can also be arranged physically separately.
[0215] It should be noted here that the above-mentioned electronic device provided in the embodiment of the present invention can implement all the method steps implemented in the above-mentioned user broadband network determination method embodiment, and can achieve the same technical effect. The parts and beneficial effects that are the same as the method embodiment in this embodiment will not be described in detail here.
[0216] An embodiment of the present invention further provides a processor-readable storage medium, wherein the processor-readable storage medium stores a computer program, and the computer program is used to enable the processor to execute the above-mentioned method for determining the user broadband network.
[0217] The processor-readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid-state drive (SSD)), etc.
[0218] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) that contain computer-usable program code.
[0219] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer executable instructions. These computer executable instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0220] These processor executable instructions may also be stored in a processor readable memory that can direct a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the processor readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0221] These processor-executable instructions may also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0222] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A method for determining a user broadband network, characterized in that: The method comprises: Obtaining a location and used mobile network traffic of the first user in a first time interval; determining a permanent location of the first user according to the location of the first user in the first time interval; Determining a wireless network connection state of the first user at the permanent location according to the permanent location of the first user and the mobile network traffic of the first user in the first time interval; When the wireless network connection state of the first user at the permanent location is connected, obtaining a target location where a broadband of a target type is installed in the home circle of the first user; The type of broadband to which the first user is connected at the permanent location is determined according to the permanent location of the first user and the target location.
2. The method according to claim 1, characterized in that The determining the permanent location of the first user according to the location of the first user in the first time interval includes: Extracting the position of the first user in a preset time interval from the position in the first time interval, the preset time interval being a time interval within the first time interval; Obtaining the grid to which each position of the first user within the preset time interval belongs; Determine the average value of the positions in the target grid as the permanent location of the first user; In the case that the number of grids to which the position of the first user in the preset time interval belongs is multiple, the target grid is the grid with the largest number of positions among the multiple grids.
3. The method according to claim 1, characterized in that: The obtaining the location of the first user and the used mobile network traffic in the first time interval includes: Obtain a first time interval, and divide the first time interval into M second time intervals according to a preset time interval, where M is an integer greater than 1; Obtaining the location and mobile network traffic of the first user in each second time interval; Calculate the mobile network traffic and value and the location average of the first user in each second time interval; Determine the mobile network traffic sum value as the mobile network traffic corresponding to the second time interval, and determine the location average value as the location corresponding to the second time interval; The mobile network traffic and the position corresponding to the M second time intervals are combined to form the position and mobile network traffic of the first user in the first time interval.
4. The method according to claim 3, characterized in that The combining the mobile network traffic and the positions corresponding to the M second time intervals to form the position and the mobile network traffic of the first user in the first time interval includes: In the case where the position and / or mobile network traffic corresponding to the third time interval among the M second time intervals is missing, obtaining the position and / or mobile network traffic corresponding to N second time intervals adjacent to the third time interval, where N is an integer greater than 1; Filling the missing positions and / or mobile network traffic of the third time interval according to the positions and / or mobile network traffic corresponding to the N second time intervals; The positions and mobile network traffic corresponding to the M second time intervals are combined to form the position and mobile network traffic of the first user in the first time interval.
5. The method according to claim 4, characterized in that The filling the missing position and / or mobile network traffic of the third time interval according to the positions and / or mobile network traffic corresponding to the N second time intervals includes: In a case where the positions and / or mobile network traffic corresponding to the N second time intervals are missing, keeping the positions and / or mobile network traffic missing in the third time interval in a missing state; In a case where there are positions and / or mobile network traffic corresponding to P second time intervals among the N second time intervals that are not missing, filling the missing positions and / or mobile network traffic of the third time interval according to the positions and / or mobile network traffic corresponding to the fourth time interval among the P second time intervals, where P is a positive integer less than or equal to N; Wherein, when P is greater than or equal to 2, and the P second time intervals are all before or after the third time interval, the fourth time interval represents the second time interval that is closest to the third time interval among the P second time intervals; When P is greater than or equal to 2, and a portion of the P second time intervals is before the third time interval and another portion is after the third time interval, the fourth time interval represents the second time interval among the P second time intervals that is before the third time interval and closest to the third time interval, and the second time interval among the P second time intervals that is after the third time interval and closest to the third time interval.
6. The method according to claim 1, characterized in that The determining, according to the permanent location of the first user and the mobile network traffic of the first user in the first time interval, the wireless network connection state of the first user at the permanent location includes: According to the permanent location of the first user, dividing the mobile network traffic of the first user in the first time interval into permanent traffic and non-permanent traffic; When the ratio of the sum of the resident traffic to the sum of the non-resident traffic is less than a preset ratio, determining that the wireless network connection state of the first user at the resident location is a connected state; When the ratio of the sum of the resident traffic to the sum of the non-resident traffic is greater than or equal to the preset ratio, it is determined that the wireless network connection state of the first user at the resident location is a disconnected state.
7. The method according to claim 6, characterized in that The dividing the mobile network traffic of the first user in the first time interval into resident traffic and non-resident traffic according to the resident location of the first user includes: Calculating an average value and a variance of the mobile network traffic of the first user in the first time interval; When the average value and the variance meet a preset condition, the mobile network traffic of the first user in the first time interval is divided into resident traffic and non-resident traffic according to the resident location of the first user.
8. The method according to claim 1, characterized in that The determining, according to the permanent location of the first user and the target location, the type of broadband to which the first user is connected at the permanent location includes: When the distance between the permanent location and the target location is greater than a preset distance, obtaining the location of the permanent location and the location of the target location; In a case where the home location of the permanent location and the home location of the target location are the same home location, determining that the broadband type connected to the first user at the permanent location is the target type; In a case where the home location of the permanent location and the home location of the target location are not the same home location, it is determined that the broadband type connected to the first user at the permanent location is a non-target type.
9. A device for determining a user broadband network, characterized in that: The device comprises: A first acquisition module, used to acquire a location and used mobile network traffic of a first user within a first time interval; A first determining module, configured to determine a permanent location of the first user according to the location of the first user in the first time interval; A second determination module, configured to determine a wireless network connection state of the first user at the permanent location according to the permanent location of the first user and the mobile network traffic of the first user in the first time interval; A second acquisition module is used to acquire a target location for installing a target type of broadband in a home circle of the first user when the wireless network connection state of the first user at the permanent location is connected; The third determination module is used to determine the type of broadband connected to the first user at the permanent location according to the permanent location of the first user and the target location.
10. An electronic device, characterized in that: Including memory, transceiver, processor: Memory for storing computer programs; a transceiver, for transmitting and receiving data under the control of the processor; A processor is used to read the computer program in the memory and execute the method for determining the user broadband network according to any one of claims 1 to 8.
11. A processor-readable storage medium, characterized in that: The processor-readable storage medium stores a computer program, and the computer program is used to enable the processor to execute the method for determining a user broadband network according to any one of claims 1 to 8.
Citation Information
Patent Citations
User resident area positioning method and device, electronic equipment and storage medium
CN112506972A
Home width target user identification method and device based on big data, and electronic equipment
CN113098987A
A different-network broadband user identification method, device and equipment and a storage medium
CN113554049A
Telecommunication service home subscriber identification method and system and marketing method
CN116546073A
Different network broadband user identification method, device and equipment and storage medium
CN116633823A
