Dwell point correction methods, devices, storage media and electronic equipment
By acquiring and correcting the dwell point attributes of target users, the problem of mismatch between dwell point type and spatial distribution in existing technologies is solved, and the matching between dwell point type and actual scenario is achieved.
Patent Information
- Application Number
- CN202211511623.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-29
- Publication Date
- 2025-10-31
- Estimated Expiration
- 2042-11-29
AI Technical Summary
Existing technologies only consider the time period of each user's stay at each stay point during the day when determining the type of stay point, without considering the spatial distribution between the stay points, resulting in a mismatch between the type of stay point and the actual scenario.
By acquiring the target user's dwell points, and based on the type distribution of dwell points, we adopt a correction strategy that matches the type distribution to modify the attributes of the dwell points, including the type of dwell point and the dwell area.
The rationality of the outposts has been improved, ensuring that the types of outposts match the actual scenarios.
Smart Images

Figure CN115866525B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of big data, and more specifically, to a dwell point correction method, apparatus, storage medium, and electronic device. Background Technology
[0002] Big data analysis based on user travel data can determine where users stayed, and by combining the duration of their stay, it can also identify the types of places they stayed.
[0003] However, currently, when determining the type of dwell point, only the time period of each dwell point during the day is considered, without considering the spatial distribution between the dwell points, which leads to the type of dwell point not matching the actual situation in some scenarios. Summary of the Invention
[0004] To overcome at least one deficiency in the prior art, this application provides a dwell point correction method, apparatus, storage medium, and electronic device for correcting existing dwell points, thereby improving the rationality of the divided dwell points. Specifically, it includes:
[0005] In a first aspect, this application provides a method for adjusting the dwelling point, the method comprising:
[0006] Acquire at least one user's dwell time;
[0007] Based on the type distribution of the at least one dwelling point, a correction strategy matching the type distribution is adopted to correct the attributes of at least some dwelling points, wherein the attributes include the type of the dwelling point and at least one of the dwelling regions.
[0008] Secondly, this application provides a dwell point correction device, the method comprising:
[0009] The acquisition module is used to acquire at least one dwell point of the target user;
[0010] The correction module is configured to correct the attributes of at least some of the dwelling points by adopting a correction strategy that matches the type distribution of the at least one dwelling point, wherein the attributes include the type of the dwelling point and at least one of the dwelling regions.
[0011] Thirdly, this application provides a storage medium storing a computer program, which, when executed by a processor, implements the dwell point correction method.
[0012] Fourthly, this application provides an electronic device, which includes a processor and a memory, wherein the memory stores a computer program, and when the computer program is executed by the processor, it implements the dwell point correction method.
[0013] Compared with the prior art, this application has the following beneficial effects:
[0014] The dwell point correction method, apparatus, storage medium, and electronic device provided in this application involve the electronic device acquiring at least one dwell point of a target user; and, based on the type distribution of the at least one dwell point, adopting a correction strategy matching the type distribution to correct the attributes of at least some dwell points, wherein the attributes include the type of the dwell point and at least one dwell region. Thus, by adopting a correction strategy matching the type distribution of at least one dwell point of the target user to correct the attributes of at least some dwell points, the rationality of the already divided dwell points is improved. Attached Figure Description
[0015] To more clearly illustrate the technical solutions of the embodiments of this application, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of this application and should not be regarded as a limitation of the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.
[0016] Figure 1 A flowchart illustrating the dwell point correction method provided in this application embodiment;
[0017] Figure 2 This is one of the schematic diagrams of a sub-step of step S102 provided in the embodiments of this application;
[0018] Figure 3 This is the second schematic diagram of a sub-step of step S102 provided in the embodiments of this application;
[0019] Figure 4 The third schematic diagram of the sub-steps of step S102 provided in the embodiments of this application;
[0020] Figure 5 The fourth schematic diagram of the sub-steps of step S102 provided in the embodiments of this application;
[0021] Figure 6 This is a schematic diagram of the dwell point correction device provided in the embodiments of this application;
[0022] Figure 7 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0023] Icons: 101-Acquisition module; 102-Correction module; 201-Memory; 202-Processor; 203-Communication unit; 204-System bus. Detailed Implementation
[0024] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. The components of the embodiments of this application described and shown in the accompanying drawings can generally be arranged and designed in various different configurations.
[0025] Therefore, the following detailed description of the embodiments of this application provided in the accompanying drawings is not intended to limit the scope of the claimed application, but merely to illustrate selected embodiments of the application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.
[0026] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures.
[0027] In the description of this application, it should be noted that the terms "first," "second," "third," etc., are used only for distinguishing descriptions and should not be construed as indicating or implying relative importance. Furthermore, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0028] As introduced in the background technology, the current method of determining the type of dwell point only considers the time period of each dwell point during the day, without considering the spatial distribution between the dwell points, which leads to the type of dwell point not matching the actual situation of some scenarios.
[0029] For example, this embodiment categorizes and statistically analyzes the user's point of interest (POI) based on 30 days of mobile phone signaling information, defining the user's dwell points as the following 6 types (PoiType):
[0030] Detention point type identifier illustrate 1 The first residential location indicates the user's permanent residence. 2 The first work location indicates the user's usual work location. 3 "Work-Residence Overlap Location" indicates that a user's work and residence locations overlap. 4 Second residence location refers to the user's second residence location. 8 The second work station indicates the user's second work location. 0 Ordinary outposts refer to outposts that are not classified as 1, 2, 3, 4, or 8.
[0031] In addition, since PoiType data is mainly used to identify the user's workplace and residence information, this embodiment also stipulates that the same user can only have one PoiType per day except for PoiType=0; PoiType=3 and PoiType=1 will not exist at the same time.
[0032] In the specific implementation of classifying and statistically analyzing user points of interest (POIs), the types of POIs are mainly classified based on the duration of working hours (9:00 to 18:00 on weekdays) and nighttime hours (20:00 to 06:00 the next day on weekdays).
[0033] The area where people spend the longest time at night is defined as the primary residential location.
[0034] The area where the employee spends the longest time during working hours is defined as the primary work residence point.
[0035] If working hours and nighttime hours are entirely within the same area, then it is defined as a work-residence overlap residence point;
[0036] Compared to the first residence location, the area where people stay for a second duration during the nighttime hours is defined as the second residence location;
[0037] Compared to the first work station, the area where workers stay for a second duration during the work period is defined as the second work station.
[0038] It is evident that when classifying the types of outposts, only the current user's cumulative working time and nighttime hours were considered. Signaling outpost data was aggregated longitudinally by location over time, without considering the spatial distribution of outposts generated by the user on that day. Furthermore, second work outposts and second residential outposts were primarily used as supplementary data to prevent missing actual work and residential locations, failing to uncover their practical value. This resulted in a mismatch between the outpost types and the actual situations in some scenarios. To make this solution easier to understand, several common deviations are illustrated below:
[0039] Scenario 1: The user's residential and work locations partially overlap. For example, a user lives in a residential community and also runs a supermarket near the community entrance. Since the two locations do not completely overlap, two residence points will be generated: a first residential residence point (PoiType=1) and a first work residence point (PoiType=2). However, this partial situation should actually be classified as a case of overlapping residence and work, PoiType=3.
[0040] Scenario 2: For short-term home stays due to vacation or other reasons, the current method determines that the user's first residential residence (PoiType=1) and second work residence (PoiType=8) are the same or partially the same; however, in this case, it is actually more appropriate to directly classify the entire area of the first residential residence (PoiType=1) and the second work residence (PoiType=8) as the first residential residence.
[0041] Scenario 3: For users who work from home and work on alternate days, if the number of days a user stays at home is too long, resulting in the user not meeting the cumulative working hours threshold in the work location area, the current classification method will determine the user's first residence location (PoiType=1) as a residence location with overlapping work and residence (PoiType=3), and the first work location location (PoiType=2) as a second work location (PoiType=8).
[0042] Scenario 3: For certain types of jobs that require three shifts or frequent night shifts, although there is a clear first residential residence (PoiType=1) and first work residence (PoiType=2), the current classification method will determine the first work residence as the second residential residence (PoiType=4) because the user works at night.
[0043] It is evident that when the data platform generates a location and determines its type, some users have a second work location or a second residential location whose location cannot be accurately determined. Therefore, it is necessary to correct meaningless locations (e.g., by deleting or merging them with work or residential locations) to improve the rationality of the assigned locations.
[0044] It should be noted that the defects in the solutions in the prior art are all the results of the inventors’ practice and careful research. Therefore, the discovery process of the above problems and the solutions proposed by the embodiments of this application in the following text should be the inventors’ contributions to this application in the process of invention and creation, and should not be understood as technical content known to those skilled in the art.
[0045] Therefore, this embodiment provides a dwell point correction method for correcting existing dwell points. This method is applied to an electronic device, which can be a user terminal or a server. When the electronic device is a user terminal, it can be, but is not limited to, a mobile terminal, tablet computer, laptop computer, desktop computer, etc.
[0046] When the electronic device is a server, the server can be centralized or distributed (e.g., the server can be a distributed system). In some embodiments, the server can be local or remote relative to the user terminal. In some embodiments, the server can be implemented on a cloud platform; by way of example only, the cloud platform can include private cloud, public cloud, hybrid cloud, community cloud, distributed cloud, inter-cloud, multi-cloud, etc., or any combination thereof. In some embodiments, the server can be implemented on an electronic device having one or more components.
[0047] Based on the above introduction, the following will combine... Figure 1 The steps of this method are described in detail, but it should be understood that the operations in the flowchart may not be implemented in sequence, and steps without logical contextual relationships may be reversed in order or performed simultaneously. Furthermore, those skilled in the art, guided by the content of this application, may add one or more other operations to the flowchart, or remove one or more operations from the flowchart. Figure 1 As shown, the method includes:
[0048] S101, Obtain at least one dwell point of the target user.
[0049] The location of the user's location can be based on 30 days of mobile phone signaling information, which is used to categorize and statistically analyze the user's trajectory points. It should be noted that the mobile phone signaling information and trajectory points involved in this embodiment of the invention are obtained through legal means and do not involve any infringement of personal privacy.
[0050] S102, based on the type distribution of at least one residence point, adopt a correction strategy that matches the type distribution to correct the attributes of at least some residence points.
[0051] The attributes include the type of dwelling point, its location, and at least one of the dwelling areas. It should be understood that some target users' dwelling points may only include work-residence overlap dwelling points, second work dwelling points, and ordinary dwelling points; some target users' dwelling points may include primary residential dwelling points, primary work dwelling points, second work dwelling points, and ordinary dwelling points; and some target users' dwelling points may only include second residential dwelling points and ordinary dwelling points. An ordinary dwelling point refers to a place where the target user dwells outside their workplace or residence; the location of this dwelling is called an ordinary dwelling point. For example, a long dwelling time may occur while eating at a restaurant, watching a movie at a cinema, or shopping at a supermarket.
[0052] Therefore, for different target users, this embodiment needs to adopt a correction strategy that matches the type distribution of at least one dwell point of the target user to modify the attributes of at least some dwell points, thereby improving the rationality of the divided dwell points.
[0053] In this regard, because a correction strategy that matches the type distribution is required, therefore, such as Figure 2 As shown, in one optional implementation, step S102 specifically includes:
[0054] S102-1A, determine that at least one residence location includes a residence location where work and residence overlap.
[0055] If at least one of the residences includes a residence that overlaps with work, then proceed to step S102-2A; if at least one of the residences does not include a residence that overlaps with work, then end the correction operation.
[0056] S102-2A, determine whether at least one work station includes a second work station.
[0057] Among them, the overlapping work and residence location means that the target user's first work location and first residence location are in the same location. The first work location means the permanent work location, and the first residence location means the permanent residence location. The work residence time at the first work location is greater than the work residence time at the second work location.
[0058] For example, continuing to assume nighttime hours (8:00 PM to 6:00 AM the next day on weekdays), 10 hours per day, if the target user's two longest cumulative nighttime hours over 30 consecutive workdays are in region A (150 hours) and region B (80 hours), and the cumulative nighttime hours in region A exceed a set threshold of 30 hours, then region A is designated as the first residential location, and region B is designated as the second residential location. If the target user's two longest cumulative nighttime hours over 30 consecutive workdays are in region A (25 hours) and region B (20 hours), and the cumulative nighttime hours in region A are less than the set threshold of 30 hours, then there is no first residential location, and region B is designated as the second residential location.
[0059] Similarly, assuming working hours (9:00 AM to 6:00 PM on weekdays), with 9 hours per day, if the target user has the longest cumulative working time in two regions within 30 consecutive working days, namely region A (120 hours) and region B (56 hours), then region A is designated as the first working location, and region B is designated as the second working location. There are no cumulative time thresholds for the first and second working locations.
[0060] Based on the above introduction regarding the first and second work stations, please refer to [link / reference needed]. Figure 2 Step S102 further includes the following implementation methods:
[0061] If a second work dwell point is included, proceed to step S102-3A; otherwise, end the correction operation.
[0062] S102-3A, obtain the first ratio between the working stay duration at the second work residence point and the working stay duration at the work residence point where work and residence overlap, and the second ratio between the working stay duration at the second work residence point and the total stay duration at the second work residence point.
[0063] For example, for the second ratio, we continue to assume that within 30 consecutive working days, the cumulative working time at the first work station (09:00 to 18:00 on weekdays) is 100 hours, the cumulative working time at the second work station (09:00 to 18:00 on weekdays) is 64 hours, and the cumulative night time at the second work station (20:00 on weekdays to 06:00 the next day) is 32 hours. Then the total stay time at the second work station is 96 hours.
[0064] The second ratio between the working stay duration at the second work station and the total stay duration at the second work station is 64 / 96 = 66.7%.
[0065] S102-4A, determine that the first ratio is greater than the first threshold and the second ratio is greater than the second threshold.
[0066] If yes, proceed to step S102-5A; otherwise, proceed to step S102-6A.
[0067] S102-5A amends the place of residence where work and residence overlap to the first place of residence, and amends the second place of residence for work to the first place of work.
[0068] As an example only, in this embodiment, the first threshold can be set to 40%, and the second threshold can be set to 60%. It is worth noting that, based on statistical analysis, cases where a user has both a residence / workplace location and a second workplace location are relatively rare. Furthermore, adhering to the principle that the weight of the residential area is greater than the weight of the work area, when both the first ratio and the second ratio are greater than the second threshold, it means that the target user, while having a residence / workplace location, spends a significant amount of time at the second workplace location during working hours. Therefore, the second workplace location is likely actually the first workplace location, and vice versa.
[0069] In addition, the study also found that most cases of having both a residence and a work location were due to reasons such as working from home. That is, the primary residence was identified as the residence and work location because of working from home. After working from home ended, the target user went to work at the company and then identified the company's location as the second work location.
[0070] Furthermore, considering the majority of time spent at home, the target user's home time is set at 15 days, and the time spent going to the office is also set at 15 days. Given that the cumulative time spent at the workstation in this embodiment is obtained through mobile phone signaling data, and that during the 8-hour workday, the mobile phone does not constantly generate signaling with the base station, making it difficult to achieve a 1:1 ratio of cumulative time, this embodiment sets the first ratio to a relatively conservative 40%. Of course, when implementing this solution, technicians can appropriately adjust the thresholds involved in this embodiment.
[0071] Thus, the PoiType=3 of the work-residence overlap residence point is changed to PoiType=1, and the PoiType=8 of the second work residence point is changed to PoiType=2.
[0072] S102-6A, the second working residence point is revised to a regular residence point.
[0073] It should be understood here that if the first ratio is not greater than the first threshold and the second ratio is not greater than the second threshold, it means that the target user actually only has a place where work and residence overlap, and the second work place should actually be a regular place where the target user frequently visits, and should not be regarded as the target user working there temporarily.
[0074] Furthermore, if at least one of the target user's places of residence does not include any residences where work and residence overlap, but does include a primary place of residence, then as follows: Figure 3 As shown, another alternative implementation is provided. Figure 1 Step S102 may also include the following implementations:
[0075] S102-1B, determine whether at least one residence location includes a first residential residence location and a first work residence location.
[0076] If yes, proceed to step S102-2B; otherwise, end the correction operation.
[0077] S102-2B, determine whether there is a first overlapping area between the residence areas corresponding to the first residential residence point and the first work residence point.
[0078] If yes, proceed to step S102-3B; otherwise, proceed to steps S102-7B to S102-14B.
[0079] S102-3B, obtain the third ratio between the working stay duration at the first work residence and the working stay duration at the first residential residence, the fourth ratio between the working stay duration at the first residential residence and the total stay duration at the first residential residence, and the fifth ratio between the working stay duration at the first work residence and the total stay duration at the first work residence.
[0080] It should be understood here that, in this embodiment, working hours are defined as 09:00 to 18:00 on weekdays, and residential hours are defined as 20:00 to 06:00 the following day on weekdays. If a target user stays at the first residential location between 09:00 and 18:00 on 30 working days, the cumulative duration of the stay is called the working residence duration at the first residential location; similarly, if a target user stays at the first working location between 20:00 and 06:00 the following day, the cumulative duration of the stay over 30 working days is called the residential residence duration at the first working location.
[0081] S102-4B, determine whether the following conditions are met: the third ratio is greater than the third threshold, the fourth ratio is less than the fourth threshold, and the fifth ratio is greater than the fifth threshold.
[0082] If not, proceed to step S102-5B; if yes, proceed to step S102-6B.
[0083] S102-5B, a work-residence overlap residence is determined based on the first work residence and the first residence, and is used to replace the first work residence and the first residence.
[0084] It should be understood here that if the third ratio between the working stay duration at the first work residence point and the working stay duration at the first residential residence point is greater than a set third threshold; the fourth ratio between the working stay duration at the first residential residence point and the total stay duration at the first residential residence point is less than a set fourth threshold; and the fifth ratio between the working stay duration at the first work residence point and the total stay duration at the first work residence point is greater than a set fifth threshold, then it means that there is a close connection between the first work residence point and the first residential residence point, and they can be merged into a work-residence overlap residence point. The location of the merged work-residence overlap residence point can be located at the midpoint of the line connecting the first work residence point and the first residential residence point, and the residence area where the merged work-residence overlap residence point is located is the union of the first work residence point and the first residential residence point.
[0085] As an example only, in this embodiment the third threshold can be 1.2, the fourth threshold can be 60%, and the fifth threshold can be 60%.
[0086] It is also worth noting that merging the first work residence and the first residential residence into a combined work-residence residence means that the target user's residence locations include those that overlap with their work-residence. Therefore, in the optional implementation, it is also possible to utilize... Figure 2 The next step is to determine the relationship between the overlapping work and residence location and the second work location, i.e., whether further adjustments are needed.
[0087] S102-6B, the first overlapping area is deducted from the dwell area corresponding to the first working dwell point.
[0088] If all the above conditions are met, it means that although there is a certain connection between the first work residence point and the second work residence point, it is not enough to merge the two. Based on the principle that the weight of the residential area is greater than the weight of the work area, the first overlapping area is deducted from the residence area corresponding to the first work residence point.
[0089] It is worth noting that, since deducting the first overlapping area from the residence area corresponding to the first working residence point means that the residence area corresponding to the first working residence point and the residence area corresponding to the first residential residence point no longer meet the condition of having a first overlapping area, in the optional implementation, step S102-7B can be executed to further determine the relationship between the first working residence point and the first residential residence point after deducting the first overlapping area, so as to make further corrections.
[0090] like Figure 4 As shown, S102-7B to S102-14B include:
[0091] S102-7B, determine whether at least one work station includes a second work station.
[0092] If yes, proceed to step S102-8B; otherwise, proceed to step S102-11B.
[0093] S102-8B, determine whether there is a second overlapping area between the respective residence areas of the second work residence point and the first residential residence point.
[0094] If yes, proceed to step S102-9B; otherwise, proceed to step S102-10B.
[0095] S102-9B, merge the residence area corresponding to the second work residence point into the residence area corresponding to the first residential residence point, and delete the second work residence point.
[0096] It should also be understood here that, based on the principle that the weight of the residential area is greater than that of the work area, the residence area of the second work residence point is merged into the residence area corresponding to the first residential residence point, that is, the union of the two is taken.
[0097] S102-10B modifies the second working residence point to a regular residence point.
[0098] If there is no second overlapping area, and the first work station already exists, the second work station will be adjusted to a regular station.
[0099] S102-11B, determine whether at least one residence location includes a second residential residence location.
[0100] If yes, proceed to step S102-12B; otherwise, end the correction operation.
[0101] S102-12B, determine whether there is a third overlapping area between the residence areas corresponding to the second residential residence point and the first work residence point.
[0102] If yes, proceed to step S102-13B; otherwise, proceed to step S102-14B.
[0103] S102-13B, merge the residence area corresponding to the second residential residence point into the residence area corresponding to the first work residence point, and delete the second residential residence point.
[0104] S102-14B amends the second residential residence point to a regular residence point.
[0105] Thus, the existing locations are being revised assuming there is no overlap between the first working location and the first residential location.
[0106] Furthermore, if at least one of the target user's places of residence does not include either a place of residence where work and residence overlap, nor a primary place of residence, then as follows: Figure 5 As shown, another alternative implementation is provided. Figure 1 Step S102 may also include the following implementations:
[0107] S102-1C, determine whether at least one residence location does not include a first residential residence location, but includes a first work residence location.
[0108] If not, proceed to step S102-2C; if not, proceed to step S102-6C.
[0109] S102-2C, obtain the number of days the target user stays at the first work station within a preset period.
[0110] S102-3C, determine whether the number of days of stay is greater than the number of days threshold.
[0111] If yes, proceed to step S102-4C; otherwise, proceed to step S102-5C.
[0112] S102-4C, revising other outposts to ordinary outposts.
[0113] S102-5C, at least one dwelling point is modified to a normal dwelling point.
[0114] S102-6C, determine that at least one of the locations of residence does not include the first residential location and the first working location.
[0115] If yes, proceed to step S102-7C; otherwise, end the correction operation.
[0116] S102-7C, at least one dwelling point is modified to a normal dwelling point.
[0117] Thus, if at least one residence location does not include a first residential residence location but includes a first work residence location, the existing residence location is modified. Alternatively, if neither a first residential residence location nor a first work residence location is included, the existing residence location is modified.
[0118] The above embodiments described specific implementations of the dwell point correction method. Based on the same inventive concept, this embodiment also provides a dwell point correction device. This dwell point correction device includes at least one software functional module that can be stored in memory or embedded in the operating system (OS) of an electronic device. The processor in the electronic device executes the executable module stored in memory. Examples include the software functional modules and computer programs included in the dwell point correction device. Please refer to... Figure 6 Functionally, a dwell point correction device may include:
[0119] The acquisition module 101 is used to acquire at least one dwell point of the target user.
[0120] In this embodiment, the acquisition module 101 is used to implement Figure 1 For a detailed description of the acquisition module 101, see the detailed description of step S101.
[0121] The correction module 102 is used to correct the attributes of at least some of the dwelling points by adopting a correction strategy that matches the type distribution of at least one dwelling point, wherein the attributes include the type of the dwelling point and at least one of the dwelling regions.
[0122] In this embodiment, the correction module 102 is used to implement Figure 1 For a detailed description of step S102, please refer to the detailed description of step S102.
[0123] It is worth noting that, under the same inventive concept, the above-mentioned acquisition module 101 and correction module 102 can also be used to implement other steps or sub-steps of the dwell point correction method. In this embodiment, they will not be described in detail. For specific implementation methods, please refer to the detailed introduction of the dwell point correction method.
[0124] In addition, the functional modules in the various embodiments of this application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.
[0125] It should also be understood that if the above embodiments are implemented as software functional modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application.
[0126] Therefore, this embodiment also provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, it implements the resident point correction method provided in this embodiment. The computer-readable storage medium can be any medium capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk.
[0127] Please refer to Figure 7 This embodiment provides an electronic device that may include a processor 202 and a memory 201. The processor 202 and the memory 201 can communicate via a system bus 204. Furthermore, the memory 201 stores a computer program, and the processor implements the dwell point correction method provided in this embodiment by reading and executing the computer program in the memory 201 corresponding to the above embodiments.
[0128] See also Figure 6 The electronic device also includes a communication unit 203. The memory 201, processor 202, and communication unit 203 are directly or indirectly connected to each other via a system bus 204 to achieve data transmission or interaction. For example, these components can be electrically connected to each other via one or more communication buses or signal lines.
[0129] The memory 201 can be an information recording device based on any electronic, magnetic, optical, or other physical principles, used to record execution instructions, data, etc. In some embodiments, the memory 201 can be, but is not limited to, volatile memory, non-volatile memory, memory drive, etc.
[0130] For example only, the volatile memory can be random access memory (RAM). The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable read-only memory (EPROM), electrically erasable read-only memory (EEPROM), flash memory, etc.; the storage drive can be a disk drive, solid-state drive, any type of storage disk (such as optical disc, DVD, etc.), or similar storage media, or a combination thereof.
[0131] The communication unit 203 is used to send and receive data over a network. In some embodiments, the network may include a wired network, a wireless network, a fiber optic network, a telecommunications network, an intranet, the Internet, a local area network (LAN), a wide area network (WAN), a wireless local area network (WLAN), a metropolitan area network (MAN), a public switched telephone network (PSTN), a Bluetooth network, a ZigBee network, or a near field communication (NFC) network, or any combination thereof. In some embodiments, the network may include one or more network access points. For example, the network may include wired or wireless network access points, such as base stations and / or network switching nodes, through which one or more components of the service request processing system can connect to the network to exchange data and / or information.
[0132] The processor 202 may be an integrated circuit chip with signal processing capabilities, and the processor may include one or more processing cores (e.g., a single-core processor or a multi-core processor). By way of example only, the processor described above may include a Central Processing Unit (CPU), an Application-Specific Integrated Circuit (ASIC), an Application-Specific Instruction-set Processor (ASIP), a Graphics Processing Unit (GPU), a Physics Processing Unit (PPU), a Digital Signal Processor (DSP), a Field Programmable Gate Array (FPGA), a Programmable Logic Device (PLD), a controller, a microcontroller unit, a Reduced Instruction Set Computing (RISC) computer, or a microprocessor, or any combination thereof.
[0133] It should be understood that the apparatus and methods disclosed in the above embodiments can also be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the architecture, functionality, and operation of possible implementations of apparatus, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order than those marked in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in a block diagram and / or flowchart, and combinations of blocks in block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
[0134] The above descriptions are merely various embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for correcting a dwell point, characterized in that, The method includes: Acquire at least one user's dwell time; Based on the type distribution of the at least one dwelling point, a correction strategy matching the type distribution is adopted to correct the attributes of at least some dwelling points, wherein the attributes include at least one of the dwelling point type, location, and dwelling region. This step specifically includes: If the at least one residence location includes a residence location that overlaps with work, then it is determined whether the at least one residence location also includes a second work residence location. The residence location that overlaps with work means that the target user's first work residence location and first residential residence location are located in the same location. The first work residence location represents the user's permanent work location, and the first residential residence location represents the user's permanent residential location. The duration of work residence at the first work residence location is greater than the duration of work residence at the second work residence location. If the second work residence point is included, then obtain the first ratio between the work residence duration of the second work residence point and the work residence duration of the work residence point that overlaps with the residence, and the second ratio between the work residence duration of the second work residence point and the total residence duration of the second work residence point. If the first ratio is greater than the first threshold and the second ratio is greater than the second threshold, then the work-residence overlap residence point is corrected to the first residential residence point, and the second work residence point is corrected to the first work residence point.
2. The dwell point correction method according to claim 1, characterized in that, The step of modifying the attributes of at least some of the residence points by adopting a modification strategy that matches the type distribution of the at least one residence point further includes: If the first ratio is not greater than the first threshold and the second ratio is not greater than the second threshold, then the second working dwell point is corrected to a normal dwell point.
3. The dwell point correction method according to claim 1, characterized in that, The step of modifying the attributes of at least some of the residence points by adopting a modification strategy that matches the type distribution of the at least one residence point further includes: If the at least one residence point includes a first residential residence point and a first work residence point, then determine whether there is a first overlapping area between the residence areas corresponding to the first residential residence point and the first work residence point respectively. If the first overlapping area exists, then obtain the third ratio between the working stay duration of the first work residence point and the working stay duration of the first residential residence point, the fourth ratio between the working stay duration of the first residential residence point and the total stay duration of the first residential residence point, and the fifth ratio between the working stay duration of the first work residence point and the total stay duration of the first work residence point. If the conditions are not met (the third ratio is greater than the third threshold, the fourth ratio is less than the fourth threshold, and the fifth ratio is greater than the fifth threshold), then a work-residence overlap location is determined based on the first work location and the first residence location, and is used to replace the first work location and the first residence location.
4. The dwell point correction method according to claim 3, characterized in that, The step of modifying the attributes of at least some of the residence points by adopting a modification strategy that matches the type distribution of the at least one residence point further includes: If the third ratio is greater than the third threshold, the fourth ratio is less than the fourth threshold, and the fifth ratio is greater than the fifth threshold, then the first overlapping region is deducted from the residence region corresponding to the first working residence point.
5. The dwell point correction method according to claim 3, characterized in that, The step of modifying the attributes of at least some of the residence points by adopting a modification strategy that matches the type distribution of the at least one residence point further includes: If the first overlapping area does not exist, then determine whether the at least one dwelling point includes a second working dwelling point; If the second work residence point is included, then determine whether there is a second overlapping area between the residence areas corresponding to the second work residence point and the first residential residence point; If the second overlapping area exists, the residence area corresponding to the second work residence point is merged into the residence area corresponding to the first residential residence point, and the second work residence point is deleted. If the second overlapping region does not exist, the second work dwell point is modified to a normal dwell point.
6. The dwell point correction method according to claim 5, characterized in that, The step of modifying the attributes of at least some of the residence points by adopting a modification strategy that matches the type distribution of the at least one residence point further includes: If the second work residence is not included, then determine whether the at least one residence includes a second residential residence. If the second residential residence is included, then determine whether there is a third overlapping area between the residence areas corresponding to the second residential residence and the first work residence. If the third overlapping area exists, the residence area corresponding to the second residential residence point will be merged into the residence area corresponding to the first work residence point, and the second residential residence point will be deleted. If the third overlapping area does not exist, the second residential residence point will be modified to a regular residence point.
7. A dwell point correction device, characterized in that, The device includes: The acquisition module is used to acquire at least one dwell point of the target user; The correction module is configured to correct the attributes of at least some of the dwelling points by adopting a correction strategy that matches the type distribution of the at least one dwelling point, wherein the attributes include the type of the dwelling point and at least one of the dwelling regions, and the correction module is further configured to: If the at least one residence location includes a residence location that overlaps with work, then it is determined whether the at least one residence location also includes a second work residence location. The residence location that overlaps with work means that the target user's first work residence location and first residential residence location are located in the same location. The first work residence location represents the user's permanent work location, and the first residential residence location represents the user's permanent residential location. The duration of work residence at the first work residence location is greater than the duration of work residence at the second work residence location. If the second work residence point is included, then obtain the first ratio between the work residence duration of the second work residence point and the work residence duration of the work residence point that overlaps with the residence, and the second ratio between the work residence duration of the second work residence point and the total residence duration of the second work residence point. If the first ratio is greater than the first threshold and the second ratio is greater than the second threshold, then the work-residence overlap residence point is corrected to the first residential residence point, and the second work residence point is corrected to the first work residence point.
8. A storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, implements the dwell point correction method according to any one of claims 1-6.
9. An electronic device, characterized in that, The electronic device includes a processor and a memory, the memory storing a computer program, which, when executed by the processor, implements the dwell point correction method according to any one of claims 1-6.
Citation Information
Patent Citations
Job-house information determination method and device, equipment and storage medium
CN113283542A