Data query method and device, equipment, medium and program product
By presetting the query service and the website to be queried in the data query system, and generating and automatically accessing the query request, the problem of business operators needing to enter multiple query websites is solved, and query efficiency and work efficiency are improved.
Patent Information
- Application Number
- CN202411763415.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-03
- Publication Date
- 2025-03-04
AI Technical Summary
When querying information, business operators need to enter multiple different query websites and enter query information separately, resulting in low query efficiency and affecting work efficiency.
通过在数据查询系统中预设查询业务和待查询网站,生成每个目标查询网站各自的查询请求,并自动访问多个查询网站进行查询,获取查询结果。
It realizes the rapid query of multiple query websites at the same time, obtaining all query information, improving query efficiency, and thus improving work efficiency.
Smart Images

Figure CN119557502A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of financial technology, and more specifically to a data query method, device, equipment, medium and program product. Background Art
[0002] When handling business, business processing personnel usually need to search on relevant query websites based on business processing needs to obtain the information required for handling the business.
[0003] However, when business processing personnel conduct inquiries on related inquiry websites, they usually need to enter multiple different inquiry websites and enter inquiry information on each inquiry website respectively, which leads to low inquiry efficiency and affects work efficiency. Summary of the invention
[0004] In view of the above problems, the present disclosure provides a data query method, apparatus, device, medium and program product.
[0005] According to a first aspect of the present disclosure, a data query method is provided, which is applied to a data query system, wherein the data query system includes at least one business to be queried and a set of websites to be queried including at least one website to be queried; the method includes: in response to a user's operation of selecting a target query business from at least one business to be queried, determining at least one target query website for the target query business from at least one website to be queried according to a correspondence table between the target query business and the business website, wherein the correspondence table between the business website includes information of websites to be queried corresponding to each business to be queried; generating a query request for each target query website according to the information to be queried input by the user in an information input interface and at least one target query website; accessing at least one target query website according to the query request for each target query website, so that at least one target query website performs a query operation according to the information to be queried; and receiving at least one query result fed back by at least one target query website.
[0006] According to an embodiment of the present disclosure, the above method also includes: in response to the user selecting an operation to add a new website, displaying a new website addition interface; generating a new website to be queried based on the new website information input by the user in the above website addition interface; and determining the above new website to be queried as a target query website.
[0007] According to an embodiment of the present disclosure, the method further includes: adding the newly added website to be queried to the set of websites to be queried; and updating the business website correspondence table according to the newly added website to be queried and the target query business.
[0008] According to an embodiment of the present disclosure, the method further includes: determining the website to be queried selected by the user as a target query website according to a selection operation of the user on at least one of the websites to be queried.
[0009] According to an embodiment of the present disclosure, the above-mentioned accessing at least one of the target query websites according to the respective query requests of each of the above-mentioned target query websites includes: for each of the above-mentioned query requests, accessing the above-mentioned target query website according to the address information of the target query website in the above-mentioned query request; automatically filling the above-mentioned query information in the above-mentioned query request into the search box of the above-mentioned target query website, so that the above-mentioned target query website performs a query operation according to the above-mentioned information to be queried.
[0010] According to an embodiment of the present disclosure, before generating a respective query request for each of the above-mentioned target query websites based on the information to be queried input by the user in the information input interface and at least one of the above-mentioned target query websites, it also includes: calling a verification interface of an information verification system to send the above-mentioned information to be queried to the above-mentioned information verification system so that the above-mentioned information verification system can verify the above-mentioned information to be queried; when it is determined that the verification result fed back by the above-mentioned information verification system indicates that the verification of the above-mentioned information to be queried has passed, generating a respective query request for each of the above-mentioned target query websites based on the above-mentioned information to be queried and at least one of the above-mentioned target query websites.
[0011] According to an embodiment of the present disclosure, the method further includes: acquiring target content in the query result, and taking a screenshot of the target content to obtain a screenshot result; and displaying the screenshot result on a display interface.
[0012] According to an embodiment of the present disclosure, the method further includes: in response to the user selecting a print operation, calling a print function of the operating system to control the printer to print the screenshot result.
[0013] The second aspect of the present disclosure provides a data query device, including: a website determination module, which is used to respond to the user's operation of selecting a target query business from at least one business to be queried, and determine at least one target query website for the target query business from at least one of the above-mentioned websites to be queried according to the above-mentioned target query business and business website correspondence table, wherein the above-mentioned business website correspondence table contains the website information to be queried corresponding to each business to be queried; a request generation module, which is used to generate a query request for each of the above-mentioned target query websites according to the information to be queried input by the user in the information input interface and at least one of the above-mentioned target query websites; a website access module, which is used to access at least one of the above-mentioned target query websites according to the query request of each of the above-mentioned target query websites, so that at least one of the above-mentioned target query websites performs a query operation according to the above-mentioned information to be queried; a result receiving module, which is used to receive at least one query result fed back by at least one of the above-mentioned target query websites.
[0014] A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps of the above method.
[0015] The fourth aspect of the present disclosure further provides a computer-readable storage medium having a computer program or instructions stored thereon, which implements the steps of the above method when the above computer program or instructions are executed by a processor.
[0016] The fifth aspect of the present disclosure further provides a computer program product, including a computer program or instructions, which implement the steps of the above method when the above computer program or instructions are executed by a processor.
[0017] According to the embodiment of the present disclosure, by using the business website correspondence table to store the correspondence between the business to be queried and the website information to be queried, the user only needs to select the target query business to determine at least one target query website corresponding to the target query business, without the user having to remember and manually input the target query website corresponding to the target query business, thereby improving work efficiency. In addition, by generating a query request for each target query website and using the query request to access at least one target query website respectively, the query result can be obtained without the user having to manually query the target query website, thereby improving query efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] The above contents and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0019] Figure 1The application scenario diagram of the data query method, apparatus, device, medium and program product according to the embodiments of the present disclosure is schematically shown;
[0020] Figure 2 A flowchart of a data query method according to an embodiment of the present disclosure is schematically shown;
[0021] Figure 3 A schematic diagram schematically shows a website selection interface according to a specific embodiment of the present disclosure;
[0022] Figure 4 A flowchart of a data query method according to a specific embodiment of the present disclosure is schematically shown;
[0023] Figure 5 A schematic diagram schematically shows a user login interface according to a specific embodiment of the present disclosure;
[0024] Figure 6 A structural block diagram of a data query device according to an embodiment of the present disclosure is schematically shown; and
[0025] Figure 7 A block diagram of an electronic device suitable for implementing a data query method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0026] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0027] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0028] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0029] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0030] In the technical solution of the present disclosure, the user information (including but not limited to user personal information, user image information, user device information, such as location information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with relevant laws, regulations and standards, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0031] In the scenario of using personal information for automated decision-making, the methods, devices, and systems provided by the embodiments of the present disclosure provide users with corresponding operation portals for users to choose to agree or reject the automated decision-making results; if the user chooses to reject, the expert decision-making process will be entered. The expression "automated decision-making" here refers to the activity of automatically analyzing and evaluating a person's behavioral habits, interests and hobbies, or economic, health, credit status, etc. through computer programs, and making decisions. The expression "expert decision-making" here refers to the activity of making decisions by people who specialize in a certain field, have specialized experience, knowledge and skills, and have reached a certain level of professionalism.
[0032] When conducting inquiries, business processing personnel usually need to access multiple different inquiry websites and enter the information to be queried on each inquiry website for inquiry. The inquiry efficiency is low, which in turn affects work efficiency.
[0033] The embodiment of the present disclosure provides a data query method, which is applied to a data query system, wherein the data query system includes at least one business to be queried and a set of websites to be queried including at least one website to be queried; the method includes: in response to a user's operation of selecting a target query business from at least one business to be queried, determining at least one target query website for the target query business from at least one website to be queried according to a corresponding table of the target query business and the business website, wherein the corresponding table of the business website includes information of websites to be queried corresponding to each business to be queried; generating a query request for each target query website according to the information to be queried input by the user in an information input interface and at least one target query website; accessing at least one target query website respectively according to the query request of each target query website, so that at least one target query website performs a query operation according to the information to be queried; and receiving at least one query result fed back by at least one target query website.
[0034] The embodiments of the present disclosure preset query services and websites to be queried in the data query system, and can generate different query requests according to different query websites based on the query information input by the user, and then automatically access multiple query websites through the background to query relevant information according to the query requests, and feedback the query results, so as to realize rapid query of multiple query websites at the same time, obtain all query information, improve query efficiency, and thus improve work efficiency.
[0035] Figure 1 The application scenario diagram of the data query method, apparatus, device, medium and program product according to the embodiments of the present disclosure is schematically shown.
[0036] like Figure 1 As shown, the application scenario 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104, and a server 105. The network 104 is used to provide a medium for a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103, and the server 105. The network 104 may include various connection types, such as wired, wireless communication links, or optical fiber cables, etc.
[0037] The user can use the first terminal device 101, the second terminal device 102, and the third terminal device 103 to interact with the server 105 through the network 104 to receive or send messages, etc. Various communication client applications can be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only for example).
[0038] The first terminal device 101, the second terminal device 102, and the third terminal device 103 may be various electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.
[0039] The server 105 may be a server that provides various services, such as a background management server (only as an example) that provides support for websites browsed by users using the first terminal device 101, the second terminal device 102, and the third terminal device 103. The background management server may analyze and process the received data such as user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.
[0040] It should be noted that the data query method provided in the embodiment of the present disclosure can generally be executed by the server 105. Accordingly, the data query device provided in the embodiment of the present disclosure can generally be set in the server 105. The data query method provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105. Accordingly, the data query device provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105.
[0041] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to the implementation requirements.
[0042] The following will be based on Figure 1 The scene described by Figure 2~Figure 5 The data query method of the disclosed embodiment is described in detail.
[0043] Figure 2 The flowchart of the data query method according to the embodiment of the present disclosure is schematically shown.
[0044] like Figure 2 As shown, the data query method of this embodiment includes operations S210 to S240.
[0045] In operation S210, in response to a user selecting a target query service from at least one service to be queried, at least one target query website for the target query service is determined from the at least one website to be queried according to a target query service and service website correspondence table.
[0046] According to an embodiment of the present disclosure, the data query method can be applied to a data query system, and the data query system can include at least one business to be queried and a set of websites to be queried including at least one website to be queried. Specifically, the data query system can store access paths for each website to be queried, so as to facilitate access to the website to be queried through the access paths.
[0047] According to an embodiment of the present disclosure, at least one service to be queried may be displayed in an interface of a data query system, and a user interacts with the display interface through a terminal to select a target query website from the at least one service to be queried.
[0048] According to an embodiment of the present disclosure, the service website correspondence table contains information of the website to be queried corresponding to each service to be queried. Specifically, the website to be queried corresponding to the service to be queried can be a query website that needs to be visited and queried when handling the service to be queried.
[0049] In operation S220, a query request for each target query website is generated according to the information to be queried input by the user in the information input interface and at least one target query website.
[0050] According to an embodiment of the present disclosure, a user can interact with an information input interface through a terminal to input information to be queried. Specifically, an information input interface can be generated based on information that needs to be input when querying a target query website.
[0051] According to an embodiment of the present disclosure, the information to be queried may be information that needs to be input when performing a query on a target query website.
[0052] According to the embodiments of the present disclosure, since the information input interface can correspond to the target query website, the information input interface displayed to the user may also be different when the target query website is different, that is, the information input interface can be adaptively adjusted according to the information that needs to be input on the target query website to meet the needs of querying on different target query websites.
[0053] According to an embodiment of the present disclosure, a query request for a target query website can be generated based on the information of the target query website and the information to be queried. Specifically, the information of the target query website and the information to be queried can be written into the query request template according to a preset query request template to obtain a query request for the target query website.
[0054] In operation S230, at least one target query website is accessed according to the query request of each target query website, so that at least one target query website performs a query operation according to the information to be queried.
[0055] According to an embodiment of the present disclosure, a query request for a target query website may be sent to the target query website according to information of the target query website, such as an access path, to access the target query website.
[0056] According to an embodiment of the present disclosure, the query request of each target query website may be sent to the target query website at the same time, so as to perform simultaneous query on at least one target query website.
[0057] According to an embodiment of the present disclosure, in response to receiving a query request, the target query website may obtain information to be queried from the query request and perform a query operation based on the information to be queried.
[0058] In operation S240, at least one query result fed back by at least one target query website is received.
[0059] According to an embodiment of the present disclosure, at least one target query website obtains respective query results after performing query operations according to the information to be queried, and returns the query results to the data query system.
[0060] According to an embodiment of the present disclosure, after receiving at least one query result fed back by at least one target query website, the data query system can organize the at least one query result and display it on an interface so that a user can view the query result on the interface.
[0061] According to the embodiment of the present disclosure, by using the business website correspondence table to store the correspondence between the business to be queried and the website information to be queried, the user only needs to select the target query business to determine at least one target query website corresponding to the target query business, without the user having to remember and manually input the target query website corresponding to the target query business, thereby improving work efficiency. In addition, by generating a query request for each target query website and using the query request to access at least one target query website respectively, the query result can be obtained without the user having to manually query the target query website, thereby improving query efficiency.
[0062] According to an embodiment of the present disclosure, the data query method also includes: in response to a user selecting an operation to add a new website, displaying a new website addition interface; generating a new website to be queried based on the new website information input by the user in the new website addition interface; and determining the new website to be queried as a target query website.
[0063] According to an embodiment of the present disclosure, when the website to be queried lacks a website that needs to be queried by the target query business, the user can select a new website to query the new website through the data query system.
[0064] According to an embodiment of the present disclosure, a user can interact with the website adding interface through a terminal to input the newly added website information. Specifically, the newly added website information may include the access path of the newly added website, the website name, the information to be queried that needs to be input, and the services to be queried corresponding to the newly added website.
[0065] According to an embodiment of the present disclosure, after the user inputs the newly added website information, the data query system can store the newly added website information and generate a newly added website to be queried according to the newly added website information.
[0066] According to an embodiment of the present disclosure, after determining that a newly added website to be queried is a target query website, a query request for the newly added website to be queried can be generated according to the newly added website information and the query information, so as to access the newly added website to be queried through the query request.
[0067] According to an embodiment of the present disclosure, when the website to be queried does not include the website that the user needs to query, the user can add a new website according to demand and use the newly added website as the target query website, thereby improving the convenience of the user when using the data query system to query.
[0068] According to an embodiment of the present disclosure, the data query method further includes: adding the newly added website to be queried to the set of websites to be queried; and updating the business website correspondence table according to the newly added website to be queried and the target query business.
[0069] According to an embodiment of the present disclosure, after a newly added website to be queried is generated, the newly added website to be queried can be added to the collection of websites to be queried. Specifically, a website identifier can be generated for the newly added website to be queried, and the website identifier and the newly added website information can be stored in the collection of websites to be queried.
[0070] According to an embodiment of the present disclosure, when the service website correspondence table is updated according to the newly added website to be queried and the target query service, the correspondence between the newly added website to be queried and the target query service can be stored in the service website correspondence table.
[0071] According to an embodiment of the present disclosure, in the business-website correspondence table, a website identifier may be used to represent a website to be queried, and a business identifier may be used to represent a business to be queried.
[0072] According to an embodiment of the present disclosure, the website information to be queried corresponding to the target query business can be searched in the business website correspondence table according to the business identifier of the target query business, and the website identifier of the newly added website to be queried is added to the website information to be queried corresponding to the target query business, so as to store the correspondence between the newly added website to be queried and the target query business in the business website correspondence table.
[0073] According to an embodiment of the present disclosure, other to-be-queried businesses corresponding to the newly added website to be queried can also be obtained based on the newly added website information entered by the user in the website addition interface, and the business website correspondence table can be updated based on the newly added website to be queried and other to-be-queried businesses corresponding to the newly added website to be queried.
[0074] According to the embodiments of the present disclosure, by storing newly added websites to be queried in the set of websites to be queried, the set of websites to be queried is enriched to meet the query needs of users, and by updating the business website correspondence table, users can directly access and query the newly added websites to be queried according to the target query business in subsequent queries, thereby improving query efficiency.
[0075] According to an embodiment of the present disclosure, the user can also add a new service to be queried. Specifically, adding a new service to be queried can include: displaying a service addition interface in response to the user selecting the operation of adding a new service to be queried; generating a new service to be queried according to the new service information input by the user in the service addition interface; updating a service website corresponding table according to the website to be queried corresponding to the new service to be queried input by the user in the service addition interface.
[0076] According to an embodiment of the present disclosure, the data query method further includes: determining, according to a selection operation of a user on at least one website to be queried, that the website to be queried selected by the user is a target query website.
[0077] According to an embodiment of the present disclosure, when a user does not need to determine a query website through a query service, or when the query service to be queried lacks the query service that the user needs to handle, the user can also directly select a target query website to be queried from at least one website to be queried included in the set of websites to be queried.
[0078] According to an embodiment of the present disclosure, a website selection interface including all websites to be queried can be displayed to the user, and the user can interact with the website selection interface through a terminal to select a website to be queried as a target query website.
[0079] According to an embodiment of the present disclosure, when there is a query website that the user does not need to query among the at least one target query website determined according to the business website correspondence table, the user can also select the target query website that actually needs to be queried from the at least one target query website determined according to the business website correspondence table according to actual business handling needs.
[0080] According to the embodiments of the present disclosure, users can select the query website they need to query according to actual business processing needs, avoiding query operations on unnecessary query websites, further improving the convenience of users when using the data query system to query, and improving user experience.
[0081] Figure 3 A schematic diagram of a website selection interface according to a specific embodiment of the present disclosure is schematically shown.
[0082] like Figure 3 As shown, the website selection interface may include an input box 310 for inputting information to be queried, a website selection area 320, and a query button 330. The website selection area includes at least one website to be queried, such as website 1 to be queried, website 2 to be queried, ... website n to be queried.
[0083] According to an embodiment of the present disclosure, a user can input information to be queried in the input box 310, select a target query website to be queried from at least one website to be queried in the website selection area 320, and then click the query button 330 so that the data query system can generate a query request based on the information to be queried and the target query website.
[0084] According to an embodiment of the present disclosure, accessing at least one target query website respectively according to the query requests of each target query website includes: for each query request, accessing the target query website according to the address information of the target query website in the query request; automatically filling the query information in the query request into the search box of the target query website, so that the target query website performs a query operation according to the information to be queried.
[0085] According to an embodiment of the present disclosure, the address information may represent the address of the target query website. Specifically, the address information may be the URL of the target query website.
[0086] According to an embodiment of the present disclosure, when accessing a target query website, the target query website can be accessed in the background according to the address information of the target query website. Specifically, a client programming tool supporting the hypertext transfer protocol can be used to send a query request to the target query website according to the address information of the target website to achieve access to the target query website.
[0087] It should be noted that since the target query website is accessed through the background, the user's terminal does not display the interface of the target query website at this time, but can still be the interface of the data query system or the interface of other services selected by the user, that is, the user can use other services through the terminal at the same time.
[0088] According to an embodiment of the present disclosure, the interface of the target query website can be parsed or identified to determine the position of the search box in the target query website, and then the information to be queried can be automatically filled into the search box according to the position of the search box.
[0089] According to an embodiment of the present disclosure, after filling the query information into the search box, an enter key instruction such as "page.keyboard.press('Enter')" can be used to simulate the user operating the enter key to submit the query information, so that the target query website can perform a query operation based on the information to be queried.
[0090] According to the embodiments of the present disclosure, by automatically accessing the target query website according to the query request and automatically filling in the search box, automated query can be achieved and query efficiency can be improved.
[0091] According to an embodiment of the present disclosure, before generating a respective query request for each target query website based on the information to be queried input by the user in the information input interface and at least one target query website, it also includes: calling a verification interface of an information verification system to send the information to be queried to the information verification system so that the information verification system can verify the information to be queried; when it is determined that the verification result fed back by the information verification system indicates that the verification of the information to be queried has passed, generating a respective query request for each target query website based on the information to be queried and at least one target query website.
[0092] According to an embodiment of the present disclosure, the information verification system may be an external system of the data query system, may pre-store correct information to be queried, and may use the correct information to be queried to verify the information to be queried sent by the data query system.
[0093] According to an embodiment of the present disclosure, in order to avoid query failure due to errors in the information to be queried input by the user, the data query system can send the information to be queried input by the user to the information verification system through the verification interface of the information verification system after the user inputs the information to be queried and clicks Submit, so that the information to be queried can be verified by the information verification system.
[0094] According to an embodiment of the present disclosure, when the verification result fed back by the information verification system indicates that the information to be queried has passed the verification, the information to be queried is correct. At this time, a query request can be directly generated using the information to be queried input by the user and the target query website.
[0095] According to an embodiment of the present disclosure, when the verification result fed back by the information verification system indicates that the verification of the information to be queried has failed, the information to be queried is incorrect. At this time, the user can be prompted that the information to be queried is incorrect on the information input interface, and after the user re-enters the information to be queried, the verification interface of the information verification system is called to verify the information to be queried re-entered by the user, until the verification result fed back by the information verification system indicates that the verification of the information to be queried has passed.
[0096] According to the embodiments of the present disclosure, by calling the verification interface of the information verification system, the information to be queried is verified before generating a query request, thereby avoiding incorrect query results or query failures due to incorrect input query information, thereby improving query efficiency.
[0097] Figure 4 The flowchart of a data query method according to a specific embodiment of the present disclosure is schematically shown.
[0098] like Figure 4 As shown, the data query method includes operations S401 to S410.
[0099] In operation S401, a user selects a target query service in a data query system.
[0100] In operation S402, the data query system determines a target query website for a target query business.
[0101] According to an embodiment of the present disclosure, the data query system can determine at least one target query website corresponding to the target query service according to the target query service selected by the user by using the service website correspondence table.
[0102] In operation S403, the user inputs information to be queried in the data query system.
[0103] In operation S404, the data query system sends the information to be queried to the information verification system.
[0104] In operation S405, the information verification system verifies the information to be queried.
[0105] In operation S406, the information verification system feeds back the verification result to the data query system.
[0106] In operation S407, the data query system generates a query request according to the information to be queried and the target query website.
[0107] According to an embodiment of the present disclosure, when the verification result indicates that the information to be queried has passed the verification, the data query system generates a query request according to the information to be queried and the target query website.
[0108] In operation S408, the data query system accesses the target query website according to the query request.
[0109] In operation S409, the target query website performs a query operation according to the query information.
[0110] According to an embodiment of the present disclosure, the target query website can obtain the information to be queried from the query request.
[0111] In operation S410, the target query website feeds back the query result to the data query system.
[0112] According to an embodiment of the present disclosure, the data query method further includes: acquiring target content in the query result, and taking a screenshot of the target content to obtain a screenshot result; and displaying the screenshot result on a display interface.
[0113] According to an embodiment of the present disclosure, the query result may represent the result obtained after the target query website queries the information to be queried. Specifically, the query result may be a result page popped up by the target query website after the query is completed.
[0114] According to an embodiment of the present disclosure, since the query result may include content that the user does not pay attention to, when taking a screenshot, a screenshot process may be performed on the target content that the user pays attention to to obtain a screenshot result.
[0115] According to an embodiment of the present disclosure, the target content in the query result can be determined by parsing the file related to the query result page. Specifically, the file related to the query result page can be a hypertext markup language file or a lightweight data exchange format file of the query result page.
[0116] According to an embodiment of the present disclosure, when taking a screenshot of a target content, the position of the target content can be determined first, and then the target content can be screenshotted according to the position of the target content. Specifically, the position of the target content can include its distance from the left side, right side, top, and bottom of the browser window, as well as the width and height of the target content.
[0117] According to an embodiment of the present disclosure, the target content may be used to identify the content displayed in the browser window, and the position of the target content in the browser window may be determined.
[0118] According to an embodiment of the present disclosure, when the page where the query results are located is a lazy-loaded scrolling page and the target content is not in the browser window, a pull-down instruction can be used to simulate the user's pull-down operation on the page where the query results are located until the target content is in the browser window, and then the position of the target content is determined.
[0119] According to an embodiment of the present disclosure, after the location of the target content is determined, an automated screenshot tool may be called to perform screenshot processing on the target content.
[0120] According to an embodiment of the present disclosure, after the target content is screenshotted, the image obtained by the screenshot can be converted into an image format specified by the user to obtain a screenshot result.
[0121] According to an embodiment of the present disclosure, when displaying the screenshot results, the screenshot results of each target query website can be displayed in the form of pictures, or the screenshot results can be converted into a compressed package or other format according to user needs.
[0122] According to an embodiment of the present disclosure, after obtaining the screenshot result, the screenshot result may also be stored in a user-specified format to a user-specified storage location.
[0123] According to the embodiments of the present disclosure, by automatically taking screenshots of target content, there is no need for users to take screenshots manually, thereby improving screenshot efficiency and further improving work efficiency.
[0124] According to an embodiment of the present disclosure, the data query method further includes: in response to the user selecting a print operation, calling a print function of the operating system to control the printer to print the screenshot result.
[0125] According to an embodiment of the present disclosure, each target query website has its own screenshot result, but the user may only need to print part of the screenshot results among all the screenshot results, so the user can select the target screenshot result to be printed from multiple screenshot results to facilitate printing of the target screenshot result.
[0126] According to an embodiment of the present disclosure, a print operation button may be displayed in the interface, and after the user selects the target screenshot result to be printed, the user clicks the print operation button to print.
[0127] According to an embodiment of the present disclosure, before calling the print function of the operating system to control the printer to print the screenshot result, the user can also set the printing requirement in the data query system. Specifically, the printing requirement can include the number of copies to be printed.
[0128] According to the embodiments of the present disclosure, by automatically printing the screenshot results, the user does not need to manually save and print the screenshot results, thereby improving work efficiency.
[0129] According to an embodiment of the present disclosure, the data query system may further include a user login interface, in which a user may enter login information such as a user identification and a user password to log in to the data query system.
[0130] According to an embodiment of the present disclosure, after the user clicks the login button to submit the login information, the data query system can verify the login information input by the user according to the stored login information. If the login information passes the verification, the user enters the data query system. If the login information fails the verification, the user is prompted to re-enter the correct user ID or user password.
[0131] Figure 5 A schematic diagram of a user login interface according to a specific embodiment of the present disclosure is schematically shown.
[0132] like Figure 5 As shown, the user login interface includes an input box 510 for inputting a user identification, an input box 520 for inputting a user password, and a login button 530 .
[0133] According to an embodiment of the present disclosure, a user may input a user identification in the input box 510 , input a user password in the input box 520 , and then click the login button 530 to log in to the data query system.
[0134] Based on the above data query method, the present disclosure also provides a data query device. Figure 6 The device is described in detail.
[0135] Figure 6 The structural block diagram of the data query device according to the embodiment of the present disclosure is schematically shown.
[0136] like Figure 6 As shown, the data query device 600 of this embodiment includes a website determination module 610 , a request generation module 620 , a website access module 630 and a result receiving module 640 .
[0137] The website determination module 610 is used to respond to the user's operation of selecting a target query service from at least one service to be queried, and to determine at least one target query website for the target query service from at least one service to be queried according to the target query service and service website correspondence table, wherein the service website correspondence table contains the information of the website to be queried corresponding to each service to be queried. In one embodiment, the website determination module 610 can be used to perform the operation S210 described above, which will not be repeated here.
[0138] The request generation module 620 is used to generate a query request for each target query website according to the information to be queried input by the user in the information input interface and at least one target query website. In one embodiment, the request generation module 620 can be used to perform the operation S220 described above, which will not be repeated here.
[0139] The website access module 630 is used to access at least one target query website according to the query request of each target query website, so that at least one target query website performs a query operation according to the information to be queried. In one embodiment, the website access module 630 can be used to perform the operation S230 described above, which will not be repeated here.
[0140] The result receiving module 640 is used to receive at least one query result fed back by at least one target query website. In one embodiment, the result receiving module 640 can be used to perform the operation S240 described above, which will not be described in detail here.
[0141] According to an embodiment of the present disclosure, the data query device 600 further includes a newly added display module, a newly added generation module and a newly added determination module.
[0142] The new addition display module is used to display the new website interface in response to the user's operation of selecting a new website.
[0143] The new addition generation module is used to generate new websites to be queried according to the new website information input by the user in the website addition interface.
[0144] The newly added determination module is used to determine that the newly added website to be queried is the target query website.
[0145] According to an embodiment of the present disclosure, the data query device 600 further includes a website adding module and a adding and updating module.
[0146] The website adding module is used to add the newly added website to be queried to the website collection to be queried.
[0147] The newly added update module is used to update the business website correspondence table according to the newly added websites to be queried and the target query business.
[0148] According to an embodiment of the present disclosure, the data query device 600 further includes a website selection module.
[0149] The website selection module is used to determine the website to be queried selected by the user as a target query website according to the user's selection operation on at least one website to be queried.
[0150] According to an embodiment of the present disclosure, the website access module 630 includes a website access submodule and an information filling submodule.
[0151] The website access submodule is used to access the target query website according to the address information of the target query website in the query request for each query request.
[0152] The information filling submodule is used to automatically fill the query information in the query request into the search box of the target query website, so that the target query website can perform a query operation according to the query information.
[0153] According to an embodiment of the present disclosure, the data query device 600 further includes a verification calling module and a verification passing module.
[0154] The verification calling module is used to call the verification interface of the information verification system and send the information to be queried to the information verification system so that the information verification system can verify the information to be queried.
[0155] The verification passing module is used to generate a query request for each target query website according to the information to be queried and at least one target query website when it is determined that the verification result fed back by the information verification system indicates that the information to be queried has passed the verification.
[0156] According to an embodiment of the present disclosure, the data query device 600 further includes a target screenshot module and a screenshot display module.
[0157] The target screenshot module is used to obtain the target content in the query result, and perform screenshot processing on the target content to obtain the screenshot result.
[0158] The screenshot display module is used to display the screenshot results on the display interface.
[0159] According to an embodiment of the present disclosure, the data query device 600 further includes a screenshot printing module.
[0160] The screenshot printing module is used to call the printing function of the operating system to control the printer to print the screenshot result in response to the user selecting the printing operation.
[0161] According to an embodiment of the present disclosure, any multiple modules among the website determination module 610, the request generation module 620, the website access module 630 and the result receiving module 640 can be combined into one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the website determination module 610, the request generation module 620, the website access module 630 and the result receiving module 640 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware and firmware or in a suitable combination of any of them. Alternatively, at least one of the website determination module 610, the request generation module 620, the website access module 630 and the result reception module 640 may be at least partially implemented as a computer program module, which may perform corresponding functions when executed.
[0162] Figure 7 A block diagram of an electronic device suitable for implementing a data query method according to an embodiment of the present disclosure is schematically shown.
[0163] like Figure 7As shown, the electronic device 700 according to an embodiment of the present disclosure includes a processor 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 to a random access memory (RAM) 703. The processor 701 may include, for example, a general-purpose microprocessor (such as a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (for example, an application-specific integrated circuit (ASIC)), etc. The processor 701 may also include an onboard memory for caching purposes. The processor 701 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0164] In RAM 703, various programs and data required for the operation of electronic device 700 are stored. Processor 701, ROM 702 and RAM 703 are connected to each other via bus 704. Processor 701 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 702 and / or RAM 703. It should be noted that the program can also be stored in one or more memories other than ROM 702 and RAM 703. Processor 701 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in one or more memories.
[0165] According to an embodiment of the present disclosure, the electronic device 700 may further include an input / output (I / O) interface 705, which is also connected to the bus 704. The electronic device 700 may further include one or more of the following components connected to the input / output (I / O) interface 705: an input portion 706 including a keyboard, a mouse, etc.; an output portion 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 708 including a hard disk, etc.; and a communication portion 709 including a network interface card such as a LAN card, a modem, etc. The communication portion 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the input / output (I / O) interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage portion 708 as needed.
[0166] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
[0167] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, it may include but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the ROM 702 and / or RAM 703 described above and / or one or more memories other than ROM 702 and RAM 703.
[0168] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the data query method provided by the embodiment of the present disclosure.
[0169] The above functions defined in the system / device of the embodiment of the present disclosure are performed when the computer program is executed by the processor 701. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0170] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 709, and / or installed from the removable medium 711. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0171] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the processor 701, the above functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, means, module, unit, etc. described above can be implemented by a computer program module.
[0172] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).
[0173] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0174] It will be appreciated by those skilled in the art that the features described in the various embodiments of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations or combinations are not explicitly described in the present disclosure. In particular, without departing from the spirit and teachings of the present disclosure, the features described in the various embodiments of the present disclosure may be combined and / or combined in a variety of ways. All of these combinations and / or combinations fall within the scope of the present disclosure.
[0175] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. A data query method, characterized in that: Applied to a data query system, the data query system includes at least one business to be queried and a website set to be queried including at least one website to be queried; the method includes: In response to a user selecting a target query service from at least one service to be queried, at least one target query website for the target query service is determined from at least one website to be queried according to a corresponding table of target query services and service websites, wherein the corresponding table of service websites contains information of websites to be queried corresponding to each service to be queried; Generate a query request for each target query website according to the information to be queried input by the user in the information input interface and at least one target query website; According to the query request of each target query website, at least one target query website is accessed respectively, so that at least one target query website performs a query operation according to the information to be queried; At least one query result fed back by at least one of the target query websites is received.
2. The method according to claim 1, characterized in that Also includes: In response to the user selecting to add a new website, displaying a website adding interface; Generate a new website to be queried according to the new website information input by the user in the website adding interface; The newly added website to be queried is determined to be a target query website.
3. The method according to claim 2, characterized in that Also includes: Adding the newly added website to be queried to the website set to be queried; The service-website correspondence table is updated according to the newly added website to be queried and the target query service.
4. The method according to claim 1, characterized in that Also includes: According to a selection operation of the user on at least one of the to-be-queried websites, the to-be-queried website selected by the user is determined as a target query website.
5. The method according to claim 1, characterized in that The step of accessing at least one of the target query websites according to the query request of each of the target query websites comprises: For each query request, access the target query website according to the address information of the target query website in the query request; The query information in the query request is automatically filled into the search box of the target query website, so that the target query website performs a query operation according to the information to be queried.
6. The method according to claim 1, characterized in that Before generating a query request for each target query website according to the information to be queried input by the user on the information input interface and at least one target query website, the method further includes: Calling a verification interface of an information verification system, and sending the information to be queried to the information verification system, so that the information verification system can verify the information to be queried; When it is determined that the verification result fed back by the information verification system indicates that the information to be queried has passed the verification, a query request for each target query website is generated according to the information to be queried and at least one target query website.
7. The method according to claim 1, characterized in that Also includes: Obtaining target content in the query result, and taking a screenshot of the target content to obtain a screenshot result; The screenshot results are displayed on the display interface.
8. The method according to claim 7, characterized in that Also includes: In response to the user selecting a print operation, a print function of the operating system is called to control a printer to print the screenshot result.
9. A data query device, characterized in that: The device comprises: A website determination module, configured to respond to a user's operation of selecting a target query service from at least one service to be queried, and determine at least one target query website for the target query service from at least one service to be queried according to a corresponding table of target query services and service websites, wherein the corresponding table of service websites contains information of the websites to be queried corresponding to each service to be queried; A request generation module, configured to generate a query request for each target query website according to the information to be queried input by the user in the information input interface and at least one target query website; A website access module, used to access at least one of the target query websites according to the query request of each of the target query websites, so that at least one of the target query websites performs a query operation according to the information to be queried; The result receiving module is used to receive at least one query result fed back by at least one of the target query websites.
10. An electronic device comprising: one or more processors; a memory for storing one or more computer programs, It is characterized in that the one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1 to 8.
11. A computer-readable storage medium having a computer program or instruction stored thereon, characterized in that: When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.
12. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 8 are implemented.