Method, device and equipment for judging enterprise relocation and storage medium
By obtaining and analyzing the location data of the employees of the enterprise, the grid changes of the enterprise's work place are determined, and the calculation location is overlapping to determine whether the company is relocated, solving the problem of difficulty and high cost information in the traditional method, and achieves efficient and accurate efficiency and accuracy Corporate relocation judgment.
Patent Information
- Application Number
- CN202411242393.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-05
- Publication Date
- 2025-01-28
AI Technical Summary
The traditional enterprise relocation information acquisition method has problems such as difficulty in obtaining data, strong subjectivity, and excessive labor costs. The method of directly obtaining the user's precise location through the user's mobile terminal involves high-authority operations and is not suitable for actual use.
By obtaining the current MR grid data of the analysis area and the previous MR grid data, the company's current centralized grid and the previous concentration grid are determined to determine whether the company is relocated. This method does not involve user high authority operations. Based on the geographical concentration of corporate employees' workplace, it has realized the identification of potential signs of enterprise relocation.
The judgment of efficient and accurate corporate relocation, reducing the cost of manpower, and avoiding the risk of user high authority operations.
Smart Images

Figure CN119379340A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of telecommunication services, and in particular to a method, device, equipment and storage medium for determining enterprise relocation. Background Art
[0002] With the development of economy and the advancement of urbanization, enterprise relocation has become more and more common in modern society. Whether the enterprise relocation can be discovered in time has become an important factor for the telecommunications industry to maintain enterprise customers. The traditional method of obtaining enterprise relocation information mainly relies on the business manager's door-to-door visits. This method often results in delays in discovering customer relocation, missing the best time to maintain customers, and causing the loss of enterprise customers. Therefore, the traditional door-to-door visits by business managers have problems such as difficulty in obtaining data, strong subjectivity, and excessively high labor costs.
[0003] To solve the drawbacks of the traditional method, we can consider obtaining the user's precise location directly through the user's mobile terminal to determine the company's relocation. However, this method involves high-authority operations that are relatively sensitive to users and is not suitable for actual use. In summary, both methods have certain drawbacks and are not suitable for current actual business needs. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a method, device, equipment and storage medium for determining enterprise relocation to solve the above technical problem.
[0005] The technical solution of the present invention to solve the above technical problems is as follows: a method for determining enterprise relocation, comprising: respectively obtaining current MR grid data and past MR grid data for an area to be analyzed; the current MR grid data includes the position information of each grid divided into the area to be analyzed, the number of users respectively contained in each grid in the current time period, and the user personal information of each user; the past MR grid data includes the position information of each grid divided into the area to be analyzed, the number of users respectively contained in each grid in a past time period, and the user personal information of each user, wherein the past time period represents any time period before the current time period; and determining the relocation of each enterprise in the area to be analyzed according to the current MR grid data. The corresponding current concentration grid; for each enterprise, the current concentration grid represents the grid where the employees of the enterprise are mainly concentrated in the current period; according to the past MR grid data, the past concentration grids corresponding to each enterprise in the area to be analyzed are determined respectively; for each enterprise, the past concentration grid represents the grid where the employees of the enterprise are mainly concentrated in the past period; according to the current concentration grid and the past concentration grid corresponding to each enterprise, the position overlap corresponding to each enterprise is calculated respectively; for each enterprise, the position overlap represents the degree of overlap between the current concentration grid and the past concentration grid; according to the position overlap corresponding to each enterprise, it is judged whether each enterprise is relocated.
[0006] The beneficial effects of the present invention are as follows: the method determines the current concentrated grid and the past concentrated grid according to the current MR grid data and the past MR grid data, respectively, and uses the current concentrated grid and the past concentrated grid to respectively reflect the main workplaces of the enterprise in two periods of time. Then, the location overlap of the enterprise is calculated according to the current concentrated grid and the past concentrated grid to reflect the changes in the office location of the enterprise, so as to judge the relocation of the enterprise. The method recognizes potential signs of enterprise relocation based on the changes in the geographical concentration of the workplaces of enterprise employees, and can efficiently and accurately judge the relocation of the enterprise without involving high-authority operations that are more sensitive to users.
[0007] Based on the above technical solution, the present invention can also be improved as follows.
[0008] Further, the respectively obtaining of current MR raster data and past MR raster data for the area to be analyzed includes: respectively obtaining current MR data and past MR data corresponding to each user in the area to be analyzed; for each user, the current MR data includes the user's personal information and the user's location information in the current time period, and the past MR data includes the user's personal information and the user's location information in the past time periods; rasterizing the current MR data corresponding to each user in the area to be analyzed to obtain the current MR raster data; rasterizing the past MR data corresponding to each user in the area to be analyzed to obtain the past MR raster data.
[0009] Furthermore, it also includes: removing grids in the current MR grid data whose number of users is less than a preset first value from the current MR grid data, and removing grids in the past MR grid data whose number of users is less than the first value from the past MR grid data.
[0010] The beneficial effect of adopting the above further solution is that grids containing a small number of users are difficult to truly reflect the concentration of enterprise workplaces, so grids containing too few users are eliminated.
[0011] Furthermore, for each enterprise, the current concentrated grid corresponding to the enterprise is determined based on the current MR grid data, including: calculating the number of users belonging to the enterprise contained in each grid during the current time period based on the current MR grid data; sorting each grid according to the number of users belonging to the enterprise contained in each grid during the current time period to obtain a first sorting result; and determining the current concentrated grid corresponding to the enterprise based on the first sorting result.
[0012] Furthermore, for each enterprise, the past concentrated grid corresponding to the enterprise is determined based on the past MR grid data, including: calculating the number of users belonging to the enterprise contained in each grid in the past time period based on the past MR grid data; sorting each grid according to the number of users belonging to the enterprise contained in each grid in the past time period to obtain a second sorting result; and determining the past concentrated grid corresponding to the enterprise based on the second sorting result.
[0013] Furthermore, for each enterprise, the position overlap corresponding to the enterprise is calculated based on the current concentrated grids and the past concentrated grids corresponding to the enterprise, including: calculating the number of overlapping grids based on the position information of each current concentrated grid and the position information of each past concentrated grid corresponding to the enterprise; obtaining the number of current concentrated grids corresponding to the enterprise; and calculating the position overlap corresponding to the enterprise based on the number of overlapping grids and the number of current concentrated grids corresponding to the enterprise.
[0014] Furthermore, for each enterprise, whether the enterprise should be relocated is determined based on the location overlap of the enterprise, including:
[0015] S1, determine whether the location overlap corresponding to the enterprise is equal to zero, if yes, execute S2 to S3; otherwise, determine that the enterprise has not moved;
[0016] S2. Calculate a first distance between the current concentrated grid and the previous concentrated grid corresponding to the enterprise;
[0017] S3. Determine whether the first distance is greater than a preset second value. If so, determine that the enterprise has relocated; otherwise, determine that the enterprise has not relocated.
[0018] In order to solve the above technical problems, the present invention also provides a device for determining enterprise relocation, comprising:
[0019] The data acquisition module is used to respectively acquire current MR grid data and past MR grid data for the area to be analyzed; the current MR grid data includes the position information of each grid divided into the area to be analyzed, the number of users respectively included in each grid in the current time period, and the user personal information of each user; the past MR grid data includes the position information of each grid divided into the area to be analyzed, the number of users respectively included in each grid in the past time period, and the user personal information of each user, and the past time period represents any time period before the current time period;
[0020] A current grid processing module is used to determine the current concentrated grids corresponding to the various enterprises in the area to be analyzed according to the current MR grid data; for each enterprise, the current concentrated grid represents the grid where the employees of the enterprise are mainly concentrated in the current period;
[0021] A past grid processing module is used to determine the past concentrated grids corresponding to each enterprise in the area to be analyzed according to the past MR grid data; for each enterprise, the past concentrated grid represents the grid where the employees of the enterprise are mainly concentrated in the past period;
[0022] The overlap calculation module is used to calculate the position overlap corresponding to each enterprise according to the current concentrated grid and the past concentrated grid corresponding to each enterprise; for each enterprise, the position overlap represents the overlap degree between the current concentrated grid and the past concentrated grid;
[0023] The judgment module is used to judge whether each enterprise should be relocated according to the overlap of the locations corresponding to each enterprise.
[0024] In order to solve the above technical problems, the present invention also provides an electronic device, including a memory, a processor and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method for determining enterprise relocation as described above is implemented.
[0025] In order to solve the above technical problems, the present invention also provides a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable a computer to execute the enterprise relocation judgment method as described above. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 A flow chart of a method for determining enterprise relocation according to the present invention;
[0027] Figure 2 The figure is a schematic diagram of a device for determining enterprise relocation according to the present invention. DETAILED DESCRIPTION
[0028] The principles and features of the present invention are described below. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.
[0029] Embodiment 1
[0030] Generally, enterprises usually have fixed office addresses, and the work locations of enterprise members often show a certain degree of geographical concentration. By comparing the work locations of enterprise members in the previous and next months, if the concentration of enterprise members' work locations changes significantly, it may indicate the possibility of enterprise relocation. Mobile communication base stations have a wide coverage, and the communication data between mobile terminals and base stations records a large amount of user MR data, and does not involve sensitive high-authority operations of users. These data can indirectly reflect the concentrated areas of enterprise members. Therefore, using base station data to predict enterprise relocation has broad application prospects.
[0031] Based on this, Figure 1As shown, this embodiment provides a method for determining enterprise relocation, including: respectively obtaining current MR grid data and past MR grid data for an area to be analyzed; the current MR grid data includes position information of each grid divided into the area to be analyzed, the number of users each grid contains in a current time period, and user personal information of each user; the past MR grid data includes position information of each grid divided into the area to be analyzed, the number of users each grid contains in a past time period, and user personal information of each user, wherein the past time period represents any time period before the current time period; and according to the current MR grid data, respectively determining the current time period corresponding to each enterprise in the area to be analyzed previous concentrated grid; for each enterprise, the current concentrated grid represents the grid where the employees of the enterprise are mainly concentrated in the current period; according to the past MR grid data, the past concentrated grids corresponding to each enterprise in the area to be analyzed are determined respectively; for each enterprise, the past concentrated grid represents the grid where the employees of the enterprise are mainly concentrated in the past period; according to the current concentrated grid and the past concentrated grid corresponding to each enterprise, the position overlap corresponding to each enterprise is calculated respectively; for each enterprise, the position overlap represents the degree of overlap between the current concentrated grid and the past concentrated grid; according to the position overlap corresponding to each enterprise, it is judged whether each enterprise is relocated.
[0032] The current MR grid data and the past MR grid data generally select data from two consecutive months, namely the current month and the previous month. For each enterprise, the number of currently concentrated grids and the number of previously concentrated grids can be set according to actual conditions. It should be noted that the number of currently concentrated grids corresponding to each enterprise should be equal to the number of previously concentrated grids corresponding to the enterprise. In this embodiment, for each enterprise, the number of currently concentrated grids is set to 5, and the number of previously concentrated grids is set to 5.
[0033] This method determines the current concentrated grid and the past concentrated grid according to the current MR grid data and the past MR grid data, respectively, and uses the current concentrated grid and the past concentrated grid to reflect the main workplaces of the enterprise in two periods of time. Then, the location overlap of the enterprise is calculated based on the current concentrated grid and the past concentrated grid to reflect the changes in the office location of the enterprise, so as to judge the relocation of the enterprise. This method recognizes potential signs of enterprise relocation based on the changes in the geographical concentration of the workplaces of enterprise employees, and can efficiently and accurately judge the relocation of the enterprise without involving sensitive high-authority operations of users.
[0034] Optionally, in an embodiment, the respectively obtaining of current MR raster data and past MR raster data for the area to be analyzed includes: respectively obtaining current MR data and past MR data corresponding to each user in the area to be analyzed; for each user, the current MR data includes the user's personal information and the user's location information in the current time period, and the past MR data includes the user's personal information and the user's location information in the past time periods; rasterizing the current MR data corresponding to each user in the area to be analyzed to obtain the current MR raster data; rasterizing the past MR data corresponding to each user in the area to be analyzed to obtain the past MR raster data.
[0035] The current MR data and past MR data corresponding to each user in the area to be analyzed are all data corresponding to office hours, which are provided by the enterprise through the interface table. The user's personal information includes the enterprise information to which the user belongs. The employee's location information is determined by the latitude and longitude trajectory information or the clock-in information.
[0036] Before rasterization, the current MR data and past MR data need to be preprocessed, including removing invalid data, filling missing values, handling abnormal situations, etc., to ensure data quality and accuracy. The data cleaning and processing technology in general data mining is used, and the specific processing rules are determined according to the specific business scenario.
[0037] The grid is a virtual segmentation concept. Each grid has its own corresponding location information, which is expressed in the form of longitude and latitude boundary information. According to the current MR data corresponding to each user, the permanent grid of each employee for the current month is calculated, so that each employee is matched with the grid to obtain the current MR grid data. According to the past MR data corresponding to each user, the permanent grid of each employee last month is calculated, so that each employee is matched with the grid to obtain the past MR grid data.
[0038] Optionally, in an embodiment, it also includes: removing grids in the current MR grid data whose number of users is less than a preset first value from the current MR grid data, and removing grids in the past MR grid data whose number of users is less than the first value from the past MR grid data.
[0039] Analysis of normal enterprises shows that the current concentrated grid and the previous concentrated grid are stable, and the position overlap can generally reach 80%. However, due to the nature and scale of the enterprise industry, it is possible that the concentrated grid fails to fully reflect the concentration of the enterprise's workplace. Therefore, an analysis of the situation of enterprises with low position overlap but not relocated found that the number of members belonging to the concentrated grid of these enterprises is low, and the proportion of the scale of integrated members is low. Therefore, grids with too few users are eliminated. For the first value, it can be set according to the actual situation. For example, the first value is set to 5, that is, the number of users contained in the grid is greater than or equal to five to be a valid grid.
[0040] Optionally, in an embodiment, for each enterprise, a current concentrated grid corresponding to the enterprise is determined based on the current MR grid data, including: calculating the number of users belonging to the enterprise contained in each grid within the current time period based on the current MR grid data; sorting each grid according to the number of users belonging to the enterprise contained in each grid within the current time period to obtain a first sorting result; and determining the current concentrated grid corresponding to the enterprise based on the first sorting result.
[0041] Optionally, in an embodiment, for each enterprise, the past concentrated grid corresponding to the enterprise is determined based on the past MR grid data, including: calculating the number of users belonging to the enterprise contained in each grid in the past time period according to the past MR grid data; sorting each grid according to the number of users belonging to the enterprise contained in each grid in the past time period to obtain a second sorting result; and determining the past concentrated grid corresponding to the enterprise based on the second sorting result.
[0042] In general, the first sorting result and the second sorting result are both sorting results generated from high to low in terms of quantity. For example, the number of current concentrated grids and past concentrated grids are both set to 5. According to the first sorting result, the five grids containing the largest number of users belonging to the enterprise are taken as the current concentrated grids, that is, the first five grids are taken according to the first sorting result; according to the second sorting result, the five grids containing the largest number of users belonging to the enterprise are taken as the past concentrated grids, that is, the first five grids are taken according to the second sorting result. The determination of the current concentrated grid and the past concentrated grid can be determined not only based on the number of enterprise employees contained in the grid, but also by the density of employees in each grid.
[0043] Optionally, in an embodiment, for each enterprise, the position overlap corresponding to the enterprise is calculated based on the current concentrated grids and the past concentrated grids corresponding to the enterprise, including: calculating the number of overlapping grids based on the position information of each current concentrated grid and the position information of each past concentrated grid corresponding to the enterprise; obtaining the number of current concentrated grids corresponding to the enterprise; and calculating the position overlap corresponding to the enterprise based on the number of overlapping grids and the number of current concentrated grids corresponding to the enterprise.
[0044] Extract the location information of each current concentrated grid and the location information of each past concentrated grid corresponding to the enterprise, and determine whether there are identical grids by comparing the location information of each current concentrated grid and the location information of each past concentrated grid, so as to calculate the number of overlapping grids. The position overlap is equal to the number of overlapping grids / the number of current concentrated grids. For example, if the current concentrated grids are a, b, c, d, and e, and the past concentrated grids are f, g, i, q, and y, the position overlap is 0; if the current concentrated grids are a, b, c, d, and e, and the past concentrated grids are b, g, i, q, and y, the number of overlapping grids is one, and the position overlap is 20%.
[0045] Optionally, in the embodiment, for each enterprise, judging whether the enterprise should be relocated according to the location overlap corresponding to the enterprise includes:
[0046] S1, determine whether the location overlap corresponding to the enterprise is equal to zero, if yes, execute S2 to S3; otherwise, determine that the enterprise has not moved;
[0047] S2. Calculate a first distance between the current concentrated grid and the previous concentrated grid corresponding to the enterprise;
[0048] S3. Determine whether the first distance is greater than a preset second value. If so, determine that the enterprise has relocated; otherwise, determine that the enterprise has not relocated.
[0049] If the location overlap of an enterprise is zero, that is, the current concentrated grids of the enterprise are completely different from the previous concentrated grids, it means that the employees' work locations have changed significantly, and there is a possibility of enterprise relocation. When the location overlap of an enterprise is zero, the distance between the current concentrated grid and the previous concentrated grid of the enterprise is used to further determine the relocation of the enterprise, thereby improving the accuracy of relocation identification.
[0050] Through geographic information processing technology, the distance between the current concentrated grid and the past concentrated grid of the enterprise is calculated. In the case where the number of current concentrated grids and the number of past concentrated grids are both greater than 1, it is necessary to calculate the distance between each current concentrated grid and the past concentrated grid one by one. For example, if there are five current concentrated grids and five past concentrated grids corresponding to the enterprise, the distance between the first current concentrated grid and the first past concentrated grid, the distance between the second current concentrated grid and the second past concentrated grid, the distance between the third current concentrated grid and the third past concentrated grid, the distance between the fourth current concentrated grid and the fourth past concentrated grid, and the distance between the fifth current concentrated grid and the fifth past concentrated grid are calculated respectively. It is judged whether each distance is greater than the preset second value. If each distance is greater than the second value, it is determined that the enterprise has moved; otherwise, it is determined that the enterprise has not moved. For the second value, it can be set according to the actual situation, for example, the second value is set to 1 kilometer.
[0051] On the basis of the position overlap being zero, it is also required that the distance between each current concentrated grid and its corresponding previous concentrated grid is greater than a preset second value to avoid misjudgment due to precision error.
[0052] The test was conducted using real data from a certain province, and the results are shown in the following table:
[0053] Table 1 Comparison table of enterprise relocation prediction results and actual situation
[0054]
[0055] From the experimental results, it can be seen that this method can more accurately identify enterprise relocation.
[0056] Embodiment 2
[0057] like Figure 2 As shown, this embodiment provides a device for determining enterprise relocation, including:
[0058] The data acquisition module is used to respectively acquire current MR grid data and past MR grid data for the area to be analyzed; the current MR grid data includes the position information of each grid divided into the area to be analyzed, the number of users respectively included in each grid in the current time period, and the user personal information of each user; the past MR grid data includes the position information of each grid divided into the area to be analyzed, the number of users respectively included in each grid in the past time period, and the user personal information of each user, and the past time period represents any time period before the current time period;
[0059] A current grid processing module is used to determine the current concentrated grids corresponding to the various enterprises in the area to be analyzed according to the current MR grid data; for each enterprise, the current concentrated grid represents the grid where the employees of the enterprise are mainly concentrated in the current period;
[0060] A past grid processing module is used to determine the past concentrated grids corresponding to each enterprise in the area to be analyzed according to the past MR grid data; for each enterprise, the past concentrated grid represents the grid where the employees of the enterprise are mainly concentrated in the past period;
[0061] The overlap calculation module is used to calculate the position overlap corresponding to each enterprise according to the current concentrated grid and the past concentrated grid corresponding to each enterprise; for each enterprise, the position overlap represents the overlap degree between the current concentrated grid and the past concentrated grid;
[0062] The judgment module is used to judge whether each enterprise should be relocated according to the overlap of the locations corresponding to each enterprise.
[0063] Optionally, in an embodiment, the data acquisition module includes:
[0064] A data acquisition unit, used to respectively acquire current MR data and past MR data corresponding to each user in the area to be analyzed; for each user, the current MR data includes the user's user personal information and the user's location information in the current time period, and the past MR data includes the user's user personal information and the user's location information in the past time period;
[0065] A first data processing unit, configured to perform rasterization processing on current MR data corresponding to each user in the area to be analyzed, to obtain the current MR raster data;
[0066] The second data processing unit is used to perform rasterization processing on the past MR data corresponding to each user in the analysis area to obtain the past MR raster data.
[0067] Optionally, in an embodiment, the device further comprises:
[0068] The data preprocessing module is used to remove grids whose number of users in the current MR grid data is less than a preset first value from the current MR grid data, and to remove grids whose number of users in the past MR grid data is less than the first value from the past MR grid data.
[0069] Optionally, in an embodiment, for each enterprise, a current concentrated grid corresponding to the enterprise is determined based on the current MR grid data, including: calculating the number of users belonging to the enterprise contained in each grid within the current time period based on the current MR grid data; sorting each grid according to the number of users belonging to the enterprise contained in each grid within the current time period to obtain a first sorting result; and determining the current concentrated grid corresponding to the enterprise based on the first sorting result.
[0070] Optionally, in an embodiment, for each enterprise, the past concentrated grid corresponding to the enterprise is determined based on the past MR grid data, including: calculating the number of users belonging to the enterprise contained in each grid in the past time period according to the past MR grid data; sorting each grid according to the number of users belonging to the enterprise contained in each grid in the past time period to obtain a second sorting result; and determining the past concentrated grid corresponding to the enterprise based on the second sorting result.
[0071] Optionally, in an embodiment, for each enterprise, the position overlap corresponding to the enterprise is calculated based on the current concentrated grids and the past concentrated grids corresponding to the enterprise, including: calculating the number of overlapping grids based on the position information of each current concentrated grid and the position information of each past concentrated grid corresponding to the enterprise; obtaining the number of current concentrated grids corresponding to the enterprise; and calculating the position overlap corresponding to the enterprise based on the number of overlapping grids and the number of current concentrated grids corresponding to the enterprise.
[0072] Optionally, in the embodiment, for each enterprise, judging whether the enterprise should be relocated according to the location overlap corresponding to the enterprise includes:
[0073] S1, determine whether the location overlap corresponding to the enterprise is equal to zero, if yes, execute S2 to S3; otherwise, determine that the enterprise has not moved;
[0074] S2. Calculate a first distance between the current concentrated grid and the previous concentrated grid corresponding to the enterprise;
[0075] S3. Determine whether the first distance is greater than a preset second value. If so, determine that the enterprise has relocated; otherwise, determine that the enterprise has not relocated.
[0076] Embodiment 3
[0077] This embodiment provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, a method for determining enterprise relocation as described in Embodiment 1 is implemented.
[0078] Embodiment 4
[0079] This embodiment provides a non-transitory computer-readable storage medium, which stores computer instructions. The computer instructions are used to enable a computer to execute a method for determining enterprise relocation as described in the first embodiment.
[0080] In the description of the present invention, it is to be understood that the terms “center”, “longitudinal”, “lateral”, “length”, “width”, “thickness”, “up”, “down”, “front”, “back”, “left”, “right”, “vertical”, “horizontal”, “top”, “bottom”, “inside”, “outside”, “clockwise”, “counterclockwise”, “axial”, “radial”, “circumferential”, etc., indicating orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as limiting the present invention.
[0081] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.
[0082] In the present invention, unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", "fixed" and the like should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium, it can be the internal connection of two elements or the interaction relationship between two elements, unless otherwise clearly defined. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0083] In the present invention, unless otherwise clearly specified and limited, a first feature being "above" or "below" a second feature may mean that the first and second features are in direct contact, or the first and second features are in indirect contact through an intermediate medium. Moreover, a first feature being "above", "above" or "above" a second feature may mean that the first feature is directly above or obliquely above the second feature, or simply means that the first feature is higher in level than the second feature. A first feature being "below", "below" or "below" a second feature may mean that the first feature is directly below or obliquely below the second feature, or simply means that the first feature is lower in level than the second feature.
[0084] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.
[0085] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.
Claims
1. A method for determining enterprise relocation, characterized in that: include: Respectively obtain current MR grid data and past MR grid data for the area to be analyzed; the current MR grid data includes the position information of each grid divided into the area to be analyzed, the number of users respectively contained in each grid in the current time period, and the user personal information of each user; the past MR grid data includes the position information of each grid divided into the area to be analyzed, the number of users respectively contained in each grid in the past time period, and the user personal information of each user, and the past time period represents any time period before the current time period; According to the current MR grid data, respectively determine the current concentrated grid corresponding to each enterprise in the area to be analyzed; For each enterprise, the current concentration grid represents the grid containing the most employees in the enterprise during the current period; According to the past MR grid data, respectively determine the past concentrated grids corresponding to each enterprise in the area to be analyzed; For each enterprise, the past concentrated grid represents the grid containing the most employees in the enterprise in the past period; According to the current concentrated grid and the past concentrated grid corresponding to each enterprise, the position overlap corresponding to each enterprise is calculated respectively; For each enterprise, the position overlap represents the degree of overlap between the current concentrated grid and the previous concentrated grid; According to the overlap of the locations corresponding to each enterprise, it is determined whether each enterprise should be relocated.
2. A method for determining enterprise relocation according to claim 1, characterized in that: The step of respectively acquiring current MR grid data and past MR grid data for the area to be analyzed includes: Respectively obtain the current MR data and the past MR data corresponding to each user in the area to be analyzed; for each user, the current MR data includes the user's user personal information and the user's location information in the current time period, and the past MR data includes the user's user personal information and the user's location information in the past time period; Performing rasterization processing on the current MR data corresponding to each user in the area to be analyzed to obtain the current MR raster data; The past MR data corresponding to each user in the area to be analyzed is rasterized to obtain the past MR raster data.
3. The method for determining enterprise relocation according to claim 1, characterized in that: Also includes: Grids in the current MR grid data whose number of users is less than a preset first value are removed from the current MR grid data, and grids in the past MR grid data whose number of users is less than the first value are removed from the past MR grid data.
4. The method for determining enterprise relocation according to claim 1, characterized in that: For each enterprise, according to the current MR grid data, determining the current centralized grid corresponding to the enterprise includes: According to the current MR grid data, respectively calculating the number of users belonging to the enterprise contained in each grid in the current time period; Sorting each grid according to the number of users belonging to the enterprise contained in each grid in the current period to obtain a first sorting result; According to the first sorting result, a current concentrated grid corresponding to the enterprise is determined.
5. The method for determining enterprise relocation according to claim 1, characterized in that: For each enterprise, according to the past MR grid data, the past concentrated grid corresponding to the enterprise is determined, including: According to the past MR grid data, respectively calculating the number of users belonging to the enterprise contained in each grid in the past period; Sorting each grid according to the number of users belonging to the enterprise contained in each grid in the past period to obtain a second sorting result; According to the second sorting result, the past concentrated grid corresponding to the enterprise is determined.
6. A method for determining enterprise relocation according to claim 1, characterized in that: For each enterprise, the location overlap corresponding to the enterprise is calculated based on the current concentrated grid and the previous concentrated grid corresponding to the enterprise, including: Calculate the number of overlapping grids according to the location information of each current concentrated grid and the location information of each past concentrated grid corresponding to the enterprise; Obtain the number of currently concentrated grids corresponding to the enterprise; The position overlap degree corresponding to the enterprise is calculated according to the number of overlapping grids and the number of currently concentrated grids corresponding to the enterprise.
7. The method for determining enterprise relocation according to claim 1, characterized in that: For each enterprise, determine whether the enterprise should be relocated based on the overlap of the corresponding locations of the enterprise, including: S1, determine whether the location overlap corresponding to the enterprise is equal to zero, if yes, execute S2 to S3; otherwise, determine that the enterprise has not moved; S2. Calculate a first distance between the current concentrated grid and the previous concentrated grid corresponding to the enterprise; S3. Determine whether the first distance is greater than a preset second value. If so, determine that the enterprise has relocated; otherwise, determine that the enterprise has not relocated.
8. A device for determining enterprise relocation, characterized in that: include: The data acquisition module is used to respectively acquire current MR grid data and past MR grid data for the area to be analyzed; the current MR grid data includes the position information of each grid divided into the area to be analyzed, the number of users respectively included in each grid in the current time period, and the user personal information of each user; the past MR grid data includes the position information of each grid divided into the area to be analyzed, the number of users respectively included in each grid in the past time period, and the user personal information of each user, and the past time period represents any time period before the current time period; A current grid processing module, used to determine the current concentrated grid corresponding to each enterprise in the area to be analyzed according to the current MR grid data; For each enterprise, the current concentration grid represents the grid where the employees in the enterprise are mostly concentrated in the current period; A past grid processing module is used to determine the past concentrated grids corresponding to each enterprise in the area to be analyzed according to the past MR grid data; for each enterprise, the past concentrated grid represents the grid where the employees of the enterprise are mainly concentrated in the past period; The overlap calculation module is used to calculate the position overlap corresponding to each enterprise according to the current concentrated grid and the past concentrated grid corresponding to each enterprise; For each enterprise, the position overlap represents the degree of overlap between the current concentrated grid and the previous concentrated grid; The judgment module is used to judge whether each enterprise should be relocated according to the overlap of the locations corresponding to each enterprise.
9. An electronic device, characterized in that: The method comprises a memory, a processor and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, a method for determining enterprise relocation as claimed in any one of claims 1 to 7 is implemented.
10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to enable a computer to execute a method for determining enterprise relocation as described in any one of claims 1 to 7.