WO2021004318A1 - Resource data processing method and apparatus, computer device and storage medium - Google Patents

Resource data processing method and apparatus, computer device and storage medium Download PDF

Info

Publication number
WO2021004318A1
WO2021004318A1 PCT/CN2020/098843 CN2020098843W WO2021004318A1 WO 2021004318 A1 WO2021004318 A1 WO 2021004318A1 CN 2020098843 W CN2020098843 W CN 2020098843W WO 2021004318 A1 WO2021004318 A1 WO 2021004318A1
Authority
WO
WIPO (PCT)
Prior art keywords
resource data
data prediction
index
predicted
value
Prior art date
Application number
PCT/CN2020/098843
Other languages
French (fr)
Chinese (zh)
Inventor
刘媛源
郑子欧
张翔
于修铭
汪伟
Original Assignee
平安科技(深圳)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2021004318A1 publication Critical patent/WO2021004318A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/067Enterprise or organisation modelling
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0201Market modelling; Market analysis; Collecting market data
    • G06Q30/0206Price or cost determination based on market factors

Definitions

  • This application relates to the field of artificial intelligence prediction technology, in particular to a method, device, computer equipment and storage medium for processing resource data.
  • Resource data forecast information refers to the resource data in the region, such as the forecast value of housing prices in a period of time in the future.
  • the resource data forecast information in different regions is different; in order to grasp the forecast value of resource data in a period of time in the future, Resource data is very important for forecasting.
  • the forecast of resource data in a region is usually based on the same type of specific data manually collected by the server, such as geographic information, policy information, urbanization level information, etc., and combined with a single qualitative evaluation model, The resource data is evaluated and forecasted.
  • the inventor realizes that resource data is affected by multiple factors, and the main influencing factors of resource data in different regions are different; if the resource data in each region is targeted, it is only based on the same type of specific data collected manually , Combined with a single qualitative evaluation model to predict resource data, resulting in the inability to achieve a comprehensive tracking evaluation of the resource data prediction value, resulting in the resource data prediction information obtained prone to deviations, resulting in low accuracy of the resource data prediction information obtained .
  • a resource data processing method, device, computer equipment, and storage medium are provided.
  • a method for generating resource data prediction information includes:
  • the query request is used to obtain resource data prediction information of the area to be predicted; the query request carries the area identifier of the area to be predicted;
  • a resource data processing device includes:
  • the request receiving module is configured to receive a query request sent by the terminal; the query request is used to obtain resource data prediction information of the area to be predicted; the query request carries the area identifier of the area to be predicted;
  • a data acquisition module configured to acquire a resource data prediction index corresponding to the region identifier, query a database according to the resource data prediction index, and obtain data to be predicted corresponding to the resource data prediction index;
  • the data conversion module is configured to obtain a preset data conversion instruction, and according to the preset data conversion instruction, convert the obtained data to be predicted corresponding to the resource data predictive index to obtain the corresponding resource data predictive index The associated value;
  • the numerical value conversion module is configured to obtain a preset value conversion instruction, and according to the preset value conversion instruction, convert the obtained associated value corresponding to the resource data prediction index to obtain a reference corresponding to the resource data prediction index value;
  • a prediction value acquisition module configured to input the reference value corresponding to the resource data prediction index into a pre-trained resource data prediction model to obtain the resource data prediction value corresponding to the area identifier;
  • the information generating module is configured to generate resource data prediction information according to the resource data prediction value corresponding to the area identifier, and send the resource data prediction information to the terminal for display.
  • a computer device including a memory and one or more processors, the memory stores computer readable instructions, when the computer readable instructions are executed by the processor, the one or more processors execute The following steps:
  • the query request is used to obtain resource data prediction information of the area to be predicted; the query request carries the area identifier of the area to be predicted;
  • One or more computer-readable storage media storing computer-readable instructions.
  • the one or more processors execute the following steps:
  • the query request is used to obtain resource data prediction information of the area to be predicted; the query request carries the area identifier of the area to be predicted;
  • the above-mentioned resource data processing method, device, computer equipment and storage medium use a pre-trained resource data prediction model to evaluate and analyze the to-be-predicted data corresponding to the resource data prediction index related to the resource data prediction value of the area to be predicted.
  • the resource data is predicted based on the same type of specific data collected manually, combined with a single qualitative evaluation model, so as to realize the comprehensive prediction value of the resource data in the region to be predicted.
  • the purpose of tracking evaluation can avoid the defect that the resource data prediction information obtained by the traditional resource data prediction method is prone to deviation, thereby improving the accuracy of the obtained resource data prediction information.
  • combining the pre-trained resource data prediction model to analyze the data to be predicted can further improve the accuracy of the obtained resource data prediction information.
  • Fig. 1 is an application scenario diagram of a resource data processing method according to one or more embodiments
  • FIG. 2 is a schematic flowchart of a method for processing resource data according to one or more embodiments
  • FIG. 3 is a schematic flowchart of the steps of obtaining resource data predicted values according to one or more embodiments
  • Fig. 4 is a block diagram of an apparatus for processing resource data according to one or more embodiments
  • Figure 5 is a block diagram of a computer device according to one or more embodiments.
  • the resource data processing method provided in this application can be applied to the application environment shown in FIG. 1.
  • the terminal 110 and the server 120 communicate through the network.
  • the terminal 110 is installed with an application program through which the user can query the resource data prediction information corresponding to the area to be predicted, such as the housing price prediction information corresponding to the area to be predicted.
  • the terminal 110 responds to the user's input operation on the query interface displayed by the application program, generates a query request for obtaining resource data prediction information of the region to be predicted, and sends the query request to the server 120.
  • the server 120 parses the query request to obtain the region identification of the region to be predicted entered by the user; obtains the resource data prediction index corresponding to the region identification, queries the database according to the resource data prediction index, and obtains the to-be-predicted data corresponding to the resource data prediction index; The obtained data to be predicted corresponding to the resource data predictive index is converted to obtain the associated value corresponding to the resource data predictive index, and the associated value corresponding to the resource data predictive index is converted to obtain the reference value corresponding to the resource data predictive index ; Input the reference value corresponding to the resource data prediction index into the pre-trained resource data prediction model to obtain the resource data prediction value corresponding to the region identifier; generate resource data prediction information according to the resource data prediction value corresponding to the region identifier, and convert the resource data The prediction information is sent to the terminal 110.
  • the terminal 110 displays the resource data prediction value corresponding to the region identifier of the region to be predicted input by the user.
  • the terminal 110 may be, but is not limited to, various personal computers, notebook computers, smart phones, and tablet computers, and the server 120 may be implemented by an independent server or a server cluster composed of multiple servers.
  • a method for processing resource data is provided. Taking the method applied to the server in FIG. 1 as an example for description, the method includes the following steps:
  • Step S201 Receive a query request sent by a terminal; the query request is used to obtain resource data prediction information of the area to be predicted; the query request carries the area identifier of the area to be predicted.
  • the area to be predicted can refer to an urban area, a province area, or an administrative area;
  • resource data refers to the market value of the buildings in the area and the land occupied by them in a specific time period, such as housing prices;
  • resource data prediction Information refers to the predicted value of the resource data in the region in the future, such as the predicted value of house prices;
  • regional identification refers to the information used to identify the region to be predicted, such as the name of the region, the abbreviation of the region, or the region number, so that the server can distinguish .
  • the terminal installs an application program for querying resource data prediction information corresponding to the area identifier of the area to be predicted, and the user can query the resource data prediction information corresponding to the area identifier by logging in to the application program.
  • the terminal responds to the user's input operation on the query interface displayed by the application program, generates a query request for obtaining resource data prediction information of the region to be predicted, and sends the query request to the server.
  • the server parses the received query request to obtain the area identifier of the area to be predicted.
  • the user can also log in to the browser running on the terminal to enter the query interface for resource data prediction information. Based on the query interface, the user enters the region identification of the region to be predicted, and the terminal sends a query request carrying the region identification of the region to be predicted to the server .
  • Step S202 Obtain the resource data prediction index corresponding to the area identifier, query the database according to the resource data prediction index, and obtain the data to be predicted corresponding to the resource data prediction index.
  • the resource data forecast index refers to the index that affects the forecast value of the resource data in the region.
  • the index that affects the forecast value of the housing price in the region is the Shanghai housing supply index, the Shanghai housing demand index, and the Shanghai policy index.
  • the resource data forecast indicators corresponding to different regional indicators are different,
  • Shanghai’s housing supply indicators are not the same as Guangzhou’s housing supply indicators
  • the main resource data prediction indicators corresponding to different regional indicators are different.
  • Guangzhou’s main resource data prediction indicators are the Guangzhou Commercial Bank’s housing loan policy indicators, Guangzhou urbanization level indicators, Guangzhou rental policy indicators, Guangzhou overseas real estate development level indicators, etc.
  • Shanghai’s main resource data forecast indicators are Shanghai housing supply indicators, Shanghai housing demand indicators, Shanghai policy indicators, Shanghai land supply indicators, and Shanghai population growth indicators.
  • the server pre-determines the resource data predictive index corresponding to the area identifier; and based on big data, uses each resource data predictive index as a search keyword, and crawls the data corresponding to each resource data predictive index from the Internet in advance, and compares the crawled and Perform preprocessing operations on the data corresponding to each resource data prediction index, such as removing noise data, filtering interference information, etc., to obtain key data content corresponding to each resource data prediction index; take the obtained key data content as the data to be predicted, and treat it
  • the prediction data adds the corresponding resource data prediction index, so as to obtain the data to be predicted corresponding to each resource data prediction index in the same area identifier; package the data to be predicted and the corresponding resource data prediction index belonging to the same area identifier to generate and
  • the data packet corresponding to the area identifier is stored in a pre-established database; it is convenient for the subsequent server to query the database to obtain the data to be predicted corresponding to the resource data prediction index of the area identifier.
  • the server re-obtains the to-be-predicted data corresponding to each resource data prediction index based on the Internet; for the same resource data prediction index, the newly acquired data to be predicted is used to overwrite the resource data in the database
  • the original data corresponding to the predictive index and the timely update of the data in the database help to improve the accuracy and timeliness of the obtained data to be predicted corresponding to each resource data predictive index, and further improve the subsequent resource data prediction information. accuracy.
  • the server filters out the known area identifiers that match the acquired area identifiers from the preset known area identifiers; obtains the resource data prediction index corresponding to the known area identifiers, and compares them with the known area identifiers.
  • the resource data prediction index corresponding to the identification information is used as the resource data prediction index corresponding to the acquired area identification; according to the resource data prediction index corresponding to the acquired area identification, the pre-established database is queried, and the prediction of each resource data is obtained from the database
  • the to-be-predicted data corresponding to the indicator is convenient for the subsequent server to determine the resource data predicted value corresponding to the area identifier according to the to-be-predicted data corresponding to each resource data prediction indicator, which realizes the comprehensive tracking and evaluation of the resource data predicted value of the area identifier, thereby improving The accuracy of the obtained resource data prediction information.
  • Step S203 Obtain a preset data conversion instruction, and according to the preset data conversion instruction, convert the acquired data to be predicted corresponding to the resource data prediction index to obtain an associated value corresponding to the resource data prediction index.
  • the data conversion instruction is an instruction that can convert the to-be-predicted data corresponding to the resource data prediction index into a corresponding associated value; different resource data prediction indexes have different corresponding data conversion instructions.
  • the associated value refers to the value converted from the data to be predicted corresponding to the resource data prediction index based on the data conversion instruction. For example, if the data to be predicted corresponding to the Shanghai population growth index is converted into the corresponding population growth level, then the population growth level is the associated value corresponding to the Shanghai population growth index.
  • the server obtains the preset data conversion instruction, and according to the preset data conversion instruction, converts the obtained data to be predicted corresponding to the resource data prediction index to obtain the corresponding level to be predicted, and the obtained level to be predicted Recognized as the associated value corresponding to the resource data prediction index; it is convenient for the subsequent server to predict the resource data prediction value based on the obtained associated value, avoiding redundant data interference, thereby improving the accuracy of the obtained resource data prediction information.
  • the data to be assessed corresponding to the Shanghai population growth index is converted into the corresponding population growth level, and the obtained population growth level is used as the associated value corresponding to the Shanghai population growth index;
  • the corresponding population growth level is level 1, that is, the correlation value corresponding to the Shanghai population growth index is 1; assuming that the population growth number is b, the corresponding population growth level is level 2, that is, the correlation corresponding to the Shanghai population growth index The value is 2.
  • the data to be predicted is converted into the corresponding policy level, and the obtained policy level is taken as The correlation value corresponding to the Guangzhou Commercial Bank's housing loan policy indicator; for example, the to-be-predicted data corresponding to the Guangzhou Commercial Bank's housing loan policy indicator has a higher impact on the increase in the predicted value of resource data, and the corresponding policy level is level 1, that is, with Guangzhou
  • the correlation value corresponding to the commercial bank's housing loan policy indicator is 1.
  • Step S204 Obtain a preset value conversion instruction, and according to the preset value conversion instruction, convert the obtained associated value corresponding to the resource data prediction index to obtain a reference value corresponding to the resource data prediction index.
  • the numerical conversion instruction is an instruction capable of converting the associated value corresponding to the resource data predictive index into a corresponding reference value; different resource data predictive indexes have different corresponding numerical conversion instructions.
  • the reference value refers to the value converted from the associated value corresponding to the resource data prediction index based on the value conversion instruction; it is used to convert the associated value into a value that is convenient for the calculation of the resource data prediction model.
  • the server obtains the preset value conversion instruction, and according to the preset value conversion instruction, converts the obtained associated value corresponding to the resource data prediction index to obtain the reference value corresponding to the associated value, and use the reference value as The reference value corresponding to the resource data prediction index; it is convenient for the subsequent server to predict the resource data prediction value according to the obtained reference value, avoiding redundant data interference, thereby improving the accuracy of the obtained resource data prediction information.
  • Step S205 Input the reference value corresponding to the resource data prediction index into the pre-trained resource data prediction model to obtain the resource data prediction value corresponding to the area identifier.
  • the resource data prediction model is a model that can determine the predicted value of the resource data corresponding to the area identifier according to the input reference value corresponding to the resource data prediction index.
  • the predicted value of resource data corresponding to the area identifier refers to the market value of the real estate in the future time period of the buildings in the area and the land occupied by them.
  • the server inputs the obtained reference value corresponding to each resource data prediction index into the pre-trained resource data prediction model, and calculates and analyzes the reference value corresponding to each resource data prediction index through the resource data prediction model to obtain the prediction of each resource data
  • the resource data prediction result corresponding to the index; the resource data prediction result corresponding to each resource data prediction index is integrated to obtain the resource data prediction value corresponding to the area identifier, which is conducive to the comprehensive tracking and evaluation of the resource data prediction value, thereby improving the obtained The accuracy of resource data prediction information.
  • Step S206 Generate resource data prediction information according to the resource data prediction value corresponding to the area identifier, and send the resource data prediction information to the terminal for display.
  • the server obtains the preset information template, imports the resource data prediction value corresponding to the area identifier into the preset information template, generates corresponding resource data prediction information, and sends the generated resource data prediction information to the corresponding
  • the terminal displays the predicted value of the resource data corresponding to the area identifier through the display interface of the terminal, which is convenient for users to intuitively and comprehensively understand the predicted value of the resource data corresponding to the area identifier in a period of time in the future.
  • the predicted value of resource data is fully tracked and evaluated.
  • the pre-trained resource data prediction model is used to evaluate and analyze the to-be-predicted data corresponding to the resource data prediction index related to the predicted value of the resource data in the region to be predicted, no longer targeting each region
  • the predicted value of resource data is only based on manually collected specific data of the same type, combined with a single qualitative evaluation model to predict resource data, thereby achieving the purpose of comprehensive tracking and evaluating the predicted value of resource data in the area to be predicted. It can avoid the defect that the resource data prediction information obtained by the traditional resource data prediction method is prone to deviation, thereby improving the accuracy of the obtained resource data prediction information.
  • combining the pre-trained resource data prediction model to analyze the data to be predicted can further improve the accuracy of the obtained resource data prediction information.
  • the above step S202, querying the database according to the resource data prediction index, and obtaining the to-be-predicted data corresponding to the resource data prediction index includes: extracting the known resource data prediction index from the database; Match with the known resource data forecast index; if the resource data forecast index matches the known resource data forecast index, obtain the data to be predicted corresponding to the known resource data forecast index from the database; compare the acquired data with the known resource data
  • the to-be-predicted data corresponding to the forecast index is used as the to-be-predicted data corresponding to the resource data forecast index.
  • the server separately calculates the matching degree between the resource data prediction index and each known resource data prediction index, and uses the data to be predicted corresponding to the known resource data prediction index with the largest matching degree as the resource data prediction index from the database. Corresponding to the data to be predicted, thereby obtaining the data to be predicted corresponding to each resource data prediction index.
  • the subsequent server it is convenient for the subsequent server to determine the predicted value of the resource data corresponding to the area identifier according to the to-be-predicted data corresponding to each resource data prediction index, and realize the comprehensive tracking and evaluation of the predicted value of the resource data of the area identifier, thereby improving The obtained resource data predicts the accuracy of the information.
  • the obtained data to be predicted can be converted into corresponding values through the server.
  • the above step S203 transforms the acquired data to be predicted corresponding to the resource data predictive index to obtain the associated value corresponding to the resource data predictive index, including: extracting the predictive index Set the data conversion rule in the data conversion instruction; the data conversion rule is the conversion rule between the data and the associated value; according to the data conversion rule, the obtained data to be predicted corresponding to the resource data prediction index is converted to obtain the resource data The associated value corresponding to the predictor.
  • the data conversion rule refers to a rule that converts the to-be-predicted data corresponding to the resource data predictive index into corresponding associated values; different resource data predictive indices have different corresponding data conversion rules.
  • the server obtains the identifier of the data conversion rule, and extracts the corresponding data conversion rule from the data conversion instruction according to the identifier of the data conversion rule; according to the data conversion rule, executes the prediction on the obtained data to be predicted corresponding to the resource data prediction index.
  • the corresponding level to be predicted is obtained, and the obtained level to be predicted is identified as the associated value corresponding to the resource data prediction index.
  • the value in the data to be predicted corresponding to the resource data forecast index can be converted into the corresponding level to be predicted, and the obtained to be predicted
  • the level is used as the associated value corresponding to the resource data prediction index; for example, the population growth number in the to-be-predicted data corresponding to the Shanghai population growth index is converted into the corresponding population growth level, and the population growth level obtained is regarded as the population growth level of Shanghai
  • the associated value corresponding to the growth indicator For digital data to be predicted, such as the data to be predicted corresponding to the Shanghai population growth index, the value in the data to be predicted corresponding to the resource data forecast index can be converted into the corresponding level to be predicted, and the obtained to be predicted
  • the level is used as the associated value corresponding to the resource data prediction index; for example, the population growth number in the to-be-predicted data corresponding to the Shanghai population growth index is converted into the corresponding population growth level, and the population growth level obtained is regarded as the population growth level of Shanghai
  • the associated value corresponding to the growth indicator
  • the data to be predicted can be transformed according to the degree of influence of the data to be predicted corresponding to the resource data prediction index on the increase in the predicted value of resource data
  • the corresponding level to be predicted is used as the associated value corresponding to the resource data prediction index; for example, according to the degree of influence of the to-be-predicted data corresponding to the Guangzhou Commercial Bank’s housing loan policy index on the increase in the predicted value of the resource data, Convert the data to be predicted into the corresponding policy level, and use the obtained policy level as the associated value corresponding to the Guangzhou Commercial Bank's housing loan policy indicators.
  • the above step S204 transforms the obtained associated value corresponding to the resource data predictive index to obtain the reference value corresponding to the resource data predictive index, including: extracting the preset value The numerical conversion rule in the conversion instruction; the numerical conversion rule is the conversion rule between the associated value and the reference value; according to the numerical conversion rule, the obtained associated value corresponding to the resource data predictive index is converted to obtain the corresponding resource data predictive index Reference value.
  • the numerical conversion rule refers to a rule that converts the associated value corresponding to the resource data prediction index into a corresponding reference value; different resource data prediction indexes have different corresponding numerical conversion rules.
  • the server obtains the identifier of the value conversion rule, and extracts the corresponding value conversion rule from the value conversion instruction according to the identifier of the value conversion rule; determines the corresponding relationship between the associated value and the reference value according to the value conversion rule; Correspondence between the associated value and the reference value, transform the obtained associated value corresponding to the resource data predictive index to obtain the reference value corresponding to the associated value, and identify the reference value as the reference value corresponding to the resource data predictive index.
  • the subsequent server may predict the predicted value of the resource data based on the obtained reference value, avoiding redundant data interference, thereby improving the accuracy of the obtained resource data prediction information.
  • the reference value corresponding to the resource data prediction index may be input into a pre-trained resource data prediction model to obtain the resource data prediction value corresponding to the area identifier.
  • the step of inputting the reference value corresponding to the resource data prediction index into the pre-trained resource data prediction model to obtain the resource data prediction value corresponding to the region identifier specifically includes:
  • Step S301 based on the resource data prediction model, obtain an information matching table corresponding to each resource data prediction index; the information matching table includes the corresponding relationship between the reference value and the resource data change ratio.
  • Step S302 Determine the resource data change ratio that matches each reference value according to the information matching table corresponding to each resource data prediction index.
  • Step S303 Perform a weighted calculation on the corresponding resource data change ratio according to preset weighting factors corresponding to each resource data prediction index to obtain the total resource data change ratio.
  • Step S304 Obtain the current value of the resource data corresponding to the area identifier, and generate the predicted value of the resource data corresponding to the area identifier according to the current value of the resource data and the total proportion of resource data changes.
  • the information matching table refers to the matching table used to identify the correspondence between the reference value and the resource data change ratio, and is classified and stored in the first pre-established database according to the resource data prediction index; different resource data prediction indexes The corresponding information matching table is different.
  • Both the resource data change ratio and the total resource data change ratio refer to the percentage change of resource data in the future, which can be positive, negative, or zero.
  • the weighting factor refers to the degree of influence of the reference value of the resource data predictive index on the predicted value of the resource data; the larger the weighting factor, the greater the degree of influence on the predicted value of the resource data; the weighting factor corresponding to each resource data predictive index in different area identifiers Different.
  • the current value of resource data refers to the market value of the real estate in the current time period of the buildings in the area and the land occupied by them, and is classified and stored in the second pre-established database according to the area identification.
  • the server inputs the reference value corresponding to the resource data prediction index into the pre-trained resource data prediction model; queries the first database established in advance according to the resource data prediction index, and obtains the information matching table corresponding to each resource data prediction index;
  • the information matching table corresponding to each resource data predictive index determines the resource data change ratio that matches each reference value; and the determined resource data change ratio that matches each reference value is used as the resource data corresponding to each resource data predictive index.
  • the resource data prediction index corresponding to the area identifier is a, b , C, d
  • the resource data change ratios corresponding to the resource data predictors a, b, c, d are y1, y2, y3, y4
  • the server queries the pre-established second database according to the area identifier to obtain the current value of the resource data corresponding to the area identifier; and calculates the predicted value of the resource data corresponding to the area identifier according to the current value of the resource data and the total resource data change ratio.
  • the resource data predicted value can be analyzed and evaluated from multiple angles, thereby realizing the The purpose of comprehensive tracking and evaluation of resource data prediction values is to avoid deviations, thereby improving the accuracy of the resource data prediction information obtained.
  • the above step S205, generating resource data prediction information according to the resource data prediction value corresponding to the area identifier includes: determining the corresponding import position of each resource data prediction index in the preset resource data map template; The data to be predicted corresponding to each resource data prediction index is imported into the corresponding import position in the preset resource data map template to generate a resource data map; the resource data map and the predicted value of the resource data corresponding to the area identifier are imported into the preset information In the template, the corresponding resource data prediction information is generated.
  • the server obtains the location identifier of each resource data predictive index in the resource data atlas template.
  • the location identifier is used to identify the import position of the resource data predictive index in the resource data atlas template; the index is predicted based on each resource data.
  • the resource data prediction model can be trained multiple times.
  • the resource data prediction model is obtained by the following method: respectively obtaining sample prediction data and weighting factors corresponding to each resource data prediction index; treating according to the sample prediction data and weighting factors corresponding to each resource data prediction index
  • the trained resource data prediction model is trained to obtain the trained resource data prediction model; the prediction error between the resource data prediction value output by the trained resource data prediction model and the corresponding resource data actual value is obtained; when the prediction error is greater than or When it is equal to the preset threshold, adjust the weighting factor corresponding to each resource data prediction index according to the prediction error, and according to the adjusted weighting factor, the resource data prediction model to be trained is repeatedly trained until the resource data prediction model is obtained according to the trained resource data The prediction error of is less than the preset threshold.
  • the server adjusts the weighting factor corresponding to each resource data prediction index according to the prediction error, and retrains the resource data prediction model to be trained according to the adjusted weighting factor;
  • the prediction error between the resource data prediction value obtained by the resource data prediction model after retraining and the corresponding actual value of the resource data, and the weighting factor corresponding to each resource data prediction index is adjusted again according to the prediction error to the resource to be trained
  • the data prediction model is retrained until the prediction error between the resource data prediction value obtained according to the trained resource data prediction model and the corresponding resource data actual value is less than the preset threshold; when the obtained prediction error is less than the preset threshold, Obtain the current resource data prediction model and use it as the trained resource data prediction model; and use the current weight factors as preset weight factors corresponding to the resource data prediction indicators.
  • a device for processing resource data including: a request receiving module 410, a data obtaining module 420, a data conversion module 430, a numerical value conversion module 440, and a predicted value obtaining module 450 And information generating module 460, where:
  • the request receiving module 410 is configured to receive a query request sent by the terminal; the query request is used to obtain resource data prediction information of the area to be predicted, and the query request carries the area identifier of the area to be predicted.
  • the data acquisition module 420 is configured to acquire the resource data prediction index corresponding to the area identifier, query the database according to the resource data prediction index, and obtain the data to be predicted corresponding to the resource data prediction index.
  • the data conversion module 430 is configured to obtain a preset data conversion instruction, and according to the preset data conversion instruction, convert the acquired data to be predicted corresponding to the resource data prediction index to obtain an associated value corresponding to the resource data prediction index.
  • the value conversion module 440 is configured to obtain a preset value conversion instruction, and according to the preset value conversion instruction, convert the obtained associated value corresponding to the resource data prediction index to obtain a reference value corresponding to the resource data prediction index.
  • the predicted value obtaining module 450 is configured to input the reference value corresponding to the resource data prediction index into the pre-trained resource data prediction model to obtain the predicted value of the resource data corresponding to the area identifier.
  • the information generating module 460 is configured to generate resource data prediction information according to the resource data prediction value corresponding to the area identifier, and send the resource data prediction information to the terminal for display.
  • the data acquisition module is also used to extract the known resource data prediction index from the database; match the resource data prediction index with the known resource data prediction index; if the resource data prediction index matches the known resource data For predictive index matching, the to-be-predicted data corresponding to the known resource data predictive index is obtained from the database; the acquired to-be-predicted data corresponding to the known resource data predictive index is used as the to-be-predicted data corresponding to the resource data predictive index.
  • the data conversion module is also used to extract the data conversion rules in the preset data conversion instructions; the data conversion rules are the conversion rules between the data and the associated values; according to the data conversion rules, the obtained and resource The data to be predicted corresponding to the data prediction index is transformed to obtain the associated value corresponding to the resource data prediction index.
  • the value conversion module is also used to extract the value conversion rule in the preset value conversion instruction; the value conversion rule is the conversion rule between the associated value and the reference value; according to the value conversion rule, the obtained value and the resource The associated value corresponding to the data prediction index is transformed to obtain the reference value corresponding to the resource data prediction index.
  • the predicted value obtaining module is also used to obtain the information matching table corresponding to each resource data prediction index based on the resource data prediction model; the information matching table includes the corresponding relationship between the reference value and the resource data change ratio; The information matching table corresponding to each resource data prediction index determines the resource data change ratio that matches each reference value; respectively, according to the preset weighting factors corresponding to each resource data prediction index, the corresponding resource data change ratio is weighted and calculated To obtain the total resource data change ratio; obtain the current value of the resource data corresponding to the area identifier, and generate the resource data predicted value corresponding to the area identifier according to the current value of the resource data and the total resource data change ratio.
  • the predictive value obtaining module is also used to multiply the current value of the resource data by the total resource data change ratio to obtain the resource data change value; add the current value of the resource data and the resource data change value to obtain The predicted value of the resource data corresponding to the area identifier.
  • the information generation module is also used to determine the corresponding import position of each resource data predictive index in the preset resource data map template; import the to-be-predicted data corresponding to each resource data predictive index into the preset resource
  • the corresponding import location in the data map template generates a resource data map; the resource data map and the predicted value of the resource data corresponding to the region identifier are imported into the preset information template to generate corresponding resource data prediction information.
  • the device for generating resource data prediction information further includes a model training module, which is used to obtain sample prediction data and weighting factors corresponding to each resource data prediction index; predict according to the sample corresponding to each resource data prediction index Data and weighting factors train the resource data prediction model to be trained to obtain the trained resource data prediction model; obtain the prediction error between the resource data predicted value output by the trained resource data prediction model and the corresponding actual value of the resource data;
  • the weighting factor corresponding to each resource data prediction index is adjusted according to the prediction error, and the resource data prediction model to be trained is repeatedly trained according to the adjusted weighting factor, until it is trained according to the trained
  • the prediction error obtained by the resource data prediction model is less than the preset threshold.
  • the resource data processing device achieves the purpose of comprehensive tracking and evaluation of the resource data prediction value of the area to be predicted, which can avoid the defect that the resource data prediction information obtained by the traditional resource data prediction method is prone to deviation, thereby improving The accuracy of the obtained resource data prediction information.
  • Each module in the above-mentioned resource data processing device can be implemented in whole or in part by software, hardware, and a combination thereof.
  • the foregoing modules may be embedded in the form of hardware or independent of the processor in the computer device, or may be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the foregoing modules.
  • a computer device is provided.
  • the computer device may be a server, and its internal structure diagram may be as shown in FIG. 5.
  • the computer equipment includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide calculation and control capabilities.
  • the memory of the computer device includes a non-volatile or volatile storage medium and internal memory.
  • the non-volatile or volatile storage medium stores an operating system, computer readable instructions, and a database.
  • the internal memory provides an environment for the operation of the operating system and computer-readable instructions in the non-volatile or volatile storage medium.
  • the database of the computer equipment is used to store the data to be predicted corresponding to the resource data prediction index.
  • the network interface of the computer device is used to communicate with an external terminal through a network connection.
  • the computer-readable instructions are executed by the processor to implement a method for processing resource data.
  • FIG. 5 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied.
  • the specific computer device may Including more or fewer parts than shown in the figure, or combining some parts, or having a different arrangement of parts.
  • a computer device including a memory and one or more processors, in which computer readable instructions are stored, and when the computer readable instructions are executed by the processor, the steps of the resource data processing method provided in any one of the embodiments of the present application are implemented .
  • One or more computer-readable storage media storing computer-readable instructions.
  • the computer-readable storage media may be nonvolatile or volatile.
  • the computer-readable instructions are executed by one or more processors , Enabling one or more processors to implement the steps of the resource data processing method provided in any embodiment of the present application.
  • Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory.
  • Volatile memory may include random access memory (RAM) or external cache memory.
  • RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
  • SRAM static RAM
  • DRAM dynamic RAM
  • SDRAM synchronous DRAM
  • DDRSDRAM double data rate SDRAM
  • ESDRAM enhanced SDRAM
  • SLDRAM synchronous chain Channel
  • memory bus Radbus direct RAM
  • RDRAM direct memory bus dynamic RAM
  • RDRAM memory bus dynamic RAM

Abstract

A resource data processing method, relating to the field of artificial intelligence prediction technology. Said method comprises: receiving a query request sent by a terminal, the query request being used to acquire resource data prediction information concerning a region to be predicted, the query request carrying the region identifier of said region (S201); acquiring a resource data prediction index corresponding to the region identifier, querying a database according to the resource data prediction index, to acquire data to be predicted corresponding to the resource data prediction index (S202); acquiring a preset data conversion instruction, and converting, according to the preset data conversion instruction, the acquired data corresponding to the resource data prediction index, to obtain an associated value corresponding to the resource data prediction index (S203); acquiring a preset value conversion instruction, and converting, according to the preset value conversion instruction, the obtained associated value corresponding to the resource data prediction index, to obtain a reference value corresponding to the resource data prediction index (S204); inputting the reference value corresponding to the resource data prediction index into a pre-trained resource data prediction model, to obtain a resource data prediction value corresponding to the region identifier (S205); and generating resource data prediction information according to the resource data prediction value corresponding to the region identifier, and sending the resource data prediction information to the terminal for display (S206).

Description

资源数据的处理方法、装置、计算机设备和存储介质Resource data processing method, device, computer equipment and storage medium
本申请要求于2019年07月09日提交中国专利局,申请号为201910612928.8,申请名称为“资源数据的处理方法、装置、计算机设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on July 9, 2019. The application number is 201910612928.8 and the application name is "Resource data processing methods, devices, computer equipment and storage media." The reference is incorporated in this application.
技术领域Technical field
本申请涉及人工智能预测技术领域,特别是涉及一种资源数据的处理方法、装置、计算机设备和存储介质。This application relates to the field of artificial intelligence prediction technology, in particular to a method, device, computer equipment and storage medium for processing resource data.
背景技术Background technique
资源数据预测信息是指区域中的资源数据如房价在未来一段时间内的预测值,不同区域的资源数据预测信息不一样;为了及时掌握资源数据在未来一段时间内的预测值,对区域中的资源数据进行预测显得非常重要。Resource data forecast information refers to the resource data in the region, such as the forecast value of housing prices in a period of time in the future. The resource data forecast information in different regions is different; in order to grasp the forecast value of resource data in a period of time in the future, Resource data is very important for forecasting.
目前,对于区域中的资源数据的预测,通常是通过服务器根据人工收集的同种类型的特定数据,比如地理信息、政策信息、城镇化水平信息等,并结合单一的定性评估模型,对区域中的资源数据进行评估预测。然而,发明人意识到,资源数据受多个因素影响,不同区域中的资源数据的主要影响因素不一样;若针对每一个区域中的资源数据,都仅仅根据人工收集的同种类型的特定数据,并结合单一的定性评估模型对资源数据进行预测,导致无法实现对资源数据预测值的全面跟踪评估,造成得到的资源数据预测信息容易出现偏差,从而导致得到的资源数据预测信息的准确性低。At present, the forecast of resource data in a region is usually based on the same type of specific data manually collected by the server, such as geographic information, policy information, urbanization level information, etc., and combined with a single qualitative evaluation model, The resource data is evaluated and forecasted. However, the inventor realizes that resource data is affected by multiple factors, and the main influencing factors of resource data in different regions are different; if the resource data in each region is targeted, it is only based on the same type of specific data collected manually , Combined with a single qualitative evaluation model to predict resource data, resulting in the inability to achieve a comprehensive tracking evaluation of the resource data prediction value, resulting in the resource data prediction information obtained prone to deviations, resulting in low accuracy of the resource data prediction information obtained .
发明内容Summary of the invention
根据本申请公开的各种实施例,提供一种资源数据的处理方法、装置、计算机设备和存储介质。According to various embodiments disclosed in the present application, a resource data processing method, device, computer equipment, and storage medium are provided.
一种资源数据预测信息的生成方法包括:A method for generating resource data prediction information includes:
接收终端发送的查询请求;所述查询请求用于获取待预测区域的资源数据预测信息;所述查询请求携带所述待预测区域的区域标识;Receiving a query request sent by a terminal; the query request is used to obtain resource data prediction information of the area to be predicted; the query request carries the area identifier of the area to be predicted;
获取与所述区域标识对应的资源数据预测指标,根据所述资源数据预测指标查询数据库,获取与所述资源数据预测指标对应的待预测数据;Obtaining a resource data prediction index corresponding to the area identifier, querying a database according to the resource data prediction index, and obtaining data to be predicted corresponding to the resource data prediction index;
获取预设数据转化指令,根据所述预设数据转化指令,对获取到的与所述资源数据预测指标对应的待预测数据进行转化,得到与所述资源数据预测指标对应的关联值;Acquiring a preset data conversion instruction, and converting the acquired data to be predicted corresponding to the resource data prediction index according to the preset data conversion instruction to obtain an associated value corresponding to the resource data prediction index;
获取预设数值转化指令,根据所述预设数值转化指令,对得到的与所述资源数据预测指标对应的关联值进行转化,得到与所述资源数据预测指标对应的参考值;Obtaining a preset value conversion instruction, and according to the preset value conversion instruction, convert the obtained associated value corresponding to the resource data prediction index to obtain a reference value corresponding to the resource data prediction index;
将与所述资源数据预测指标对应的参考值输入预先训练的资源数据预测模型,得到与所述区域标识对应的资源数据预测值;及Input the reference value corresponding to the resource data prediction index into a pre-trained resource data prediction model to obtain the resource data prediction value corresponding to the area identifier; and
根据与所述区域标识对应的资源数据预测值生成资源数据预测信息,将所述资源数据预测信息发送至所述终端进行显示。Generate resource data prediction information according to the resource data prediction value corresponding to the area identifier, and send the resource data prediction information to the terminal for display.
一种资源数据的处理装置包括:A resource data processing device includes:
请求接收模块,用于接收终端发送的查询请求;所述查询请求用于获取待预测区域的资源数据预测信息;所述查询请求携带所述待预测区域的区域标识;The request receiving module is configured to receive a query request sent by the terminal; the query request is used to obtain resource data prediction information of the area to be predicted; the query request carries the area identifier of the area to be predicted;
数据获取模块,用于获取与所述区域标识对应的资源数据预测指标,根据所述资源数据预测指标查询数据库,获取与所述资源数据预测指标对应的待预测数据;A data acquisition module, configured to acquire a resource data prediction index corresponding to the region identifier, query a database according to the resource data prediction index, and obtain data to be predicted corresponding to the resource data prediction index;
数据转化模块,用于获取预设数据转化指令,根据所述预设数据转化指令,对获取到的与所述资源数据预测指标对应的待预测数据进行转化,得到与所述资源数据预测指标对应的关联值;The data conversion module is configured to obtain a preset data conversion instruction, and according to the preset data conversion instruction, convert the obtained data to be predicted corresponding to the resource data predictive index to obtain the corresponding resource data predictive index The associated value;
数值转化模块,用于获取预设数值转化指令,根据所述预设数值转化指令,对得到的与所述资源数据预测指标对应的关联值进行转化,得到与所述资源数据预测指标对应的参考值;The numerical value conversion module is configured to obtain a preset value conversion instruction, and according to the preset value conversion instruction, convert the obtained associated value corresponding to the resource data prediction index to obtain a reference corresponding to the resource data prediction index value;
预测值获取模块,用于将与所述资源数据预测指标对应的参考值输入预先训练的资源数据预测模型,得到与所述区域标识对应的资源数据预测值;及A prediction value acquisition module, configured to input the reference value corresponding to the resource data prediction index into a pre-trained resource data prediction model to obtain the resource data prediction value corresponding to the area identifier; and
信息生成模块,用于根据与所述区域标识对应的资源数据预测值生成资源数据预测信息,将所述资源数据预测信息发送至所述终端进行显示。The information generating module is configured to generate resource data prediction information according to the resource data prediction value corresponding to the area identifier, and send the resource data prediction information to the terminal for display.
一种计算机设备,包括存储器和一个或多个处理器,所述存储器中储存有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述一个或多个处理器执行以下步骤:A computer device, including a memory and one or more processors, the memory stores computer readable instructions, when the computer readable instructions are executed by the processor, the one or more processors execute The following steps:
接收终端发送的查询请求;所述查询请求用于获取待预测区域的资源数据预测信息;所述查询请求携带所述待预测区域的区域标识;Receiving a query request sent by a terminal; the query request is used to obtain resource data prediction information of the area to be predicted; the query request carries the area identifier of the area to be predicted;
获取与所述区域标识对应的资源数据预测指标,根据所述资源数据预测指标查询数据库,获取与所述资源数据预测指标对应的待预测数据;Obtaining a resource data prediction index corresponding to the area identifier, querying a database according to the resource data prediction index, and obtaining data to be predicted corresponding to the resource data prediction index;
获取预设数据转化指令,根据所述预设数据转化指令,对获取到的与所述资源数据预测指标对应的待预测数据进行转化,得到与所述资源数据预测指标对应的关联值;Acquiring a preset data conversion instruction, and converting the acquired data to be predicted corresponding to the resource data prediction index according to the preset data conversion instruction to obtain an associated value corresponding to the resource data prediction index;
获取预设数值转化指令,根据所述预设数值转化指令,对得到的与所述资源数据预测指标对应的关联值进行转化,得到与所述资源数据预测指标对应的参考值;Obtaining a preset value conversion instruction, and according to the preset value conversion instruction, convert the obtained associated value corresponding to the resource data prediction index to obtain a reference value corresponding to the resource data prediction index;
将与所述资源数据预测指标对应的参考值输入预先训练的资源数据预测模型,得到与所述区域标识对应的资源数据预测值;及Input the reference value corresponding to the resource data prediction index into a pre-trained resource data prediction model to obtain the resource data prediction value corresponding to the area identifier; and
根据与所述区域标识对应的资源数据预测值生成资源数据预测信息,将所述资源数据预测信息发送至所述终端进行显示。Generate resource data prediction information according to the resource data prediction value corresponding to the area identifier, and send the resource data prediction information to the terminal for display.
一个或多个存储有计算机可读指令的计算机可读存储介质,计算机可读指令被一个或 多个处理器执行时,使得一个或多个处理器执行以下步骤:One or more computer-readable storage media storing computer-readable instructions. When the computer-readable instructions are executed by one or more processors, the one or more processors execute the following steps:
接收终端发送的查询请求;所述查询请求用于获取待预测区域的资源数据预测信息;所述查询请求携带所述待预测区域的区域标识;Receiving a query request sent by a terminal; the query request is used to obtain resource data prediction information of the area to be predicted; the query request carries the area identifier of the area to be predicted;
获取与所述区域标识对应的资源数据预测指标,根据所述资源数据预测指标查询数据库,获取与所述资源数据预测指标对应的待预测数据;Obtaining a resource data prediction index corresponding to the area identifier, querying a database according to the resource data prediction index, and obtaining data to be predicted corresponding to the resource data prediction index;
获取预设数据转化指令,根据所述预设数据转化指令,对获取到的与所述资源数据预测指标对应的待预测数据进行转化,得到与所述资源数据预测指标对应的关联值;Acquiring a preset data conversion instruction, and converting the acquired data to be predicted corresponding to the resource data prediction index according to the preset data conversion instruction to obtain an associated value corresponding to the resource data prediction index;
获取预设数值转化指令,根据所述预设数值转化指令,对得到的与所述资源数据预测指标对应的关联值进行转化,得到与所述资源数据预测指标对应的参考值;Obtaining a preset value conversion instruction, and according to the preset value conversion instruction, convert the obtained associated value corresponding to the resource data prediction index to obtain a reference value corresponding to the resource data prediction index;
将与所述资源数据预测指标对应的参考值输入预先训练的资源数据预测模型,得到与所述区域标识对应的资源数据预测值;及Input the reference value corresponding to the resource data prediction index into a pre-trained resource data prediction model to obtain the resource data prediction value corresponding to the area identifier; and
根据与所述区域标识对应的资源数据预测值生成资源数据预测信息,将所述资源数据预测信息发送至所述终端进行显示。Generate resource data prediction information according to the resource data prediction value corresponding to the area identifier, and send the resource data prediction information to the terminal for display.
上述资源数据的处理方法、装置、计算机设备和存储介质,通过预先训练的资源数据预测模型,对与待预测区域的资源数据预测值相关的资源数据预测指标对应的待预测数据进行评估分析,不再针对每一个区域的资源数据预测值,都仅仅根据人工收集的同种类型的特定数据,并结合单一的定性评估模型对资源数据进行预测,从而实现了对待预测区域的资源数据预测值的全面跟踪评估的目的,能够避免传统资源数据预测方法得到的资源数据预测信息容易出现偏差的缺陷,从而提高了得到的资源数据预测信息的准确性。同时,结合预先训练的资源数据预测模型对待预测数据进行分析,可以进一步提高得到的资源数据预测信息的准确性。The above-mentioned resource data processing method, device, computer equipment and storage medium use a pre-trained resource data prediction model to evaluate and analyze the to-be-predicted data corresponding to the resource data prediction index related to the resource data prediction value of the area to be predicted. For the resource data prediction value of each region, the resource data is predicted based on the same type of specific data collected manually, combined with a single qualitative evaluation model, so as to realize the comprehensive prediction value of the resource data in the region to be predicted The purpose of tracking evaluation can avoid the defect that the resource data prediction information obtained by the traditional resource data prediction method is prone to deviation, thereby improving the accuracy of the obtained resource data prediction information. At the same time, combining the pre-trained resource data prediction model to analyze the data to be predicted can further improve the accuracy of the obtained resource data prediction information.
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征和优点将从说明书、附图以及权利要求书变得明显。The details of one or more embodiments of the application are set forth in the following drawings and description. Other features and advantages of this application will become apparent from the description, drawings and claims.
附图说明Description of the drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。In order to more clearly describe the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed in the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
图1为根据一个或多个实施例中资源数据的处理方法的应用场景图;Fig. 1 is an application scenario diagram of a resource data processing method according to one or more embodiments;
图2为根据一个或多个实施例中资源数据的处理方法的流程示意图;2 is a schematic flowchart of a method for processing resource data according to one or more embodiments;
图3为根据一个或多个实施例中得到资源数据预测值的步骤的流程示意图;FIG. 3 is a schematic flowchart of the steps of obtaining resource data predicted values according to one or more embodiments;
图4为根据一个或多个实施例中资源数据的处理装置的框图;Fig. 4 is a block diagram of an apparatus for processing resource data according to one or more embodiments;
图5为根据一个或多个实施例中计算机设备的框图。Figure 5 is a block diagram of a computer device according to one or more embodiments.
具体实施方式Detailed ways
为了使本申请的技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。In order to make the technical solutions and advantages of the present application clearer, the following further describes the present application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the application, and not used to limit the application.
本申请提供的资源数据的处理方法,可以应用于如图1所示的应用环境中。其中,终端110与服务器120通过网络进行通信。终端110安装了应用程序,用户通过该应用程序可以查询与待预测区域对应的资源数据预测信息,比如与待预测区域对应的房价预测信息。终端110响应用户对应用程序展示的查询界面的输入操作,生成用于获取待预测区域的资源数据预测信息的查询请求,并将该查询请求发送至服务器120。服务器120解析查询请求,得到用户输入的待预测区域的区域标识;获取与区域标识对应的资源数据预测指标,根据资源数据预测指标查询数据库,获取与资源数据预测指标对应的待预测数据;将获取到的与资源数据预测指标对应的待预测数据进行转化,得到与资源数据预测指标对应的关联值,并将与资源数据预测指标对应的关联值进行转化,得到与资源数据预测指标对应的参考值;将与资源数据预测指标对应的参考值输入预先训练的资源数据预测模型,得到与区域标识对应的资源数据预测值;根据与区域标识对应的资源数据预测值生成资源数据预测信息,将资源数据预测信息发送至终端110。终端110根据接收的资源数据预测信息,显示与用户输入的待预测区域的区域标识对应的资源数据预测值。其中,终端110可以但不限于是各种个人计算机、笔记本电脑、智能手机和平板电脑,服务器120可以用独立的服务器或者是多个服务器组成的服务器集群来实现。The resource data processing method provided in this application can be applied to the application environment shown in FIG. 1. Wherein, the terminal 110 and the server 120 communicate through the network. The terminal 110 is installed with an application program through which the user can query the resource data prediction information corresponding to the area to be predicted, such as the housing price prediction information corresponding to the area to be predicted. The terminal 110 responds to the user's input operation on the query interface displayed by the application program, generates a query request for obtaining resource data prediction information of the region to be predicted, and sends the query request to the server 120. The server 120 parses the query request to obtain the region identification of the region to be predicted entered by the user; obtains the resource data prediction index corresponding to the region identification, queries the database according to the resource data prediction index, and obtains the to-be-predicted data corresponding to the resource data prediction index; The obtained data to be predicted corresponding to the resource data predictive index is converted to obtain the associated value corresponding to the resource data predictive index, and the associated value corresponding to the resource data predictive index is converted to obtain the reference value corresponding to the resource data predictive index ; Input the reference value corresponding to the resource data prediction index into the pre-trained resource data prediction model to obtain the resource data prediction value corresponding to the region identifier; generate resource data prediction information according to the resource data prediction value corresponding to the region identifier, and convert the resource data The prediction information is sent to the terminal 110. According to the received resource data prediction information, the terminal 110 displays the resource data prediction value corresponding to the region identifier of the region to be predicted input by the user. The terminal 110 may be, but is not limited to, various personal computers, notebook computers, smart phones, and tablet computers, and the server 120 may be implemented by an independent server or a server cluster composed of multiple servers.
在其中一个实施例中,如图2所示,提供了一种资源数据的处理方法,以该方法应用于图1中的服务器为例进行说明,包括以下步骤:In one of the embodiments, as shown in FIG. 2, a method for processing resource data is provided. Taking the method applied to the server in FIG. 1 as an example for description, the method includes the following steps:
步骤S201,接收终端发送的查询请求;查询请求用于获取待预测区域的资源数据预测信息;查询请求携带待预测区域的区域标识。Step S201: Receive a query request sent by a terminal; the query request is used to obtain resource data prediction information of the area to be predicted; the query request carries the area identifier of the area to be predicted.
在本步骤中,待预测区域可以是指城市区域、省份区域或者行政区域等;资源数据是指区域中的建筑物连同其占用土地在特定时间段内房产的市场价值,比如房价;资源数据预测信息是指区域中的资源数据在未来一段时间内的预测值,比如房价预测值;区域标识是指用于标识待预测区域的信息,比如区域名称、区域简称或者区域编号等,便于服务器进行区分。In this step, the area to be predicted can refer to an urban area, a province area, or an administrative area; resource data refers to the market value of the buildings in the area and the land occupied by them in a specific time period, such as housing prices; resource data prediction Information refers to the predicted value of the resource data in the region in the future, such as the predicted value of house prices; regional identification refers to the information used to identify the region to be predicted, such as the name of the region, the abbreviation of the region, or the region number, so that the server can distinguish .
终端安装了用于查询与待预测区域的区域标识对应的资源数据预测信息的应用程序,用户通过登录应用程序可以查询与区域标识对应的资源数据预测信息。终端响应用户对应用程序展示的查询界面的输入操作,生成用于获取待预测区域的资源数据预测信息的查询请求,并将该查询请求发送至服务器。服务器解析接收到的查询请求,得到待预测区域的区域标识。此外,用户还可以通过登录终端运行的浏览器,进入资源数据预测信息的查询界面,用户基于查询界面输入待预测区域的区域标识,通过终端将携带待预测区域的区域标识的查询请求发送至服务器。The terminal installs an application program for querying resource data prediction information corresponding to the area identifier of the area to be predicted, and the user can query the resource data prediction information corresponding to the area identifier by logging in to the application program. The terminal responds to the user's input operation on the query interface displayed by the application program, generates a query request for obtaining resource data prediction information of the region to be predicted, and sends the query request to the server. The server parses the received query request to obtain the area identifier of the area to be predicted. In addition, the user can also log in to the browser running on the terminal to enter the query interface for resource data prediction information. Based on the query interface, the user enters the region identification of the region to be predicted, and the terminal sends a query request carrying the region identification of the region to be predicted to the server .
步骤S202,获取与区域标识对应的资源数据预测指标,根据资源数据预测指标查询 数据库,获取与资源数据预测指标对应的待预测数据。Step S202: Obtain the resource data prediction index corresponding to the area identifier, query the database according to the resource data prediction index, and obtain the data to be predicted corresponding to the resource data prediction index.
在本步骤中,资源数据预测指标是指对区域中的资源数据预测值造成影响的指标,比如对区域中的房价预测值造成影响的指标为上海房屋供给指标、上海房屋需求指标、上海政策指标、上海土地供给指标、上海人口增长指标、广州商业银行买房贷款政策指标、广州城市化水平指标、广州租房政策指标、广州海外房地产发展水平指标等;不同区域标识对应的资源数据预测指标不一样,比如上海房屋供给指标与广州房屋供给指标不一样;且不同区域标识对应的主要资源数据预测指标不一样,比如广州的主要资源数据预测指标为广州商业银行买房贷款政策指标、广州城市化水平指标、广州租房政策指标、广州海外房地产发展水平指标等,上海的主要资源数据预测指标为上海房屋供给指标、上海房屋需求指标、上海政策指标、上海土地供给指标、上海人口增长指标等。In this step, the resource data forecast index refers to the index that affects the forecast value of the resource data in the region. For example, the index that affects the forecast value of the housing price in the region is the Shanghai housing supply index, the Shanghai housing demand index, and the Shanghai policy index. , Shanghai land supply indicator, Shanghai population growth indicator, Guangzhou Commercial Bank's housing loan policy indicator, Guangzhou urbanization level indicator, Guangzhou rental policy indicator, Guangzhou overseas real estate development level indicator, etc.; the resource data forecast indicators corresponding to different regional indicators are different, For example, Shanghai’s housing supply indicators are not the same as Guangzhou’s housing supply indicators; and the main resource data prediction indicators corresponding to different regional indicators are different. For example, Guangzhou’s main resource data prediction indicators are the Guangzhou Commercial Bank’s housing loan policy indicators, Guangzhou urbanization level indicators, Guangzhou rental policy indicators, Guangzhou overseas real estate development level indicators, etc. Shanghai’s main resource data forecast indicators are Shanghai housing supply indicators, Shanghai housing demand indicators, Shanghai policy indicators, Shanghai land supply indicators, and Shanghai population growth indicators.
服务器预先确定与区域标识对应的资源数据预测指标;并基于大数据,将各个资源数据预测指标作为搜索关键词,预先从互联网爬取与各个资源数据预测指标对应的数据,对爬取到的与各个资源数据预测指标对应的数据进行预处理操作,比如去除噪声数据、过滤干扰信息等,得到与各个资源数据预测指标对应的关键数据内容;将获取到的关键数据内容作为待预测数据,并对待预测数据添加对应的资源数据预测指标,从而得到与同一区域标识中的各个资源数据预测指标对应的待预测数据;将属于同一区域标识的待预测数据及对应的资源数据预测指标进行打包,生成与区域标识对应的数据包,并将生成的数据包存储至预先建立的数据库中;方便后续服务器通过查询数据库,获取与区域标识的资源数据预测指标对应的待预测数据。The server pre-determines the resource data predictive index corresponding to the area identifier; and based on big data, uses each resource data predictive index as a search keyword, and crawls the data corresponding to each resource data predictive index from the Internet in advance, and compares the crawled and Perform preprocessing operations on the data corresponding to each resource data prediction index, such as removing noise data, filtering interference information, etc., to obtain key data content corresponding to each resource data prediction index; take the obtained key data content as the data to be predicted, and treat it The prediction data adds the corresponding resource data prediction index, so as to obtain the data to be predicted corresponding to each resource data prediction index in the same area identifier; package the data to be predicted and the corresponding resource data prediction index belonging to the same area identifier to generate and The data packet corresponding to the area identifier is stored in a pre-established database; it is convenient for the subsequent server to query the database to obtain the data to be predicted corresponding to the resource data prediction index of the area identifier.
此外,在一定时间之后,比如3个月,服务器重新基于互联网获取与各个资源数据预测指标对应的待预测数据;对于同一资源数据预测指标,采用重新获取的待预测数据覆盖数据库中与该资源数据预测指标对应的原始数据,以及时更新数据库中的数据,有利于提高获取到的与各个资源数据预测指标对应的待预测数据的准确性和时效性,进一步提高了后续得到的资源数据预测信息的准确性。In addition, after a certain period of time, such as 3 months, the server re-obtains the to-be-predicted data corresponding to each resource data prediction index based on the Internet; for the same resource data prediction index, the newly acquired data to be predicted is used to overwrite the resource data in the database The original data corresponding to the predictive index and the timely update of the data in the database help to improve the accuracy and timeliness of the obtained data to be predicted corresponding to each resource data predictive index, and further improve the subsequent resource data prediction information. accuracy.
具体实现中,服务器从预设的已知区域标识中,筛选出与获取到的区域标识匹配的已知区域标识;获取与该已知区域标识对应的资源数据预测指标,将与该已知区域标识信息对应的资源数据预测指标作为与获取到的区域标识对应的资源数据预测指标;根据与获取到的区域标识对应的资源数据预测指标查询预先建立的数据库,从数据库中获取与各个资源数据预测指标对应的待预测数据,方便后续服务器根据与各个资源数据预测指标对应的待预测数据确定与区域标识对应的资源数据预测值,实现了对区域标识的资源数据预测值的全面跟踪评估,从而提高了得到的资源数据预测信息的准确性。In specific implementation, the server filters out the known area identifiers that match the acquired area identifiers from the preset known area identifiers; obtains the resource data prediction index corresponding to the known area identifiers, and compares them with the known area identifiers. The resource data prediction index corresponding to the identification information is used as the resource data prediction index corresponding to the acquired area identification; according to the resource data prediction index corresponding to the acquired area identification, the pre-established database is queried, and the prediction of each resource data is obtained from the database The to-be-predicted data corresponding to the indicator is convenient for the subsequent server to determine the resource data predicted value corresponding to the area identifier according to the to-be-predicted data corresponding to each resource data prediction indicator, which realizes the comprehensive tracking and evaluation of the resource data predicted value of the area identifier, thereby improving The accuracy of the obtained resource data prediction information.
步骤S203,获取预设数据转化指令,根据预设数据转化指令,对获取到的与资源数据预测指标对应的待预测数据进行转化,得到与资源数据预测指标对应的关联值。Step S203: Obtain a preset data conversion instruction, and according to the preset data conversion instruction, convert the acquired data to be predicted corresponding to the resource data prediction index to obtain an associated value corresponding to the resource data prediction index.
在本步骤中,数据转化指令是一种能够将与资源数据预测指标对应的待预测数据转化为对应的关联值的指令;不同资源数据预测指标,对应的数据转化指令不一样。关联值是 指基于数据转化指令,由与资源数据预测指标对应的待预测数据转化而成的数值。例如,将上海人口增长指标对应的待预测数据转化为对应的人口增长级别,那么该人口增长级别即为上海人口增长指标对应的关联值。In this step, the data conversion instruction is an instruction that can convert the to-be-predicted data corresponding to the resource data prediction index into a corresponding associated value; different resource data prediction indexes have different corresponding data conversion instructions. The associated value refers to the value converted from the data to be predicted corresponding to the resource data prediction index based on the data conversion instruction. For example, if the data to be predicted corresponding to the Shanghai population growth index is converted into the corresponding population growth level, then the population growth level is the associated value corresponding to the Shanghai population growth index.
具体实现中,服务器获取预设数据转化指令,根据预设数据转化指令,对获取到的与资源数据预测指标对应的待预测数据进行转化,得到相应的待预测级别,并将得到的待预测级别识别为与资源数据预测指标对应的关联值;方便后续服务器根据得到的关联值,对资源数据预测值进行预测,避免多余数据干扰,从而提高了得到的资源数据预测信息的准确性。In specific implementation, the server obtains the preset data conversion instruction, and according to the preset data conversion instruction, converts the obtained data to be predicted corresponding to the resource data prediction index to obtain the corresponding level to be predicted, and the obtained level to be predicted Recognized as the associated value corresponding to the resource data prediction index; it is convenient for the subsequent server to predict the resource data prediction value based on the obtained associated value, avoiding redundant data interference, thereby improving the accuracy of the obtained resource data prediction information.
针对数字型待预测数据,例如将上海人口增长指标对应的待评估数据转化为对应的人口增长级别,并将得到的人口增长级别作为与上海人口增长指标对应的关联值;假设人口增长数为a,则对应的人口增长级别为一级,即与上海人口增长指标对应的关联值为1;假设人口增长数为b,则对应的人口增长级别为二级,即与上海人口增长指标对应的关联值为2。针对理论型待预测数据,例如根据广州商业银行买房贷款政策指标对应的待预测数据对资源数据预测值上涨的影响程度,将该待预测数据转化为对应的政策级别,并将得到的政策级别作为与广州商业银行买房贷款政策指标对应的关联值;比如广州商业银行买房贷款政策指标对应的待预测数据对资源数据预测值上涨的影响程度较高,则对应的政策级别为一级,即与广州商业银行买房贷款政策指标对应的关联值为1。For digital data to be predicted, for example, the data to be assessed corresponding to the Shanghai population growth index is converted into the corresponding population growth level, and the obtained population growth level is used as the associated value corresponding to the Shanghai population growth index; suppose the population growth number is a , The corresponding population growth level is level 1, that is, the correlation value corresponding to the Shanghai population growth index is 1; assuming that the population growth number is b, the corresponding population growth level is level 2, that is, the correlation corresponding to the Shanghai population growth index The value is 2. For the theoretical data to be predicted, for example, according to the degree of influence of the data to be predicted corresponding to the Guangzhou Commercial Bank's housing loan policy indicators on the increase in the predicted value of resource data, the data to be predicted is converted into the corresponding policy level, and the obtained policy level is taken as The correlation value corresponding to the Guangzhou Commercial Bank's housing loan policy indicator; for example, the to-be-predicted data corresponding to the Guangzhou Commercial Bank's housing loan policy indicator has a higher impact on the increase in the predicted value of resource data, and the corresponding policy level is level 1, that is, with Guangzhou The correlation value corresponding to the commercial bank's housing loan policy indicator is 1.
步骤S204,获取预设数值转化指令,根据预设数值转化指令,对得到的与资源数据预测指标对应的关联值进行转化,得到与资源数据预测指标对应的参考值。Step S204: Obtain a preset value conversion instruction, and according to the preset value conversion instruction, convert the obtained associated value corresponding to the resource data prediction index to obtain a reference value corresponding to the resource data prediction index.
在本步骤中,数值转化指令是一种能够将与资源数据预测指标对应的关联值转化为对应的参考值的指令;不同资源数据预测指标,对应的数值转化指令不一样。参考值是指基于数值转化指令,由与资源数据预测指标对应的关联值转化而成的数值;用于将关联值转化为便于资源数据预测模型计算的数值。关联值与参考值存在一一对应的关系,不同关联值,对应的参考值不一样。例如,假设上海人口增长指标对应的关联值为10,而关联值10对应的参数值为1,那么上海人口增长指标对应的参数值为1。In this step, the numerical conversion instruction is an instruction capable of converting the associated value corresponding to the resource data predictive index into a corresponding reference value; different resource data predictive indexes have different corresponding numerical conversion instructions. The reference value refers to the value converted from the associated value corresponding to the resource data prediction index based on the value conversion instruction; it is used to convert the associated value into a value that is convenient for the calculation of the resource data prediction model. There is a one-to-one correspondence between the associated value and the reference value. Different associated values have different corresponding reference values. For example, if the correlation value corresponding to the Shanghai population growth index is 10, and the parameter value corresponding to the correlation value 10 is 1, then the parameter value corresponding to the Shanghai population growth index is 1.
具体实现中,服务器获取预设数值转化指令,根据预设数值转化指令,对获取到的与资源数据预测指标对应的关联值进行转化,得到与关联值对应的参考值,并将该参考值作为与资源数据预测指标对应的参考值;方便后续服务器根据得到的参考值,对资源数据预测值进行预测,避免多余数据干扰,从而提高了得到的资源数据预测信息的准确性。In specific implementation, the server obtains the preset value conversion instruction, and according to the preset value conversion instruction, converts the obtained associated value corresponding to the resource data prediction index to obtain the reference value corresponding to the associated value, and use the reference value as The reference value corresponding to the resource data prediction index; it is convenient for the subsequent server to predict the resource data prediction value according to the obtained reference value, avoiding redundant data interference, thereby improving the accuracy of the obtained resource data prediction information.
步骤S205,将与资源数据预测指标对应的参考值输入预先训练的资源数据预测模型,得到与区域标识对应的资源数据预测值。Step S205: Input the reference value corresponding to the resource data prediction index into the pre-trained resource data prediction model to obtain the resource data prediction value corresponding to the area identifier.
在本步骤中,资源数据预测模型是一种能够根据输入的与资源数据预测指标对应的参考值,确定与区域标识对应的资源数据预测值的模型。与区域标识对应的资源数据预测值是指区域中的建筑物连同其占用土地在未来时间段内房产的市场价值。In this step, the resource data prediction model is a model that can determine the predicted value of the resource data corresponding to the area identifier according to the input reference value corresponding to the resource data prediction index. The predicted value of resource data corresponding to the area identifier refers to the market value of the real estate in the future time period of the buildings in the area and the land occupied by them.
服务器将获取的与各个资源数据预测指标对应的参考值输入预先训练的资源数据预 测模型中,通过资源数据预测模型对与各个资源数据预测指标对应的参考值进行计算分析,得到与各个资源数据预测指标对应的资源数据预测结果;综合与各个资源数据预测指标对应的资源数据预测结果,得到与区域标识对应的资源数据预测值,有利于对资源数据预测值进行全面跟踪评估,从而提高了得到的资源数据预测信息的准确性。The server inputs the obtained reference value corresponding to each resource data prediction index into the pre-trained resource data prediction model, and calculates and analyzes the reference value corresponding to each resource data prediction index through the resource data prediction model to obtain the prediction of each resource data The resource data prediction result corresponding to the index; the resource data prediction result corresponding to each resource data prediction index is integrated to obtain the resource data prediction value corresponding to the area identifier, which is conducive to the comprehensive tracking and evaluation of the resource data prediction value, thereby improving the obtained The accuracy of resource data prediction information.
步骤S206,根据与区域标识对应的资源数据预测值生成资源数据预测信息,将资源数据预测信息发送至终端进行显示。Step S206: Generate resource data prediction information according to the resource data prediction value corresponding to the area identifier, and send the resource data prediction information to the terminal for display.
在本步骤中,服务器获取预设信息模板,将与区域标识对应的资源数据预测值导入到预设信息模板中,生成对应的资源数据预测信息,并将生成的资源数据预测信息发送至对应的终端,通过终端的显示界面显示与区域标识对应的资源数据预测值,方便用户直观、全面地了解与区域标识对应的资源数据在未来一段时间内的预测值,有利于用户对与区域标识对应的资源数据预测值进行全面跟踪评估。In this step, the server obtains the preset information template, imports the resource data prediction value corresponding to the area identifier into the preset information template, generates corresponding resource data prediction information, and sends the generated resource data prediction information to the corresponding The terminal displays the predicted value of the resource data corresponding to the area identifier through the display interface of the terminal, which is convenient for users to intuitively and comprehensively understand the predicted value of the resource data corresponding to the area identifier in a period of time in the future. The predicted value of resource data is fully tracked and evaluated.
上述资源数据预测信息的生成方法中,通过预先训练的资源数据预测模型,对与待预测区域的资源数据预测值相关的资源数据预测指标对应的待预测数据进行评估分析,不再针对每一个区域的资源数据预测值,都仅仅根据人工收集的同种类型的特定数据,并结合单一的定性评估模型对资源数据进行预测,从而实现了对待预测区域的资源数据预测值的全面跟踪评估的目的,能够避免传统资源数据预测方法得到的资源数据预测信息容易出现偏差的缺陷,从而提高了得到的资源数据预测信息的准确性。同时,结合预先训练的资源数据预测模型对待预测数据进行分析,可以进一步提高得到的资源数据预测信息的准确性。In the above method for generating resource data prediction information, the pre-trained resource data prediction model is used to evaluate and analyze the to-be-predicted data corresponding to the resource data prediction index related to the predicted value of the resource data in the region to be predicted, no longer targeting each region The predicted value of resource data is only based on manually collected specific data of the same type, combined with a single qualitative evaluation model to predict resource data, thereby achieving the purpose of comprehensive tracking and evaluating the predicted value of resource data in the area to be predicted. It can avoid the defect that the resource data prediction information obtained by the traditional resource data prediction method is prone to deviation, thereby improving the accuracy of the obtained resource data prediction information. At the same time, combining the pre-trained resource data prediction model to analyze the data to be predicted can further improve the accuracy of the obtained resource data prediction information.
在其中一个实施例中,上述步骤S202,根据资源数据预测指标查询数据库,获取与资源数据预测指标对应的待预测数据,包括:从数据库中提取出已知资源数据预测指标;将资源数据预测指标与已知资源数据预测指标进行匹配;若资源数据预测指标与已知资源数据预测指标匹配,从数据库中获取与已知资源数据预测指标对应的待预测数据;将获取到的与已知资源数据预测指标对应的待预测数据,作为与资源数据预测指标对应的待预测数据。In one of the embodiments, the above step S202, querying the database according to the resource data prediction index, and obtaining the to-be-predicted data corresponding to the resource data prediction index includes: extracting the known resource data prediction index from the database; Match with the known resource data forecast index; if the resource data forecast index matches the known resource data forecast index, obtain the data to be predicted corresponding to the known resource data forecast index from the database; compare the acquired data with the known resource data The to-be-predicted data corresponding to the forecast index is used as the to-be-predicted data corresponding to the resource data forecast index.
例如,服务器分别计算资源数据预测指标与各个已知资源数据预测指标之间的匹配度,从数据库中将匹配度最大的已知资源数据预测指标对应的待预测数据,作为与该资源数据预测指标对应的待预测数据,从而得到与各个资源数据预测指标对应的待预测数据。通过本实施例,方便后续服务器根据与各个资源数据预测指标对应的待预测数据,确定与区域标识对应的资源数据预测值,实现了对区域标识的资源数据预测值的全面跟踪评估,从而提高了得到的资源数据预测信息的准确性。For example, the server separately calculates the matching degree between the resource data prediction index and each known resource data prediction index, and uses the data to be predicted corresponding to the known resource data prediction index with the largest matching degree as the resource data prediction index from the database. Corresponding to the data to be predicted, thereby obtaining the data to be predicted corresponding to each resource data prediction index. Through this embodiment, it is convenient for the subsequent server to determine the predicted value of the resource data corresponding to the area identifier according to the to-be-predicted data corresponding to each resource data prediction index, and realize the comprehensive tracking and evaluation of the predicted value of the resource data of the area identifier, thereby improving The obtained resource data predicts the accuracy of the information.
此外,为了避免多余信息干扰,可以通过服务器将得到的待预测数据转化成相应的数值。在其中一个实施例中,上述步骤S203,根据预设数据转化指令,将获取到的与资源数据预测指标对应的待预测数据进行转化,得到与资源数据预测指标对应的关联值,包括:提取预设数据转化指令中的数据转化规则;数据转化规则为数据与关联值之间的转化规则;根据数据转化规则,对获取到的与资源数据预测指标对应的待预测数据进行转化,得到与 资源数据预测指标对应的关联值。In addition, in order to avoid unnecessary information interference, the obtained data to be predicted can be converted into corresponding values through the server. In one of the embodiments, the above step S203, according to the preset data conversion instruction, transforms the acquired data to be predicted corresponding to the resource data predictive index to obtain the associated value corresponding to the resource data predictive index, including: extracting the predictive index Set the data conversion rule in the data conversion instruction; the data conversion rule is the conversion rule between the data and the associated value; according to the data conversion rule, the obtained data to be predicted corresponding to the resource data prediction index is converted to obtain the resource data The associated value corresponding to the predictor.
本实施例中,数据转化规则是指将与资源数据预测指标对应的待预测数据转化为相应的关联值的规则;不同资源数据预测指标,对应的数据转化规则不一样。In this embodiment, the data conversion rule refers to a rule that converts the to-be-predicted data corresponding to the resource data predictive index into corresponding associated values; different resource data predictive indices have different corresponding data conversion rules.
服务器获取数据转化规则的标识符,根据数据转化规则的标识符,从数据转化指令中提取出对应的数据转化规则;根据数据转化规则,对获取到的与资源数据预测指标对应的待预测数据进行转化,得到相应的待预测级别,并将得到的待预测级别识别为与资源数据预测指标对应的关联值。通过本实施例,方便后续服务器根据得到的关联值,对资源数据预测值进行预测,避免了多余数据干扰,从而提高了得到的资源数据预测信息的准确性。The server obtains the identifier of the data conversion rule, and extracts the corresponding data conversion rule from the data conversion instruction according to the identifier of the data conversion rule; according to the data conversion rule, executes the prediction on the obtained data to be predicted corresponding to the resource data prediction index. Through conversion, the corresponding level to be predicted is obtained, and the obtained level to be predicted is identified as the associated value corresponding to the resource data prediction index. Through this embodiment, it is convenient for the subsequent server to predict the predicted value of the resource data based on the obtained correlation value, avoid unnecessary data interference, and improve the accuracy of the obtained resource data prediction information.
针对数字型待预测数据,比如与上海人口增长指标对应的待预测数据,则可以将与资源数据预测指标对应的待预测数据中的数值,转化成相应的待预测级别,并将得到的待预测级别作为与资源数据预测指标对应的关联值;例如,将与上海人口增长指标对应的待预测数据中的人口增长数,转化成相应的人口增长级别,并将得到的人口增长级别作为与上海人口增长指标对应的关联值。针对理论型待评估数据,比如与广州商业银行买房贷款政策指标对应的待预测数据,则可以根据与资源数据预测指标对应的待预测数据对资源数据预测值上涨的影响程度,将待预测数据转化成相应的待预测级别,并将得到的待预测级别作为与资源数据预测指标对应的关联值;例如,根据广州商业银行买房贷款政策指标对应的待预测数据对资源数据预测值上涨的影响程度,将该待预测数据转化成相应的政策级别,并将得到的政策级别作为与广州商业银行买房贷款政策指标对应的关联值。For digital data to be predicted, such as the data to be predicted corresponding to the Shanghai population growth index, the value in the data to be predicted corresponding to the resource data forecast index can be converted into the corresponding level to be predicted, and the obtained to be predicted The level is used as the associated value corresponding to the resource data prediction index; for example, the population growth number in the to-be-predicted data corresponding to the Shanghai population growth index is converted into the corresponding population growth level, and the population growth level obtained is regarded as the population growth level of Shanghai The associated value corresponding to the growth indicator. For theoretical data to be evaluated, such as the data to be predicted corresponding to the Guangzhou Commercial Bank's housing loan policy indicators, the data to be predicted can be transformed according to the degree of influence of the data to be predicted corresponding to the resource data prediction index on the increase in the predicted value of resource data The corresponding level to be predicted is used as the associated value corresponding to the resource data prediction index; for example, according to the degree of influence of the to-be-predicted data corresponding to the Guangzhou Commercial Bank’s housing loan policy index on the increase in the predicted value of the resource data, Convert the data to be predicted into the corresponding policy level, and use the obtained policy level as the associated value corresponding to the Guangzhou Commercial Bank's housing loan policy indicators.
在其中一个实施例中,上述步骤S204,根据预设数值转化指令,对得到的与资源数据预测指标对应的关联值进行转化,得到与资源数据预测指标对应的参考值,包括:提取预设数值转化指令中的数值转化规则;数值转化规则为关联值与参考值之间的转化规则;根据数值转化规则,对得到的与资源数据预测指标对应的关联值进行转化,得到与资源数据预测指标对应的参考值。In one of the embodiments, the above step S204, according to the preset value conversion instruction, transforms the obtained associated value corresponding to the resource data predictive index to obtain the reference value corresponding to the resource data predictive index, including: extracting the preset value The numerical conversion rule in the conversion instruction; the numerical conversion rule is the conversion rule between the associated value and the reference value; according to the numerical conversion rule, the obtained associated value corresponding to the resource data predictive index is converted to obtain the corresponding resource data predictive index Reference value.
本实施例中,数值转化规则是指将与资源数据预测指标对应的关联值转化为相应的参考值的规则;不同资源数据预测指标,对应的数值转化规则不一样。In this embodiment, the numerical conversion rule refers to a rule that converts the associated value corresponding to the resource data prediction index into a corresponding reference value; different resource data prediction indexes have different corresponding numerical conversion rules.
具体实现中,服务器获取数值转化规则的标识符,根据数值转化规则的标识符,从数值转化指令中提取出对应的数值转化规则;根据数值转化规则,确定关联值与参考值的对应关系;根据关联值与参考值的对应关系,对得到的与资源数据预测指标对应的关联值进行转化,得到关联值对应的参考值,并将该参考值识别为与资源数据预测指标对应的参考值。通过本实施例,方便后续服务器根据得到的参考值,对资源数据预测值进行预测,避免了多余数据干扰,从而提高了得到的资源数据预测信息的准确性。进一步地,为了提高得到的资源数据预测信息的准确性,可以将与资源数据预测指标对应的参考值输入预先训练的资源数据预测模型,以得到与区域标识对应的资源数据预测值。In specific implementation, the server obtains the identifier of the value conversion rule, and extracts the corresponding value conversion rule from the value conversion instruction according to the identifier of the value conversion rule; determines the corresponding relationship between the associated value and the reference value according to the value conversion rule; Correspondence between the associated value and the reference value, transform the obtained associated value corresponding to the resource data predictive index to obtain the reference value corresponding to the associated value, and identify the reference value as the reference value corresponding to the resource data predictive index. Through this embodiment, it is convenient for the subsequent server to predict the predicted value of the resource data based on the obtained reference value, avoiding redundant data interference, thereby improving the accuracy of the obtained resource data prediction information. Further, in order to improve the accuracy of the obtained resource data prediction information, the reference value corresponding to the resource data prediction index may be input into a pre-trained resource data prediction model to obtain the resource data prediction value corresponding to the area identifier.
在其中一个实施例中,如图3所示,将与资源数据预测指标对应的参考值输入预先训练的资源数据预测模型,得到与区域标识对应的资源数据预测值的步骤具体包括:In one of the embodiments, as shown in FIG. 3, the step of inputting the reference value corresponding to the resource data prediction index into the pre-trained resource data prediction model to obtain the resource data prediction value corresponding to the region identifier specifically includes:
步骤S301,基于资源数据预测模型,获取与各个资源数据预测指标对应的信息匹配表;信息匹配表包括参考值与资源数据变化比例的对应关系。Step S301, based on the resource data prediction model, obtain an information matching table corresponding to each resource data prediction index; the information matching table includes the corresponding relationship between the reference value and the resource data change ratio.
步骤S302,分别根据与各个资源数据预测指标对应的信息匹配表,确定与各个参考值匹配的资源数据变化比例。Step S302: Determine the resource data change ratio that matches each reference value according to the information matching table corresponding to each resource data prediction index.
步骤S303,分别根据预设的与各个资源数据预测指标对应的权重因子,对对应的资源数据变化比例进行加权计算,得到资源数据变化总比例。Step S303: Perform a weighted calculation on the corresponding resource data change ratio according to preset weighting factors corresponding to each resource data prediction index to obtain the total resource data change ratio.
步骤S304,获取与区域标识对应的资源数据当前值,根据资源数据当前值以及资源数据变化总比例,生成与区域标识对应的资源数据预测值。Step S304: Obtain the current value of the resource data corresponding to the area identifier, and generate the predicted value of the resource data corresponding to the area identifier according to the current value of the resource data and the total proportion of resource data changes.
本实施例中,信息匹配表是指用于标识参考值与资源数据变化比例的对应关系的匹配表,是按照资源数据预测指标分类存储至预先建立的第一数据库中的;不同资源数据预测指标对应的信息匹配表不一样。资源数据变化比例和资源数据变化总比例均指资源数据在未来一段时间内的涨跌百分比,可以是正数、负数或者零。权重因子是指资源数据预测指标的参考值对资源数据预测值的影响程度;权重因子越大,对资源数据预测值的影响程度越大;不同区域标识中,各个资源数据预测指标对应的权重因子不一样。资源数据当前值是指区域中的建筑物连同其占用土地在当前时间段内房产的市场价值,是按照区域标识分类存储至预先建立的第二数据库中的。In this embodiment, the information matching table refers to the matching table used to identify the correspondence between the reference value and the resource data change ratio, and is classified and stored in the first pre-established database according to the resource data prediction index; different resource data prediction indexes The corresponding information matching table is different. Both the resource data change ratio and the total resource data change ratio refer to the percentage change of resource data in the future, which can be positive, negative, or zero. The weighting factor refers to the degree of influence of the reference value of the resource data predictive index on the predicted value of the resource data; the larger the weighting factor, the greater the degree of influence on the predicted value of the resource data; the weighting factor corresponding to each resource data predictive index in different area identifiers Different. The current value of resource data refers to the market value of the real estate in the current time period of the buildings in the area and the land occupied by them, and is classified and stored in the second pre-established database according to the area identification.
例如,服务器将与资源数据预测指标对应的参考值输入预先训练的资源数据预测模型;根据资源数据预测指标查询预先建立的第一数据库,获取与各个资源数据预测指标对应的信息匹配表;查询与各个资源数据预测指标对应的信息匹配表,确定与各个参考值匹配的资源数据变化比例;并将确定的与各个参考值匹配的资源数据变化比例,分别作为与各个资源数据预测指标对应的资源数据变化比例;结合预设的与各个资源数据预测指标对应的权重因子,对对应的资源数据变化比例进行加权计算,得到资源数据变化总比例;比如与区域标识对应的资源数据预测指标为a,b,c,d,与资源数据预测指标a,b,c,d对应的资源数据变化比例分别为y1,y2,y3,y4,与资源数据预测指标a,b,c,d对应的权重因子分别为m1,m2,m3,m4,则得到的资源数据变化总比例y=y1×m1+y2×m2+y3×m3+y4×m4。服务器根据区域标识查询预先建立的第二数据库,获取与区域标识对应的资源数据当前值;根据资源数据当前值以及资源数据变化总比例,计算得到与区域标识对应的资源数据预测值。For example, the server inputs the reference value corresponding to the resource data prediction index into the pre-trained resource data prediction model; queries the first database established in advance according to the resource data prediction index, and obtains the information matching table corresponding to each resource data prediction index; The information matching table corresponding to each resource data predictive index determines the resource data change ratio that matches each reference value; and the determined resource data change ratio that matches each reference value is used as the resource data corresponding to each resource data predictive index. Change ratio; combined with preset weighting factors corresponding to each resource data prediction index, weighted calculation is performed on the corresponding resource data change ratio to obtain the total resource data change ratio; for example, the resource data prediction index corresponding to the area identifier is a, b , C, d, the resource data change ratios corresponding to the resource data predictors a, b, c, d are y1, y2, y3, y4, and the weighting factors corresponding to the resource data predictors a, b, c, d, respectively If it is m1, m2, m3, m4, the obtained total resource data change ratio y=y1×m1+y2×m2+y3×m3+y4×m4. The server queries the pre-established second database according to the area identifier to obtain the current value of the resource data corresponding to the area identifier; and calculates the predicted value of the resource data corresponding to the area identifier according to the current value of the resource data and the total resource data change ratio.
在本实施例中,通过对与区域标识的资源数据预测值相关的多个资源数据预测指标对应的待预测数据进行分析,能够从多个角度对资源数据预测值进行分析评估,从而实现了对资源数据预测值进行全面跟踪评估的目的,避免出现偏差,从而提高了得到的资源数据预测信息的准确性。In this embodiment, by analyzing the to-be-predicted data corresponding to multiple resource data prediction indicators related to the resource data predicted value of the region identification, the resource data predicted value can be analyzed and evaluated from multiple angles, thereby realizing the The purpose of comprehensive tracking and evaluation of resource data prediction values is to avoid deviations, thereby improving the accuracy of the resource data prediction information obtained.
在其中一个实施例中,上述步骤S304,根据资源数据当前值以及资源数据变化总比例,生成与区域标识对应的资源数据预测值,包括:将资源数据当前值与资源数据变化总比例进行相乘,得到资源数据变化值;将资源数据当前值和资源数据变化值进行相加,得 到与区域标识对应的资源数据变化值。例如,资源数据当前值为A,资源数据变化总比例为y,则得到的资源数据变化值A1=A×y;将资源数据当前值A和资源数据变化值A1进行相加,得到的与区域标识对应的资源数据预测值为B=A+A1=A+A×y。方便用户直观、全面地了解与区域标识对应的资源数据在未来一段时间内的预测值,有利于用户对与区域标识对应的资源数据预测值进行全面跟踪评估。In one of the embodiments, the above step S304, based on the current value of the resource data and the total resource data change ratio, generating the resource data predicted value corresponding to the area identifier, includes: multiplying the current value of the resource data by the total resource data change ratio , To obtain the resource data change value; add the current value of the resource data and the resource data change value to obtain the resource data change value corresponding to the area identifier. For example, if the current value of resource data is A and the total ratio of resource data change is y, the obtained resource data change value A1=A×y; add the current value of resource data A and the resource data change value A1, and the result is The predicted value of the resource data corresponding to the identifier is B=A+A1=A+A×y. It is convenient for the user to intuitively and comprehensively understand the predicted value of the resource data corresponding to the area identifier in a period of time in the future, which is beneficial for the user to fully track and evaluate the predicted value of the resource data corresponding to the area identifier.
在其中一个实施例中,上述步骤S205,根据与区域标识对应的资源数据预测值生成资源数据预测信息,包括:确定各个资源数据预测指标在预设资源数据图谱模板中对应的导入位置;将与各个资源数据预测指标对应的待预测数据,导入到预设资源数据图谱模板中对应的导入位置,生成资源数据图谱;将资源数据图谱以及与区域标识对应的资源数据预测值,导入到预设信息模板中,生成对应的资源数据预测信息。In one of the embodiments, the above step S205, generating resource data prediction information according to the resource data prediction value corresponding to the area identifier, includes: determining the corresponding import position of each resource data prediction index in the preset resource data map template; The data to be predicted corresponding to each resource data prediction index is imported into the corresponding import position in the preset resource data map template to generate a resource data map; the resource data map and the predicted value of the resource data corresponding to the area identifier are imported into the preset information In the template, the corresponding resource data prediction information is generated.
本实施例中,服务器获取各个资源数据预测指标在资源数据图谱模板中的位置标识符,位置标识符用于标识资源数据预测指标在资源数据图谱模板中的导入位置;分别根据各个资源数据预测指标的位置标识符,确定各个资源数据预测指标在预设资源数据图谱模板中对应的导入位置;将与各个资源数据预测指标对应的待预测数据,分别导入到预设资源数据图谱模板中对应的导入位置,生成资源数据图谱;将资源数据图谱以及与区域标识对应的资源数据预测值,依次导入到预设信息模板中,生成对应的资源数据预测信息。方便后续通过服务器将生成的资源数据预测信息发送至终端,在终端的显示界面上显示资源数据图谱以及与区域标识对应的资源数据预测值,方便用户直观、全面地了解区域中的资源数据在未来一段时间内的预测值,有利于用户对与区域标识对应的资源数据预测值进行全面跟踪评估。In this embodiment, the server obtains the location identifier of each resource data predictive index in the resource data atlas template. The location identifier is used to identify the import position of the resource data predictive index in the resource data atlas template; the index is predicted based on each resource data. To determine the corresponding import position of each resource data prediction index in the preset resource data map template; import the to-be-predicted data corresponding to each resource data prediction index into the corresponding import in the preset resource data map template Position, generate a resource data map; import the resource data map and the predicted value of the resource data corresponding to the area identifier into the preset information template in turn to generate corresponding resource data prediction information. It is convenient to send the generated resource data prediction information to the terminal through the server, and display the resource data map and the resource data prediction value corresponding to the area identifier on the display interface of the terminal, so that users can intuitively and comprehensively understand the resource data in the area in the future The predicted value over a period of time is helpful for users to comprehensively track and evaluate the predicted value of resource data corresponding to the area identifier.
此外,为了进一步提高资源数据预测模型的资源数据预测准确率,可以对资源数据预测模型进行多次训练。在其中一个实施例中,资源数据预测模型通过下述方法得到:分别获取与各个资源数据预测指标对应的样本预测数据和权重因子;根据与各个资源数据预测指标对应的样本预测数据和权重因子对待训练的资源数据预测模型进行训练,得到训练后的资源数据预测模型;获取训练后的资源数据预测模型输出的资源数据预测值与对应的资源数据实际值之间的预测误差;当预测误差大于或等于预设阈值时,根据预测误差调整与各个资源数据预测指标对应的权重因子,并根据调整后的权重因子,对待训练的资源数据预测模型进行反复训练,直到根据训练后的资源数据预测模型得到的预测误差小于预设阈值。In addition, in order to further improve the resource data prediction accuracy of the resource data prediction model, the resource data prediction model can be trained multiple times. In one of the embodiments, the resource data prediction model is obtained by the following method: respectively obtaining sample prediction data and weighting factors corresponding to each resource data prediction index; treating according to the sample prediction data and weighting factors corresponding to each resource data prediction index The trained resource data prediction model is trained to obtain the trained resource data prediction model; the prediction error between the resource data prediction value output by the trained resource data prediction model and the corresponding resource data actual value is obtained; when the prediction error is greater than or When it is equal to the preset threshold, adjust the weighting factor corresponding to each resource data prediction index according to the prediction error, and according to the adjusted weighting factor, the resource data prediction model to be trained is repeatedly trained until the resource data prediction model is obtained according to the trained resource data The prediction error of is less than the preset threshold.
比如,当预测误差大于或等于预设阈值时,服务器根据预测误差调整与各个资源数据预测指标对应的权重因子,并根据调整后的权重因子,对待训练的资源数据预测模型进行再次训练;获取根据再次训练后的资源数据预测模型得到的资源数据预测值与对应的资源数据实际值之间的预测误差,根据预测误差对与各个资源数据预测指标对应的权重因子进行再次调整,以对待训练的资源数据预测模型进行再次训练,直到根据训练后的资源数据预测模型得到的资源数据预测值与对应的资源数据实际值之间的预测误差小于预设阈值; 当得到的预测误差小于预设阈值时,获取当前的资源数据预测模型,作为训练好的资源数据预测模型;并将当前的各个权重因子,分别作为预设的与各个资源数据预测指标对应的权重因子。For example, when the prediction error is greater than or equal to the preset threshold, the server adjusts the weighting factor corresponding to each resource data prediction index according to the prediction error, and retrains the resource data prediction model to be trained according to the adjusted weighting factor; The prediction error between the resource data prediction value obtained by the resource data prediction model after retraining and the corresponding actual value of the resource data, and the weighting factor corresponding to each resource data prediction index is adjusted again according to the prediction error to the resource to be trained The data prediction model is retrained until the prediction error between the resource data prediction value obtained according to the trained resource data prediction model and the corresponding resource data actual value is less than the preset threshold; when the obtained prediction error is less than the preset threshold, Obtain the current resource data prediction model and use it as the trained resource data prediction model; and use the current weight factors as preset weight factors corresponding to the resource data prediction indicators.
本实施例中,通过不断调整与各个资源数据预测指标对应的权重因子,以对资源数据预测模型进行多次训练,有利于通过资源数据预测模型输出更准确的资源数据预测值,从而提高了得到的资源数据预测信息的准确性。In this embodiment, by continuously adjusting the weighting factors corresponding to each resource data prediction index to train the resource data prediction model multiple times, it is beneficial to output more accurate resource data prediction values through the resource data prediction model, thereby improving the obtained The resource data predicts the accuracy of the information.
应该理解的是,虽然图2-3的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2-3中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。It should be understood that, although the various steps in the flowchart of FIGS. 2-3 are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless specifically stated in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least some of the steps in Figure 2-3 may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily executed at the same time, but can be executed at different times. These sub-steps or stages The execution order of is not necessarily performed sequentially, but may be performed alternately or alternately with at least a part of other steps or sub-steps or stages of other steps.
在其中一个实施例中,如图4所示,提供了一种资源数据的处理装置,包括:请求接收模块410、数据获取模块420、数据转化模块430、数值转化模块440、预测值获取模块450和信息生成模块460,其中:In one of the embodiments, as shown in FIG. 4, a device for processing resource data is provided, including: a request receiving module 410, a data obtaining module 420, a data conversion module 430, a numerical value conversion module 440, and a predicted value obtaining module 450 And information generating module 460, where:
请求接收模块410,用于接收终端发送的查询请求;查询请求用于获取待预测区域的资源数据预测信息,查询请求携带待预测区域的区域标识。The request receiving module 410 is configured to receive a query request sent by the terminal; the query request is used to obtain resource data prediction information of the area to be predicted, and the query request carries the area identifier of the area to be predicted.
数据获取模块420,用于获取与区域标识对应的资源数据预测指标,根据资源数据预测指标查询数据库,获取与资源数据预测指标对应的待预测数据。The data acquisition module 420 is configured to acquire the resource data prediction index corresponding to the area identifier, query the database according to the resource data prediction index, and obtain the data to be predicted corresponding to the resource data prediction index.
数据转化模块430,用于获取预设数据转化指令,根据预设数据转化指令,对获取到的与资源数据预测指标对应的待预测数据进行转化,得到与资源数据预测指标对应的关联值。The data conversion module 430 is configured to obtain a preset data conversion instruction, and according to the preset data conversion instruction, convert the acquired data to be predicted corresponding to the resource data prediction index to obtain an associated value corresponding to the resource data prediction index.
数值转化模块440,用于获取预设数值转化指令,根据预设数值转化指令,对得到的与资源数据预测指标对应的关联值进行转化,得到与资源数据预测指标对应的参考值。The value conversion module 440 is configured to obtain a preset value conversion instruction, and according to the preset value conversion instruction, convert the obtained associated value corresponding to the resource data prediction index to obtain a reference value corresponding to the resource data prediction index.
预测值获取模块450,用于将与资源数据预测指标对应的参考值输入预先训练的资源数据预测模型,得到与区域标识对应的资源数据预测值。The predicted value obtaining module 450 is configured to input the reference value corresponding to the resource data prediction index into the pre-trained resource data prediction model to obtain the predicted value of the resource data corresponding to the area identifier.
信息生成模块460,用于根据与区域标识对应的资源数据预测值生成资源数据预测信息,将资源数据预测信息发送至终端进行显示。The information generating module 460 is configured to generate resource data prediction information according to the resource data prediction value corresponding to the area identifier, and send the resource data prediction information to the terminal for display.
在其中一个实施例中,数据获取模块还用于从数据库中提取出已知资源数据预测指标;将资源数据预测指标与已知资源数据预测指标进行匹配;若资源数据预测指标与已知资源数据预测指标匹配,从数据库中获取与已知资源数据预测指标对应的待预测数据;将获取到的与已知资源数据预测指标对应的待预测数据,作为与资源数据预测指标对应的待预测数据。In one of the embodiments, the data acquisition module is also used to extract the known resource data prediction index from the database; match the resource data prediction index with the known resource data prediction index; if the resource data prediction index matches the known resource data For predictive index matching, the to-be-predicted data corresponding to the known resource data predictive index is obtained from the database; the acquired to-be-predicted data corresponding to the known resource data predictive index is used as the to-be-predicted data corresponding to the resource data predictive index.
在其中一个实施例中,数据转化模块还用于提取预设数据转化指令中的数据转化规则; 数据转化规则为数据与关联值之间的转化规则;根据数据转化规则,对获取到的与资源数据预测指标对应的待预测数据进行转化,得到与资源数据预测指标对应的关联值。In one of the embodiments, the data conversion module is also used to extract the data conversion rules in the preset data conversion instructions; the data conversion rules are the conversion rules between the data and the associated values; according to the data conversion rules, the obtained and resource The data to be predicted corresponding to the data prediction index is transformed to obtain the associated value corresponding to the resource data prediction index.
在其中一个实施例中,数值转化模块还用于提取预设数值转化指令中的数值转化规则;数值转化规则为关联值与参考值之间的转化规则;根据数值转化规则,对得到的与资源数据预测指标对应的关联值进行转化,得到与资源数据预测指标对应的参考值。In one of the embodiments, the value conversion module is also used to extract the value conversion rule in the preset value conversion instruction; the value conversion rule is the conversion rule between the associated value and the reference value; according to the value conversion rule, the obtained value and the resource The associated value corresponding to the data prediction index is transformed to obtain the reference value corresponding to the resource data prediction index.
在其中一个实施例中,预测值获取模块还用于基于资源数据预测模型,获取与各个资源数据预测指标对应的信息匹配表;信息匹配表包括参考值与资源数据变化比例的对应关系;分别根据与各个资源数据预测指标对应的信息匹配表,确定与各个参考值匹配的资源数据变化比例;分别根据预设的与各个资源数据预测指标对应的权重因子,对对应的资源数据变化比例进行加权计算,得到资源数据变化总比例;获取与区域标识对应的资源数据当前值,根据资源数据当前值以及资源数据变化总比例,生成与区域标识对应的资源数据预测值。In one of the embodiments, the predicted value obtaining module is also used to obtain the information matching table corresponding to each resource data prediction index based on the resource data prediction model; the information matching table includes the corresponding relationship between the reference value and the resource data change ratio; The information matching table corresponding to each resource data prediction index determines the resource data change ratio that matches each reference value; respectively, according to the preset weighting factors corresponding to each resource data prediction index, the corresponding resource data change ratio is weighted and calculated To obtain the total resource data change ratio; obtain the current value of the resource data corresponding to the area identifier, and generate the resource data predicted value corresponding to the area identifier according to the current value of the resource data and the total resource data change ratio.
在其中一个实施例中,预测值获取模块还用于将资源数据当前值与资源数据变化总比例进行相乘,得到资源数据变化值;将资源数据当前值和资源数据变化值进行相加,得到与区域标识对应的资源数据预测值。In one of the embodiments, the predictive value obtaining module is also used to multiply the current value of the resource data by the total resource data change ratio to obtain the resource data change value; add the current value of the resource data and the resource data change value to obtain The predicted value of the resource data corresponding to the area identifier.
在其中一个实施例中,信息生成模块还用于确定各个资源数据预测指标在预设资源数据图谱模板中对应的导入位置;将与各个资源数据预测指标对应的待预测数据,导入到预设资源数据图谱模板中对应的导入位置,生成资源数据图谱;将资源数据图谱以及与区域标识对应的资源数据预测值,导入到预设信息模板中,生成对应的资源数据预测信息。In one of the embodiments, the information generation module is also used to determine the corresponding import position of each resource data predictive index in the preset resource data map template; import the to-be-predicted data corresponding to each resource data predictive index into the preset resource The corresponding import location in the data map template generates a resource data map; the resource data map and the predicted value of the resource data corresponding to the region identifier are imported into the preset information template to generate corresponding resource data prediction information.
在其中一个实施例中,资源数据预测信息的生成装置还包括模型训练模块,用于分别获取与各个资源数据预测指标对应的样本预测数据和权重因子;根据与各个资源数据预测指标对应的样本预测数据和权重因子对待训练的资源数据预测模型进行训练,得到训练后的资源数据预测模型;获取训练后的资源数据预测模型输出的资源数据预测值与对应的资源数据实际值之间的预测误差;当预测误差大于或等于预设阈值时,根据预测误差调整与各个资源数据预测指标对应的权重因子,并根据调整后的权重因子,对待训练的资源数据预测模型进行反复训练,直到根据训练后的资源数据预测模型得到的预测误差小于预设阈值。In one of the embodiments, the device for generating resource data prediction information further includes a model training module, which is used to obtain sample prediction data and weighting factors corresponding to each resource data prediction index; predict according to the sample corresponding to each resource data prediction index Data and weighting factors train the resource data prediction model to be trained to obtain the trained resource data prediction model; obtain the prediction error between the resource data predicted value output by the trained resource data prediction model and the corresponding actual value of the resource data; When the prediction error is greater than or equal to the preset threshold, the weighting factor corresponding to each resource data prediction index is adjusted according to the prediction error, and the resource data prediction model to be trained is repeatedly trained according to the adjusted weighting factor, until it is trained according to the trained The prediction error obtained by the resource data prediction model is less than the preset threshold.
上述各个实施例,通过资源数据的处理装置,实现了对待预测区域的资源数据预测值的全面跟踪评估的目的,能够避免传统资源数据预测方法得到的资源数据预测信息容易出现偏差的缺陷,从而提高了得到的资源数据预测信息的准确性。In each of the foregoing embodiments, the resource data processing device achieves the purpose of comprehensive tracking and evaluation of the resource data prediction value of the area to be predicted, which can avoid the defect that the resource data prediction information obtained by the traditional resource data prediction method is prone to deviation, thereby improving The accuracy of the obtained resource data prediction information.
关于资源数据的处理装置的具体限定可以参见上文中对于资源数据的处理方法的限定,在此不再赘述。上述资源数据的处理装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For the specific definition of the resource data processing device, please refer to the above definition of the resource data processing method, which will not be repeated here. Each module in the above-mentioned resource data processing device can be implemented in whole or in part by software, hardware, and a combination thereof. The foregoing modules may be embedded in the form of hardware or independent of the processor in the computer device, or may be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the foregoing modules.
在其中一个实施例中,提供了一种计算机设备,该计算机设备可以是服务器,其内部结构图可以如图5所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口和数据库。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性或易失性存储介质、内存储器。该非易失性或易失性存储介质存储有操作系统、计算机可读指令和数据库。该内存储器为非易失性或易失性存储介质中的操作系统和计算机可读指令的运行提供环境。该计算机设备的数据库用于存储与资源数据预测指标对应的待预测数据。该计算机设备的网络接口用于与外部的终端通过网络连接通信。该计算机可读指令被处理器执行时以实现一种资源数据的处理方法。In one of the embodiments, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. 5. The computer equipment includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile or volatile storage medium and internal memory. The non-volatile or volatile storage medium stores an operating system, computer readable instructions, and a database. The internal memory provides an environment for the operation of the operating system and computer-readable instructions in the non-volatile or volatile storage medium. The database of the computer equipment is used to store the data to be predicted corresponding to the resource data prediction index. The network interface of the computer device is used to communicate with an external terminal through a network connection. The computer-readable instructions are executed by the processor to implement a method for processing resource data.
本领域技术人员可以理解,图5中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。Those skilled in the art can understand that the structure shown in FIG. 5 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may Including more or fewer parts than shown in the figure, or combining some parts, or having a different arrangement of parts.
一种计算机设备,包括存储器和一个或多个处理器,存储器中储存有计算机可读指令,计算机可读指令被处理器执行时实现本申请任意一个实施例中提供的资源数据的处理方法的步骤。A computer device, including a memory and one or more processors, in which computer readable instructions are stored, and when the computer readable instructions are executed by the processor, the steps of the resource data processing method provided in any one of the embodiments of the present application are implemented .
一个或多个存储有计算机可读指令的计算机可读存储介质,所述计算机可读存储介质可以是非易失性,也可以是易失性,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器实现本申请任意一个实施例中提供的资源数据的处理方法的步骤。One or more computer-readable storage media storing computer-readable instructions. The computer-readable storage media may be nonvolatile or volatile. When the computer-readable instructions are executed by one or more processors , Enabling one or more processors to implement the steps of the resource data processing method provided in any embodiment of the present application.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于一计算机可读取存储介质中,该计算机可读指令在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Persons of ordinary skill in the art can understand that all or part of the processes in the methods of the foregoing embodiments can be implemented by instructing relevant hardware through computer-readable instructions. The computer-readable instructions can be stored in a computer-readable storage. In the medium, when the computer-readable instructions are executed, they may include the processes of the foregoing method embodiments. Wherein, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and/or volatile memory. Non-volatile memory may include read only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. As an illustration and not a limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous chain Channel (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。The technical features of the above embodiments can be combined arbitrarily. In order to make the description concise, all possible combinations of the technical features in the above embodiments are not described. However, as long as there is no contradiction between the combinations of these technical features, they should It is considered as the range described in this specification.
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-mentioned embodiments only express several implementation manners of the present application, and the description is relatively specific and detailed, but it should not be understood as a limitation on the scope of the invention patent. It should be pointed out that for those of ordinary skill in the art, without departing from the concept of this application, several modifications and improvements can be made, and these all fall within the protection scope of this application. Therefore, the scope of protection of the patent of this application shall be subject to the appended claims.

Claims (20)

  1. 一种资源数据的处理方法,包括:A method for processing resource data, including:
    接收终端发送的查询请求;所述查询请求用于获取待预测区域的资源数据预测信息;所述查询请求携带所述待预测区域的区域标识;Receiving a query request sent by a terminal; the query request is used to obtain resource data prediction information of the area to be predicted; the query request carries the area identifier of the area to be predicted;
    获取与所述区域标识对应的资源数据预测指标,根据所述资源数据预测指标查询数据库,获取与所述资源数据预测指标对应的待预测数据;Obtaining a resource data prediction index corresponding to the area identifier, querying a database according to the resource data prediction index, and obtaining data to be predicted corresponding to the resource data prediction index;
    获取预设数据转化指令,根据所述预设数据转化指令,对获取到的与所述资源数据预测指标对应的待预测数据进行转化,得到与所述资源数据预测指标对应的关联值;Acquiring a preset data conversion instruction, and converting the acquired data to be predicted corresponding to the resource data prediction index according to the preset data conversion instruction to obtain an associated value corresponding to the resource data prediction index;
    获取预设数值转化指令,根据所述预设数值转化指令,对得到的与所述资源数据预测指标对应的关联值进行转化,得到与所述资源数据预测指标对应的参考值;Obtaining a preset value conversion instruction, and according to the preset value conversion instruction, convert the obtained associated value corresponding to the resource data prediction index to obtain a reference value corresponding to the resource data prediction index;
    将与所述资源数据预测指标对应的参考值输入预先训练的资源数据预测模型,得到与所述区域标识对应的资源数据预测值;及Input the reference value corresponding to the resource data prediction index into a pre-trained resource data prediction model to obtain the resource data prediction value corresponding to the area identifier; and
    根据与所述区域标识对应的资源数据预测值生成资源数据预测信息,将所述资源数据预测信息发送至所述终端进行显示。Generate resource data prediction information according to the resource data prediction value corresponding to the area identifier, and send the resource data prediction information to the terminal for display.
  2. 根据权利要求1所述的方法,其中,所述根据所述资源数据预测指标查询数据库,获取与所述资源数据预测指标对应的待预测数据,包括:The method according to claim 1, wherein the querying a database according to the resource data prediction index to obtain the data to be predicted corresponding to the resource data prediction index comprises:
    从数据库中提取出已知资源数据预测指标;Extract the known resource data prediction index from the database;
    将所述资源数据预测指标与所述已知资源数据预测指标进行匹配;Matching the resource data prediction index with the known resource data prediction index;
    若所述资源数据预测指标与所述已知资源数据预测指标匹配,从所述数据库中获取与所述已知资源数据预测指标对应的待预测数据;及If the resource data prediction index matches the known resource data prediction index, obtain the data to be predicted corresponding to the known resource data prediction index from the database; and
    将获取到的与所述已知资源数据预测指标对应的待预测数据,作为与所述资源数据预测指标对应的待预测数据。The acquired data to be predicted corresponding to the known resource data prediction index is used as the data to be predicted corresponding to the resource data prediction index.
  3. 根据权利要求1所述的方法,其中,所述根据所述预设数据转化指令,将获取到的与所述资源数据预测指标对应的待预测数据进行转化,得到与所述资源数据预测指标对应的关联值,包括:The method according to claim 1, wherein, according to the preset data conversion instruction, the acquired data to be predicted corresponding to the resource data predictive index is converted to obtain the corresponding resource data predictive index The associated value of includes:
    提取所述预设数据转化指令中的数据转化规则;所述数据转化规则为数据与关联值之间的转化规则;及Extracting the data conversion rule in the preset data conversion instruction; the data conversion rule is a conversion rule between data and associated values; and
    根据所述数据转化规则,对获取到的与所述资源数据预测指标对应的待预测数据进行转化,得到与所述资源数据预测指标对应的关联值;According to the data conversion rule, the acquired data to be predicted corresponding to the resource data prediction index is converted to obtain the associated value corresponding to the resource data prediction index;
    所述根据所述预设数值转化指令,对得到的与所述资源数据预测指标对应的关联值进行转化,得到与所述资源数据预测指标对应的参考值,包括:The converting the obtained associated value corresponding to the resource data prediction index according to the preset value conversion instruction to obtain the reference value corresponding to the resource data prediction index includes:
    提取所述预设数值转化指令中的数值转化规则;所述数值转化规则为关联值与参考值之间的转化规则;及Extracting the numerical value conversion rule in the preset numerical value conversion instruction; the numerical value conversion rule is a conversion rule between an associated value and a reference value; and
    根据所述数值转化规则,对得到的与所述资源数据预测指标对应的关联值进行转化,得到与所述资源数据预测指标对应的参考值。According to the numerical conversion rule, the obtained associated value corresponding to the resource data prediction index is converted to obtain the reference value corresponding to the resource data prediction index.
  4. 根据权利要求1所述的方法,其中,所述将与所述资源数据预测指标对应的参考值输入预先训练的资源数据预测模型,得到与所述区域标识对应的资源数据预测值,包括:The method according to claim 1, wherein the inputting the reference value corresponding to the resource data prediction index into a pre-trained resource data prediction model to obtain the resource data prediction value corresponding to the area identifier comprises:
    基于所述资源数据预测模型,获取与各个所述资源数据预测指标对应的信息匹配表;所述信息匹配表包括参考值与资源数据变化比例的对应关系;Obtaining an information matching table corresponding to each of the resource data prediction indicators based on the resource data prediction model; the information matching table includes a correspondence relationship between a reference value and a resource data change ratio;
    分别根据与各个所述资源数据预测指标对应的信息匹配表,确定与各个所述参考值匹配的资源数据变化比例;Respectively, according to the information matching table corresponding to each of the resource data prediction indicators, determine the resource data change ratio that matches each of the reference values;
    分别根据预设的与各个所述资源数据预测指标对应的权重因子,对对应的资源数据变化比例进行加权计算,得到资源数据变化总比例;及Weighting the corresponding resource data change ratios according to preset weighting factors corresponding to each of the resource data prediction indicators to obtain the total resource data change ratio; and
    获取与所述区域标识对应的资源数据当前值,根据所述资源数据当前值以及所述资源数据变化总比例,生成与所述区域标识对应的资源数据预测值。Obtain the current value of the resource data corresponding to the region identifier, and generate the predicted value of the resource data corresponding to the region identifier according to the current value of the resource data and the total proportion of changes in the resource data.
  5. 根据权利要求4所述的方法,其中,所述根据所述资源数据前值以及所述资源数据变化总比例,生成与所述区域标识对应的资源数据预测值,包括:The method according to claim 4, wherein the generating the predicted value of the resource data corresponding to the area identifier according to the previous value of the resource data and the total change ratio of the resource data comprises:
    将所述资源数据当前值与所述资源数据变化总比例进行相乘,得到资源数据变化值;及Multiplying the current value of the resource data by the total resource data change ratio to obtain the resource data change value; and
    将所述资源数据当前值和所述资源数据变化值进行相加,得到与所述区域标识对应的资源数据预测值。The current value of the resource data and the change value of the resource data are added to obtain the predicted value of the resource data corresponding to the area identifier.
  6. 根据权利要求1至5任意一项所述的方法,其中,所述根据与所述区域标识对应的资源数据预测值生成资源数据预测信息,包括:The method according to any one of claims 1 to 5, wherein the generating resource data prediction information according to the resource data prediction value corresponding to the area identifier comprises:
    确定各个所述资源数据预测指标在预设资源数据图谱模板中对应的导入位置;Determine the corresponding import position of each resource data prediction index in the preset resource data map template;
    将与各个所述资源数据预测指标对应的待预测数据,导入到所述预设资源数据图谱模板中对应的导入位置,生成资源数据图谱;及Import the to-be-predicted data corresponding to each of the resource data prediction indicators into the corresponding import position in the preset resource data map template to generate a resource data map; and
    将所述资源数据图谱以及与所述区域标识对应的资源数据预测值,导入到预设信息模板中,生成对应的资源数据预测信息。Import the resource data map and the resource data predicted value corresponding to the area identifier into a preset information template to generate corresponding resource data predicted information.
  7. 根据权利要求6所述的方法,其中,所述资源数据预测模型通过下述方法得到:The method according to claim 6, wherein the resource data prediction model is obtained by the following method:
    分别获取与各个所述资源数据预测指标对应的样本预测数据和权重因子;Obtaining sample prediction data and weighting factors corresponding to each of the resource data prediction indicators;
    根据与各个所述资源数据预测指标对应的样本预测数据和权重因子对待训练的资源数据预测模型进行训练,得到训练后的资源数据预测模型;Training the resource data prediction model to be trained according to the sample prediction data and weighting factors corresponding to each of the resource data prediction indicators to obtain a trained resource data prediction model;
    获取所述训练后的资源数据预测模型输出的资源数据预测值与对应的资源数据实际值之间的预测误差;及Obtaining the prediction error between the predicted value of the resource data output by the resource data prediction model after the training and the actual value of the corresponding resource data; and
    当所述预测误差大于或等于预设阈值时,根据所述预测误差调整与各个所述资源数据预测指标对应的权重因子,并根据调整后的权重因子,对所述待训练的资源数据预测模型进行反复训练,直到根据训练后的资源数据预测模型得到的预测误差小于所述预设阈值。When the prediction error is greater than or equal to a preset threshold, the weighting factor corresponding to each resource data prediction index is adjusted according to the prediction error, and the resource data prediction model to be trained is performed according to the adjusted weighting factor Repeated training is performed until the prediction error obtained from the trained resource data prediction model is less than the preset threshold.
  8. 一种资源数据的处理装置,包括:A device for processing resource data includes:
    请求接收模块,用于接收终端发送的查询请求;所述查询请求用于获取待预测区域的资源数据预测信息;所述查询请求携带所述待预测区域的区域标识;The request receiving module is configured to receive a query request sent by the terminal; the query request is used to obtain resource data prediction information of the area to be predicted; the query request carries the area identifier of the area to be predicted;
    数据获取模块,用于获取与所述区域标识对应的资源数据预测指标,根据所述资源数据预测指标查询数据库,获取与所述资源数据预测指标对应的待预测数据;A data acquisition module, configured to acquire a resource data prediction index corresponding to the region identifier, query a database according to the resource data prediction index, and obtain data to be predicted corresponding to the resource data prediction index;
    数据转化模块,用于获取预设数据转化指令,根据所述预设数据转化指令,对获取到的与所述资源数据预测指标对应的待预测数据进行转化,得到与所述资源数据预测指标对应的关联值;The data conversion module is configured to obtain a preset data conversion instruction, and according to the preset data conversion instruction, convert the obtained data to be predicted corresponding to the resource data predictive index to obtain the corresponding resource data predictive index The associated value;
    数值转化模块,用于获取预设数值转化指令,根据所述预设数值转化指令,对得到的与所述资源数据预测指标对应的关联值进行转化,得到与所述资源数据预测指标对应的参考值;The numerical value conversion module is configured to obtain a preset value conversion instruction, and according to the preset value conversion instruction, convert the obtained associated value corresponding to the resource data prediction index to obtain a reference corresponding to the resource data prediction index value;
    预测值获取模块,用于将与所述资源数据预测指标对应的参考值输入预先训练的资源数据预测模型,得到与所述区域标识对应的资源数据预测值;及A prediction value acquisition module, configured to input the reference value corresponding to the resource data prediction index into a pre-trained resource data prediction model to obtain the resource data prediction value corresponding to the area identifier; and
    信息生成模块,用于根据与所述区域标识对应的资源数据预测值生成资源数据预测信息,将所述资源数据预测信息发送至所述终端进行显示。The information generating module is configured to generate resource data prediction information according to the resource data prediction value corresponding to the area identifier, and send the resource data prediction information to the terminal for display.
  9. 一种计算机设备,包括存储器及一个或多个处理器,所述存储器中储存有计算机可读指令,所述计算机可读指令被所述一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:A computer device includes a memory and one or more processors. The memory stores computer-readable instructions. When the computer-readable instructions are executed by the one or more processors, the one or more Each processor performs the following steps:
    接收终端发送的查询请求;所述查询请求用于获取待预测区域的资源数据预测信息;所述查询请求携带所述待预测区域的区域标识;Receiving a query request sent by a terminal; the query request is used to obtain resource data prediction information of the area to be predicted; the query request carries the area identifier of the area to be predicted;
    获取与所述区域标识对应的资源数据预测指标,根据所述资源数据预测指标查询数据库,获取与所述资源数据预测指标对应的待预测数据;Obtaining a resource data prediction index corresponding to the area identifier, querying a database according to the resource data prediction index, and obtaining data to be predicted corresponding to the resource data prediction index;
    获取预设数据转化指令,根据所述预设数据转化指令,对获取到的与所述资源数据预测指标对应的待预测数据进行转化,得到与所述资源数据预测指标对应的关联值;Acquiring a preset data conversion instruction, and converting the acquired data to be predicted corresponding to the resource data prediction index according to the preset data conversion instruction to obtain an associated value corresponding to the resource data prediction index;
    获取预设数值转化指令,根据所述预设数值转化指令,对得到的与所述资源数据预测指标对应的关联值进行转化,得到与所述资源数据预测指标对应的参考值;Obtaining a preset value conversion instruction, and according to the preset value conversion instruction, convert the obtained associated value corresponding to the resource data prediction index to obtain a reference value corresponding to the resource data prediction index;
    将与所述资源数据预测指标对应的参考值输入预先训练的资源数据预测模型,得到与所述区域标识对应的资源数据预测值;及Input the reference value corresponding to the resource data prediction index into a pre-trained resource data prediction model to obtain the resource data prediction value corresponding to the area identifier; and
    根据与所述区域标识对应的资源数据预测值生成资源数据预测信息,将所述资源数据预测信息发送至所述终端进行显示。Generate resource data prediction information according to the resource data prediction value corresponding to the area identifier, and send the resource data prediction information to the terminal for display.
  10. 根据权利要求9所述的计算机设备,其中,所述处理器执行所述计算机可读指令时还执行以下步骤:The computer device according to claim 9, wherein the processor further executes the following steps when executing the computer readable instruction:
    从数据库中提取出已知资源数据预测指标;Extract the known resource data prediction index from the database;
    将所述资源数据预测指标与所述已知资源数据预测指标进行匹配;Matching the resource data prediction index with the known resource data prediction index;
    若所述资源数据预测指标与所述已知资源数据预测指标匹配,从所述数据库中获取与所述已知资源数据预测指标对应的待预测数据;及If the resource data prediction index matches the known resource data prediction index, obtain the data to be predicted corresponding to the known resource data prediction index from the database; and
    将获取到的与所述已知资源数据预测指标对应的待预测数据,作为与所述资源数据预测指标对应的待预测数据。The acquired data to be predicted corresponding to the known resource data prediction index is used as the data to be predicted corresponding to the resource data prediction index.
  11. 根据权利要求9所述的计算机设备,其中,所述处理器执行所述计算机可读指令时还执行以下步骤:The computer device according to claim 9, wherein the processor further executes the following steps when executing the computer readable instruction:
    提取所述预设数据转化指令中的数据转化规则;所述数据转化规则为数据与关联值之间的转化规则;Extracting the data conversion rule in the preset data conversion instruction; the data conversion rule is a conversion rule between data and associated values;
    根据所述数据转化规则,对获取到的与所述资源数据预测指标对应的待预测数据进行转化,得到与所述资源数据预测指标对应的关联值;According to the data conversion rule, the acquired data to be predicted corresponding to the resource data prediction index is converted to obtain the associated value corresponding to the resource data prediction index;
    提取所述预设数值转化指令中的数值转化规则;所述数值转化规则为关联值与参考值之间的转化规则;及Extracting the numerical value conversion rule in the preset numerical value conversion instruction; the numerical value conversion rule is a conversion rule between an associated value and a reference value; and
    根据所述数值转化规则,对得到的与所述资源数据预测指标对应的关联值进行转化,得到与所述资源数据预测指标对应的参考值。According to the numerical conversion rule, the obtained associated value corresponding to the resource data prediction index is converted to obtain the reference value corresponding to the resource data prediction index.
  12. 根据权利要求9所述的计算机设备,其中,所述处理器执行所述计算机可读指令时还执行以下步骤:The computer device according to claim 9, wherein the processor further executes the following steps when executing the computer readable instruction:
    基于所述资源数据预测模型,获取与各个所述资源数据预测指标对应的信息匹配表;所述信息匹配表包括参考值与资源数据变化比例的对应关系;Obtaining an information matching table corresponding to each of the resource data prediction indicators based on the resource data prediction model; the information matching table includes a correspondence relationship between a reference value and a resource data change ratio;
    分别根据与各个所述资源数据预测指标对应的信息匹配表,确定与各个所述参考值匹配的资源数据变化比例;Respectively, according to the information matching table corresponding to each of the resource data prediction indicators, determine the resource data change ratio that matches each of the reference values;
    分别根据预设的与各个所述资源数据预测指标对应的权重因子,对对应的资源数据变化比例进行加权计算,得到资源数据变化总比例;及Weighting the corresponding resource data change ratios according to preset weighting factors corresponding to each of the resource data prediction indicators to obtain the total resource data change ratio; and
    获取与所述区域标识对应的资源数据当前值,根据所述资源数据当前值以及所述资源数据变化总比例,生成与所述区域标识对应的资源数据预测值。Obtain the current value of the resource data corresponding to the region identifier, and generate the predicted value of the resource data corresponding to the region identifier according to the current value of the resource data and the total proportion of changes in the resource data.
  13. 根据权利要求9至12任一项所述的计算机设备,其中,所述处理器执行所述计算机可读指令时还执行以下步骤:The computer device according to any one of claims 9 to 12, wherein the processor further executes the following steps when executing the computer readable instruction:
    确定各个所述资源数据预测指标在预设资源数据图谱模板中对应的导入位置;Determine the corresponding import position of each resource data prediction index in the preset resource data map template;
    将与各个所述资源数据预测指标对应的待预测数据,导入到所述预设资源数据图谱模板中对应的导入位置,生成资源数据图谱;及Import the to-be-predicted data corresponding to each of the resource data prediction indicators into the corresponding import position in the preset resource data map template to generate a resource data map; and
    将所述资源数据图谱以及与所述区域标识对应的资源数据预测值,导入到预设信息模板中,生成对应的资源数据预测信息。Import the resource data map and the resource data predicted value corresponding to the area identifier into a preset information template to generate corresponding resource data predicted information.
  14. 根据权利要求13所述的计算机设备,其中,所述处理器执行所述计算机可读指令时还执行以下步骤:The computer device according to claim 13, wherein the processor further executes the following steps when executing the computer readable instruction:
    分别获取与各个所述资源数据预测指标对应的样本预测数据和权重因子;Obtaining sample prediction data and weighting factors corresponding to each of the resource data prediction indicators;
    根据与各个所述资源数据预测指标对应的样本预测数据和权重因子对待训练的资源数据预测模型进行训练,得到训练后的资源数据预测模型;Training the resource data prediction model to be trained according to the sample prediction data and weighting factors corresponding to each of the resource data prediction indicators to obtain a trained resource data prediction model;
    获取所述训练后的资源数据预测模型输出的资源数据预测值与对应的资源数据实际值之间的预测误差;及Obtaining the prediction error between the predicted value of the resource data output by the resource data prediction model after the training and the actual value of the corresponding resource data; and
    当所述预测误差大于或等于预设阈值时,根据所述预测误差调整与各个所述资源数据 预测指标对应的权重因子,并根据调整后的权重因子,对所述待训练的资源数据预测模型进行反复训练,直到根据训练后的资源数据预测模型得到的预测误差小于所述预设阈值。When the prediction error is greater than or equal to a preset threshold, the weighting factor corresponding to each resource data prediction index is adjusted according to the prediction error, and the resource data prediction model to be trained is performed according to the adjusted weighting factor Repeated training is performed until the prediction error obtained from the trained resource data prediction model is less than the preset threshold.
  15. 一个或多个存储有计算机可读指令的计算机可读存储介质,所述计算机可读指令被一个或多个处理器执行时,使得所述一个或多个处理器执行以下步骤:One or more computer-readable storage media storing computer-readable instructions, which when executed by one or more processors, cause the one or more processors to perform the following steps:
    接收终端发送的查询请求;所述查询请求用于获取待预测区域的资源数据预测信息;所述查询请求携带所述待预测区域的区域标识;Receiving a query request sent by a terminal; the query request is used to obtain resource data prediction information of the area to be predicted; the query request carries the area identifier of the area to be predicted;
    获取与所述区域标识对应的资源数据预测指标,根据所述资源数据预测指标查询数据库,获取与所述资源数据预测指标对应的待预测数据;Obtaining a resource data prediction index corresponding to the area identifier, querying a database according to the resource data prediction index, and obtaining data to be predicted corresponding to the resource data prediction index;
    获取预设数据转化指令,根据所述预设数据转化指令,对获取到的与所述资源数据预测指标对应的待预测数据进行转化,得到与所述资源数据预测指标对应的关联值;Acquiring a preset data conversion instruction, and converting the acquired data to be predicted corresponding to the resource data prediction index according to the preset data conversion instruction to obtain an associated value corresponding to the resource data prediction index;
    获取预设数值转化指令,根据所述预设数值转化指令,对得到的与所述资源数据预测指标对应的关联值进行转化,得到与所述资源数据预测指标对应的参考值;Obtaining a preset value conversion instruction, and according to the preset value conversion instruction, convert the obtained associated value corresponding to the resource data prediction index to obtain a reference value corresponding to the resource data prediction index;
    将与所述资源数据预测指标对应的参考值输入预先训练的资源数据预测模型,得到与所述区域标识对应的资源数据预测值;及Input the reference value corresponding to the resource data prediction index into a pre-trained resource data prediction model to obtain the resource data prediction value corresponding to the area identifier; and
    根据与所述区域标识对应的资源数据预测值生成资源数据预测信息,将所述资源数据预测信息发送至所述终端进行显示。Generate resource data prediction information according to the resource data prediction value corresponding to the area identifier, and send the resource data prediction information to the terminal for display.
  16. 根据权利要求15所述的存储介质,其中,所述计算机可读指令被所述处理器执行时还执行以下步骤:The storage medium according to claim 15, wherein the following steps are further performed when the computer-readable instructions are executed by the processor:
    从数据库中提取出已知资源数据预测指标;Extract the known resource data prediction index from the database;
    将所述资源数据预测指标与所述已知资源数据预测指标进行匹配;Matching the resource data prediction index with the known resource data prediction index;
    若所述资源数据预测指标与所述已知资源数据预测指标匹配,从所述数据库中获取与所述已知资源数据预测指标对应的待预测数据;及If the resource data prediction index matches the known resource data prediction index, obtain the data to be predicted corresponding to the known resource data prediction index from the database; and
    将获取到的与所述已知资源数据预测指标对应的待预测数据,作为与所述资源数据预测指标对应的待预测数据。The acquired data to be predicted corresponding to the known resource data prediction index is used as the data to be predicted corresponding to the resource data prediction index.
  17. 根据权利要求15所述的存储介质,其中,所述计算机可读指令被所述处理器执行时还执行以下步骤:The storage medium according to claim 15, wherein the following steps are further performed when the computer-readable instructions are executed by the processor:
    提取所述预设数据转化指令中的数据转化规则;所述数据转化规则为数据与关联值之间的转化规则;Extracting the data conversion rule in the preset data conversion instruction; the data conversion rule is a conversion rule between data and associated values;
    根据所述数据转化规则,对获取到的与所述资源数据预测指标对应的待预测数据进行转化,得到与所述资源数据预测指标对应的关联值;According to the data conversion rule, the acquired data to be predicted corresponding to the resource data prediction index is converted to obtain the associated value corresponding to the resource data prediction index;
    提取所述预设数值转化指令中的数值转化规则;所述数值转化规则为关联值与参考值之间的转化规则;及Extracting the numerical value conversion rule in the preset numerical value conversion instruction; the numerical value conversion rule is a conversion rule between an associated value and a reference value; and
    根据所述数值转化规则,对得到的与所述资源数据预测指标对应的关联值进行转化,得到与所述资源数据预测指标对应的参考值。According to the numerical conversion rule, the obtained associated value corresponding to the resource data prediction index is converted to obtain the reference value corresponding to the resource data prediction index.
  18. 根据权利要求15所述的存储介质,其中,所述计算机可读指令被所述处理器执 行时还执行以下步骤:The storage medium according to claim 15, wherein the following steps are further performed when the computer-readable instructions are executed by the processor:
    基于所述资源数据预测模型,获取与各个所述资源数据预测指标对应的信息匹配表;所述信息匹配表包括参考值与资源数据变化比例的对应关系;Obtaining an information matching table corresponding to each of the resource data prediction indicators based on the resource data prediction model; the information matching table includes a correspondence relationship between a reference value and a resource data change ratio;
    分别根据与各个所述资源数据预测指标对应的信息匹配表,确定与各个所述参考值匹配的资源数据变化比例;Respectively, according to the information matching table corresponding to each of the resource data prediction indicators, determine the resource data change ratio that matches each of the reference values;
    分别根据预设的与各个所述资源数据预测指标对应的权重因子,对对应的资源数据变化比例进行加权计算,得到资源数据变化总比例;及Weighting the corresponding resource data change ratios according to preset weighting factors corresponding to each of the resource data prediction indicators to obtain the total resource data change ratio; and
    获取与所述区域标识对应的资源数据当前值,根据所述资源数据当前值以及所述资源数据变化总比例,生成与所述区域标识对应的资源数据预测值。Obtain the current value of the resource data corresponding to the region identifier, and generate the predicted value of the resource data corresponding to the region identifier according to the current value of the resource data and the total proportion of changes in the resource data.
  19. 根据权利要求15至18任一项所述的存储介质,其中,所述计算机可读指令被所述处理器执行时还执行以下步骤:The storage medium according to any one of claims 15 to 18, wherein the following steps are further performed when the computer-readable instructions are executed by the processor:
    确定各个所述资源数据预测指标在预设资源数据图谱模板中对应的导入位置;Determine the corresponding import position of each resource data prediction index in the preset resource data map template;
    将与各个所述资源数据预测指标对应的待预测数据,导入到所述预设资源数据图谱模板中对应的导入位置,生成资源数据图谱;及Import the to-be-predicted data corresponding to each of the resource data prediction indicators into the corresponding import position in the preset resource data map template to generate a resource data map; and
    将所述资源数据图谱以及与所述区域标识对应的资源数据预测值,导入到预设信息模板中,生成对应的资源数据预测信息。Import the resource data map and the resource data predicted value corresponding to the area identifier into a preset information template to generate corresponding resource data predicted information.
  20. 根据权利要求19所述的存储介质,其中,所述计算机可读指令被所述处理器执行时还执行以下步骤:The storage medium according to claim 19, wherein the following steps are further performed when the computer-readable instructions are executed by the processor:
    分别获取与各个所述资源数据预测指标对应的样本预测数据和权重因子;Obtaining sample prediction data and weighting factors corresponding to each of the resource data prediction indicators;
    根据与各个所述资源数据预测指标对应的样本预测数据和权重因子对待训练的资源数据预测模型进行训练,得到训练后的资源数据预测模型;Training the resource data prediction model to be trained according to the sample prediction data and weighting factors corresponding to each of the resource data prediction indicators to obtain a trained resource data prediction model;
    获取所述训练后的资源数据预测模型输出的资源数据预测值与对应的资源数据实际值之间的预测误差;及Obtaining the prediction error between the predicted value of the resource data output by the resource data prediction model after the training and the actual value of the corresponding resource data; and
    当所述预测误差大于或等于预设阈值时,根据所述预测误差调整与各个所述资源数据预测指标对应的权重因子,并根据调整后的权重因子,对所述待训练的资源数据预测模型进行反复训练,直到根据训练后的资源数据预测模型得到的预测误差小于所述预设阈值。When the prediction error is greater than or equal to a preset threshold, the weighting factor corresponding to each resource data prediction index is adjusted according to the prediction error, and the resource data prediction model to be trained is performed according to the adjusted weighting factor Repeated training is performed until the prediction error obtained from the trained resource data prediction model is less than the preset threshold.
PCT/CN2020/098843 2019-07-09 2020-06-29 Resource data processing method and apparatus, computer device and storage medium WO2021004318A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910612928.8A CN110458601B (en) 2019-07-09 2019-07-09 Method and device for processing resource data, computer equipment and storage medium
CN201910612928.8 2019-07-09

Publications (1)

Publication Number Publication Date
WO2021004318A1 true WO2021004318A1 (en) 2021-01-14

Family

ID=68482381

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/098843 WO2021004318A1 (en) 2019-07-09 2020-06-29 Resource data processing method and apparatus, computer device and storage medium

Country Status (2)

Country Link
CN (1) CN110458601B (en)
WO (1) WO2021004318A1 (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110458601B (en) * 2019-07-09 2023-11-24 平安科技(深圳)有限公司 Method and device for processing resource data, computer equipment and storage medium
CN111310784B (en) * 2020-01-14 2021-07-20 支付宝(杭州)信息技术有限公司 Resource data processing method and device
CN114066043A (en) * 2021-11-12 2022-02-18 北京中知智慧科技有限公司 Method and device for predicting usefulness of patent
CN117436767B (en) * 2023-12-15 2024-04-09 云南师范大学 Assessment method, system and storage medium based on near-remote coupling coordination model

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170018033A1 (en) * 2015-07-15 2017-01-19 Foundation Of Soongsil University Industry Cooperation Stock fluctuatiion prediction method and server
CN108572988A (en) * 2017-03-13 2018-09-25 阿里巴巴集团控股有限公司 A kind of house property assessment data creation method and device
CN109523068A (en) * 2018-10-31 2019-03-26 平安直通咨询有限公司 Value of house prediction technique, device, computer equipment and storage medium
CN109688121A (en) * 2018-12-17 2019-04-26 中国平安财产保险股份有限公司 Resource data acquisition methods, device, computer equipment and storage medium
CN110458601A (en) * 2019-07-09 2019-11-15 平安科技(深圳)有限公司 Processing method, device, computer equipment and the storage medium of resource data

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107784440A (en) * 2017-10-23 2018-03-09 国网辽宁省电力有限公司 A kind of power information system resource allocation system and method
CN109614231A (en) * 2018-12-04 2019-04-12 广东亿迅科技有限公司 Idle server resource discovery method, device, computer equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170018033A1 (en) * 2015-07-15 2017-01-19 Foundation Of Soongsil University Industry Cooperation Stock fluctuatiion prediction method and server
CN108572988A (en) * 2017-03-13 2018-09-25 阿里巴巴集团控股有限公司 A kind of house property assessment data creation method and device
CN109523068A (en) * 2018-10-31 2019-03-26 平安直通咨询有限公司 Value of house prediction technique, device, computer equipment and storage medium
CN109688121A (en) * 2018-12-17 2019-04-26 中国平安财产保险股份有限公司 Resource data acquisition methods, device, computer equipment and storage medium
CN110458601A (en) * 2019-07-09 2019-11-15 平安科技(深圳)有限公司 Processing method, device, computer equipment and the storage medium of resource data

Also Published As

Publication number Publication date
CN110458601B (en) 2023-11-24
CN110458601A (en) 2019-11-15

Similar Documents

Publication Publication Date Title
WO2021004318A1 (en) Resource data processing method and apparatus, computer device and storage medium
WO2021004324A1 (en) Resource data processing method and apparatus, and computer device and storage medium
WO2021004333A1 (en) Knowledge graph-based event processing method and apparatus, device, and storage medium
US20190057284A1 (en) Data processing apparatus for accessing shared memory in processing structured data for modifying a parameter vector data structure
Azzeh A replicated assessment and comparison of adaptation techniques for analogy-based effort estimation
WO2024022354A1 (en) Object recommendation method and apparatus for implementing ia in view of rpa and ai, and storage medium
CN111181757B (en) Information security risk prediction method and device, computing equipment and storage medium
CN113098888A (en) Abnormal behavior prediction method, device, equipment and storage medium
WO2021012861A1 (en) Method and apparatus for evaluating data query time consumption, and computer device and storage medium
CN116307215A (en) Load prediction method, device, equipment and storage medium of power system
WO2023040145A1 (en) Artificial intelligence-based text classification method and apparatus, electronic device, and medium
WO2023050534A1 (en) Method and device for predicting energy consumption of rail transit station apparatus, and apparatus and storage medium
Li et al. Resource usage prediction based on BiLSTM-GRU combination model
Tang et al. Forecasting annual foreign tourist arrivals to China by incorporating firefly algorithm into fractional non-homogenous discrete Grey model
CN109669977A (en) Data cut-in method, device, computer equipment and the storage medium of integration across database
CN112257958A (en) Power saturation load prediction method and device
CN116777646A (en) Artificial intelligence-based risk identification method, apparatus, device and storage medium
CN116664306A (en) Intelligent recommendation method and device for wind control rules, electronic equipment and medium
CN117009621A (en) Information searching method, device, electronic equipment, storage medium and program product
CN114970357A (en) Energy-saving effect evaluation method, system, device and storage medium
Wang et al. ARIMA-BP integrated intelligent algorithm for China’s consumer price index forecasting and its applications
Wang et al. Log-periodic power law hybrid model based on BP neural network
CN110705736A (en) Macroscopic economy prediction method and device, computer equipment and storage medium
CN113435653B (en) Method and system for predicting saturated power consumption based on logistic model
TW201928722A (en) Porcessing system and method for predicting system defect hotspot prediction

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20836885

Country of ref document: EP

Kind code of ref document: A1

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205N DATED 02/03/2022)

122 Ep: pct application non-entry in european phase

Ref document number: 20836885

Country of ref document: EP

Kind code of ref document: A1