A regional planning method and system based on big data
By analyzing the location of tourists and the number of store customers through big data, we can build and sort operational maps, which solves the problem of relying on personal experience in street planning in the existing technology, provides scientific planning reference, and enhances the attractiveness of streets.
Patent Information
- Application Number
- CN202410929091.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-11
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-07-11
AI Technical Summary
The existing street planning process relies on the designer's personal abilities and experience and lacks effective reference data, resulting in poor design and affecting street popularity.
Using a regional planning method based on big data, we obtain the location of tourists through the camera system, build an operation map, determine the number of store customers, cluster operation characteristics, and sort the operation maps based on identification characteristics to provide planning reference.
Reflecting the advantages and disadvantages of store distribution information through operational characteristics, it helps planners develop more attractive street layouts and increase street popularity.
Smart Images

Figure CN118469262B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of regional planning, and in particular to a regional planning method and system based on big data. Background Art
[0002] The street is a major gathering place for people. It is arranged in an east-west direction, with the entrance as the central axis. The building facades mostly use towers, arcades, and rain covers to create new divisions in the space. The interior space has both centralized commerce and scattered shops.
[0003] Streets are generally built in locations with large pedestrian flow. When the pedestrian flow is relatively large, the planning of stores therein is very important. Good planning can make the streets more popular. The existing street planning process completely relies on the personal ability and experience of the designer. When designing, there is very little reference data. How to provide more reference data to assist designers in planning and designing is the technical problem that the technical solution of the present invention wants to solve. Summary of the invention
[0004] The purpose of the present invention is to provide a regional planning method and system based on big data to solve the problems raised in the above background technology.
[0005] To achieve the above object, the present invention provides the following technical solutions:
[0006] A regional planning method based on big data, the method comprising:
[0007] Obtain store distribution information on the street and build an operation map;
[0008] Acquire the location of tourists in a street within a time period according to the camera system, and determine the number of customers of each store in the street according to the location of the tourists;
[0009] Filling the customer volume into the operation map to obtain the operation characteristics; the operation map and the operation characteristics correspond one to one; the operation characteristics are images used to represent the street operation status over a period of time;
[0010] Obtain the operational characteristics of different streets in different time periods, cluster the operational characteristics, and calculate identification features based on similar operational characteristics;
[0011] The operation map is sorted based on the identification features, and the sorted operation map is output as a planning reference.
[0012] In some embodiments of the present invention, the step of obtaining the location of tourists in a street within a time period according to the camera system and determining the number of customers of each store in the street according to the location of tourists includes:
[0013] Detect tourists at street entrances in real time according to the camera system, and obtain images of tourists when tourists are detected;
[0014] Identify the tourist image and locate the tourist area; the camera in the camera system has a built-in temperature sensor;
[0015] Performing contour recognition in the tourist area and constructing tourist features based on the contour recognition results; the tourist features are determined by contours containing color values;
[0016] The global image collected by the camera system is read at regular intervals, and the tourist is located in the global image by the tourist features to obtain the tourist position; the reading time of the global image is used as the acquisition time and as the index of the tourist position;
[0017] The locations of tourists within a time period are counted based on the acquisition time, and the number of customers in each store on the street is determined.
[0018] In some examples of the present invention, the step of counting the locations of tourists within a time period based on the acquisition time to determine the number of customers of each store in the street includes:
[0019] Read the location of tourists at different times and mark the tourist points on the operation map;
[0020] Connect the tourist points in order to obtain the tourist trajectory, and accumulate the color value of the tourist trajectory according to the preset benchmark value;
[0021] For any store, query the store range in the operation map and intercept the visitor trajectory based on the store range;
[0022] The color values of the intercepted tourist trajectories are accumulated to determine the number of customers of the store.
[0023] In some examples of the present invention, the step of filling the customer volume into the operation map to obtain the operation characteristics includes:
[0024] Read the number of customers in each store and determine the fill value based on the number of customers;
[0025] Assign the store range of each store in the operation map according to the filled value;
[0026] When the store ranges of all stores are assigned, the assigned operation map is output to obtain the operation characteristics.
[0027] In some examples of the present invention, the step of reading the number of customers of each store and determining the filling value according to the number of customers includes:
[0028] Get the number of customers of each store in different time periods and sort them in chronological order;
[0029] Fit the customer quantity change function according to the sorted customer quantity, and perform Fourier transform to obtain the trigonometric function and;
[0030] Determine the period of the customer quantity variation function based on the trigonometric function;
[0031] determining a filling value according to the period and the customer volume;
[0032] The process of determining the filling value is as follows:
[0033] ; ; In the formula, is the fill value, For customers, is the preset correction factor, is the cycle of the i-th store, is the preset optimal cycle, is the maximum value of the period difference.
[0034] In some examples of the present invention, the steps of obtaining the operation characteristics of different streets in different time periods, clustering the operation characteristics, and calculating identification characteristics based on similar operation characteristics include:
[0035] Obtain the operational characteristics of different streets in different time periods;
[0036] For any two operational features, convert them into a two-dimensional array and calculate the structural similarity of the two two-dimensional arrays;
[0037] clustering the operational features based on the structural similarity;
[0038] Similar operation features are superimposed and the mean of each pixel is calculated to obtain the identification feature.
[0039] In some examples of the present invention, the step of sorting the operation map based on the identification features and outputting the sorted operation map as a planning reference includes:
[0040] Accumulate the color values in the identification features to obtain the total color value;
[0041] sorting the operation map according to the total color value;
[0042] Output the sorted operation map as a planning reference.
[0043] The technical solution of the present invention also provides a regional planning system based on big data, the system comprising:
[0044] Map construction module, used to obtain store distribution information on the street and build an operation map;
[0045] A customer volume determination module, used to obtain the location of tourists in a street within a time period according to the camera system, and determine the customer volume of each store in the street according to the location of the tourists;
[0046] A customer volume filling module is used to fill the customer volume into the operation map to obtain operation characteristics; the operation map and the operation characteristics correspond one to one; the operation characteristics are images used to represent the street operation status within a period of time;
[0047] The feature clustering module is used to obtain the operational features of different streets in different time periods, cluster the operational features, and calculate the identification features based on similar operational features;
[0048] The sorting output module is used to sort the operation map based on the identification features and output the sorted operation map as a planning reference.
[0049] In some examples of the present invention, the customer quantity determination module includes:
[0050] An image acquisition unit, used to detect tourists at the street entrance in real time according to the camera system, and acquire an image of the tourists when the tourists are detected;
[0051] A visitor positioning unit is used to identify visitor images and locate visitor areas; the camera in the camera system has a built-in temperature sensor;
[0052] A contour recognition unit, used to perform contour recognition in the tourist area and construct tourist features according to the contour recognition results; the tourist features are determined by contours containing color values;
[0053] The position acquisition unit is used to periodically read the global image collected by the camera system, locate the tourist in the global image based on the tourist features, and obtain the tourist position; the reading time of the global image is used as the acquisition time and as the index of the tourist position;
[0054] The location statistics unit is used to count the locations of tourists within a time period based on the acquisition time, and determine the number of customers in each store on the street.
[0055] In some examples of the present invention, the customer volume filling module includes:
[0056] A filling value determination unit, used for reading the number of customers of each store and determining the filling value according to the number of customers;
[0057] An assignment unit, used to assign a value to the store range of each store in the operation map according to the filled value;
[0058] The output unit is used to output the assigned operation map after the store ranges of all stores are assigned, so as to obtain the operation characteristics.
[0059] Compared with the prior art, the beneficial effects of the present invention are as follows: the present invention converts store distribution information into an operation map, and based on the size of the operation map, fills the collected customer volume into the operation map to obtain operation characteristics. At this time, the operation map and the operation characteristics are in a one-to-one correspondence, and the operation characteristics reflect the amount of customers. By sorting the operation map according to the operation characteristics, the quality of the store distribution information can be determined, which can then be used as reference data for planners. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention.
[0061] Figure 1 This is a flowchart of the regional planning method based on big data.
[0062] Figure 2 This is a structural diagram of the regional planning system based on big data. DETAILED DESCRIPTION
[0063] In order to make the technical problems, technical solutions and beneficial effects to be solved by the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0064] Figure 1 The flowchart of the regional planning method based on big data is shown in the following figure. In an embodiment of the present invention, a regional planning method based on big data includes:
[0065] Step S100: Obtain store distribution information on the street and construct an operation map;
[0066] The store distribution information is which store is at which location on the street and what the store information is like. The store information includes the store's main business and turnover, etc. Filling this information into the map is called an operation map.
[0067] It is worth mentioning that there may be more than one layer of streets, and the map itself is two-dimensional. Therefore, this application can analyze the streets of different layers separately and arrange them according to a preset order (from left to right according to the number of layers) to obtain a complete map.
[0068] Step S200: obtaining the location of tourists in a street within a time period according to the camera system, and determining the number of customers in each store in the street according to the location of the tourists;
[0069] The camera system is a benchmark facility installed in the street. It can obtain real-time video of the street. The video is essentially a set of images. By analyzing the images, tourists (the number is not unique) can be located and the position of each tourist can be obtained, which is called the tourist location. Based on the tourist location, it can be determined how many customers are in each store on the street. The customers are represented by the customer quantity.
[0070] It should be noted that the above-mentioned customer volume is determined by the number of tourists. The number of tourists can be directly used, or an increasing function can be compounded on the number of tourists so that the more tourists there are, the greater the customer volume.
[0071] Step S300: Fill the customer volume into the operation map to obtain the operation characteristics; the operation map and the operation characteristics correspond one to one; the operation characteristics are images used to represent the street operation status within a period of time;
[0072] One store corresponds to one customer volume. The area corresponding to the store is queried in the operation map, and the customer volume is filled into the operation map. The operation map with the filled data is called an operation feature. The operation feature is an image, in which the value of each pixel is related to the customer volume at different times. Therefore, it is used to represent the operation of the street within a period of time. The period of time is generally a time period, such as a day.
[0073] Step S400: obtaining the operation characteristics of different streets in different time periods, clustering the operation characteristics, and calculating identification characteristics based on similar operation characteristics;
[0074] Each street has an operation characteristic in different time periods. By obtaining the operation characteristics of different streets in different time periods, we can get a large number of samples. These samples are clustered, and for each type of clustering result, its mean characteristic is calculated as the identification of the clustering result, which is called the identification feature.
[0075] Among them, the mean feature is to calculate the mean of the color values of each pixel in each operation feature in the clustering result.
[0076] Step S500: sorting the operation map based on the identification features, and outputting the sorted operation map as a planning reference;
[0077] The value of each pixel in the identification feature is related to the number of customers. The total number of customers is calculated. The size of the total number of customers can reflect the quality of the operation map (store distribution information). The operation map is sorted by the total number of customers, which can be used as reference data for new planning.
[0078] It should be noted that the function of the technical solution of the present invention is to convert the store distribution information (planning) into an operation map, and then, based on the size of the operation map, fill the customer volume in the operation map to obtain the operation characteristics. At this time, the operation map and the operation characteristics are in a one-to-one correspondence. The operation characteristics reflect the amount of customers. By sorting the operation map according to the operation characteristics, the quality of the operation map (store distribution information) can be determined. This itself is the planning information of the store, that is, the regional planning information of the street, which can be used as reference data for planners.
[0079] In some embodiments of the present invention, the step of obtaining the location of tourists in a street within a time period according to the camera system and determining the number of customers of each store in the street according to the location of tourists includes:
[0080] Detect tourists at street entrances in real time according to the camera system, and obtain images of tourists when tourists are detected;
[0081] Identify the tourist image and locate the tourist area; the camera in the camera system has a built-in temperature sensor;
[0082] Performing contour recognition in the tourist area and constructing tourist features based on the contour recognition results; the tourist features are determined by contours containing color values;
[0083] The global image collected by the camera system is read at regular intervals, and the tourist is located in the global image by the tourist features to obtain the tourist position; the reading time of the global image is used as the acquisition time and as the index of the tourist position;
[0084] The locations of tourists within a time period are counted based on the acquisition time, and the number of customers in each store on the street is determined.
[0085] The above content specifically limits the process of determining the number of customers in each store. Tourists at the street entrance are detected in real time according to the camera system. When tourists are detected, tourist images are obtained. The tourist images are images containing tourists. Since the camera contains a temperature sensor, the tourist area can be located through temperature information. Contour recognition is performed in the tourist area to obtain the contours of each part of the tourist, and the contours are counted to obtain tourist characteristics.
[0086] By locating tourists in the global image captured by the camera system based on their characteristics, we can get the location of tourists at different times. The camera system can locate the location of tourists once every time it captures a global image. By counting the locations of tourists within a time period in chronological order, we can determine the number of customers in each store.
[0087] Specifically, the step of counting the locations of tourists within a time period based on the acquisition time and determining the number of customers of each store in the street includes:
[0088] Read the location of tourists at different times and mark the tourist points on the operation map;
[0089] Connect the tourist points in order to obtain the tourist trajectory, and accumulate the color value of the tourist trajectory according to the preset benchmark value;
[0090] For any store, query the store range in the operation map and intercept the visitor trajectory based on the store range;
[0091] The color values of the intercepted tourist trajectories are accumulated to determine the number of customers of the store.
[0092] Read the location of tourists at different times, and mark the points corresponding to the tourist locations in the operation map according to the scale of the map, which are called tourist points; connect the tourist points in chronological order to obtain tourist trajectories, and each tourist corresponds to a tourist trajectory. Among them, regarding the meaning of accumulating the color value of tourist trajectories according to the preset reference value, it essentially provides a color value accumulation process. When two tourist points are connected, the value of each pixel in the obtained line segment is added by 1, which can make the color value of the overlapping segment larger than the color value of other pixels; this process can be understood as drawing lines in the operation map, and the color value at the intersection is larger.
[0093] Then, each store is analyzed separately in turn, and the tourist trajectories of all tourists within the store are intercepted. The intercepted partial trajectories are the activities of each tourist in the store within a time period. The color value of the accumulated intercepted tourist trajectories can be used to obtain the number of customers.
[0094] In some examples of the present invention, the step of filling the customer volume into the operation map to obtain the operation characteristics includes:
[0095] Read the number of customers in each store and determine the fill value based on the number of customers;
[0096] Assign the store range of each store in the operation map according to the filled value;
[0097] When the store ranges of all stores are assigned, the assigned operation map is output to obtain the operation characteristics.
[0098] The above content provides an operation feature generation process, which is to fill the customer volume of each store into the range of each store. When all store ranges are filled, the filled operation map is output, which is called the operation feature; the size of the operation feature is the same as that of the operation map, but the filling content is different.
[0099] Furthermore, the step of reading the number of customers of each store and determining the filling value according to the number of customers includes:
[0100] Get the number of customers of each store in different time periods and sort them in chronological order;
[0101] Fit the customer quantity change function according to the sorted customer quantity, and perform Fourier transform to obtain the trigonometric function and;
[0102] Determine the period of the customer quantity variation function based on the trigonometric function;
[0103] determining a filling value according to the period and the customer volume;
[0104] The process of determining the filling value is as follows:
[0105] ; ; In the formula, is the fill value, For customers, is the preset correction factor, is the cycle of the i-th store, is the preset optimal cycle, is the maximum value of the period difference.
[0106] Since the time period of this application is generally days, each store will have a certain periodicity in a week or a month. The stronger the periodicity, the more stable the customer volume. At this time, from a planning perspective, the more stable the regional planning, the better. Therefore, the customer volume can be magnified according to the periodicity and filled into the operation map.
[0107] Specifically, the periodicity is determined by a Fourier transform scheme. The number of customers of each store in different time periods is obtained and sorted in chronological order. The customer volume change function is fitted and the customer volume change function is subjected to Fourier transform to obtain the sum of multiple trigonometric functions. In general, the period of the customer volume change function can be roughly determined by selecting the first two or three items.
[0108] The customer volume is magnified by the cycle to obtain the fill value.
[0109] The logic for determining the filling value is that the closer the cycle is to the preset optimal cycle, the greater the amplification factor is. After multiplying it by the number of customers and then multiplying it by the preset correction factor, the final filling value can be obtained.
[0110] Regarding the above filling process, in layman's terms, it is to record the trajectory of each tourist and represent it on the map. The more tourists there are, the more complex the trajectory is (which can be compared to a paintbrush tool); for each store, the internal trajectory is intercepted. The more trajectories there are, the more tourists there are; for each store, the color values are accumulated (the trajectory itself has a color value, which is equivalent to the color value of the brush), and the sum is used to represent the number of tourists, which is called the number of customers.
[0111] Furthermore, the number of customers can be filled into the corresponding area of the store. This part of the filling is the coloring process (which can be compared to the paint bucket tool, used to color an area). Specifically, a periodic feature is introduced between the number of customers and the filling value. That is, a benchmark mapping function is pre-set between the number of customers and the filling value. On this basis, the generated filling value is adjusted by the periodic feature, so that the filling value is affected by both the number of customers and the periodic feature.
[0112] The process of determining the periodic characteristics is very simple and can be obtained by using the existing Fourier transform technology.
[0113] In some examples of the technical solution of the present invention, the steps of obtaining the operation characteristics of different streets in different time periods, clustering the operation characteristics, and calculating the identification characteristics according to the same type of operation characteristics include:
[0114] Obtain the operational characteristics of different streets in different time periods;
[0115] For any two operational features, convert them into a two-dimensional array and calculate the structural similarity of the two two-dimensional arrays;
[0116] clustering the operational features based on the structural similarity;
[0117] Similar operation features are superimposed and the mean of each pixel is calculated to obtain the identification feature.
[0118] The operation characteristics of different streets in different time periods are obtained to obtain multiple samples. Each operation characteristic can be converted into a two-dimensional array. The structural similarity of the two two-dimensional arrays is calculated, which can be used as a clustering basis (equivalent to distance). The operation characteristics are clustered to obtain multiple types of operation characteristics. For each type of operation characteristic, the mean of each pixel point is calculated. The data obtained is called identification feature.
[0119] Finally, the steps of sorting the operation map based on the identification features and outputting the sorted operation map as a planning reference include:
[0120] Accumulate the color values in the identification features to obtain the total color value;
[0121] sorting the operation map according to the total color value;
[0122] Output the sorted operation map as a planning reference.
[0123] The color values in the cumulative identification features, the larger the total color value, the larger the number of customers and the better the periodicity. The operation maps corresponding to the operation features are arranged in descending order according to the total color value, and the better operation maps can be placed in front. In the technical solution of the present invention, the operation map is the store planning information and can be used as a reference in the planning process.
[0124] Figure 2 : is a structural diagram of a regional planning system based on big data. In an embodiment of the present invention, a regional planning system based on big data, the system 10 includes:
[0125] A map construction module 11 is used to obtain store distribution information on the street and construct an operation map;
[0126] A customer volume determination module 12, configured to obtain the locations of tourists in a street within a time period according to the camera system, and determine the number of customers of each store in the street according to the locations of the tourists;
[0127] The customer volume filling module 13 is used to fill the customer volume into the operation map to obtain the operation characteristics; the operation map and the operation characteristics correspond one to one; the operation characteristics are images used to represent the street operation status within a period of time;
[0128] The feature clustering module 14 is used to obtain the operation characteristics of different streets in different time periods, cluster the operation characteristics, and calculate the identification characteristics based on the same type of operation characteristics;
[0129] The sorting output module 15 is used to sort the operation map based on the identification features and output the sorted operation map as a planning reference.
[0130] Furthermore, the customer quantity determination module 12 includes:
[0131] An image acquisition unit, used to detect tourists at the street entrance in real time according to the camera system, and acquire an image of the tourists when the tourists are detected;
[0132] A visitor positioning unit is used to identify visitor images and locate visitor areas; the camera in the camera system has a built-in temperature sensor;
[0133] A contour recognition unit, used to perform contour recognition in the tourist area and construct tourist features according to the contour recognition results; the tourist features are determined by contours containing color values;
[0134] The position acquisition unit is used to periodically read the global image collected by the camera system, locate the tourist in the global image based on the tourist features, and obtain the tourist position; the reading time of the global image is used as the acquisition time and as the index of the tourist position;
[0135] The location statistics unit is used to count the locations of tourists within a time period based on the acquisition time, and determine the number of customers in each store on the street.
[0136] Specifically, the customer volume filling module 13 includes:
[0137] A filling value determination unit, used for reading the number of customers of each store and determining the filling value according to the number of customers;
[0138] An assignment unit, used to assign a value to the store range of each store in the operation map according to the filled value;
[0139] The output unit is used to output the assigned operation map after the store ranges of all stores are assigned, so as to obtain the operation characteristics.
[0140] The functions that can be achieved by the regional planning method based on big data are all completed by a computer device, which includes one or more processors and one or more memories, and at least one program code is stored in the one or more memories. The program code is loaded and executed by the one or more processors to achieve the functions of the regional planning method based on big data.
[0141] The processor takes out instructions from the memory one by one, analyzes the instructions, and then completes the corresponding operations according to the instruction requirements, generating a series of control commands, so that the various parts of the computer can automatically, continuously and coordinately move to become an organic whole, realize the input of programs, the input of data, and the calculation and output of results. The arithmetic operations or logical operations generated in this process are all completed by the operator; the memory includes a read-only memory (ROM), which is used to store computer programs, and a protection device is provided outside the memory.
[0142] Exemplarily, the computer program may be divided into one or more modules, one or more modules are stored in a memory and executed by a processor to implement the present invention. One or more modules may be a series of computer program instruction segments capable of implementing specific functions, and the instruction segments are used to describe the execution process of the computer program in a terminal device.
[0143] Those skilled in the art will understand that the description of the above service equipment is merely an example and does not constitute a limitation on the terminal equipment. It may include more or fewer components than described above, or a combination of certain components, or different components, for example, it may include input and output devices, network access devices, buses, etc.
[0144] The processor may be a central processing unit (CPU), other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The processor is the control center of the terminal device, and uses various interfaces and lines to connect various parts of the entire user terminal.
[0145] The above-mentioned memory can be used to store computer programs and / or modules. The above-mentioned processor realizes various functions of the above-mentioned terminal device by running or executing the computer programs and / or modules stored in the memory and calling the data stored in the memory. The memory can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as an information collection template display function, a product information release function, etc.), etc.; the data storage area can store data created according to the use of the berth status display system (such as product information collection templates corresponding to different product types, product information that different product providers need to release, etc.), etc. In addition, the memory can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0146] If the module / unit integrated in the terminal device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the modules / units in the above-mentioned embodiment system, and can also be completed by instructing the relevant hardware through a computer program. The above-mentioned computer program can be stored in a computer-readable storage medium, and the computer program can realize the functions of the above-mentioned various system embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. Computer-readable media can include: any entity or device that can carry computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electrical carrier signal, telecommunication signal and software distribution medium, etc.
[0147] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0148] The above are only preferred embodiments of the present invention, and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A regional planning method based on big data, It is characterized in that The method comprises: Obtain store distribution information on the street and build an operation map; Acquire the location of tourists in a street within a time period according to the camera system, and determine the number of customers of each store in the street according to the location of the tourists; Filling the customer volume into the operation map to obtain the operation characteristics; the operation map and the operation characteristics correspond one to one; the operation characteristics are images used to represent the street operation status over a period of time; Obtain the operational characteristics of different streets in different time periods, cluster the operational characteristics, and calculate identification features based on similar operational characteristics; Sort the operation map based on the identification features and output the sorted operation map as a planning reference; The step of filling the customer volume into the operation map to obtain the operation characteristics includes: Read the number of customers in each store and determine the fill value based on the number of customers; Assign the store range of each store in the operation map according to the filled value; When the store ranges of all stores are assigned values, the assigned operation map is output to obtain the operation characteristics; The step of reading the number of customers of each store and determining the filling value according to the number of customers comprises: Get the number of customers of each store in different time periods and sort them in chronological order; Fit the customer quantity change function according to the sorted customer quantity, and perform Fourier transform to obtain the trigonometric function and; Determine the period of the customer quantity variation function based on the trigonometric function; Determine a filling value according to the period of the customer quantity variation function and the customer quantity; The process of determining the filling value is as follows: ; ; In the formula, is the fill value, For customers, is the preset correction factor, is the cycle of the i-th store, is the preset optimal cycle, is the maximum value of the period difference; The steps of obtaining the operation characteristics of different streets in different time periods, clustering the operation characteristics, and calculating identification characteristics based on similar operation characteristics include: Obtain the operational characteristics of different streets in different time periods; For any two operational features, convert them into two-dimensional arrays and calculate the structural similarity of the two two-dimensional arrays; clustering the operational features based on the structural similarity; Superimpose similar operation features and calculate the mean of each pixel to obtain the identification feature; The step of obtaining the location of tourists in a street within a time period according to the camera system and determining the number of customers of each store in the street according to the location of tourists includes: Detect tourists at street entrances in real time according to the camera system, and obtain images of tourists when tourists are detected; Identify the tourist image and locate the tourist area; the camera in the camera system has a built-in temperature sensor; Performing contour recognition in the tourist area and constructing tourist features based on the contour recognition results; the tourist features are determined by contours containing color values; The global image collected by the camera system is read at regular intervals, and the tourist is located in the global image by the tourist features to obtain the tourist position; the reading time of the global image is used as the acquisition time and as the index of the tourist position; The locations of tourists within a time period are counted based on the acquisition time, and the number of customers in each store on the street is determined.
2. The regional planning method based on big data according to claim 1, It is characterized in that The step of counting the locations of tourists within a time period based on the acquisition time to determine the number of customers of each store in the street includes: Read the location of tourists at different times and mark the tourist points on the operation map; Connect the tourist points in order to obtain the tourist trajectory, and accumulate the color value of the tourist trajectory according to the preset benchmark value; For any store, query the store range in the operation map and intercept the visitor trajectory based on the store range; The color values of the intercepted tourist trajectories are accumulated to determine the number of customers of the store.
3. The regional planning method based on big data according to claim 1, It is characterized in that The step of sorting the operation map based on the identification features and outputting the sorted operation map as a planning reference includes: Accumulate the color values in the identification features to obtain the total color value; sorting the operation map according to the total color value; Output the sorted operation map as a planning reference.
4. A regional planning system based on big data, It is characterized in that The regional planning system is used to implement the regional planning method based on big data according to any one of claims 1 to 3, and the regional planning system includes: Map construction module, used to obtain store distribution information on the street and build an operation map; A customer volume determination module, used to obtain the location of tourists in a street within a time period according to the camera system, and determine the customer volume of each store in the street according to the location of the tourists; A customer volume filling module is used to fill the customer volume into the operation map to obtain operation characteristics; the operation map and the operation characteristics correspond one to one; the operation characteristics are images used to represent the street operation status within a period of time; The feature clustering module is used to obtain the operational features of different streets in different time periods, cluster the operational features, and calculate the identification features based on similar operational features; The sorting output module is used to sort the operation map based on the identification features and output the sorted operation map as a planning reference.
5. The regional planning system based on big data according to claim 4, It is characterized in that The customer quantity determination module comprises: An image acquisition unit, used to detect tourists at the street entrance in real time according to the camera system, and acquire an image of the tourists when the tourists are detected; A visitor positioning unit is used to identify visitor images and locate visitor areas; the camera in the camera system has a built-in temperature sensor; A contour recognition unit, used to perform contour recognition in the tourist area and construct tourist features according to the contour recognition results; the tourist features are determined by contours containing color values; The position acquisition unit is used to periodically read the global image collected by the camera system, locate the tourist in the global image based on the tourist features, and obtain the tourist position; the reading time of the global image is used as the acquisition time and as the index of the tourist position; The location statistics unit is used to count the locations of tourists within a time period based on the acquisition time, and determine the number of customers in each store on the street.
6. The regional planning system based on big data according to claim 5, It is characterized in that The customer volume filling module includes: A filling value determination unit, used for reading the number of customers of each store and determining the filling value according to the number of customers; An assignment unit, used to assign a value to the store range of each store in the operation map according to the filled value; The output unit is used to output the assigned operation map after the store ranges of all stores are assigned, so as to obtain the operation characteristics.
