User housing image generation method and device based on user information identification
Through optical character recognition equipment and user portrait generation methods, the allocation errors and system lags in user housing image generation under face recognition technology are solved, and the accurate generation of user housing images and system stability are achieved.
Patent Information
- Application Number
- CN202411616879.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-13
- Publication Date
- 2024-12-27
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the generation of user housing images, allocation errors are prone to occur when only using facial recognition technology to allocate housing information, and a large amount of computing resources are required after entering all user information, resulting in system lag and crash, making it difficult to generate images.
The optical character recognition device obtains user information in real time, performs completeness and accuracy verification, generates user portraits, and renders them based on the user portrait and the initial housing map, generates a bird's-eye view of the user housing, avoiding facial recognition and repeated verification, Reduce system delay and lag.
It realizes the accurate generation of user housing images, avoids system crashes and lags, improves the strictness and efficiency of image generation, and reduces the use of computing resources.
Smart Images

Figure CN119201926A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure relate to the field of computer technology, and in particular to a method and device for generating a user housing image based on user information identification. Background Art
[0002] The user housing image generation method is a technology for generating housing images based on user information. When generating user housing images, the method usually adopted is: only assigning housing information to users through face recognition technology, or completely entering the information of all users involved, and then uniformly generating user housing images based on the entered information.
[0003] However, in practice, it is found that when the above method is used to generate user housing images, the following technical problems often occur:
[0004] Although assigning housing information to users only through facial recognition technology can improve processing efficiency, it is prone to allocation errors. The generation of housing images requires strict allocation, which often makes it difficult to achieve effective goals. In addition, unified adjustment after entering all user information involved requires a large amount of computing resources at the same time, resulting in system freezes and delays, and then causing system crashes and difficulty in generating images.
[0005] The above information disclosed in this Background section is only for enhancement of understanding of the background of the inventive concept and therefore it may contain information that does not form the prior art that is already known in this country to a person of ordinary skill in the art. Summary of the invention
[0006] The content of this disclosure is used to introduce concepts in a brief form, which will be described in detail in the detailed implementation section below. The content of this disclosure is not intended to identify the key features or essential features of the technical solution claimed for protection, nor is it intended to limit the scope of the technical solution claimed for protection.
[0007] Some embodiments of the present disclosure propose a method and device for generating a user housing image based on user information recognition to solve the technical problems mentioned in the above background technology section.
[0008] In a first aspect, some embodiments of the present disclosure provide a method for generating a user housing image based on user information recognition, the method comprising: in response to detecting an information scanning start instruction, controlling an optical character recognition device to perform a document scan to generate user basic information, wherein the document scanning comprises identity document recognition, household registration text scanning recognition and income receipt scanning recognition; performing an integrity check on the above user basic information to determine whether it is complete, wherein the user basic information comprises: user identity information, user household registration information and user income information; in response to determining that the above user basic information is complete, performing an accuracy check on the above user basic information through the following steps to determine whether the above user basic information has passed the verification: performing a data comparison on the above user basic information to generate a data comparison result; in response to determining that the above data comparison result is normal, determining that the verification has passed; in response to passing the verification, generating a user portrait based on the above user basic information; according to the above user portrait and a preset initial housing map and an initial allocation condition set, assigning corresponding user housing subsidy information to the above user basic information; rendering the above user housing subsidy information and the above initial housing map to generate a user housing bird's-eye view, and sending the above user housing bird's-eye view to the user terminal for update and display.
[0009] In a second aspect, some embodiments of the present disclosure provide a user housing image generation device based on user information identification, the device comprising: a control scanning unit, configured to control an optical character recognition device to perform document scanning in response to detecting an information scanning start instruction to generate user basic information, wherein the document scanning includes identity document recognition, household registration text scanning recognition and income document scanning recognition; an integrity verification unit, configured to perform integrity verification on the above-mentioned user basic information to determine whether it is complete, wherein the user basic information includes: user identity information, user household registration information and user income information; an accuracy verification unit, configured to, in response to determining that the above-mentioned user basic information is complete, verify the above-mentioned user basic information through the following steps Accuracy verification has been performed to determine whether the above-mentioned user basic information has passed the verification: data comparison is performed on the above-mentioned user basic information to generate a data comparison result; in response to determining that the above-mentioned data comparison result is normal, it is determined that the verification has passed; a generation unit is configured to generate a user portrait based on the above-mentioned user basic information in response to the verification passing; an information allocation unit is configured to allocate corresponding user housing subsidy information to the above-mentioned user basic information according to the above-mentioned user portrait and a preset initial housing map and an initial allocation condition set; an image rendering and sending unit is configured to render the above-mentioned user housing subsidy information and the above-mentioned initial housing map to generate a bird's-eye view of the user's housing, and send the above-mentioned user housing bird's-eye view to the user terminal for update and display.
[0010] In a third aspect, some embodiments of the present disclosure provide an electronic device comprising: one or more processors; a storage device on which one or more programs are stored, and when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation manner of the above-mentioned first aspect.
[0011] In a fourth aspect, some embodiments of the present disclosure provide a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, the method described in any implementation manner of the above-mentioned first aspect is implemented.
[0012] The above-mentioned embodiments of the present disclosure have the following beneficial effects: through the user housing image generation method based on user information recognition of some embodiments of the present disclosure, the system delay can be reduced and the system jamming can be avoided, and the system crash can be avoided. Specifically, the reason for the system crash and the difficulty in generating images is that although the housing information is assigned to users only through face recognition technology, the processing efficiency can be improved, but it is easy to have the situation of allocation errors, and the generation of housing images requires strict allocation, which is often difficult to achieve the effective purpose. After entering all the user information involved, unified adjustment is required, which requires a large amount of computing resources at the same time, resulting in system jamming and delay. Based on this, the user housing image generation method based on user information recognition of some embodiments of the present disclosure, first, by associating with an optical character recognition device, the user information scanned and identified by the device can be obtained in real time. Therefore, the user housing image can be generated in real time according to the user information. Here, in order to avoid abnormalities in the obtained user information, steps such as integrity verification and accuracy verification are also performed to ensure that the obtained user information is verified correctly. Then, by generating a user portrait, it can be used to remove redundant user information so as to more accurately locate the features in the user information. Therefore, it can be used to allocate corresponding user housing subsidy information to the user according to the user portrait. Therefore, a user portrait can be generated without face recognition. Data verification steps such as integrity verification and accuracy verification are also performed, so that the accuracy of the data can be strictly determined, so as to facilitate the strict allocation of housing information. In addition, by introducing the initial housing map, it can be used to associate and merge user information, user housing subsidy information and the initial housing map to generate a bird's-eye view of the user's housing. This makes it convenient for the user to intuitively determine the location of the allocated housing from the picture displayed by the user terminal. Through the above implementation method, it can be used to scan the user information in turn and generate the corresponding user housing subsidy information, and at the same time realize the generation of user housing images. Therefore, the situation of unified adjustment after entering all the user information involved can be greatly avoided. Furthermore, system delays can be reduced, system freezes can be avoided, and system crashes can be avoided. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] The above and other features, advantages and aspects of the embodiments of the present disclosure will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. Throughout the accompanying drawings, the same or similar reference numerals represent the same or similar elements. It should be understood that the drawings are schematic and that components and elements are not necessarily drawn to scale.
[0014] Figure 1 is a flow chart of some embodiments of a method for generating a user housing image based on user information identification according to the present disclosure;
[0015] Figure 2 is a schematic structural diagram of some embodiments of a user housing image generation device based on user information identification according to the present disclosure;
[0016] Figure 3 It is a schematic diagram of the structure of an electronic device suitable for implementing some embodiments of the present disclosure. DETAILED DESCRIPTION
[0017] Embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although certain embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as being limited to the embodiments set forth herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not intended to limit the scope of protection of the present disclosure.
[0018] It should also be noted that, for ease of description, only the parts related to the invention are shown in the drawings. In the absence of conflict, the embodiments and features in the embodiments of the present disclosure can be combined with each other.
[0019] It should be noted that the concepts such as "first" and "second" mentioned in the present disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.
[0020] It should be noted that the modifications of "one" and "plurality" mentioned in the present disclosure are illustrative rather than restrictive, and those skilled in the art should understand that unless otherwise clearly indicated in the context, it should be understood as "one or more".
[0021] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only used for illustrative purposes and are not used to limit the scope of these messages or information.
[0022] With regard to the collection, storage, and use of user personal information (such as user portraits and user personal information) involved in this disclosure, before performing the corresponding operations, the relevant organizations or individuals shall fulfill their obligations, including conducting personal information security impact assessments, fulfilling the obligation to inform the personal information subject, and obtaining the authorization and consent of the personal information subject in advance.
[0023] The present disclosure will be described in detail below with reference to the accompanying drawings and in conjunction with embodiments.
[0024] Figure 1 The process 100 of some embodiments of the user housing image generation method based on user information identification according to the present disclosure is shown. In practice, the user housing image generation method based on user information identification can be applied to the user housing allocation system. Among them, the above-mentioned housing allocation system may include: an information acquisition module, an information processing module, an information verification module, a user portrait generation module, an information allocation module and a user subsidy information generation module. Here, the information acquisition module can be an optical character recognition device for scanning user documents. For example, scanning the user's ID card, household registration text or income receipt, etc. The information processing module can be used to organize the collected user information to obtain the user's basic information. The information verification module can be used to perform information verification to ensure that the extracted or entered information is accurate. The user portrait generation module can be used to generate a user portrait. The information allocation module can be used to allocate the corresponding user housing subsidy information according to the user portrait. The user subsidy information generation module can be used to generate a user housing image.
[0025] The method for generating a user housing image based on user information identification comprises the following steps:
[0026] Step 101, in response to detecting an information scanning start instruction, controlling an optical character recognition device to scan a document to generate basic user information.
[0027] In some embodiments, the execution subject of the user housing image generation method based on user information recognition can control the optical character recognition device to perform document scanning in response to detecting an information scanning start instruction in a wired or wireless manner to generate user basic information. The user basic information can be the user's identity information.
[0028] As an example, user basic information may include but is not limited to at least one of the following: user name, user ID number, user address, user income data, user date of birth, user gender, etc.
[0029] It should be noted that the above-mentioned wireless connection methods may include but are not limited to 3G / 4G connection, WiFi connection, Bluetooth connection, WiMAX connection, Zigbee connection, UWB (ultra wideband) connection, and other wireless connection methods currently known or to be developed in the future.
[0030] Step 102: Perform integrity check on the user basic information to determine whether it is complete.
[0031] In some embodiments, the above-mentioned execution entity may perform an integrity check on the above-mentioned user basic information to determine whether it is complete. Among them, the user basic information may include: user identity information, user household registration information and user income information. In practice, the user income information may be a specific value of the user's income. Here, the integrity check may be to determine whether the above-mentioned user basic information includes preset attributes, and to determine whether each attribute has a corresponding attribute value. For example, the preset attributes include the user name. Then whether there is an attribute of user name in the user basic information. In addition, if there is an attribute of user name, then it can be further determined whether there is a corresponding attribute value, that is, the user name. If it is determined that each data is complete, it is determined that the integrity check has passed.
[0032] In practice, when the above method is used to generate user housing images, the following technical problems often occur: the verification of user information is not accurate enough, resulting in failure of information allocation based on incorrect user information, which requires repeated verification and allocation, occupying more computing resources. For this second problem, combined with the information verification processing related technologies, the following solution can be determined.
[0033] Step 103, in response to determining that the basic user information is complete, the basic user information is verified for accuracy through the following steps to determine whether the basic user information passes the verification:
[0034] Step 1031, performing data comparison on the user basic information to generate a data comparison result.
[0035] In some embodiments, the execution entity may perform data comparison on the user basic information to generate a data comparison result.
[0036] In some optional implementations of some embodiments, the execution subject performs data comparison on the user basic information to generate a data comparison result, which may include the following steps:
[0037] The first step is to perform format verification on the above user basic information to generate a format verification result. Among them, format verification can be to determine whether the format of each data in the above user basic information is correct. Here, the attributes of each data in the user basic information can be identified first. Then, format verification is performed according to the verification script corresponding to each attribute. If there is at least one format error in the verification, a format verification result representing the format verification error is generated. If the formats are all correct after verification, a format verification result representing that the format verification has passed is generated.
[0038] As an example, the basic user information includes ID card data. Then it can be verified whether the ID card data is 18 digits. The basic user information can also include user age data, so it can be verified whether the user age is within the preset age range.
[0039] In the second step, in response to determining that the format verification result indicates that the format verification has passed, the following comparison steps are performed:
[0040] Step 1: Send the user identity information included in the above user basic information to the preset identity database verification interface for identity information comparison and generate identity information comparison results. The preset identity database verification interface can be used to perform real-time verification on the user identity information to determine whether the user's identity information is correct. The identity information comparison result can be determined as a normal identification or an abnormal identification.
[0041] In practice, the preset identity database verification interface, the preset household registration database verification interface and the preset value database verification interface can all be authorized interfaces.
[0042] Step 2: Send the user household registration information included in the above user basic information to the preset household registration database verification interface to compare the household registration information and generate the household registration information comparison result. If the household registration information comparison is abnormal, the identification of the abnormal household registration information comparison can be determined as the household registration information comparison result. If the household registration information comparison is normal, the identification of the normal household registration information comparison can be determined as the household registration information comparison result.
[0043] Step 3: Send the user income information included in the above user basic information to the preset value database verification interface to compare the income information and generate an income information comparison result. The preset value database verification interface can be used to compare whether the income information is accurate. If the income information comparison is normal, the mark of the normal income information comparison can be determined as the income information comparison result. If the income information comparison is abnormal, the mark of the abnormal income information comparison can be determined as the income information comparison result.
[0044] Step 4, perform consistency check on the user identity information, user household registration information and user income information included in the above user basic information to generate a consistency check result. Among them, the consistency check on the user identity information, user household registration information and user income information can be to compare the user identity information, user household registration information and user income information with each other to generate a consistency check result. Specifically, the consistency check can compare the information corresponding to the same attributes in the user identity information, user household registration information and user income information to determine whether they are consistent. For example, the user identity information, user household registration information and user income information all include the user name and user ID number, so the user name and user ID number can be compared to see if they are consistent. If all are consistent, the identifier representing that the consistency check has passed is determined as the consistency check result. If there is at least one inconsistency, the identifier representing that the consistency check has failed is determined as the consistency check result.
[0045] Optionally, the user identity information, user household registration information and user income information may also be checked for consistency through a pre-set machine learning algorithm. For example, the user identity information, user household registration information and user income information may be checked for consistency through a logistic regression algorithm in a machine learning algorithm to output a check pass mark or a check fail mark. Step 5: In response to determining that the above-mentioned identity information comparison result, the above-mentioned household registration information comparison result, the above-mentioned income information comparison result and the above-mentioned consistency check result pass, a comparison mark indicating that the data comparison passes is determined as a data comparison result.
[0046] Step six, in response to determining that at least one of the above-mentioned identity information comparison results, the above-mentioned household registration information comparison results, the above-mentioned income information comparison results and the above-mentioned consistency verification results has failed, the comparison failure mark corresponding to each failed comparison result is determined as the data comparison result.
[0047] For example, if the user's ID number fails the consistency check, the corresponding identifier can be determined as the data comparison result.
[0048] The third step is to control the optical character recognition device to issue an information format error prompt in response to determining that the format verification result indicates that the format verification has not passed, and to issue a corresponding comparison abnormality prompt according to the data comparison result. The information format error prompt may be a format error prompt voice. Secondly, a corresponding abnormal prompt tone may be issued according to the comparison failure mark included in the data comparison result. For example, "ID card comparison abnormality".
[0049] Optionally, the above execution entity may further perform the following steps:
[0050] In response to determining that the data comparison result includes at least one comparison failure mark, determining that the comparison is abnormal, and sending the data corresponding to each comparison failure mark as a comparison record to the secondary comparison terminal for secondary data verification. The secondary comparison terminal can be used to generate verification abnormality reason information, and send verification failure information and verification abnormality reason information to the corresponding user terminal. Here, the verification abnormality reason information may include text information corresponding to each verification failure mark. For example, if the ID card comparison is abnormal, the text information in the corresponding abnormal verification reason information may be: "ID card number is not uniform".
[0052] In practice, the secondary comparison terminal can be a manual review terminal or an automated terminal for performing the above verification steps again. The secondary data verification is to verify the user's basic information again.
[0053] As an example, if the secondary comparison terminal can be a manual review terminal, then for users who fail the automatic verification, a manual review process can be introduced, and professional reviewers can conduct detailed inspections and processing of abnormal situations to ensure the fairness and accuracy of the system. Feedback and notification: Feedback the verification results to the user. For users who pass the verification, notify them of the next application process; for users who fail the verification, notify them of the specific abnormal reasons and provide guidance for resubmitting materials.
[0054] Step 1032, in response to determining that the data comparison result is normal, determine that the verification is passed.
[0055] In some embodiments, the execution entity may determine that the verification has passed in response to determining that the data comparison result is normal.
[0056] The above steps 102-103 and their related contents, as an inventive point of an embodiment of the present disclosure, solve the second technical problem mentioned in the background technology, "the verification of user information is not accurate enough, resulting in the failure of information allocation based on incorrect user information, thus, repeated verification and allocation are required, and more computing resources are occupied". The factors that lead to the occupation of more computing resources are often as follows: the verification of user information is not accurate enough, resulting in the failure of information allocation based on incorrect user information, thus, repeated verification and allocation are required. If the above factors are solved, unnecessary repeated verification and allocation can be avoided, and the purpose of reducing the occupation of computing resources can be achieved. In order to achieve this effect, first, through format verification, it can be ensured that the format of the entered user information is correct. In this way, the situation of repeated verification due to format errors is initially avoided. Then, through the above comparison steps, each item of data in the user basic information can be compared and verified separately. In this way, it can be used to ensure the accuracy of each item of data in the user basic information. Then, in order to avoid data inconsistency between different items in the user basic information, consistency verification is performed again to ensure that the data between different items correspond to each other. In addition, if the verification fails, a secondary data verification can be performed through a secondary comparison terminal to facilitate the location of abnormal problems and re-enter data. Thus, the accuracy of the user's basic information can be ensured, unnecessary repeated verification and allocation can be avoided, and the purpose of reducing computing resource usage can be achieved.
[0057] Step 104, in response to the verification being passed, a user portrait is generated based on the user's basic information.
[0058] In some embodiments, the above-mentioned execution entity can generate a user portrait based on the above-mentioned user basic information in response to the verification being passed.
[0059] In some optional implementations of some embodiments, the execution subject generates a user portrait based on the user basic information, which may include the following steps:
[0060] The first step is to extract the user ID number from the above user basic information as the user portrait number. The attribute value corresponding to the user ID number can be indexed from the user basic information as the user portrait number.
[0061] In the second step, using the above-mentioned user portrait number as an index, a user portrait label framework is established according to the preset user portrait category group. Among them, the above-mentioned user portrait category group may include user portrait categories corresponding to user basic information, user household registration information, user value information and user subsidy information respectively. The above-mentioned user portrait label framework may be a label list corresponding to each user portrait category in the above-mentioned user portrait category group. The label list may include user category labels corresponding to each user portrait category. Here, the user portrait category corresponding to the user subsidy information in the user portrait category group can be filled into the user portrait again after the user housing subsidy information is generated. Specifically, the user portrait can represent a set of labels corresponding to the user information. The user portrait label framework can be composed of multiple labels in the form of key-value pairs. Different user portrait categories can correspond to at least one label of the same category. Each user category label can correspond to an item of information of the user.
[0062] The third step is to extract the user's basic information, user household registration information and user value information from the above basic information. Among them, index extraction can be performed according to the attributes of the information. For example, extract the user's name, user date of birth, and user ID number from the user's basic information. Extract the user's address from the user's household registration information. Extract the user's income value from the user's value information.
[0063] In the fourth step, the user basic information, the user household registration information and the user value information are respectively filled into the corresponding user category label in the user portrait label framework as label attribute values to obtain a user portrait. The obtained user portrait can be stored.
[0064] In practice, by establishing user portraits, basic user information can be structured, which makes it easier to carry out targeted allocation based on user portraits, reduce redundant features, and reduce the space occupied by user information storage.
[0065] Step 105, assigning corresponding user housing subsidy information to the user basic information according to the user portrait and the preset initial housing map and initial allocation condition set.
[0066] In some embodiments, the above-mentioned execution entity can allocate corresponding user housing subsidy information to the above-mentioned user basic information based on the above-mentioned user portrait and the preset initial housing map and initial allocation condition set.
[0067] In some optional implementations of some embodiments, the execution subject allocates corresponding user housing subsidy information to the user basic information according to the user portrait and the preset initial housing map and the initial allocation condition set, which may include the following steps:
[0068] The first step is to generate a user household registration allocation value and a user income allocation value based on the above user portrait. First, the allocation value that matches the user address in the user portrait can be selected from the pre-set household registration allocation table as the user household registration allocation value. Here, the household registration allocation table can be a form pre-selected by region. Different regional identifiers in the form correspond to different allocation values. Thus, the allocation value corresponding to the area where the user address is located can be selected. Secondly, the allocation value corresponding to the user income value in the user portrait can be selected from the pre-set user income allocation table as the user income allocation value. Here, the user income allocation table can be a form pre-divided by income range. Different income ranges can correspond to different allocation values.
[0069] The second step is to generate a user allocation level identifier based on the user household registration allocation value and the user income allocation value. The user household registration allocation value and the user income allocation value may be weighted and summed to obtain a target allocation value. Then, the allocation level identifier corresponding to the allocation interval where the target allocation value is located is determined from the pre-divided level allocation table to obtain the user allocation level identifier.
[0070] The third step is to generate targeted subsidy information based on the user profile and the initial allocation condition set. The initial allocation condition in the initial allocation condition set is an allocation strategy condition set for all users. For example, the initial allocation condition may be: belonging to an older family, belonging to a low-income family, etc. Secondly, it can be determined whether the user profile meets at least one of the initial allocation conditions in the initial allocation condition set. If so, the subsidy information corresponding to the initial allocation condition that is met can be determined as the targeted subsidy information corresponding to the user profile.
[0071] In practice, the targeted subsidy information may be personal subsidy information set for the user corresponding to the above user profile. The personal subsidy information may include the data and time of providing subsidy to the user.
[0072] In the fourth step, in response to determining that the user allocation level identifier satisfies the preset level condition, the corresponding user housing allocation information is allocated to the user basic information according to the initial housing map. The initial housing map may be a three-dimensional map including the housing area to be allocated. There may be multiple houses to be allocated in the housing area to be allocated. The user housing allocation information may include a housing allocation identifier. The housing allocation identifier uniquely corresponds to a housing coordinate to be allocated in the initial housing map to represent a corresponding housing to be allocated. Here, the coordinates of the housing to be allocated can be randomly selected from the coordinates of the housing to be allocated that are closest to the selected coordinates of the housing to be allocated in the initial housing map as the user housing allocation information.
[0073] The fifth step is to determine the above-mentioned targeted subsidy information and the above-mentioned user housing allocation information as user housing subsidy information.
[0074] Step 106, rendering the user housing subsidy information and the initial housing map to generate a bird's-eye view of the user's housing, and sending the bird's-eye view of the user's housing to the user terminal for update and display.
[0075] In some embodiments, the execution entity may render the user housing subsidy information and the initial housing map to generate a bird's-eye view of the user's housing, and send the user's housing bird's-eye view to the user terminal for update and display.
[0076] In some optional implementations of some embodiments, the execution subject renders the user housing subsidy information and the initial housing map to generate a bird's-eye view of the user's housing, which may include the following steps:
[0077] In the first step, the coordinates of the housing to be allocated corresponding to the housing allocation identifier in the housing subsidy information of the user in the initial housing map are rendered to change the allocation status of the housing to be allocated to the allocated status, thereby obtaining a rendered housing map. Each housing area to be allocated corresponds to the allocated status or the to-be-allocated status. Rendering the coordinates of the housing to be allocated may be color-marking the positions of the coordinates of the housing to be allocated in the initial housing map to distinguish the different allocation statuses of the coordinates of the housing to be allocated.
[0078] The second step is to bind the user housing subsidy information and the user portrait to the corresponding coordinates of the housing to be allocated in the rendered housing map to obtain a bird's-eye view of the user's housing. The information corresponding to the coordinates of the housing to be allocated in the user's housing bird's-eye view is encrypted information. Here, the binding process can be to establish a jump link between the coordinates of the housing to be allocated and the user housing subsidy information and the user portrait, so that the user information can be viewed from the user's housing bird's-eye view if the user has the permission to view it. Specifically, in order to avoid leakage of user information, the stored user information is encrypted.
[0079] In practice, generating a bird's-eye view of the user's housing can facilitate visualization of the allocation results.
[0080] Optionally, the above execution entity may further perform the following steps:
[0081] In response to determining that the user basic information is incomplete, the optical character recognition device issues an information supplement scanning prompt to obtain the user basic information again. The information supplement scanning prompt may correspond to the missing information in the user basic information. The information supplement scanning prompt may include prompting the user to re-enter the user identity information, user household registration information and / or user income information.
[0082] The above-mentioned embodiments of the present disclosure have the following beneficial effects: through the user housing image generation method based on user information recognition of some embodiments of the present disclosure, the system delay can be reduced and the system jamming can be avoided, and the system crash can be avoided. Specifically, the reason for the system crash and the difficulty in generating images is that although the housing information is assigned to users only through face recognition technology, the processing efficiency can be improved, but it is easy to have the situation of allocation errors, and the generation of housing images requires strict allocation, which is often difficult to achieve the effective purpose. After entering all the user information involved, unified adjustment is required, which requires a large amount of computing resources at the same time, resulting in system jamming and delay. Based on this, the user housing image generation method based on user information recognition of some embodiments of the present disclosure, first, by associating with an optical character recognition device, the user information scanned and identified by the device can be obtained in real time. Therefore, the user housing image can be generated in real time according to the user information. Here, in order to avoid abnormalities in the obtained user information, steps such as integrity verification and accuracy verification are also performed to ensure that the obtained user information is verified correctly. Then, by generating a user portrait, it can be used to remove redundant user information so as to more accurately locate the features in the user information. Therefore, it can be used to allocate corresponding user housing subsidy information to the user according to the user portrait. Therefore, a user portrait can be generated without face recognition. Data verification steps such as integrity verification and accuracy verification are also performed, so that the accuracy of the data can be strictly determined, so as to facilitate the strict allocation of housing information. In addition, by introducing the initial housing map, it can be used to associate and merge user information, user housing subsidy information and the initial housing map to generate a bird's-eye view of the user's housing. This makes it convenient for the user to intuitively determine the location of the allocated housing from the picture displayed by the user terminal. Through the above implementation method, it can be used to scan the user information in turn and generate the corresponding user housing subsidy information, and at the same time realize the generation of user housing images. Therefore, the situation of unified adjustment after entering all the user information involved can be greatly avoided. Furthermore, system delays can be reduced, system freezes can be avoided, and system crashes can be avoided.
[0083] Further references Figure 2 As an implementation of the methods shown in the above figures, the present disclosure provides some embodiments of a user housing image generation device based on user information recognition, and these device embodiments are Figure 1Corresponding to the method embodiments shown, the device can be specifically applied to various electronic devices.
[0084] like Figure 2 As shown, in some embodiments, the user housing image generation device 200 based on user information identification includes: a control scanning unit 201, an integrity verification unit 202, an accuracy verification unit 203, a generation unit 204, an information distribution unit 205, and an image rendering and sending unit 206. The control scanning unit 201 is configured to control the optical character recognition device to perform document scanning in response to detecting an information scanning start instruction to generate user basic information, wherein the document scanning includes identity document recognition, household registration text scanning recognition, and income document scanning recognition; the integrity verification unit 202 is configured to perform integrity verification on the above-mentioned user basic information to determine whether it is complete, wherein the user basic information includes: user identity information, user household registration information, and user income information; the accuracy verification unit 203 is configured to perform accuracy verification on the above-mentioned user basic information in response to determining that the above-mentioned user basic information is complete through the following steps to determine whether the above-mentioned user basic information is verified. By: performing data comparison on the above user basic information to generate a data comparison result; in response to determining that the above data comparison result is normal, determining that the verification is passed; the generation unit 204 is configured to generate a user portrait based on the above user basic information in response to the verification being passed; the information allocation unit 205 is configured to allocate corresponding user housing subsidy information to the above user basic information according to the above user portrait and a preset initial housing map and an initial allocation condition set; the image rendering and sending unit 206 is configured to render the above user housing subsidy information and the above initial housing map to generate a bird's-eye view of the user's housing, and send the above user housing bird's-eye view to the user terminal for update and display.
[0085] It is understood that the units described in the device 200 are similar to those described in the reference Figure 1 Therefore, the operations, features and beneficial effects described above for the method are also applicable to the device 200 and the units included therein, and will not be described in detail here.
[0086] Reference below Figure 3 , which shows a structural schematic diagram of an electronic device (eg, a computing device) 300 suitable for implementing some embodiments of the present disclosure. Figure 3 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0087] like Figure 3As shown, the electronic device 300 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 301, which can perform various appropriate actions and processes according to a program stored in a read-only memory 302 or a program loaded from a storage device 308 into a random access memory 303. Various programs and data required for the operation of the electronic device 300 are also stored in the random access memory 303. The processing device 301, the read-only memory 302, and the random access memory 303 are connected to each other via a bus 304. An input / output interface 305 is also connected to the bus 304.
[0088] Typically, the following devices may be connected to the I / O interface 305: input devices 306 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 307 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 308 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 309. The communication devices 309 may allow the electronic device 300 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 3 The electronic device 300 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 3 Each block shown in the figure may represent one device, or may represent multiple devices as required.
[0089] In particular, according to some embodiments of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, some embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In some such embodiments, the computer program can be downloaded and installed from the network through the communication device 309, or installed from the storage device 308, or installed from the read-only memory 302. When the computer program is executed by the processing device 301, the above-mentioned functions defined in the method of some embodiments of the present disclosure are executed.
[0090] It should be noted that the computer-readable medium recorded in some embodiments of the present disclosure may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, 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 above. In some embodiments of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, device or device. In some embodiments of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. This propagated data signal may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0091] In some embodiments, the client and the server may communicate using any currently known or future developed network protocol such as HTTP (Hyper Text Transfer Protocol), and may be interconnected with 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"), an internet (e.g., the Internet), and a peer-to-peer network (e.g., an ad hoc peer-to-peer network), as well as any currently known or future developed network.
[0092] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device. The computer-readable medium carries one or more programs. When the one or more programs are executed by the electronic device, the electronic device: in response to detecting an information scanning start instruction, controls the optical character recognition device to perform file scanning to generate user basic information, wherein the file scanning includes identity document recognition, household registration text scanning recognition and income document scanning recognition; performs integrity verification on the user basic information to determine whether it is complete, wherein the user basic information includes: user identity information, user household registration information and user income information; in response to determining that the user basic information is complete, performs accuracy verification on the user basic information through the following steps to determine whether the user basic information passes the verification: performs data comparison on the user basic information to generate a data comparison result; in response to determining that the data comparison result is normal, determines that the verification passes; in response to passing the verification, generates a user portrait based on the user basic information; according to the user portrait and the preset initial housing map and the initial allocation condition set, allocates corresponding user housing subsidy information to the user basic information; renders the user housing subsidy information and the initial housing map to generate a user housing bird's-eye view, and sends the user housing bird's-eye view to the user terminal for update and display.
[0093] Computer program code for performing the operations of some embodiments of the present disclosure may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0094] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0095] The units described in some embodiments of the present disclosure may be implemented by software or hardware. The units described may also be set in a processor, for example, it may be described as: a processor includes a control scanning unit, an integrity check unit, an accuracy check unit, a generation unit, an information distribution unit, an image rendering and a sending unit. The names of these units do not constitute a limitation on the units themselves in some cases. For example, the control scanning unit may also be described as a "unit for controlling an optical character recognition device to perform document scanning."
[0096] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0097] The above descriptions are only some preferred embodiments of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the embodiments of the present disclosure is not limited to the technical solutions formed by a specific combination of the above-mentioned technical features, but should also cover other technical solutions formed by any combination of the above-mentioned technical features or their equivalent features without departing from the above-mentioned inventive concept. For example, the above-mentioned features are replaced with the technical features with similar functions disclosed in the embodiments of the present disclosure (but not limited to) and the technical solutions formed.
Claims
1. A method for generating a user housing image based on user information recognition, comprising: In response to detecting an information scanning start instruction, controlling the optical character recognition device to scan a document to generate basic user information, wherein the document scanning includes identity document recognition, household registration text scanning recognition, and income receipt scanning recognition; Performing integrity check on the basic user information to determine whether it is complete, wherein the basic user information includes: user identity information, user household registration information and user income information; In response to determining that the basic user information is complete, the basic user information is verified for accuracy through the following steps to determine whether the basic user information passes the verification: Performing data comparison on the user basic information to generate a data comparison result; In response to determining that the data comparison result is normal, determining that the verification is passed; In response to the verification being passed, generating a user portrait based on the user basic information; According to the user portrait and the preset initial housing map and initial allocation condition set, corresponding user housing subsidy information is allocated to the user basic information; The user housing subsidy information and the initial housing map are rendered to generate a bird's-eye view of the user's housing, and the user's housing bird's-eye view is sent to the user terminal for update and display.
2. The method according to claim 1, wherein: The method further comprises: In response to determining that the user basic information is incomplete, an information supplement scanning prompt is issued through the optical character recognition device to obtain the user basic information again, wherein the information supplement scanning prompt corresponds to the missing information in the user basic information, and the information supplement scanning prompt includes prompting the user to re-enter the user identity information, user household registration information and / or user income information.
3. The method according to claim 1, wherein: The performing data comparison on the user basic information to generate a data comparison result includes: Performing format verification on the user basic information to generate a format verification result; In response to determining that the format verification result indicates that the format verification has passed, performing the following comparison steps: Sending the user identity information included in the user basic information to a preset identity database verification interface for identity information comparison, and generating an identity information comparison result; Sending the user household registration information included in the user basic information to a preset household registration database verification interface for household registration information comparison, and generating a household registration information comparison result; Sending the user income information included in the user basic information to the preset value database verification interface to compare the income information and generate an income information comparison result; Performing consistency check on the user identity information, user household registration information and user income information included in the user basic information to generate a consistency check result; in response to determining that the identity information comparison result, the household registration information comparison result, the income information comparison result and the consistency check result pass, determining a comparison identifier indicating that the data comparison passes as the data comparison result; In response to determining that at least one of the identity information comparison result, the household registration information comparison result, the income information comparison result and the consistency check result has failed, determining a comparison failure mark corresponding to each failed comparison result as a data comparison result; In response to determining that the format verification result indicates that the format verification has failed, the optical character recognition device is controlled to issue an information format error prompt, and a corresponding comparison abnormality prompt is issued according to the data comparison result.
4. The method according to claim 3, wherein: The method further comprises: In response to determining that the data comparison result includes at least one comparison failure mark, determining a comparison abnormality, and sending the data corresponding to each comparison failure mark as a comparison record to a secondary comparison terminal for secondary data verification, wherein the secondary comparison terminal is used to generate verification abnormality cause information, and send the verification failure information and verification abnormality cause information to the corresponding user terminal.
5. The method according to claim 1, wherein: The generating a user portrait based on the user basic information includes: Extracting the user ID number from the user basic information as the user portrait number; Using the user portrait number as an index, a user portrait label framework is established according to a preset user portrait category group, wherein the user portrait category group includes user portrait categories corresponding to user basic information, user household registration information, user value information, and user subsidy information, respectively, and the user portrait label framework includes a label list corresponding to each user portrait category in the user portrait category group, and the label list includes user category labels corresponding to each user portrait category; Extracting user basic information, user household registration information and user value information from the basic information; The user basic information, the user household registration information and the user value information are respectively filled into the corresponding user category label in the user portrait label framework as label attribute values to obtain a user portrait.
6. A device for generating a user housing image based on user information recognition, comprising: A control scanning unit is configured to control the optical character recognition device to perform document scanning to generate basic user information in response to detecting an information scanning start instruction, wherein the document scanning includes identity document recognition, household registration text scanning recognition, and income document scanning recognition; an integrity checking unit, configured to perform integrity checking on the user basic information to determine whether it is complete, wherein the user basic information includes: user identity information, user household registration information and user income information; The accuracy verification unit is configured to, in response to determining that the user basic information is complete, perform accuracy verification on the user basic information through the following steps to determine whether the user basic information passes the verification: Performing data comparison on the user basic information to generate a data comparison result; In response to determining that the data comparison result is normal, determining that the verification is passed; A generating unit, configured to generate a user portrait based on the user basic information in response to the verification being passed; An information allocation unit is configured to allocate corresponding user housing subsidy information to the user basic information according to the user portrait and a preset initial housing map and an initial allocation condition set; The image rendering and sending unit is configured to render the user housing subsidy information and the initial housing map to generate a bird's-eye view of the user's housing, and send the user's housing bird's-eye view to the user terminal for update and display.
7. An electronic device comprising: one or more processors; a storage device having one or more programs stored thereon, When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 5.
8. A computer readable medium having a computer program stored thereon, wherein: When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
MySQL based real estate sales management system
CN106447550A
Room allocation determination method and terminal
CN106651671A
House source information acquisition method and device, storage medium and server
CN108985876A
Method and device for pushing information
CN110619078A
Systems and methods relating to the authenticity and verification of photographic identity documents
US20150341370A1
