Family tree information display method based on two-dimensional code and related device
By using a QR code-based family tree information display method, users can directly access a visual family tree interface by scanning a QR code to view family tree information. This solves the problem of existing systems requiring login to view information, achieves a natural connection between the physical and digital interfaces, and reduces user complexity.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHENZHEN PU CHUAN CHUAN CULTURE TECHNOLOGY CO LTD
- Filing Date
- 2026-05-22
- Publication Date
- 2026-07-31
AI Technical Summary
Existing electronic genealogy systems rely on separate databases or applications, requiring users to actively log in to view relevant information. This lack of seamless integration with physical genealogies increases the complexity for users.
By using a QR code-based genealogy information display method, in response to the QR code scanning operation associated with the user node, users are directly redirected to a visual genealogy interface, which displays the user node's name, generation number, a brief table of direct relatives, and a biographical summary, thus achieving a direct mapping between the physical carrier and the digital interface.
Users can view genealogy information without actively logging into the platform, reducing the complexity of use and achieving a seamless connection between physical genealogies and digital interfaces.
Smart Images

Figure CN122489028A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of QR codes, and more particularly to a method, apparatus, device, storage medium, and product for displaying genealogy information based on QR codes. Background Technology
[0002] With the development of digital technology, people have begun to digitize traditional family genealogies to improve their accessibility and interactivity. However, most common electronic family genealogy systems rely on independent databases or applications, requiring users to actively log in to view relevant information. This lack of seamless integration with physical family genealogies increases the complexity for users. Summary of the Invention
[0003] The main purpose of this application is to provide a method, device, equipment, storage medium and product for displaying family genealogy information based on QR codes, which aims to solve the technical problem that existing simulation platforms do not support modeling of heterogeneous device behavior or simulation of behavior changes, making it difficult to verify the real effect of adaptive algorithms.
[0004] To achieve the above objectives, this application proposes a method for displaying genealogy information based on QR codes, the method comprising: In response to a simulation execution request, a communication process is run in the functional proxy device node and the simulation virtual environment to obtain a communication result. The functional proxy device node includes a static behavior node and a dynamic behavior node, and the dynamic behavior node can adaptively adjust the communication parameters. The communication results are visualized in a graphical interface.
[0005] In one embodiment, the step of running the communication process in the functional proxy device node and the simulated virtual environment in response to the simulation execution request, and obtaining the communication result, includes: Obtain the initial simulation environment, perform initial configuration on the initial simulation environment, and obtain the configured simulation virtual environment; Access the encapsulated simulation context in the simulated virtual environment, and create a functional proxy device node based on the simulation context; Based on the node type of the functional proxy device node, a corresponding behavior policy is assigned to the functional proxy device node, wherein the behavior policy is used to determine the communication parameters of the functional proxy device node.
[0006] In one embodiment, the steps of obtaining an initial simulation environment, initially configuring the initial simulation environment, and obtaining a configured simulation virtual environment include: Load the shared environment configuration file in the simulation virtual environment to obtain the simulation virtual environment containing general simulation parameters, wherein the shared environment configuration file is used to manage the core parameters of the network physical layer and MAC layer in the initial simulation environment; The parameters in the shared environment configuration file are encapsulated into a simulation context.
[0007] In one embodiment, the step of running a communication process in the functional proxy device node and the simulation virtual environment in response to a simulation execution request, and obtaining a communication result, includes: The communication parameters are determined based on the behavior policy corresponding to the functional agent device node; Based on the communication parameters, the sending request is sent to the simulated virtual environment through the functional proxy device node; When the simulated virtual environment receives the sending request, it sends an acknowledgment message to the functional agent device node, and when the functional agent device node receives the acknowledgment message, it generates a communication result based on the indicator data during the communication process.
[0008] In one embodiment, the step of sending a request to the simulated virtual environment via the functional proxy device node according to the communication parameters includes: The sending request is attenuated using the propagation model in the simulated virtual environment, and the attenuated sending request is sent to the gateway of the simulated virtual environment. Calculate the signal-to-noise ratio of the transmitted signal reaching the gateway; Determine whether the signal-to-noise ratio is greater than the threshold value corresponding to the spreading factor in the transmitted signal; If it is greater than 1, then determine whether there is a channel conflict. If it does not exist, the sending request is received through the gateway.
[0009] In one embodiment, the step of sending an acknowledgment message to the functional proxy device node when the simulated virtual environment receives the sending request, and generating a communication result based on the indicator data during the communication process when the functional proxy device node receives the acknowledgment message, includes: When the simulated virtual environment receives the sending request, it sends an acknowledgment message in the receiving window of the functional agent device node; If the functional agent device node does not receive the confirmation information within the receiving window, the communication parameters are adaptively adjusted through the behavior strategy corresponding to the dynamic behavior node. Until the functional agent device node receives the confirmation information, it generates a communication result based on the indicator data during the communication process.
[0010] Furthermore, to achieve the above objectives, this application also proposes a QR code-based genealogy information display device, which includes: The running module is used to respond to the simulation execution request, run the communication process in the functional proxy device node and the simulation virtual environment, and obtain the communication result. The functional proxy device node includes static behavior nodes and dynamic behavior nodes, and the dynamic behavior nodes can adaptively adjust the communication parameters. The display module is used to visualize the communication results in a graphical interface.
[0011] In addition, to achieve the above objectives, this application also proposes a QR code-based genealogy information display device, the device comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the QR code-based genealogy information display method described above.
[0012] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the QR code-based genealogy information display method described above.
[0013] In addition, to achieve the above objectives, this application also provides a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the QR code-based genealogy information display method described above.
[0014] One or more technical solutions proposed in this application have at least the following technical effects: In contrast to related technologies, common electronic genealogy systems often rely on independent databases or applications, requiring users to actively log in to view relevant information. This lack of seamless integration with physical genealogies increases user complexity. This application, however, responds to the scanning of a QR code associated with a first user node, redirecting to a visual genealogy interface corresponding to that user node. This visual genealogy interface displays a simplified visual genealogy diagram of the first user node, rendered based on genealogy information, which includes at least the user node's name, generation number, a simplified table of direct kinship, and a biographical summary. This application only requires scanning the QR code associated with the first user node to access the visual genealogy interface, which includes the simplified visual genealogy diagram. Since the simplified diagram is rendered based on genealogy information, it includes at least the first user node's name, generation number, simplified table of direct kinship, and biographical summary. Users do not need to actively log in to view this information, reducing user complexity. Attached Figure Description
[0015] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0016] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0017] Figure 1 This is a flowchart illustrating Embodiment 2 of the method for displaying family genealogy information based on QR codes in this application; Figure 2 This is a schematic diagram of the module structure of the QR code-based genealogy information display device according to an embodiment of this application; Figure 3 This is a schematic diagram of the device structure of the hardware operating environment involved in the QR code-based family tree information display method in the embodiments of this application.
[0018] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation
[0019] It should be understood that the specific embodiments described herein are merely illustrative of the technical solutions of this application and are not intended to limit this application.
[0020] To better understand the technical solution of this application, a detailed description will be provided below in conjunction with the accompanying drawings and specific implementation methods.
[0021] The main solution of this application embodiment is: in response to the scanning operation of the QR code associated with the first user node, jump to the visual genealogy interface corresponding to the first user node, wherein the visual genealogy interface displays a visual genealogy diagram corresponding to the first user node, the visual genealogy diagram is rendered based on genealogy information, and the genealogy information includes at least the name, generation number, direct kinship table and biographical summary of the first user node.
[0022] Most common electronic genealogy systems rely on independent databases or applications, requiring users to actively log in to view relevant information. This lack of a natural connection with physical genealogies increases the complexity for users.
[0023] This application only requires scanning the QR code associated with the first user node to obtain the visualized family tree interface corresponding to the first user node. This interface includes a visualized family tree diagram corresponding to the first user node. Since the visualized family tree diagram is rendered based on the family tree information, it includes at least the name, generation number, direct kinship table, and biographical summary of the first user node. Users do not need to actively log in to the platform to view relevant information, which reduces the complexity of use for users.
[0024] It should be noted that the executing entity in this embodiment can be a computing service device with data processing, network communication, and program execution functions, such as a tablet computer, personal computer, or mobile phone, or an electronic device or genealogy information display device capable of performing the above functions. The following description uses a genealogy information display device as an example to illustrate this embodiment and the subsequent embodiments.
[0025] Based on this, embodiments of this application provide a method for displaying family tree information based on QR codes, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the QR code-based family tree information display method of this application.
[0026] In this embodiment, the method for displaying genealogy information based on QR codes includes step S10: Step S10: In response to the scanning operation of the QR code associated with the first user node, the user is redirected to the visual genealogy interface corresponding to the first user node. The visual genealogy interface displays a simplified visual genealogy diagram corresponding to the first user node. The simplified visual genealogy diagram is rendered based on genealogy information, which includes at least the name, generation number, simplified table of direct relatives, and biographical summary of the first user node.
[0027] It should be noted that the execution entity in this embodiment is a genealogy information display device. The first user node is a data node uniquely identified in the genealogy relationship graph database and corresponding to a specific family member. This node contains the member's complete attributes and all relationship links within the genealogy. A QR code is a graphical identifier printed or displayed on a physical medium (such as a paper genealogy) or electronic medium, and is encrypted. This code embeds a unique identifier pointing to the first user node and a network service entry address, serving as the entry medium for accurate addressing from the physical medium to a specific digital node. The visualized genealogy interface is a specific graphical user interface within the application, whose layout and interaction design are specifically designed to present structured genealogy information. A visualized genealogy diagram refers to a simplified and intuitive graphical representation of genealogy information.
[0028] Understandably, the genealogy information display device uses a program that can scan QR codes to scan the QR code associated with the first user node. After the program decodes the code, it immediately sends a request to the server. After verification, the server returns the core genealogy data corresponding to the first user node. After receiving the data, the program automatically switches to a new full-screen interface, which dynamically renders a miniature genealogy tree centered on the first user node. The tree connects to the previous generation node and to the next generation node, thus presenting the connection relationship of three generations, and the relationship is indicated by simple lines.
[0029] In this implementation, by establishing a direct mapping chain between physical QR codes, digital user nodes, and a visual interface, a "one-click access" experience is achieved, allowing for instant location and access to the digital archives of specific members from paper genealogies. This solves the problem of inefficient manual searching through complex genealogies.
[0030] Based on the first embodiment of this application, in the second embodiment of this application, the content that is the same as or similar to that in the first embodiment described above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 1 After step S10, the method for displaying genealogy information based on QR codes further includes steps S01 to S05: Step S01: In response to a click operation on the microphone module in the visualized family tree diagram, collect voice data; It should be noted that the microphone module refers to a graphical interactive element integrated into the visualized genealogy interface, typically designed as a microphone icon. The genealogy information display device directly integrates a voice trigger entry into the display interface of the visualized genealogy diagram. When users see the genealogy relationship diagram, if they intend to learn more, they can directly initiate a voice query by clicking the prominent microphone icon on the screen without leaving the current interface or searching for a hidden menu, and the device can then collect voice data.
[0031] Step S02: Extract features from the voice data to obtain semantic features, wherein the semantic features include query intent and target object description; Understandably, query intent represents the type of operation a user wants the system to perform or the type of information they expect to obtain, such as "query biographical narrative," "view detailed relationships," "display historical images," or "add information notes." Target object description represents the specific family member the user is querying. It could be a specific name entity or a descriptive term based on kinship with the currently known first user node, such as "my grandfather" or "my father's brother." The genealogy information display device uses deep, structured semantic decoding of the voice data to parse it into discretized, structured semantic features containing both "operation type" (query intent) and "operation object" (target object description).
[0032] For example, the device collects the voice data of the user saying, "Tell me about my grandfather's life when he was young." After the "feature extraction" process in this step, the generated "semantic features" are a structured data object. The "query intent" field is identified and assigned the value "querying biographical narrative," indicating that the user wants a narrative-style biographical introduction. The "target object description" field is parsed into an expression containing a relationship path: {relation: "grandfather", anchor: "first user node (Li Hua)"}, which indicates that the query object is the "grandfather" relative to "Li Hua" himself. This structured semantic feature will directly drive the system to locate the specific "grandfather" node in the family tree in the next step.
[0033] Step S03: Locate the second identity node corresponding to the description of the target object; It should be noted that the genealogy information display device performs a series of query, matching, or traversal algorithms in the genealogy relationship graph database based on the structured or semi-structured target object description information in order to locate and return one or more family member data nodes that meet the conditions.
[0034] Step S04: Calculate the kinship relationship parameters between the first identity node and the second identity node; Understandably, kinship parameters describe the kinship characteristics between two nodes. The genealogy information display device transforms abstract, complex, and socio-culturally rich kinship relationships into a quantitative indicator system that can be precisely processed and logically judged by machines. By calculating kinship parameters, the system can accurately understand the social relationship positioning between "who I am" and "who I am searching for," for example, clarifying whether the searcher is the target's "grandchild," "nephew," or "cousin."
[0035] Step S05: Based on the kinship parameters, generate personalized narrative text for the second identity node.
[0036] It should be noted that the genealogy information display device uses the quantitative parameters (kinship parameters) calculated in the previous steps, which represent social relationships and emotional distance, as control variables input into the content generation engine to dynamically adjust the selection of narrative content, level of detail, tone of expression, and emotional color, thereby obtaining personalized narrative text.
[0037] In one feasible implementation, step S03 includes: Determine whether the first voiceprint biometric feature matches the second voiceprint biometric feature corresponding to the first user node; Understandably, the first voiceprint biometric feature is a feature vector extracted in real time from the currently collected voice data containing user query commands, representing the uniqueness of the current speaker's voice. The second voiceprint biometric feature is a voiceprint feature template that is pre-collected through a legitimate process during user registration or historical use, securely stored in the system, and strongly bound to the first user node, representing the voiceprint baseline of the legitimate user of that node. If the similarity score (such as cosine similarity) between the two voiceprint feature vectors calculated by the genealogy information display device is greater than the system's set safety threshold, then statistically, it is determined that the current speaker and the pre-stored voiceprint template belong to the same individual.
[0038] If a match is found, the second identity node corresponding to the description of the target object is located.
[0039] It should be noted that the genealogy information display device will only search for the second identity node based on the target object description after the voiceprint comparison is completed and the result is a match.
[0040] In one feasible implementation, the step of finding the second identity node corresponding to the target object description includes: Based on the target object description, determine whether there is a matching user node in the visualized family tree diagram; Understandably, the genealogy information display device uses the target object description field from the semantic features extracted from the voice data as input conditions or judgment criteria to execute a matching or search logic. It compares the target object description with the user node information already rendered and displayed in the current visualized genealogy diagram to determine if a corresponding node exists. By first performing a fast matching check in the locally loaded simplified genealogy data (the data corresponding to the visualized genealogy diagram), it provides an efficient and low-latency query response path. Since the visualized genealogy diagram typically only contains limited information such as the most relevant immediate family members, this judgment can be completed immediately on the terminal device without initiating a network request to the server. If a matching node is found in the diagram, subsequent operations (such as highlighting or providing shortcuts) can be performed immediately based on that node, thereby optimizing the user experience.
[0041] If it does not exist, a query request is generated based on the identifier of the first identity node and the description of the target object, and the query request is sent to the cloud so that the cloud can determine the first identity node in the preset family tree based on the identifier, and perform path search based on the search logic corresponding to the target object description, starting from the first identity node, to determine the identifier of the target object description, and return the identifier corresponding to the target object description to the user. It should be noted that the preset family tree includes nodes, attributes, and complex kinship edges of all recorded family members. The search logic refers to the semantics of the target object's description, invoking pre-defined graph traversal rules or algorithms that match that description. For example, for an uncle, the search logic might be to find the brother node of the current node's mother. When the local simplified graph cannot meet the query requirements, the family tree information display device sends the primary identity node identifier along with the target relationship description to the cloud. This allows the cloud to perform complex relationship reasoning within a defined context (centered on a specific member). Based on the semantics of the target object's description, the cloud invokes pre-defined graph traversal rules that match the description to perform path searching and ultimately determine the unique node identifier representing the target object in the preset family tree. This node identifier is then returned to the user for all subsequent operations targeting that target object.
[0042] The second identity node is determined based on the identifier corresponding to the target object description.
[0043] It is understandable that after receiving or possessing the target identifier, the genealogy information display device will parse, map, and instantiate the identifier into a complete and operable data object by accessing the local cache or initiating a secondary verification request to the server. This data object is the second identity node.
[0044] In one feasible implementation, the step of calculating the kinship parameter between the first identity node and the second identity node includes: Obtain detailed location information corresponding to the first identity node and the second identity node respectively; It should be noted that the detailed location information refers to structured data obtained from a genealogical relationship graph database, describing the precise topological connections between the first and second identity nodes in the graph. This information defines the unique position of each node in the graph, the connecting edges between nodes, and the types of kinship relationships these edges represent (such as father and son, brothers), forming the complete data foundation for analyzing kinship, generation, and relationship paths. The genealogical information display device uses structured data obtained from the genealogical relationship graph database to describe the precise topological connections between the first and second identity nodes in the graph.
[0045] Based on the detailed location information, the kinship distance and generation difference are calculated, and the relationship path type between the first identity node and the second identity node is analyzed, wherein the relationship path type includes paternal lineage; Understandably, the degree of kinship is used to quantify the closeness of blood relations by integer values. It is obtained by calculating the number of edges on the shortest path between two nodes in the family tree graph. For example, kinship between father and son is 1 degree, and kinship between grandparent and grandchild is 2 degree. The generational difference is used to represent the relative generational relationship between two nodes by integer values. It is obtained by calculating the difference between the generational number of the second identity node and the generational number of the first identity node. The relationship path type is a classification of the social and cultural kinship attributes implied by a specific path connecting the first and second identity nodes. Paternal lineage is one type, specifically referring to a path entirely composed of male ancestors (such as father or grandfather) or female relatives (such as mother or grandmother, but the path reflects a husband-wife-son relationship), without any collateral branches (such as uncles or cousins). It represents a vertical lineage based on paternal blood ties. Other types may include maternal lineage, collateral blood relations, and in-law relations. The genealogy information display device deconstructs the complex and implicit kinship relationships between the first and second identity nodes into a set of key, computable quantitative parameters (equal distance between relatives, generational difference) and an important qualitative classification (relationship path type) by performing precise graph theory calculations and semantic analysis on the genealogy relationship graph.
[0046] Query the historical interaction logs corresponding to the first identity node, and calculate the affinity weight between the first identity node and the second identity node based on the historical interaction logs.
[0047] It should be noted that the historical interaction logs are a series of user behavior data recorded chronologically and retrieved from the database, related to the first identity node. This log data records the specific operations, frequency, duration, and depth of these operations performed by the user in the past when interacting with various family member nodes, including the second identity node. The intimacy weight reflects the strength of the association or degree of interest between the user represented by the first identity node and the family member represented by the second identity node, based on actual interaction behavior. A higher weight value indicates more historical attention and interaction the user has had with that ancestor. The genealogy information display device queries the historical interaction logs corresponding to the first identity node to determine the intimacy weight based on the specific operations performed, frequency, duration, and depth of these operations for each family member node, including the second identity node.
[0048] In one feasible implementation, the step of generating personalized narrative text for the second identity node based on the kinship parameters includes: Based on the equidistant distance and the relationship path type, the access permissions of the first identity node are determined; Understandably, access permissions define the visibility and permissible operation of information content. The genealogy information display device automatically and precisely controls the range of information accessible to different relatives based on access permissions determined by kinship distance and relationship path type.
[0049] For example, user A queries their "great-grandfather" (second identity node). The system calculates that user A's kinship distance with this great-grandfather is 3, and the relationship path type is "paternal direct line." According to preset rules: for "paternal direct line" relationships, members with a kinship distance ≤ 3 are granted "core descendant" access. This permission allows the user to view the great-grandfather's detailed biography, internal oral history, most old photos, and scanned copies of his documents. Meanwhile, when user B (with a kinship distance of 5 with the same great-grandfather, and a relationship path type of "collateral distant relative") queries, the system grants them "general relative" access based on their parameters (kinship distance 5, collateral). This permission only allows viewing publicly available biographical summaries and a few publicly available representative photos.
[0050] Based on the aforementioned generational differences, the narrative style is determined; It should be noted that narrative style defines multiple dimensions of text, including but not limited to: word choice (such as the use of honorifics or colloquial language), sentence complexity, emotional tone (such as reverence, intimacy, or simplicity), the use of rhetorical devices, and the narrative perspective (such as objective third-person or empathetic second-person). The genealogy information display device dynamically determines and applies different narrative styles based on generational differences, enabling the system to automatically generate narrative content that highly matches the identity of the person making the query in terms of language and emotion.
[0051] Extract the target material corresponding to the access permission from the material corresponding to the second identity node in the digital archive; Understandably, the digital archive is organized in a structured manner. Each piece of material (such as documents, images, audio, video, and 3D models) is associated with one or more specific family member nodes (via node identifiers) and includes metadata describing its content, format, source, and access control attributes. In the digital archive, the genealogy information display device, through indexing or association, identifies a collection of all digitized data entries explicitly marked as belonging to or directly related to the second identity node (i.e., the target ancestor in this query). Using the access permission level as a filter, it traverses all materials corresponding to the second identity node, comparing the access control attributes (or permission tags) of each material with the current user's access permission level, and selecting only those target materials whose permission requirements are no higher than the current user's permission level.
[0052] Personalized narrative text is generated based on the target material, the semantic content, the narrative style, and the intimacy weight.
[0053] It should be noted that the genealogy information display device uses target material, semantic content, narrative style, and intimacy weight as joint conditions. Through complex multi-condition fusion and language modeling, it automatically creates a complete textual narrative that is logically coherent, linguistically appropriate, emotionally fitting, and closely related to the theme.
[0054] In this implementation, four key control parameters—content boundaries (target material), creative theme (semantic content), expression form (narrative style), and emotional flavoring (intimacy weight)—are deeply integrated to drive the intelligent model to perform conditional creation. This ensures that the final generated narrative text does not overstep its bounds in content, stays on topic in theme, is appropriate and warm in expression, and responds to the queryer's personal interests in detail. This truly achieves a deeply personalized experience of "one ancestor, a thousand stories," giving machine-generated content contextual awareness and emotional intelligence similar to that of a human family historian.
[0055] It should be noted that the above examples are only for understanding this application and do not constitute a limitation on the QR code-based genealogy information display method of this application. Any simple modifications based on this technical concept are within the protection scope of this application.
[0056] This application also provides a genealogy information display device based on QR codes, please refer to... Figure 2 The QR code-based genealogy information display device includes: The scanning module 10 is used to respond to the scanning operation of the QR code associated with the first user node and jump to the visual genealogy interface corresponding to the first user node. The visual genealogy interface displays a visual genealogy diagram corresponding to the first user node. The visual genealogy diagram is rendered based on genealogy information, which includes at least the user node's name, generation number, a table of direct relatives, and a biographical summary.
[0057] Optionally, the scanning module includes: The text generation submodule is used to collect voice data in response to a click operation on the microphone module in the visualized family tree diagram; extract features from the voice data to obtain semantic features, wherein the semantic features include query intent and target object description; find the second identity node corresponding to the target object description; calculate the kinship parameter between the first identity node and the second identity node; and generate personalized narrative text for the second identity node based on the kinship parameter.
[0058] Optionally, the text generation submodule includes: The matching unit is used to determine whether the first voiceprint biometric feature matches the second voiceprint biometric feature corresponding to the first user node; if they match, the unit searches for the second identity node corresponding to the target object description.
[0059] Optionally, the matching unit includes: The sending subunit is used to determine whether a matching user node exists in the visualized family tree diagram based on the target object description; if not, it generates a query request based on the identifier of the first identity node and the target object description, and sends the query request to the cloud, so that the cloud can determine the first identity node in the preset family tree based on the identifier, and perform path search based on the first identity node and the search logic corresponding to the target object description to determine the identifier of the target object description, and return the identifier corresponding to the target object description to the user terminal; The calculation subunit is used to obtain detailed location information corresponding to the first identity node and the second identity node respectively; based on the detailed location information, calculate the kinship distance and generation difference, and analyze the relationship path type between the first identity node and the second identity node, wherein the relationship path type includes paternal lineage; query the historical interaction log corresponding to the first identity node, and calculate the intimacy weight between the first identity node and the second identity node based on the historical interaction log.
[0060] Optionally, the computing subunit includes: The extraction component is used to determine the access permissions of the first identity node based on the equidistant distance and the relationship path type; determine the narrative style based on the generational difference; extract the target material corresponding to the access permissions from the material corresponding to the second identity node in the digital archive; and generate personalized narrative text based on the target material, the semantic content, the narrative style, and the intimacy weight.
[0061] The QR code-based genealogy information display device provided in this application, employing the QR code-based genealogy information display method described in the above embodiments, can solve the technical problem of displaying QR code-based genealogy information. Compared with the prior art, the beneficial effects of the QR code-based genealogy information display device provided in this application are the same as those of the QR code-based genealogy information display method provided in the above embodiments, and other technical features in the QR code-based genealogy information display device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.
[0062] This application provides a QR code-based genealogy information display device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the QR code-based genealogy information display method in the first embodiment described above.
[0063] The following is for reference. Figure 3 The diagram illustrates a structural schematic of a QR code-based genealogy information display device suitable for implementing embodiments of this application. The QR code-based genealogy information display device in this application can include, but is not limited to, mobile terminals such as mobile phones, laptops, tablets, digital broadcast receivers, PDAs (Personal Digital Assistants), PMPs (Portable Media Players), and in-vehicle terminals (e.g., in-vehicle navigation terminals), as well as fixed terminals such as digital TVs and desktop computers. Figure 3 The QR code-based genealogy information display device shown is merely an example and should not impose any limitations on the functionality and scope of use of the embodiments of this application.
[0064] like Figure 3As shown, the QR code-based genealogy information display device may include a processing unit 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the QR code-based genealogy information display device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to I / O interface 1006: input devices 1007 including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 1008 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1003 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1009. Communication device 1009 allows the QR code-based genealogy information display device to wirelessly or wiredly communicate with other devices to exchange data. Although a QR code-based genealogy information display device with various systems is shown in the figure, it should be understood that it is not required to implement or possess all the systems shown. More or fewer systems can be implemented alternatively.
[0065] Specifically, according to the embodiments disclosed in this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments disclosed in this application include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of the embodiments disclosed in this application.
[0066] The QR code-based genealogy information display device provided in this application, employing the QR code-based genealogy information display method described in the above embodiments, can solve the technical problems of QR code-based genealogy information display. Compared with the prior art, the beneficial effects of the QR code-based genealogy information display device provided in this application are the same as those of the QR code-based genealogy information display method provided in the above embodiments, and other technical features of this QR code-based genealogy information display device are the same as those disclosed in the previous embodiment method, and will not be repeated here.
[0067] It should be understood that the various parts disclosed in this application can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0068] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
[0069] This application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon, which are used to execute the QR code-based genealogy information display method in the above embodiments.
[0070] The computer-readable storage medium provided in this application may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to: electrical connections having one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.
[0071] The aforementioned computer-readable storage medium may be included in a QR code-based genealogy information display device; or it may exist independently and not be assembled into a QR code-based genealogy information display device.
[0072] The aforementioned computer-readable storage medium carries one or more programs. When the aforementioned one or more programs are executed by the QR code-based genealogy information display device, the QR code-based genealogy information display device: in response to a scanning operation of the QR code associated with the first user node, jumps to the visual genealogy interface corresponding to the first user node, wherein the visual genealogy interface displays a visual genealogy diagram corresponding to the first user node, the visual genealogy diagram is rendered based on genealogy information, and the genealogy information includes at least the name, generation number, direct kinship table, and biographical summary of the first user node.
[0073] Computer program code for performing the operations of this application can be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, and C++, and conventional procedural programming languages such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone 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 remote computers, the remote computer can 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 can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0074] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of this application. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.
[0075] The modules described in the embodiments of this application can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.
[0076] The readable storage medium provided in this application is a computer-readable storage medium that stores computer-readable program instructions (i.e., a computer program) for executing the above-described QR code-based genealogy information display method, thereby solving the technical problem of QR code-based genealogy information display. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in this application are the same as those of the QR code-based genealogy information display method provided in the above embodiments, and will not be repeated here.
[0077] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the QR code-based genealogy information display method described above.
[0078] The computer program product provided in this application can solve the technical problem of displaying genealogy information based on QR codes. Compared with the prior art, the beneficial effects of the computer program product provided in this application are the same as the beneficial effects of the QR code-based genealogy information display method provided in the above embodiments, and will not be repeated here.
[0079] The above description is only a part of the embodiments of this application and does not limit the scope of protection of this application. All equivalent structural transformations made under the technical concept of this application and using the content of this application specification and drawings, or direct / indirect applications in other related technical fields, are included in the scope of protection of this application.
Claims
1. A method for displaying genealogical information based on QR codes, characterized in that, The method for displaying genealogy information based on QR codes includes: In response to the scanning operation of the QR code associated with the first user node, the user is redirected to the visual genealogy interface corresponding to the first user node. The visual genealogy interface displays a simplified visual genealogy diagram corresponding to the first user node. The simplified visual genealogy diagram is rendered based on genealogy information, which includes at least the user node's name, generation number, simplified table of direct relatives, and biographical summary.
2. The method for displaying genealogy information based on QR codes as described in claim 1, characterized in that, The step of navigating to the visualized genealogy interface corresponding to the first user node in response to a scanning operation of the QR code associated with the first user node includes: In response to a click operation on the microphone module in the visualized family tree diagram, voice data is collected; The speech data is subjected to feature extraction to obtain semantic features, wherein the semantic features include query intent and target object description; Find the second identity node corresponding to the description of the target object; Calculate the kinship parameter between the first identity node and the second identity node; Based on the kinship parameters, a personalized narrative text for the second identity node is generated.
3. The method for displaying genealogy information based on QR codes as described in claim 2, characterized in that, The semantic features include a first voiceprint biometric feature, and the step of finding the second identity node corresponding to the description of the target object includes: Determine whether the first voiceprint biometric feature matches the second voiceprint biometric feature corresponding to the first user node; If a match is found, the second identity node corresponding to the description of the target object is located.
4. The method for displaying genealogy information based on QR codes as described in claim 3, characterized in that, The step of finding the second identity node corresponding to the description of the target object includes: Based on the target object description, determine whether there is a matching user node in the visualized family tree diagram; If it does not exist, a query request is generated based on the identifier of the first identity node and the description of the target object, and the query request is sent to the cloud so that the cloud can determine the first identity node in the preset family tree based on the identifier, and perform path search based on the search logic corresponding to the target object description, starting from the first identity node, to determine the identifier of the target object description, and return the identifier corresponding to the target object description to the user. The second identity node is determined based on the identifier corresponding to the target object description.
5. The method for displaying genealogy information based on QR codes as described in claim 3, characterized in that, The kinship parameters include equal distance, generational difference, relationship path type, and intimacy weight. The step of calculating the kinship parameters between the first identity node and the second identity node includes: Obtain detailed location information corresponding to the first identity node and the second identity node respectively; Based on the detailed location information, the kinship distance and generation difference are calculated, and the relationship path type between the first identity node and the second identity node is analyzed, wherein the relationship path type includes paternal lineage; Query the historical interaction logs corresponding to the first identity node, and calculate the affinity weight between the first identity node and the second identity node based on the historical interaction logs.
6. The method for displaying genealogy information based on QR codes as described in claim 5, characterized in that, The step of generating personalized narrative text for the second identity node based on the kinship parameters includes: Based on the equidistant distance and the relationship path type, the access permissions of the first identity node are determined; Based on the aforementioned generational differences, the narrative style is determined; Extract the target material corresponding to the access permission from the material corresponding to the second identity node in the digital archive; Personalized narrative text is generated based on the target material, the semantic content, the narrative style, and the intimacy weight.
7. A genealogy information display device based on QR codes, characterized in that, The device includes: The scanning module is used to respond to the scanning operation of the QR code associated with the first user node and jump to the visual genealogy interface corresponding to the first user node. The visual genealogy interface displays a visual genealogy diagram corresponding to the first user node. The visual genealogy diagram is rendered based on genealogy information, which includes at least the user node's name, generation number, a brief table of direct relatives, and a biographical summary.
8. A genealogy information display device based on QR codes, characterized in that, The device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, the computer program being configured to implement the steps of the QR code-based genealogy information display method as described in any one of claims 1 to 6.
9. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the steps of the family tree information display method based on QR codes as described in any one of claims 1 to 6.
10. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the steps of the QR code-based genealogy information display method as described in any one of claims 1 to 6.