House source data processing method and device, electronic equipment and storage medium

By pre-setting and correlating the cascade level information and attribute information of housing sources in the database of the real estate industry, the problem of low efficiency in the housing source data query in the real estate industry is solved, rapid query and efficient storage are achieved, and system resource consumption is reduced.

CN119988423APending Publication Date: 2025-05-13上海瑞家信息技术有限公司
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411873449.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-17
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

In the real estate industry, the existing technology uses low query efficiency and slow speed when processing large amounts of housing data, resulting in a large amount of system resources, making it difficult to meet users' needs for quickly querying housing information.

Method used

By presetting multiple cascade level information in the database and pre-correlating and storing their corresponding property attribute information, quickly finding and generating property identification information is achieved, thereby improving query efficiency.

Benefits of technology

It realizes rapid query of property attribute information based on cascading hierarchical information of housing sources, improves query speed and efficiency, saves system resources, and reduces development and maintenance costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119988423A_ABST
    Figure CN119988423A_ABST
Patent Text Reader

Abstract

The invention provides a housing resource data processing method and device, electronic equipment and a storage medium. If the basic housing resource information of the target housing resource is obtained, obtaining preset multiple housing resource cascade hierarchy information; for any one piece of housing resource cascade hierarchy information, searching target housing resource attribute information matched with the housing resource attribute information pre-associated with the housing resource cascade hierarchy information in basic housing resource information of the target housing resource, and generating target housing resource identification information corresponding to the housing resource cascade hierarchy information of the target housing resource according to the target housing resource attribute information, and storing a corresponding relationship between the target housing resource identification information and the target housing resource attribute information in a database table corresponding to the housing resource cascade hierarchy information. According to the method and the device, under the condition that the house resource attribute information of the house resource needs to be queried based on one piece of house resource cascade hierarchy information, the database table corresponding to the house resource cascade hierarchy information can be directly indexed, so that the query efficiency can be improved, and system resources can be saved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method, device, electronic device and storage medium for processing house source data. Background Art

[0002] With the rapid development of technology, more and more industries are interacting with each other through the Internet, such as the real estate industry. The real estate industry involves house rental and house sales, which are relatively complex and cumbersome. Therefore, using the Internet to interact can conveniently and quickly meet the business needs of users in terms of real estate. For example, with the continuous development of urban scale, the business needs for renting and selling houses in the city are increasing. In order to provide better services to users (including renters, lessors, etc., as well as sellers, buyers, etc.), real estate agencies can provide users with real estate assistance by collecting and publishing house sources. Summary of the invention

[0003] The present application shows a method, device, electronic device and storage medium for processing house data.

[0004] In a first aspect, the present application shows a method for processing house source data, the method comprising: obtaining a plurality of pre-set house source cascade level information upon obtaining basic house source information of a target house source; the ranges corresponding to the plurality of house source cascade level information are sequentially included, and the semantic range corresponding to the next house source cascade level information is included in the semantic range corresponding to the previous house source cascade level information; each house source cascade level information is respectively pre-associated with different house source attribute information; the number of basic house source information of the target house source is greater than or equal to 1; for any pre-set house source cascade level information, In the basic property information of the target property, target property information matching the property information pre-associated with the property cascade level information is searched; and according to the searched target property information, target property identification information corresponding to the property cascade level information of the target property is generated; the property identification information corresponding to the property cascade level information of different properties is different; in a database table corresponding to the property cascade level information, a correspondence between the target property identification information and the target property information is stored; and different property cascade level information respectively corresponds to different database tables.

[0005] In a second aspect, the present application shows a method for processing housing source data, the method comprising: obtaining a query request, the query request carrying at least cascade hierarchy information of housing sources to be queried; searching for a target database table corresponding to the cascade hierarchy information of housing sources to be queried in database tables corresponding to multiple cascade hierarchy information of housing sources, the target database table storing: a correspondence between housing source identification information corresponding to the cascade hierarchy information of housing sources to be queried of each housing source in at least one housing source and housing source attribute information matching the housing source attribute information pre-associated with the cascade hierarchy information of housing sources to be queried of each housing source; outputting the housing source identification information corresponding to the cascade hierarchy information of housing sources to be queried of at least some housing sources in the target database table and / or the housing source attribute information matching the housing source attribute information pre-associated with the cascade hierarchy information of housing sources to be queried of at least some housing sources.

[0006] In a third aspect, the present application shows a device for processing housing source data, the device comprising: a first acquisition module, for acquiring a plurality of pre-set housing source cascade level information when the basic housing source information of the target housing source is acquired; the ranges corresponding to the plurality of housing source cascade level information are sequentially included, and the semantic range corresponding to the next housing source cascade level information is included in the semantic range corresponding to the previous housing source cascade level information; each housing source cascade level information is pre-associated with different housing source attribute information respectively; the number of basic housing source information of the target housing source is greater than or equal to 1; a first search module, for searching for any pre-set housing source cascade level information in In the basic housing information of the target housing source, target housing source attribute information matching the housing source attribute information pre-associated with the housing source cascade level information is searched; a first generating module is used to generate target housing source identification information corresponding to the housing source cascade level information of the target housing source according to the searched target housing source attribute information, and the housing source identification information corresponding to the housing source cascade level information of different housing sources is different; a first storage module is used to store the correspondence between the target housing source identification information and the target housing source attribute information in a database table corresponding to the housing source cascade level information, and the database tables corresponding to different housing source cascade level information are different.

[0007] In a fourth aspect, the present application shows a device for processing housing source data, the device comprising: a sixth acquisition module, used to obtain a query request, the query request carrying at least housing source cascade level information to be queried; a fourth search module, used to search for a target database table corresponding to the housing source cascade level information to be queried in database tables corresponding to multiple housing source cascade level information respectively, the target database table storing: a correspondence between housing source identification information corresponding to the housing source cascade level information to be queried of each housing source in at least one housing source and housing source attribute information matching the housing source attribute information pre-associated with the housing source cascade level information to be queried of each housing source; an output module, used to output the housing source identification information corresponding to the housing source cascade level information to be queried of at least some housing sources in the target database table and / or the housing source attribute information matching the housing source attribute information pre-associated with the housing source cascade level information to be queried of at least some housing sources.

[0008] In a fifth aspect, the present application illustrates an electronic device, comprising: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the method described in any of the above aspects.

[0009] In a sixth aspect, the present application illustrates a non-temporary computer-readable storage medium, which, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to execute a method as described in any of the above aspects.

[0010] In a seventh aspect, the present application illustrates a computer program product. When instructions in the computer program product are executed by a processor of an electronic device, the electronic device is enabled to execute the method described in any of the above aspects.

[0011] The technical solution provided by this application may have the following beneficial effects:

[0012] The solution of the present application takes into account the particularity of the real estate industry and the situation that the real estate industry has cascaded hierarchical information of housing sources. Thus, when the basic housing source information of the target housing source is obtained, multiple pre-set cascaded hierarchical information of housing sources is obtained; the ranges corresponding to the multiple cascaded hierarchical information of housing sources are sequentially included, and the semantic range corresponding to the next cascaded hierarchical information of housing sources is included in the semantic range corresponding to the previous cascaded hierarchical information of housing sources; each cascaded hierarchical information of housing sources is pre-associated with different housing source attribute information respectively; the number of basic housing source information of the target housing source is greater than or equal to 1; for any pre-set A property cascade hierarchical information, in the basic property information of the target property, search for target property information that matches the property attribute information pre-associated with the property cascade hierarchical information, generate target property identification information corresponding to the property cascade hierarchical information of the target property according to the searched target property information, the property identification information corresponding to the property cascade hierarchical information of different properties is different; in a database table corresponding to the property cascade hierarchical information, store the correspondence between the target property identification information and the target property attribute information, the database tables corresponding to different property cascade hierarchical information are different.

[0013] In this way, it supports querying the property information of a property based on the property cascade level information. For example, it supports users to submit a query request, and the query request carries at least the property cascade level information to be queried, so that in the database tables corresponding to the multiple property cascade level information respectively, a target database table corresponding to the property cascade level information to be queried is searched, and the target database table stores: the correspondence between the property identification information corresponding to the property cascade level information to be queried of each property in at least one property and the property property information matching the property property information pre-associated with the property cascade level information to be queried of each property; outputs the property identification information corresponding to the property cascade level information to be queried of at least some of the properties in the target database table and / or the property property information matching the property property information pre-associated with the property cascade level information to be queried of at least some of the properties.

[0014] On the one hand, through the present application, when it is necessary to query the property information of a house based on a house cascade level information, since the database table corresponding to the house cascade level information is stored separately in advance, the database table corresponding to the house cascade level information can be directly indexed, and the house identification information and / or house property information in the database table can be output to the user for use. There is no need to traverse the basic house information of each house, nor is there any need to screen the house property information that matches the house property information pre-associated with the house cascade level information in the traversed basic house information of the house. In this way, the speed can be improved, time can be saved, query efficiency can be improved, and system resources can be saved.

[0015] In addition, the solution of the present application supports the storage and query of cascaded hierarchical information of various dimensions of basic housing information of housing sources, supports a wide range of business dimensions, and has strong applicability. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] Figure 1 This is a flowchart of the steps of a method for processing housing data in this application.

[0017] Figure 2 This is a flowchart of the steps of a method for processing housing data in this application.

[0018] Figure 3 This is a structural block diagram of a device for processing house source data in the present application.

[0019] Figure 4 This is a structural block diagram of a device for processing house source data in the present application.

[0020] Figure 5 It is a block diagram of an electronic device of the present application.

[0021] Figure 6 It is a block diagram of an electronic device of the present application. DETAILED DESCRIPTION

[0022] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0023] At present, there are a large number of houses that need to be rented out and houses that need to be sold across the country. Therefore, in order to occupy as much market share of the real estate business as possible, a large number of real estate brokerage companies have emerged in the market. The scale of each real estate brokerage company is getting bigger and bigger. Each real estate brokerage company has a large number of stores in various provinces, cities and districts / counties across the country, and each store recruits a large number of real estate brokers to maintain work.

[0024] For example, real estate agents in various branches of various real estate brokerage companies collect a large number of houses for rent and sale in their local areas, and enter the basic house information of the large number of houses collected into the data system.

[0025] Among them, each property has its own basic property information, which may include the price, area, location, apartment type, business type (such as leasing or sale, including new house sale and second-hand house sale, etc.), floor, orientation, whether it is street-facing, loan status of the property, tax status related to the property, brokerage company that maintains the property, store of the brokerage company that maintains the property, real estate agent that maintains the property, and evaluation of the property by the real estate agent that maintains the property, etc.

[0026] Among them, each real estate agency can develop and maintain its own data system, and in this way, the real estate agents of any real estate agency can enter the basic housing information of a large amount of houses collected into the data system developed and maintained by the corresponding real estate agency to manage the basic housing information of the houses. However, since each real estate agency needs to develop and maintain its own data system, it can be seen that this method has very high development and maintenance costs for each real estate agency.

[0027] In view of this, the data systems of third-party vendors are gradually being adopted by various real estate brokerage companies. For example, various real estate brokerage companies can use the data systems of third-party vendors, for example, store the basic housing information of the houses they have collected in the data systems of third-party vendors, etc. The cost of using the data systems of third-party vendors is often much less than the development cost and maintenance cost, thereby reducing the cost of various real estate brokerage companies.

[0028] For example, a real estate agent of a real estate agency can search for houses on the market. After the real estate agent finds a house and the owner of the house entrusts the real estate agency to rent or sell the house, the real estate agent can enter the basic house information of the house into the data system of a third-party manufacturer, so that the data system of the third-party manufacturer can store the basic house information of the house, so that the real estate agency can manage the basic house information of the house. Secondly, the basic house information of the house can be released to the public with the help of the data system of the third-party manufacturer, so that the users who are looking to rent or buy the house can query the basic house information of the house in the data system of the third-party manufacturer to decide whether to rent or buy the house, and the real estate agent can refer to the basic house information of the house entered in the data system of the third-party manufacturer when providing real estate business services to the users who are looking to rent or buy the house.

[0029] In addition, in order to distinguish the basic property information of different properties, different sharding keys can be set for different properties (the basic property information of different properties is different) in the data system of the third-party manufacturer, and then the sharding key of each property can be used to uniquely identify the basic property information of each property in the data system of the third-party manufacturer.

[0030] Subsequently, real estate agents or users can query the basic information of different properties in the data system of third-party vendors. For example, query the basic information of properties in the data system of third-party vendors according to the shard key of the property.

[0031] However, sometimes, according to actual business needs in real estate, real estate agents or users need to query the basic property information of the corresponding property in the data system of a third-party manufacturer based on other index information.

[0032] For example, sometimes real estate agents or users need to query basic housing information in a certain city in the data system of a third-party manufacturer. In this case, the index information can be the city.

[0033] In order to be able to query the housing resources in the city in the data system of the third-party manufacturer, the data system of the third-party manufacturer can traverse the basic housing information of all the entered housing resources, and each time the basic housing information of a housing resource is traversed, it can be determined whether the city is the same as the city in the basic housing information of the housing resource. If the city is the same as the city in the basic housing information of the housing resource, it means that the housing resource is the housing resource in the city, and the basic housing information of the housing resource can be extracted. Alternatively, if the city is different from the city in the basic housing information of the housing resource, it means that the housing resource is not the housing resource in the city, and the basic housing information of the housing resource may not be extracted. The above operation is also performed for the basic housing information of each other housing resource traversed, and the basic housing information of all the housing resources finally extracted is the basic housing information of the housing resources in the city, and the basic housing information of the housing resources in the city is provided to real estate agents or users for use.

[0034] For example, sometimes real estate agents or users need to query the basic housing information of a house maintained by a real estate agency in the data system of a third-party manufacturer. In this case, the index information may be the real estate agency.

[0035] In order to be able to query the housing resources maintained by the real estate agency in the data system of the third-party manufacturer, the data system of the third-party manufacturer can traverse the basic housing information of all the entered housing resources, and each time the basic housing information of a housing resource is traversed, it can be determined whether the real estate agency is the same as the real estate agency in the basic housing information of the housing resource. If the real estate agency is the same as the real estate agency in the basic housing information of the housing resource, it means that the housing resource is the housing resource maintained by the real estate agency, and the basic housing information of the housing resource can be extracted. Alternatively, if the real estate agency is different from the real estate agency in the basic housing information of the housing resource, it means that the housing resource is not maintained by the real estate agency, and the basic housing information of the housing resource may not be extracted. The above operation is also performed for the basic housing information of each other housing resource traversed, and the basic housing information of all the housing resources finally extracted is the basic housing information of the housing resource maintained by the real estate agency, and the basic housing information of the housing resource maintained by the real estate agency is provided to real estate agents or users for use.

[0036] However, the inventors found that there are a large number of houses that need to be rented and sold nationwide. Therefore, each real estate agency will enter a large amount of basic house information in the data system of a third-party manufacturer. In this way, the amount of data that needs to be processed in the process of querying the basic house information of a house in the data system of a third-party manufacturer according to a certain index information through the above traversal method is very large, resulting in slow speed, long time consumption, low query efficiency, and high consumption of system resources. Among them, relative to the data system, a real estate agency different from the enterprise where the data system is located is also a third-party real estate agency.

[0037] In order to solve the above technical problems, the solution of the present application is proposed.

[0038] For example, refer to Figure 1 , showing a flow chart of the steps of a method for processing housing source data of the present application, the method is applied to an electronic device, the electronic device has a data system, the data system has a database, for example, a database based on Wtable or other databases, etc., the database has a database table for storing basic housing source information of housing sources, such as housing source attribute information in the basic housing source information of housing sources entered by each real estate agency. For example, a database based on Wtable has database tables corresponding to each housing source cascade level information, and the database table corresponding to any housing source cascade level information is used to store the corresponding relationship between the housing source identification information corresponding to the housing source cascade level information of the housing source and the housing source attribute information matching the housing source attribute information pre-associated with the housing source cascade level information of the housing source. The database can correspond to multiple real estate agency companies, wherein the real estate agency company can be a third-party real estate agency company or a non-third-party real estate agency company.

[0039] Among them, Wtable is an efficient data structure for storing and querying time series data. It was developed by WaveComputing and is optimized for big data analysis and time series data processing. The core feature of Wtable is that it can store a large amount of time series data in memory at a very low cost and can query and analyze it quickly. A database table based on Wtable supports the storage of data in the billions.

[0040] In the present application, the electronic device includes a server, etc., and the server may include a cloud, etc.

[0041] The method may specifically include the following steps:

[0042] In step S101, when the basic house source information of the target house source is obtained, a plurality of pre-set house source cascade hierarchical information is obtained. The ranges corresponding to the plurality of house source cascade hierarchical information are sequentially included, and the semantic range corresponding to the next house source cascade hierarchical information is included in the semantic range corresponding to the previous house source cascade hierarchical information; each house source cascade hierarchical information is pre-associated with different house source attribute information; the number of basic house source information of the target house source is greater than or equal to 1.

[0043] In one embodiment of the present application, the pre-set multiple cascade hierarchical information of housing sources may include: cascade hierarchical information about the location of the housing source, for example, the cascade hierarchical information of housing sources includes information for indicating the location range of the housing source and the location ranges of the housing sources indicated by the multiple cascade hierarchical information of housing sources are different, for example, the multiple cascade hierarchical information of housing sources may include: multiple of: province, city, district / county, street, and community house number / community name, etc. In this example, when the city is the next cascade hierarchical information of housing sources, the province is the previous cascade hierarchical information of housing sources, and the semantic scope of the city is included in the semantic scope of the province. The relationship between other cascade hierarchical information of housing sources can be understood accordingly.

[0044] And / or, in another embodiment of the present application, the pre-set multiple house source cascade hierarchical information may include: cascade hierarchical information about the real estate brokerage entity that maintains the house source, for example, the house source cascade hierarchical information includes information for representing the real estate brokerage entity that maintains the house source, and the real estate brokerage entities that maintain the house source represented by the multiple house source cascade hierarchical information are of different sizes; for example, the multiple house source cascade hierarchical information may include: a real estate brokerage company, a real estate brokerage company's store, and a real estate broker in the real estate brokerage company's store, etc. In this example, when the store is the next house source cascade hierarchical information, the company is the previous house source cascade hierarchical information, and the semantic scope of the store is included in the semantic scope of the company. The relationship between other house source cascade hierarchical information can be understood accordingly.

[0045] For instance, in one example, the pre-set cascading hierarchical information of multiple listings may include: cascading hierarchical information about the location of the listing and cascading hierarchical information about the real estate agency that maintains the listing. For example, the pre-set cascading hierarchical information of multiple listings may include cities, real estate agency companies, and stores of real estate agency companies, etc.

[0046] The above is an example of the pre-set multiple housing source cascade level information of this application, but it is not intended to limit the scope of protection of this application.

[0047] For example, one way to understand "obtaining the basic housing information of the target housing source" can be: a real estate agent in a store of a local real estate agency (third-party real estate agency or non-third-party real estate agency) finds a new housing source (and the owner of the new housing source entrusts the real estate agent in the store of the real estate agency to rent or sell the housing source), and the real estate agent uploads the basic housing source information of the new housing source to the data system through the real estate agent's terminal device. In this example, the new housing source can be regarded as the target housing source, and the basic housing source information of the new housing source uploaded by the real estate agent's terminal device to the data system can be regarded as the basic housing source information. The basic housing source information of the target housing source can also be information entered by personnel of the enterprise where the data system is located.

[0048] Alternatively, another way to understand "obtaining the basic property information of the target property" can be: obtaining the basic property information of one of the basic property information of multiple properties stored in a general database table. In this example, the one of the properties can be regarded as the target property, and the basic property information of the one of the properties can be regarded as the basic property information.

[0049] The total database table is a database table, and the basic property information of multiple properties uploaded in the historical process can be stored in the total database table. For example, the basic property information of all properties uploaded in the historical process is stored in the total database table.

[0050] Afterwards, for any pre-set cascade level information of housing sources, the processes of step S102 to step S103 are respectively executed.

[0051] In step S102, in the basic property information of the target property, target property attribute information that matches the property attribute information pre-associated with the property cascade level information is searched, and based on the found target property attribute information, target property identification information corresponding to the property cascade level information of the target property is generated. The property identification information corresponding to the property cascade level information of different properties is different.

[0052] In one embodiment of the present application, the basic housing source information includes: multiple housing source attribute information of the target housing source. The multiple housing source attribute information of the target housing source may include: the house number of the target housing source, the province where the target housing source is located, the city where the target housing source is located, the district / county where the target housing source is located, the street where the target housing source is located, the house number / name of the community where the target housing source is located, the real estate agent who maintains the target housing source, the store of the real estate agent company where the real estate agent who maintains the target housing source is located, and the real estate agent company where the real estate agent who maintains the target housing source is located, etc.

[0053] Thus, this step can be implemented through the following process, including:

[0054] 1021. Search for property attribute information that matches the property attribute information pre-associated with the cascade level information of the target property among multiple property attribute information of the target property.

[0055] The property information pre-associated with the property cascade level information may be a key (field name), and the property information matching the property information pre-associated with the property cascade level information may be a value (field value) corresponding to the key. The key-value constitutes a key-value pair.

[0056] For example, the property information pre-associated with the property cascade level information is "room number", and the property information matching the property information pre-associated with the property cascade level information is "1002".

[0057] For another example, the property attribute information pre-associated with the property cascade level information is "the name of the community where the property is located", and the property attribute information matching the property attribute information pre-associated with the property cascade level information is "safe community".

[0058] For another example, the property information pre-associated with the property cascade hierarchical information is "a real estate agent who maintains the property", and the property information matching the property information pre-associated with the property cascade hierarchical information is "Zhang San".

[0059] In the present application, the property information pre-associated with different property cascade level information is not all the same / there are differences. It can be set in advance which property information each property cascade level information is used to pre-associate with. Thus, in this step, property information matching the property information pre-associated with the property cascade level information can be searched in the target property in multiple property information of the target property according to the pre-set information, and a corresponding relationship between the property cascade level information and the property information matching in the multiple property information of the target property can be established. Different property cascade level information corresponds to different property information of the target property.

[0060] For example, for any cascaded hierarchical information of a house, the multiple house attribute information of the target house is searched in advance for the house attribute information that matches the house attribute information pre-associated with the cascaded hierarchical information of the house, and the corresponding relationship between the cascaded hierarchical information of the house and the found house attribute information is stored. The same is true for each other cascaded hierarchical information of the house.

[0061] Thus, in this step, it is possible to search for property attribute information matching the property attribute information pre-associated with the property cascade level information among the multiple property attribute information of the target property.

[0062] For example, in one embodiment, among the multiple property information of the target property, the property information that matches the property information pre-associated with the property cascade level information "province" includes: the house number of the target property and the province where the target property is located.

[0063] The property attribute information that matches the property attribute information pre-associated with the property cascade level information "city" includes: the room number of the target property, the province where the target property is located, and the city where the target property is located.

[0064] The property attribute information that matches the property attribute information pre-associated with the property cascade level information "district / county" includes: the house number of the target property, the province where the target property is located, the city where the target property is located, and the district / county where the target property is located.

[0065] The property attribute information that matches the property attribute information pre-associated with the property cascade level information "street" includes: the house number of the target property, the province where the target property is located, the city where the target property is located, the district / county where the target property is located, and the street where the target property is located.

[0066] The property attribute information that matches the property attribute information pre-associated with the property cascade level information "community house number / community name" includes: the house number of the target property, the province where the target property is located, the city where the target property is located, the district / county where the target property is located, the street where the target property is located, and the community house number / community name where the target property is located.

[0067] The property attribute information that matches the property attribute information pre-associated with the property cascade level information "real estate agency" includes: the room number of the target property and the real estate agency that maintains the target property.

[0068] The property attribute information that matches the property attribute information pre-associated with the property cascade level information "store of real estate agency company" includes: the room number of the target property, the real estate agency company that maintains the target property, and the store of the real estate agency company where the real estate agent who maintains the target property is located.

[0069] The property attribute information that matches the property attribute information pre-associated with the property cascade hierarchical information "real estate agent in the store of the real estate agency company" includes: the room number of the target property, the real estate agency company that maintains the target property, the store of the real estate agency company where the real estate agent who maintains the target property is located, and the real estate agent who maintains the target property.

[0070] Alternatively, in another embodiment, among the multiple property information of the target property, the property information that matches the property information pre-associated with the property cascade level information "city" includes: the room number of the target property and the city where the target property is located.

[0071] The property attribute information that matches the property attribute information pre-associated with the property cascade level information "real estate agency" includes: the house number of the target property, the city where the target property is located, and the real estate agency that maintains the target property.

[0072] The property attribute information that matches the property attribute information pre-associated with the property cascade level information "store of the real estate agency company" includes: the room number of the target property, the city where the target property is located, the real estate agency company that maintains the target property, and the store of the real estate agency company where the real estate agent who maintains the target property is located.

[0073] 1022. Generate target property source identification information corresponding to the cascade level information of the target property source according to the found property source attribute information.

[0074] In one embodiment, the found property information includes the room number of the target property, and different properties have different room numbers. In this way, the target property identification information corresponding to the cascade level information of the target property can be generated according to the room number of the target property in the found property information. For example, the room number of the target property in the found property information is determined as the target property identification information corresponding to the cascade level information of the target property, so that the target property identification information corresponding to the cascade level information of the target property is unique.

[0075] Alternatively, in another embodiment, when only one property attribute information is found, a generation algorithm for generating a unique key on the market can be used to generate a unique key based on the property attribute information found, and use it as the target property identification information corresponding to the cascade level information of the target property.

[0076] Alternatively, in another embodiment, when more than two pieces of property information are found, the two or more pieces of property information can be combined (for example, character splicing, etc.) to obtain combined information, and then a generation algorithm for generating unique keys on the market is used to generate a unique key based on the combined information, and the unique key is used as the target property identification information corresponding to the cascade level information of the target property.

[0077] In step S103, the correspondence between the target property source identification information and the target property source attribute information is stored in the database table corresponding to the property source cascade level information, and different property source cascade level information corresponds to different database tables.

[0078] The database table corresponding to the cascading hierarchy information of a property has at least two columns, one of which is used to store property identification information corresponding to the cascading hierarchy information of a property, and the other is used to store property attribute information that matches the property attribute information pre-associated with the cascading hierarchy information of a property.

[0079] In this way, the target property identification information can be stored in a row in one of the columns in the database table corresponding to the property cascade hierarchy information, and the target property attribute information can be stored in a row in another column in the database table corresponding to the property cascade hierarchy information, so that the target property identification information and the target property attribute information are located in different columns of the same row in the database table corresponding to the property cascade hierarchy information. The same row means that the target property identification information and the target property attribute information correspond to each other, thereby realizing the corresponding relationship between the target property identification information and the target property attribute information in the database table corresponding to the property cascade hierarchy information.

[0080] Perform the above steps for each other pre-set cascade level information of the property.

[0081] Among them, since different house source cascade level information corresponds to different database tables, the house source attribute information of the house sources corresponding to different house source cascade level information are independent of each other and do not affect each other, which is convenient for subsequent maintenance. For example, the subsequent update process of the house source attribute information of the house source in the database table corresponding to a certain house source cascade level information does not affect the house source attribute information of the house sources in the database tables corresponding to other house source cascade level information, nor is it affected by the house source attribute information of the house sources in the database tables corresponding to other house source cascade level information.

[0082] The database table in the present application may be a database table in a database based on Wtable or other database tables.

[0083] Among them, the total data volume of property attribute information of properties across the country is very large, usually in the billions.

[0084] In one method, a single database table of a database used by a data system of an electronic device supports a data volume of tens of millions. For example, the database used by the data system of the electronic device is a MYSQL-based database, etc. The MYSQL database table supports a data volume of tens of millions. However, the property attribute information of multiple properties uploaded in the historical process is a data volume of billions. Then, using MYSQL, it is impossible to store the property attribute information of all the multiple properties uploaded in the historical process in one database table. It is necessary to split the property attribute information of the multiple properties uploaded in the historical process into multiple database tables for separate storage.

[0085] Thus, in this case, when it is necessary to separately store the property attribute information of all corresponding properties for any one property cascade level information, it is necessary to separately store a copy of the property attribute information of the properties stored in multiple database tables according to the one property cascade level information (respectively stored in another different database table), that is, it is necessary to separately process the property attribute information of the properties in multiple database tables for the one property cascade level information, resulting in high processing cost, long time consumption, and high consumption of system resources.

[0086] Especially when a database table needs to occupy a separate system resource (such as a physical machine, etc.), the amount of system resources (such as physical machines, etc.) required to be consumed is huge, resulting in high costs.

[0087] For example, assuming that when MYSQL is used, the property information of multiple properties uploaded in the historical process is split into 10 database tables for separate storage. If it is necessary to store a separate copy of the property information of each of the three property cascade level information, for the property information of the property in each of the 10 database tables, it is necessary to store a separate copy for each of the three property cascade level information, so that 30 copies need to be stored separately, and each copy is stored in an additional different database table, so that an additional 30 database tables are required. If each database table needs to occupy a separate system resource (such as a physical machine, etc.), an additional 30 system resources (such as 30 physical machines, etc.) are required, resulting in high costs.

[0088] In the solution of the present application, a single database table of the database used by the data system of the electronic device supports a data system with a data volume of 100 million levels, such as a database based on Wtable or other data systems that support a data volume of 100 million levels. After using a database or data system with a data volume of 100 million levels, it is possible to support the storage of the property information of multiple properties uploaded in the historical process in one database table. The property information of multiple properties uploaded in the historical process can be stored in one database table.

[0089] Thus, in this case, when it is necessary to separately store a copy of the property attribute information of a property for any property cascade level information, the property attribute information of multiple properties uploaded in the historical process in the one database table can be stored separately according to the one property cascade level information (stored separately in another database table). That is, for the one property cascade level information, only the property attribute information of multiple properties uploaded in the historical process in the one database table can be processed, and there is no need to process multiple database tables separately, which reduces the processing cost, reduces the time consumption, and reduces the consumption of system resources.

[0090] Especially when a database table needs to occupy a separate system resource (such as a physical machine, etc.), the amount of system resources (such as physical machines, etc.) required to be consumed is greatly reduced, thereby reducing costs.

[0091] For example, assuming that Wtable is used to centrally store the property information of multiple properties uploaded in the historical process in a database table, then when it is necessary to store a separate copy of the property information of each of the three cascade-level information of properties, for the property information of the property in this database table, it is necessary to store a separate copy for each of the three cascade-level information of properties, so that three copies need to be stored separately, and each copy is stored in an additional different database table, so that three additional database tables are required. If each database table needs to occupy a system resource (such as a physical machine, etc.) separately, then three additional system resources (such as three physical machines, etc.) are required, which is much less than the 30 system resources (such as 30 physical machines, etc.) required in the above method, which can reduce costs.

[0092] In addition, since the amount of data in the database table involved in the solution of this application is small, the workload and cost of maintaining / updating / expanding the basic information of the house in the database table in the future are low. And since the house attribute information of multiple houses uploaded in the historical process is centrally stored in one database table when using Wtable, in this way, if the cascade level information of the house needs to be added later, the house attribute information of the house needs to be extracted in one database table, and there is no need to extract the house attribute information of the house separately from multiple database tables that store the house attribute information of the house in a dispersed manner. It can be seen that the amount of data in the database table involved is small, and the cost of adding the cascade level information of the house is low.

[0093] The database table is a database table based on Wtable. In this way, even if the property attribute information of multiple properties uploaded in the historical process reaches a data volume of billions, the property attribute information of multiple properties uploaded in the historical process can also be centrally stored in one database table.

[0094] In another embodiment of the present application, after executing step S102, it can be detected whether the property attribute information of the target property corresponding to the target property identification information has been stored in the database table corresponding to the property cascade hierarchy information.

[0095] For example, the target house source identification information may be searched in the database table corresponding to the house source cascade hierarchy information. If the target house source identification information is found in the database table corresponding to the house source cascade hierarchy information, it means that the house source attribute information of the target house source corresponding to the target house source identification information is stored in the database table corresponding to the house source cascade hierarchy information, and the house source attribute information of the target house source corresponding to the target house source identification information may be stored in the historical process, etc. Alternatively, if the target house source identification information is not found in the database table corresponding to the house source cascade hierarchy information, it means that the house source attribute information of the target house source corresponding to the target house source identification information is not stored in the database table corresponding to the house source cascade hierarchy information.

[0096] If the target house source property information corresponding to the target house source identification information is not stored in the database table corresponding to the house source cascade level information, then step S103 is executed again: the corresponding relationship between the target house source identification information and the target house source property information is stored in the database table corresponding to the house source cascade level information. Alternatively, if the target house source property information corresponding to the target house source identification information is stored in the database table corresponding to the house source cascade level information, then step S103 is no longer executed, and the stored target house source property information corresponding to the target house source identification information can be updated according to the target house source property information in the database table corresponding to the house source cascade level information.

[0097] In another embodiment of the present application, users, real estate agents or real estate agency companies may sometimes need to add new cascade hierarchy information of housing sources according to actual business needs, so as to facilitate the subsequent search for basic housing information of corresponding housing sources based on the newly added cascade hierarchy information of housing sources.

[0098] To this end, the real estate agent can use his terminal device to submit a level addition request to the electronic device, where the level addition request carries the cascade level information of the property to be added, and the cascade level information of the property to be added is different from the pre-set cascade level information of multiple property sources.

[0099] The electronic device may obtain a layer addition request, obtain basic house source information of multiple houses stored in a general database table, and create a new database table corresponding to the cascade layer information of the house to be added.

[0100] The total database table is a database table, and the basic property information of multiple properties uploaded in the historical process can be stored in the total database table. For example, the basic property information of all properties uploaded in the historical process is stored in the total database table.

[0101] For the basic property information of any property in a general database table, property attribute information that matches the property attribute information pre-associated with the property cascade level information to be added can be searched in the basic property information of the property. According to the property attribute information that matches the property attribute information pre-associated with the property cascade level information to be added, the property identification information to be added corresponding to the property cascade level information to be added of the property is generated. The specific method can be referred to the description of step S102 and will not be described in detail here.

[0102] Then, in the newly added database table corresponding to the cascade level information of the newly added house, the corresponding relationship between the identification information of the newly added house and the property information matching the property information pre-associated with the cascade level information of the newly added house is stored. The same is true for the basic property information of each other house in a general database table.

[0103] Afterwards, the newly added property cascade level information can be added to the pre-set multiple property cascade level information.

[0104] Correspondingly, in another embodiment of the present application, sometimes users, real estate agents or real estate agency companies no longer need to search for the basic property information of the corresponding property based on an existing property cascade hierarchy information based on actual business needs. In this way, the database table corresponding to the property cascade hierarchy information to be deleted may no longer be stored to save storage space.

[0105] For example, a real estate agent can use his terminal device to submit a hierarchical deletion request to the electronic device, and the hierarchical deletion request carries the cascade hierarchical information of the house to be deleted. The electronic device can obtain the hierarchical deletion request and then delete the database table corresponding to the cascade hierarchical information of the house to be deleted.

[0106] Afterwards, the property cascade level information to be deleted can be removed from the pre-set multiple property cascade level information.

[0107] Alternatively, in another embodiment of the present application, sometimes a house has been rented out, or has been sold, or has been stopped by the owner. In this case, the corresponding relationship including the house identification information of the house may no longer be stored to save storage resources.

[0108] For example, a real estate agent may use his terminal device to submit a property deletion request to an electronic device, or the property deletion request may carry multiple property attribute information of the property to be deleted, and the multiple property attribute information of the property to be deleted may be specified by the real estate agent in the query request, etc.

[0109] The multiple property attribute information of the house to be deleted may include: the house number of the house to be deleted, the province where the house to be deleted is located, the city where the house to be deleted is located, the district / county where the house to be deleted is located, the street where the house to be deleted is located, the house number / name of the community where the house to be deleted is located, the real estate agent who maintains the house to be deleted, the branch of the real estate agency where the real estate agent who maintains the house to be deleted is located, and the real estate agency where the real estate agent who maintains the house to be deleted is located, etc.

[0110] The electronic device can obtain a property deletion request, and then for any pre-set property cascade level information, it can search for property attribute information that matches the property attribute information pre-associated with the property cascade level information among multiple property attribute information of the property to be deleted, wherein the property attribute information pre-associated with different property cascade level information matches different property attribute information of the property to be deleted.

[0111] For example, for any cascaded hierarchical information of a house, the property information that matches the cascaded hierarchical information of the house and the property information pre-associated with the cascaded hierarchical information of the house to be deleted is stored in the association relationship between the cascaded hierarchical information of the house and the property information of the house. The same is true for each other cascaded hierarchical information of the house.

[0112] Thus, in this step, the property attribute information that matches the property attribute information pre-associated with the property cascade level information can be searched in the association relationship.

[0113] Then, based on the found property information, the property identification information corresponding to the property cascade level information of the property to be deleted is generated. For the specific generation, please refer to the description of step S102, which will not be described in detail here. Then, in the database table corresponding to the property cascade level information, the corresponding relationship including the property identification information corresponding to the property cascade level information of the property to be deleted can be deleted, and the corresponding relationship includes: the corresponding relationship between the property identification information corresponding to the property cascade level information of the property to be deleted and the property attribute information that matches the property attribute information pre-associated with the property cascade level information of the property to be deleted.

[0114] In this application, based on Figure 1 In the illustrated embodiment, real estate agents or users can query property information of a property based on the property cascade hierarchy information and the correspondence between property identification information corresponding to the property cascade hierarchy information of the property stored in the database table corresponding to the property cascade hierarchy information and property property information pre-associated with the property cascade hierarchy information of the property.

[0115] For example, refer to Figure 2 , showing a flow chart of the steps of a method for processing housing source data of the present application, the method is applied to an electronic device, the electronic device has a data system, the data system has a database, for example, a database based on Wtable or other databases, etc., the database has a database table for storing the housing source attribute information of the housing source, such as the housing source attribute information in the basic housing source information of the housing source entered by each real estate agency. For example, the database has database tables corresponding to each housing source cascade level information, and the database table corresponding to any housing source cascade level information records the correspondence between the housing source identification information corresponding to the housing source cascade level information of the housing source and the housing source attribute information matching the housing source attribute information pre-associated with the housing source cascade level information of the housing source. The database can correspond to multiple real estate agency companies, wherein the real estate agency company can be a third-party real estate agency company or a non-third-party real estate agency company.

[0116] In the present application, the electronic device includes a server, etc., and the server may include a cloud, etc.

[0117] The method may specifically include the following steps:

[0118] In step S201, a query request is obtained, and the query request carries at least cascade level information of the house to be queried.

[0119] The query request may be submitted by users seeking to rent or buy a house or real estate agents through their terminal devices to the electronic device.

[0120] The cascade-level information of the properties to be queried may include at least one of the following: a certain province, a certain city, a certain district / county, a certain street, a certain community house number / community name, a certain real estate agency, a certain store of a certain real estate agency, or a certain real estate agent in a certain store of a certain real estate agency, etc.

[0121] The cascade level information of the house to be queried may be the cascade level information of the house to be queried.

[0122] In step S202, a target database table corresponding to the cascade level information of the housing sources to be queried is searched in the database tables corresponding to the cascade level information of the housing sources to be queried, and the target database table stores: a correspondence between the housing source identification information corresponding to the cascade level information of the housing sources to be queried of each housing source in at least one housing source and the housing source attribute information matching the housing source attribute information pre-associated with the cascade level information of the housing sources to be queried of each housing source.

[0123] In the present application, a data system of the electronic device stores a plurality of database tables corresponding to the cascade level information of housing sources. Thus, the target database table corresponding to the cascade level information of housing sources to be queried can be searched in the database tables corresponding to the cascade level information of housing sources, and then step S203 is executed.

[0124] In step S203, the property identification information corresponding to the property cascade information to be queried of at least some of the properties in the target database table and / or the property attribute information matching the property attribute information pre-associated with the property cascade information to be queried of at least some of the properties in the target database table are output.

[0125] For example, in the present application, the house source identification information corresponding to the house source cascade level information to be queried of some houses in the target database table can be output, or the house source identification information corresponding to the house source cascade level information to be queried of all houses in the target database table can be output, or the house source attribute information matching the house source attribute information pre-associated with the house source cascade level information to be queried of some houses in the target database table can be output, or the house source attribute information matching the house source attribute information pre-associated with the house source cascade level information to be queried of all houses in the target database table can be output, or the house source identification information corresponding to the house source cascade level information to be queried of some houses in the target database table and the house source attribute information matching the house source attribute information pre-associated with the house source cascade level information to be queried of some houses can be output, or the house source identification information corresponding to the house source cascade level information to be queried of all houses in the target database table and the house source attribute information matching the house source attribute information pre-associated with the house source cascade level information to be queried of all houses can be output.

[0126] Output can be understood as display, etc., for viewing by the users who are looking to rent or buy a house or real estate agents, or it can be understood as sending to the terminal devices of the users who are looking to rent or buy a house or real estate agents, etc., for reception and display by the terminal devices of the users who are looking to rent or buy a house or real estate agents, and then for viewing by the users who are looking to rent or buy a house or real estate agents using their terminal devices.

[0127] However, there is a lot of property identification information and property attribute information in the target database table corresponding to the cascaded hierarchical information of properties to be queried, which makes it inconvenient for users who are looking to rent or buy a house or real estate agents to finely query the property attribute information of the property they are interested in in the target database table corresponding to the cascaded hierarchical information of properties to be queried.

[0128] To this end, in one embodiment of the present application, when outputting the house identification information corresponding to the house cascade level information to be queried of at least some of the houses in the target database table and / or the house attribute information matching the house attribute information pre-associated with the house cascade level information to be queried of at least some of the houses, it can be implemented by the following process, including:

[0129] 2031. Obtain the property identification information corresponding to the property cascade level information to be queried according to the query request.

[0130] In one embodiment of the present application, the query request may also carry the house identification information corresponding to the cascade level information of the house to be queried, wherein the house identification information corresponding to the cascade level information of the house to be queried may be specified in the query request by the users seeking to rent or buy a house or the real estate agent. In this way, the house identification information corresponding to the cascade level information of the house to be queried may be extracted in the query request.

[0131] Alternatively, in another embodiment of the present application, the query request carries at least multiple property information of the house to be queried. The multiple property information of the house to be queried may be specified by users seeking to rent or buy a house or real estate agents in the query request.

[0132] The multiple property attribute information of the property to be queried include: the house number of the property to be queried, the province where the property to be queried is located, the city where the property to be queried is located, the district / county where the property to be queried is located, the street where the property to be queried is located, the house number / name of the community where the property to be queried is located, the real estate agent who maintains the property to be queried, the branch of the real estate agency where the real estate agent who maintains the property to be queried is located, and the real estate agency where the real estate agent who maintains the property to be queried is located, etc.

[0133] In this way, it is possible to search for property attribute information that matches the property attribute information pre-associated with the cascade level information of the property to be queried among the multiple property attribute information of the property to be queried; and generate property identification information corresponding to the cascade level information of the property to be queried of the property to be queried according to the found property attribute information. For details, please refer to the description of step S102, which will not be described in detail here.

[0134] Alternatively, in another embodiment of the present application, the query request at least carries the property information of the house to be queried that matches the property information of the house to be queried that is pre-associated with the cascade level information of the house to be queried, and the property information of the house to be queried that matches the property information of the house to be queried that is pre-associated with the cascade level information of the house to be queried can be specified in the query request by the users who are looking for a house to rent or buy a house or the real estate agent. In this way, the house identification information corresponding to the cascade level information of the house to be queried can be generated according to the property information of the house to be queried that matches the property information of the house to be queried that is pre-associated with the cascade level information of the house to be queried. For details, please refer to the description of step S102, which will not be described in detail here.

[0135] 2032. In the target database table, search for the property attribute information corresponding to the acquired property identification information.

[0136] 2033. Output the obtained property identification information and / or the found property attribute information.

[0137] Through this embodiment, accurate indexing can be achieved. For example, it can be convenient for users who are looking to rent or buy a house or real estate agents to finely query the property information of the house they are interested in in the target database table corresponding to the cascade level information of the house to be queried.

[0138] It should be noted that, for the method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions involved are not necessarily required by the present application.

[0139] Reference Figure 3, shows a structural block diagram of a device for processing house source data of the present application, the device is applied to an electronic device, the device comprises: a first acquisition module 11, used to acquire a plurality of preset house source cascade level information when the basic house source information of the target house source is acquired; the ranges corresponding to the plurality of house source cascade level information are sequentially included, and the semantic range corresponding to the next house source cascade level information is included in the semantic range corresponding to the previous house source cascade level information; each house source cascade level information is respectively pre-associated with different house source attribute information; the number of the basic house source information of the target house source is greater than or equal to 1; a first search module 12, used to search for any preset house source level Cascade level information, in the basic house source information of the target house source, search for target house source attribute information that matches the house source attribute information pre-associated with the house source cascade level information, a first generating module 13, for generating target house source identification information corresponding to the house source cascade level information of the target house source according to the found target house source attribute information, and the house source identification information corresponding to the house source cascade level information of different houses is different; a first storing module 14, for storing the correspondence between the target house source identification information and the target house source attribute information in a database table corresponding to the house source cascade level information, and the database tables corresponding to different house source cascade level information are different.

[0140] In an optional implementation, the device also includes: a detection module, which is used to detect whether the property information of the target property source corresponding to the target property source identification information has been stored in the database table corresponding to the property source cascade hierarchy information; the first storage module is also used to: if the property information of the target property source corresponding to the target property source identification information has not been stored, then store the corresponding relationship between the target property source identification information and the target property source attribute information in the database table corresponding to the property source cascade hierarchy information; or, an update module, which is used to update the stored property information of the target property source corresponding to the target property source identification information in the database table corresponding to the property source cascade hierarchy information according to the target property source attribute information if the property information of the target property source corresponding to the target property source identification information has been stored.

[0141] In an optional implementation, the device further includes: a second acquisition module, used to acquire a hierarchical addition request, the hierarchical addition request carries cascade hierarchical information of a to-be-added house source, the cascade hierarchical information of the to-be-added house source being different from the pre-set cascade hierarchical information of the multiple house sources; a third acquisition module, used to acquire basic house source information of multiple house sources stored in a general database table, and to create a new database table corresponding to the cascade hierarchical information of the to-be-added house sources; a second search module, used to search for the basic house source information of each house source in the one general database table, in the basic house source information of the house source, the information that matches the pre-set cascade hierarchical information of the to-be-added house source; The associated property source property information matches the property source property information, and the property source property information matches the property source property information pre-associated with the property source cascade level information to be added; a second generating module is used to generate the property source identification information to be added corresponding to the property source cascade level information to be added of the property source; a second storage module is used to store the correspondence between the property source identification information to be added and the property source property information matching the property source property information pre-associated with the property source cascade level information to be added in the newly added database table corresponding to the property source cascade level information to be added; an adding module is used to add the property source cascade level information to be added as a pre-set property source cascade level information.

[0142] In an optional implementation, the device also includes: a fourth acquisition module, used to obtain a hierarchical deletion request, the hierarchical deletion request carrying the cascade hierarchy information of the house source to be deleted; a first deletion module, used to delete the database table corresponding to the cascade hierarchy information of the house source to be deleted, and to delete the cascade hierarchy information of the house source to be deleted from the pre-set multiple cascade hierarchy information of the house source.

[0143] In an optional implementation, the device also includes: a fifth acquisition module, used to obtain a property deletion request, the property deletion request carries multiple property attribute information of the property to be deleted; a third search module, used to search for property attribute information pre-associated with any pre-set property cascade level information among multiple property attribute information of the property to be deleted; wherein different property cascade level information respectively pre-associated with the property attribute information of the property to be deleted is different; a third generation module, used to generate property identification information corresponding to the property cascade level information of the property to be deleted based on the found property attribute information; a second deletion module, used to delete the corresponding relationship including the generated property identification information in the database table corresponding to the property cascade level information.

[0144] In an optional implementation, the first generation module includes: a first generation unit, which is used to generate target house identification information corresponding to the house cascade hierarchy information of the target house according to the house number of the target house in the found house attribute information when the house attribute information found includes the house number of the target house; or, a second generation unit, which is used to generate a unique key according to the one house attribute information found when there is only one house attribute information found, and use it as the target house identification information corresponding to the house cascade hierarchy information of the target house; or, a third generation unit, which is used to combine the two or more house attribute information found when there are more than two house attribute information found, so as to obtain combined information, generate a unique key according to the combined information, and use it as the target house identification information corresponding to the house cascade hierarchy information of the target house.

[0145] Reference Figure 4 , showing a structural block diagram of a device for processing housing source data of the present application, the device is applied to an electronic device, and the device includes: a sixth acquisition module 21, used to obtain a query request, the query request at least carries the cascade level information of the housing source to be queried; a fourth search module 22, used to search for a target database table corresponding to the cascade level information of the housing source to be queried in database tables corresponding to multiple cascade level information of the housing source, the target database table storing: a correspondence between the housing source identification information corresponding to the cascade level information of the housing source to be queried of each housing source in at least one housing source and the housing source attribute information matching the housing source attribute information pre-associated with the cascade level information of the housing source to be queried of each housing source; an output module 23, used to output the housing source identification information corresponding to the cascade level information of the housing source to be queried of at least some housing sources in the target database table and / or the housing source attribute information matching the housing source attribute information pre-associated with the cascade level information of the housing source to be queried of at least some housing sources.

[0146] In an optional implementation, the query request carries property identification information corresponding to the cascade level information of properties to be queried; the output module includes: an acquisition unit, used to acquire the property identification information corresponding to the cascade level information of properties to be queried according to the query request; a search unit, used to search for property attribute information corresponding to the acquired property identification information in the target database table; and an output unit, used to output the acquired property identification information and / or the found property attribute information.

[0147] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0148] Optionally, an embodiment of the present invention further provides an electronic device, comprising: a processor, a memory, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, the various processes of the above-mentioned method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be described here.

[0149] The embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, each process of the above method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here. The computer-readable storage medium is, for example, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0150] Figure 5 800 is a block diagram of an electronic device 800 shown in the present application. For example, the electronic device 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0151] Reference Figure 5 , the electronic device 800 may include one or more of the following components: a processing component 802 , a memory 804 , a power component 806 , a multimedia component 808 , an audio component 810 , an input / output (I / O) interface 812 , a sensor component 814 , and a communication component 816 .

[0152] The processing component 802 generally controls the overall operation of the electronic device 800, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to complete all or part of the steps of the above method. In addition, the processing component 802 may include one or more modules to facilitate the interaction between the processing component 802 and other components. For example, the processing component 802 may include a multimedia module to facilitate the interaction between the multimedia component 808 and the processing component 802.

[0153] The memory 804 is configured to store various types of data to support operations on the device 800. Examples of such data include instructions for any application or method operating on the electronic device 800, contact data, phone book data, messages, images, videos, etc. The memory 804 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0154] The power supply component 806 provides power to the various components of the electronic device 800. The power supply component 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 800.

[0155] The multimedia component 808 includes a screen that provides an output interface between the electronic device 800 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and / or a rear camera. When the device 800 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and the rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0156] The audio component 810 is configured to output and / or input audio signals. For example, the audio component 810 includes a microphone (MIC), and when the electronic device 800 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 804 or sent via the communication component 816. In some embodiments, the audio component 810 also includes a speaker for outputting audio signals.

[0157] I / O interface 812 provides an interface between processing component 802 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: home button, volume button, start button, and lock button.

[0158] The sensor assembly 814 includes one or more sensors for providing various aspects of status assessment for the electronic device 800. For example, the sensor assembly 814 can detect the open / closed state of the device 800, the relative positioning of components, such as the display and keypad of the electronic device 800, and the sensor assembly 814 can also detect the position change of the electronic device 800 or a component of the electronic device 800, the presence or absence of contact between the user and the electronic device 800, the orientation or acceleration / deceleration of the electronic device 800, and the temperature change of the electronic device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0159] The communication component 816 is configured to facilitate wired or wireless communication between the electronic device 800 and other devices. The electronic device 800 can access a wireless network based on a communication standard, such as WiFi, a carrier network (such as 2G, 3G, 4G or 5G), or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast operation information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0160] In an exemplary embodiment, the electronic device 800 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0161] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 804 including instructions, and the instructions can be executed by a processor 820 of an electronic device 800 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0162] Figure 61 is a block diagram of an electronic device 1900 shown in the present application. For example, the electronic device 1900 may be provided as a server.

[0163] Reference Figure 6 , the electronic device 1900 includes a processing component 1922, which further includes one or more processors, and a memory resource represented by a memory 1932 for storing instructions executable by the processing component 1922, such as an application. The application stored in the memory 1932 may include one or more modules, each corresponding to a set of instructions. In addition, the processing component 1922 is configured to execute instructions to perform the above method.

[0164] The electronic device 1900 may also include a power supply component 1926 configured to perform power management of the electronic device 1900, a wired or wireless network interface 1950 configured to connect the electronic device 1900 to a network, and an input / output (I / O) interface 1958. The electronic device 1900 may operate based on an operating system stored in the memory 1932, such as Windows Server™, Mac OS X™, Unix™, Linux™, FreeBSD™ or the like.

[0165] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0166] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present invention, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a magnetic disk, or an optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present invention.

[0167] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation modes, which are merely illustrative rather than restrictive. Under the guidance of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the present invention and the claims, all of which are within the protection of the present invention.

[0168] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the embodiments of the present invention can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0169] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0170] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0171] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0172] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0173] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.

[0174] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

Claims

1. A method for processing house data, characterized in that: The method comprises: When the basic house source information of the target house source is obtained, a plurality of pre-set house source cascade hierarchical information are obtained; the ranges corresponding to the plurality of house source cascade hierarchical information are sequentially included, and the semantic range corresponding to the next house source cascade hierarchical information is included in the semantic range corresponding to the previous house source cascade hierarchical information; each house source cascade hierarchical information is respectively pre-associated with different house source attribute information; the number of the basic house source information of the target house source is greater than or equal to 1; For any preset cascade level information of a house source, in the basic house source information of the target house source, search for the target house source attribute information that matches the house source attribute information pre-associated with the cascade level information of the house source, and generate the target house source identification information corresponding to the cascade level information of the target house source according to the found target house source attribute information, where the house source identification information corresponding to the cascade level information of different houses is different; In the database table corresponding to the house source cascade level information, the correspondence between the target house source identification information and the target house source attribute information is stored, and different house source cascade level information respectively corresponds to different database tables.

2. The method according to claim 1, characterized in that After generating the target property source identification information corresponding to the property source cascade level information of the target property source according to the found target property source, the method further includes: In the database table corresponding to the house source cascade level information, detecting whether the house source attribute information of the target house source corresponding to the target house source identification information has been stored; If the property information of the target property corresponding to the target property identification information is not stored, then performing the step of storing the corresponding relationship between the target property identification information and the target property information in the database table corresponding to the property cascade level information; or, If the property attribute information of the target property corresponding to the target property identification information has been stored, then in the database table corresponding to the property cascade level information, the stored property attribute information of the target property corresponding to the target property identification information is updated according to the target property attribute information.

3. The method according to claim 1, characterized in that The method further comprises: Obtaining a level adding request, the level adding request carrying the cascade level information of the house source to be added, the cascade level information of the house source to be added being different from the preset multiple cascade level information of the house source; Obtaining basic property information of multiple properties stored in a general database table, and creating a new database table corresponding to the cascade level information of the property to be added; For the basic housing source information of each housing source in the one general database table, search for housing source attribute information that matches the housing source attribute information pre-associated with the housing source cascade level information to be added in the basic housing source information of the housing source, generate the housing source identification information to be added corresponding to the housing source cascade level information to be added of the housing source according to the housing source attribute information that matches the housing source attribute information pre-associated with the housing source cascade level information to be added, store the corresponding relationship between the housing source identification information to be added and the housing source attribute information that matches the housing source attribute information pre-associated with the housing source cascade level information to be added in the newly added database table corresponding to the housing source cascade level information to be added; and add the housing source cascade level information to be added as a preset housing source cascade level information.

4. The method according to claim 1, characterized in that: The method further comprises: Obtain a level deletion request, where the level deletion request carries the cascade level information of the listing to be deleted; The database table corresponding to the to-be-deleted cascade level information of house sources is deleted, and the to-be-deleted cascade level information of house sources among the preset multiple cascade level information of house sources is deleted.

5. The method according to claim 1, characterized in that The method further comprises: Obtain a property deletion request, where the property deletion request carries multiple property attribute information of the property to be deleted; For any preset cascade level information of a house source, searching for house source attribute information matching the house source attribute information pre-associated with the cascade level information of the house source to be deleted among the multiple house source attribute information of the house source to be deleted; wherein the house source attribute information pre-associated with different cascade level information of the house source respectively matches different house source attribute information of the house source to be deleted; Generating, according to the found property attribute information, property identification information corresponding to the property cascade level information of the property to be deleted; In the database table corresponding to the house source cascade level information, the corresponding relationship including the generated house source identification information is deleted.

6. The method according to claim 1, characterized in that The step of generating target property source identification information corresponding to the property source cascade level information of the target property source according to the found target property source includes: In the case where the found property source attribute information includes the room number of the target property source, generating the target property source identification information corresponding to the property source cascade level information of the target property source according to the room number of the target property source in the found property source attribute information; or, In the case that only one property source attribute information is found, a unique key is generated according to the property source attribute information found, and used as the target property source identification information corresponding to the property source cascade level information of the target property source; or, When more than two property information are found, the two or more property information are combined to obtain combined information, and a unique key is generated based on the combined information, which is used as the target property identification information corresponding to the property cascade level information of the target property.

7. A method for processing house data, characterized in that: The method comprises: Obtaining a query request, wherein the query request carries at least cascade level information of a property to be queried; Searching for a target database table corresponding to the cascade level information of the house source to be queried in database tables corresponding to the cascade level information of the house source to be queried, wherein the target database table stores: a correspondence between the house source identification information corresponding to the cascade level information of the house source to be queried of each house source in at least one house source and the house source attribute information matching the house source attribute information pre-associated with the cascade level information of the house source to be queried of each house source; Output the property identification information corresponding to the property cascade level information to be queried of at least some of the properties in the target database table and / or the property attribute information matching the property attribute information pre-associated with the property cascade level information to be queried of at least some of the properties.

8. The method according to claim 7, characterized in that The query request carries the property identification information corresponding to the property cascade level information to be queried; The output target database table contains the house identification information corresponding to the house cascade level information to be queried of at least some houses and / or the house attribute information matching the house attribute information pre-associated with the house cascade level information to be queried of at least some houses, including: Acquire the property identification information corresponding to the property cascade level information to be queried according to the query request; In the target database table, searching for the property attribute information corresponding to the acquired property identification information; Output the acquired house identification information and / or the found house attribute information.

9. An electronic device, characterized in that: include: A processor, a memory, and a computer program stored in the memory and executable on the processor, wherein the computer program implements the method according to any one of claims 1 to 8 when executed by the processor.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.