A large-scale cross-region stream batch processing integrated service method
By combining streaming and batch processing integrated services in real estate registration data processing and intelligently selecting data processing methods, the problems of processing delay and resource consumption in the existing technology are solved, and the efficient operation and real-time data of the real estate registration data center are achieved.
Patent Information
- Application Number
- CN202311035826.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-17
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2043-08-17
AI Technical Summary
In the current real estate registration data processing, batch processing leads to high processing delays and data update lags, while stream processing consumes high resources and is difficult to flexibly respond to the needs of different regions, making it impossible to achieve real-time monitoring and data accuracy.
Adopting a large-scale cross-regional streaming and batch processing integrated service method, the streaming processing signal or batch processing signal is generated by calculating the frequent change concealment coefficient and the registration efficiency index, and the batch processing time interval is adjusted according to the network attention value, and the data processing method is intelligently selected.
It realizes the efficient and flexible operation of the real estate registration data center, provides better data services and analysis results, ensures the real-time and accuracy of data, and effectively utilizes computing resources and storage space.
Smart Images

Figure CN116991930B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of real estate registration information processing technology, and more specifically, to a large-scale cross-regional stream batch processing integrated service method. Background Art
[0002] Batch processing refers to the processing of bounded data streams, such as the extraction of stock data, which is to extract and store stock data in batches at one time. Batch processing technology is used to solve the problem of storing stock data. Stream processing refers to the processing of unbounded data streams, such as incremental data capture and operation log capture. As long as the upstream is still producing data, data input will never end, and the application must continuously process the arriving data.
[0003] Real estate registration data is a record of changes and ownership information about real estate in a specific area. When the real estate registration data center processes real estate registration data in several regions, its data processing methods include batch processing and stream processing. If batch processing is used alone for real estate registration data, it may lead to high processing delays, delayed data updates, and difficulties in real-time monitoring; if stream processing is used alone for real estate registration data, because real estate registration data is cross-regional and has a large data scale, it requires high processing resources, requires complex processing, and has data accuracy risks. It cannot flexibly adopt different real estate registration data processing methods for different regions based on the actual information of real estate registration data.
[0004] In order to solve the above problems, a technical solution is now provided. Summary of the invention
[0005] In order to overcome the above-mentioned defects of the prior art, an embodiment of the present invention provides a large-scale cross-region stream batch processing integrated service method to solve the problems raised in the above-mentioned background technology.
[0006] To achieve the above object, the present invention provides the following technical solutions:
[0007] A large-scale cross-region stream batch processing integrated service method includes the following steps:
[0008] Step S1: collect real estate registration change information, calculate the total transaction ratio, calculate the recent real estate registration change ratio based on the clustering algorithm, and calculate the change frequency concealment coefficient through the total transaction ratio and the recent real estate registration change ratio;
[0009] Step S2: collecting real estate registration efficiency information, and calculating a registration efficiency index based on the real estate registration efficiency information;
[0010] Step S3: obtaining a registration comprehensive performance evaluation coefficient by normalizing the change frequency concealment coefficient and the registration efficiency index; generating a stream processing signal or a batch processing signal by comparing the registration comprehensive performance evaluation coefficient with an update judgment threshold;
[0011] Step S4: Collect regional heat information, calculate the network attention value based on the regional heat information, and for the real estate registration data that generates batch processing signals, adjust the initial batch processing time interval through the network attention value to calculate the real-time batch processing interval.
[0012] In a preferred embodiment, in step S1, the method for obtaining the frequent change concealment coefficient is: set a time interval U, and obtain the number of real estate registration changes in the area within the time interval U in real time; mark the ratio of the number of real estate registration changes in the area within the time interval U and the time length corresponding to the time interval U as the total change ratio;
[0013] Obtain the time points corresponding to the real estate registration changes within the time interval U; use a clustering algorithm to divide the time points corresponding to the real estate registration changes within the time interval U into a recent real estate registration change time point set and a distant real estate registration change time point set, and obtain the number of recent real estate registration change time points in the recent real estate registration change time point set and the number of distant real estate registration change time points in the distant real estate registration change time point set;
[0014] The total number of real estate registration change time points is the number of the most recent real estate registration change time points in the most recent real estate registration change time point set plus the number of the more distant real estate registration change time points in the more distant real estate registration change time point set;
[0015] The ratio of the number of recent real estate registration change time points in the recent real estate registration change time point set to the total number of real estate registration change time points is marked as the recent real estate registration change ratio;
[0016] According to the total change ratio and the recent real estate registration change ratio, the change frequency concealment coefficient is calculated, and its expression is: Among them, Fh, fj, ut, zj, and zd are respectively the frequent change concealment coefficient, the number of real estate registration changes in the area within the time interval U, the time length corresponding to the time interval U, the number of recent real estate registration change time points in the recent real estate registration change time point set, and the total number of real estate registration change time points.
[0017] In a preferred embodiment, in step S2, the logic for obtaining the registration efficiency index is as follows: obtaining the processing efficiency of the registration center in the area within the time interval U, evenly setting n processing efficiency monitoring intervals within the time interval U, obtaining the processing efficiency of the registration center corresponding to the processing efficiency monitoring interval, and numbering the processing efficiency of the registration center; calculating the average value of the processing efficiency of the registration center corresponding to the n processing efficiency monitoring intervals within the time interval U;
[0018] The processing efficiency of the registration center is the ratio of the actual processing volume to the preset processing volume within the processing efficiency monitoring interval. The processing efficiency threshold of the registration center is set, and the number of processing efficiency monitoring intervals in which the processing efficiency of the registration center is greater than the processing efficiency threshold of the registration center within the time interval U is obtained. The registration efficiency index is calculated, and its expression is: Among them, Dx, dzv i , q are respectively the registration efficiency index, the processing efficiency of the i-th registration center in the time interval U and the number of processing efficiency monitoring intervals in which the registration center processing efficiency in the time interval U is greater than the registration center processing efficiency threshold; i is the number of the registration center processing efficiency in the time interval U, n is the number of processing efficiency monitoring intervals, i=1, 2, 3, 4,..., n, n, i are positive integers greater than 1.
[0019] In a preferred embodiment, in step S3, the change frequency concealment coefficient and the registration efficiency index are normalized to obtain a registration comprehensive performance evaluation coefficient; an update judgment threshold is set; and a signal of a data processing mode is generated by comparing the registration comprehensive performance evaluation coefficient and the update judgment threshold, and the signal of the data processing mode includes a stream processing signal and a batch processing signal;
[0020] When the registration comprehensive performance evaluation coefficient is greater than the update judgment threshold, a stream processing signal is generated and the stream processing method is adopted; when the registration comprehensive performance evaluation coefficient is less than or equal to the update judgment threshold, a batch processing signal is generated and the batch processing method is adopted.
[0021] In a preferred embodiment, in step S4, the method for obtaining the network attention value is: establishing a keyword set; obtaining the number of searches for the contents of the keyword set within a time interval K, and calculating the network attention value, which is the ratio of the number of searches for the contents of the keyword set plus 1 to the preset number of searches;
[0022] Set the initial batch processing time interval; for the real estate registration data that generates the batch processing signal, calculate the real-time batch processing interval. The calculation formula for the real-time batch processing interval is: Among them, Sl, ypj, wg, and ω are the real-time batch processing interval, the initial batch processing time processing interval, the network attention value, and the adjustment coefficient, respectively.
[0023] The technical effects and advantages of the large-scale cross-regional stream batch processing integrated service method of the present invention are as follows:
[0024] 1. By comprehensively considering the change frequency concealment coefficient and the registration efficiency index, and normalizing them to obtain the registration comprehensive performance evaluation coefficient, the comparison is made within the set update judgment threshold range, and the data processing method signal is intelligently generated, that is, the stream processing signal or the batch processing signal, so as to better meet the processing needs of the real estate registration data. Such intelligent data processing method selection helps to make the real estate registration data center operate more efficiently and flexibly, and provide better data services and analysis results.
[0025] 2. By obtaining the network attention value and calculating the real-time batch processing interval, the batch processing time interval can be adjusted intelligently, and the real estate registration data of these concerns can be processed and updated more timely to ensure the accuracy and real-time nature of the data. By intelligently adjusting the batch processing time interval, computing resources and storage space can be used more effectively, which helps to improve the comprehensive operational capabilities and data processing efficiency of the real estate registration data center. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 A schematic diagram of a large-scale cross-region stream batch processing integrated service method of the present invention. DETAILED DESCRIPTION
[0027] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0028] Example 1
[0029] Figure 1 The present invention provides a large-scale cross-regional stream batch processing integrated service method, which includes the following steps:
[0030] Step S1: Collect real estate registration change information, calculate the total transaction ratio, calculate the recent real estate registration change ratio based on the clustering algorithm, and calculate the change frequency concealment coefficient through the total transaction ratio and the recent real estate registration change ratio.
[0031] Step S2: Collect real estate registration efficiency information and calculate the registration efficiency index based on the real estate registration efficiency information.
[0032] Step S3: The change frequency concealment coefficient and the registration efficiency index are normalized to obtain a registration comprehensive performance evaluation coefficient. The registration comprehensive performance evaluation coefficient is compared with an update judgment threshold to generate a stream processing signal or a batch processing signal.
[0033] Step S4: Collect regional heat information, calculate the network attention value based on the regional heat information, and for the real estate registration data that generates batch processing signals, adjust the initial batch processing time interval through the network attention value to calculate the real-time batch processing interval.
[0034] The areas can be divided according to streets or actual needs, etc., which will not be elaborated here.
[0035] In step S1, real estate registration change information is collected, and the real estate registration change information is obtained by changing the frequent concealment coefficient. The method for obtaining the frequent concealment coefficient is:
[0036] Set a time interval U, and obtain the number of real estate registration changes in the area within the time interval U in real time; calculate the ratio of the number of real estate registration changes in the area within the time interval U to the time length corresponding to the time interval U. The larger the ratio of the number of real estate registration changes in the area within the time interval U to the time length corresponding to the time interval U, the higher the activity of real estate registration changes in the area within the time interval U.
[0037] The ratio of the number of real estate registration changes in the area within the time interval U and the time length corresponding to the time interval U is marked as the total change ratio.
[0038] Obtain the time point corresponding to the real estate registration change within the time interval U. The time point corresponding to the real estate registration change within the time interval U can be obtained through the real estate registration change timestamp or real estate registration change date contained in the information database of the real estate registration data center.
[0039] A clustering algorithm is used to divide the time points corresponding to the real estate registration changes within the time interval U into a set of recent real estate registration change time points and a set of real estate registration change time points with a longer time period, and the number of recent real estate registration change time points in the set of recent real estate registration change time points and the number of longer real estate registration change time points in the set of longer real estate registration change time points are obtained.
[0040] The clustering algorithm can use the K-means clustering algorithm:
[0041] The time point corresponding to the real estate registration change within the time interval U is expressed in numerical form, such as converting the date time into a timestamp or converting the date into a digital representation (such as in days or hours).
[0042] Choose to cluster the time points corresponding to the real estate registration changes within the time interval U into two clusters, one cluster represents the most recent real estate registration change time point, and the other cluster represents the real estate registration change time point in the distant past; the most recent real estate registration change time point forms a set of recent real estate registration change time points, and the real estate registration change time points in the distant past form a set of real estate registration change time points in the distant past.
[0043] The K-means algorithm is used for clustering. The basic steps of the K-means algorithm include initializing the cluster center, assigning samples to the nearest cluster center, updating the position of the cluster center, and iterating until convergence.
[0044] According to the clustering results, the time points corresponding to the real estate registration changes within the time interval U are allocated to the corresponding clusters to form a set of recent real estate registration change time points and a set of distant real estate registration change time points.
[0045] Get the number of recent real estate registration change time points in the recent real estate registration change time point set, and get the number of more distant real estate registration change time points in the more distant real estate registration change time point set. The total number of real estate registration change time points is the number of recent real estate registration change time points in the recent real estate registration change time point set plus the number of more distant real estate registration change time points in the more distant real estate registration change time point set.
[0046] Calculate the ratio of the number of recent real estate registration change time points in the recent real estate registration change time point set to the total number of real estate registration change time points; the larger the ratio of the number of recent real estate registration change time points in the recent real estate registration change time point set to the total number of real estate registration change time points, the higher the activity of real estate registration changes in the area in the recent period.
[0047] The ratio of the number of recent real estate registration change time points in the recent real estate registration change time point set to the total number of real estate registration change time points is marked as the recent real estate registration change ratio.
[0048] When the ratio of the number of real estate registration changes in a region within the time interval U and the time length corresponding to the time interval U is the same, the region with a larger ratio of the number of recent real estate registration change time points in the recent real estate registration change time point set to the total number of real estate registration change time points has a higher frequency and popularity of real estate registration changes in the recent period.
[0049] According to the total change ratio and the recent real estate registration change ratio, the change frequency concealment coefficient is calculated, and its expression is: Among them, Fh, fj, ut, zj, and zd are respectively the frequent change concealment coefficient, the number of real estate registration changes in the area within the time interval U, the time length corresponding to the time interval U, the number of recent real estate registration change time points in the recent real estate registration change time point set, and the total number of real estate registration change time points; the larger the frequent change concealment coefficient, the more active the comprehensive real estate registration changes in the area, and the higher the demand for updating the real estate registration data in the area.
[0050] For real estate registration data corresponding to areas with frequent changes and high concealment coefficients, stream processing may be a better choice. Stream processing can help timely capture and analyze the changing trends of real estate registration change activities and provide real-time real estate registration change status and trend analysis.
[0051] For real estate registration data corresponding to areas with frequent changes and small concealment coefficients, batch processing is an effective processing method. Frequent changes in concealment coefficients mean that the real estate registration data corresponding to the area changes less. Batch processing can effectively save processing space for these data to be summarized, trend analyzed, statistically calculated, and save system resources.
[0052] The time interval U is set according to the actual situation. The time length corresponding to the time interval U is constant and changes with the real time. That is, a critical point of the time interval U is the real time.
[0053] The number of real estate registration changes, including but not limited to ownership transfer, inheritance and bequest, mortgage registration, change of land use, change of building structure, release of mortgage, merger and split of real estate, and cancellation of real estate.
[0054] In step S2, real estate registration efficiency information is collected. The real estate registration efficiency information is reflected by the registration efficiency index. The acquisition logic of the registration efficiency index is:
[0055] The registration center processing efficiency of the area within the time interval U is obtained, n processing efficiency monitoring intervals are evenly set within the time interval U, the registration center processing efficiency corresponding to the processing efficiency monitoring interval is obtained, and the registration center processing efficiency is numbered; the average value of the registration center processing efficiency corresponding to the n processing efficiency monitoring intervals within the time interval U is calculated.
[0056] The processing efficiency of the registration center is the ratio of the actual processing volume to the preset processing volume within the processing efficiency monitoring range. The lower the processing efficiency of the registration center, the slower the working processing efficiency of the real estate registration data center.
[0057] The higher the processing efficiency of the registration center, the greater the frequency of data processing of real estate registration data should be; high processing efficiency of the registration center means that more tasks can be completed in the same time period, that is, a larger number of tasks are completed per unit time. Therefore, in order to give full play to the advantages of high processing efficiency, the frequency of data processing should be correspondingly increased, that is, the frequency of data processing should be increased. Specifically, when the processing efficiency is high, the data processing center or system can process, update and respond to real estate registration data more frequently. This can achieve more real-time data updates, timely reflect changes in real estate rights and interests, and improve the accuracy and timeliness of data. High-frequency data processing can keep data registration information up to date and ensure that real estate rights holders can obtain the latest data status in a timely manner.
[0058] When the processing efficiency of the registration center is low, that is, the number of tasks completed per unit time is small, the data processing center or system processes data slowly and may not be able to meet the higher data processing frequency requirements. In this case, in order to avoid data processing delays and inefficiency, the frequency of data processing should be reduced accordingly, that is, the number of data processing times should be reduced.
[0059] Specifically, if the processing efficiency is low, excessive data processing frequency may lead to the following problems:
[0060] Waste of resources: Frequent data processing consumes a lot of computing resources and storage space, and inefficient processing may cause the processing process to occupy too many resources.
[0061] Delay problem: In the case of inefficient processing, high-frequency data processing may cause a large amount of data to be retained, resulting in delays in data updates.
[0062] System burden: Inefficient processing may lead to increased system load, and frequent data processing may affect the normal operation of other businesses.
[0063] Set the registration center processing efficiency threshold, obtain the number of processing efficiency monitoring intervals in which the registration center processing efficiency is greater than the registration center processing efficiency threshold within the time interval U, and calculate the registration efficiency index, whose expression is: Among them, Dx, dzv i , q are respectively the registration efficiency index, the processing efficiency of the i-th registration center in the time interval U and the number of processing efficiency monitoring intervals in which the registration center processing efficiency in the time interval U is greater than the registration center processing efficiency threshold; i is the number of the registration center processing efficiency in the time interval U, n is the number of processing efficiency monitoring intervals, i=1, 2, 3, 4,..., n, n, i are positive integers greater than 1.
[0064] The larger the registration efficiency index is, the higher the working efficiency of the real estate registration data center is, and the greater the frequency of data processing on the real estate registration data should be.
[0065] The registration center processing efficiency threshold is set based on the size of the registration center's processing efficiency and the requirements of professional and technical personnel in this field for the processing efficiency of the real estate registration data center.
[0066] In step S3, the real estate registration change information and the real estate registration efficiency information are comprehensively analyzed, so that the real estate registration data center determines the data processing method of the real estate registration data according to the real estate change situation and the real estate registration efficiency situation.
[0067] The change frequency concealment coefficient and the registration efficiency index are normalized to obtain the registration comprehensive performance evaluation coefficient. For example, the present invention can use the following formula to calculate the registration comprehensive performance evaluation coefficient, which is expressed as: FR = α 1 Fh+α 2 Dx; FR is the comprehensive performance evaluation coefficient of registration; α 1 , α 2 are the preset proportional coefficients of the change frequency concealment coefficient and the registration efficiency index, α 1 , α 2 Both are greater than 0, that is, the larger the registration comprehensive performance evaluation coefficient is, the faster the frequency of data processing of real estate registration data should be, so as to meet the analysis needs of real estate registration data and maintain the accuracy and real-time nature of real estate registration data information. That is, for real estate registration data corresponding to areas with large registration comprehensive performance evaluation coefficients, it is preferred to use stream processing that is more timely and real-time for data analysis.
[0068] The update judgment threshold is set based on the comprehensive registration performance evaluation coefficient, the standard requirements for data processing of the real estate registration data center within the technical field of this profession, the actual data processing capabilities of the real estate registration data center, and other actual conditions. It will not be repeated here.
[0069] By comparing the registered comprehensive performance evaluation coefficient and the update judgment threshold, a signal of the data processing method is generated, and the signal of the data processing method includes a stream processing signal and a batch processing signal.
[0070] When the comprehensive registration performance evaluation coefficient is greater than the update judgment threshold, a stream processing signal is generated. Using the stream processing method, it is necessary to process and update the real estate registration data corresponding to the area in a timely manner to meet the needs of the region and rapidly changing information.
[0071] When the comprehensive registration performance evaluation coefficient is less than or equal to the update judgment threshold, a batch processing signal is generated and a more stable and resource-saving batch processing method is used to process the real estate registration data corresponding to the area to meet basic data processing needs.
[0072] By comprehensively considering the change frequency concealment coefficient and the registration efficiency index, and normalizing them to obtain the registration comprehensive performance evaluation coefficient, the comparison is made within the set update judgment threshold range, and the signal of the data processing method is intelligently generated, that is, the stream processing signal or the batch processing signal. In this way, without the need for manual intervention, the data processing center can intelligently select the most suitable data processing method based on the automated evaluation results; thereby better meeting the processing needs of real estate registration data. Such intelligent data processing method selection helps to make the real estate registration data center operate more efficiently and flexibly, and provide better data services and analysis results.
[0073] In step S4, the regional heat information is collected. The regional heat information is reflected by the network attention value. The method for obtaining the network attention value is:
[0074] Establish a keyword set: obtain the real estate corresponding to the area, which can be a community, a road, or a school district, and obtain the keywords of the real estate corresponding to the area. For example, the keyword set established can be: AA Community, BB Avenue, and CC Middle School, etc.
[0075] In the time interval K, the number of searches for the contents of the keyword set is obtained, and the network attention value is calculated. The network attention value is the ratio of the number of searches for the contents of the keyword set plus 1 to the preset number of searches. The larger the network attention value, the more attention the real estate in the area receives in the time interval K.
[0076] Adding 1 is to ensure that the network attention value is not 0.
[0077] The method for obtaining the number of searches for the contents of a keyword set is:
[0078] Use search engines or data analysis tools: Use appropriate tools or platforms, such as search engine APIs, data analysis tools, etc., to obtain the number of searches for the keyword set content: Use the search engine API to programmatically obtain the number of searches for the keyword in the time interval K. By calling the API interface and passing in the keyword and time parameters, you can obtain the corresponding number of searches for the keyword set content in the time interval K.
[0079] Among them, the time length corresponding to the time interval U is greater than the time length corresponding to the time interval K, and the time interval K is set according to the actual situation. The time length corresponding to the time interval K is constant and changes with the real-time time, that is, a critical point of the time interval K is the real-time time.
[0080] The preset number of searches is set based on actual evaluations of the search volume of real estate in the area by professional and technical personnel in the field and actual conditions such as the length of time corresponding to the time interval K. When the number of searches for the content of the keyword set is greater than the preset number of searches, it means that the search volume within the time interval K is high, that is, the degree of attention is high; no further details will be given here.
[0081] The processing time of batch processing has a time interval. The initial batch processing time interval is set. The initial batch processing time interval is the time interval for data processing of the real estate registration data corresponding to the area initially set by the batch processing system.
[0082] For the real estate registration data that generates batch processing signals, the initial batch processing time interval is adjusted by the network attention value and the initial batch processing time interval to calculate the real-time batch processing interval. The calculation formula for the real-time batch processing interval is: Among them, Sl, ypj, wg, and ω are the real-time batch processing interval, the initial batch processing time interval, the network attention value, and the adjustment coefficient, respectively; the higher the network attention value, the smaller the real-time batch processing interval. The smaller the real-time batch processing interval means that the processing and update of real estate registration data are more frequent, which is beneficial for real estate registration data with a large network attention value, because the shorter batch processing interval can capture and respond to changes and needs of real estate registration data more timely, and occupies less computing resources than stream processing, saving resource usage.
[0083] The adjustment coefficient is set according to actual conditions such as the network attention value, the size of the initial batch processing time interval, and other requirements for the batch processing time interval, which will not be described here.
[0084] By obtaining the network attention value and calculating the real-time batch processing interval, the batch processing time interval can be adjusted intelligently, and the real estate registration data of these concerns can be processed and updated more timely to ensure the accuracy and real-time nature of the data. By intelligently adjusting the batch processing time interval, computing resources and storage space can be used more effectively. For areas with high network attention values, shorter batch processing intervals can reduce data retention and avoid centralized processing of large amounts of data, thereby saving resources and improving data processing efficiency. This intelligent data processing method selection helps to improve the comprehensive operational capabilities and data processing efficiency of the real estate registration data center.
[0085] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters and thresholds in the formula are set by technicians in this field according to actual conditions.
[0086] The above embodiments can be implemented in whole or in part by software, hardware, firmware or any other combination. When implemented using software, the above embodiments can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state hard disk.
[0087] Those of ordinary skill in the art will appreciate that the modules and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0088] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and modules described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0089] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the modules is only a logical function division. There may be other division methods in actual implementation, such as multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or modules, which can be electrical, mechanical or other forms.
[0090] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, and may be located in one place or distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0091] In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist physically separately, or two or more modules may be integrated into one module.
[0092] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art. The computer software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0093] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
[0094] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A large-scale cross-regional stream batch processing integrated service method, characterized in that: The steps include: Step S1: collect real estate registration change information, calculate the total transaction ratio, calculate the recent real estate registration change ratio based on the clustering algorithm, and calculate the change frequency concealment coefficient through the total transaction ratio and the recent real estate registration change ratio; Step S2: collecting real estate registration efficiency information, and calculating a registration efficiency index based on the real estate registration efficiency information; Step S3: obtaining a comprehensive registration performance evaluation coefficient by normalizing the change frequency concealment coefficient and the registration efficiency index; Generate a stream processing signal or a batch processing signal by comparing the registered comprehensive performance evaluation coefficient with the update judgment threshold; Step S4: Collect regional heat information, calculate the network attention value according to the regional heat information, and for the real estate registration data that generates the batch processing signal, adjust the initial batch processing time interval by the network attention value, and calculate the real-time batch processing interval; In step S1, the method for obtaining the frequent change concealment coefficient is as follows: set a time interval U, and obtain the number of real estate registration changes in the area within the time interval U in real time; mark the ratio of the number of real estate registration changes in the area within the time interval U and the time length corresponding to the time interval U as the total change ratio; Obtain the time points corresponding to the real estate registration changes within the time interval U; use a clustering algorithm to divide the time points corresponding to the real estate registration changes within the time interval U into a recent real estate registration change time point set and a distant real estate registration change time point set, and obtain the number of recent real estate registration change time points in the recent real estate registration change time point set and the number of distant real estate registration change time points in the distant real estate registration change time point set; The total number of real estate registration change time points is the number of the most recent real estate registration change time points in the most recent real estate registration change time point set plus the number of the more distant real estate registration change time points in the more distant real estate registration change time point set; The ratio of the number of recent real estate registration change time points in the recent real estate registration change time point set to the total number of real estate registration change time points is marked as the recent real estate registration change ratio; According to the total change ratio and the recent real estate registration change ratio, the change frequency concealment coefficient is calculated, and its expression is: ,in They are the frequent change concealment coefficient, the number of real estate registration changes in the area within the time interval U, the time length corresponding to the time interval U, the number of recent real estate registration change time points in the recent real estate registration change time point set, and the total number of real estate registration change time points; In step S2, the logic for obtaining the registration efficiency index is: obtain the processing efficiency of the registration center in the area within the time interval U, and set the registration efficiency index equally within the time interval U. processing efficiency monitoring interval, obtain the processing efficiency of the registration center corresponding to the processing efficiency monitoring interval, and number the processing efficiency of the registration center; calculate the processing efficiency within the time interval U The average value of the processing efficiency of the registration center corresponding to the processing efficiency monitoring interval; The processing efficiency of the registration center is the ratio of the actual processing volume to the preset processing volume within the processing efficiency monitoring interval. The processing efficiency threshold of the registration center is set, and the number of processing efficiency monitoring intervals in which the processing efficiency of the registration center is greater than the processing efficiency threshold of the registration center within the time interval U is obtained. The registration efficiency index is calculated, and its expression is: ,in, They are the registration efficiency index, the The number of processing efficiency monitoring intervals in which the processing efficiency of the registration center is greater than the processing efficiency threshold of the registration center within the time interval U; is the number of the processing efficiency of the registration center in the time interval U, is the number of processing efficiency monitoring intervals, , is a positive integer greater than 1.
2. According to claim 1, a large-scale cross-regional stream batch processing integrated service method is characterized by: In step S3, the change frequency concealment coefficient and the registration efficiency index are normalized to obtain a registration comprehensive performance evaluation coefficient; an update judgment threshold is set; and a signal of a data processing method is generated by comparing the registration comprehensive performance evaluation coefficient and the update judgment threshold. The signal of the data processing method includes a stream processing signal and a batch processing signal. When the registration comprehensive performance evaluation coefficient is greater than the update judgment threshold, a stream processing signal is generated and the stream processing method is adopted; when the registration comprehensive performance evaluation coefficient is less than or equal to the update judgment threshold, a batch processing signal is generated and the batch processing method is adopted.
3. A large-scale cross-regional stream batch processing integrated service method according to claim 2, characterized in that: In step S4, the method for obtaining the network attention value is as follows: establish a keyword set; obtain the number of searches for the contents of the keyword set within a time interval K, and calculate the network attention value, which is the ratio of the number of searches for the contents of the keyword set plus 1 to the preset number of searches; Set the initial batch processing time interval; for the real estate registration data that generates the batch processing signal, calculate the real-time batch processing interval. The calculation formula for the real-time batch processing interval is: ,in, They are real-time batch processing interval, initial batch processing time processing interval, network attention value and adjustment coefficient.
