CN110263212B - Method and device for sharing search results - Google Patents
Method and device for sharing search results Download PDFInfo
- Publication number
- CN110263212B CN110263212B CN201910562943.6A CN201910562943A CN110263212B CN 110263212 B CN110263212 B CN 110263212B CN 201910562943 A CN201910562943 A CN 201910562943A CN 110263212 B CN110263212 B CN 110263212B
- Authority
- CN
- China
- Prior art keywords
- retrieval
- condition
- search
- changed
- conditions
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/70—Information retrieval; Database structures therefor; File system structures therefor of video data
- G06F16/73—Querying
- G06F16/735—Filtering based on additional data, e.g. user or group profiles
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/70—Information retrieval; Database structures therefor; File system structures therefor of video data
- G06F16/73—Querying
- G06F16/738—Presentation of query results
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computational Linguistics (AREA)
- Multimedia (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The application provides a method and a device for sharing retrieval results, wherein the method for sharing the retrieval results comprises the steps of receiving retrieval conditions of retrieval tasks sent by a user side; detecting the retrieval conditions, and if the retrieval conditions are changed, respectively sending the changed retrieval conditions to the computing nodes and the user side accessing the retrieval task at the current moment; receiving a retrieval result which is sent by the computing node and obtained by retrieving according to the changed retrieval condition; and sending the retrieval result corresponding to the modified retrieval condition to a user side accessing the retrieval task at the current moment. According to the method for sharing the search results, after the search conditions are detected to be changed, the search is carried out according to the changed search conditions, the search results corresponding to the changed search conditions are sent to the user side accessing the search tasks at the current moment, the sharing of the search results is achieved, the disorder condition of the search results of the search tasks is avoided, and the search efficiency of the search tasks is improved.
Description
Technical Field
The present application relates to the field of image recognition technologies, and in particular, to a method and an apparatus for sharing search results.
Background
At present, a user can screen a target object from video resources by retrieving the video resources, so as to obtain a motion track of the target object, thereby realizing tracking of the target object.
Specifically, when the target object is retrieved and tracked, a user can create and access a retrieval task through a user side, so that the target object is retrieved and tracked. After accessing the same retrieval task, different users can access the same video file in the server through different user terminals, and retrieve the target object in the same video file according to the retrieval condition in the accessed retrieval task, wherein if the retrieval condition in the retrieval task is changed, the obtained retrieval results are also different. Therefore, if any user modifies the search condition in the search task, the search result obtained by the user is inconsistent with the search result obtained by other users who subscribe to the same search task, so that the search result of the search task is confused, and the search efficiency of the search task is reduced.
Disclosure of Invention
In view of the above, an object of the present invention is to provide a method and an apparatus for sharing search results, so as to reduce confusion of the search results of the search tasks and improve the search efficiency of the search tasks.
In a first aspect, an embodiment of the present application provides a method for sharing search results, which is applied to a server, and the method includes:
receiving retrieval conditions of retrieval tasks sent by a user side;
detecting the retrieval conditions, and if detecting that the retrieval conditions are changed, respectively sending the changed retrieval conditions to a computing node and a user side accessing the retrieval task at the current moment;
receiving a retrieval result which is sent by the computing node and obtained by retrieving according to the modified retrieval condition;
and sending the retrieval result corresponding to the modified retrieval condition to a user side accessing the retrieval task at the current moment.
In some embodiments of the present application, the search condition includes at least one of the following conditions: search algorithm, search area, search acquaintance threshold, search file, biometric feature, frame skipping frequency, and resolution.
In some embodiments of the present application, after receiving a retrieval result sent by the computing node and retrieved according to the modified retrieval condition, the method further includes:
saving the changed retrieval conditions and the retrieval results corresponding to the changed retrieval conditions;
and when a subscription instruction sent by a user side is received, sending the retrieval result corresponding to the modified retrieval condition to the user side.
In some embodiments of the present application, after receiving the retrieval condition of the retrieval task sent by the user side, the method further includes:
sending the retrieval conditions of the retrieval tasks to a computing node for retrieval;
and receiving and storing a retrieval result which is sent by the computing node and obtained by retrieving according to the retrieval condition.
In a second aspect, an embodiment of the present application further provides a method for sharing search results, which is applied to a computing node, and includes:
receiving the retrieval conditions of the modified retrieval tasks sent by the server;
acquiring a video file according to the changed retrieval condition;
searching in the video file according to the changed searching condition to obtain a searching result corresponding to the changed searching condition;
and sending the retrieval result corresponding to the modified retrieval condition to a user side accessing the retrieval task at the current moment through a server.
In a third aspect, an embodiment of the present application further provides an apparatus for sharing search results, where the apparatus is applied to a server, and the apparatus includes:
the retrieval condition receiving module is used for receiving retrieval conditions of retrieval tasks sent by the user side;
the detection module is used for detecting the retrieval conditions, and if the retrieval conditions are detected to be changed, the changed retrieval conditions are respectively sent to the computing nodes and the user side accessing the retrieval task at the current moment;
the change module is used for receiving a retrieval result which is sent by the computing node and obtained by retrieving according to the changed retrieval condition;
and the sending module is used for sending the retrieval result corresponding to the modified retrieval condition to a user side accessing the retrieval task at the current moment.
In some embodiments of the present application, the apparatus further comprises:
the storage module is used for storing the changed retrieval conditions and the retrieval results corresponding to the changed retrieval conditions;
and the query module is used for sending the modified retrieval result corresponding to the retrieval condition to the user side when receiving a subscription instruction sent by the user side.
In a fourth aspect, an embodiment of the present application further provides an apparatus for sharing search results, where the apparatus is applied to a computing node, and the apparatus includes:
the modified condition receiving module is used for receiving the modified retrieval conditions of the retrieval task sent by the server;
the acquisition module is used for acquiring a video file according to the changed retrieval condition;
the retrieval module is used for retrieving in the video file according to the modified retrieval condition to obtain a retrieval result corresponding to the modified retrieval condition;
and the result sending module is used for sending the retrieval result corresponding to the changed retrieval condition to a user side accessing the retrieval task at the current moment through a server.
In a fifth aspect, an embodiment of the present application further provides an electronic device, including: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, the processor and the memory communicate via the bus when the electronic device is running, and the machine-readable instructions, when executed by the processor, perform the steps of the method for sharing search results as described in the first aspect above or any possible implementation manner of the first aspect.
In a sixth aspect, this application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and the computer program is executed by a processor to perform the steps of the method for sharing search results described in the above first aspect or any possible implementation manner of the first aspect.
The embodiment of the application provides a method and a device for sharing retrieval results, wherein the method for sharing the retrieval results comprises the steps of receiving retrieval conditions of retrieval tasks sent by a user side; detecting the retrieval conditions, and if the retrieval conditions are changed, respectively sending the changed retrieval conditions to the computing nodes and the user side accessing the retrieval task at the current moment; receiving a retrieval result which is sent by the computing node and obtained by retrieving according to the changed retrieval condition; and sending the retrieval result corresponding to the modified retrieval condition to a user side accessing the retrieval task at the current moment. According to the method for sharing the retrieval results, after the retrieval conditions are detected to be changed, retrieval is carried out according to the changed retrieval conditions, the retrieval results corresponding to the changed retrieval conditions are sent to the user side accessing the retrieval tasks at the current moment, sharing of the retrieval results is achieved, the fact that the retrieval results obtained after the retrieval conditions are changed by the user are inconsistent with the retrieval results obtained by other users is avoided, the disorder condition of the retrieval results of the retrieval tasks is reduced, and the retrieval efficiency of the retrieval tasks is improved.
In order to make the aforementioned objects, features and advantages of the present application more comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained from the drawings without inventive effort.
Fig. 1 is a flowchart illustrating a method for sharing search results according to an embodiment of the present application;
FIG. 2 is a flow chart illustrating another method for sharing search results according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram illustrating a device for sharing search results according to an embodiment of the present application;
fig. 4 is a schematic structural diagram illustrating another apparatus for sharing search results according to an embodiment of the present application;
fig. 5 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.
Icon: 301-a retrieval condition receiving module; 302-a detection module; 303-a change module; 304-a sending module; 401-change condition receiving module; 402-an acquisition module; 403-retrieval module; 404-result sending module; 500-an electronic device; 501, a processor; 502-a memory; 503-bus; 5021-memory; 5022-external memory.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
In consideration of the fact that different users can access the same video file in the server through different user sides after accessing the same retrieval task and retrieve the target object in the same video file according to the retrieval conditions in the accessed retrieval task, if the retrieval conditions in the retrieval task are changed, the retrieval results obtained are also different. Therefore, if any user modifies the search condition in the search task, the search result obtained by the user is inconsistent with the search result obtained by other users who subscribe to the same search task, so that the search result of the search task is confused, and the search efficiency of the search task is reduced. Based on this, embodiments of the present application provide a method and an apparatus for sharing search results, so as to reduce confusion of search results of search tasks and improve search efficiency of search tasks, which are described below by embodiments.
For the convenience of understanding the present embodiment, a method for sharing search results disclosed in the embodiments of the present application will be described in detail first.
Example one
The embodiment of the application provides a method for sharing a retrieval result, which can be applied to a server, a user side and a computing node. The following describes a case where the search result sharing method is applied to a server.
As shown in fig. 1, there is a flow chart illustrating a method of search result sharing, the method comprising:
s101, receiving the search condition of the search task sent by the user side.
Specifically, the search condition of the search task includes at least one of the following conditions: search algorithm, search area, search acquaintance threshold, search file, biometric feature, frame skipping frequency, and resolution. The search condition may further include an image size, a search time, and the like, wherein the specific content of the search condition may be set according to the actual situation.
And S102, detecting the retrieval conditions, and if the retrieval conditions are detected to be changed, respectively sending the changed retrieval conditions to the computing nodes and the user side accessing the retrieval task at the current moment.
In the embodiment of the application, a user can change the retrieval conditions through the user terminal, and after the server detects that the retrieval conditions are changed, the changed retrieval conditions are respectively sent to the computing nodes and the user terminal accessing the retrieval task at the current moment. Illustratively, the computing node acquires the video file according to the changed retrieval condition, and retrieves the video file according to the changed retrieval condition. If the server detects that the retrieval condition is changed, the server sends the retrieval condition to the client accessing the retrieval task at the current moment, for example, if the retrieval area in the retrieval condition is changed, the server sends the changed retrieval area to the client accessing the retrieval task, so that the client can display the changed retrieval condition.
And S103, receiving a retrieval result which is sent by the computing node and obtained by retrieving according to the modified retrieval condition.
In the embodiment of the application, the computing node searches in the video file according to the changed searching conditions to obtain the searching result. Illustratively, the computing node obtains image data and a video file corresponding to the changed retrieval condition, the computing node sends the retrieval result to the server, and the server receives the retrieval result corresponding to the changed retrieval condition.
And S104, sending the retrieval result corresponding to the modified retrieval condition to the user side accessing the retrieval task at the current moment.
In the embodiment of the application, after the server receives the modified retrieval result, the retrieval result corresponding to the modified retrieval condition is sent to the client accessing the retrieval task at the current moment, and the retrieval result corresponding to the modified retrieval condition is shared to the client accessing the retrieval task, so that the client accessing the retrieval task can share the modified retrieval result, the client accessing the retrieval task can obtain the same retrieval result, and the retrieval result of the retrieval task is prevented from being disordered.
The method for sharing the retrieval result comprises the steps of receiving retrieval conditions of a retrieval task sent by a user side; detecting retrieval conditions, and if the retrieval conditions are changed, respectively sending the changed retrieval conditions to a computing node and a user side accessing the retrieval task at the current moment; receiving a retrieval result which is sent by the computing node and obtained by retrieving according to the changed retrieval condition; and sending the retrieval result corresponding to the modified retrieval condition to a user side accessing the retrieval task at the current moment. According to the method for sharing the retrieval results, after the retrieval conditions are detected to be changed, retrieval is carried out according to the changed retrieval conditions, the retrieval results corresponding to the changed retrieval conditions are sent to the user side accessing the retrieval tasks at the current moment, sharing of the retrieval results is achieved, the fact that the retrieval results obtained after the retrieval conditions are changed by the user are inconsistent with the retrieval results obtained by other users is avoided, the disorder condition of the retrieval results of the retrieval tasks is reduced, and the retrieval efficiency of the retrieval tasks is improved.
As an optional embodiment, after receiving a retrieval result sent by the computing node and retrieved according to the modified retrieval condition, the method further includes:
firstly, storing a changed retrieval condition and a retrieval result corresponding to the changed retrieval condition;
secondly, when a subscription instruction sent by the user side is received, the retrieval result corresponding to the modified retrieval condition is sent to the user side.
In the embodiment of the application, the server can store the modified retrieval conditions and the retrieval results corresponding to the modified retrieval conditions, when a user needs to subscribe the retrieval tasks, a subscription instruction can be sent through the user side, wherein each retrieval task corresponds to one subscription instruction, different retrieval tasks correspond to different subscription instructions, and after receiving the subscription instruction, the server sends the retrieval results corresponding to the modified retrieval conditions to the user side, so that the user side displays the retrieval tasks corresponding to the modified retrieval conditions.
As an optional embodiment, after receiving the retrieval condition of the retrieval task sent by the user side, the method further includes:
firstly, sending a retrieval condition of a retrieval task to a computing node for retrieval;
and secondly, receiving and storing a retrieval result which is obtained by retrieving according to the retrieval condition and is sent by the computing node.
In the embodiment of the application, after receiving the retrieval condition sent by the user side, the server sends the retrieval condition to the computing node for retrieval, so as to obtain a retrieval result corresponding to the retrieval condition. And when the search condition is not changed, storing the search result corresponding to the unchanged search condition. When the user terminal sends out the subscription instruction, the unmodified retrieval condition and the retrieval result corresponding to the unmodified retrieval condition are sent to the user terminal.
Example two
The embodiment of the present application provides another method for sharing search results, and the following describes a case where the method for sharing search results is applied to a computing node.
As shown in fig. 2, a flowchart of another method for sharing search results is shown, which includes:
s201, receiving the search condition of the changed search task sent by the server.
And S202, acquiring the video file according to the changed retrieval condition.
And S203, searching in the video file according to the changed searching condition to obtain a searching result corresponding to the changed searching condition.
And S204, sending the retrieval result corresponding to the modified retrieval condition to a user side accessing the retrieval task at the current moment through the server.
In the embodiment of the application, the computing node can also receive the retrieval condition of the unmodified retrieval task sent by the server, perform retrieval according to the retrieval condition of the unmodified retrieval task, obtain the retrieval result corresponding to the unmodified retrieval condition, and send the retrieval result to the server.
The retrieval result sharing method comprises the steps of receiving a retrieval condition of a modified retrieval task sent by a server, obtaining a video file according to the modified retrieval condition, retrieving in the video file according to the modified retrieval condition to obtain a retrieval result corresponding to the modified retrieval condition, and sending the retrieval result corresponding to the modified retrieval condition to a user side accessing the retrieval task at the current moment through the server. The retrieval result sharing method carries out retrieval according to the modified retrieval conditions, and sends the retrieval results corresponding to the modified retrieval conditions to the user side accessing the retrieval task at the current moment through the server, so that the sharing of the retrieval results is realized, the retrieval results obtained after the user modifies the retrieval conditions are prevented from being inconsistent with the retrieval results obtained by other users, the disorder condition of the retrieval results of the retrieval tasks is reduced, and the retrieval efficiency of the retrieval tasks is improved.
EXAMPLE III
An embodiment of the present application provides a device for sharing search results, which is applied to a server, and as shown in fig. 3, the device is a schematic structural diagram of the device for sharing search results, and the device includes:
a retrieval condition receiving module 301, configured to receive a retrieval condition of a retrieval task sent by a user side;
the detection module 302 is configured to detect a retrieval condition, and if it is detected that the retrieval condition is changed, send the changed retrieval condition to the computing node and a user side accessing the retrieval task at the current time, respectively;
the changing module 303 is used for receiving a retrieval result which is sent by the computing node and obtained by retrieving according to the changed retrieval condition;
a sending module 304, configured to send the retrieval result corresponding to the modified retrieval condition to the user side accessing the retrieval task at the current time.
As an alternative embodiment, the apparatus further comprises:
the storage module is used for storing the changed retrieval conditions and the retrieval results corresponding to the changed retrieval conditions;
and the query module is used for sending the retrieval result corresponding to the modified retrieval condition to the user side when receiving the subscription instruction sent by the user side.
As an alternative embodiment, the apparatus further comprises:
the computing node retrieval module is used for sending the retrieval conditions of the retrieval task to the computing nodes for retrieval;
and the retrieval result storage module is used for receiving and storing the retrieval result which is sent by the computing node and obtained by retrieval according to the retrieval condition.
The device for sharing the search result provided by the embodiment of the present application has the same technical features as the method for sharing the search result provided by the first embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the device for constructing the feature information base may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
Example four
The embodiment of the present application proposes another device for sharing search results, as shown in fig. 4, which is a schematic structural diagram of another device for sharing search results, and the device includes:
a modification condition receiving module 401, configured to receive a retrieval condition of a modified retrieval task sent by a server;
an obtaining module 402, configured to obtain a video file according to the changed retrieval condition;
the retrieval module 403 is configured to perform retrieval in the video file according to the modified retrieval condition to obtain a retrieval result corresponding to the modified retrieval condition;
and a result sending module 404, configured to send the search result corresponding to the modified search condition to the user side accessing the search task at the current time through the server.
The device for sharing the search result provided by the embodiment of the present application has the same technical features as the method for sharing the search result provided by the second embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working process of the device for constructing the feature information base may refer to the corresponding process in the foregoing method embodiment, and is not described herein again.
EXAMPLE five
Based on the same technical concept, the embodiment of the application also provides the electronic equipment. Referring to fig. 5, a schematic structural diagram of an electronic device 500 provided in the embodiment of the present application includes a processor 501, a memory 502, and a bus 503. The memory 502 is used for storing execution instructions and includes a memory 5021 and an external memory 5022; the memory 5021 is also referred to as an internal memory, and is used for temporarily storing operation data in the processor 501 and data exchanged with an external storage 5022 such as a hard disk, the processor 501 exchanges data with the external storage 5022 through the memory 5021, and when the electronic device 500 operates, the processor 501 communicates with the storage 502 through the bus 503, so that the processor 501 executes the following instructions:
receiving retrieval conditions of retrieval tasks sent by a user side;
detecting the retrieval conditions, and if the retrieval conditions are changed, respectively sending the changed retrieval conditions to the computing nodes and the user side accessing the retrieval task at the current moment;
receiving a retrieval result which is sent by the computing node and obtained by retrieving according to the changed retrieval condition;
and sending the retrieval result corresponding to the modified retrieval condition to a user side accessing the retrieval task at the current moment.
In one possible design, the instructions that may be executed by processor 501 further include:
the retrieval condition includes at least one of the following conditions: search algorithm, search area, search acquaintance threshold, search file, biometric feature, frame skipping frequency, and resolution.
In one possible design, the instructions that may be executed by processor 501 further include:
saving the changed retrieval conditions and the retrieval results corresponding to the changed retrieval conditions;
and when a subscription instruction sent by the user side is received, sending the retrieval result corresponding to the modified retrieval condition to the user side.
In one possible design, the instructions that may be executed by processor 501 further include:
sending the retrieval conditions of the retrieval task to the computing nodes for retrieval;
and receiving and storing a retrieval result which is sent by the computing node and obtained by retrieval according to the retrieval condition.
In one possible design, the instructions that may be executed by processor 501 further include:
receiving the retrieval conditions of the modified retrieval tasks sent by the server;
acquiring a video file according to the changed retrieval condition;
searching in the video file according to the changed searching condition to obtain a searching result corresponding to the changed searching condition;
and sending the retrieval result corresponding to the modified retrieval condition to a user side accessing the retrieval task at the current moment through the server.
EXAMPLE six
An embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program performs the steps of the method for sharing search results described in any of the above embodiments.
Specifically, the storage medium can be a general-purpose storage medium, such as a removable disk, a hard disk, or the like, and when the computer program on the storage medium is executed, the steps of the method for sharing the search result can be executed, so that the confusion of the search result of the search task is reduced, and the search efficiency of the search task is improved.
The computer program product for performing the method for sharing the search result provided in the embodiment of the present application includes a computer-readable storage medium storing a nonvolatile program code executable by a processor, where instructions included in the program code may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment, and is not described herein again.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one logical division, and there may be other divisions when actually implemented, and for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of devices or units through some communication interfaces, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present application, and are used for illustrating the technical solutions of the present application, but not limiting the same, and the scope of the present application is not limited thereto, and although the present application is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope disclosed in the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the exemplary embodiments of the present application, and are intended to be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (10)
1. A method for sharing search results is applied to a server, and is characterized in that the method comprises the following steps:
receiving retrieval conditions of retrieval tasks sent by a user side;
detecting the retrieval conditions, and if detecting that the retrieval conditions are changed, respectively sending the changed retrieval conditions to a computing node and a user side accessing the retrieval task at the current moment;
receiving a retrieval result which is sent by the computing node and obtained by retrieving according to the modified retrieval condition;
and sending the retrieval result corresponding to the modified retrieval condition to a user side accessing the retrieval task at the current moment.
2. The method according to claim 1, wherein the search condition comprises at least one of the following conditions: search algorithm, search area, search similarity threshold, search file, biometric feature, frame skipping frequency, and resolution.
3. The method according to claim 1, wherein after receiving the search result sent by the computing node and searched according to the changed search condition, the method further comprises:
saving the changed retrieval conditions and the retrieval results corresponding to the changed retrieval conditions;
and when a subscription instruction sent by a user side is received, sending the retrieval result corresponding to the modified retrieval condition to the user side.
4. The method of claim 1, wherein after receiving the search condition of the search task sent by the user terminal, the method further comprises:
sending the retrieval conditions of the retrieval tasks to a computing node for retrieval;
and receiving and storing a retrieval result which is sent by the computing node and obtained by retrieving according to the retrieval condition.
5. A method for sharing search results is applied to a computing node, and is characterized in that the method comprises the following steps:
receiving the retrieval conditions of the modified retrieval tasks sent by the server;
acquiring a video file according to the changed retrieval condition;
searching in the video file according to the changed searching condition to obtain a searching result corresponding to the changed searching condition;
and sending the retrieval result corresponding to the modified retrieval condition to a user side accessing the retrieval task at the current moment through a server.
6. An apparatus for sharing search results, applied to a server, the apparatus comprising:
the retrieval condition receiving module is used for receiving retrieval conditions of retrieval tasks sent by the user side;
the detection module is used for detecting the retrieval conditions, and if the retrieval conditions are detected to be changed, the changed retrieval conditions are respectively sent to the computing nodes and the user side accessing the retrieval task at the current moment;
the change module is used for receiving a retrieval result which is sent by the computing node and obtained by retrieving according to the changed retrieval condition;
and the sending module is used for sending the retrieval result corresponding to the modified retrieval condition to a user side accessing the retrieval task at the current moment.
7. The apparatus of claim 6, further comprising:
the storage module is used for storing the changed retrieval conditions and the retrieval results corresponding to the changed retrieval conditions;
and the query module is used for sending the modified retrieval result corresponding to the retrieval condition to the user side when receiving a subscription instruction sent by the user side.
8. An apparatus for sharing search results, applied to a computing node, the apparatus comprising:
the modified condition receiving module is used for receiving the modified retrieval conditions of the retrieval task sent by the server;
the acquisition module is used for acquiring a video file according to the changed retrieval condition;
the retrieval module is used for retrieving in the video file according to the modified retrieval condition to obtain a retrieval result corresponding to the modified retrieval condition;
and the result sending module is used for sending the retrieval result corresponding to the changed retrieval condition to a user side accessing the retrieval task at the current moment through a server.
9. An electronic device, comprising: a processor, a memory and a bus, the memory storing machine-readable instructions executable by the processor, the processor and the memory communicating via the bus when the electronic device is running, the machine-readable instructions when executed by the processor performing the steps of the method of search result sharing according to any one of claims 1 to 5.
10. A computer-readable storage medium, having stored thereon a computer program for performing, when executed by a processor, the steps of the method for sharing search results according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910562943.6A CN110263212B (en) | 2019-06-26 | 2019-06-26 | Method and device for sharing search results |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910562943.6A CN110263212B (en) | 2019-06-26 | 2019-06-26 | Method and device for sharing search results |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110263212A CN110263212A (en) | 2019-09-20 |
CN110263212B true CN110263212B (en) | 2021-04-27 |
Family
ID=67921914
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910562943.6A Active CN110263212B (en) | 2019-06-26 | 2019-06-26 | Method and device for sharing search results |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110263212B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101075233A (en) * | 2006-05-17 | 2007-11-21 | 华为技术有限公司 | Member, system and method for collecting multi-medium content |
JP2008140131A (en) * | 2006-12-01 | 2008-06-19 | Fuji Xerox Co Ltd | Information sharing device and information sharing program |
CN103946843A (en) * | 2011-12-28 | 2014-07-23 | 乐天株式会社 | Search device, search method, search program, and recording medium |
CN107682674A (en) * | 2017-10-16 | 2018-02-09 | 周伟 | Based on user interest and the video monitoring image distribution method subscribed to and system |
CN109408667A (en) * | 2018-09-18 | 2019-03-01 | 银河水滴科技(北京)有限公司 | A kind of video frequency search system |
-
2019
- 2019-06-26 CN CN201910562943.6A patent/CN110263212B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101075233A (en) * | 2006-05-17 | 2007-11-21 | 华为技术有限公司 | Member, system and method for collecting multi-medium content |
JP2008140131A (en) * | 2006-12-01 | 2008-06-19 | Fuji Xerox Co Ltd | Information sharing device and information sharing program |
CN103946843A (en) * | 2011-12-28 | 2014-07-23 | 乐天株式会社 | Search device, search method, search program, and recording medium |
CN107682674A (en) * | 2017-10-16 | 2018-02-09 | 周伟 | Based on user interest and the video monitoring image distribution method subscribed to and system |
CN109408667A (en) * | 2018-09-18 | 2019-03-01 | 银河水滴科技(北京)有限公司 | A kind of video frequency search system |
Also Published As
Publication number | Publication date |
---|---|
CN110263212A (en) | 2019-09-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11310559B2 (en) | Method and apparatus for recommending video | |
CN108536467B (en) | Code positioning processing method and device, terminal equipment and storage medium | |
CN107871000B (en) | Audio playing method and device, storage medium and electronic equipment | |
CN110704677A (en) | Program recommendation method and device, readable storage medium and terminal equipment | |
US20140365445A1 (en) | Server with file managing function and file managing method | |
CN113849748A (en) | Information display method and device, electronic equipment and readable storage medium | |
CN110851639A (en) | Method and equipment for searching picture by picture | |
CN110222046B (en) | List data processing method, device, server and storage medium | |
CN112559913B (en) | Data processing method, device, computing equipment and readable storage medium | |
CN114429644A (en) | Method, device and equipment for updating image base and storage medium | |
CN111949354B (en) | Page content updating method and device | |
CN110263212B (en) | Method and device for sharing search results | |
CN106844406B (en) | Search method and search device | |
CN110019863B (en) | Object searching method and device, terminal equipment and storage medium | |
CN114844851A (en) | Information display method, information display device, computer equipment and storage medium | |
CN110413603B (en) | Method and device for determining repeated data, electronic equipment and computer storage medium | |
US20170083607A1 (en) | Extending a classification database by user interactions | |
US20170161237A1 (en) | Method for creating a hyperlink in a video-playing page and electronic device | |
CN114528321A (en) | Data retrieval method and device, electronic equipment and readable storage medium | |
CN107103096A (en) | Method for information display and device | |
CN113065085A (en) | Data loading method and device, target server, target terminal and storage medium | |
CN113204704A (en) | Content information display method and device, electronic equipment and readable medium | |
CN112051951A (en) | Media content display method, and media content display determination method and device | |
CN111026438A (en) | Extraction method, device, equipment and medium for key information of small program package and page | |
CN112118474A (en) | Video barrage display method and system, computer equipment and readable storage medium |
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 | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20210129 Address after: 315000 9-3, building 91, 16 Buzheng lane, Haishu District, Ningbo City, Zhejiang Province Applicant after: Yinhe shuidi Technology (Ningbo) Co.,Ltd. Address before: 0701, 7 / F, 51 Xueyuan Road, Haidian District, Beijing Applicant before: Yinhe waterdrop Technology (Beijing) Co.,Ltd. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |