Business data acquisition method, device, equipment and medium

By obtaining the business data demand information of financial terminal users, determining the query key information and interface encoding, and generating business data acquisition functions for data crawling, it solves the problem of low efficiency in enterprise business data acquisition in financial terminals and realizes fast and efficient data acquisition.

CN119782596APending Publication Date: 2025-04-08PING AN TECH (SHENZHEN) CO LTD
View PDF -1 Cites 0 Cited by

Patent Information

Application Number
CN202411738204.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-27
Publication Date
2025-04-08

AI Technical Summary

Technical Problem

Obtaining business data from a financial terminal is inefficient and requires multiple queries and analysis to obtain the required data.

Method used

By obtaining the business data requirement information of the enterprise to be queried input by the target user, determining the query key information, determining the business data acquisition function based on the query key information and query interface code information, and performing data crawling to obtain the target business data.

Benefits of technology

Directly obtaining the business data of the companies to be queried significantly improves the efficiency of business data acquisition.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119782596A_ABST
    Figure CN119782596A_ABST
Patent Text Reader

Abstract

The present invention relates to the field of big data and financial technology, and discloses a business data acquisition method, device, equipment and medium, including: acquiring business data demand information of an enterprise to be queried input by a target user; determining query key information according to the business data demand information; determining query interface coding information corresponding to the business data demand information according to the query key information; determining a first business data acquisition function according to the query key information and the query interface coding information; crawling data according to the first business data acquisition function to obtain the target business data of the enterprise to be queried. The efficiency of acquiring the business data of an enterprise from a financial terminal is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of big data and financial technology, and in particular to a method, device, equipment and medium for acquiring business data. Background Art

[0002] When obtaining business data from existing financial terminals, it is usually limited by the financial terminals themselves. For example, when obtaining data, the Wind financial terminal can usually obtain relevant financial data by calling its specific interface. The business data obtained is usually business data of securities information time series in units of days, weeks, months, etc., and securities information cross-sectional data for a certain day or reporting period, etc. However, when querying business data for a single enterprise, it is usually based on the obtained data to query and analyze again in order to obtain the business data of the enterprise, which leads to low efficiency in obtaining the business data of the enterprise. Summary of the invention

[0003] The present invention provides a business data acquisition method, device, equipment and medium to solve the problem of low efficiency when acquiring business data of an enterprise from a financial terminal.

[0004] In a first aspect, a method for acquiring business data is provided, the method comprising:

[0005] Obtain the business data requirement information of the enterprise to be queried input by the target user;

[0006] Determine query key information according to the business data demand information;

[0007] Determine the query interface coding information corresponding to the business data requirement information according to the query key information;

[0008] Determining a first business data acquisition function according to the query key information and the query interface coding information;

[0009] Data crawling is performed according to the first business data acquisition function to obtain the target business data of the enterprise to be queried.

[0010] In a second aspect, a business data acquisition device is provided, comprising:

[0011] An acquisition unit, used to acquire business data demand information of the enterprise to be queried input by the target user;

[0012] A first determining unit, configured to determine query key information according to the business data requirement information;

[0013] A second determining unit, configured to determine, according to the query key information, query interface coding information corresponding to the business data requirement information;

[0014] A third determining unit, determining a first business data acquisition function according to the query key information and the query interface coding information;

[0015] A crawling unit is used to crawl data according to the first business data acquisition function to obtain the target business data of the enterprise to be queried.

[0016] In a third aspect, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned business data acquisition method when executing the computer program.

[0017] In a fourth aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the above-mentioned business data acquisition method are implemented.

[0018] In the scheme implemented by the above-mentioned business data acquisition method, device, computer equipment and storage medium, the business data demand information of the enterprise to be queried input by the target user can be obtained, and the query key information can be determined according to the business data demand information, and the query interface coding information corresponding to the business data demand information can be determined according to the query key information, and the first business data acquisition function can be determined according to the query key information and the query interface coding information, and data crawling can be performed according to the first business data acquisition function to obtain the target business data of the enterprise to be queried. Therefore, the query interface coding information can be determined according to the query key information determined by the business data demand information of the enterprise to be queried, and the business data of the enterprise to be queried can be crawled according to the business data acquisition function determined by the query key information and the query interface coding information, so that the business data of the enterprise to be queried can be directly acquired, thereby improving the efficiency of business data acquisition. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.

[0020] Figure 1 is a schematic diagram of an application environment of a method for acquiring business data in one embodiment of the present invention;

[0021] Figure 2 is a flow chart of a method for acquiring business data in one embodiment of the present invention;

[0022] Figure 3is a structural diagram of a business data acquisition device in one embodiment of the present invention;

[0023] Figure 4 It is a structural diagram of a computer device in one embodiment of the present invention. DETAILED DESCRIPTION

[0024] 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.

[0025] The business data acquisition method provided by the embodiment of the present invention can be applied in Figure 1 In an application environment, the client communicates with the server through a network. When the target user needs to obtain the business data of a certain enterprise, the business data may be, for example, financial business data, specifically including financial business data such as stocks, bonds, funds, futures, etc., then the target user may input the business data demand information of the enterprise to be queried on the client to obtain the corresponding business data. The business data may be, for example, financial business data, specifically including financial business data such as stocks, bonds, funds, futures, etc. After receiving the business data demand information of the enterprise to be queried input by the target user, the client may send the business data demand information to the server. After the client receives the business data demand information of the enterprise to be queried, the client determines the query key information according to the business demand information, the client determines the query interface coding information corresponding to the business data demand information according to the query key information, the client determines the first business data acquisition function according to the query key information and the query interface coding information, and finally the client crawls data on the server according to the first business data acquisition function to obtain the target business data of the enterprise to be queried.

[0026] In the present invention, the query interface coding information can be determined by the query key information determined by the business data demand information of the enterprise to be queried, and the business data of the enterprise to be queried can be crawled according to the business data acquisition function determined by the query key information and the query interface coding information, so that the business data of the enterprise to be queried can be directly acquired, thereby improving the efficiency of business data acquisition.

[0027] The client may be, but is not limited to, various personal computers, laptops, smart phones, tablet computers, and portable wearable devices. The server may be implemented by an independent server or a server cluster consisting of multiple servers. The present invention is described in detail below through specific embodiments.

[0028] See also Figure 2 As shown, Figure 2 A flow chart of a method for acquiring business data provided by an embodiment of the present invention. Figure 2 As shown, the business data acquisition method can be applied to the client, and the business data acquisition method includes the following steps:

[0029] S201. Obtain business data requirement information of the enterprise to be queried input by the target user.

[0030] Among them, the target user may be a user who needs to query the business data of the enterprise to be queried. The enterprise to be queried may be an enterprise existing in the financial terminal, and the financial business data corresponding to the enterprise is stored. The financial terminal can be applied to the server, which provides a corresponding business data query interface to the client, such as an API interface. The business data demand information can represent the business query needs of the user for the enterprise to be queried, for example, the business demand information may include the query time period, the identification information of the enterprise to be queried, etc. The identification information of the enterprise to be queried may include the business registration number of the enterprise to be queried, the unified credit code, the full name of the enterprise, and the identification of the enterprise to be queried in the financial terminal, etc. Of course, it can also be other information that can uniquely identify the enterprise to be queried, which is only used as an example here.

[0031] S202: Determine query key information according to the business data demand information.

[0032] Among them, keyword extraction can be performed on the business demand information to obtain a keyword set; and query key information is determined based on the keyword set. The method for performing keyword extraction on the business demand information to obtain a keyword set can be to perform keyword extraction through a general keyword extraction method to obtain a keyword set. Semantic analysis can be performed on the keywords in the keyword set to obtain semantic information corresponding to the keywords; and query key information is determined based on the semantic information. A general semantic analysis method can be used to obtain the semantic information corresponding to the keywords. The keywords corresponding to the preset semantic information can be determined as query key information. Of course, it is also possible to perform type identification on the keywords and determine keywords of preset categories as query key information, and the preset categories are set by experience values ​​or historical data.

[0033] S203: Determine query interface coding information corresponding to the business data requirement information according to the query key information.

[0034] Different types of query key information correspond to different query interface coding information, so that the query interface coding information corresponding to the business data demand information can be determined according to the type information of the query key information.

[0035] S204: Determine a first business data acquisition function according to the query key information and the query interface coding information.

[0036] The first business data acquisition function can be determined according to the business data acquisition function determination template and the query key information determined by the query interface coding information. For example, the query key information can be input into the corresponding position in the business data acquisition function determination template, and the first business data acquisition function is generated according to the business data acquisition function determination template. The business data acquisition function determination template is a pre-set template used to determine the first business data acquisition function. Therefore, the first business data acquisition function can be quickly determined through the business data acquisition function determination template, which improves the efficiency of the first business data acquisition function when acquiring, and further improves the efficiency of acquiring the target business data.

[0037] S205: crawl data according to the first business data acquisition function to obtain the target business data of the enterprise to be queried.

[0038] Data crawling can be performed on the server side according to the first business acquisition function to obtain the target business data of the enterprise to be queried. Specifically, for example, multiple reference business data within a preset time period can be obtained from the server side, and the target business data can be obtained based on the multiple reference business data. The preset time period can be set by experience value or historical data. Of course, the business data demand information includes identification information indicating the preset time period, so that the preset time period can also be determined according to the business data demand information of the user.

[0039] In this example, the business data requirement information of the enterprise to be queried input by the target user is obtained, and query key information is determined according to the business data requirement information, and query interface coding information corresponding to the business data requirement information is determined according to the query key information, and a first business data acquisition function is determined according to the query key information and the query interface coding information, and data is crawled according to the first business data acquisition function to obtain the target business data of the enterprise to be queried. Therefore, the query interface coding information can be determined according to the query key information determined by the business data requirement information of the enterprise to be queried, and the business data of the enterprise to be queried can be crawled according to the business data acquisition function determined by the query key information and the query interface coding information, so that the business data of the enterprise to be queried can be directly acquired, thereby improving the efficiency of business data acquisition.

[0040] In a possible implementation, in order to improve the efficiency of the first business data acquisition function, the first business data acquisition function may be acquired by means of template construction to improve the efficiency of the first business data acquisition function. Specifically, for example, a method for determining the first business data acquisition function according to the query key information and the query interface coding information includes:

[0041] A1. Determine first type information of the first business data acquisition function according to the query interface coding information;

[0042] A2. Determine a template for a business data acquisition function according to the first type of information;

[0043] A3. Determine a template according to the query key information and the business data acquisition function to determine the first business data acquisition function.

[0044] Among them, different query interface coding information may correspond to different query interfaces, and different query interfaces may have different types, so that the first type information corresponding to the first business data acquisition function may be determined according to the type of the query interface. Different first type information may correspond to different business data acquisition function determination templates, so that the business data acquisition function determination template corresponding to the first type information may be obtained from the business data acquisition function determination template database.

[0045] Input the query key information into the corresponding position in the business data acquisition function determination template, and generate a first business data acquisition function according to the business data acquisition function determination template. The first business data acquisition function can be a function pointing to the target business data storage address, such as a URL address.

[0046] In this example, the first business data acquisition function can be quickly determined through the business data acquisition function determination template, which improves the efficiency of the first business data acquisition function in acquiring data, thereby improving the efficiency of acquiring target business data.

[0047] In a possible implementation, since in the existing scheme, the business data of the large enterprise to be queried is usually obtained from the business data of the securities information time series in units of days, weeks, months, etc., the securities information cross-sectional data of a certain day or reporting period, etc. Therefore, in this example, multiple reference business data within a preset time period can be obtained from the server, and the target business data can be obtained based on the multiple reference business data, so that the target business data can be obtained as a whole, which can greatly improve the efficiency of business data acquisition. Specifically, it can be: a method for crawling data according to the first business data acquisition function to obtain the target business data of the enterprise to be queried, including:

[0048] B1. Acquire K reference business data of the enterprise to be queried within a preset time period from the first business database according to the first business acquisition function;

[0049] B2. Obtain K sub-time intervals corresponding to the reference service data respectively;

[0050] B3. Merge the K reference service data according to the sub-time intervals respectively corresponding to the K reference service data to obtain the target service data.

[0051] The preset time period may be set by experience or historical data. Of course, the business data demand information includes identification information indicating the preset time period, so the preset time period may also be determined according to the business data demand information of the user. The preset time period may be, for example, a preset year from this year to the year before this year, for example, from this year to the year two years before this year, etc. The first database may be a database in a financial terminal for storing business data of an enterprise.

[0052] The K reference business data may be the business data of the enterprise to be queried corresponding to the sub-time period within the preset time period. For example, if the current year is "2000" and the preset time period is from "1997" to "2000", then the K reference business data may be the business data of the enterprise to be queried in "1997", the business data of the enterprise to be queried in "1998", the business data of the enterprise to be queried in "1999", and the business data of the enterprise to be queried in "2000". This is only an example and is not specifically limited. The sub-time intervals corresponding to the K reference business data are the time intervals corresponding to each year. For example, the time interval corresponding to the business data of the enterprise to be queried in "1997" is the time interval of "1997".

[0053] The reference business data can be merged according to the same date in each time interval to obtain the target business data. For example, the reference business data on January 1, 1997 can be merged with the reference business data on January 1, 1998, the reference business data on January 1, 1999, and the reference business data on January 1, 2000, so as to obtain the target business data on January 1 in the target business data. When merging the reference business data, it can be merged in the form of a union, which does not process the data itself, thus ensuring the authenticity of the data and improving the accuracy of subsequent processing of the target business data.

[0054] In a possible implementation, the target business data can also be classified and processed, and the key information and key information parameters of each category of business scenarios can be extracted and displayed, so that the target business data can be processed and displayed accordingly, so that when the target user views the data, the parameters related to the business scenario can be quickly obtained, so that subsequent data analysis and processing can be quickly performed, thereby improving efficiency. The method is as follows:

[0055] C1. Classify the target business data to obtain N sub-target business data, where the N sub-target business data are of different types;

[0056] C2. Obtaining key business scenario information corresponding to each of the N sub-target business data;

[0057] C3. Determine the key information parameters of the corresponding sub-target business data according to the business scenario key information corresponding to the N sub-target business data;

[0058] C4. Display the business scenario key information corresponding to the N sub-target business data and the key information parameters corresponding to the N sub-target business data.

[0059] Among them, since the target business data is financial business data, specifically, for example, stock business data, bond business data, fund business data, insurance business data, etc., the target business data can be classified and processed according to the specific data type in the target business data to obtain N sub-target business data, and the types of each sub-target business data are different. For example, the first sub-target business data is stock business data, the second sub-target business data is bond business data, the third sub-target business data is fund business data, and the fourth sub-target business data is insurance business data, etc.

[0060] Since different sub-target business types correspond to different business scenarios, corresponding business scenario key information can be obtained according to the corresponding business scenarios.

[0061] For example, the key information of the business scenario can be determined based on the business demand information of the target user. Specifically, the key information of the business scenario can be determined based on the actual demand information in the business demand information. Taking stocks as an example, the actual demand information can be which type of stocks, such as technology stocks, agricultural stocks, semiconductor stocks, etc., so that the key information of the business scenario corresponding to N sub-target business data can be obtained.

[0062] Different business scenario key information has its corresponding key information parameters, so the corresponding key information parameters can be determined from the sub-target business data. Taking stocks as an example, the key information parameters can be stock index, Shanghai Composite Index, rise and fall index, etc.

[0063] The business scenario key information and key information parameters corresponding to the N sub-target business data can be displayed by email, short message, etc. Of course, it can also be pushed to the terminal where the target user is located by a notification message carrying the business scenario key information and key information parameters corresponding to the N sub-target business data, thereby displaying the business scenario key information and key information parameters corresponding to the N sub-target business data. Of course, it can also be displayed in other ways, which are only used as examples and are not specifically limited here.

[0064] In this example, the target business data can be classified and processed, and the key information and key information parameters of the business scenarios of each category can be extracted and displayed, so that the target business data can be processed and displayed accordingly, so that when the target user views the data, he can quickly obtain the parameters related to the business scenario, so that subsequent data analysis and processing can be carried out quickly, thereby improving efficiency.

[0065] In a possible implementation, in an existing solution, key information of business scenarios is usually obtained by keyword extraction, etc. However, conventional keyword extraction algorithms are usually used when extracting keywords, which may result in the key information of business scenarios being not very consistent with the scenario, resulting in reduced accuracy in obtaining key information of business scenarios. In order to solve the above problem, the key information of business scenarios can be obtained by dividing equally in this application, thereby improving the accuracy in obtaining key information of business scenarios. Specifically, it can be: a method for obtaining key information of business scenarios corresponding to N sub-target business data, including:

[0066] D1. Acquire feature vectors corresponding to M business items in first sub-target business data to obtain a first feature vector set, wherein the first sub-target business data is any one of the N sub-target business data;

[0067] D2. Determine the business scenario scoring values ​​corresponding to the M business items respectively according to the first feature vector set;

[0068] D3. Determine first business scenario information corresponding to the M business items according to the business scenario scoring values ​​respectively corresponding to the M business items;

[0069] D4. Determine business scenario key information of the first sub-target business data according to the first business item of the preset business scenario information as the first business scenario information;

[0070] D5. Jump to the step of obtaining the feature vectors corresponding to the M business items in the first sub-target business data, and repeat the step of obtaining the first feature vector set until the key business scenario information corresponding to the N sub-target business data is obtained.

[0071] Before obtaining the feature vectors corresponding to the M business items in the first sub-target business data, the M business items need to be standardized, encoded, etc. to improve the accuracy of the processing. Specifically, it can be:

[0072] D11, performing standardization processing on the M business items according to a preset data processing standard to obtain M standard business items;

[0073] The preset data processing standard may be set by empirical values ​​or historical data. For example, the user comment information in a unified text format may be processed according to the same text format. Then, the user comment information in the unified text format may be processed with special characters. The user comment information in the unified text format may be processed with special characters.

[0074] D12. Encode each of the M standard service items to obtain M encoded standard service items.

[0075] A method for encoding each of the M standard service items may be to use a general information encoding method to perform encoding processing to obtain an encoding vector corresponding to the standard service item, thereby obtaining M encoded standard service items.

[0076] The encoding vectors corresponding to the standard business items may be summed and averaged, and feature vectors may be mapped to obtain a corresponding feature vector set. Specifically, the feature vectors may be obtained by using a general summing and averaging method and a mapping method. For example, if the first sub-target business data is a certain type of fund, the M business items may be business items corresponding to the sub-category funds, and the feature vectors may be feature vectors corresponding to the sub-category funds in each fund category.

[0077] The feature vector can be subjected to probability mapping processing to obtain a probability vector corresponding to the business item, and the category score value corresponding to the business item can be determined based on the probability vector. The probability vector includes a probability value for each category, and the probability value is determined as the category score value corresponding to the business item. The category corresponding to the category score value is determined as the category corresponding to the business item. The category score value is determined as a business scenario score value, and the first business scenario information corresponding to the business item is determined based on the business scenario score value. The scenario information of the business scenario corresponding to the highest business scenario score value in the business scenario score values ​​can be determined as the first business scenario information corresponding to the business item.

[0078] The preset business scenario information may be set through experience values ​​or historical data, and of course, may also be determined based on the business data demand information of the user.

[0079] When acquiring business scenario key information, the business scenario key information may be quickly acquired through an acquisition model determined by a business scenario key information acquisition identifier corresponding to the preset business scenario information.

[0080] In this example, compared with the existing solutions that usually obtain business scenario key information through keyword extraction, etc., it may happen that the obtained business scenario key information may not be very consistent with the scenario, resulting in reduced accuracy in obtaining the business scenario key information. The business scenario key information can be obtained by determining the business scenario score value of the business item, thereby improving the accuracy of obtaining the business scenario key information.

[0081] In a possible implementation, a method for determining business scenario key information according to first business scenario information being a first business item of preset business scenario information includes:

[0082] E1. Obtaining a business scenario key information acquisition identifier corresponding to the preset business scenario information;

[0083] E2. Determine a business scenario key information acquisition model according to the business scenario key information acquisition identifier;

[0084] E3. Determine the key information of the business scenario based on the business scenario key information acquisition model and the first business item.

[0085] Among them, different business scenario key information acquisition identifiers correspond to different business scenario key information acquisition models.

[0086] The first business item may be operated according to a business scenario key information acquisition model to obtain the business scenario key information.

[0087] In this example, the business scenario key information can be quickly obtained by operating the first business item through the business scenario key information acquisition model, thereby improving the efficiency of obtaining the business scenario key information.

[0088] In a possible implementation, business tendency analysis can also be performed on the queried enterprise, and relevant business tendency analysis can be provided to the target user, thereby improving the efficiency of subsequent business analysis by the target user. The method specifically includes:

[0089] F1. Obtain the type information of the enterprise to be queried;

[0090] F2. Determine the associated enterprises of the enterprise to be queried according to the type information;

[0091] F3. Acquire the business data corresponding to the associated enterprise according to the business data demand information;

[0092] F4. Determine business trend information based on the business data corresponding to the associated enterprise and the target business data;

[0093] F5 displays the business trend information.

[0094] The type information may be obtained based on the identification information of the enterprise to be queried in the business data demand information, etc. The type information may be, for example, technology category-software development-specific development type, technology category-product development-specific development type, etc.

[0095] Thus, the associated enterprises of the enterprise to be queried can be determined based on the type information. The associated enterprises can be enterprises with the same type information as the enterprise to be queried. The business data corresponding to the associated enterprises can be obtained based on the business demand information. For details, the method for obtaining the target business of the enterprise to be queried in the above embodiment can be referred to, which will not be repeated here.

[0096] According to the business data corresponding to the associated enterprise and the target business data, the method for determining the business tendency information may be: obtaining the sub-business with the highest data parameter similarity in the same sub-business data between the business data corresponding to the associated enterprise and the target business data, and determining the description information of the sub-business data as the business tendency information. Since the sub-business with the highest data parameter similarity in the same sub-business data can indicate that both the associated enterprise and the enterprise to be queried have a high investment in the sub-business, etc., it indicates that their business tendencies are the same, thereby improving the accuracy of determining the business tendency information.

[0097] The business tendency information may be displayed through emails, short messages, etc. Of course, it may also be displayed through other methods. This is only an example and is not specifically limited.

[0098] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.

[0099] In one embodiment, a business data acquisition device is provided, which corresponds one-to-one to the business data acquisition method in the above embodiment. Figure 3 As shown, the business data acquisition device includes an acquisition unit 301, a first determination unit 302, a second determination unit 303, a third determination unit 304, and a crawling unit 305. Each functional module is described in detail as follows:

[0100] An acquisition unit 301 is used to acquire business data demand information of a to-be-queried enterprise input by a target user;

[0101] A first determining unit 302 is used to determine query key information according to the business data demand information;

[0102] A second determining unit 303 is used to determine the query interface coding information corresponding to the business data requirement information according to the query key information;

[0103] A third determining unit 304 determines a first business data acquisition function according to the query key information and the query interface coding information;

[0104] The crawling unit 305 is used to crawl data according to the first business data acquisition function to obtain the target business data of the enterprise to be queried.

[0105] In a possible implementation, the third determining unit 304 is configured to:

[0106] Determining first type information of the first business data acquisition function according to the query interface coding information;

[0107] Determine a business data acquisition function determination template according to the first type of information;

[0108] A template is determined according to the query key information and the business data acquisition function to determine the first business data acquisition function.

[0109] In a possible implementation, the crawling unit 305 is used to:

[0110] Acquire K reference business data of the enterprise to be queried within a preset time period from the first business database according to the first business acquisition function;

[0111] Obtaining K sub-time intervals corresponding to the reference service data respectively;

[0112] The K reference service data are merged according to the sub-time intervals respectively corresponding to the K reference service data to obtain the target service data.

[0113] In a possible implementation, the service data acquisition device is further used to:

[0114] Classifying the target business data to obtain N sub-target business data, where the N sub-target business data are of different types;

[0115] Obtaining key business scenario information corresponding to each of the N sub-target business data;

[0116] Determine the key information parameters of the corresponding sub-target business data according to the business scenario key information respectively corresponding to the N sub-target business data;

[0117] Display the business scenario key information corresponding to the N sub-target business data and the key information parameters corresponding to the N sub-target business data.

[0118] In a possible implementation, in the aspect of acquiring the business scenario key information respectively corresponding to the N sub-target business data, the business data acquisition device is further used to:

[0119] feature vectors corresponding to the M business items in the first sub-target business data to obtain a first feature vector set, wherein the first sub-target business data is any one of the N sub-target business data;

[0120] Determine the business scenario scoring values ​​corresponding to the M business items according to the first feature vector set;

[0121] Determine first business scenario information of the corresponding business item according to the business scenario score values ​​corresponding to the M business items;

[0122] Determine business scenario key information according to the first business scenario information being a first business item of preset business scenario information;

[0123] The above method of obtaining the key information of the business scenario corresponding to the first sub-target business data is repeatedly executed until the key information of the business scenarios corresponding to the N sub-target business data are obtained.

[0124] In a possible implementation, in determining the business scenario key information according to the first business scenario information being the first business item of the preset business scenario information, the business data acquisition device is further used to:

[0125] Obtaining a business scenario key information acquisition identifier corresponding to the preset business scenario information;

[0126] Determining a business scenario key information acquisition model according to the business scenario key information acquisition identifier;

[0127] The business scenario key information is determined based on the business scenario key information acquisition model and the first business item.

[0128] In a possible implementation, the service data acquisition device is further used to:

[0129] Obtaining type information of the enterprise to be queried;

[0130] Determining the associated enterprises of the enterprise to be queried according to the type information;

[0131] According to the business data demand information, obtain the business data corresponding to the associated enterprise;

[0132] Determining business trend information according to the business data corresponding to the associated enterprise and the target business data;

[0133] The business tendency information is displayed.

[0134] In this example, the business data requirement information of the enterprise to be queried input by the target user is obtained, and query key information is determined according to the business data requirement information, and query interface coding information corresponding to the business data requirement information is determined according to the query key information, and a first business data acquisition function is determined according to the query key information and the query interface coding information, and data is crawled according to the first business data acquisition function to obtain the target business data of the enterprise to be queried. Therefore, the query interface coding information can be determined according to the query key information determined by the business data requirement information of the enterprise to be queried, and the business data of the enterprise to be queried can be crawled according to the business data acquisition function determined by the query key information and the query interface coding information, so that the business data of the enterprise to be queried can be directly acquired, thereby improving the efficiency of business data acquisition.

[0135] For the specific definition of the business data acquisition device, please refer to the definition of the business data acquisition method above, which will not be repeated here. Each module in the above-mentioned business data acquisition device can be implemented in whole or in part by software, hardware and a combination thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.

[0136] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Figure 4As shown. The computer device includes a processor, a memory, a network interface and a database connected via a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile and / or volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The network interface of the computer device is used to communicate with an external client via a network connection. When the computer program is executed by the processor, it implements the functions or steps of a service data acquisition method service side.

[0137] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:

[0138] Obtain the business data requirement information of the enterprise to be queried input by the target user;

[0139] Determine query key information according to the business data demand information;

[0140] Determine the query interface coding information corresponding to the business data requirement information according to the query key information;

[0141] Determining a first business data acquisition function according to the query key information and the query interface coding information;

[0142] Data crawling is performed according to the first business data acquisition function to obtain the target business data of the enterprise to be queried.

[0143] In this example, the business data requirement information of the enterprise to be queried input by the target user is obtained, and query key information is determined according to the business data requirement information, and query interface coding information corresponding to the business data requirement information is determined according to the query key information, and a first business data acquisition function is determined according to the query key information and the query interface coding information, and data is crawled according to the first business data acquisition function to obtain the target business data of the enterprise to be queried. Therefore, the query interface coding information can be determined according to the query key information determined by the business data requirement information of the enterprise to be queried, and the business data of the enterprise to be queried can be crawled according to the business data acquisition function determined by the query key information and the query interface coding information, so that the business data of the enterprise to be queried can be directly acquired, thereby improving the efficiency of business data acquisition.

[0144] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0145] Obtain the business data requirement information of the enterprise to be queried input by the target user;

[0146] Determine query key information according to the business data demand information;

[0147] Determine the query interface coding information corresponding to the business data requirement information according to the query key information;

[0148] Determining a first business data acquisition function according to the query key information and the query interface coding information;

[0149] Data crawling is performed according to the first business data acquisition function to obtain the target business data of the enterprise to be queried.

[0150] In this example, the business data requirement information of the enterprise to be queried input by the target user is obtained, and query key information is determined according to the business data requirement information, and query interface coding information corresponding to the business data requirement information is determined according to the query key information, and a first business data acquisition function is determined according to the query key information and the query interface coding information, and data is crawled according to the first business data acquisition function to obtain the target business data of the enterprise to be queried. Therefore, the query interface coding information can be determined according to the query key information determined by the business data requirement information of the enterprise to be queried, and the business data of the enterprise to be queried can be crawled according to the business data acquisition function determined by the query key information and the query interface coding information, so that the business data of the enterprise to be queried can be directly acquired, thereby improving the efficiency of business data acquisition.

[0151] It should be noted that the functions or steps that can be implemented by the computer-readable storage medium or computer device can be found in the relevant description of the server side in the aforementioned method embodiment. To avoid repetition, they will not be described one by one here.

[0152] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include non-volatile and / or volatile memory. Non-volatile memory can include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory can include random access memory (RAM) or external cache memory. As an illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0153] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0154] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A method for acquiring business data, characterized in that: The method comprises: Obtain the business data requirement information of the enterprise to be queried input by the target user; Determine query key information according to the business data demand information; Determine the query interface coding information corresponding to the business data requirement information according to the query key information; Determining a first business data acquisition function according to the query key information and the query interface coding information; Data crawling is performed according to the first business data acquisition function to obtain the target business data of the enterprise to be queried.

2. The method for acquiring business data according to claim 1, characterized in that: The determining, according to the query key information and the query interface coding information, a first business data acquisition function comprises: Determining first type information of the first business data acquisition function according to the query interface coding information; Determine a business data acquisition function determination template according to the first type of information; A template is determined according to the query key information and the business data acquisition function to determine the first business data acquisition function.

3. The method for acquiring business data according to claim 2, characterized in that: The crawling of data according to the first business data acquisition function to obtain the target business data of the enterprise to be queried includes: Acquire K reference business data of the enterprise to be queried within a preset time period from the first business database according to the first business acquisition function; Obtaining K sub-time intervals corresponding to the reference service data respectively; The K reference service data are merged according to the sub-time intervals respectively corresponding to the K reference service data to obtain the target service data.

4. The method for acquiring business data according to any one of claims 1 to 3, characterized in that: After crawling data according to the first business data acquisition function to obtain the target business data of the enterprise to be queried, the method further includes: Classifying the target business data to obtain N sub-target business data, where the N sub-target business data are of different types; Obtaining key business scenario information corresponding to each of the N sub-target business data; Determine the key information parameters of the corresponding sub-target business data according to the business scenario key information respectively corresponding to the N sub-target business data; Display the business scenario key information corresponding to the N sub-target business data and the key information parameters corresponding to the N sub-target business data.

5. The method for acquiring business data according to claim 4, characterized in that: The obtaining of the key business scenario information corresponding to the N sub-target business data respectively includes: Acquire feature vectors corresponding to M business items in first sub-target business data to obtain a first feature vector set, wherein the first sub-target business data is any one of the N sub-target business data; Determine the business scenario scoring values ​​corresponding to the M business items respectively according to the first feature vector set; Determining first business scenario information corresponding to the M business items according to the business scenario score values ​​respectively corresponding to the M business items; Determine business scenario key information of the first sub-target business data according to the first business item of the preset business scenario information as the first business scenario information; Jump to the step of obtaining the feature vectors corresponding to the M business items in the first sub-target business data, and repeat the step of obtaining the first feature vector set until the key business scenario information corresponding to the N sub-target business data is obtained.

6. The method for acquiring business data according to claim 5, characterized in that: The determining of the business scenario key information according to the first business scenario information being the first business item of the preset business scenario information includes: Obtaining a business scenario key information acquisition identifier corresponding to the preset business scenario information; Determining a business scenario key information acquisition model according to the business scenario key information acquisition identifier; The business scenario key information is determined based on the business scenario key information acquisition model and the first business item.

7. The method for acquiring business data according to claim 5, characterized in that: The method further comprises: Obtaining type information of the enterprise to be queried; Determining the associated enterprises of the enterprise to be queried according to the type information; According to the business data demand information, obtain the business data corresponding to the associated enterprise; Determining business trend information according to the business data corresponding to the associated enterprise and the target business data; The business tendency information is displayed.

8. A business data acquisition device, characterized in that: include: An acquisition unit, used to acquire business data demand information of the enterprise to be queried input by the target user; A first determining unit, configured to determine query key information according to the business data requirement information; A second determining unit, configured to determine, according to the query key information, query interface coding information corresponding to the business data requirement information; A third determining unit, determining a first business data acquisition function according to the query key information and the query interface coding information; A crawling unit is used to crawl data according to the first business data acquisition function to obtain the target business data of the enterprise to be queried.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the business data acquisition method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the business data acquisition method according to any one of claims 1 to 7 are implemented.