CN113360689B - Image retrieval system, method, related device and computer program product - Google Patents
Image retrieval system, method, related device and computer program product Download PDFInfo
- Publication number
- CN113360689B CN113360689B CN202110718591.6A CN202110718591A CN113360689B CN 113360689 B CN113360689 B CN 113360689B CN 202110718591 A CN202110718591 A CN 202110718591A CN 113360689 B CN113360689 B CN 113360689B
- Authority
- CN
- China
- Prior art keywords
- retrieval
- user
- image
- service
- target
- 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 OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/53—Querying
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/51—Indexing; Data structures therefor; Storage structures
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/50—Information retrieval; Database structures therefor; File system structures therefor of still image data
- G06F16/58—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
- G06F16/583—Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using metadata automatically derived from the content
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Library & Information Science (AREA)
- Software Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
本公开提供了图像检索系统、方法、相关装置及产品,涉及人工智能领域,具体涉及计算机视觉和深度学习技术,可用于图片搜索场景下。具体实现方案为:图像检索系统包括存储装置、管理装置和检索引擎,存储装置用于为用户集合中的每个用户提供数据库,并通过每个数据库存储该数据库对应的用户与属于该用户的图像的特征信息之间的索引信息;管理装置用于管理存储装置中的索引信息;检索引擎用于确定所接收的图像检索请求所对应的目标用户,并根据目标用户对应的目标索引信息,采用目标用户的定制化检索策略,处理图像检索请求,生成图像检索结果。本公开实现了用户数据的分库存储,提供了用于多用户的图像检索系统,提高了图像检索的灵活性。
The disclosure provides image retrieval systems, methods, related devices and products, which relate to the field of artificial intelligence, specifically computer vision and deep learning technologies, and can be used in image search scenarios. The specific implementation plan is: the image retrieval system includes a storage device, a management device and a retrieval engine, the storage device is used to provide a database for each user in the user set, and each database stores the user corresponding to the database and the images belonging to the user The index information between the feature information of the target user; the management device is used to manage the index information in the storage device; the search engine is used to determine the target user corresponding to the received image retrieval request, and according to the target index information corresponding to the target user, use the target The user's customized retrieval strategy, processing image retrieval requests, and generating image retrieval results. The disclosure realizes sub-database storage of user data, provides an image retrieval system for multiple users, and improves the flexibility of image retrieval.
Description
技术领域technical field
本公开涉及人工智能领域,具体涉及计算机视觉和深度学习技术,尤其涉及图像检索系统、方法、装置、电子设备、存储介质以及计算机程序产品,可用于图片搜索场景下。The present disclosure relates to the field of artificial intelligence, in particular to computer vision and deep learning technologies, and in particular to image retrieval systems, methods, devices, electronic equipment, storage media, and computer program products, which can be used in image search scenarios.
背景技术Background technique
图像检索技术是以图搜图的技术,很多应用平台都需要基于图像检索技术提供图像检索功能。目前,各应用平台一般自行研发图片检索系统,以提供图片检索服务,需要耗费很多的人力物力资源,开发周期长。Image retrieval technology is a technology of image search, and many application platforms need to provide image retrieval functions based on image retrieval technology. At present, each application platform generally develops its own image retrieval system to provide image retrieval services, which requires a lot of human and material resources and a long development cycle.
发明内容Contents of the invention
本公开提供了一种用于图像检索系统、方法、装置、电子设备、存储介质以及计算机程序产品。The present disclosure provides an image retrieval system, method, device, electronic equipment, storage medium and computer program product.
根据第一方面,提供了一种图像检索系统,包括存储装置、管理装置和检索引擎,其中:存储装置,用于为用户集合中的每个用户提供数据库,并通过每个数据库存储该数据库对应的用户与属于该用户的图像的特征信息之间的索引信息;管理装置,用于管理存储装置中的索引信息;检索引擎,用于确定所接收的图像检索请求所对应的目标用户,并根据目标用户对应的目标索引信息,采用目标用户的定制化检索策略,处理图像检索请求,生成图像检索结果。According to the first aspect, an image retrieval system is provided, including a storage device, a management device and a retrieval engine, wherein: the storage device is used to provide a database for each user in the user set, and store the database corresponding The index information between the user and the feature information of the image belonging to the user; the management device is used to manage the index information in the storage device; the retrieval engine is used to determine the target user corresponding to the received image retrieval request, and according to The target index information corresponding to the target user uses the target user's customized retrieval strategy to process image retrieval requests and generate image retrieval results.
根据第二方面,提供了一种图像检索方法,包括:获取图像检索请求;从用户集合中确定图像检索请求所对应的目标用户,其中,用户集合中的每个用户设有数据库,每个数据库存储该数据库对应的用户与属于该用户的图像的特征信息之间的索引信息;根据目标用户对应的目标索引信息,采用目标用户的定制化检索策略,处理图像检索请求,生成图像检索结果。According to the second aspect, an image retrieval method is provided, including: obtaining an image retrieval request; determining the target user corresponding to the image retrieval request from a user set, wherein each user in the user set has a database, and each database Store the index information between the user corresponding to the database and the feature information of the image belonging to the user; according to the target index information corresponding to the target user, use the target user's customized retrieval strategy to process the image retrieval request and generate the image retrieval result.
根据第三方面,提供了一种图像检索装置,包括:获取单元,被配置成获取图像检索请求;确定单元,被配置成从用户集合中确定图像检索请求所对应的目标用户,其中,用户集合中的每个用户设有数据库,每个数据库存储该数据库对应的用户与属于该用户的图像的特征信息之间的索引信息;检索单元,被配置成根据目标用户对应的目标索引信息,采用目标用户的定制化检索策略,处理图像检索请求,生成图像检索结果。According to a third aspect, an image retrieval device is provided, including: an acquisition unit configured to acquire an image retrieval request; a determination unit configured to determine a target user corresponding to an image retrieval request from a user set, wherein the user set Each user in has a database, and each database stores the index information between the user corresponding to the database and the feature information of the image belonging to the user; the retrieval unit is configured to use the target index information corresponding to the target user. The user's customized retrieval strategy, processing image retrieval requests, and generating image retrieval results.
根据第四方面,提供了一种电子设备,包括:至少一个处理器;以及与至少一个处理器通信连接的存储器;其中,存储器存储有可被至少一个处理器执行的指令,指令被至少一个处理器执行,以使至少一个处理器能够执行如第二方面任一实现方式描述的方法。According to a fourth aspect, there is provided an electronic device, comprising: at least one processor; and a memory communicatively connected to at least one processor; wherein, the memory stores instructions executable by at least one processor, and the instructions are processed by at least one processor executed by a processor, so that at least one processor can execute the method described in any implementation manner of the second aspect.
根据第五方面,提供了一种存储有计算机指令的非瞬时计算机可读存储介质,计算机指令用于使计算机执行如第二方面任一实现方式描述的方法。According to a fifth aspect, there is provided a non-transitory computer-readable storage medium storing computer instructions, the computer instructions are used to make a computer execute the method described in any implementation manner of the second aspect.
根据第六方面,提供了一种计算机程序产品,包括:计算机程序,计算机程序在被处理器执行时实现如第二方面任一实现方式描述的方法。According to a sixth aspect, a computer program product is provided, including: a computer program, and when the computer program is executed by a processor, the method described in any implementation manner of the second aspect is implemented.
根据本公开的技术,为每个用户提供用于存储该用户与属于该用户的图像的特征信息之间的索引信息的数据库,并且用户可根据自身需求设置定制化检索策略,以基于定制化检索策略进行图像检索,从而实现了用户数据的分库存储,提供了用于多用户的图像检索系统,提高了图像检索的灵活性。According to the technology of the present disclosure, each user is provided with a database for storing the index information between the user and the feature information of the images belonging to the user, and the user can set a customized retrieval strategy according to his own needs, so as to base the customized retrieval The strategy is used for image retrieval, thereby realizing the sub-database storage of user data, providing an image retrieval system for multiple users, and improving the flexibility of image retrieval.
应当理解,本部分所描述的内容并非旨在标识本公开的实施例的关键或重要特征,也不用于限制本公开的范围。本公开的其它特征将通过以下的说明书而变得容易理解。It should be understood that what is described in this section is not intended to identify key or important features of the embodiments of the present disclosure, nor is it intended to limit the scope of the present disclosure. Other features of the present disclosure will be readily understood through the following description.
附图说明Description of drawings
附图用于更好地理解本公开,不构成对本公开的限定。其中:The accompanying drawings are used for better understanding of the present disclosure, and do not constitute a limitation to the present disclosure. in:
图1是根据本公开的一个实施例可以应用于其中的示例性系统架构图;FIG. 1 is an exemplary system architecture diagram to which an embodiment of the present disclosure can be applied;
图2是根据本公开的图像检索系统的一个实施例的结构示意图;FIG. 2 is a schematic structural diagram of an embodiment of an image retrieval system according to the present disclosure;
图3是根据本公开的图像检索系统的又一个实施例的结构示意图;Fig. 3 is a schematic structural diagram of another embodiment of an image retrieval system according to the present disclosure;
图4是根据本公开的图像检索方法的一个实施例的流程图;FIG. 4 is a flowchart of an embodiment of an image retrieval method according to the present disclosure;
图5是根据本实施例的图像检索方法的应用场景的示意图;FIG. 5 is a schematic diagram of an application scenario of the image retrieval method according to this embodiment;
图6是根据本公开的图像检索装置的一个实施例的结构图;FIG. 6 is a structural diagram of an embodiment of an image retrieval device according to the present disclosure;
图7是适于用来实现本公开实施例的计算机系统的结构示意图。FIG. 7 is a schematic structural diagram of a computer system suitable for implementing the embodiments of the present disclosure.
具体实施方式Detailed ways
以下结合附图对本公开的示范性实施例做出说明,其中包括本公开实施例的各种细节以助于理解,应当将它们认为仅仅是示范性的。因此,本领域普通技术人员应当认识到,可以对这里描述的实施例做出各种改变和修改,而不会背离本公开的范围和精神。同样,为了清楚和简明,以下的描述中省略了对公知功能和结构的描述。Exemplary embodiments of the present disclosure are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present disclosure to facilitate understanding, and they should be regarded as exemplary only. 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 disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
本公开的技术方案中,所涉及的用户个人信息的获取,存储和应用等,均符合相关法律法规的规定,且不违背公序良俗。In the technical solution of the present disclosure, the acquisition, storage and application of the user's personal information involved are in compliance with relevant laws and regulations, and do not violate public order and good customs.
图1示出了可以应用本公开的图像检索方法及装置的示例性架构100。FIG. 1 shows an
如图1所示,系统架构100可以包括终端设备101、102、103,网络104和服务器105。终端设备101、102、103之间通信连接构成拓扑网络,网络104用以在终端设备101、102、103和服务器105之间提供通信链路的介质。网络104可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 1 , a
终端设备101、102、103可以是支持网络连接从而进行数据交互和数据处理的硬件设备或软件。当终端设备101、102、103为硬件时,其可以是支持网络连接,信息获取、交互、显示、处理等功能的各种电子设备,包括但不限于智能手机、平板电脑、电子书阅读器、膝上型便携计算机和台式计算机等等。当终端设备101、102、103为软件时,可以安装在上述所列举的电子设备中。其可以实现成例如用来提供分布式服务的多个软件或软件模块,也可以实现成单个软件或软件模块。在此不做具体限定。The
服务器105可以是提供各种服务的服务器,例如接收终端设备发送的图像检索请求,进行图像检索的后台服务器。服务器中部署有图像检索系统,图像检索系统为每个用户提供用于存储该用户与属于该用户的图像的特征信息之间的索引信息的数据库,并且用户可根据自身需求设置定制化检索策略,以基于定制化检索策略进行图像检索。作为示例,服务器105可以是云端服务器。The
需要说明的是,服务器可以是硬件,也可以是软件。当服务器为硬件时,可以实现成多个服务器组成的分布式服务器集群,也可以实现成单个服务器。当服务器为软件时,可以实现成多个软件或软件模块(例如用来提供分布式服务的软件或软件模块),也可以实现成单个软件或软件模块。在此不做具体限定。It should be noted that the server may be hardware or software. When the server is hardware, it can be implemented as a distributed server cluster composed of multiple servers, or as a single server. When the server is software, it can be implemented as multiple software or software modules (such as software or software modules for providing distributed services), or as a single software or software module. No specific limitation is made here.
还需要说明的是,本公开的实施例所提供的图像检索方法可以由服务器执行,相应地,图像检索装置包括的各个部分(例如各个单元)可以全部设置于服务器中。It should also be noted that the image retrieval method provided by the embodiments of the present disclosure may be executed by a server, and correspondingly, each part (for example, each unit) included in the image retrieval device may be all set in the server.
应该理解,图1中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。当图像检索方法运行于其上的电子设备不需要与其他电子设备进行数据传输时,该系统架构可以仅包括图像检索方法运行于其上的电子设备(例如服务器或终端设备)。It should be understood that the numbers of terminal devices, networks and servers in Fig. 1 are only illustrative. According to the implementation needs, there can be any number of terminal devices, networks and servers. When the electronic device on which the image retrieval method runs does not need to perform data transmission with other electronic devices, the system architecture may only include the electronic device (such as a server or terminal device) on which the image retrieval method runs.
请参考图2,图2为本公开实施例提供的一种图像检索系统的结构示意图,其中,结构示意图包括存储装置201、管理装置202和检索引擎203,其中:Please refer to FIG. 2. FIG. 2 is a schematic structural diagram of an image retrieval system provided by an embodiment of the present disclosure, wherein the schematic structural diagram includes a
存储装置201,用于为用户集合中的每个用户提供数据库,并通过每个数据库存储该数据库对应的用户与属于该用户的图像的特征信息之间的索引信息。用户集合中的用户可以是提供图像检索服务的用户。作为示例,用户集合中的用户是为C(Consumer,消费者)端用户提供图像检索服务的B(Business,商家)端用户。The
B端用户可能拥有大量的图像数据,针对于B端用户的图像数据,在获取图像数据时,可以通过特征提取服务提取图像数据的特征信息,并建立图像所属的用户与图像数据的特征信息之间的索引信息。其中,图像的特征信息可以是图像数据所涉及的多类型、多方面的特征信息。作为示例,图像的特征信息可以包括表征图像中的目标对象的年龄、类别、表情、肢体动作等属性的特征信息、表征图像所对应的环境信息的特征信息。B-end users may have a large amount of image data. For the image data of B-end users, when acquiring image data, the feature information of the image data can be extracted through the feature extraction service, and the relationship between the user to which the image belongs and the feature information of the image data can be established. Index information between. Wherein, the characteristic information of the image may be multi-type and multi-faceted characteristic information involved in the image data. As an example, the feature information of the image may include feature information representing attributes such as age, category, expression, and body movement of the target object in the image, and feature information representing environment information corresponding to the image.
可以理解,对于用户集合中的每个用户,存储装置201中存储该用户的用户信息,包括但不限于是用户ID(Identity document,身份标识号)、用户对应的数据库信息、用户所设置的自定义检索策略。It can be understood that, for each user in the user set, the user information of the user is stored in the
管理装置202,用于管理存储装置201中的索引信息。索引信息与用户集合中用户的数量的变化、每个用户的图像数据的数量的变化息息相关。本实施例中,管理装置202可以根据B端用户的处理请求,管理存储装置201中的索引信息。作为示例,B端用户的处理请求可以是用户的建立数据库请求、删除数据库请求、对于数据库中的索引信息的调整请求。The
检索引擎203,用于确定所接收的图像检索请求所对应的目标用户,并根据目标用户对应的目标索引信息,采用目标用户的定制化检索策略,处理图像检索请求,生成图像检索结果。The
图像检索请求可以是C端用户向B端用户的图像检索系统发出的图像检索请求,也可以是B端用户向图像检索系统发出的图像检索请求。作为示例,B端用户的应用平台的使用者(C端用户)向应用平台发出图像检索请求,B端用户的应用平台通过图像检索系统处理图像检索请求。作为又一示例,B端用户的应用平台的使用者在应用平台上发布图像,应用平台向检索引擎发送图像检索请求,以通过预设的敏感图像库检索C端用户所发布的图像的合法性。The image retrieval request may be an image retrieval request sent by the C-end user to the B-end user's image retrieval system, or an image retrieval request sent by the B-end user to the image retrieval system. As an example, the user of the B-end user's application platform (C-end user) sends an image retrieval request to the application platform, and the B-end user's application platform processes the image retrieval request through the image retrieval system. As another example, the user of the application platform of the B-end user publishes an image on the application platform, and the application platform sends an image retrieval request to the search engine to retrieve the legitimacy of the image posted by the C-end user through the preset sensitive image library .
根据图像检索请求中所携带的表征目标用户的标识,可以从用户集合中确定出图像检索请求对应的目标用户。进而,可以从存储装置201中的索引信息中确定出目标用户对应的目标索引信息。定制化检索策略表征用户集合中的用户的自定义的检索策略。当用户设置自定义检索策略后,针对于该用户的图像检索请求,通过该用户的定制化检索策略进行图像检索。According to the identifier representing the target user carried in the image retrieval request, the target user corresponding to the image retrieval request can be determined from the user set. Furthermore, the target index information corresponding to the target user may be determined from the index information in the
用户集合中的每个用户,可以在对待检索图像所关注的特征信息、检索逻辑信息、特征比对算法等方面进行自定义设置,以得到该用户的定制化检索策略。具体的,在针对待检索图像所关注的特征信息方面,用户可以自定义待检索图像所涉及的、进行图像检索时所关注的单方面的特征信息或多方面的特征信息;在检索逻辑信息方面,用户可以自定义相同图像的检索、相似图像的检索、图像中所涉及的相同目标对象、相似目标对象的检索等具体的检索逻辑;在特征比对算法方面,用户可以运用公知的特征比对算法,或者用户独自开发的特征比对算法。本实施例中,用户集合中的每个用户可以自定义多个图像检索策略,已适应所服务的多个C端用户的检索需求。Each user in the user set can customize the feature information of the image to be retrieved, the retrieval logic information, and the feature comparison algorithm to obtain the user's customized retrieval strategy. Specifically, in terms of the feature information concerned with the image to be retrieved, the user can customize the unilateral or multiple feature information involved in the image to be retrieved and concerned with image retrieval; in terms of retrieval logic information , the user can customize specific retrieval logic such as retrieval of the same image, retrieval of similar images, retrieval of the same target object involved in the image, retrieval of similar target objects, etc.; in terms of feature comparison algorithms, users can use well-known feature comparison algorithm, or a feature comparison algorithm independently developed by the user. In this embodiment, each user in the user set can customize multiple image retrieval strategies to meet the retrieval requirements of multiple C-end users served.
本实施例中,为每个用户提供用于存储该用户与属于该用户的图像的特征信息之间的索引信息的数据库,并且用户可根据自身需求设置定制化检索策略,以基于定制化检索策略进行图像检索,从而实现了用户数据的分库存储,提供了用于多用户的图像检索系统,提高了图像检索的灵活性。In this embodiment, each user is provided with a database for storing the index information between the user and the feature information of images belonging to the user, and the user can set a customized retrieval strategy according to his or her own needs, so that based on the customized retrieval strategy Image retrieval is carried out, thereby realizing the sub-database storage of user data, providing an image retrieval system for multiple users, and improving the flexibility of image retrieval.
在本实施例的一些可选的实现方式中,检索引擎203包括第一检索服务集群和第二检索服务集群。第一检索服务集群用于基于管理装置根据索引信息确定的分流操作,以及第一检索服务集群和第二检索服务集群的集群拓扑信息,将图像检索请求分发至第二检索服务集群中对应于目标用户的至少一个目标检索服务;第二检索服务集群,用于通过至少一个目标检索服务,根据目标用户对应的目标索引信息,采用目标用户的定制化检索策略,处理图像检索请求,得到检索结果;第一检索服务集群还用于对至少一个目标检索服务返回的检索结果进行后处理,得到图像检索结果。其中,存储装置,还用于存储集群拓扑信息。In some optional implementation manners of this embodiment, the
本实现方式中,图像检索系统可以通过第二检索服务集群中的多个第二检索服务为用户集合中的一个用户提供图像检索服务;而且,第二检索服务集群中的每个第二检索服务可以为用户集合中的多个用户提供图像检索服务。具体的,用户与第二检索服务之间的对应关系可以根据该用户的图像数据的规模和对应于该用户的图像检索请求的数量而确定。例如,当用户的图像数据的规模较大,而且该用户的应用平台所接收的图像检索请求的数量较多时,可以为该用户设置较多的第二检索服务。In this implementation, the image retrieval system can provide image retrieval services for one user in the user set through multiple second retrieval services in the second retrieval service cluster; and, each second retrieval service in the second retrieval service cluster The image retrieval service may be provided for multiple users in the user collection. Specifically, the corresponding relationship between the user and the second retrieval service may be determined according to the size of the user's image data and the number of image retrieval requests corresponding to the user. For example, when the size of the user's image data is large and the number of image retrieval requests received by the user's application platform is large, more second retrieval services may be set for the user.
管理装置可以预先确定用户集合中的用户与第二检索服务集群中的第二检索服务的对应关系。The management device may predetermine the corresponding relationship between the users in the user set and the second retrieval service in the second retrieval service cluster.
在确定图像检索请求所对应的目标用户后,根据用户集合中的用户与第二检索服务集群中的第二检索服务之间的对应关系,上述执行主体可以确定目标用户对应的至少一个第二检索服务(目标检索服务);根据第一检索服务集群和第二检索服务集群的集群拓扑信息,可以确定第一检索服务集群中的第一检索服务至第二检索服务集群中的目标检索服务的路由信息。如此,将图像检索请求分发至目标用户的至少一个目标检索服务,以通过至少一个目标检索服务为目标用户提供图像检索服务。After determining the target user corresponding to the image retrieval request, according to the corresponding relationship between the users in the user set and the second retrieval service in the second retrieval service cluster, the above-mentioned executive body can determine at least one second retrieval service corresponding to the target user Service (target retrieval service); according to the cluster topology information of the first retrieval service cluster and the second retrieval service cluster, the route from the first retrieval service in the first retrieval service cluster to the target retrieval service in the second retrieval service cluster can be determined information. In this way, the image retrieval request is distributed to at least one target retrieval service of the target user, so as to provide the target user with the image retrieval service through the at least one target retrieval service.
在获取到至少一个目标检索服务各自的检索结果后,第一检索服务集群中的第一检索服务可以对个检索结果进行过滤、融合等后处理,得到最终的图像检索结果。After obtaining the respective retrieval results of at least one target retrieval service, the first retrieval service in the first retrieval service cluster may perform post-processing such as filtering and fusion on the retrieval results to obtain the final image retrieval result.
本实现方式中,第一检索服务集群还可以用于对所接收的图像检索请求进行图像校验、用户合法性验证、图像入库等预处理操作。In this implementation, the first retrieval service cluster can also be used to perform preprocessing operations such as image verification, user legality verification, and image storage for the received image retrieval request.
本实现方式中,采用分布式集群方式部署检索引擎,检索引擎的第一检索服务集群和第二检索服务集群各司其职,配合执行所接收的图像检索请求,提高了图像检索效率。In this implementation, the search engine is deployed in a distributed cluster mode, and the first search service cluster and the second search service cluster of the search engine perform their respective duties, cooperate to execute the received image search request, and improve image search efficiency.
在本实施例的一些可选的实现方式中,检索引擎还包括特征提取服务,特征提取服务用于提取图像的特征信息。In some optional implementation manners of this embodiment, the retrieval engine further includes a feature extraction service, which is used to extract feature information of the image.
本实现方式中,第一检索服务集群还用于根据图像检索请求,确定是否对图像检索请求所指示的待检索图像进行特征提取;响应于确定检索请求表征对待检索图像进行特征提取,通过特征提取服务提取待检索图像的特征信息。其中,图像检索请求中可以包括表征是否对图像检索请求所指示的待检索图像进行特征提取。当所接收的图像检索请求指示了待检索图像进行图像检索所依据的特征信息时,不再通过特征提取服务对点检索图像进行特征提取。特征提取服务可以基于具有特诊提取功能的网络模型实现,用于提取待检索图像所涉及的各类型、各方面的特征信息。In this implementation, the first retrieval service cluster is also used to determine whether to perform feature extraction on the image to be retrieved indicated by the image retrieval request according to the image retrieval request; The service extracts feature information of the image to be retrieved. Wherein, the image retrieval request may include an indication of whether feature extraction is performed on the image to be retrieved indicated by the image retrieval request. When the received image retrieval request indicates the feature information on which the image retrieval is based on the image to be retrieved, feature extraction is no longer performed on the point search image through the feature extraction service. The feature extraction service can be implemented based on a network model with a special diagnosis extraction function, and is used to extract various types and aspects of feature information involved in the image to be retrieved.
本实现方式中,第二检索服务集群,进一步用于通过至少一个目标检索服务加载目标用户对应的目标索引信息,采用目标用户的定制化检索策略,将目标索引信息中的特征信息与待检索图像的特征信息匹配,得到检索结果。In this implementation, the second retrieval service cluster is further used to load the target index information corresponding to the target user through at least one target retrieval service, adopt the customized retrieval strategy of the target user, and combine the feature information in the target index information with the image to be retrieved Match the feature information to get the retrieval result.
本实现方式中,发出图像检索请求的用户可以灵活确定基于系统提供的特征提取服务进行待检测图像的特征提取,还是自主选择待检测图像的特征信息,进而,图像检索系统可以基于用户的选择针对性的处理图像检索请求,提高了图像检索系统的实用性。In this implementation, the user who sends the image retrieval request can flexibly determine whether to extract the features of the image to be detected based on the feature extraction service provided by the system, or independently select the feature information of the image to be detected, and then the image retrieval system can target the image based on the user's choice The image retrieval request is processed efficiently, which improves the practicability of the image retrieval system.
请参照图3,示出了图像检索系统的一种具体的实施例的结构示意图。图像检索系统包括存储装置301、管理装置302和包括第一检索服务集群3031、第二检索服务集群3032和特征提取服务3033的检索引擎303。用户可以通过应用向管理装置302发送创建数据库、删除数据库等请求信息,也可以向第一检索服务集群发送图像检索请求。而且,管理装置302还可以接收管理人员增加索引信息、删除索引信息等请求信息并进行相应的操作。Please refer to FIG. 3 , which shows a schematic structural diagram of a specific embodiment of an image retrieval system. The image retrieval system includes a
在本实施例的一些可选的实现方式中,管理装置202还用于均衡调整至少一个目标检索服务中的每个第二检索服务所加载的索引信息的数量。In some optional implementation manners of this embodiment, the
作为示例,B端用户A共有3000个索引信息,对应于B端用户b的第二检索服务包括三个。B端用户b的3000个索引信息可以被均匀加载至三个第二检索服务。As an example, B-end user A has a total of 3000 index information, and the second retrieval service corresponding to B-end user b includes three. The 3,000 index information of B-end user b can be evenly loaded to three second retrieval services.
在本实现方式中,考虑至少一个目标检索服务中的每个第二检索服务的信息处理能力,基于信息处理能力与加载的索引信息的数量呈正相关的方式均衡调整至少一个目标检索服务中的每个第二检索服务所加载的索引信息的数量。In this implementation, the information processing capability of each second retrieval service in at least one target retrieval service is considered, and the information processing capability of each second retrieval service in at least one target retrieval service is adjusted in a balanced manner based on the manner that the information processing capability is positively correlated with the amount of index information loaded. The number of index information loaded by the second retrieval service.
本实现方式中,通过均衡调整第二检索服务所加载的索引信息的数量的方式,图像检索系统可以达到均衡第二检索服务集群中的第二检索服务负载的效果,提高图像检索系统的检索效率。In this implementation, by balancing and adjusting the amount of index information loaded by the second retrieval service, the image retrieval system can achieve the effect of balancing the load of the second retrieval service in the second retrieval service cluster, and improve the retrieval efficiency of the image retrieval system .
在本实施例的一些可选的实现方式中,管理装置202,还用于根据第二检索服务集群中的第二检索服务所处理的图像检索请求数量,调整第二检索服务集群中的第二检索服务与用户集合中的用户之间的对应关系。In some optional implementations of this embodiment, the
作为示例,单位时间内,B端用户C对应的图像检索请求数量巨大,管理装置可以在B端用户C原有的第二检索服务的数量的基础上,增加为B端用户C提供检索服务的第二检索服务的数量。As an example, in a unit time, the number of image retrieval requests corresponding to user C at end B is huge, and the management device can increase the number of retrieval services provided for user C at end B on the basis of the original number of second retrieval services for user C at end B. The number of secondary retrieval services.
作为又一示例,第二检索服务集群存在一第二检索服务,该第二检索服务所服务的多个用户的图像请求数量均较大,造成该第二检索服务的负载较重。管理装置可以将该第二检索服务中的部分索引数据迁移到负载较轻的第二检索服务。As yet another example, there is a second retrieval service in the second retrieval service cluster, and the number of image requests of multiple users served by the second retrieval service is relatively large, resulting in a heavy load on the second retrieval service. The management device may migrate part of the index data in the second retrieval service to the second retrieval service with a lighter load.
本实现方式中,通过调整第二检索服务集群中的第二检索服务与用户集合中的用户之间的对应关系的方式,图像检索系统可以达到均衡第二检索服务集群中的第二检索服务负载的效果,提高图像检索系统的检索效率。In this implementation, by adjusting the corresponding relationship between the second retrieval service in the second retrieval service cluster and the users in the user set, the image retrieval system can balance the load of the second retrieval service in the second retrieval service cluster The effect of improving the retrieval efficiency of the image retrieval system.
在本实施例的一些可选的实现方式中,管理装置202还可以实现第二检索服务集群中的第二检索服务的重启。管理装置202响应于确定第二检索服务集群中存在重启的第二检索服务,确定重启的第二检索服务中加载的索引信息是否失效;响应于确定加载的索引信息失效,更新重启的第二检索服务中的索引信息;响应于重启的第二检索服务中的索引信息完成更新,将集群拓扑信息中重启的第二检索服务的状态信息更新为可用。In some optional implementation manners of this embodiment, the
具体的,首先,第二检索服务集群中的第二检索服务可以确定本地已加载的索引信息的版本号和消息队列中已同步的消息。其中,第二检索服务集群中的第二检索服务基于消息队列获取各种待执行消息。然后,管理装置根据第二检索服务本地已加载的索引信息的版本号,确定已加载的索引信息是否失效。响应于确定失效,创建关于消息队列中已同步的消息的快照信息,对第二检索服务中的索引信息进行全量更新,并基于消息队列中已同步的消息的快照信息,进行后续的待执行信息的增量数据同步;响应于确定未失效,则从消息队列中已同步的消息开始增量数据同步。当管理装置判定重启的第二检索服务中的数据已完成更新,更新集群拓扑信息中该第二检索服务的状态为启用。Specifically, first, the second retrieval service in the second retrieval service cluster can determine the version number of the locally loaded index information and the synchronized messages in the message queue. Wherein, the second retrieval service in the second retrieval service cluster obtains various messages to be executed based on the message queue. Then, the management device determines whether the loaded index information is invalid according to the version number of the locally loaded index information of the second retrieval service. In response to determining the failure, create snapshot information about the synchronized messages in the message queue, fully update the index information in the second retrieval service, and perform subsequent information to be executed based on the snapshot information of the synchronized messages in the message queue Incremental data synchronization; in response to determining that it is not invalid, start incremental data synchronization from the synchronized messages in the message queue. When the management device determines that the data in the restarted second retrieval service has been updated, the status of the second retrieval service in the cluster topology information is updated as enabled.
本实现方式中,提供了一种重启第二检索服务集群中的第二检索服务的方式,可以实现第二检索服务的快速重启,进而实现图像检索请求的快速响应。In this implementation manner, a method for restarting the second retrieval service in the second retrieval service cluster is provided, which can realize rapid restart of the second retrieval service, and further realize rapid response to image retrieval requests.
在本实施例的一些可选的实现方式中,管理装置202还用于基于预设间隔时长生成索引信息的快照信息,并根据快照信息更新第二检索服务集群中的第二检索服务加载的索引信息。In some optional implementations of this embodiment, the
作为示例,管理装置定时对存储装置中的索引信息生成快照信息,并更新索引信息的数据版本。然后,管理装置向第二检索服务集群中的所有第二检索服务广播快照信息,以更新第二检索服务中的索引信息的数据版本。As an example, the management device regularly generates snapshot information for the index information in the storage device, and updates the data version of the index information. Then, the management device broadcasts the snapshot information to all the second retrieval services in the second retrieval service cluster, so as to update the data version of the index information in the second retrieval service.
本实施例中,基于管理装置提供的快照功能,实现第二检索服务中加载的索引信息的更新。每个第二检索服务均是基于所加载的索引信息处理图像检索请求,通过快照信息及时更新每个第二检索服务加载的索引信息,提高了图像检索结果的准确度。In this embodiment, based on the snapshot function provided by the management device, the update of the index information loaded in the second retrieval service is implemented. Each second retrieval service processes the image retrieval request based on the loaded index information, and timely updates the index information loaded by each second retrieval service through the snapshot information, thereby improving the accuracy of image retrieval results.
在本实施例的一些可选的实现方式中,管理装置202,还用于根据所接收的索引处理请求,处理索引处理请求对应的索引信息,以将存储装置中的索引信息进行处理;确定所处理的索引信息对应的用户所对应的第二检索服务;通过消息队列,将索引处理请求所表征的索引处理操作发送至对应的第二检索服务,以使得第二检索服务执行索引处理操作。In some optional implementation manners of this embodiment, the
其中,索引处理请求包括但不限于是索引信息的增加请求、删除请求和修改请求。索引处理请求可以是针对于单条索引信息的处理请求,也可以是针对于批量的索引信息的处理请求。Wherein, the index processing request includes, but is not limited to, an addition request, a deletion request, and a modification request of index information. The index processing request may be a processing request for a single piece of index information, or a processing request for batches of index information.
本实现方式中,图像检索系统提供了索引信息的实时处理功能,以为用户提供针对于索引数据的实时增加、删除、修改操作,提供了图像检索系统进行信息处理的实时性和灵活性。In this implementation, the image retrieval system provides a real-time processing function of index information to provide users with real-time addition, deletion, and modification operations for index data, and provides real-time and flexibility for the image retrieval system to process information.
在本实施例的一些可选的实现方式中,管理装置202还用于执行针对于数据库的库处理请求,并根据库处理结果调整索引信息,以及库处理结果所对应的第二检索服务中加载的索引信息。In some optional implementations of this embodiment, the
其中,库处理请求包括注册请求、建库请求、删库请求、创建分区请求、删除分区请求。Wherein, the library processing request includes a registration request, a library building request, a library deletion request, a partition creation request, and a partition deletion request.
具体的,响应于确定接收到新用户的注册请求,通过存储装置存储新用户的用户信息。响应于确定接收到用户的建库请求,在存储装置中创建新用户的数据库,并将新用户与所对应的数据库之间的对应关系存储至用户的用户信息中。Specifically, in response to determining that a registration request of a new user is received, the user information of the new user is stored in a storage device. In response to determining that the user's database building request is received, a new user's database is created in the storage device, and the correspondence between the new user and the corresponding database is stored in the user's user information.
响应于确定接收到用户的删库请求,屏蔽待删除数据库对应的流量信息;删除存储装置中的待删除数据库的分区信息和索引信息,并将删库请求下发至待删除数据库对应的第二检索服务,以使得所对应的第二检索服务删除待删除数据库的索引信息。In response to determining that the user’s database deletion request has been received, the traffic information corresponding to the database to be deleted is shielded; the partition information and index information of the database to be deleted in the storage device are deleted, and the database deletion request is sent to the second database corresponding to the database to be deleted. The search service, so that the corresponding second search service deletes the index information of the database to be deleted.
响应于确定接收到用户的创建分区请求,确定待创建分区的属性信息,包括逻辑分区组合信息、索引类型信息、检索逻辑信息、特征匹配策略信息;若所创建的分区包含新的私有部分,则为该分区创建新的segment(分段),并自动为分区分配对应的第二检索服务;当创建分区成功后,保存所创建的分区的索引信息。本实现方式中,当用户的数据库规模较大,可以在数据库中穿件不同的分区,并为每个分区分配对应的第二检索服务,以通过对应的第二检索服务加载该分区的索引信息进行图像检索。In response to determining that the partition creation request from the user is received, determine the attribute information of the partition to be created, including logical partition combination information, index type information, retrieval logic information, and feature matching strategy information; if the created partition contains a new private part, then Create a new segment (segment) for the partition, and automatically assign the corresponding second retrieval service to the partition; when the partition is successfully created, save the index information of the created partition. In this implementation, when the user's database is large in scale, different partitions can be created in the database, and a corresponding second retrieval service is assigned to each partition, so that the index information of the partition can be loaded through the corresponding second retrieval service Perform image retrieval.
响应于确定接收到用户的删除分区请求,删除数据库中对应的分区,并在对应的第二检索服务中删除对应的索引信息。In response to determining that the partition deletion request from the user is received, the corresponding partition in the database is deleted, and the corresponding index information is deleted in the corresponding second retrieval service.
本实施例中,图像检索系统可以处理用户的各种库处理请求,进一步提高了图像检索系统的实用性。In this embodiment, the image retrieval system can process various database processing requests of users, which further improves the practicability of the image retrieval system.
在本实施例的一些可选的实现方式中,管理装置,还用于监控并展示第一检索服务集群和第二检索服务集群的状态信息。作为示例,管理装置可以从第一检索服务集群和第二检索服务集群的集群拓扑信息中确定每个第一检索服务和每个第二检索服务的状态信息。In some optional implementation manners of this embodiment, the management device is further configured to monitor and display status information of the first retrieval service cluster and the second retrieval service cluster. As an example, the management device may determine the state information of each first retrieval service and each second retrieval service from the cluster topology information of the first retrieval service cluster and the second retrieval service cluster.
本实现方式中,基于管理装置对于第一检索服务集群和第二检索服务集群的状态信息的监控与显示功能,进一步提高了图像检索系统的实用性。In this implementation manner, based on the monitoring and display function of the management device for the state information of the first retrieval service cluster and the second retrieval service cluster, the practicability of the image retrieval system is further improved.
在本实施例的一些可选的实现方式中,存储装置201、管理装置202和检索引擎203均基于开源组件实现,以实现私有化部署。In some optional implementations of this embodiment, the
作为示例,存储装置基于TiDB(一种开源分布式数据库系统)存储系统实现,具体基于TiDB中的TiKV(一种开源的分布式事务键值对数据库)+PD(Placement Driver)实现。消息队列组件基于kafka实现,kafka是一种分布式的消息订阅系统,其本身的状态、选举等依赖于zookeeper,kafka消息系统支持分区、多订阅者、消息重消费等特性。管理装置的服务注册与发现功能基于Etcd实现,Etcd本质是一个分布式的键值对存储系统,通常被用作配置共享和服务发现。管理装置的监控与报警功能基于Prometheus(一个开源的服务监控系统和时间序列数据库)、clickhouse(列式数据库管理系统)、grafana(一种源数据可视化工具)实现。通过开源化组件实现上述各装置,能够为各用户实现私有化部署。As an example, the storage device is implemented based on a TiDB (an open source distributed database system) storage system, specifically based on TiKV (an open source distributed transactional key-value pair database) + PD (Placement Driver) in TiDB. The message queue component is implemented based on kafka. Kafka is a distributed message subscription system. Its own status and elections depend on zookeeper. The kafka message system supports features such as partitioning, multiple subscribers, and message re-consumption. The service registration and discovery functions of the management device are implemented based on Etcd. Etcd is essentially a distributed key-value pair storage system, which is usually used for configuration sharing and service discovery. The monitoring and alarm functions of the management device are implemented based on Prometheus (an open source service monitoring system and time series database), clickhouse (column database management system), and grafana (a source data visualization tool). Realizing the above-mentioned devices through open-source components can realize privatized deployment for each user.
图像检索系统中的管理装置的功能可总结为:服务发现与注册功能;确定第一检索服务集群中的第一检索服务到第二检索服务集群中的第二检索服务的检索路由,以按照用户将图像检索请求分流到不同的第二检索服务的功能;索引信息的存储管理、下发至对应的第二检索服务、均衡调整第二检索服务加载的索引信息的功能;用户信息的管理功能;检索系统状态信息的收集与可视化功能。The functions of the management device in the image retrieval system can be summarized as: service discovery and registration functions; determine the retrieval route from the first retrieval service in the first retrieval service cluster to the second retrieval service in the second retrieval service cluster, so as to follow the user The function of distributing image retrieval requests to different second retrieval services; the function of storing and managing index information, sending it to the corresponding second retrieval service, and balancing and adjusting the index information loaded by the second retrieval service; the management function of user information; Collection and visualization of retrieval system status information.
请参考图4,图4为本公开实施例提供的一种图像检索方法的流程图,其中,流程400包括以下步骤:Please refer to FIG. 4, which is a flow chart of an image retrieval method provided by an embodiment of the present disclosure, wherein the
步骤401,获取图像检索请求。
本实施例中,图像检索方法的执行主体(例如,图1中的服务器)可以获取图像检索请求。In this embodiment, the execution subject of the image retrieval method (for example, the server in FIG. 1 ) can obtain the image retrieval request.
其中,图像检索请求包括待检索图像、所对应的B端用户等信息。Wherein, the image retrieval request includes information such as the image to be retrieved and the corresponding B-end user.
步骤402,从用户集合中确定图像检索请求所对应的目标用户。
本实施例中,上述执行主体可以从用户集合中确定图像检索请求所对应的目标用户。其中,用户集合中的每个用户设有数据库,每个数据库存储该数据库对应的用户与属于该用户的图像的特征信息之间的索引信息。In this embodiment, the execution subject may determine the target user corresponding to the image retrieval request from the user set. Each user in the user set has a database, and each database stores index information between the user corresponding to the database and the feature information of images belonging to the user.
步骤403,根据目标用户对应的目标索引信息,采用目标用户的定制化检索策略,处理图像检索请求,生成图像检索结果。
本实施例中,上述执行主体可以根据目标用户对应的目标索引信息,采用目标用户的定制化检索策略,处理图像检索请求,生成图像检索结果。In this embodiment, the execution subject may process the image retrieval request by using the target user's customized retrieval strategy according to the target index information corresponding to the target user, and generate an image retrieval result.
在本实施例的一些可选的实现方式中,处理图像检索请求的检索引擎包括第一检索服务集群和第二检索服务集群。本实现方式中,上述执行主体通过如下方式执行上述步骤203:第一,根据目标索引信息确定由第一检索服务集群中的第一检索服务至第二检索服务集群中的第二检索服务的分流操作;第二,基于分流操作以及第一检索服务集群和第二检索服务集群的集群拓扑信息,将图像检索请求分发至第二检索服务集群中对应于目标用户的至少一个目标检索服务;第三,通过至少一个目标检索服务,根据目标索引信息,采用目标用户的定制化检索策略,处理图像检索请求,得到检索结果;第四,对至少一个目标检索服务返回的检索结果进行后处理,得到图像检索结果。In some optional implementation manners of this embodiment, the retrieval engine processing the image retrieval request includes a first retrieval service cluster and a second retrieval service cluster. In this implementation, the execution subject executes the
在本实施例的一些可选的实现方式中,检索引擎还包括特征提取服务。本实现方式中,上述执行主体可以根据图像检索请求,确定是否对图像检索请求所指示的待检索图像进行特征提取。上述执行主体可以通过如下方式执行上述第三步骤:通过至少一个目标检索服务加载目标用户对应的目标索引信息,采用目标用户的定制化检索策略,将目标索引信息中的特征信息与待检索图像的特征信息匹配,得到检索结果。In some optional implementation manners of this embodiment, the retrieval engine further includes a feature extraction service. In this implementation manner, the execution subject may determine whether to perform feature extraction on the image to be retrieved indicated by the image retrieval request according to the image retrieval request. The above-mentioned executive body can perform the above-mentioned third step in the following manner: load the target index information corresponding to the target user through at least one target retrieval service, adopt the customized retrieval strategy of the target user, and combine the feature information in the target index information with the image to be retrieved The feature information is matched to obtain the retrieval result.
在本实施例的一些可选的实现方式中,上述执行主体可以均衡调整至少一个目标检索服务中的每个第二检索服务所加载的索引信息的数量。In some optional implementation manners of this embodiment, the execution subject may balance and adjust the quantity of index information loaded by each second retrieval service in at least one target retrieval service.
在本实施例的一些可选的实现方式中,上述执行主体还可以根据第二检索服务集群中的第二检索服务所处理的图像检索请求数量,调整第二检索服务集群中的第二检索服务与用户集合中的用户之间的对应关系。In some optional implementations of this embodiment, the execution subject may also adjust the second retrieval service in the second retrieval service cluster according to the number of image retrieval requests processed by the second retrieval service in the second retrieval service cluster. The corresponding relationship with the users in the user collection.
在本实施例的一些可选的实现方式中,上述执行主体还可以响应于确定第二检索服务集群中存在重启的第二检索服务,确定重启的第二检索服务中加载的索引信息是否失效;响应于确定加载的索引信息失效,更新重启的第二检索服务中的索引信息;响应于重启的第二检索服务中的索引信息完成更新,将集群拓扑信息中重启的第二检索服务的状态信息更新为可用。In some optional implementations of this embodiment, the execution subject may also determine whether the index information loaded in the restarted second retrieval service is invalid in response to determining that there is a restarted second retrieval service in the second retrieval service cluster; In response to determining that the loaded index information is invalid, update the index information in the restarted second retrieval service; in response to the update of the index information in the restarted second retrieval service, update the status information of the restarted second retrieval service in the cluster topology information updated as available.
在本实施例的一些可选的实现方式中,上述执行主体还可以基于预设间隔时长生成索引信息的快照信息,并根据快照信息更新第二检索服务集群中的第二检索服务加载的索引信息。In some optional implementations of this embodiment, the execution subject may also generate snapshot information of index information based on a preset interval, and update the index information loaded by the second retrieval service in the second retrieval service cluster according to the snapshot information .
在本实施例的一些可选的实现方式中,上述执行主体还可以根据所接收的索引处理请求,处理索引处理请求对应的索引信息;确定所处理的索引信息对应的用户所对应的第二检索服务;通过消息队列,将索引处理请求所表征的索引处理操作发送至对应的第二检索服务,以使得第二检索服务执行索引处理操作。In some optional implementations of this embodiment, the execution subject may also process the index information corresponding to the index processing request according to the received index processing request; determine the second search function corresponding to the user corresponding to the processed index information Service: sending the index processing operation represented by the index processing request to the corresponding second retrieval service through the message queue, so that the second retrieval service executes the index processing operation.
在本实施例的一些可选的实现方式中,上述执行主体还可以执行针对于数据库的库处理请求,并根据库处理结果调整索引信息,以及库处理结果所对应的第二检索服务中加载的索引信息。In some optional implementations of this embodiment, the execution subject may also execute the library processing request for the database, and adjust the index information according to the library processing result, and the index information loaded in the second search service corresponding to the library processing result. Index information.
在本实施例的一些可选的实现方式中,上述执行主体还可以监控并展示第一检索服务集群和第二检索服务集群的状态信息。In some optional implementations of this embodiment, the execution subject may also monitor and display status information of the first retrieval service cluster and the second retrieval service cluster.
本实施例中,为每个用户提供用于存储该用户与属于该用户的图像的特征信息之间的索引信息的数据库,并且用户可根据自身需求设置定制化检索策略,以基于定制化检索策略进行图像检索,从而实现了用户数据的分库存储,提供了用于多用户的图像检索系统,提高了图像检索的灵活性。In this embodiment, each user is provided with a database for storing the index information between the user and the feature information of images belonging to the user, and the user can set a customized retrieval strategy according to his or her own needs, so that based on the customized retrieval strategy Image retrieval is carried out, thereby realizing the sub-database storage of user data, providing an image retrieval system for multiple users, and improving the flexibility of image retrieval.
继续参考图5,图5是根据本实施例的图像检索方法的应用场景的一个示意图500。在图5的应用场景中,服务器501中部署有图像检索系统。图像检索系统为三个B端用户502、503、504提供一一对应的数据库505、506、507。每个数据库存储该数据库对应的用户与属于该用户的图像的特征信息之间的索引信息。C端用户508通过终端设备509向服务器501发送了图像检索请求。服务器501在获取图像检索请求后,从用户集合中确定图像检索请求所对应的目标用户为503。然后,根据目标用户503对应的目标索引信息,采用目标用户的定制化检索策略,处理图像检索请求,生成图像检索结果。Continue to refer to FIG. 5 , which is a schematic diagram 500 of an application scenario of the image retrieval method according to this embodiment. In the application scenario of FIG. 5 , an image retrieval system is deployed in the
继续参考图6,作为对上述各图所示方法的实现,本公开提供了一种图像检索装置的一个实施例,该装置实施例与图5所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。Continuing to refer to FIG. 6 , as an implementation of the methods shown in the above figures, the present disclosure provides an embodiment of an image retrieval device. This device embodiment corresponds to the method embodiment shown in FIG. 5 , and the device can specifically Used in various electronic equipment.
如图6所示,图像检索装置包括:获取单元601,被配置成获取图像检索请求;确定单元602,被配置成从用户集合中确定图像检索请求所对应的目标用户,其中,用户集合中的每个用户设有数据库,每个数据库存储该数据库对应的用户与属于该用户的图像的特征信息之间的索引信息;检索单元603,被配置成根据目标用户对应的目标索引信息,采用目标用户的定制化检索策略,处理图像检索请求,生成图像检索结果。As shown in FIG. 6 , the image retrieval device includes: an
在本实施例的一些可选的实现方式中,处理图像检索请求的检索引擎包括第一检索服务集群和第二检索服务集群;以及检索单元进一步被配置成:根据目标索引信息确定由第一检索服务集群中的第一检索服务至第二检索服务集群中的第二检索服务的分流操作;基于分流操作以及第一检索服务集群和第二检索服务集群的集群拓扑信息,将图像检索请求分发至第二检索服务集群中对应于目标用户的至少一个目标检索服务;通过至少一个目标检索服务,根据目标索引信息,采用目标用户的定制化检索策略,处理图像检索请求,得到检索结果;对至少一个目标检索服务返回的检索结果进行后处理,得到图像检索结果。In some optional implementations of this embodiment, the retrieval engine processing the image retrieval request includes a first retrieval service cluster and a second retrieval service cluster; and the retrieval unit is further configured to: A split operation from the first retrieval service in the service cluster to the second retrieval service in the second retrieval service cluster; based on the split operation and the cluster topology information of the first retrieval service cluster and the second retrieval service cluster, the image retrieval request is distributed to At least one target retrieval service corresponding to the target user in the second retrieval service cluster; through at least one target retrieval service, according to the target index information, using the target user's customized retrieval strategy, processing the image retrieval request, and obtaining the retrieval result; for at least one The retrieval results returned by the target retrieval service are post-processed to obtain image retrieval results.
在本实施例的一些可选的实现方式中,检索引擎还包括特征提取服务;以及图像检索装置还包括:特征提取单元(图中未示出),被配置成根据图像检索请求,确定是否对图像检索请求所指示的待检索图像进行特征提取;以及检索单元进一步被配置成:响应于确定检索请求表征对待检索图像进行特征提取,通过特征提取服务提取待检索图像的特征信息;通过至少一个目标检索服务加载目标用户对应的目标索引信息,采用目标用户的定制化检索策略,将目标索引信息中的特征信息与待检索图像的特征信息匹配,得到检索结果。In some optional implementations of this embodiment, the retrieval engine further includes a feature extraction service; and the image retrieval device further includes: a feature extraction unit (not shown in the figure), configured to determine whether to performing feature extraction on the image to be retrieved indicated by the image retrieval request; and the retrieval unit is further configured to: in response to determining that the retrieval request represents feature extraction on the image to be retrieved, extract feature information of the image to be retrieved through a feature extraction service; through at least one target The retrieval service loads the target index information corresponding to the target user, adopts the target user's customized retrieval strategy, matches the characteristic information in the target index information with the characteristic information of the image to be retrieved, and obtains the retrieval result.
在本实施例的一些可选的实现方式中,上述装置还包括:第一调整单元(图中未示出),被配置成均衡调整至少一个目标检索服务中的每个第二检索服务所加载的索引信息的数量。In some optional implementations of this embodiment, the above-mentioned device further includes: a first adjustment unit (not shown in the figure), configured to evenly adjust at least one target retrieval service loaded by each second retrieval service The number of index information.
在本实施例的一些可选的实现方式中,上述装置还包括:第二调整单元(图中未示出),被配置成根据第二检索服务集群中的第二检索服务所处理的图像检索请求数量,调整第二检索服务集群中的第二检索服务与用户集合中的用户之间的对应关系。In some optional implementations of this embodiment, the above-mentioned device further includes: a second adjustment unit (not shown in the figure), configured to retrieve images processed by the second retrieval service in the second retrieval service cluster The number of requests adjusts the correspondence between the second retrieval service in the second retrieval service cluster and the users in the user collection.
在本实施例的一些可选的实现方式中,上述装置还包括:重启单元(图中未示出),被配置成响应于确定第二检索服务集群中存在重启的第二检索服务,确定重启的第二检索服务中加载的索引信息是否失效;响应于确定加载的索引信息失效,更新重启的第二检索服务中的索引信息;响应于重启的第二检索服务中的索引信息完成更新,将集群拓扑信息中重启的第二检索服务的状态信息更新为可用。In some optional implementations of this embodiment, the above device further includes: a restart unit (not shown in the figure), configured to determine to restart the second retrieval service in response to determining that there is a restarted second retrieval service in the second retrieval service cluster. Whether the index information loaded in the second retrieval service is invalid; in response to determining that the loaded index information is invalid, update the index information in the restarted second retrieval service; in response to completing the update of the index information in the restarted second retrieval service, update The status information of the restarted second retrieval service in the cluster topology information is updated to be available.
在本实施例的一些可选的实现方式中,上述装置还包括:更新单元(图中未示出),被配置成基于预设间隔时长生成索引信息的快照信息,并根据快照信息更新第二检索服务集群中的第二检索服务加载的索引信息。In some optional implementations of this embodiment, the above device further includes: an update unit (not shown in the figure), configured to generate snapshot information of index information based on a preset interval duration, and update the second index information according to the snapshot information. The index information loaded by the second retrieval service in the retrieval service cluster.
在本实施例的一些可选的实现方式中,上述装置还包括:第一处理单元(图中未示出),被配置成根据所接收的索引处理请求,处理索引处理请求对应的索引信息;确定所处理的索引信息对应的用户所对应的第二检索服务;通过消息队列,将索引处理请求所表征的索引处理操作发送至对应的第二检索服务,以使得第二检索服务执行索引处理操作。In some optional implementation manners of this embodiment, the foregoing apparatus further includes: a first processing unit (not shown in the figure), configured to process index information corresponding to the index processing request according to the received index processing request; Determine the second retrieval service corresponding to the user corresponding to the processed index information; send the index processing operation represented by the index processing request to the corresponding second retrieval service through the message queue, so that the second retrieval service executes the index processing operation .
在本实施例的一些可选的实现方式中,上述装置还包括:第二处理单元(图中未示出),被配置成执行针对于数据库的库处理请求,并根据库处理结果调整索引信息,以及库处理结果所对应的第二检索服务中加载的索引信息。In some optional implementations of this embodiment, the above-mentioned apparatus further includes: a second processing unit (not shown in the figure), configured to execute a library processing request for the database, and adjust index information according to the library processing result , and the index information loaded in the second search service corresponding to the library processing result.
在本实施例的一些可选的实现方式中,上述装置还包括:监控显示单元(图中未示出),被配置成监控并展示第一检索服务集群和第二检索服务集群的状态信息。In some optional implementations of this embodiment, the above apparatus further includes: a monitoring and display unit (not shown in the figure), configured to monitor and display the status information of the first retrieval service cluster and the second retrieval service cluster.
本实施例中,为每个用户提供用于存储该用户与属于该用户的图像的特征信息之间的索引信息的数据库,并且用户可根据自身需求设置定制化检索策略,以基于定制化检索策略进行图像检索,从而实现了用户数据的分库存储,提供了用于多用户的图像检索系统,提高了图像检索的灵活性。In this embodiment, each user is provided with a database for storing the index information between the user and the feature information of images belonging to the user, and the user can set a customized retrieval strategy according to his or her own needs, so that based on the customized retrieval strategy Image retrieval is carried out, thereby realizing the sub-database storage of user data, providing an image retrieval system for multiple users, and improving the flexibility of image retrieval.
根据本公开的实施例,本公开还提供了一种电子设备,该电子设备包括:至少一个处理器;以及与至少一个处理器通信连接的存储器;其中,存储器存储有可被至少一个处理器执行的指令,该指令被至少一个处理器执行,以使至少一个处理器执行时能够实现上述任意实施例所描述的图像检索方法。According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, the electronic device includes: at least one processor; and a memory connected in communication with the at least one processor; wherein, the memory stores information executable by the at least one processor. An instruction, the instruction is executed by at least one processor, so that the at least one processor can implement the image retrieval method described in any of the above embodiments when executed.
根据本公开的实施例,本公开还提供了一种可读存储介质,该可读存储介质存储有计算机指令,该计算机指令用于使计算机执行时能够实现上述任意实施例所描述的图像检索方法。According to an embodiment of the present disclosure, the present disclosure also provides a readable storage medium, the readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to implement the image retrieval method described in any of the above-mentioned embodiments. .
本公开实施例提供了一种计算机程序产品,该计算机程序在被处理器执行时能够实现上述任意实施例所描述的图像检索方法。An embodiment of the present disclosure provides a computer program product, when the computer program is executed by a processor, the image retrieval method described in any of the foregoing embodiments can be implemented.
图7示出了可以用来实施本公开的实施例的示例电子设备700的示意性框图。电子设备旨在表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本公开的实现。FIG. 7 shows a schematic block diagram of an example
如图7所示,设备700包括计算单元701,其可以根据存储在只读存储器(ROM)702中的计算机程序或者从存储单元708加载到随机访问存储器(RAM)703中的计算机程序,来执行各种适当的动作和处理。在RAM703中,还可存储设备700操作所需的各种程序和数据。计算单元701、ROM 702以及RAM 703通过总线704彼此相连。输入/输出(I/O)接口705也连接至总线704。As shown in FIG. 7, the
设备700中的多个部件连接至I/O接口705,包括:输入单元706,例如键盘、鼠标等;输出单元707,例如各种类型的显示器、扬声器等;存储单元708,例如磁盘、光盘等;以及通信单元709,例如网卡、调制解调器、无线通信收发机等。通信单元709允许设备700通过诸如因特网的计算机网络和/或各种电信网络与其他设备交换信息/数据。Multiple components in the
计算单元701可以是各种具有处理和计算能力的通用和/或专用处理组件。计算单元701的一些示例包括但不限于中央处理单元(CPU)、图形处理单元(GPU)、各种专用的人工智能(AI)计算芯片、各种运行机器学习模型算法的计算单元、数字信号处理器(DSP)、以及任何适当的处理器、控制器、微控制器等。计算单元701执行上文所描述的各个方法和处理,例如图像检索方法。例如,在一些实施例中,图像检索方法可被实现为计算机软件程序,其被有形地包含于机器可读介质,例如存储单元708。在一些实施例中,计算机程序的部分或者全部可以经由ROM 702和/或通信单元709而被载入和/或安装到设备700上。当计算机程序加载到RAM 703并由计算单元701执行时,可以执行上文描述的图像检索方法的一个或多个步骤。备选地,在其他实施例中,计算单元701可以通过其他任何适当的方式(例如,借助于固件)而被配置为执行图像检索方法。The
本文中以上描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、芯片上系统的系统(SOC)、负载可编程逻辑设备(CPLD)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips Implemented in a system of systems (SOC), load programmable logic device (CPLD), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include being implemented in one or more computer programs executable and/or interpreted on a programmable system including at least one programmable processor, the programmable processor Can be special-purpose or general-purpose programmable processor, can receive data and instruction from storage system, at least one input device, and at least one output device, and transmit data and instruction to this storage system, this at least one input device, and this at least one output device an output device.
用于实施本公开的方法的程序代码可以采用一个或多个编程语言的任何组合来编写。这些程序代码可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理器或控制器,使得程序代码当由处理器或控制器执行时使流程图和/或框图中所规定的功能/操作被实施。程序代码可以完全在机器上执行、部分地在机器上执行,作为独立软件包部分地在机器上执行且部分地在远程机器上执行或完全在远程机器或服务器上执行。Program codes for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general-purpose computer, a special purpose computer, or other programmable data processing devices, so that the program codes, when executed by the processor or controller, make the functions/functions specified in the flow diagrams and/or block diagrams Action is implemented. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
在本公开的上下文中,机器可读介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的程序。机器可读介质可以是机器可读信号介质或机器可读储存介质。机器可读介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, apparatus, or device. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.
为了提供与用户的交互,可以在计算机上实施此处描述的系统和技术,该计算机具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给计算机。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。To provide for interaction with the user, the systems and techniques described herein can be implemented on a computer having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user. ); and a keyboard and pointing device (eg, a mouse or a trackball) through which a user can provide input to the computer. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and can be in any form (including Acoustic input, speech input or, tactile input) to receive input from the user.
可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(LAN)、广域网(WAN)和互联网。The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., as a a user computer having a graphical user interface or web browser through which a user can interact with embodiments of the systems and techniques described herein), or including such backend components, middleware components, Or any combination of front-end components in a computing system. The components of the system can be interconnected by any form or medium of digital data communication, eg, a communication network. Examples of communication networks include: Local Area Network (LAN), Wide Area Network (WAN) and the Internet.
计算机系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。服务器可以是云服务器,又称为云计算服务器或云主机,是云计算服务体系中的一项主机产品,以解决传统物理主机与虚拟专用服务器(VPS,Virtual Private Server)服务中存在的管理难度大,业务扩展性弱的缺陷;也可以为分布式系统的服务器,或者是结合了区块链的服务器。A computer system may include clients and servers. Clients and servers are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also known as cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the management difficulties existing in traditional physical host and virtual private server (VPS, Virtual Private Server) services large and weak business scalability; it can also be a server of a distributed system, or a server combined with a blockchain.
根据本公开实施例的技术方案,为每个用户提供用于存储该用户与属于该用户的图像的特征信息之间的索引信息的数据库,并且用户可根据自身需求设置定制化检索策略,以基于定制化检索策略进行图像检索,从而实现了用户数据的分库存储,提供了用于多用户的图像检索系统,提高了图像检索的灵活性。According to the technical solutions of the embodiments of the present disclosure, each user is provided with a database for storing the index information between the user and the feature information of images belonging to the user, and the user can set a customized retrieval strategy according to his own needs, based on Customized retrieval strategies are used for image retrieval, thereby realizing the sub-database storage of user data, providing an image retrieval system for multiple users, and improving the flexibility of image retrieval.
应该理解,可以使用上面所示的各种形式的流程,重新排序、增加或删除步骤。例如,本发公开中记载的各步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本公开提供的技术方案所期望的结果,本文在此不进行限制。It should be understood that steps may be reordered, added or deleted using the various forms of flow shown above. For example, the steps described in the present disclosure may be executed in parallel, sequentially, or in a different order, as long as the desired result of the technical solution provided by the present disclosure can be achieved, no limitation is imposed herein.
上述具体实施方式,并不构成对本公开保护范围的限制。本领域技术人员应该明白的是,根据设计要求和其他因素,可以进行各种修改、组合、子组合和替代。任何在本公开的精神和原则之内所作的修改、等同替换和改进等,均应包含在本公开保护范围之内。The specific implementation manners described above do not limit the protection scope of the present disclosure. It should be apparent to those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made depending on design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present disclosure shall be included within the protection scope of the present disclosure.
Claims (24)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110718591.6A CN113360689B (en) | 2021-06-28 | 2021-06-28 | Image retrieval system, method, related device and computer program product |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202110718591.6A CN113360689B (en) | 2021-06-28 | 2021-06-28 | Image retrieval system, method, related device and computer program product |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN113360689A CN113360689A (en) | 2021-09-07 |
| CN113360689B true CN113360689B (en) | 2023-03-24 |
Family
ID=77536804
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN202110718591.6A Active CN113360689B (en) | 2021-06-28 | 2021-06-28 | Image retrieval system, method, related device and computer program product |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN113360689B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113946702A (en) * | 2021-10-13 | 2022-01-18 | 北京百度网讯科技有限公司 | Image feature storage method and device, storage medium and electronic equipment |
| CN114254143A (en) * | 2021-12-21 | 2022-03-29 | 以萨技术股份有限公司 | Distributed image search method and system based on clickhouse |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US6397212B1 (en) * | 1999-03-04 | 2002-05-28 | Peter Biffar | Self-learning and self-personalizing knowledge search engine that delivers holistic results |
| CN105139217A (en) * | 2015-09-07 | 2015-12-09 | 百度在线网络技术(北京)有限公司 | Method, apparatus and system used for acquiring user information |
| CN112307298B (en) * | 2019-07-23 | 2023-11-07 | 上海应帆数字科技有限公司 | Method and device for generating personal brand label |
| CN111259227B (en) * | 2020-01-16 | 2023-11-10 | 北京旷视科技有限公司 | Method and apparatus for sharing target retrieval services among multiple retrieval clusters |
| CN111782834A (en) * | 2020-06-28 | 2020-10-16 | 北京百度网讯科技有限公司 | Image retrieval method, apparatus, device, and computer-readable storage medium |
| CN112148889B (en) * | 2020-09-23 | 2025-09-19 | 平安直通咨询有限公司上海分公司 | Recommendation list generation method and device |
| CN112231555B (en) * | 2020-10-12 | 2023-09-15 | 中国平安人寿保险股份有限公司 | Recall method, device, equipment and storage medium based on user portrait label |
-
2021
- 2021-06-28 CN CN202110718591.6A patent/CN113360689B/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| CN113360689A (en) | 2021-09-07 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US20230251898A1 (en) | Federated computing method, electronic device and storage medium | |
| CN105677250B (en) | The update method and updating device of object data in object storage system | |
| CN112671892B (en) | Data transmission method, device, electronic equipment and medium | |
| CN116756282A (en) | Task processing methods, servers, language prediction systems and human-computer interaction systems | |
| CN113360689B (en) | Image retrieval system, method, related device and computer program product | |
| CN114579311B (en) | Method, device, equipment and storage medium for executing distributed computing task | |
| CN113766487A (en) | Cloud mobile phone information acquisition method, device, device and medium | |
| CN115510036A (en) | Data migration method, device, equipment and storage medium | |
| CN113691403B (en) | Topology node configuration method, related device and computer program product | |
| CN113344074B (en) | Model training method, device, equipment and storage medium | |
| KR102531826B1 (en) | Method and apparatus for acquiring a random number for blockchain, device and storage medium | |
| CN113239054A (en) | Information generation method, related device and computer program product | |
| CN113641670B (en) | Data storage and data retrieval method, device, electronic device and storage medium | |
| CN113608751B (en) | Operation method, device and equipment of reasoning service platform and storage medium | |
| CN113037489B (en) | Data processing method, apparatus, device and storage medium | |
| WO2025102729A1 (en) | Algorithm service deployment method and apparatus, electronic device, and readable storage medium | |
| CN114546705B (en) | Operation response method, operation response device, electronic apparatus, and storage medium | |
| CN116932147A (en) | Streaming job processing method and device, electronic equipment and medium | |
| CN114070889A (en) | Configuration method, traffic forwarding method, device, storage medium, and program product | |
| CN115495151A (en) | Migration method, device, equipment, storage medium and program product of rule engine | |
| CN120447932B (en) | Database version upgrading management method, device, equipment and storage medium | |
| CN112559926A (en) | Online processing method, device, equipment, medium and product for searching display items | |
| CN115793970B (en) | Data storage methods, devices, electronic equipment and storage media | |
| US20220283991A1 (en) | Method and apparatus for sharing favorite | |
| CN119987795A (en) | Mirror repository implementation method and device based on multi-sharding |
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 |
