CN107909424B - Method and device for intervening search results in real time - Google Patents

Method and device for intervening search results in real time Download PDF

Info

Publication number
CN107909424B
CN107909424B CN201710976970.9A CN201710976970A CN107909424B CN 107909424 B CN107909424 B CN 107909424B CN 201710976970 A CN201710976970 A CN 201710976970A CN 107909424 B CN107909424 B CN 107909424B
Authority
CN
China
Prior art keywords
intervention data
data
service
intervention
module
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710976970.9A
Other languages
Chinese (zh)
Other versions
CN107909424A (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

Images

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)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a method and a device for intervening search results in real time, and relates to the technical field of computers. One embodiment of the method comprises: receiving intervention data of service search; determining the service classification of the intervention data, and loading the intervention data; and issuing the loaded intervention data to the corresponding service module according to the service classification. The implementation mode can solve the problem that the prior art cannot meet the requirements of service and operation updating change rapidly and in real time.

Description

Method and device for intervening search results in real time
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for intervening search results in real time.
Background
With the acceleration of life rhythm of people, search engines have become powerful tools for users to find commodities on e-commerce platforms. The method can realize certain personalized recommendation through an algorithm, and is convenient for a user to find a desired commodity.
In the process of implementing the invention, the inventor finds that at least the following problems exist in the prior art: at the current e-commerce platform, the new product is fast to update, and goods are of a great variety, and the demands of business side and operator are also of a great variety, and the algorithm needs a large amount of data cycle to carry out comparative optimization, can not satisfy business and operation demands in short term in real time, and some goods need to be released regularly.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for intervening search results in real time, which can solve the problem that the prior art cannot meet the requirements of service and operation update changes quickly and in real time.
In order to achieve the above object, according to an aspect of the embodiments of the present invention, there is provided a method for intervening in search results in real time, including receiving intervening data of a service search; determining the service classification of the intervention data, and loading the intervention data; and issuing the loaded intervention data to the corresponding service module according to the service classification.
Optionally, the step of loading the intervention data includes: detecting that a plurality of intervention data are received within a preset time threshold; merging the intervention data, and loading the merged intervention data into a temporary buffer area; and after the merged intervention data are loaded, switching the merged intervention data in the temporary buffer area to a working buffer area.
Optionally, before loading the merged intervention data into the temporary buffer, the method further includes: judging whether the merged intervention data is abnormal or not; and according to a judgment result, if the merged intervention data is abnormal, discarding the intervention data, otherwise, loading the merged intervention data into a temporary buffer area.
Optionally, the service module is registered in the module manager in advance; and the module manager receives a service data request of an external service, and then traverses each service module to acquire and return the matching data of the corresponding service module.
In addition, according to an aspect of the embodiments of the present invention, there is provided an apparatus for intervening in search results in real time, including a receiving module, configured to receive intervening data of service search; the data processing module is used for determining the service classification of the intervention data and loading the intervention data; and the issuing module is used for issuing the loaded intervention data to the corresponding service module according to the service classification.
Optionally, when the data processing module loads the intervention data, the data processing module includes: detecting that a plurality of intervention data are received within a preset time threshold; merging the intervention data, and loading the merged intervention data into a temporary buffer area; and after the merged intervention data are loaded, switching the merged intervention data in the temporary buffer area to a working buffer area.
Optionally, before the data processing module loads the merged intervention data into the temporary buffer, the method further includes: judging whether the merged intervention data is abnormal or not; and according to a judgment result, if the merged intervention data is abnormal, discarding the intervention data, otherwise, loading the merged intervention data into a temporary buffer area.
Optionally, the service module is registered in the module manager in advance; and the module manager receives a service data request of an external service, and then traverses each service module to acquire and return the matching data of the corresponding service module.
According to another aspect of the embodiments of the present invention, there is also provided an electronic device, including:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any of the embodiments described above.
According to another aspect of the embodiments of the present invention, there is also provided a computer readable medium, on which a computer program is stored, which when executed by a processor implements the method of any of the above embodiments.
One embodiment of the above invention has the following advantages or benefits: based on the requirements of service and operation diversity and real-time performance, an extensible real-time operation intervention method is adopted to improve the quality of search results, so that better commodity display is provided and user experience is improved.
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic diagram of the main flow of a method of intervening in search results in real time, according to an embodiment of the invention;
FIG. 2 is a schematic diagram of a main flow of a method of intervening in search results in real time according to a referenceable embodiment of the present invention;
FIG. 3 is a schematic diagram of the main modules of an apparatus for real-time intervention of search results according to an embodiment of the present invention;
FIG. 4 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
fig. 5 is a schematic block diagram of a computer system suitable for use in implementing a terminal device or server of an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
Fig. 1 is a method for intervening in search results in real time according to an embodiment of the present invention, as shown in fig. 1, the method for intervening in search results in real time includes:
step S101, intervention data of service search is received.
In an embodiment, the service search intervention data issued according to different requirements may be received by the operation platform website, and then the service search intervention data may be sent to the operation platform service.
The intervention data refers to data combined according to a certain field protocol. Further, intervention data may be configured for a category that includes a search term and a location of the search term. For example: the classification may be a drop-down word in a drop-down function. For example: the method is characterized in that a new mobile phone is released, the Huaqi p10 is published, and the pull-down product can configure the pull-down words of the mobile phone into the Huaqi p10 in the pull-down function of the operation platform website. The pull-down function of the operation platform website may be named as a pull-down service, and the pull-down function may be executed by a pull-down service module.
Also for example: the hot word product can configure 'Huacheng p 10' in the hot word function of the operation platform website into the hot word function. The hot word function of the operation platform website can be named as a hot word service, and the hot word service module can execute the hot word function.
Preferably, the intervention data may further include an intervention aging, that is, a time for execution of the intervention data, and the execution time may be a time point or a time period (a start time and an end time may be set).
According to the above embodiment, the present invention can receive intervention data of various service searches through the operation platform website at the same time. Furthermore, the operator can edit data on a designated function page, and then transmit intervention data of various services to each function interface service of the operation platform website when clicking a release button.
Step S102, determining the business classification of the intervention data, and loading the intervention data.
Preferably, when the business search intervenes in data processing, the validity of the data is guaranteed. For example: a Huaqi cell phone is assigned to be in front of a class that must be physically present. Thus, the received intervention data is checked to determine that the traffic classification of the intervention data exists, i.e. is valid. In addition, it is preferable that the configuration of the classification of the commodity is obtained by automatically mining data such as hot category, high-correlation classification, etc., which are stored in the database and can be used for validity verification when processing the intervention data.
As an embodiment, the business search intervention data is processed and loaded by the operation platform service. Preferably, hot loading is adopted when the processed service search intervention data is loaded, so that normal use of the corresponding service is realized. Therefore, if a new service file is loaded in service needs, the service can be loaded in real time without restarting the service, and the configuration is flexible. The new service file refers to intervention data of a new added service, for example, intervention data of a drop-down word. Preferably, the specific hot-loading data implementation process includes:
when the data thread detects data change within the validity period, namely, a plurality of intervention data are received within a preset time threshold, the intervention data are automatically merged, and then the merged intervention data are loaded into a temporary buffer area. And after the loading is finished, switching the intervention data in the temporary buffer area to the working buffer area to finish the updating and loading of the intervention data. The automatic combination intervention data refers to the intervention data of a plurality of services combined into a specified format according to a certain protocol.
Further, the correctness of the merged intervention data can be judged, for example, through the detection of md5 and the like. And according to the judgment result, if the combined intervention data is abnormal, discarding the intervention data, otherwise, normally loading the intervention data into the temporary buffer area.
And step S103, issuing the loaded intervention data to a corresponding service module according to the service classification.
As an embodiment, the loaded intervention data may be issued to the corresponding service module through the service of the operation platform. The service modules refer to different external service modules, such as a pull-down function, a hotword function, a shielding function, and the like.
Preferably, a plurality of intervention data can be issued to the corresponding service modules in parallel. Preferably, each service module is correspondingly configured with an operation platform service, where the operation platform service may also be referred to as SoprServer (a name of the operation platform service). And the business module can match the data meeting the conditions according to the received external service request and return the data to the external service. The business module can perform data matching according to the search terms in the external service request.
It is worth to be further explained that, for the newly added service module, only the corresponding SoprServer needs to be deployed, the data management function can be automatically inherited, and the service can be expanded. Meanwhile, the newly added service module inherits the basic service interface which is the same as that of other service modules, and the service module is dynamically registered to the module manager. When the external business service requests business data from the business module, the module manager receives the business data request, and then traverses each business module to obtain the matching data of the corresponding business module and returns the matching data.
The service module is dynamically registered in the module manager, and specifically, the newly added service module may be registered in the module manager when intervention data is loaded on an operation platform service of the newly added service module.
In addition, a multithread processing method is adopted in the process of executing step S101 to step S103. Therefore, the intervention of the search result can be efficiently and flexibly realized.
According to the various embodiments, the real-time intervention search result can be seen to facilitate the operator to rapidly configure intervention data on the operation platform website, then the intervention data is issued, and the server transmits the configured intervention data to the responding service party according to the protocol in real time, so as to achieve the effect of real-time intervention. Meanwhile, the intervention data configured by the invention is added with an expiration field (namely intervention aging), so that the real-time performance of data validation and invalidation can be better realized, the intelligent intervention data loading processing is realized, the flexibility is higher, and the daily operation and maintenance work of a service development responsible person can be relieved.
Fig. 2 is a schematic diagram of a main flow of a method for intervening search results in real time according to a referential embodiment of the present invention, and the method for intervening search results in real time may include:
step S201, receiving service search intervention data issued according to different requirements through an operation platform website.
Step S202, the service searching intervention data is sent to an operation platform service.
Step S203, the operation platform service determines whether the service classification of the intervention data exists, if so, step S204 is performed, otherwise, the process is directly exited.
In an embodiment, the received intervention data is checked to determine that a traffic classification of the intervention data exists, i.e. is valid. Preferably, the configuration of the classification of the goods and the like is obtained through automatically mined data, such as hot categories, high-correlation classifications and the like, which are stored in a database and can be used for validity verification when processing the intervention data.
Step S204, automatically combining the intervention data, judging whether the combined intervention data is abnormal, if so, directly exiting the process, otherwise, executing step S205.
In an embodiment, the automatic merging of intervention data refers to merging of intervention data of multiple services into a specified format according to a certain protocol. Further, the correctness of the merged intervention data, that is, whether the intervention data is abnormal or not may be determined, for example, by detecting md5 or the like.
And step S205, loading the merged intervention data into a temporary buffer area, and after the loading is finished, switching the intervention data in the temporary buffer area into a working buffer area to finish the updating and loading of the intervention data.
And step S206, issuing the loaded search intervention data to a corresponding business module through the service of the operation platform.
It is worth to be further explained that, for the newly added service module, only the corresponding SoprServer needs to be deployed, the data management function can be automatically inherited, and the service can be expanded. Meanwhile, the newly added service module inherits the basic service interface which is the same as that of other service modules, and the service module is dynamically registered to the module manager. When the external business service requests business data from the business modules, the module manager traverses each business module, and then the business module corresponding to the request matches the data and returns.
Therefore, the method for intervening search results in real time from the above can quickly respond in real time, such as blocking some terms, which are mined when the search volume of the terms is high. Moreover, the popularization of new business products, such as the new product release of e-commerce, can be realized, so that even if no new product of which the basic data cannot be mined exists, the new product can be pushed forward, and further, the user can search the new product in a related manner. Meanwhile, in the period of large promotion activity with large flow, timeliness intervention can be carried out according to different conditions, real-time response is realized, risks are greatly reduced, and expandability is improved.
Furthermore, the method for intervening the search results in real time can easily inherit the data operability, and release the service development responsibility from daily operation and maintenance work. Moreover, the service is released from the fussy configuration data, and the core logic is processed more intensively. Meanwhile, the real-time performance of data synchronization is enhanced, and the effective time can be configured. In addition, for the newly added service, the data management function can be automatically inherited only by deploying the corresponding service. In addition, the method for intervening the search results in real time realizes centralized management, reduces the operation and maintenance cost and also reduces the probability of data inconsistency.
In addition, the present invention may refer to the detailed implementation contents of the method for real-time intervention search result in the embodiment, which have been described in detail above, so that the repeated contents are not described again.
Fig. 3 is a device for intervening in search results in real time according to an embodiment of the present invention, and as shown in fig. 3, the device 300 for intervening in search results in real time includes a receiving module 301, a data processing module 302, and a issuing module 303. The receiving module 301 receives intervention data of service search, and the data processing module 302 determines a service classification of the intervention data and loads the intervention data. And finally, the issuing module 303 issues the loaded intervention data to the corresponding service module according to the service classification.
In a preferred embodiment, when loading the intervention data, the data processing module 302 may detect that a plurality of intervention data are received within a preset time threshold, automatically merge the intervention data, and then load the merged intervention data into the temporary buffer. And after the loading is finished, switching the intervention data in the temporary buffer area to the working buffer area to finish the updating and loading of the intervention data. The automatic combination intervention data refers to the intervention data of a plurality of services combined into a specified format according to a certain protocol.
Further, the data processing module 302 may perform a correctness judgment on the merged intervention data, i.e. a judgment on whether the intervention data is abnormal, for example, through the detection of md5 and the like. And discarding if the combined intervention data is abnormal according to the judgment result, otherwise, normally loading the intervention data into the temporary buffer area.
In another preferred embodiment, the issuing module 303 may issue the loaded intervention data to the corresponding service module in parallel through the service of the operation platform. Preferably, an operation platform service is correspondingly configured for each service module. For the newly added service module, the data management function can be automatically inherited only by deploying the corresponding operation platform service, so that the service can be expanded. Meanwhile, the newly added service module inherits the basic service interface which is the same as that of other service modules, and the service module is dynamically registered to the module manager. When the external business service requests business data from the business module, the module manager receives the business data request, and then traverses each business module to obtain the matching data of the corresponding business module and returns the matching data.
It should be noted that, in the implementation of the apparatus for real-time intervention search result of the present invention, the above method for real-time intervention search result has been described in detail, and therefore, the repeated content herein is not described again.
Fig. 4 illustrates an exemplary system architecture 400 to which the method for intervening in search results in real time or the apparatus for intervening in search results in real time of an embodiment of the present invention may be applied.
As shown in fig. 4, the system architecture 400 may include terminal devices 401, 402, 403, a network 404, and a server 405. The network 404 serves as a medium for providing communication links between the terminal devices 401, 402, 403 and the server 405. Network 404 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
A user may use terminal devices 401, 402, 403 to interact with a server 405 over a network 404 to receive or send messages or the like. The terminal devices 401, 402, 403 may have installed thereon various communication client applications, such as shopping-like applications, web browser applications, search-like applications, instant messaging tools, mailbox clients, social platform software, etc. (by way of example only).
The terminal devices 401, 402, 403 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smart phones, tablet computers, laptop portable computers, desktop computers, and the like.
The server 405 may be a server providing various services, such as a background management server (for example only) providing support for shopping websites browsed by users using the terminal devices 401, 402, 403. The backend management server may analyze and perform other processing on the received data such as the product information query request, and feed back a processing result (for example, target push information, product information — just an example) to the terminal device.
It should be noted that the method for intervening in the search result in real time provided by the embodiment of the present invention is generally executed by the server 405, and accordingly, the device for intervening in the search result in real time is generally disposed in the server 405.
It should be understood that the number of terminal devices, networks, and servers in fig. 4 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 5, shown is a block diagram of a computer system 500 suitable for use with a terminal device implementing an embodiment of the present invention. The terminal device shown in fig. 5 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 5, the computer system 500 includes a Central Processing Unit (CPU)501 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM)502 or a program loaded from a storage section 608 into a Random Access Memory (RAM) 503. In the RAM503, various programs and data necessary for the operation of the system 500 are also stored. The CPU 501, ROM502, and RAM503 are connected to each other via a bus 504. An input/output (I/O) interface 505 is also connected to bus 504.
The following components are connected to the I/O interface 505: an input portion 506 including a keyboard, a mouse, and the like; an output portion 507 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage portion 508 including a hard disk and the like; and a communication section 509 including a network interface card such as a LAN card, a modem, or the like. The communication section 509 performs communication processing via a network such as the internet. The driver 510 is also connected to the I/O interface 505 as necessary. A removable medium 511 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 510 as necessary, so that a computer program read out therefrom is mounted into the storage section 508 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication section 509, and/or installed from the removable medium 511. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 501.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present invention, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes a receiving module, a data processing module, and a issuing module, wherein the names of the modules do not in some cases constitute a limitation on the module itself.
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise: receiving intervention data of service search; determining the service classification of the intervention data, and loading the intervention data; and issuing the loaded intervention data to the corresponding service module according to the service classification.
According to the technical scheme of the embodiment of the invention, an extensible real-time operation intervention method is adopted from the requirements of service, operation diversity and real-time performance, so that the quality of the search result is improved, and the technical effects of better commodity display and user experience are further realized.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (6)

1. A method for intervening in real time in search results, comprising:
receiving intervention data of service search;
determining the service classification of the intervention data, and loading the intervention data;
according to the service classification, the loaded intervention data is sent to a corresponding service module;
wherein, the business module is pre-registered in the module manager;
the module manager receives a service data request of an external service, traverses each service module to acquire and return matching data of the corresponding service module;
when a plurality of pieces of intervention data are detected to be received, merging the intervention data, and judging whether the merged intervention data are abnormal or not; and according to a judgment result, if the merged intervention data is abnormal, discarding the intervention data, otherwise, loading the merged intervention data into a temporary buffer area.
2. The method of claim 1, wherein said step of loading said intervention data comprises:
detecting that a plurality of intervention data are received within a preset time threshold;
merging the intervention data, and loading the merged intervention data into a temporary buffer area; and after the merged intervention data are loaded, switching the merged intervention data in the temporary buffer area to a working buffer area.
3. An apparatus for intervening in real time in search results, comprising:
the receiving module is used for receiving intervention data of service search;
the data processing module is used for determining the service classification of the intervention data and loading the intervention data; when a plurality of pieces of intervention data are detected to be received, merging the intervention data, and judging whether the merged intervention data are abnormal or not; according to the judgment result, if the merged intervention data is abnormal, discarding the intervention data, otherwise, loading the merged intervention data into a temporary buffer area;
the issuing module is used for issuing the loaded intervention data to the corresponding service module according to the service classification; wherein, the business module is pre-registered in the module manager; and the module manager receives a service data request of an external service, and then traverses each service module to acquire and return the matching data of the corresponding service module.
4. The apparatus of claim 3, wherein the data processing module, when loading the intervention data, comprises:
detecting that a plurality of intervention data are received within a preset time threshold;
merging the intervention data, and loading the merged intervention data into a temporary buffer area; and after the merged intervention data are loaded, switching the merged intervention data in the temporary buffer area to a working buffer area.
5. An electronic device, comprising:
one or more processors;
a storage device for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of claim 1 or 2.
6. A computer-readable medium, on which a computer program is stored, which program, when being executed by a processor, carries out the method of claim 1 or 2.
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 CN107909424A (en) 2018-04-13
CN107909424B true 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
CN107909424A (en) 2018-04-13

Similar Documents

Publication Publication Date Title
CN107844324B (en) Client page jump processing method and device
CN108897854B (en) Monitoring method and device for overtime task
US20240231840A1 (en) Method And Apparatus For Microservice Configuration, Electronic Device, System, And Storage Medium
CN111427701A (en) Workflow engine system and business processing method
CN111314063A (en) Big data information management method, system and device based on Internet of things
CN110766348B (en) Method and device for combining goods picking tasks
CN112445868A (en) Service message processing method and device
CN111861298A (en) Order canceling method and device
CN114297278A (en) Method, system and device for quickly writing batch data
CN111401684A (en) Task processing method and device
CN112817562A (en) Service processing method and device
CN108985805B (en) Method and device for selectively executing push task
CN110688355A (en) Method and device for changing container state
CN112948138A (en) Method and device for processing message
CN107909424B (en) Method and device for intervening search results in real time
CN113157911A (en) Service verification method and device
CN110362297B (en) Element ordering method and device
CN114329164B (en) Method, apparatus, device, medium, and article for processing data
CN109213815B (en) Method, device, server terminal and readable medium for controlling execution times
CN113297087A (en) Test method and device
CN114064803A (en) Data synchronization method and device
CN113760726A (en) Method, device, electronic equipment and medium for testing configuration file
CN112925623A (en) Task processing method and device, electronic equipment and medium
CN112732471A (en) Error correction method and error correction device for interface return data
CN107885774B (en) Data processing method and system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant