CN109299139A - A kind of information query method and device - Google Patents

A kind of information query method and device Download PDF

Info

Publication number
CN109299139A
CN109299139A CN201811150618.0A CN201811150618A CN109299139A CN 109299139 A CN109299139 A CN 109299139A CN 201811150618 A CN201811150618 A CN 201811150618A CN 109299139 A CN109299139 A CN 109299139A
Authority
CN
China
Prior art keywords
information
synchronized
platform
user
requirement
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.)
Granted
Application number
CN201811150618.0A
Other languages
Chinese (zh)
Other versions
CN109299139B (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.)
Ant Fortune Shanghai Financial Information Service Co ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201811150618.0A priority Critical patent/CN109299139B/en
Publication of CN109299139A publication Critical patent/CN109299139A/en
Application granted granted Critical
Publication of CN109299139B publication Critical patent/CN109299139B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

Disclose a kind of information query method and device.A kind of information query method is applied to information requirement platform, the first process and the second process worked independently from each other is pre-configured in the information requirement platform, this method comprises: the first process determines information to be synchronized;According to the information to be synchronized, rule is sent according to preset request and provides information to platform transmission synchronizing information request;It receives information and the information that platform is returned according to synchronizing information request is provided, and be synchronized to information requirement Platform native storing data library and stored;Second process determines the information to be inquired of user;Second process inquires identified information and shows user in the information that information requirement Platform native storing data library is stored.

Description

A kind of information query method and device
Technical field
This specification embodiment is related to field of computer technology more particularly to a kind of information query method and device.
Background technique
Generally, under the scene of information inquiry, user is frequently encountered in information requirement platform query information, and information The special line or optical fiber that demand platform generally requires to provide between platform by information requirement platform and information provide information to platform It goes to ask for information and feeds back to user.Using information requirement platform as e-commerce platform, it is external bank mechanism that information, which provides platform, For, user buys the commodity such as gold jewelry, gold bar, gold gift in e-commerce platform, or utilizes convertible note, integral The commodity such as equal conversion to gold jewellery, gold bar, gold gift generally can be looked into preferentially by the query page that e-commerce platform provides Merchandise news, such as inquiry commodity details and items list etc. are ask, if the favorite commodity, just can buy or exchange.However For the merchandise news of the commodity such as gold jewelry, gold bar, gold gift, these merchandise newss are provided by external bank mechanism, outside The transmission of merchandise news is carried out between banking institution of portion and e-commerce platform by special line or optical fiber, it is meant that work as user When inquiring the merchandise news of such commodity, e-commerce platform sends querying commodity information request to external banking institution, external Banking institution requests to return to merchandise news to e-commerce platform according to the querying commodity information, and e-commerce platform believes commodity Breath shows user.
But as multiple users while in information requirement platform query information, information requirement platform needs are provided information to The concurrent multiple information inquiring requests of platform, especially when some period, user's amount of access abruptly increase of information requirement platform, information is needed The quantity for asking platform to provide information to the concurrent information inquiring request of platform equally understands abruptly increase, since information provides platform and information The transmission rate of special line or optical fiber is limited between demand platform, can not be sent to letter in time for some information inquiring requests Breath provides platform, and user query information is caused to fail.
Summary of the invention
In view of the above technical problems, this specification embodiment provides a kind of information query method and device, and technical solution is such as Under:
A kind of information query method is applied to information requirement platform, is pre-configured in the information requirement platform mutually The first process and the second process to work independently, this method comprises:
First process determines information to be synchronized;
According to the information to be synchronized, rule is sent according to preset request and provides information to platform transmission synchronizing information Request;
It receives information and the information that platform is returned according to synchronizing information request is provided, and be synchronized to information requirement platform sheet Ground storing data library is stored;
Second process determines the information to be inquired of user;
Second process inquires identified information simultaneously in the information that information requirement Platform native storing data library is stored Show user.
A kind of information query device is applied to information requirement platform, is pre-configured in the information requirement platform mutually The first process and the second process to work independently, the device include:
Information determination module to be synchronized determines information to be synchronized for the first process;
Request sending module, for sending rule according to preset request and being mentioned to information according to the information to be synchronized Synchronizing information request is sent for platform;
Information storage module provides the information that platform is returned according to synchronizing information request for receiving information, and same Step to information requirement Platform native storing data library is stored;
Information determination module determines the information to be inquired of user for the second process;
Information inquiry module, for the second process in the information that information requirement Platform native storing data library is stored, Information determined by inquiring simultaneously shows user.
Technical solution provided by this specification embodiment, by being pre-configured with mutually indepedent work in information requirement platform The first process and the second process made, are deposited synchronizing information to the information requirement Platform native that information provides platform by the first process Database is stored up, the information to be inquired of user is determined by the second process, and store in information requirement Platform native storing data library Information in inquire determined by information show user.Special line between platform and information requirement platform be not provided information Or in the case that optical fiber carries out dilatation, information requirement platform can cope with the higher situation of user concurrent access amount, but also It can rapidly and efficiently be that user provides the service of information inquiry.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not This specification embodiment can be limited.
In addition, any embodiment in this specification embodiment does not need to reach above-mentioned whole effects.
Detailed description of the invention
In order to illustrate more clearly of this specification embodiment or technical solution in the prior art, below will to embodiment or Attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is only The some embodiments recorded in this specification embodiment for those of ordinary skill in the art can also be attached according to these Figure obtains other attached drawings.
Fig. 1 is the connection schematic diagram between this specification embodiment information requirement platform and information offer platform;
Fig. 2 is the flow diagram of the information query method of this specification embodiment;
Fig. 3 is the structural schematic diagram of the information query device of this specification embodiment;
Fig. 4 is the structural schematic diagram for configuring a kind of equipment of this specification embodiment device.
Specific embodiment
Currently in information requirement platform, if information requirement platform is needed to information when multiple users while query information The concurrent multiple information inquiring requests of platform are provided, especially when some period, user's amount of access abruptly increase of information requirement platform, with This simultaneously information requirement platform provide information to the quantity of the concurrent information inquiring request of platform also can abruptly increase, since information provides The transmission of information is carried out between platform and information requirement platform using special line or optical fiber, as shown in Figure 1, information provide platform with Transmission rate between information requirement platform using special line or optical fiber is limited, such as the transmission pressure that special line can carry is per second 100 information inquiring requests of concurrent transmission, but sometime, information requirement platform needs to provide information to platform concurrent 100 A information inquiring request has been more than the transmission pressure that special line or optical fiber can carry, can only take current limiting measures, thus for having A little information inquiring requests can not be sent to information in time and provide platform, and user query information is caused to fail.
To solve the above-mentioned problems, this specification provides a kind of technical solution, by matching in advance in information requirement platform The first process and the second process worked independently from each other is set, is needed synchronizing information to the information that information provides platform by the first process Platform native storing data library is asked, the information to be inquired of user is determined by the second process, and deposit in information requirement Platform native It stores up information determined by inquiring in the information of database purchase and shows user.Not flat to information offer platform and information requirement In the case that special line or optical fiber between platform carry out dilatation, it is higher that information requirement platform can cope with user concurrent access amount Situation, but also can rapidly and efficiently be that user provides the service of information inquiry.
Specifically, the technical solution that this specification provides is as follows:
First process determines information to be synchronized;According to the information to be synchronized, rule is sent according to preset request It provides information to platform and sends synchronizing information request;It receives information and the letter that platform is returned according to synchronizing information request is provided Breath, and be synchronized to information requirement Platform native storing data library and stored;Second process determines the information to be inquired of user; Second process inquires identified information and shows use in the information that information requirement Platform native storing data library is stored Family.
Wherein, in order to preferably illustrate that the technical solution provided is illustrated to this, under the scene of information inquiry, with letter Breath demand platform be e-commerce platform, information provide platform be external bank mechanism for, by information be merchandise news for, By taking synchronizing information request is merchandise news synchronization request as an example.It is worth noting that, this specification is only to combine concrete application The technical solution that scene provides this specification is illustrated, and does not limit the concrete application scene of the application.
In order to make those skilled in the art more fully understand the technical solution in this specification embodiment, below in conjunction with this Attached drawing in specification embodiment is described in detail the technical solution in this specification embodiment, it is clear that described Embodiment is only a part of the embodiment of this specification, instead of all the embodiments.The embodiment of base in this manual, Those of ordinary skill in the art's every other embodiment obtained, all should belong to the range of protection.
As shown in Fig. 2, the flow diagram of the information query method provided for this specification embodiment, wherein the first process Worked independently from each other with the second process, the first process execute the step of with the second process execute the step of limit execution it is suitable Sequence can specifically include following steps:
S201, the first process determine information to be synchronized;
In the application, merchandise news to be synchronized is first determined, wherein commodity to be synchronized can be determined in the following manner Information:
It is full to choose historical query number to the historical query number of every merchandise news for 1: the first process counting user of mode The merchandise news of sufficient preset requirement determines that selected merchandise news is merchandise news to be synchronized.Wherein choose historical query The merchandise news that number meets preset requirement, which can be, chooses merchandise news of the historical query number more than preset threshold, such as selects Taking historical query number is more than 1000 merchandise news.The merchandise news that selection historical query number meets preset requirement can also To be the commodity chosen historical query number merchandise news in the top, such as choose 100 before historical query number ranking Information.
For example, currently there is 100 merchandise newss, every merchandise news corresponds to respective historical query number, merchandise news 1 Corresponding historical query number is 1010, the corresponding historical query number of merchandise news 2 is 1100 ..., chooses historical query time Merchandise news of the number more than 1000 times determines this 58 quotient wherein the historical query number of 58 merchandise news is more than 1000 times Product information is merchandise news to be synchronized.
2: the first process of mode calculates user to the historical query frequency of every merchandise news, and it is full to choose historical query frequency The merchandise news of sufficient preset requirement determines that selected merchandise news is merchandise news to be synchronized.Wherein choose historical query The merchandise news that frequency meets preset requirement, which can be, chooses merchandise news of the historical query frequency more than preset threshold, such as selects Taking historical query frequency is more than 100 times per hour merchandise news.Choose the commodity letter that historical query frequency meets preset requirement Breath is also possible to choose historical query frequency merchandise news in the top, such as chooses before historical query frequency ranking 100 Merchandise news.
For example, currently there is 100 merchandise newss, every merchandise news corresponds to respective historical query frequency, merchandise news 1 Corresponding historical query frequency is 110 times per hour, the corresponding historical query frequency of merchandise news 2 is 100 times per hour, is chosen Historical query frequency is more than 100 times per hour merchandise news, wherein the historical query frequency of 40 merchandise news is more than per small When 100 times, determine this 40 merchandise newss be merchandise news to be synchronized.
3: the first process of mode determines the merchandise news inquired in user's history, the commodity inquired from user's history Merchandise news is randomly selected in information, determines that selected merchandise news is merchandise news to be synchronized.It wherein can be from user Part merchandise news is randomly selected in the merchandise news inquired in history.
For example, the first process, which determines, once inquired 100 merchandise newss in user's history, inquired from user's history 100 merchandise newss in, randomly select 50 merchandise newss, determine that this selected 50 merchandise newss are quotient to be synchronized Product information.
In addition, the historical query number of merchandise news, historical query frequency, inquiry are gone through in above-mentioned described user's history History can be the user behavior in some time window, such as can be the user behavior in nearest 1 year.
S202 sends rule and provides information to platform and send and believe according to the information to be synchronized according to preset request Cease synchronization request;
In this specification embodiment, according to merchandise news to be synchronized, can by timed task, event triggering or Person receives the mode of synchronizing information instruction, and the first process sends rule according to preset request and sends commodity to external banking institution Synchronizing information request.
Wherein timed task executes identical operation every one section of set time timing, i.e., periodically timing executes phase Same operation.According to merchandise news to be synchronized, periodically timing sends rule to external bank machine according to preset request Structure sends merchandise news synchronization request.Such as with 12 hours for the period, daily 1:00 AM according to preset request send rule to External bank mechanism sends merchandise news synchronization request.
Event triggering, user performs some operation and triggers event, such as user clicks some button trigger button thing Part, according to merchandise news to be synchronized, sends rule to external banking institution according to preset request after button event triggering Send merchandise news synchronization request.
Synchronizing information instruction is received, synchronizing information instruction can be user's input, be also possible to the transmission of some server , the source that this specification instructs synchronizing information is not construed as limiting.After receiving synchronizing information instruction, according to commodity to be synchronized Information sends rule according to preset request and sends merchandise news synchronization request to external banking institution.
By the above-mentioned means, rule can be sent to external silver according to preset request according to merchandise news to be synchronized Row mechanism sends merchandise news synchronization request.Wherein preset request sends rule, such as can be one commodity of transmission per second Synchronizing information request or 10 merchandise news synchronization requests of transmission per second.
S203 receives information and provides the information that platform is returned according to synchronizing information request, and is synchronized to information requirement Platform native storing data library is stored;
E-commerce platform sends merchandise news synchronization request to external banking institution, and external bank mechanism is receiving quotient After the request of product synchronizing information, the merchandise news of locally stored database storage is inquired according to merchandise news synchronization request, to electronics Business platform returns to the merchandise news inquired, wherein it is corresponding how to inquire commodity synchronization request in this side of external banking institution Merchandise news, and how to return to the merchandise news inquired, in this not go into detail for this specification embodiment.
First process receives the merchandise news that external bank mechanism is returned according to commodity synchronization request, and is synchronized to electronics quotient Business Platform native storing data library is stored.
Wherein, the merchandise news for returning to external bank mechanism be synchronized to e-commerce platform locally stored database into Before row storage, following processing can be taken: the merchandise news returned for external bank mechanism, the in e-commerce platform One process receives the merchandise news that external bank mechanism returns, and taxonomic revision is carried out to the merchandise news of return, by same class quotient Product finish message is to together.Such as taxonomic revision is carried out to the merchandise news of return, by the merchandise news of return be divided into A, B, C, D, E5 class.
After carrying out taxonomic revision to the merchandise news of return, category is synchronized to e-commerce platform and number is locally stored It is stored according to library.For example, A, B, C, D, E5 class merchandise news as stated above is synchronized to e-commerce platform and is locally stored Database is stored.
Foregoing description is how the merchandise news of external bank mechanism is synchronized to e-commerce platform sheet by the first process Ground storing data library is stored, and described below is the merchandise news how the second process inquires that user to be inquired.
S204, the second process determine the information to be inquired of user;
When user logs in e-commerce platform, the commodity shown in browsing e-commerce platform, user can inquired The page inquires the corresponding merchandise news of commodity by way of click, when the triggering of the clicking operation of user, the second process meeting Determine the merchandise news to be inquired of user.For example, user, which clicks gold jewelry in query page, wants inquiry gold jewelry Commodity details, when the triggering of the clicking operation of user, the second process can determine whether the commodity details to be inquired of user.
S205, the second process is in the information that information requirement Platform native storing data library is stored, determined by inquiry Information simultaneously shows user.
For merchandise news identified in S205, the second process is stored in e-commerce platform locally stored database Merchandise news in, inquire determined by merchandise news simultaneously show user.The realization of merchandise news determined by wherein inquiring There are many kinds in mode, one of which is illustrated in this specification embodiment, it is notable that this specification is implemented Example simultaneously limits how to inquire identified merchandise news.
The implementation of merchandise news determined by inquiring are as follows: carried out according to merchandise news of above-mentioned first process to return Taxonomic revision, category are synchronized to e-commerce platform locally stored database and are stored, then can determine identified quotient Classification belonging to product information is inquired in the category merchandise news of e-commerce platform locally stored database storage and is determined Merchandise news.For example, merchandise news determined by determining belongs to A class merchandise news, then it can be in e-commerce platform local Merchandise news determined by being inquired in the A class merchandise news of storing data library storage.
In addition, not inquired when the second process is in the merchandise news that e-commerce platform locally stored database is stored When to identified merchandise news, the second process notifies the first process, so that commodity determined by the first process priority synchronization are believed Breath is stored to e-commerce platform locally stored database, and specific way can be the second process and notify the first process excellent Identified merchandise news is first determined as merchandise news to be synchronized, subsequent first process is believed according to the commodity to be synchronized Breath, according to preset request send rule to external banking institution send synchronizing information request, reception external bank mechanism according to The information that the synchronizing information request returns, and be synchronized to e-commerce platform locally stored database and stored.Subsequent Two processes can inquire again e-commerce platform this storage merchandise news and show user.
By the description of the above-mentioned technical solution provided this specification, by being pre-configured in information requirement platform mutually The first process and the second process to work independently provides information to the synchronizing information of platform to information requirement platform by the first process Locally stored database determines the information to be inquired of user by the second process, and in information requirement Platform native storing data Information determined by inquiring in the information of library storage shows user.Information is not being provided between platform and information requirement platform Special line or optical fiber carry out dilatation in the case where, information requirement platform can cope with the higher situation of user concurrent access amount, It but also can rapidly and efficiently be that user provides the service of information inquiry.
Relative to above method embodiment, this specification embodiment also provides a kind of information query device, is applied to information Demand platform, as shown in figure 3, may include: information determination module 310 to be synchronized, request sending module 320, information storage mould Block 330, information determination module 340, information inquiry module 350.
Information determination module 310 to be synchronized determines information to be synchronized for the first process;
Request sending module 320, for sending rule to information according to preset request according to the information to be synchronized Platform is provided and sends synchronizing information request;
Information storage module 330 provides the information that platform is returned according to synchronizing information request for receiving information, and Information requirement Platform native storing data library is synchronized to be stored;
Information determination module 340 determines the information to be inquired of user for the second process;
Information inquiry module 350, the information stored for the second process in information requirement Platform native storing data library In, it inquires identified information and shows user.
According to a kind of specific embodiment that this specification provides, the information determination module 310 to be synchronized is specifically used for:
Historical query number of the first process counting user to every information;
Choose the information that historical query number meets preset requirement;
Determine that selected information is information to be synchronized.
According to a kind of specific embodiment that this specification provides, the information determination module 310 to be synchronized is specifically used for:
First process calculates user to the historical query frequency of every information;
Choose the information that historical query frequency meets preset requirement;
Determine that selected information is information to be synchronized.
According to a kind of specific embodiment that this specification provides, the information determination module 310 to be synchronized is specifically used for:
Determine the information inquired in user's history;
Information is randomly selected from the information inquired in user's history;
Determine that selected information is information to be synchronized.
According to a kind of specific embodiment that this specification provides, the request sending module 320 is specifically used for:
According to the information to be synchronized, by way of timed task, event triggering or receiving synchronizing information instruction Rule, which is sent, according to preset request provides information to platform transmission synchronizing information request.
According to a kind of specific embodiment that this specification provides, described device further include:
Notification module 360, for working as the second process in the information that information requirement Platform native storing data library is stored, When information determined by not inquiring, the second process notifies the first process, so that information determined by the first process priority synchronization It is stored to information requirement Platform native storing data library.
The function of modules and the realization process of effect are specifically detailed in the above method and correspond to step in above-mentioned apparatus Realization process, details are not described herein.
By the description of the above-mentioned technical solution provided this specification, by being pre-configured in information requirement platform mutually The first process and the second process to work independently provides information to the synchronizing information of platform to information requirement platform by the first process Locally stored database determines the information to be inquired of user by the second process, and in information requirement Platform native storing data Information determined by inquiring in the information of library storage shows user.Information is not being provided between platform and information requirement platform Special line or optical fiber carry out dilatation in the case where, information requirement platform can cope with the higher situation of user concurrent access amount, It but also can rapidly and efficiently be that user provides the service of information inquiry.
This specification embodiment also provides a kind of computer equipment, as shown in figure 4, the equipment may include: processor 410, memory 420, input/output interface 430, communication interface 440 and bus 450.Wherein processor 410, memory 420, Input/output interface 430 and communication interface 440 pass through the communication connection between the realization of bus 450 inside equipment.
Processor 410 can use general CPU (Central Processing Unit, central processing unit), micro process Device, application specific integrated circuit (Application Specific Integrated Circuit, ASIC) or one or The modes such as multiple integrated circuits are realized, for executing relative program, to realize technical solution provided by this specification embodiment.
Memory 420 can use ROM (Read Only Memory, read-only memory), RAM (Random Access Memory, random access memory), static storage device, the forms such as dynamic memory realize.Memory 420 can store Operating system and other applications are realizing technical solution provided by this specification embodiment by software or firmware When, relevant program code is stored in memory 420, and execution is called by processor 410.
Input/output interface 430 is for connecting input/output module, to realize information input and output.Input and output/ Module can be used as component Configuration (not shown) in a device, can also be external in equipment to provide corresponding function.Wherein Input equipment may include keyboard, mouse, touch screen, microphone, various kinds of sensors etc., output equipment may include display, Loudspeaker, vibrator, indicator light etc..
Communication interface 440 is used for connection communication module (not shown), to realize the communication of this equipment and other equipment Interaction.Wherein communication module can be realized by wired mode (such as USB, cable etc.) and be communicated, can also be wirelessly (such as mobile network, WIFI, bluetooth etc.) realizes communication.
Bus 450 includes an access, in various components (such as the processor 410, memory 420, input/output of equipment Interface 430 and communication interface 440) between transmit information.
It should be noted that although above equipment illustrates only processor 410, memory 420, input/output interface 430, communication interface 440 and bus 450, but in the specific implementation process, which can also include realizing to operate normally Necessary other assemblies.In addition, it will be appreciated by those skilled in the art that, it can also be only comprising realizing in above equipment Component necessary to this specification example scheme, without including all components shown in figure.
This specification embodiment also provides a kind of computer readable storage medium, is stored thereon with computer program, the journey Information query method above-mentioned is realized when sequence is executed by processor.This method includes at least:
A kind of information query method is applied to information requirement platform, is pre-configured in the information requirement platform mutually The first process and the second process to work independently, this method comprises:
First process determines information to be synchronized;
According to the information to be synchronized, rule is sent according to preset request and provides information to platform transmission synchronizing information Request;
It receives information and the information that platform is returned according to synchronizing information request is provided, and be synchronized to information requirement platform sheet Ground storing data library is stored;
Second process determines the information to be inquired of user;
Second process inquires identified information simultaneously in the information that information requirement Platform native storing data library is stored Show user.
Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be by any method Or technology come realize information store.Information can be computer readable instructions, data structure, the module of program or other data. The example of the storage medium of computer includes, but are not limited to phase change memory (PRAM), static random access memory (SRAM), moves State random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electric erasable Programmable read only memory (EEPROM), flash memory or other memory techniques, read-only disc read only memory (CD-ROM) (CD-ROM), Digital versatile disc (DVD) or other optical storage, magnetic cassettes, tape magnetic disk storage or other magnetic storage devices Or any other non-transmission medium, can be used for storage can be accessed by a computing device information.As defined in this article, it calculates Machine readable medium does not include temporary computer readable media (transitory media), such as the data-signal and carrier wave of modulation.
As seen through the above description of the embodiments, those skilled in the art can be understood that this specification Embodiment can be realized by means of software and necessary general hardware platform.Based on this understanding, this specification is implemented Substantially the part that contributes to existing technology can be embodied in the form of software products the technical solution of example in other words, The computer software product can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are to make It is each to obtain computer equipment (can be personal computer, server or the network equipment etc.) execution this specification embodiment Method described in certain parts of a embodiment or embodiment.
System, device, module or the unit that above-described embodiment illustrates can specifically realize by computer chip or entity, Or it is realized by the product with certain function.A kind of typically to realize that equipment is computer, the concrete form of computer can To be personal computer, laptop computer, cellular phone, camera phone, smart phone, personal digital assistant, media play In device, navigation equipment, E-mail receiver/send equipment, game console, tablet computer, wearable device or these equipment The combination of any several equipment.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device reality For applying example, since it is substantially similar to the method embodiment, so describing fairly simple, related place is referring to embodiment of the method Part explanation.The apparatus embodiments described above are merely exemplary, wherein described be used as separate part description Module may or may not be physically separated, can be each module when implementing this specification example scheme Function realize in the same or multiple software and or hardware.Can also select according to the actual needs part therein or Person's whole module achieves the purpose of the solution of this embodiment.Those of ordinary skill in the art are not the case where making the creative labor Under, it can it understands and implements.
The above is only the specific embodiment of this specification embodiment, it is noted that for the general of the art For logical technical staff, under the premise of not departing from this specification embodiment principle, several improvements and modifications can also be made, this A little improvements and modifications also should be regarded as the protection scope of this specification embodiment.

Claims (13)

1. a kind of information query method is applied to information requirement platform, it is pre-configured in the information requirement platform mutually solely The first process and the second process of vertical work, this method comprises:
First process determines information to be synchronized;
According to the information to be synchronized, platform transmission synchronizing information is provided information to according to preset request transmission rule and is asked It asks;
It receives information and the information that platform is returned according to synchronizing information request is provided, and be synchronized to information requirement Platform native and deposit Storage database is stored;
Second process determines the information to be inquired of user;
Second process is inquired identified information and is shown in the information that information requirement Platform native storing data library is stored To user.
2. according to the method described in claim 1, first process determines information to be synchronized, comprising:
Historical query number of the first process counting user to every information;
Choose the information that historical query number meets preset requirement;
Determine that selected information is information to be synchronized.
3. according to the method described in claim 1, first process determines information to be synchronized, comprising:
First process calculates user to the historical query frequency of every information;
Choose the information that historical query frequency meets preset requirement;
Determine that selected information is information to be synchronized.
4. according to the method described in claim 1, first process determines information to be synchronized, comprising:
First process determines the information inquired in user's history;
Information is randomly selected from the information inquired in user's history;
Determine that selected information is information to be synchronized.
5. sending rule according to preset request according to the method described in claim 1, described according to the information to be synchronized It provides information to platform and sends synchronizing information request, comprising:
According to the information to be synchronized, by way of timed task, event triggering or receiving synchronizing information instruction according to Preset request sends rule and provides information to platform transmission synchronizing information request.
6. according to the method described in claim 1, the method also includes:
When the second process is in the information that information requirement Platform native storing data library is stored, identified information is not inquired When, the second process notifies the first process, so that information determined by the first process priority synchronization to information requirement Platform native is deposited Storage database is stored.
7. a kind of information query device is applied to information requirement platform, it is pre-configured in the information requirement platform mutually solely The first process and the second process of vertical work, the device include:
Information determination module to be synchronized determines information to be synchronized for the first process;
Request sending module, for being provided information to according to preset request transmission rule flat according to the information to be synchronized Platform sends synchronizing information request;
Information storage module provides the information that platform is returned according to synchronizing information request for receiving information, and is synchronized to Information requirement Platform native storing data library is stored;
Information determination module determines the information to be inquired of user for the second process;
Information inquiry module, for the second process in the information that information requirement Platform native storing data library is stored, inquiry Identified information simultaneously shows user.
8. device according to claim 7, the information determination module to be synchronized is specifically used for:
Historical query number of the first process counting user to every information;
Choose the information that historical query number meets preset requirement;
Determine that selected information is information to be synchronized.
9. device according to claim 7, the information determination module to be synchronized is specifically used for:
First process calculates user to the historical query frequency of every information;
Choose the information that historical query frequency meets preset requirement;
Determine that selected information is information to be synchronized.
10. device according to claim 7, the information determination module to be synchronized is specifically used for:
Determine the information inquired in user's history;
Information is randomly selected from the information inquired in user's history;
Determine that selected information is information to be synchronized.
11. device according to claim 7, the request sending module is specifically used for:
According to the information to be synchronized, by way of timed task, event triggering or receiving synchronizing information instruction according to Preset request sends rule and provides information to platform transmission synchronizing information request.
12. device according to claim 7, described device further include: notification module;
For working as the second process in the information that information requirement Platform native storing data library is stored, do not inquire identified When information, the second process notifies the first process, so that information determined by the first process priority synchronization is to information requirement platform sheet Ground storing data library is stored.
13. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor Calculation machine program, wherein the processor realizes such as method as claimed in any one of claims 1 to 6 when executing described program.
CN201811150618.0A 2018-09-29 2018-09-29 Information query method and device Active CN109299139B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811150618.0A CN109299139B (en) 2018-09-29 2018-09-29 Information query method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811150618.0A CN109299139B (en) 2018-09-29 2018-09-29 Information query method and device

Publications (2)

Publication Number Publication Date
CN109299139A true CN109299139A (en) 2019-02-01
CN109299139B CN109299139B (en) 2022-02-22

Family

ID=65161230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811150618.0A Active CN109299139B (en) 2018-09-29 2018-09-29 Information query method and device

Country Status (1)

Country Link
CN (1) CN109299139B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1979447A (en) * 2005-12-01 2007-06-13 孙贤和 Inmemory data server
CN101013427A (en) * 2006-02-03 2007-08-08 国际商业机器公司 Method and system for managing data
US20080077655A1 (en) * 2006-09-22 2008-03-27 Microsoft Corporation Intelligent Pre-fetching using Compound Operations
WO2008055379A1 (en) * 2006-11-06 2008-05-15 Fanghua Lei A business travel system based on a network platform
WO2017126003A1 (en) * 2016-01-18 2017-07-27 株式会社日立製作所 Computer system including plurality of types of memory devices, and method therefor

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1979447A (en) * 2005-12-01 2007-06-13 孙贤和 Inmemory data server
CN101013427A (en) * 2006-02-03 2007-08-08 国际商业机器公司 Method and system for managing data
US20080077655A1 (en) * 2006-09-22 2008-03-27 Microsoft Corporation Intelligent Pre-fetching using Compound Operations
WO2008055379A1 (en) * 2006-11-06 2008-05-15 Fanghua Lei A business travel system based on a network platform
WO2017126003A1 (en) * 2016-01-18 2017-07-27 株式会社日立製作所 Computer system including plurality of types of memory devices, and method therefor

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
班志杰等: "《Web预取技术综述》", 《计算机研究与发展》 *

Also Published As

Publication number Publication date
CN109299139B (en) 2022-02-22

Similar Documents

Publication Publication Date Title
CN105637847B (en) A kind of method, system and readable storage medium storing program for executing that dynamic telephone number is assigned
US20150188861A1 (en) Mechanism for facilitating dynamic generation and transmission of canned responses on computing devices
EP3610611B1 (en) Techniques to automate bot creation for web pages
CN104732383A (en) Transaction method, device and system based on electronic purse
CN113935813A (en) Information display method and device, electronic equipment and storage medium
CN113298343B (en) Task generation method, task execution method and device
US20200084116A1 (en) User-configurable delivery of informational events
CN109345252A (en) A kind of online trading control method, device and computer equipment
WO2017019465A1 (en) Omnichannel services platform
CN113658597A (en) Voice ordering method and device, electronic equipment and computer readable medium
CN109345249A (en) A kind of payment fail processing method and device
CN109299139A (en) A kind of information query method and device
CN110457598A (en) User's lookup method, the device and computer-readable medium searched for user
CN113177694B (en) Client allocation method, device, storage medium and computer equipment
US20140258043A1 (en) Comparable product matching: system and method
KR20160040003A (en) User equipment, control method thereof and computer readable medium having computer program recorded therefor
CN115115313A (en) Order aging management method and device
KR102562179B1 (en) Methods and systems for positioning animated images within a dynamic keyboard interface
CN114329091A (en) Data directory generation method, device and equipment
CN109947825A (en) A kind of user's transaction in assets data processing method and device
CN107506970B (en) Project data processing method and system
CN112348612A (en) Order generation method and device
CN109214902A (en) A kind of user account assets settlement method and device
CN110244857A (en) A kind of Chinese character string statistical method and system based on block chain
CN111695749A (en) Method and device for generating grouping tasks

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: 20201010

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20201010

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands

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
TR01 Transfer of patent right

Effective date of registration: 20220415

Address after: Room 602, No. 618, Wai Road, Huangpu District, Shanghai 200010

Patentee after: Ant fortune (Shanghai) Financial Information Service Co.,Ltd.

Address before: Ky1-9008 Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman Islands, ky1-9008

Patentee before: Innovative advanced technology Co.,Ltd.

TR01 Transfer of patent right