CN110297955B - Information query method, device, equipment and medium - Google Patents

Information query method, device, equipment and medium Download PDF

Info

Publication number
CN110297955B
CN110297955B CN201910534763.7A CN201910534763A CN110297955B CN 110297955 B CN110297955 B CN 110297955B CN 201910534763 A CN201910534763 A CN 201910534763A CN 110297955 B CN110297955 B CN 110297955B
Authority
CN
China
Prior art keywords
information
information source
determining
feedback data
information query
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910534763.7A
Other languages
Chinese (zh)
Other versions
CN110297955A (en
Inventor
汪正
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Advanced New Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Advanced New Technologies Co Ltd filed Critical Advanced New Technologies Co Ltd
Priority to CN201910534763.7A priority Critical patent/CN110297955B/en
Priority to CN202310300757.1A priority patent/CN116304226A/en
Publication of CN110297955A publication Critical patent/CN110297955A/en
Application granted granted Critical
Publication of CN110297955B publication Critical patent/CN110297955B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/903Querying
    • G06F16/90335Query processing

Abstract

The embodiment of the specification discloses an information query method, an information query device, information query equipment and a medium, wherein the information query method comprises the following steps: receiving an information query request, and determining a plurality of information sources according to the information query request; sending information query tasks to the information source parties in parallel, and receiving feedback data returned by the information source parties; and determining an information query result according to the feedback data of each information source received in the preset time.

Description

Information query method, device, equipment and medium
Technical Field
The present application relates to the field of computer technologies, and in particular, to an information query method, apparatus, device, and medium.
Background
In the prior art, when information query is performed, a plurality of information sources may exist for information to be queried, and information query needs to be performed for each information source. Under the condition, the prior art is difficult to accurately determine the information source sides to be inquired, and the information inquiry is performed to each information source side in sequence, namely after the information is inquired to the previous information source side, the information is inquired to the next information source side, so that the information inquiry time is long, the inquiry efficiency is low, and the information inquiry abnormity is easily caused due to overtime.
In view of the foregoing, there is a need for a more efficient and effective information query scheme.
Disclosure of Invention
Embodiments of the present specification provide an information query method, apparatus, device, and medium, so as to solve a technical problem of how to perform information query more effectively and more efficiently.
In order to solve the above technical problem, the embodiments of the present specification are implemented as follows:
an embodiment of the present specification provides an information query method, including:
receiving an information query request, and determining a plurality of information source parties according to the information query request;
sending information query tasks to the information source parties in parallel, and receiving feedback data returned by the information source parties;
and determining an information query result according to the feedback data of each information source party received within the preset time.
An embodiment of the present specification provides an information query apparatus, including:
the source determining module is used for receiving an information query request and determining a plurality of information source parties according to the information query request;
the information acquisition module is used for sending information query tasks to the information source parties in parallel and receiving feedback data returned by the information source parties;
and the result determining module is used for determining the information query result according to the feedback data of each information source party received within the preset time.
An embodiment of the present specification provides an information query apparatus, including:
at least one processor;
and (c) a second step of,
a memory communicatively coupled to the at least one processor;
wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to cause the at least one processor to:
receiving an information query request, and determining a plurality of information source parties according to the information query request;
sending information query tasks to the information source parties in parallel, and receiving feedback data returned by the information source parties;
and determining an information query result according to the feedback data of each information source party received within the preset time.
Embodiments of the present specification provide a computer-readable storage medium storing computer-executable instructions that, when executed by a processor, implement the steps of:
receiving an information query request, and determining a plurality of information source parties according to the information query request;
sending information query tasks to the information source parties in parallel, and receiving feedback data returned by the information source parties;
and determining an information query result according to the feedback data of each information source received in the preset time.
The embodiment of the specification adopts at least one technical scheme which can achieve the following beneficial effects:
a plurality of information source parties are determined through the information query request, so that the information source parties can be selected more accurately and efficiently; the information query tasks are sent to all information sources in parallel, parallel processing of a plurality of information query tasks is realized, and the processing among all the information query tasks can be isolated, so that the query efficiency can be effectively improved; and the information query result is determined according to the feedback data of each information source received within the preset time, so that the accuracy and the determination efficiency of the information query result can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present specification or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments of the present specification or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present specification, and for those skilled in the art, other drawings can be obtained according to the drawings without inventive labor.
Fig. 1 is a flowchart illustrating an information query method in the first embodiment of the present specification.
Fig. 2 is a schematic diagram of an information query process in the first embodiment of the present specification.
Fig. 3 is an application diagram of an information query method in the first embodiment of this specification.
Fig. 4 is a schematic structural diagram of an information inquiry apparatus in a second embodiment of the present specification.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only a few embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the prior art, when information query is needed, it is difficult to accurately determine information source parties, but potential information source parties need to be queried one by one, and after actual information source parties are determined, information query is performed on each information source party in sequence, that is, after information is queried on an upper information source party, information is queried on a lower information source party, so that the information query consumes a long time, the query efficiency is low, and information query abnormality is easily caused due to overtime.
Fig. 1 is a schematic flow chart of an information query method in a first embodiment of this specification, fig. 2 is a schematic diagram of an information query process in the first embodiment of this specification, and with reference to fig. 1 and fig. 2, the first embodiment of this specification provides an information query method, including:
s101: receiving an information inquiry request, and determining a plurality of information source parties according to the information inquiry request.
The execution main body of the embodiment can be a computer or a server or a corresponding information inquiry system, that is, the execution main body is various and can be set or changed according to the actual situation; in addition, a third-party application program can assist the execution main body to execute the embodiment; for example, as shown in fig. 3, the server may execute the information query method in this embodiment, and may further install a corresponding application program on a terminal (held by the user), where the server corresponds to the application program, data transmission may be performed between the server and the terminal held by the user, and the application program may be used to display a page and display information or input and output information to and from the user.
In this embodiment, an information query request may be received. Specifically, a user may click a corresponding button or input a corresponding query text or query keyword to start querying through a terminal or a corresponding page of an application on the terminal, the terminal or the application on the terminal generates an information query request according to the clicked button or query text or query keyword, and the information query request may carry the query text or query keyword; accordingly, the server may receive an information query request transmitted from the terminal or an application on the terminal.
In this embodiment, the (server) may determine multiple information sources according to the information query request (i.e. determine the information sources through a decision, which is a parallel decision hereinafter). Specifically, the method for determining the information source side according to the information query request includes, but is not limited to, the following 1.1 or 1.2:
1.1, determining the information source according to the type of the information to be inquired
Specifically, the (server) may determine the type of information to be queried, such as assets, according to the information query request, and may determine a plurality of information sources according to the information type, including but not limited to financial institutions such as banks (where the user is registered) or third-party payment institutions. Specifically, which information types can be set or changed according to needs, and the mapping relationship between the information types and the information source party can be set, so that the corresponding information source party is determined according to the information types. In addition, information types which can be inquired can be listed on a terminal or a corresponding page of an application program on the terminal, so that a user can select the information types to be inquired; or the type of the information to be queried can be determined according to query text or query keywords input by the user.
1.2, determining the information source according to the key text
The information query key text may be determined according to the information query request, for example, the information query key text is determined according to the query text input by the user, such as the determined information query key text is "bill", and then a plurality of information sources may be determined according to the information query key text, including but not limited to financial institutions such as banks (registered by the user) or third-party payment institutions. The mapping relation between the information query key text and the information source party can be set, and then the corresponding information source party is determined according to the information query key text.
The information source party in this embodiment may be subdivided as needed, for example, the information source party may be a financial institution such as the above-mentioned bank or third-party payment institution, or may be a financial account, a regular deposit account, and the like in the financial institution.
S102: and sending information query tasks to the information source parties in parallel, and receiving feedback data returned by the information source parties.
After the information source side is determined, the information query tasks can be sent to all the information source sides in parallel, namely, the information query tasks are respectively sent to all the information source sides, and the sending of the information query tasks to a certain information source side is not based on the premise that whether the information query tasks are sent to another or a plurality of information source sides. When the information query tasks are sent to all the information source sides in parallel, the time difference of sending the information query tasks to any two information source sides is smaller than or equal to a preset value; that is, the information query tasks are not necessarily sent to the information sources simultaneously, and the time difference between sending the information query tasks to any two information sources may be less than or equal to a predetermined value, where the predetermined value may be set or changed as needed. Of course, the information query task can also be sent to each information source side at the same time.
For any determined information source party, the information query task can be distributed to the thread pool of the information source party, and the information source party processes the information query task (the information source party captures corresponding information according to the information query task). The information source parties can process the information query tasks in an isolated mode, and if the information source parties are abnormal when processing the information query tasks received by the information source parties, the processing of the information query tasks received by the information source parties by other information source parties is not affected.
In this embodiment, after the information query task is sent to each information source side in parallel, each information source side may be queried within a predetermined time, that is, the information query processing result of each information source side is polled, and feedback data returned by each information source side is received. The "predetermined time" here may be calculated from the reception of the information inquiry request; or may be calculated from the time of the earliest sending of the information query task after the information query request is received (no matter which information source party the information query task is sent to at the earliest time); or after receiving the information query request, if the information query tasks are simultaneously sent to the information sources in parallel, the calculation can be started from the sending time of the information query tasks.
And for any information source party, determining whether to suspend or terminate polling the information source party according to the feedback data of the information source party. For any information source side, the feedback data of the information source side includes but is not limited to the following 2.1 to 2.3:
2.1 completion of information query task processing
For any information source party, if data obtained after the information inquiry task fed back by the information source party is processed is received in certain polling, the information source party is not polled again next time; if the data obtained after the information inquiry task fed back by the information source party is processed is received before a certain polling, the information source party is not polled at the time and later.
2.2, information query task processing
For any information source side, if the information query task returned during inquiring the information source side is still in process, the information source side still belongs to the polling object during next polling.
2.3 information query task handles errors or exceptions
For any information source party, if the data of wrong or abnormal processing of the information query task fed back by the information source party is received in the polling process at a certain time, the information source party is not polled any more next time; if the data of wrong or abnormal processing of the information query task fed back by the information source party is received before a certain polling, the information source party is not polled at the time and later; alternatively, the type of error or exception may be determined from the returned data handling the error or exception, and then a determination may be made whether to poll the information source. For the information source side with processing errors or exceptions of the information query task, fusing emergency processing can be adopted.
S103: and determining an information query result according to the feedback data of each information source received in the preset time.
After the preset time is reached, the information query result can be determined according to the feedback data of each information source party received in the preset time. Wherein, the information query result is determined according to the feedback data of each information source received in the preset time, and the information query result comprises but is not limited to the following 3.1 or 3.2:
3.1, determining effective feedback data according to the feedback data of each information source received within preset time, and determining an information query result according to the effective feedback data;
as described above, after the predetermined time is reached, if there may be some information source side information query tasks that are not completed or processing errors or exceptions, then the effective feedback data in the feedback data received from each information source side within the predetermined time can be determined; the feedback data returned by the information source side after the information query task is processed within the preset time can be used as effective feedback data; for the information source side which has not finished processing the information query task in the preset time, the feedback data returned by the information source side can be used as effective feedback data; for the information source side with processing errors or exceptions of the information query task, the feedback data returned by the information source side can be ignored, and the user can be reminded of the processing errors or exceptions of the information query task of the information source side by feeding back a corresponding file (to the user terminal). The specific determination standard or rule adopted by the effective feedback data can be determined or changed according to actual needs.
And 3.2, determining effective feedback data (see 3.1) according to the feedback data of each information source received in the preset time, and assembling the effective feedback data into an information query result.
In this embodiment, after determining the information query result, the (server) may send the information query result to the information query requester, where the information query requester may be a sender of the information query request, and specifically, may be a terminal or an application program on the terminal.
According to the embodiment, a plurality of information source parties are determined through the information query request, so that the information source parties can be selected more accurately and efficiently; the information query tasks are sent to all information source sides in parallel, parallel processing of information query requests and parallel processing of a plurality of information query tasks are achieved, processing among all the information query tasks can be isolated, and even if one or more information source side tasks fail to be processed or are abnormal, task processing of other information source sides is not affected, so that query efficiency and effect can be effectively improved; and the information query result is determined according to the feedback data of each information source received within the preset time, so that the accuracy and the determination efficiency of the information query result can be improved.
As shown in fig. 4, a second embodiment of the present specification provides an information query apparatus, including:
a source determining module 201, configured to receive an information query request, and determine a plurality of information sources according to the information query request;
the information acquisition module 202 is configured to send an information query task to each information source side in parallel, and receive feedback data returned by each information source side;
and the result determining module 203 is configured to determine an information query result according to the feedback data of each information source received within a predetermined time.
Optionally, determining a plurality of information sources according to the information query request includes:
determining the type of information to be queried according to the information query request, and determining a plurality of information sources according to the type of the information;
and/or the presence of a gas in the gas,
and determining an information query key text according to the information query request, and determining a plurality of information source parties according to the information query key text.
Optionally, the time difference between the information obtaining module 202 and the information query task sent by any two information sources is less than or equal to a predetermined value.
Optionally, the information obtaining module 202 is further configured to:
after information inquiry tasks are sent to the information source parties in parallel, each information source party is inquired within the preset time;
and for any information source party, determining whether to suspend or terminate polling the information source party according to the feedback data of the information source party.
Optionally, determining the information query result according to the feedback data of each information source received within the predetermined time includes:
determining effective feedback data according to feedback data of each information source party received within preset time, and determining an information query result according to the effective feedback data;
or the like, or, alternatively,
and determining effective feedback data according to the received feedback data of each information source party within preset time, and assembling the effective feedback data into an information query result.
Optionally, the apparatus further comprises:
and the sending module is used for sending the information query result to the information query requester.
A third embodiment of the present specification provides an information inquiry apparatus, including:
at least one processor;
and the number of the first and second groups,
a memory communicatively coupled to the at least one processor;
wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
receiving an information query request, and determining a plurality of information source parties according to the information query request;
sending information query tasks to the information source parties in parallel, and receiving feedback data returned by the information source parties;
and determining an information query result according to the feedback data of each information source received in the preset time.
A fourth embodiment of the present specification provides a computer-readable storage medium having stored thereon computer-executable instructions that, when executed by a processor, perform the steps of:
receiving an information query request, and determining a plurality of information source parties according to the information query request;
sending information query tasks to the information source parties in parallel, and receiving feedback data returned by the information source parties;
and determining an information query result according to the feedback data of each information source received in the preset time.
The above embodiments may be used in combination.
While certain embodiments of the present disclosure have been described above, other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily have to be in the particular order shown or in sequential order to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus, device, and non-volatile computer-readable storage medium embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and in relation to the description, reference may be made to some portions of the description of the method embodiments.
The apparatus, the device, the nonvolatile computer readable storage medium, and the method provided in the embodiments of the present specification correspond to each other, and therefore, the apparatus, the device, and the nonvolatile computer storage medium also have similar advantageous technical effects to the corresponding method.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as ABEL (Advanced Boolean Expression Language), AHDL (Advanced Hardware description IP address) and conversion Language, CUPL (core unity Programming Language), hdcall, JHDL (Hardware description IP address Language), lava, lola, HDL, PALASM, palsy (Hardware runtime software Language), and Hardware Language (Hardware Language-Hardware Language). It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, atmel AT91SAM, microchIP address PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic of the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller in purely computer readable program code means, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be conceived to be both a software module implementing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the various elements may be implemented in the same one or more pieces of software and/or hardware in the practice of this description.
As will be appreciated by one skilled in the art, the present specification embodiments may be provided as a method, system, or computer program product. Accordingly, embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the present description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and so forth) having computer-usable program code embodied therein.
The description has been presented with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the description. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of other like elements in a process, method, article, or apparatus comprising the element.
This description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present disclosure, and is not intended to limit the present disclosure. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (14)

1. An information query method, comprising:
receiving an information query request, and determining a plurality of information source parties according to the information query request;
sending information query tasks to the information source parties in parallel, receiving feedback data returned by the information source parties, and querying the information source parties within the preset time after the information query tasks are sent to the information source parties in parallel; for any information source party, determining whether to stop or terminate polling the information source party according to feedback data of the information source party;
and determining an information query result according to the feedback data of each information source received in the preset time.
2. The method of claim 1, determining a plurality of information sourcing parties from the information query request comprises:
determining the type of information to be queried according to the information query request, and determining a plurality of information source parties according to the information type;
and/or the presence of a gas in the gas,
and determining an information query key text according to the information query request, and determining a plurality of information source parties according to the information query key text.
3. The method of claim 1, wherein the time difference between sending the information query task to any two information sources is less than or equal to a predetermined value.
4. The method of claim 1, further comprising:
after information inquiry tasks are sent to the information source parties in parallel, each information source party is inquired within the preset time;
and for any information source party, determining whether to suspend or terminate polling the information source party according to the feedback data of the information source party.
5. The method of claim 1, wherein determining the information query result according to the feedback data of each information source received in the predetermined time comprises:
determining effective feedback data according to feedback data of each information source received within preset time, and determining an information query result according to the effective feedback data;
or the like, or, alternatively,
and determining effective feedback data according to the received feedback data of each information source party within preset time, and assembling the effective feedback data into an information query result.
6. The method of any of claims 1 to 5, further comprising:
and sending the information query result to an information query requester.
7. An information inquiry apparatus comprising:
the source determining module is used for receiving an information query request and determining a plurality of information source parties according to the information query request;
the information acquisition module is used for parallelly sending information query tasks to the information sources and receiving feedback data returned by the information sources, and the information query tasks are parallelly sent to the information sources and then are queried within the preset time; for any information source party, determining whether to stop or terminate polling the information source party according to feedback data of the information source party;
and the result determining module is used for determining an information query result according to the feedback data of each information source received in the preset time.
8. The apparatus of claim 7, wherein determining a plurality of information sourcing parties based on the information query request comprises:
determining the type of information to be queried according to the information query request, and determining a plurality of information sources according to the type of the information;
and/or the presence of a gas in the gas,
and determining an information query key text according to the information query request, and determining a plurality of information source parties according to the information query key text.
9. The apparatus of claim 7, wherein the time difference between sending the information query task to any two information sources is less than or equal to a predetermined value.
10. The apparatus of claim 7, the information acquisition module further to:
after information inquiry tasks are sent to the information source parties in parallel, each information source party is inquired within the preset time;
and for any information source party, determining whether to suspend or terminate polling the information source party according to the feedback data of the information source party.
11. The apparatus as claimed in claim 7, wherein the determining the information query result according to the feedback data of each information source received within the predetermined time comprises:
determining effective feedback data according to feedback data of each information source received within preset time, and determining an information query result according to the effective feedback data;
or the like, or a combination thereof,
and determining effective feedback data according to the received feedback data of each information source party within preset time, and assembling the effective feedback data into an information query result.
12. The apparatus of any one of claims 7 to 11, further comprising:
and the sending module is used for sending the information query result to the information query requester.
13. An information inquiry apparatus comprising:
at least one processor;
and (c) a second step of,
a memory communicatively coupled to the at least one processor;
wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
receiving an information query request, and determining a plurality of information source parties according to the information query request;
sending information query tasks to the information source parties in parallel, receiving feedback data returned by the information source parties, and querying the information source parties within the preset time after the information query tasks are sent to the information source parties in parallel; for any information source party, determining whether to stop or terminate polling the information source party according to feedback data of the information source party;
and determining an information query result according to the feedback data of each information source received in the preset time.
14. A computer-readable storage medium storing computer-executable instructions that, when executed by a processor, perform the steps of:
receiving an information query request, and determining a plurality of information source parties according to the information query request;
sending information query tasks to the information source parties in parallel, receiving feedback data returned by the information source parties, and querying the information source parties within the preset time after the information query tasks are sent to the information source parties in parallel; for any information source party, determining whether to stop or terminate polling the information source party according to feedback data of the information source party;
and determining an information query result according to the feedback data of each information source received in the preset time.
CN201910534763.7A 2019-06-20 2019-06-20 Information query method, device, equipment and medium Active CN110297955B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910534763.7A CN110297955B (en) 2019-06-20 2019-06-20 Information query method, device, equipment and medium
CN202310300757.1A CN116304226A (en) 2019-06-20 2019-06-20 Information query method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910534763.7A CN110297955B (en) 2019-06-20 2019-06-20 Information query method, device, equipment and medium

Related Child Applications (1)

Application Number Title Priority Date Filing Date
CN202310300757.1A Division CN116304226A (en) 2019-06-20 2019-06-20 Information query method, device, equipment and medium

Publications (2)

Publication Number Publication Date
CN110297955A CN110297955A (en) 2019-10-01
CN110297955B true CN110297955B (en) 2023-03-24

Family

ID=68028226

Family Applications (2)

Application Number Title Priority Date Filing Date
CN202310300757.1A Pending CN116304226A (en) 2019-06-20 2019-06-20 Information query method, device, equipment and medium
CN201910534763.7A Active CN110297955B (en) 2019-06-20 2019-06-20 Information query method, device, equipment and medium

Family Applications Before (1)

Application Number Title Priority Date Filing Date
CN202310300757.1A Pending CN116304226A (en) 2019-06-20 2019-06-20 Information query method, device, equipment and medium

Country Status (1)

Country Link
CN (2) CN116304226A (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110659361B (en) * 2019-10-11 2023-01-17 卢卡(北京)智能科技有限公司 Conversation method, device, equipment and medium
CN112328634A (en) * 2020-10-16 2021-02-05 中国建设银行股份有限公司 Database-based operation request processing method and device
CN112395572A (en) * 2020-11-18 2021-02-23 中国建设银行股份有限公司 Method, medium and equipment for authorizing and inquiring personal data in big data transaction

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7472113B1 (en) * 2004-01-26 2008-12-30 Microsoft Corporation Query preprocessing and pipelining
CN106407244A (en) * 2016-06-21 2017-02-15 平安科技(深圳)有限公司 Multi-database-based data query method, system and apparatus
CN106407250A (en) * 2015-07-28 2017-02-15 阿里巴巴集团控股有限公司 Information query method, device and system, server and client side
CN106997393A (en) * 2017-04-10 2017-08-01 深圳乐信软件技术有限公司 Data query method, device, server and storage medium
CN107220376A (en) * 2017-06-21 2017-09-29 北京奇艺世纪科技有限公司 A kind of data query method and apparatus
CN107480252A (en) * 2017-08-14 2017-12-15 浪潮软件股份有限公司 A kind of data query method, client, service end and system
CN108108439A (en) * 2017-12-21 2018-06-01 北京奇艺世纪科技有限公司 A kind of data query method, apparatus and electronic equipment
CN108848244A (en) * 2018-04-02 2018-11-20 阿里巴巴集团控股有限公司 A kind of method and device of Pagination Display

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090204593A1 (en) * 2008-02-11 2009-08-13 Yahoo! Inc. System and method for parallel retrieval of data from a distributed database

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7472113B1 (en) * 2004-01-26 2008-12-30 Microsoft Corporation Query preprocessing and pipelining
CN106407250A (en) * 2015-07-28 2017-02-15 阿里巴巴集团控股有限公司 Information query method, device and system, server and client side
CN106407244A (en) * 2016-06-21 2017-02-15 平安科技(深圳)有限公司 Multi-database-based data query method, system and apparatus
CN106997393A (en) * 2017-04-10 2017-08-01 深圳乐信软件技术有限公司 Data query method, device, server and storage medium
CN107220376A (en) * 2017-06-21 2017-09-29 北京奇艺世纪科技有限公司 A kind of data query method and apparatus
CN107480252A (en) * 2017-08-14 2017-12-15 浪潮软件股份有限公司 A kind of data query method, client, service end and system
CN108108439A (en) * 2017-12-21 2018-06-01 北京奇艺世纪科技有限公司 A kind of data query method, apparatus and electronic equipment
CN108848244A (en) * 2018-04-02 2018-11-20 阿里巴巴集团控股有限公司 A kind of method and device of Pagination Display

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
分布式空间数据源的联合查询;王颖;《计算机工程与设计》;20070228(第04期);全文 *

Also Published As

Publication number Publication date
CN116304226A (en) 2023-06-23
CN110297955A (en) 2019-10-01

Similar Documents

Publication Publication Date Title
CN110297955B (en) Information query method, device, equipment and medium
CN108173706B (en) Service marking method, device and equipment under multi-service system
TWI694342B (en) Data cache method, device and system
CN107038041B (en) Data processing method, error code dynamic compatibility method, device and system
CN108599973B (en) Log association method, device and equipment
CN107016029B (en) Method, device and system for processing service data
CN110263050B (en) Data processing method, device, equipment and storage medium
WO2019196551A1 (en) Payment process configuration and execution method, apparatus and device
CN110008018A (en) A kind of batch tasks processing method, device and equipment
CN103838626A (en) Data processing device and method for processing serial tasks
WO2019085601A1 (en) Task execution method and apparatus
WO2016004814A1 (en) Service visualization method and system
CN112015739A (en) Data verification and data query method and device
CN110377268A (en) Serial number generation method, device and storage medium
CN110992040A (en) Transaction processing method, device and equipment
CN111899008B (en) Resource transfer method, device, equipment and system
TW202008267A (en) Bookkeeping method and device, and integrated transaction and finance system
CN110782253B (en) Transaction processing method, device and equipment based on block chain
CN109345221A (en) The checking method and device of resource circulation
CN110389989B (en) Data processing method, device and equipment
CN111402058B (en) Data processing method, device, equipment and medium
US20140289722A1 (en) Parallel program installation and configuration
CN115098232A (en) Task scheduling method, device and equipment
CN106548331B (en) Method and device for determining release sequence
CN110245115B (en) File processing method, engine and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200928

Address after: 27 Hospital Road, George Town, Grand Cayman ky1-9008

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: 27 Hospital Road, George Town, Grand Cayman ky1-9008

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200928

Address after: 27 Hospital Road, George Town, Grand Cayman ky1-9008

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant