Target information processing method and device, electronic equipment and medium

By numerical representation of the target image and the recognition results, the target information is generated and stored, and the problem of low storage and retrieval efficiency in image acquisition and recognition is solved, and more efficient storage and retrieval of target information is achieved.

CN119848273APending Publication Date: 2025-04-18ZHEJIANG UNIVIEW TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311337300.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-16
Publication Date
2025-04-18

AI Technical Summary

Technical Problem

During the image acquisition and recognition process, the storage and retrieval efficiency of huge amounts of image data is low, and the existing structured storage methods occupy a large space and operate at a high pressure, resulting in a reduced target retrieval efficiency.

Method used

By dividing the target image, the area image is obtained, and whether the area image contains a preset type of target, the preset value representation recognition result generates target information, and directly store the target information to avoid using database management.

Benefits of technology

It reduces the space required for target information storage, reduces operating pressure, and improves the efficiency and response speed of target retrieval.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119848273A_ABST
    Figure CN119848273A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a target information processing method and device, electronic equipment and a medium. The method comprises the following steps: dividing a target image to obtain at least one regional image, and determining an identification result of a preset type of target in the at least one regional image; the identification result comprises whether the regional image contains a preset type of target; for each regional image, representing the recognition result by using a preset numerical value to generate target information corresponding to the regional image; and storing the target information so as to determine a region image containing the preset type of target according to the target information. According to the scheme, the problems that a large number of storage resources are occupied when an existing database is used for structured storage, and a large number of operation resources are consumed when the database is operated are solved, compressed storage of the target information and quick response to retrieval are achieved, and the processing efficiency of the target information is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a target information processing method, device, electronic device and medium. Background Art

[0002] At present, image acquisition and recognition technology is widely used. In some scenarios, it is necessary to use an image collector to acquire images of the scene, and then recognize the acquired images to determine whether the acquired images include the target. In some applications, it is necessary to retrieve the images that have been collected historically and stored in the database. In the case of a huge amount of collected image data, if each image in the database is recognized and retrieved again, the retrieval workload is large.

[0003] In order to solve the above problems, the current solution is generally to store the identified targets in a database, but this structured storage method occupies a large space and causes a large operating pressure when running the database, resulting in reduced efficiency of target retrieval. Summary of the invention

[0004] The embodiments of the present application provide a target information processing method, device, electronic device and medium to reduce the space occupied by target information storage and improve the efficiency of target retrieval.

[0005] According to one aspect of the present application, a target information processing method is provided, the method comprising:

[0006] Dividing the target image into at least one regional image, and determining a recognition result of a preset type of target in at least one regional image; wherein the recognition result includes whether the regional image contains a preset type of target;

[0007] For each regional image, the recognition result is represented by a preset value to generate target information corresponding to the regional image;

[0008] The target information is stored to determine a region image containing a preset type of target according to the target information.

[0009] According to one aspect of the present application, a target information processing device is provided, the device comprising:

[0010] A recognition module, configured to divide the target image into at least one regional image, and determine a recognition result of a preset type of target in at least one regional image; wherein the recognition result includes whether the regional image contains a preset type of target;

[0011] A target information generating module, for generating target information corresponding to each regional image by representing the recognition result with a preset value;

[0012] The storage module is used to store the target information to determine a regional image containing a preset type of target according to the target information.

[0013] According to another aspect of the present application, an electronic device is provided, the electronic device comprising:

[0014] at least one processor; and

[0015] a memory communicatively connected to at least one processor; wherein,

[0016] The memory stores a computer program that can be executed by at least one processor, and the computer program is executed by at least one processor so that the at least one processor can execute the target information processing method of any embodiment of the present application.

[0017] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the target information processing method of any embodiment of the present application when executed.

[0018] The technical solution of the embodiment of the present application is to divide the target image into at least one regional image, and determine the recognition result of the preset type of target in at least one regional image; wherein the recognition result includes whether the regional image contains the preset type of target; for each regional image, the recognition result is represented by a preset value to generate the target information corresponding to the regional image; the target information is stored to determine the regional image containing the preset type of target according to the target information. The above scheme can compress and represent the preset type of target in the target image numerically, reduce the storage space required for storage, and directly store the target information without the need for database management, thereby eliminating the operating pressure of the database and improving the efficiency of target retrieval.

[0019] It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0020] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0021] Figure 1 is a flow chart of a target information processing method provided according to Embodiment 1 of the present application;

[0022] Figure 2 is a flow chart of a target information processing method provided according to Embodiment 2 of the present application;

[0023] Figure 3 is a schematic diagram of the storage unit structure provided according to the second embodiment of the present application;

[0024] Figure 4 It is a schematic diagram of the storage block structure provided according to the second embodiment of the present application;

[0025] Figure 5 is a flow chart of a target information processing method provided according to Embodiment 3 of the present application;

[0026] Figure 6 is a structural schematic diagram of a target information processing device provided according to Embodiment 4 of the present application;

[0027] Figure 7 It is a structural schematic diagram of an electronic device provided according to Embodiment 5 of the present application. DETAILED DESCRIPTION

[0028] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0029] It should be noted that the terms "first", "second", "third", "fourth", "actual", "preset", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0030] Embodiment 1

[0031] Figure 1This is a flowchart of a target information processing method provided in the first embodiment of the present application. The present embodiment of the present application can be applied to the case of processing target information. Typically, it can be applied to the case of storing and retrieving target information obtained by identifying a target image. The method can be executed by a target information processing device, which can be implemented in the form of hardware and / or software, and the target information processing device can be configured in an electronic device. Figure 1 As shown, the method includes:

[0032] S110, dividing the target image into at least one regional image, and determining a recognition result of a preset type of target in the at least one regional image, wherein the recognition result includes whether the regional image contains a preset type of target.

[0033] Among them, the target image can be a separate discontinuous image or a video frame image in a video. The target image can be an image collected in real time by an image collector. When the image collector is connected to an NVR (Network Video Recorder), the electronic device that executes the embodiment of the present application can be an NVR device. The electronic device can also be a DVR (Digital Video Recorder), a DVS (digital video server) or other terminals, servers, etc. connected to the image collector. The target image can also be an image transmitted by a user or other terminal. The regional image is an image obtained by dividing the target image and containing at least part of the target image. The preset type can be set according to the actual situation, and the number of preset types is not limited, and it can be at least one type. For example, in a road traffic application scenario, the preset type of target can include motor vehicles, non-motor vehicles, pedestrians, lane lines, etc. In the area intrusion monitoring scenario such as water areas and regions, the preset type of target can include ships, vehicles, aircraft, etc.

[0034] Exemplarily, the target image may be divided to obtain at least one regional image, the entire target image may be used as a regional image, a portion of the target image may be intercepted as a regional image, or the target image may be divided to obtain at least two regional images, for example, the target image may be divided to obtain 22*18 regional images. The division method is not limited.

[0035] In one achievable solution, for each regional image, the regional image is identified respectively to determine whether the regional image contains a target of a preset type, thereby obtaining a recognition result, that is, whether the regional image contains a target of a preset type. In another achievable solution, the target image may also be identified first to determine the target of the preset type contained in the target image. The pixel points corresponding to the target of the preset type are marked, and then the target image is divided to obtain at least one regional image, and whether the regional image contains a target of the preset type is determined based on the marked pixel points. A target of a preset type may occupy at least one regional image, or a regional image may contain at least one target of a preset type. When identifying whether a regional image contains a target of a preset type, it is not necessary to determine whether the regional image contains the entire target of the preset type. It is only necessary to determine the partial area of ​​the regional image containing the target of the preset type, and the recognition result can be determined as the regional image containing the target of the preset type.

[0036] In an embodiment of the present application, the sampling frequency can be determined according to actual conditions to sample the video to obtain a target image. For example, the video collected by the image collector is sampled every 1 / 5 second to obtain the target image, and step S110 is executed for the target image to obtain the target information corresponding to the target image.

[0037] S120 , for each regional image, using a preset numerical value to represent the recognition result to generate target information corresponding to the regional image.

[0038] Exemplarily, the recognition result includes whether the regional image contains a target of a preset type. The recognition result can be represented by a preset value, that is, different preset values ​​are used to respectively represent whether the regional image contains a target of a preset type. The preset value can be determined according to the actual situation, and generally a value that can be recognized by the computer is selected. For example, the preset value "1" can be used to indicate that there is a target of a preset type in the regional image, and the preset value "0" can be used to indicate that there is no target of the preset type in the regional image. The preset value "0" can also be used to indicate that there is a target of a preset type in the regional image, and the preset value "1" can be used to indicate that there is no target of the preset type in the regional image. It is also possible to use two or more preset values ​​to indicate whether the regional image contains a target of a preset type, which is not limited here.

[0039] The solution in the embodiment of the present application uses a preset value to indicate whether a regional image contains a preset type of target, which effectively compresses the data volume of the target information and saves the storage space required to store the target information.

[0040] S130: Storing the target information to determine a region image containing a preset type of target according to the target information.

[0041] Exemplarily, the target information can be stored in a storage area, for example, local storage or cloud storage, so that the target can be retrieved according to the target information later to determine the regional image containing the preset type of target. In an embodiment of the present application, the target information can be stored according to an existing data storage format, or the target information can be stored in a customized data storage format. When storing, the timestamp of the target image corresponding to the target information, the channel number of the image collector, the position of the regional image in the target image, and other information can be stored to facilitate subsequent retrieval to determine the time and place of the target appearance and the specific position in the target image.

[0042] In the embodiment of the present application, the target information corresponding to the generated regional image is represented by the preset value for the recognition result, including:

[0043] The preset type is made to correspond to the data bit, and the preset value is used as the value corresponding to the data bit to indicate whether the area image contains an object of the preset type corresponding to the data bit.

[0044] Exemplarily, data bits for representing the recognition result can be pre-set, and the number of data bits can be determined by the number of preset types. Assuming that there are three preset types, three data bits can be used to represent them, and each data bit corresponds to a preset type. One data bit represents one preset type, and the value corresponding to the data bit represents whether the target of the preset type corresponding to the data bit exists in the regional image. For example, three data bits are used to represent the preset types "motor vehicle", "non-motor vehicle" and "pedestrian", respectively. The first bit represents "motor vehicle", the second bit represents "non-motor vehicle", and the third bit represents "pedestrian". The preset value "1" indicates that the regional image contains a target of the preset type, and the preset value "0" indicates that the regional image does not contain a target of the preset type. Then "100" indicates that the regional image contains "motor vehicle", does not contain "non-motor vehicle" and "pedestrian", and "110" indicates that the regional image contains "motor vehicle" and "non-motor vehicle", and does not contain "pedestrian". "111" indicates that the regional image contains "motor vehicle", "non-motor vehicle" and "pedestrian", and so on.

[0045] The solution in the embodiment of the present application directly stores the target information without using a database to manage the targets in the target image, thereby avoiding the operating burden caused by other computing power bases when running the database, thereby improving the efficiency and response speed of target storage and retrieval.

[0046] The technical solution of the embodiment of the present application divides the target image into at least one regional image, and determines the recognition result of the preset type of target in at least one regional image; wherein the recognition result includes whether the regional image contains the preset type of target; for each regional image, the recognition result is represented by a preset numerical value to generate target information corresponding to the regional image; the target information is stored to determine the regional image containing the preset type of target according to the target information. The above scheme can numerically compress and represent the preset type of target in the target image, reduce the storage space required for storage, and directly store the target information without the need for database management, thereby eliminating the operating pressure of the database and improving the efficiency of target retrieval. When applied to NVR devices, the above scheme effectively reduces the requirements for the storage space and operating capacity of the NVR device, and realizes the effective management of target information and rapid retrieval of targets through NVR.

[0047] Embodiment 2

[0048] Figure 2 This is a flow chart of a target information processing method provided in the second embodiment of the present application. The present embodiment is optimized based on the above embodiment. For solutions not described in detail in the present embodiment, please refer to the above embodiment. Figure 2 As shown, the method of the embodiment of the present application specifically includes the following steps:

[0049] S210, dividing the target image into at least one regional image, and determining a recognition result of a preset type of target in at least one regional image; wherein the recognition result includes whether the regional image contains a preset type of target.

[0050] S220 . For each regional image, use a preset value to represent the recognition result to generate target information corresponding to the regional image.

[0051] S230 , combining target information corresponding to the regional images belonging to the same target image to obtain combined target information corresponding to the target image.

[0052] Exemplarily, in order to facilitate retrieval, the target information corresponding to the regional images belonging to the same target image can be combined to obtain the combined target information corresponding to a target image, and the combined target information corresponding to each target image can be stored. Exemplarily, assuming that the target image is divided into 22*18 regional images, DataBlock(i) represents the target information corresponding to the i-th regional image, and the combined target information corresponding to the target image at time t is MetaData[t]={[DataBlock(1)],[DataBlock(2)],…,[DataBlock(22*18)]}.

[0053] S240: Store the combined target information corresponding to each target image in a storage unit, so as to determine a regional image containing a preset type of target according to the target information.

[0054] Exemplarily, the combined target information corresponding to each target image is stored in a storage unit, that is, the target information belonging to the same target image is stored in the same storage unit, so as to facilitate targeted retrieval of the target information of the same target image and improve retrieval efficiency.

[0055] In the embodiment of the present application, the combined target information corresponding to each target image is stored in a storage unit, including:

[0056] The timestamp of each target image is stored as an index record in the index area of ​​the storage unit, and the combined target information of each target image is stored in the data area of ​​the storage unit in the order of the timestamp.

[0057] Exemplarily, the storage unit can be divided into an index area and a data area, the timestamp of the target image is stored as an index record in the index area, and the combined target information of the target image is stored in the data area in the order of the timestamps. The offset of the combined target information in the data area can be determined according to the position of the timestamp in the index area, and then the combined target data corresponding to the timestamp can be retrieved according to the offset. Figure 3 As shown, the super block is a structure for storing file system metadata in the header, which may or may not be used in the embodiment of the present application. The index area contains index records corresponding to each target image, which are in the form of timestamps, and the index records are arranged in the order of timestamps. The data area stores the combined target information corresponding to each target image, and the combined target information is stored in the order of timestamps of the corresponding target images. According to the order of timestamps in the index record, the offset of the combined target information corresponding to the timestamp in the data area can be determined, and then the combined target information can be retrieved.

[0058] Specifically, the storage area is divided to obtain the storage space of each storage unit. For example, the storage space of the storage unit is 256MB. According to the storage space occupied by each index record in the index area and the storage space occupied by each combined target information in the data area, the storage unit is divided to determine the storage space allocated to each index record and each combined target information. In order to align the data bits of each index record and each combined target information, the storage space allocated to each index record may be larger than the storage space actually occupied by the index record, and the storage space allocated to each combined target information may be larger than the storage space actually occupied by the combined target information. Therefore, there may be redundant data bits in the storage space corresponding to the index record and / or the combined target information. For example, the storage space included in the data area is 250MB. Excluding the space required for some management information, according to the actual storage space occupied by each combined target information, the data area can store an integer of up to 1500 combined target information. Then, the storage space allocated for each combined target information is obtained by dividing 250MB by 1500. However, in fact, the storage space occupied by each combined target information may be smaller than the allocated storage space. Therefore, there are redundant data bits for use by other functions.

[0059] In an embodiment of the present application, storing the target information includes:

[0060] For each storage unit, a summary corresponding to the storage unit is generated according to the preset type contained in the storage unit, the earliest time and the latest time when the target of the preset type appears in each target image corresponding to the storage unit;

[0061] The digest corresponding to each storage unit is stored in a digest area of ​​the storage block where the storage unit is located.

[0062] Exemplarily, a summary may be set for each storage unit to facilitate retrieval of the storage unit. For each storage unit, the preset type contained in the storage unit and the earliest time and latest time when the target of the preset type appears in the target image corresponding to the storage unit may be determined. Exemplarily, assuming that there are three preset types in total, represented by three data bits, the storage unit may contain combined target information of 1500 target images, and the 1500 combined target information may contain two preset types of targets, namely the preset type corresponding to the first data bit and the preset type corresponding to the third data bit. Assuming that "1" indicates the existence of the preset type and "0" indicates the non-existence of the preset type, the preset types contained in the storage unit can be represented as 101. One of the preset types of targets first appears in the combined target information in the third target image, that is, it first appears in the third target image. The timestamp corresponding to the third target image is T1, which is the earliest time when the target of the preset type appears in the target image corresponding to the storage unit. The target of the preset type last appeared in the combined target information of the 1400th target image, that is, the last time it appeared in the 1400th target image. The timestamp corresponding to the 1400th target image is T2, which is the latest time when the target of the preset type appeared in the target image corresponding to the storage unit. The summary corresponding to the storage unit can be generated according to the preset type contained in the storage unit, the earliest time and the latest time when the target of the preset type appeared in each target image corresponding to the storage unit, such as Figure 4 As shown, the "preset type 3B" indicates the preset type contained in the storage unit, and the "start time 4B" and "end time 4B" indicate the earliest time and the latest time when the target of preset type A, B, C appears in each target image corresponding to the storage unit. The summary can also include the target information identifier and / or the acquisition channel identifier of the target image, for example, through Figure 4 Any data bit in "FG1B", "RT1B", "RS1T", and "BT1B" records the target information identifier, indicating that the storage block stores the target information. "Channel number 4B" represents the acquisition channel identifier of the target image, indicating which channel the target image corresponding to the target information is acquired by the image acquirer corresponding to.

[0063] In the embodiments of the present application, Figure 4 As shown, each storage unit corresponds to a digest stored in the digest area, and the number of storage units included in the storage block is consistent with the number of digests in the digest area. Figure 4 The super block (spare) and summary area (spare) in the storage are spare storage spaces.

[0064] The embodiment of the present application provides a target information processing method, which combines the target information corresponding to the regional images belonging to the same target image to obtain the combined target information corresponding to the target image; stores the combined target information corresponding to each target image in a storage unit, and integrates and stores the target information with the target image as the basic unit, so that the target information corresponding to the target image can be quickly retrieved during retrieval, and then it is determined whether the target image contains a preset type of target, thereby improving the target storage and retrieval efficiency.

[0065] Embodiment 3

[0066] Figure 5 This is a flow chart of a target information processing method provided in the third embodiment of the present application. The present embodiment is optimized based on the above embodiment. For solutions not described in detail in the present embodiment, please refer to the above embodiment. Figure 5 As shown, the method of the embodiment of the present application specifically includes the following steps:

[0067] S310, dividing the target image into at least one regional image, and determining a recognition result of a preset type of target in at least one regional image; wherein the recognition result includes whether the regional image contains a preset type of target.

[0068] S320: For each regional image, the recognition result is represented by a preset value to generate target information corresponding to the regional image.

[0069] S330: Store the target information.

[0070] S340: Match the search type and search time period to be searched with the content of each abstract in the abstract area to determine a target abstract.

[0071] Exemplarily, the search type and search time period of the target to be searched are determined. For example, if it is determined that pedestrians appearing in an office building between 9:00 and 17:00 need to be searched, the search type can be determined to be pedestrians, and the search time period can be determined to be 9:00-17:00. Since the summary stores the preset type contained in the storage unit, the earliest time and the latest time when the target of the preset type appears in each target image corresponding to the storage unit, the search type can be matched with the preset type contained in the storage unit in the summary, and the search time period can be matched with the earliest time and the latest time when the target of the preset type appears in each target image corresponding to the storage unit in the summary, so as to determine a matching target summary. Specifically, if the preset type contained in the storage unit represented by the summary contains the search type, and the search time period has an intersection with the time period from the earliest time to the latest time in the summary, it is determined that the search type matches the preset type contained in the storage unit in the summary, and the search time period matches the earliest time and the latest time when the target of the preset type appears in each target image corresponding to the storage unit in the summary.

[0072] S350: Determine a target storage unit corresponding to the target summary.

[0073] Exemplarily, since the storage unit corresponds to the digest one-to-one, the corresponding target storage unit can be determined according to the target digest. Specifically, the order of the storage units is consistent with the order of digest storage, and according to the position of the target digest, the offset of the target storage unit can be determined, and then the position of the target storage unit in the data area can be determined.

[0074] S360: Match the retrieval time period with the timestamp of the index area in the target storage unit to determine the target index record.

[0075] Exemplarily, a target storage unit contains combined target information corresponding to multiple target images, so the retrieval time period is matched with the timestamp of the index area in the target storage unit to determine the combined target information corresponding to the timestamp matching the retrieval time period. Specifically, if the timestamp of the index area is within the retrieval time period, it is determined that the retrieval time period matches the timestamp. The target index record corresponding to the retrieval time period is determined according to the timestamp.

[0076] S370. Search the data area for combined target information corresponding to the target index record.

[0077] Exemplarily, the offset of the corresponding combined target information is determined according to the storage order of the target index record in the index area, and the combined target information corresponding to the target index record is determined according to the offset. For example, assuming that the target index record is the third index record, and the storage space of the combined target information corresponding to each target image in the data area is 160KB, then it can be determined that the combined target information corresponding to the target index record is the third 160KB storage space, that is, the storage address is 321KB-480KB.

[0078] In an embodiment of the present application, the method further includes:

[0079] Determine whether a target of the search type exists in the regional image corresponding to the target information according to the value of the data bit corresponding to the search type in each target information of the combined target information;

[0080] The position of the target of the retrieval type in the target image is determined according to the position of the area image containing the target of the retrieval type in the target image.

[0081] Exemplarily, after finding the combined target information corresponding to the target index record from the data area, traverse and detect each target information of the combined target information, determine the value of the data bit corresponding to the search type in the target information, and determine whether the target of the search type exists in the regional image corresponding to the target information. For example, assuming that "1" indicates the existence of the search type, and "0" indicates the non-existence of the search type, the search type is a pedestrian, corresponding to the first data bit in the target information, the value of the first data bit in the target information is detected, if it is "1", it means that the regional image corresponding to the target information contains pedestrians, if it is "0", it means that the regional image corresponding to the target information does not contain pedestrians. For example, target information "100" indicates that the regional image corresponding to the target information contains pedestrians, and target information "010" indicates that the regional image corresponding to the target information does not contain pedestrians. Determine the regional image containing the target of the search type, determine the position of the regional image in the target image, and then determine the position of the target of the search type in the target image. For example, assuming that the target image is divided into 22*18 regional images, and the regional image containing the retrieval type target is the 22nd regional image, the position of the regional image in the target image can be determined to be the upper right corner (when the target image is displayed normally in the forward direction), so it can be determined that the retrieval type target is located at the upper right corner of the target image.

[0082] The embodiment of the present application provides a method for processing target information, which matches the search type and search time period to be searched with the content of each summary in the summary area to determine the target summary; determines the target storage unit corresponding to the target summary; matches the search time period with the timestamp of the index area in the target storage unit to determine the target index record; and searches the data area for the combined target information corresponding to the target index record. The above scheme determines the target image where the target of the search type is located and its position in the target image by searching the target information in the storage space, thereby solving the problem of increasing operating pressure by running additional functions when searching with a database, and improving the efficiency and response speed of target retrieval.

[0083] Embodiment 4

[0084] Figure 6 This is a schematic diagram of the structure of a target information processing device provided in the fourth embodiment of the present application. The device can execute the target information processing method provided in any embodiment of the present application and has the corresponding functional modules and beneficial effects of the execution method. Figure 6 As shown, the device comprises:

[0085] The recognition module 410 is used to divide the target image into at least one regional image, and determine the recognition result of the preset type of target in the at least one regional image; wherein the recognition result includes whether the regional image contains the preset type of target;

[0086] The target information generating module 420 is used to represent the recognition result with a preset value for each regional image to generate target information corresponding to the regional image;

[0087] The storage module 430 is used to store the target information to determine a regional image containing a preset type of target according to the target information.

[0088] In the embodiment of the present application, the target information generating module 420 includes:

[0089] The indicating unit is used to correspond the preset type to the data bit, and use the preset value as the value corresponding to the data bit to indicate whether the area image contains the target of the preset type corresponding to the data bit.

[0090] In the embodiment of the present application, the storage module 430 includes:

[0091] A combining unit, used for combining target information corresponding to regional images belonging to the same target image to obtain combined target information corresponding to the target image;

[0092] The information storage unit is used to store the combined target information corresponding to each target image in the storage unit.

[0093] In an embodiment of the present application, the information storage unit includes:

[0094] The partition storage subunit is used to store the timestamp of each target image as an index record in the index area of ​​the storage unit, and store the combined target information of each target image in the data area of ​​the storage unit according to the order of the timestamp.

[0095] In the embodiment of the present application, the storage module 430 includes:

[0096] A summary generating unit, for each storage unit, generating a summary corresponding to the storage unit according to a preset type contained in the storage unit, the earliest time when a target of the preset type appears in each target image corresponding to the storage unit, and the latest time when a target of the preset type appears in each target image corresponding to the storage unit;

[0097] The summary storage unit is used to store the summary corresponding to each storage unit in the summary area of ​​the storage block where the storage unit is located.

[0098] In the embodiment of the present application, the device further includes:

[0099] A target summary determination module is used to match the search type and search time period to be searched with the content of each summary in the summary area to determine the target summary;

[0100] A target storage unit determination module, used to determine a target storage unit corresponding to the target summary;

[0101] A matching module, used to match the search time period with the timestamp of the index area in the target storage unit to determine the target index record;

[0102] A search module is used to search the data area for the combined target information corresponding to the target index record.

[0103] In the embodiment of the present application, the device further includes:

[0104] A value detection module, used to determine whether a target of the search type exists in the regional image corresponding to the target information according to the value of the data bit corresponding to the search type in each target information of the combined target information;

[0105] The position detection module is used to determine the position of the target of the retrieval type in the target image according to the position of the regional image containing the target of the retrieval type in the target image.

[0106] A target information processing device provided in an embodiment of the present application can execute a target information processing method provided in any embodiment of the present application, and has functional modules and beneficial effects corresponding to the execution method.

[0107] Embodiment 5

[0108] Figure 7 A schematic diagram of an electronic device 10 that can be used to implement an embodiment of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present application described and / or required herein.

[0109] like Figure 7 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0110] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0111] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as the target information processing method.

[0112] In some embodiments, the target information processing method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the target information processing method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the target information processing method in any other appropriate manner (e.g., by means of firmware).

[0113] 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 (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0114] The computer programs for implementing the methods of the present application may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable target information processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0115] In the context of the present application, a computer readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, device or equipment. A computer readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer readable storage medium may be a machine readable signal medium. A more specific example of a machine readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0116] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device 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 a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).

[0117] The systems and techniques described herein may be implemented in a computing system that includes backend 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 frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0118] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.

[0119] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the information expected by the technical solution of this application can be achieved, and this document is not limited here.

[0120] The above specific implementations do not constitute a limitation on the protection scope of this application. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of this application should be included in the protection scope of this application.

Claims

1. A target information processing method, characterized in that: The method comprises: Dividing the target image into at least one regional image, and determining a recognition result of a preset type of target in at least one regional image; wherein the recognition result includes whether the regional image contains a preset type of target; For each regional image, the recognition result is represented by a preset value to generate target information corresponding to the regional image; The target information is stored to determine a region image containing a preset type of target according to the target information.

2. The method according to claim 1, characterized in that The recognition result is represented by a preset value to generate target information corresponding to the regional image, including: The preset type is made to correspond to the data bit, and the preset value is used as the value corresponding to the data bit to indicate whether the area image contains an object of the preset type corresponding to the data bit.

3. The method according to claim 1, characterized in that Storing the target information includes: Combining target information corresponding to regional images belonging to the same target image to obtain combined target information corresponding to the target image; The combined target information corresponding to each target image is stored in a storage unit.

4. The method according to claim 3, characterized in that Storing the combined target information corresponding to each target image in a storage unit includes: The timestamp of each target image is stored as an index record in the index area of ​​the storage unit, and the combined target information of each target image is stored in the data area of ​​the storage unit in the order of the timestamp.

5. The method according to claim 3, characterized in that Storing the target information includes: For each storage unit, a summary corresponding to the storage unit is generated according to the preset type contained in the storage unit, the earliest time and the latest time when the target of the preset type appears in each target image corresponding to the storage unit; The digest corresponding to each storage unit is stored in a digest area of ​​the storage block where the storage unit is located.

6. The method according to claim 5, characterized in that The method further comprises: Match the search type and search time period to be searched with the content of each abstract in the abstract area to determine the target abstract; determining a target storage unit corresponding to the target summary; Matching the retrieval time period with the timestamp of the index area in the target storage unit to determine the target index record; The combined target information corresponding to the target index record is searched from the data area.

7. The method according to claim 6, characterized in that The method further comprises: Determine whether a target of the search type exists in the regional image corresponding to the target information according to the value of the data bit corresponding to the search type in each target information of the combined target information; The position of the target of the retrieval type in the target image is determined according to the position of the area image containing the target of the retrieval type in the target image.

8. A target information processing device, characterized in that: The device comprises: A recognition module, configured to divide the target image into at least one regional image, and determine a recognition result of a preset type of target in at least one regional image; wherein the recognition result includes whether the regional image contains a preset type of target; A target information generating module, for generating target information corresponding to each regional image by representing the recognition result with a preset value; The storage module is used to store the target information to determine a regional image containing a preset type of target according to the target information.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the target information processing method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the target information processing method according to any one of claims 1 to 7 when executed.