CN110069687A - Target cell room rate tendency drawing generating method, device, equipment and storage medium - Google Patents

Target cell room rate tendency drawing generating method, device, equipment and storage medium Download PDF

Info

Publication number
CN110069687A
CN110069687A CN201910202634.8A CN201910202634A CN110069687A CN 110069687 A CN110069687 A CN 110069687A CN 201910202634 A CN201910202634 A CN 201910202634A CN 110069687 A CN110069687 A CN 110069687A
Authority
CN
China
Prior art keywords
room rate
target cell
trend graph
month
cell room
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201910202634.8A
Other languages
Chinese (zh)
Inventor
高月
侯斯靓
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Urban Construction Technology Shenzhen Co Ltd
Original Assignee
Ping An Urban Construction Technology Shenzhen Co Ltd
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 Ping An Urban Construction Technology Shenzhen Co Ltd filed Critical Ping An Urban Construction Technology Shenzhen Co Ltd
Priority to CN201910202634.8A priority Critical patent/CN110069687A/en
Publication of CN110069687A publication Critical patent/CN110069687A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/951Indexing; Web crawling techniques
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9538Presentation of query results
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/957Browsing optimisation, e.g. caching or content distillation
    • G06F16/9577Optimising the visualization of content, e.g. distillation of HTML documents

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)

Abstract

The invention discloses a kind of Target cell room rate tendency drawing generating method, device, equipment and storage mediums, this method comprises: obtaining deal message from multiple source of houses websites based on crawler technology, the deal message includes cell name, strike a bargain month and room rate;Target cell room rate information is screened from the deal message;Multiple of that month average prices are obtained from the Target cell room rate information, and Target cell room rate trend graph is generated according to the multiple of that month average price, and the Target cell room rate trend graph is xy coordinate diagram.The present invention is based on data analyses, crawl deal message deal message from source of houses website from source of houses website, and the deal message is generated room rate trend graph by subdistrict position distribution, more comprehensively, more intuitively react the room rate tendency of cell as a result,.

Description

Target cell room rate tendency drawing generating method, device, equipment and storage medium
Technical field
The present invention relates to data analysis technique field more particularly to a kind of Target cell room rate tendency drawing generating methods, dress It sets, equipment and storage medium.
Background technique
Currently, it can be seen that room rate trend graph generally all using city, administrative domain as the trend graph of target, be not refined to Cell, client are difficult to know cell room rate tendency.And many trend graphs are all that gained according to folk prescription data is drawn by individual enterprises, Therefore the room rate tendency of cell can not comprehensively, be intuitively reacted.
Summary of the invention
The present invention provides a kind of Target cell room rate trend graph production method, device, equipment and storage medium, it is intended to complete Face, the intuitive room rate tendency for reacting cell.
To achieve the above object, the present invention provides a kind of Target cell room rate tendency drawing generating method, the method application In cell room rate trend graph generating device, which comprises
Deal message is obtained from multiple source of houses websites based on crawler technology, the deal message includes cell name, strikes a bargain Month and room rate;
Target cell room rate information is screened from the deal message;
Target is generated from the multiple of that month average prices of the Target cell room rate acquisition of information, and according to the multiple of that month average price Cell room rate trend graph, the Target cell room rate trend graph are xy coordinate diagram.
Preferably, described the step of obtaining deal message from multiple source of houses websites based on crawler technology, includes:
Web access requests are sent to destination server by preset crawlers;
Receive the web page contents that the destination server returns;
The web page contents are parsed, the preset crawl information of the crawlers, the crawl packet are obtained Include the deal message.
Preferably, described the step of Target cell room rate information is screened from the deal message, includes:
Mark the cell name keyword in the deal message;
The cell name keyword and the consistent deal message of Target cell title are extracted from the deal message, and Save as Target cell deal message;
Target cell room rate information is screened from the Target cell deal message.
Preferably, described the step of Target cell room rate information is screened from the Target cell deal message, includes:
The Target cell deal message is screened, removal repeats the Target cell deal message of record, obtains Obtain duplicate removal Target cell deal message;
Judge the room rate in the duplicate removal Target cell deal message whether in default room rate section;
If the room rate in the duplicate removal Target cell deal message in default room rate section, determines that the duplicate removal strikes a bargain Room rate in information is true and reliable, and the room rate is saved as Target cell room rate information.
Preferably, the Target cell room rate trend graph includes the first curve, described from the Target cell room rate information It is middle to obtain multiple of that month average prices, and the step of generating Target cell room rate trend graph according to the multiple of that month average price includes:
N first of that month average price for obtaining n month respectively from the Target cell room rate information, by the n months Part corresponding month is successively set as n coordinate value of x-axis, and wherein n is the integer greater than 1;
Median and spacing value are calculated according to the n first of that month average price, the spacing value is set as between the scale of y-axis Away from;
N y-axis coordinate value of first curve is determined based on the median and the spacing value;
It is sequentially connected the first curve that the n y-axis coordinate value obtains the Target cell room rate trend graph.
Preferably, the Target cell room rate trend graph includes A curve and B curve, described from the Target cell room rate Multiple of that month average prices are obtained in information, and the step of generating Target cell room rate trend graph according to the multiple of that month average price is wrapped It includes:
M second of that month average price for obtaining m month respectively from the Target cell room rate information, by the m months Part corresponding month is successively set as m coordinate value of x-axis, and the m second of that month average price is set as to m coordinate value of x-axis, Middle m is the integer greater than 1;
Average value is calculated according to the m second of that month average price, y=average value is set as the A curve;
M difference of the average value and the m second of that month average price is calculated separately, and calculates the m difference The difference average value is set as y-axis distance between axles by difference average value;
It is obtained using the difference average value as the m y-axis coordinate value in the coordinate diagram of y-axis distance between axles, is sequentially connected Obtain the B curve of the Target cell room rate trend graph.
Preferably, described from the multiple of that month average prices of the Target cell room rate acquisition of information, and according to the multiple this month Average price generated after the step of Target cell room rate trend graph further include:
The cell room rate trend graph inquiry instruction that client is sent is received, the inquiry instruction includes cell name to be checked Claim;
Corresponding cell room rate trend graph is sent to the client according to the cell name to be checked.
To achieve the above object, the embodiment of the present invention also provides a kind of Target cell room rate trend graph generating means, described Target cell room rate trend graph generating means include:
Module is obtained, for obtaining deal message from multiple source of houses websites based on crawler technology, the deal message includes Cell name, strike a bargain month and room rate;
Screening module, for screening Target cell room rate information from the deal message;
Generation module, for obtaining multiple of that month average prices from the Target cell room rate information, and according to the multiple Of that month average price generates Target cell room rate trend graph, and the Target cell room rate trend graph is xy coordinate diagram.
To achieve the above object, the embodiment of the present invention also provides a kind of Target cell room rate trend graph generating device, described Target cell room rate trend graph generating device includes processor, the Target cell room of memory and storage in the memory Valence trend graph generates program and realizes institute as above when the Target cell room rate trend graph generation program is run by the processor The step of Target cell room rate tendency drawing generating method stated.
Compared with prior art, the present invention provides a kind of Target cell room rate tendency drawing generating method, device, equipment and storage Medium obtains deal message from multiple source of houses websites based on crawler technology, and the deal message includes cell name, strikes a bargain month And room rate;Target cell room rate information is screened from the deal message;It is obtained from the Target cell room rate information multiple Of that month average price, and Target cell room rate trend graph, the Target cell room rate trend graph are generated according to the multiple of that month average price For xy coordinate diagram.The present invention is based on data analyses, crawl deal message from source of houses website, and the deal message is pressed small position It sets distribution and generates room rate trend graph, more comprehensively, more intuitively react the room rate tendency of cell as a result,.
Detailed description of the invention
Fig. 1 is the hardware structural diagram for the Target cell room rate trend graph generating device that various embodiments of the present invention are related to;
Fig. 2 is the flow diagram of Target cell room rate tendency drawing generating method first embodiment of the present invention;
Fig. 3 is the flow diagram of Target cell room rate tendency drawing generating method second embodiment of the present invention;
Fig. 4 is the functional block diagram of Target cell room rate trend graph generating means first embodiment of the present invention.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The Target cell room rate trend graph generating device that the embodiment of the present invention relates generally to, which refers to, can be realized network connection Network access device, the Target cell room rate trend graph generating device can be server, cloud platform etc..Referring to Fig.1, scheme 1 is the hardware structural diagram for the Target cell room rate trend graph generating device that various embodiments of the present invention are related to.The present invention is implemented In example, Target cell room rate trend graph generating device may include (such as the central processing unit Central of processor 1001 Processing Unit, CPU), communication bus 1002, input port 1003, output port 1004, memory 1005.Wherein, Communication bus 1002 is for realizing the connection communication between these components;Input port 1003 is inputted for data;Output port 1004 export for data, and memory 1005 can be high speed RAM memory, be also possible to stable memory (non- Volatile memory), such as magnetic disk storage, memory 1005 optionally can also be independently of aforementioned processor 1001 Storage device.It will be understood by those skilled in the art that hardware configuration shown in Fig. 1 and do not constitute a limitation of the invention, It may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
With continued reference to Fig. 1, the memory 1005 in Fig. 1 as a kind of readable storage medium storing program for executing may include operating system, net Network communication module, application program module and Target cell room rate trend graph generate program.In Fig. 1, network communication module master It is used to connect server, carries out data communication with server;And processor 1001 can be called and be stored in memory 1005 Target cell room rate trend graph generates program, and executes Target cell room rate trend graph generation side provided in an embodiment of the present invention Method.
The embodiment of the invention provides a kind of Target cell room rate tendency drawing generating methods.
Referring to Fig. 2, Fig. 2 is the flow diagram of Target cell room rate tendency drawing generating method first embodiment of the present invention.
In the present embodiment, the Target cell room rate tendency drawing generating method is generated applied to Target cell room rate trend graph Equipment, which comprises
Step S101 obtains deal message from multiple source of houses websites based on crawler technology, and the deal message includes cell Title, strike a bargain month and room rate;
In the present embodiment, deal message is obtained from multiple source of houses websites of the whole network using crawler technology, wherein the source of houses Website includes that chain man, good room net, Central Plains, room day are inferior.The deal message include cell name, subdistrict position, the source of houses number, Room rate, strike a bargain the specific deal messages such as month.
It is described to include: from the step of multiple source of houses websites acquisition deal message based on crawler technology
Step a: web access requests are sent to destination server by preset crawlers;
Crawlers send the web-page requests for simulation browser, obtain web page contents from destination server, then Required data are extracted and preserved.The crawlers can obtain required information according to being arranged from internet.
In the present embodiment, the server of the source of houses website is set as destination server, also i.e. by chain man, good room net, in Former, the inferior website in room day server is set as destination server, obtains the uniform resource locator of the destination service (Uniform Resource Locator, URL), and it is stored in the url list of the crawlers.Then it is based on the URL again Web access requests are sent, the web-page requests include the URL of the destination server, request method, to request content etc..
Step b: the web page contents that the destination server returns are received;
The destination server can return to a response bag, the response bag packet after receiving the web access requests Include responsive state, head response, response body etc..Wherein, the corresponding state includes successfully, jumps, can not find the page, server mistake Accidentally etc., the head response includes content type, content-length, server info, setting cookies etc., and the response body includes Request the content of resource, such as webpage HTML, picture binary data.
Step c: parsing the web page contents, obtains the preset crawl information of the crawlers, the crawl Information includes the deal message.
In the present embodiment, the web page contents are parsed, obtain identifiable content text.If the obtained net Page content be hypertext markup language (HyperText Markup Language, HTML), then can with regular expression, Web analysis library is parsed;If the obtained web page contents are object numbered musical notation (JavaScript Object Notation, JSON), it can directly change into JOSN object and be parsed, it, can if obtained web page contents are binary data Directly can save or be further processed.
Further, the web page contents are subjected to keyword extraction, by cell name, subdistrict position, source of houses number, room Corresponding deal message is extracted and preserved as keyword in valence, month etc. of striking a bargain specific deal message.
Step S102 screens Target cell room rate information from the deal message;
In the present embodiment, the cell name keyword in the deal message is marked;Also i.e. by the deal message according to Keyword distinguishes, and marks cell name.The cell name keyword is extracted from the deal message and target is small The consistent deal message of area's title, and the Target cell deal message saved as;It should be understood that the entitled need of Target cell The title of one or more Target cells of cell room rate trend graph is generated, the Target cell can according to need selection. In other embodiments, after obtaining cell name, subdistrict position is further obtained, so as to by the different community of same cells title Thoroughly distinguish.
Further, Target cell room rate information is screened from the Target cell deal message.Specifically, to the mesh Mark cell deal message screened, removal repeat record the Target cell deal message, obtain duplicate removal Target cell at Hand over information;For removal duplicate message to guarantee the authenticity and accuracy of data, that improves the Target cell room rate trend graph can Reliability.Secondly, judging room rate in the duplicate removal Target cell deal message whether in default room rate section;The default room Valence section is obtained by the room rate Information Statistics that are obtained according to the crawlers, and after being assessed by the senior appraiser in this field Determining.The room rate is compared with default room rate section, if the room rate in the duplicate removal Target cell deal message exists In default room rate section, then determine that the room rate in the duplicate removal deal message is true and reliable, and the room rate is saved as into target Cell room rate information.Conversely, if the room rate in the duplicate removal Target cell deal message determines not in default room rate section The not room rate in the default room rate section is abnormal room rate, and is deleted from the duplicate removal Target cell deal message The corresponding information in the exception room.The accuracy of room rate in the Target cell deal message of acquisition is judged as a result, and The corresponding information of suppressing exception room rate further improves the accuracy and confidence level of the cell room rate as a result,.
Step S103 obtains multiple of that month average prices from the Target cell room rate information, and according to the multiple this month Average price generates Target cell room rate trend graph, and the Target cell room rate trend graph is xy coordinate diagram.
In the present embodiment, the room rate information for including in the cell room rate trend graph can be the room rate of an independent cell The room rate information of information either several cells.Such as the room rate information for several cells that can be developed COUNTRY GARDEN generates The room rate information of several cells in somewhere can also be generated a Target cell room by one Target cell room rate trend graph Valence trend graph.
This month average price is month average price corresponding with the conclusion of the business month in month.In the present embodiment, get described It, then can be according to the conclusion of the business average price for calculating separately corresponding month month that strikes a bargain after Target cell room rate information.Specifically, described in statistics The conclusion of the business month of all conclusion of the business sources of houses and room rate in Target cell room rate information, then classify by month, it obtains of that month more The room rate of a conclusion of the business source of houses then obtains this month by the summation of the room rate of multiple conclusion of the business sources of houses divided by corresponding conclusion of the business source of houses quantity Average price.
In the present embodiment, in order to generate intuitive reaction cell room rate trend graph, the target is generated by following following methods Cell room rate trend graph:
The Target cell room rate trend graph include and the first curve, it is described more from the Target cell room rate acquisition of information A this month average price, and the step of generating Target cell room rate trend graph according to the multiple of that month average price includes:
Step S103-11 obtains the n first of that month average price in n month respectively from the Target cell room rate information, Successively be set as to n coordinate value of x-axis, wherein n is the integer greater than 1 corresponding month in the n month;For example, set n as 6, If the of that month average price of the first of certain annual certain cell 1-6 month is respectively 50234 yuan, 48960 yuan, 51000 yuan, 49386 yuan, 50678 yuan, 51009 yuan.
Step S103-12 calculates median and spacing value according to the n first of that month average price, the spacing value is set For the scale spacing of y-axis;
Wherein, the median=(maximum value-minimum value)/2, the spacing value=(maximum value-minimum value)/n, In, wherein the median and the equal round numbers of the spacing value.The maximum value is the highest price in the n room rate, described Minimum value is the lowest price in the n room rate.The spacing value is set as to the scale spacing of y-axis.Based on certain cell 1-6 The of that month average price of the first of month is it is found that the median=(51009-48960)/2=1025, the spacing value=(51009- 48960)/6=342.
Step S103-13 determines n y-axis coordinate value of first curve based on the median and the spacing value;
Specifically, the y-axis coordinate value y of one or two middle coordinate is calculated according to the median and the spacing value1, Wherein, the middle coordinate is expressed as to the coordinate value of the n-th/2 and/or (n+1)/2 y-axis, y1=(median ± interval Value)/2;The y-axis coordinate value y of two middle coordinates is calculated according to the coordinate value y1 and the spacing value2, described time intermediate Coordinate is 4 coordinate values of described middle coordinate the right and left, y2=(y1± spacing value);It successively calculates, until obtaining the n A y-axis coordinate value.
In other embodiments, the y1=(median ± spacing value);The y2=(y1± spacing value).
For example, the first of that month average price based on certain cell 1-6 month, median 1025 and spacing value 342, generate The room rate trend graph of certain cell determines that the step of 6 y-axis coordinate values of the first curve is as follows: calculating the intermediate 3rd first and sits Scale value and the 4th coordinate value, the 3rd coordinate value=(the 1025+342)/2=684, the 4th coordinate value=(1025-342)/2 =342;Secondly, calculating separately the 1st coordinate value, the 2nd seat according to the 3rd coordinate value, the 4th coordinate value and the spacing value Scale value, the 5th coordinate value, the 6th coordinate value, the 1st coordinate value=(3 coordinate values+spacing value)=684+342=1026;Institute State the 2nd coordinate value=(3 coordinate values-spacing value)=(684-342)=342;5th coordinate value=(the 4th coordinate value+ Every value)=342+342=684;6th coordinate value=(4 coordinate values-spacing value)=(342-342)=0.Therefore, described 6 y-axis coordinate values are respectively 1026,342,684,342,654,0.
Step S103-14 is sequentially connected the n y-axis coordinate value obtains the Target cell room rate trend graph One curve.Multiple of that month average prices are obtained from the Target cell room rate information, and mesh is generated according to the multiple of that month average price Cell room rate trend graph is marked, the Target cell room rate trend graph is xy coordinate diagram.
The scale spacing of y-axis is set according to the spacing value, is sequentially connected the n y-axis coordinate value, can be obtained described First curve.Since the n y-axis coordinate value is all based on obtained by the median and spacing value calculating, therefore first curve Volume range it is larger, fluctuation is obvious, and room rate tendency can be clearly seen.
In this implementation, the Target cell room rate trend graph includes A curve and B curve, described from the Target cell room Multiple of that month average prices are obtained in valence information, and the step of generating Target cell room rate trend graph according to the multiple of that month average price is also Include:
M second of that month average price for obtaining m month respectively from the Target cell room rate information, by the m months Part corresponding month is successively set as m coordinate value of x-axis, and the m second of that month average price is set as to m coordinate value of x-axis, Middle m is the integer greater than 1;Average value is calculated according to the m second of that month average price, y=average value is set as the A curve; The A curve is the straight line parallel with x-axis.
M difference of the average value and the m second of that month average price is calculated separately, and calculates the m difference The difference average value is set as y-axis distance between axles by difference average value;The y-axis distance between axles refers to adjacent calibration points in y-axis coordinate Between spacing.Wherein, second this month of difference=Shu average price-average value Shu, it is possible to understand that ground, the difference are positive number.
It is obtained using the difference average value as the m y-axis coordinate value in the coordinate diagram of y-axis distance between axles, is sequentially connected Obtain the B curve of the Target cell room rate trend graph.Therefore, using the difference average value as y-axis distance between axles, each number in B curve Difference is larger between strong point, and fluctuates above and below first curve, will be obvious that room rate tendency.
It should be understood that related data can also be collected, by generating listed number trend graph with above scheme, queries is walked Gesture figure etc..
The present embodiment obtains deal message, the conclusion of the business from multiple source of houses websites through the above scheme, based on crawler technology Information includes cell name, strike a bargain month and room rate;Target cell room rate information is screened from the deal message;From the mesh Multiple of that month average prices are obtained in mark cell room rate information, and Target cell room rate tendency is generated according to the multiple of that month average price Figure, the Target cell room rate trend graph are xy coordinate diagram.The present invention is based on data analyses, crawl conclusion of the business letter from source of houses website Breath, and by the deal message by subdistrict position distribution generate room rate trend graph, as a result, more comprehensively, more intuitively react cell Room rate tendency
As shown in figure 3, second embodiment of the invention proposes a kind of Target cell room rate tendency drawing generating method, based on above-mentioned First embodiment shown in Fig. 2, it is described that multiple of that month average prices are obtained from the Target cell room rate information, and according to described more After the step of a this month average price generates Target cell room rate trend graph further include:
Step S104 receives the cell room rate trend graph inquiry instruction that client is sent, and the inquiry instruction includes to be checked Ask cell name;
In the present embodiment, the client includes the network equipments such as mobile phone, ipad, computer.The cell room rate trend graph Generating device receives the cell room rate trend graph inquiry instruction that the client is sent, and inquires from the cell room rate trend graph Cell name to be checked is obtained in instruction.
Step S105 sends corresponding cell room rate trend graph to the client according to the cell name to be checked.
Cell corresponding with the cell name to be checked is searched from the generated Target cell room rate trend graph Room rate trend graph is sent out if finding cell room rate trend graph corresponding with the cell name to be checked to the client Send corresponding cell room rate trend graph;If not finding cell room rate trend graph corresponding with the cell name to be checked, The prompt for not inquiring result is sent to the client, and the cell name that the client is sent saves, so as to subsequent Improve the room rate trend graph of the cell.
The same above scheme of the present embodiment, receives the cell room rate trend graph inquiry instruction that client is sent, and the inquiry refers to Enabling includes cell name to be checked;Corresponding cell room rate tendency is sent to the client according to the cell name to be checked Figure.The room rate tendency of cell more comprehensively, is more intuitively reacted as a result,.
In addition, the present embodiment also provides a kind of Target cell room rate trend graph generating means.It is the present invention referring to Fig. 4, Fig. 4 The functional block diagram of Target cell room rate trend graph generating means first embodiment.
Target cell room rate trend graph generating means provided by the invention are virtual bench, are stored in target shown in FIG. 1 In the memory 1005 of cell room rate trend graph generating device, to realize that the Target cell room rate trend graph generates the institute of program It is functional: for based on crawler technology from multiple source of houses websites obtain deal message, the deal message include cell name, at Hand over month and room rate;For screening Target cell room rate information from the deal message;For from the Target cell room rate Multiple of that month average prices are obtained in information, and Target cell room rate trend graph, the target are generated according to the multiple of that month average price Cell room rate trend graph is xy coordinate diagram.
Specifically, in the present embodiment, the Target cell room rate trend graph generating means include:
Module 10 is obtained, for obtaining deal message, the deal message packet from multiple source of houses websites based on crawler technology Include cell name, strike a bargain month and room rate;
Screening module 20, for screening Target cell room rate information from the deal message;
Generation module 30, for obtaining multiple of that month average prices from the Target cell room rate information, and according to described more A this month average price generates Target cell room rate trend graph, and the Target cell room rate trend graph is xy coordinate diagram.
Further, the acquisition module is also used to:
Web access requests are sent to destination server by preset crawlers;
Receive the web page contents that the destination server returns;
The web page contents are parsed, the preset crawl information of the crawlers, the crawl packet are obtained Include the deal message.
Further, the screening module is also used to:
Mark the cell name keyword in the deal message;
The cell name keyword and the consistent deal message of Target cell title are extracted from the deal message, and Save as Target cell deal message;
Target cell room rate information is screened from the Target cell deal message.
Further, the screening module is also used to:
The Target cell deal message is screened, removal repeats the Target cell deal message of record, obtains Obtain duplicate removal Target cell deal message;
Judge the room rate in the duplicate removal Target cell deal message whether in default room rate section;
If the room rate in the duplicate removal Target cell deal message in default room rate section, determines that the duplicate removal strikes a bargain Room rate in information is true and reliable, and the room rate is saved as Target cell room rate information.
Further, the generation module is also used to:
N first of that month average price for obtaining n month respectively from the Target cell room rate information, by the n months Part corresponding month is successively set as n coordinate value of x-axis, and wherein n is the integer greater than 1;
Median and spacing value are calculated according to the n first of that month average price, the spacing value is set as between the scale of y-axis Away from;
N y-axis coordinate value of first curve is determined based on the median and the spacing value;
It is sequentially connected the first curve that the n y-axis coordinate value obtains the Target cell room rate trend graph.
Further, the generation module is also used to:
M second of that month average price for obtaining m month respectively from the Target cell room rate information, by the m months Part corresponding month is successively set as m coordinate value of x-axis, and the m second of that month average price is set as to m coordinate value of x-axis, Middle m is the integer greater than 1;
Average value is calculated according to the m second of that month average price, y=average value is set as the A curve;
M difference of the average value and the m second of that month average price is calculated separately, and calculates the m difference The difference average value is set as y-axis distance between axles by difference average value;
It is obtained using the difference average value as the m y-axis coordinate value in the coordinate diagram of y-axis distance between axles, is sequentially connected Obtain the B curve of the Target cell room rate trend graph.
Further, the generation module is also used to:
The cell room rate trend graph inquiry instruction that client is sent is received, the inquiry instruction includes cell name to be checked Claim;
Corresponding cell room rate trend graph is sent to the client according to the cell name to be checked.
In addition, the embodiment of the present invention also provides a kind of computer storage medium, it is stored in the computer storage medium Target cell room rate trend graph generates program, and the Target cell room rate trend graph is generated when program is run by processor and realized such as The step of upper Target cell room rate tendency drawing generating method.
Compared with prior art, it a kind of Target cell room rate tendency drawing generating method proposed by the present invention, device, equipment and deposits Storage media obtains deal message from multiple source of houses websites based on crawler technology, and the deal message includes cell name, strike a bargain the moon Part and room rate;Target cell room rate information is screened from the deal message;It is obtained from the Target cell room rate information more A this month average price, and Target cell room rate trend graph, the Target cell room rate tendency are generated according to the multiple of that month average price Figure is xy coordinate diagram.The present invention is based on data analyses, crawl deal message from source of houses website, and the deal message is pressed cell Position distribution generates room rate trend graph, more comprehensively, more intuitively reacts the room rate tendency of cell as a result,
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the system that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or system institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or system.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in one as described above In storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device executes the present invention respectively Method described in a embodiment.
The above description is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all utilizations Equivalent structure made by description of the invention and accompanying drawing content or process transformation, are applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of Target cell room rate tendency drawing generating method, which is characterized in that the method is applied to cell room rate trend graph Generating device, which comprises
Deal message is obtained from multiple source of houses websites based on crawler technology, the deal message includes cell name, strikes a bargain month And room rate;
Target cell room rate information is screened from the deal message;
Multiple of that month average prices are obtained from the Target cell room rate information, and small according to the multiple of that month average price generation target Area's room rate trend graph, the Target cell room rate trend graph are xy coordinate diagram.
2. the method according to claim 1, wherein it is described based on crawler technology from multiple source of houses websites obtain at Hand over information the step of include:
Web access requests are sent to destination server by preset crawlers;
Receive the web page contents that the destination server returns;
The web page contents are parsed, obtain the preset crawl information of the crawlers, the crawl information includes institute State deal message.
3. the method according to claim 1, wherein described screen Target cell room rate from the deal message The step of information includes:
Mark the cell name keyword in the deal message;
The cell name keyword and the consistent deal message of Target cell title are extracted from the deal message, and are saved For Target cell deal message;
Target cell room rate information is screened from the Target cell deal message.
4. according to the method described in claim 3, it is characterized in that, described screen target from the Target cell deal message The step of cell room rate information includes:
The Target cell deal message is screened, removal repeats the Target cell deal message of record, is gone Weight Target cell deal message;
Judge the room rate in the duplicate removal Target cell deal message whether in default room rate section;
If the room rate in the duplicate removal Target cell deal message determines the duplicate removal deal message in default room rate section In room rate it is true and reliable, and the room rate is saved as into Target cell room rate information.
5. the method according to claim 1, wherein the Target cell room rate trend graph include the first curve, It is described that multiple of that month average prices are obtained from the Target cell room rate information and small according to the multiple of that month average price generation target The step of area's room rate trend graph includes:
N first of that month average price for obtaining n month respectively from the Target cell room rate information, by the n month pair Successively it is set as n coordinate value of x-axis the month answered, wherein n is the integer greater than 1;
Median and spacing value are calculated according to the n first of that month average price, the spacing value is set as to the scale spacing of y-axis;
N y-axis coordinate value of first curve is determined based on the median and the spacing value;
It is sequentially connected the first curve that the n y-axis coordinate value obtains the Target cell room rate trend graph.
6. the method according to claim 1, wherein the Target cell room rate trend graph includes A curve and B bent Line, it is described that multiple of that month average prices are obtained from the Target cell room rate information, and mesh is generated according to the multiple of that month average price The step of marking cell room rate trend graph further include:
M second of that month average price for obtaining m month respectively from the Target cell room rate information, by the m month pair It is successively set as m coordinate value of x-axis the month answered, the m second of that month average price is set as to m coordinate value of x-axis, wherein m For the integer greater than 1;
Average value is calculated according to the m second of that month average price, y=average value is set as the A curve;
M difference of the average value and the m second of that month average price is calculated separately, and calculates the difference of the m difference The difference average value is set as y-axis distance between axles by average value;
Institute is being obtained using the difference average value as the m y-axis coordinate value in the coordinate diagram of y-axis distance between axles, is sequentially connected State the B curve of Target cell room rate trend graph.
7. method according to claim 1 to 6, which is characterized in that described from the Target cell room rate information Multiple of that month average prices are obtained, and are also wrapped after the step of generating Target cell room rate trend graph according to the multiple of that month average price It includes:
The cell room rate trend graph inquiry instruction that client is sent is received, the inquiry instruction includes cell name to be checked;
Corresponding cell room rate trend graph is sent to the client according to the cell name to be checked.
8. a kind of Target cell room rate trend graph generating means, which is characterized in that the Target cell room rate trend graph generates dress It sets and includes:
Module is obtained, for obtaining deal message from multiple source of houses websites based on crawler technology, the deal message includes cell Title, strike a bargain month and room rate;
Screening module, for screening Target cell room rate information from the deal message;
Generation module, for obtaining multiple of that month average prices from the Target cell room rate information, and according to the multiple this month Average price generates Target cell room rate trend graph, and the Target cell room rate trend graph is xy coordinate diagram.
9. a kind of Target cell room rate trend graph generating device, which is characterized in that the Target cell room rate trend graph generation is set Standby includes processor, and the Target cell room rate trend graph of memory and storage in the memory generates program, the mesh When mark cell room rate trend graph generation program is run by the processor, such as mesh of any of claims 1-7 is realized The step of marking cell room rate tendency drawing generating method.
10. a kind of computer storage medium, which is characterized in that be stored with Target cell room rate in the computer storage medium and walk Gesture figure generates program, and the Target cell room rate trend graph, which generates, to be realized when program is run by processor as in claim 1-7 The step of any one Target cell room rate tendency drawing generating method.
CN201910202634.8A 2019-03-15 2019-03-15 Target cell room rate tendency drawing generating method, device, equipment and storage medium Pending CN110069687A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910202634.8A CN110069687A (en) 2019-03-15 2019-03-15 Target cell room rate tendency drawing generating method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910202634.8A CN110069687A (en) 2019-03-15 2019-03-15 Target cell room rate tendency drawing generating method, device, equipment and storage medium

Publications (1)

Publication Number Publication Date
CN110069687A true CN110069687A (en) 2019-07-30

Family

ID=67365350

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910202634.8A Pending CN110069687A (en) 2019-03-15 2019-03-15 Target cell room rate tendency drawing generating method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110069687A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114119062A (en) * 2021-10-11 2022-03-01 深圳市房帮帮互联网科技有限公司 Multi-variable-based real estate automatic valuation method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105684030A (en) * 2016-01-26 2016-06-15 盛玉伟 Statistical method and system of transaction price in house property net
CN106157195A (en) * 2016-07-08 2016-11-23 盛玉伟 Property price method for drafting and system
JP2018075220A (en) * 2016-11-10 2018-05-17 フクダ電子株式会社 Bioinformation display apparatus, bioinformation display control device, and bioinformation processing apparatus
CN109299081A (en) * 2018-08-21 2019-02-01 中国平安人寿保险股份有限公司 Clean method, apparatus, computer equipment and the storage medium of room rate data

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105684030A (en) * 2016-01-26 2016-06-15 盛玉伟 Statistical method and system of transaction price in house property net
CN106157195A (en) * 2016-07-08 2016-11-23 盛玉伟 Property price method for drafting and system
JP2018075220A (en) * 2016-11-10 2018-05-17 フクダ電子株式会社 Bioinformation display apparatus, bioinformation display control device, and bioinformation processing apparatus
CN109299081A (en) * 2018-08-21 2019-02-01 中国平安人寿保险股份有限公司 Clean method, apparatus, computer equipment and the storage medium of room rate data

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114119062A (en) * 2021-10-11 2022-03-01 深圳市房帮帮互联网科技有限公司 Multi-variable-based real estate automatic valuation method

Similar Documents

Publication Publication Date Title
US8352318B2 (en) Exclusivity in internet marketing campaigns system and method
US8682904B1 (en) System of intuitive sorting of a table based on a column containing fractions
JP6744480B2 (en) Network-based ad data traffic latency reduction
CN105247507A (en) Influence score of a brand
US7836005B2 (en) System and method for automatic generation of user-oriented homepage
CN102411614A (en) Display Of Image Search Results
WO2015175324A1 (en) Active summaries in user interfaces to collaboration services
CN110070411A (en) Information of real estate methods of exhibiting, device, equipment and storage medium
CN110795305B (en) System, apparatus and method for processing and managing WEB traffic data
US20130024394A1 (en) Server apparatus, reaction transmitting program, recording medium having computer-readable reaction transmitting program recorded thereon, terminal device, reaction counting method, and reaction counting system
US8429535B2 (en) Client utility interaction analysis
CN103577447A (en) Method and equipment used for determining page type information of target pages
CN108781223A (en) The data packet transfer optimization of data for content item selection
JP6479239B1 (en) Information processing apparatus, information processing system, information processing method, and program
CN108984070A (en) Method, apparatus, electronic equipment and readable medium for thermodynamic chart imaging
CN108965360A (en) A kind of recommending data processing method and server, computer storage medium
CN110069687A (en) Target cell room rate tendency drawing generating method, device, equipment and storage medium
CN108140177B (en) Optimized digital components
CN102810110B (en) Obtain the method and system of network text data
US20220067078A1 (en) Aggregation system, Response Summary Process, and Method of Use
CN103761024A (en) Interface display method, device, terminal, server and system
CN104239452A (en) Method and device for resource acquisition
US10339187B2 (en) System and method for conducting a search
CN113792232A (en) Page feature calculation method, device, electronic equipment, medium and program product
CN101383838A (en) Method, system and apparatus for Web interface on-line evaluation

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190730

WD01 Invention patent application deemed withdrawn after publication