CN107909424A - A kind of method and apparatus for intervening search result in real time - Google Patents

A kind of method and apparatus for intervening search result in real time Download PDF

Info

Publication number
CN107909424A
CN107909424A CN201710976970.9A CN201710976970A CN107909424A CN 107909424 A CN107909424 A CN 107909424A CN 201710976970 A CN201710976970 A CN 201710976970A CN 107909424 A CN107909424 A CN 107909424A
Authority
CN
China
Prior art keywords
data
intervention
intervention data
business
merging
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
CN201710976970.9A
Other languages
Chinese (zh)
Other versions
CN107909424B (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.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology 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 Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN201710976970.9A priority Critical patent/CN107909424B/en
Publication of CN107909424A publication Critical patent/CN107909424A/en
Application granted granted Critical
Publication of CN107909424B publication Critical patent/CN107909424B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/06Buying, selling or leasing transactions
    • G06Q30/0601Electronic shopping [e-shopping]
    • G06Q30/0631Item recommendations
    • 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/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • G06F16/9535Search customisation based on user profiles and personalisation

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

The invention discloses the real-time method and apparatus for intervening search result, it is related to field of computer technology.One embodiment of this method includes:Receive the intervention data of service search;Determine the business classification of the intervention data, and load the intervention data;Classified according to the business, by the intervention data distributing after loading to corresponding business module.The embodiment, which can solve the prior art, cannot meet business quickly, in real time and run the needs of problems of more new change.

Description

A kind of method and apparatus for intervening search result in real time
Technical field
The present invention relates to field of computer technology, more particularly to a kind of method and apparatus for intervening search result in real time.
Background technology
With people's the accelerating rhythm of life, in electric business platform, search engine becomes the strong work that user has found commodity Tool.It can realize certain personalized recommendation by algorithm, facilitate user to find thought commodity.
In process of the present invention is realized, inventor has found that at least there are the following problems in the prior art:Put down in existing electric business Platform, new product renewal speed is fast, and type of merchandize is various, and the demand of business side and operator is also varied, and algorithm needs a large amount of The data cycle be compared optimization, quickly cannot meet business and operation demand, and some business in real time in a short time Product need timing to issue.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of method and apparatus for intervening search result in real time, can solve existing There is technology to meet business quickly, in real time and run the needs of problems of more new change.
To achieve the above object, one side according to embodiments of the present invention, there is provided a kind of to intervene search result in real time Method, include receive service search intervention data;Determine the business classification of the intervention data, and load the intervention number According to;Classified according to the business, by the intervention data distributing after loading to corresponding business module.
Alternatively, the loading described the step of intervening data, including:In preset time threshold, detect that reception has Multiple intervention data;Merge the intervention data, and the intervention data after merging are loaded into extra buffer;Treat the merging After intervention data loaded afterwards, the intervention data after the merging of extra buffer are switched to job buffer.
Alternatively, before the intervention data by after merging are loaded into extra buffer, further include:Judge the merging Whether intervention data afterwards are abnormal;According to judging result, abandon if the intervention data exception after the merging, otherwise will close Intervention data after and are loaded into extra buffer.
Alternatively, the business module is registered in advance into module management;The module management receives exterior The service data request of business service, then travels through each business module, to obtain the matched data of corresponding business module and return.
In addition, one side according to embodiments of the present invention, there is provided a kind of device for intervening search result in real time, including Receiving module, for receiving the intervention data of service search;Data processing module, for determining the business point of the intervention data Class, and load the intervention data;Module is issued, for classifying according to the business, by the intervention data distributing after loading extremely Corresponding business module.
Alternatively, the data processing module load it is described intervention data when, including:In preset time threshold, inspection Measuring reception has multiple intervention data;Merge the intervention data, and the intervention data after merging are loaded into extra buffer; After intervention data loaded after the merging, the intervention data after the merging of extra buffer are switched to work Buffering area.
Alternatively, before the intervention data after merging are loaded into extra buffer by the data processing module, further include: Judge whether the intervention data after the merging are abnormal;According to judging result, if the intervention data exception after the merging Abandon, the intervention data after merging are otherwise loaded into extra buffer.
Alternatively, the business module is registered in advance into module management;The module management receives exterior The service data request of business service, then travels through each business module, to obtain the matched data of corresponding business module and return.
Other side according to embodiments of the present invention, additionally provides a kind of electronic equipment, including:
One or more processors;
Storage device, for storing one or more programs,
When one or more of programs are performed by one or more of processors so that one or more of processing Device realizes the method described in any of the above-described embodiment.
Other side according to embodiments of the present invention, additionally provides a kind of computer-readable medium, is stored thereon with meter Calculation machine program, realizes the method described in any of the above-described embodiment when described program is executed by processor.
One embodiment in foregoing invention has the following advantages that or beneficial effect:Because from business and operation diversity and The demand of real-time is set out, using a kind of method of expansible realtime running intervention, to improve the quality of search result, into And provide more preferable merchandise display and improve user experience.
Further effect adds hereinafter in conjunction with embodiment possessed by above-mentioned non-usual optional mode With explanation.
Brief description of the drawings
Attached drawing is used to more fully understand the present invention, does not form inappropriate limitation of the present invention.Wherein:
Fig. 1 is the schematic diagram of the main flow of the real-time method for intervening search result according to embodiments of the present invention;
Fig. 2 is the signal of the main flow for the real-time method for intervening search result for referring to embodiment according to the present invention Figure;
Fig. 3 is the schematic diagram of the main modular of the real-time device for intervening search result according to embodiments of the present invention;
Fig. 4 is that the embodiment of the present invention can be applied to exemplary system architecture figure therein;
Fig. 5 is adapted for the structural representation for realizing the terminal device of the embodiment of the present invention or the computer system of server Figure.
Embodiment
Explain below in conjunction with attached drawing to the one exemplary embodiment of the present invention, including the various of the embodiment of the present invention Details should think them only exemplary to help understanding.Therefore, those of ordinary skill in the art should recognize Arrive, various changes and modifications can be made to the embodiments described herein, without departing from scope and spirit of the present invention.Together Sample, for clarity and conciseness, eliminates the description to known function and structure in following description.
Fig. 1 is the real-time method for intervening search result according to embodiments of the present invention, as shown in Figure 1, described intervene in real time The method of search result includes:
Step S101, receives the intervention data of service search.
In embodiment, the service search issued according to different demands can be received by operation platform website and intervenes number According to, then can by the service search intervene data sending give operation platform service.
Wherein, the intervention data refer to the data according to certain field combination of protocols.It is possible to further being one Classification configurations intervene data, just include search term and the position of the search term.Such as:The classification can be pulldown function In one drop-down word.Such as:Issuing new product mobile phone, " Huawei p10 ", the product of drop-down can pull down work(in operation platform website Configuration " Huawei p10 " in the drop-down word of " mobile phone " in energy.Wherein, the pulldown function of the operation platform website can be named To pull down business, and perform the pulldown function can be drop-down business module.
Also for example:The product of hot word can be in the hot word function of operation platform website " Huawei p10 " is configured to hot word work( In energy.Wherein, the hot word function of the operation platform website can be named as hot word business, and perform the hot word function can To be hot word business module.
It is preferred that the intervention data can also include intervening timeliness, i.e., the described time intervened data and performed, and it is described The execution time can be a time point, or a period (starting and end time can be set).
According to above embodiment, the present invention can receive various businesses by operation platform website and search in the same time The intervention data of rope.Further, operation personnel can in specified function pages editor's data, when then clicking on issue button, By each functional interface service of the intervention data transfer of various businesses to operation platform website.
Step S102, determines the business classification of the intervention data, and loads the intervention data.
It is preferred that when intervening data processing to service search, the validity of data is ensured.Such as:With a Huawei Before mobile phone comes under some classification, this classification must be physical presence.Therefore, dock it is received intervention data into Row verification, determines that the business classification of the intervention data exists, i.e., effectively.Furthermore, it is preferred that the configuration such as classification for commodity It is the data gone out by automatic mining, such as popular acquisition such as classification, high relevant classification, these data can be stored in database, right When intervention data are handled, it can be used for the verification for carrying out validity.
As embodiment, data are intervened service search by operation platform service and is handled and is loaded.Preferably, exist The service search after processing is intervened when data load and loaded using heat, realize that the normal of corresponding with service makes With.Therefore, need to load new service scripts if any business, without the service of restarting, it is possible to real-time loading, flexible configuration.Its In, the new service scripts just refers to the intervention data for newly adding a business, such as the intervention data of one drop-down word of addition. Preferably, specific heat loading data implementation process includes:
When data thread in the term of validity time according to data variation is detected, that is to say, that examined in preset time threshold Measuring reception has multiple intervention data, then automatic to merge intervention data, is then loaded into the intervention data after merging interim slow Rush area.After to be loaded, the intervention data of extra buffer are switched to job buffer, intervention data update is completed and adds Carry.Wherein, it is specified to refer to that the intervention data of multiple business are merged into according to certain agreement for the automatic merging intervention data Form.
It is possible to further which the intervention data after merging are carried out with the judgement of correctness, such as the detection by md5 etc.. According to judging result, abandoned if the intervention data after merging are exceptions, otherwise normal load to extra buffer.
Step S103, classifies according to the business, by the intervention data distributing after loading to corresponding business module.
As embodiment, intervention data that operation platform service down distributing loads to corresponding business module can be passed through.Its In, the business module refers to different external business modules, such as pulldown function, hot word function, function of shielding etc. industry Business module.
It is preferred that multiple intervention data can be issued parallel to corresponding business module.Preferably, it is every kind of business module Operation platform service is all correspondingly configured with, (operation is flat wherein the operation platform service can also be referred to as SoprServer The code name of platform service claims).And business module can match qualified data simultaneously according to the external service request received Return to external service.Wherein, business module can carry out Data Matching according to the search term in external service request.
Also what deserves to be explained is, for newly-increased business module, it is only necessary to dispose corresponding SoprServer, you can automatic Data management function is inherited, realizes the expansible of service.Meanwhile newly-increased business module inherit it is basic with other business modules Identical business interface, and by the business module dynamic registration to module management.When external business service is to business mould During block requested service data, module management receives the service data request first, then travels through each business module, to obtain Take the matched data of corresponding business module and return.
Wherein, can be specifically the newly-increased industry in deployment by the business module dynamic registration into module management When data are intervened in the operation platform service loading for module of being engaged in, by the Added Business Module registers into module management.
In addition, using multiple threads mode during step S101 to step S103 is performed.It is thus possible to Efficiently, the intervention of search result is neatly realized.
According to various embodiments above, it can be seen that the real-time intervention search result can facilitate operation personnel In operation platform website, rapid configuration intervenes data, and data are intervened in then issue, and server-side in real time presses the intervention data of configuration The business side of response is passed to according to agreement, reaches the effect intervened in real time.Meanwhile the intervention data addition that the present invention configures is effective Phase field (intervenes timeliness), can preferably realize the real-time that data come into force, fail, and reaches intelligent and intervenes data loading Processing, it is also more flexible, the daily maintenance work of business development director can also be freed.
Fig. 2 is the signal of the main flow for the real-time method for intervening search result for referring to embodiment according to the present invention Figure, the method for intervening search result in real time can include:
Step S201, receives the service search issued according to different demands by operation platform website and intervenes data.
Step S202, gives service search intervention data sending to operation platform service.
Step S203, operation platform service judges that the business classification for intervening data whether there is, if carrying out step in the presence of if S204, otherwise directly exits the flow.
In embodiment, received intervention data are docked to be verified, determine that the business classification of the intervention data exists, It is i.e. effective.The configurations such as the classification preferably for commodity are the data gone out by automatic mining, such as popular classification, related point high The acquisitions such as class, these data can be stored in database, when handling intervening data, can be used for carrying out testing for validity Card.
Step S204, it is automatic to merge intervention data, and judge whether the intervention data after merging are abnormal, it is direct if abnormal The flow is exited, otherwise performs step S205.
In embodiment, the automatic intervention data that merge refer to the intervention data of multiple business according to certain agreement It is merged into the form specified.It is possible to further which the intervention data after merging are carried out with the judgement of correctness, that is, it is made whether different Normal judgement, such as the detection by md5 etc..
Intervention data after merging are loaded into extra buffer, after to be loaded, by extra buffer by step S205 Intervention data be switched to job buffer, complete the renewal loading for intervening data.
Step S206, the search loaded by operation platform service down distributing intervene data to corresponding business module.
Also what deserves to be explained is, for newly-increased business module, it is only necessary to dispose corresponding SoprServer, you can automatic Data management function is inherited, realizes the expansible of service.Meanwhile newly-increased business module inherit it is basic with other business modules Identical business interface, and by the business module dynamic registration to module management.When external business service is to business mould During block requested service data, module management travels through each business module, then the corresponding business module matched data of the request And return.
Therefore, intervening the method for search result in real time from above can quickly respond in real time, such as shield Word, still can be mined out when the word search amount is high.Furthermore, it is possible to realize the popularization to business new product, such as electricity The new product release of business so that even if the new product that no basic data can not be mined out, released before new product row can also be made, And then search out user-association.Meanwhile for during the big big rush activity of flow, timeliness can be carried out according to different situations Intervene, realize real-time response, greatly reduce risk, and improve scalability.
Further, it is of the present invention in real time intervene search result method can easily inherit data can operation energy Power, frees the daily maintenance work of business development director.Also, business is freed from cumbersome configuration data, it is more absorbed Processing core logic.Meanwhile strengthen data synchronization real-time, and effective time can configure.In addition, for Added Business, only need Dispose respective service, you can inherit data management function automatically.In addition, the method for intervening search result in real time realizes The management of centralization, reduces the cost of O&M, also reduces the inconsistent probability of data.
In addition, the specific implementation content for intervening the method for search result described in embodiment in real time is referred in the present invention, It has been described in detail in the method described above for intervening search result in real time, therefore has no longer illustrated in this duplicate contents.
Fig. 3 is the real-time device for intervening search result according to embodiments of the present invention, as shown in figure 3, described intervene in real time The device 300 of search result includes receiving module 301, data processing module 302, issues module 303.Wherein, receiving module 301 The intervention data of service search are received, and data processing module 302 determines the business classification of the intervention data, and described in loading Intervene data.Finally issue module 303 according to the business to be classified, by the intervention data distributing after loading to corresponding business mould Block.
In one preferably embodiment, the data processing module 302, can be pre- when loading the intervention data It is if in time threshold, detecting that reception has multiple intervention data, then automatic to merge intervention data, then by the intervention number after merging According to being loaded into extra buffer.After to be loaded, the intervention data of extra buffer are switched to job buffer, are completed dry Pre- data update loading.Wherein, the automatic intervention data that merge refer to the intervention data of multiple business according to certain association View is merged into the form specified.
Further, the data processing module 302 can carry out the intervention data after merging the judgement of correctness, i.e., Whether abnormal judgement, such as the detection by md5 etc..According to judging result, lost if the intervention data exception after merging Abandon, otherwise normal load to extra buffer.
In another preferably embodiment, loading can be issued parallel by operation platform service by issuing module 303 Multiple data of intervening are to corresponding business module.Preferably, all it is correspondingly configured with operation platform service for every kind of business module.It is right In newly-increased business module, it is only necessary to which data management function can be inherited automatically by disposing corresponding operation platform service, realize clothes That is engaged in is expansible.Meanwhile newly-increased business module inherits the basic business interface identical with other business modules, and by institute Business module dynamic registration is stated to module management.When external business service is to business module requested service data, mould first Block manager receives the service data request, then travels through each business module, to obtain the coupling number of corresponding business module According to and return.
It should be noted that the specific implementation content of the device in the search result of intervention in real time of the present invention, above It has been described in detail in the method for intervening search result in real time, therefore has no longer illustrated in this duplicate contents.
Fig. 4 shows the real-time method for intervening search result that can apply the embodiment of the present invention or intervenes search knot in real time The exemplary system architecture 400 of the device of fruit.
As shown in figure 5, system architecture 400 can include terminal device 401,402,403, network 404 and server 405. Network 404 between terminal device 401,402,403 and server 405 provide communication link medium.Network 404 can be with Including various connection types, such as wired, wireless communication link or fiber optic cables etc..
User can be interacted with using terminal equipment 401,402,403 by network 404 with server 405, to receive or send out Send message etc..Various telecommunication customer end applications, such as the application of shopping class, net can be installed on terminal device 401,402,403 (merely illustrative) such as the application of page browsing device, searching class application, instant messaging tools, mailbox client, social platform softwares.
Terminal device 401,402,403 can have a display screen and a various electronic equipments that supported web page browses, bag Include but be not limited to smart mobile phone, tablet computer, pocket computer on knee and desktop computer etc..
Server 405 can be to provide the server of various services, such as utilize terminal device 401,402,403 to user The shopping class website browsed provides the back-stage management server (merely illustrative) supported.Back-stage management server can be to receiving To the data such as information query request analyze etc. processing, and by handling result (such as target push information, product letter Breath -- merely illustrative) feed back to terminal device.
It should be noted that the real-time method for intervening search result that the embodiment of the present invention is provided is generally by server 405 perform, and correspondingly, the device for intervening search result in real time is generally positioned in server 405.
It should be understood that the number of the terminal device, network and server in Fig. 4 is only schematical.According to realizing need Will, can have any number of terminal device, network and server.
Below with reference to Fig. 5, it illustrates suitable for for realizing the computer system 500 of the terminal device of the embodiment of the present invention Structure diagram.Terminal device shown in Fig. 5 is only an example, to the function of the embodiment of the present invention and should not use model Shroud carrys out any restrictions.
As shown in figure 5, computer system 500 includes central processing unit (CPU) 501, it can be read-only according to being stored in Program in memory (ROM) 502 or be loaded into program in random access storage device (RAM) 503 from storage part 608 and Perform various appropriate actions and processing.In RAM 503, also it is stored with system 500 and operates required various programs and data. CPU 501, ROM502 and RAM503 are connected with each other by bus 504.Input/output (I/O) interface 505 is also connected to bus 504。
I/O interfaces 505 are connected to lower component:Importation 506 including keyboard, mouse etc.;Penetrated including such as cathode The output par, c 507 of spool (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage part 508 including hard disk etc.; And the communications portion 509 of the network interface card including LAN card, modem etc..Communications portion 509 via such as because The network of spy's net performs communication process.Driver 510 is also according to needing to be connected to I/O interfaces 505.Detachable media 511, such as Disk, CD, magneto-optic disk, semiconductor memory etc., are installed on driver 510, in order to read from it as needed Computer program be mounted into as needed storage part 508.
Especially, disclosed embodiment, the process described above with reference to flow chart may be implemented as counting according to the present invention Calculation machine software program.For example, embodiment disclosed by the invention includes a kind of computer program product, it includes being carried on computer Computer program on computer-readable recording medium, the computer program include the program code for being used for the method shown in execution flow chart. In such embodiment, which can be downloaded and installed by communications portion 509 from network, and/or from can Medium 511 is dismantled to be mounted.When the computer program is performed by central processing unit (CPU) 501, system of the invention is performed The above-mentioned function of middle restriction.
It should be noted that the computer-readable medium shown in the present invention can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer-readable recording medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, system, device or the device of infrared ray or semiconductor, or it is any more than combination.Meter The more specifically example of calculation machine readable storage medium storing program for executing can include but is not limited to:Electrical connection with one or more conducting wires, just Take formula computer disk, hard disk, random access storage device (RAM), read-only storage (ROM), erasable type and may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only storage (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the present invention, computer-readable recording medium can any include or store journey The tangible medium of sequence, the program can be commanded the either device use or in connection of execution system, device.And at this In invention, computer-readable signal media can include in a base band or as carrier wave a part propagation data-signal, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium beyond storage medium is read, which, which can send, propagates or transmit, is used for By instruction execution system, device either device use or program in connection.Included on computer-readable medium Program code can be transmitted with any appropriate medium, be included but not limited to:Wirelessly, electric wire, optical cable, RF etc., or it is above-mentioned Any appropriate combination.
Flow chart and block diagram in attached drawing, it is illustrated that according to the system of various embodiments of the invention, method and computer journey Architectural framework in the cards, function and the operation of sequence product.At this point, each square frame in flow chart or block diagram can generation The part of one module of table, program segment or code, a part for above-mentioned module, program segment or code include one or more The executable instruction of logic function as defined in being used for realization.It should also be noted that some as replace realization in, institute in square frame The function of mark can also be with different from the order marked in attached drawing generation.For example, two square frames succeedingly represented are actual On can perform substantially in parallel, they can also be performed in the opposite order sometimes, this is depending on involved function.Also It is noted that the combination of each square frame and block diagram in block diagram or flow chart or the square frame in flow chart, can use and perform rule The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction Close to realize.
Being described in module involved in the embodiment of the present invention can be realized by way of software, can also be by hard The mode of part is realized.Described module can also be set within a processor, for example, can be described as:A kind of processor bag Include receiving module, data processing module and issue module, wherein, the titles of these modules is not formed pair under certain conditions The restriction of the module in itself.
As on the other hand, present invention also offers a kind of computer-readable medium, which can be Included in equipment described in above-described embodiment;Can also be individualism, and without be incorporated the equipment in.Above-mentioned calculating Machine computer-readable recording medium carries one or more program, when said one or multiple programs are performed by the equipment, makes Obtaining the equipment includes:Receive the intervention data of service search;Determine the business classification of the intervention data, and load the intervention Data;Classified according to the business, by the intervention data distributing after loading to corresponding business module.
Technical solution according to embodiments of the present invention because from business and operation diversity and real-time demand, Using a kind of method of expansible realtime running intervention, to improve the quality of search result, and then more preferable business is realized Product are shown and the technique effect of user experience.
Above-mentioned embodiment, does not form limiting the scope of the invention.Those skilled in the art should be bright It is white, depending on design requirement and other factors, various modifications, combination, sub-portfolio and replacement can occur.It is any Modifications, equivalent substitutions and improvements made within the spirit and principles in the present invention etc., should be included in the scope of the present invention Within.

Claims (10)

  1. A kind of 1. method for intervening search result in real time, it is characterised in that including:
    Receive the intervention data of service search;
    Determine the business classification of the intervention data, and load the intervention data;
    Classified according to the business, by the intervention data distributing after loading to corresponding business module.
  2. 2. according to the method described in claim 1, it is characterized in that, it is described loading it is described intervention data the step of, including:
    In preset time threshold, detect that reception there are multiple intervention data;
    Merge the intervention data, and the intervention data after merging are loaded into extra buffer;Intervention after the merging After data loaded, the intervention data after the merging of extra buffer are switched to job buffer.
  3. 3. according to the method described in claim 2, it is characterized in that, the intervention data by after merging are loaded into interim buffering Before area, further include:
    Judge whether the intervention data after the merging are abnormal;
    According to judging result, abandon if the intervention data exception after the merging, otherwise add the intervention data after merging It is downloaded to extra buffer.
  4. 4. according to claim 1-3 any one of them methods, it is characterised in that the business module arrives mould to be registered in advance In block manager;
    The module management receives the service data request of external business service, then travels through each business module, with acquisition pair Answer the matched data of business module and return.
  5. A kind of 5. device for intervening search result in real time, it is characterised in that including:
    Receiving module, for receiving the intervention data of service search;
    Data processing module, for determining the business classification of the intervention data, and loads the intervention data;
    Module is issued, for classifying according to the business, by the intervention data distributing after loading to corresponding business module.
  6. 6. device according to claim 5, it is characterised in that the data processing module is loading the intervention data When, including:
    In preset time threshold, detect that reception there are multiple intervention data;
    Merge the intervention data, and the intervention data after merging are loaded into extra buffer;Intervention after the merging After data loaded, the intervention data after the merging of extra buffer are switched to job buffer.
  7. 7. device according to claim 6, it is characterised in that the data processing module adds the intervention data after merging It is downloaded to before extra buffer, further includes:
    Judge whether the intervention data after the merging are abnormal;
    According to judging result, abandon if the intervention data exception after the merging, otherwise add the intervention data after merging It is downloaded to extra buffer.
  8. 8. according to claim 5-7 any one of them devices, it is characterised in that the business module arrives mould to be registered in advance In block manager;
    The module management receives the service data request of external business service, then travels through each business module, with acquisition pair Answer the matched data of business module and return.
  9. 9. a kind of electronic equipment, it is characterised in that including:
    One or more processors;
    Storage device, for storing one or more programs,
    When one or more of programs are performed by one or more of processors so that one or more of processors are real The now method as described in any in claim 1-4.
  10. 10. a kind of computer-readable medium, is stored thereon with computer program, it is characterised in that described program is held by processor The method as described in any in claim 1-4 is realized during row.
CN201710976970.9A 2017-10-19 2017-10-19 Method and device for intervening search results in real time Active CN107909424B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710976970.9A CN107909424B (en) 2017-10-19 2017-10-19 Method and device for intervening search results in real time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710976970.9A CN107909424B (en) 2017-10-19 2017-10-19 Method and device for intervening search results in real time

Publications (2)

Publication Number Publication Date
CN107909424A true CN107909424A (en) 2018-04-13
CN107909424B CN107909424B (en) 2021-03-30

Family

ID=61841476

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710976970.9A Active CN107909424B (en) 2017-10-19 2017-10-19 Method and device for intervening search results in real time

Country Status (1)

Country Link
CN (1) CN107909424B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102780724A (en) * 2011-05-12 2012-11-14 阿里巴巴集团控股有限公司 Sending method, sending system and sending device for category information
CN103902545A (en) * 2012-12-25 2014-07-02 北京京东尚科信息技术有限公司 Category path recognition method and system
US9098338B2 (en) * 2010-12-17 2015-08-04 Verizon Patent And Licensing Inc. Work flow command processing system
CN105787737A (en) * 2014-12-26 2016-07-20 阿里巴巴集团控股有限公司 Business object information processing publishing method and business object information processing publishing device
CN106886886A (en) * 2017-03-30 2017-06-23 北京企航金服科技有限公司 Integrated capital management front device, fund management system and fund management method
CN106971314A (en) * 2016-11-11 2017-07-21 苏义程 A kind of marketing system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9098338B2 (en) * 2010-12-17 2015-08-04 Verizon Patent And Licensing Inc. Work flow command processing system
CN102780724A (en) * 2011-05-12 2012-11-14 阿里巴巴集团控股有限公司 Sending method, sending system and sending device for category information
CN103902545A (en) * 2012-12-25 2014-07-02 北京京东尚科信息技术有限公司 Category path recognition method and system
CN105787737A (en) * 2014-12-26 2016-07-20 阿里巴巴集团控股有限公司 Business object information processing publishing method and business object information processing publishing device
CN106971314A (en) * 2016-11-11 2017-07-21 苏义程 A kind of marketing system
CN106886886A (en) * 2017-03-30 2017-06-23 北京企航金服科技有限公司 Integrated capital management front device, fund management system and fund management method

Also Published As

Publication number Publication date
CN107909424B (en) 2021-03-30

Similar Documents

Publication Publication Date Title
WO2018210062A1 (en) Method and device for determining inventory of items by server system
CN109446099A (en) Automatic test cases generation method, device, medium and electronic equipment
CN109491894A (en) A kind of method and apparatus of interface testing
CN107844324A (en) Customer terminal webpage redirects treating method and apparatus
CN107908666A (en) A kind of method and apparatus of identification equipment mark
CN107506256A (en) A kind of method and apparatus of crash data monitoring
CN107908615A (en) A kind of method and apparatus for obtaining search term corresponding goods classification
CN110858172A (en) Automatic test code generation method and device
CN108776692A (en) Method and apparatus for handling information
CN110019214A (en) The method and apparatus that data split result is verified
CN110471848A (en) A kind of method and apparatus of dynamic returned packet
CN107908662A (en) The implementation method and realization device of search system
CN109961328A (en) The method and apparatus for determining order cooling off period
CN110162448A (en) The method and apparatus of log collection
CN109218041B (en) Request processing method and device for server system
US11062224B2 (en) Prediction using fusion of heterogeneous unstructured data
CN109814957A (en) A kind of label addition method and device for IOS system
CN110309142A (en) The method and apparatus of regulation management
CN109960212A (en) Task sending method and device
CN109992494A (en) A kind of automatic test execution method and apparatus
CN111160410A (en) Object detection method and device
CN113297287B (en) Automatic user policy deployment method and device and electronic equipment
CN107347093A (en) Collocation method and device for distributed server system
CN107329981B (en) Page detection method and device
CN108845864A (en) A kind of JVM rubbish recovering method and device based on spring frame

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
GR01 Patent grant
GR01 Patent grant