Information collection method and device, computer device, storage medium and program product

By displaying an authorization prompt window in the information collection interface and automatically filling in the answers from the target information source, the problem of tedious and erroneous manual filling in online information collection is solved, achieving efficient and accurate information collection and improving the user experience.

CN117009421BActive Publication Date: 2026-05-19TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
TENCENT TECHNOLOGY (SHENZHEN) CO LTD
Filing Date
2022-06-17
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

In large-scale data collection scenarios, existing online information collection methods require users to manually fill in information, which is cumbersome, error-prone, and difficult to guarantee in terms of authenticity. The user experience is particularly poor when information is updated regularly.

Method used

An information collection method and apparatus are provided. By displaying an authorization prompt window in the information collection interface of the collection form, the collection object can confirm the authorization and the answers of the collection items can be automatically filled from the target information source. The method supports two-way authorization authentication and encrypted processing of classified information.

Benefits of technology

It improves the efficiency and accuracy of information collection, reduces errors from manual entry, enhances user experience, and ensures the authenticity and security of information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117009421B_ABST
    Figure CN117009421B_ABST
Patent Text Reader

Abstract

The application relates to an information collection method and device, computer equipment, a storage medium and a computer program product. The method comprises the following steps: displaying an information collection interface of a collection table, the information collection interface comprising a plurality of collection items; in the case that the collection table is created based on a target collection table template, displaying an authorization prompt window in the information collection interface; the authorization prompt window is used for prompting to confirm authorization, and after the authorization is confirmed, information required by the collection table is obtained from a target information source associated with the target collection table template; and in response to a trigger operation of confirming the authorization in the authorization prompt window, an answer matching the collection item and originating from the target information source is displayed in a reply area of at least one collection item. The method can improve the efficiency and accuracy of information collection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of computer technology, and in particular to an information collection method, apparatus, computer equipment, storage medium, and computer program product. Background Technology

[0002] With the development of internet and computer technologies, the collection of large-scale data has shifted from traditional offline collection and statistics to online collection, such as information collection through the creation of collection forms using online document applications.

[0003] However, current online information collection methods, especially in large-scale data collection scenarios, require respondents to manually fill in the corresponding information after the collection items are specified, which presents at least the following problems:

[0004] Some information is provided by third-party platforms, requiring respondents to memorize it or retrieve it from the platform before manually filling it in. This process is cumbersome and increases interaction complexity, especially when information needs regular updates, and may lead to errors and a poor user experience. Furthermore, some information requires accurate reporting, and the authenticity of manually entered information cannot be guaranteed, raising concerns about unauthorized data manipulation, such as altering nucleic acid test results. Summary of the Invention

[0005] Therefore, it is necessary to provide an information collection method, apparatus, computer equipment, computer-readable storage medium, and computer program product that can automatically fill in answers in the response area of ​​the collected items, thereby improving the efficiency and accuracy of information collection.

[0006] This application provides an information collection method. The method includes:

[0007] The information collection interface of the collection form is displayed, and the information collection interface includes multiple collection items;

[0008] When the collection form is created based on the target collection form template, an authorization prompt window is displayed in the information collection interface; the authorization prompt window is used to prompt for confirmation of authorization, and then obtain the information to be collected by the collection form from the target information source associated with the target collection form template.

[0009] In response to a confirmation of authorization in the authorization prompt window, an answer originating from the target information source and matching the collection item is displayed in the response area of ​​at least one of the collection items.

[0010] This application also provides an information collection device. The device includes:

[0011] The collection interface display module is used to display the information collection interface of the collection form, which includes multiple collection items.

[0012] The prompt window display module is used to display an authorization prompt window in the information collection interface when the collection form is created based on the target collection form template; the authorization prompt window is used to prompt that after confirming authorization, the information to be collected by the collection form is obtained from the target information source associated with the target collection form template.

[0013] The answer filling module is used to display, in response to a triggering operation that confirms authorization in the authorization prompt window, an answer originating from the target information source and matching the collection item in the response area of ​​at least one of the collection items.

[0014] In one embodiment, the collection interface display module is further configured to display the information collection interface of the collection form in response to a triggering operation of the collection link of the collection form; wherein the collection object corresponding to the information collection interface is an object identified by a target object identifier of the online document application, and the target object identifier has the permission to fill in the collection form.

[0015] In one embodiment, the collection interface display module is further configured to, in response to a triggering operation of the collection link of the collection form, display an information collection interface of the collection form when the online document application is logged in with the target object identifier, the information collection interface being used to collect answers about the target object identifier that match the collection item.

[0016] In one embodiment, the apparatus further includes:

[0017] The answer input module is used to receive and display the entered answer in the respective answer area of ​​each of the collection items in response to a triggering operation that confirms non-authorization in the authorization prompt window.

[0018] In one embodiment, the device further includes an answer input module;

[0019] The answer filling module is used to respond to the authorization confirmation trigger operation in the authorization prompt window, and to display automatically filled answers from the target information source that match the collection item in the answer area of ​​the fillable collection item among the multiple collection items;

[0020] The answer input module is used to receive and display the input answer in the response area of ​​the non-fillable collection item among the multiple collection items.

[0021] In one embodiment, the apparatus further includes a collection form submission module, configured to submit a collection form including the collection items and corresponding answers in response to a triggering operation of submitting the collection form in the information collection interface, provided that corresponding answers exist in the response areas of the respective collection items.

[0022] In one embodiment, the device further includes an answer display module, configured to, when the answer in the response area is sensitive information, display the answer in the response area changing from an encrypted state to a plaintext state in response to the response area changing from an unselected state to a selected state, and to display the answer in the response area changing from a plaintext state to an encrypted state in response to the response area changing from a selected state to an unselected state.

[0023] In one embodiment, the device further includes: a sensitive information identification module, configured to acquire historical answers from a historical collection form and the sensitive categories of the historical answers; train a neural network-based semantic analysis model based on the historical answers and the corresponding sensitive categories to obtain a trained sensitive information identification model; and use the trained sensitive information identification model to identify sensitive information in the answers in the response areas of each of the collection items to obtain an identification result regarding whether the answer belongs to sensitive information.

[0024] In one embodiment, the apparatus further includes: an encryption module, configured to encrypt answers in the response area that contain sensitive information in response to a triggering operation of submitting the collection form in the information collection interface, to obtain ciphertext of the answers; and a collection form submission module, configured to submit the collection form including the ciphertext of the answers to a collection form server.

[0025] In one embodiment, the encryption module is further configured to use symmetric encryption to encrypt the answer containing sensitive information in the response area using a key, thereby obtaining the ciphertext of the answer; and to use asymmetric encryption to encrypt the key using the public key in a public-private key pair, thereby obtaining the ciphertext of the key, which is then transmitted to the collection table server, so that the collection table server uses the private key in the public-private key pair to decrypt the ciphertext of the key, thereby obtaining the key, and uses the key to decrypt the ciphertext of the answer, thereby obtaining the answer.

[0026] In one embodiment, the apparatus further includes:

[0027] Create an interface display module to display candidate collection form templates in the collection form creation interface;

[0028] The editing interface display module is used to display the editing interface of the collection form in response to a trigger operation that selects the target collection form template from the candidate collection form templates. The editing interface includes multiple collection items in the target collection form template.

[0029] The collection form publishing module is used to publish a collection form for collecting the answers to the various collection items in response to a trigger operation in the editing interface.

[0030] In one embodiment, the apparatus further includes:

[0031] A collection item addition module is used to display at least one added collection item and multiple collection items derived from the target collection table template in the scripting interface in response to a trigger operation of adding a collection item in the editing interface.

[0032] In one embodiment, the collection object corresponding to the information collection interface is the object identified by the target object identifier of the online document application;

[0033] The device further includes: an acquisition module, configured to, in response to a trigger operation that confirms authorization in the authorization prompt window, obtain information about the collection object and related to the target collection form template from the information source server corresponding to the target information source based on the target object identifier.

[0034] In one embodiment, the acquisition module is further configured to initiate an authorization request based on the target object identifier through the online document application, so as to obtain the access code corresponding to the target object identifier from the information source server corresponding to the target information source; and obtain information about the collection object and related to the target collection form template from the information source server based on the access code.

[0035] In one embodiment, the acquisition module is further configured to: initiate an authorization request based on the target object identifier; receive an authorization code corresponding to the target object identifier generated and returned by the information source server in response to the authorization request; generate a verification key corresponding to the target object identifier; and send the authorization code and the verification key to the information source server to obtain an access code corresponding to the target object identifier from the information source server.

[0036] In one embodiment, the acquisition module is further configured to send the verification key and the received authorization code to the information source server; and receive the access code corresponding to the target object identifier generated and returned by the information source server when the authorization code is authenticated.

[0037] In one embodiment, the acquisition module is further configured to generate a data request based on the access code and the target object identifier; generate a verification code for the data request based on the verification key; send the data request and the verification code to the information source server; and receive information related to the target object identifier and the target collection form template returned by the information source server after verifying the data request based on the verification key, the verification code, and the access code.

[0038] In one embodiment, the acquisition module is further configured to acquire raw data about the collection object related to the target collection table template; perform semantic parsing on each collection item in the collection table to obtain corresponding semantic tags; extract information corresponding to the semantic tags from the raw data; and use the extracted information as an answer about the collection object that matches the corresponding collection item.

[0039] This application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:

[0040] The information collection interface of the collection form is displayed, and the information collection interface includes multiple collection items;

[0041] When the collection form is created based on the target collection form template, an authorization prompt window is displayed in the information collection interface; the authorization prompt window is used to prompt for confirmation of authorization, and then obtain the information to be collected by the collection form from the target information source associated with the target collection form template.

[0042] In response to a confirmation of authorization in the authorization prompt window, an answer originating from the target information source and matching the collection item is displayed in the response area of ​​at least one of the collection items.

[0043] This application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:

[0044] The information collection interface of the collection form is displayed, and the information collection interface includes multiple collection items;

[0045] When the collection form is created based on the target collection form template, an authorization prompt window is displayed in the information collection interface; the authorization prompt window is used to prompt for confirmation of authorization, and then obtain the information to be collected by the collection form from the target information source associated with the target collection form template.

[0046] In response to a confirmation of authorization in the authorization prompt window, an answer originating from the target information source and matching the collection item is displayed in the response area of ​​at least one of the collection items.

[0047] This application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:

[0048] The information collection interface of the collection form is displayed, and the information collection interface includes multiple collection items;

[0049] When the collection form is created based on the target collection form template, an authorization prompt window is displayed in the information collection interface; the authorization prompt window is used to prompt for confirmation of authorization, and then obtain the information to be collected by the collection form from the target information source associated with the target collection form template.

[0050] In response to a confirmation of authorization in the authorization prompt window, an answer originating from the target information source and matching the collection item is displayed in the response area of ​​at least one of the collection items.

[0051] The aforementioned information collection methods, devices, computer equipment, storage media, and computer program products, after displaying the information collection interface of the collection form, which includes multiple collection items, and when the collection form is created based on a target collection form template, display an authorization prompt window in the information collection interface. After the collection target triggers confirmation authorization through the authorization prompt window, it directly obtains some or all of the answers required by the collection form from the target information source associated with the target collection form template, and displays them in the response area of ​​at least one collection item. This avoids the problems of errors, inefficiency, and lack of accuracy that occur when the collection target manually fills in the information, thereby improving the efficiency and accuracy of information collection and the user experience during the information collection process.

[0052] This application provides an information collection method. The method includes:

[0053] The candidate collection form templates are displayed in the collection form creation interface;

[0054] In response to a triggering operation that selects a target collection form template from the candidate collection form templates, an editing interface for the collection form is displayed. The editing interface includes multiple collection items in the target collection form template, which is associated with a target information source.

[0055] In response to the trigger operation of publishing the collection form in the editing interface, the collection form created based on the target collection form template is published;

[0056] The published collection form is used to display an authorization prompt window in the information collection interface of the collection form, so that after confirming authorization in the authorization prompt window, the answer from the target information source that matches the collection item is displayed in the response area of ​​at least one of the collection items in the information collection interface.

[0057] This application also provides an information collection device. The device includes:

[0058] Create an interface display module to display candidate collection form templates in the collection form creation interface;

[0059] The editing interface display module is used to display the editing interface of the collection form in response to a trigger operation that selects a target collection form template from the candidate collection form templates. The editing interface includes multiple collection items in the target collection form template, and the target collection form template is associated with the target information source.

[0060] The collection form publishing module is used to respond to the trigger operation of publishing the collection form in the editing interface and publish the collection form created based on the target collection form template; wherein, the published collection form is used to display an authorization prompt window in the information collection interface of the collection form, so that after confirming authorization in the authorization prompt window, the answer from the target information source that matches the collection item is displayed in the response area of ​​at least one of the collection items in the information collection interface.

[0061] This application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:

[0062] The candidate collection form templates are displayed in the collection form creation interface;

[0063] In response to a triggering operation that selects a target collection form template from the candidate collection form templates, an editing interface for the collection form is displayed. The editing interface includes multiple collection items in the target collection form template, which is associated with a target information source.

[0064] In response to the trigger operation of publishing the collection form in the editing interface, the collection form created based on the target collection form template is published;

[0065] The published collection form is used to display an authorization prompt window in the information collection interface of the collection form, so that after confirming authorization in the authorization prompt window, the answer from the target information source that matches the collection item is displayed in the response area of ​​at least one of the collection items in the information collection interface.

[0066] This application also provides a computer-readable storage medium. The computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:

[0067] The candidate collection form templates are displayed in the collection form creation interface;

[0068] In response to a triggering operation that selects a target collection form template from the candidate collection form templates, an editing interface for the collection form is displayed. The editing interface includes multiple collection items in the target collection form template, which is associated with a target information source.

[0069] In response to the trigger operation of publishing the collection form in the editing interface, the collection form created based on the target collection form template is published;

[0070] The published collection form is used to display an authorization prompt window in the information collection interface of the collection form, so that after confirming authorization in the authorization prompt window, the answer from the target information source that matches the collection item is displayed in the response area of ​​at least one of the collection items in the information collection interface.

[0071] This application also provides a computer program product. The computer program product includes a computer program that, when executed by a processor, performs the following steps:

[0072] The candidate collection form templates are displayed in the collection form creation interface;

[0073] In response to a triggering operation that selects a target collection form template from the candidate collection form templates, an editing interface for the collection form is displayed. The editing interface includes multiple collection items in the target collection form template, which is associated with a target information source.

[0074] In response to the trigger operation of publishing the collection form in the editing interface, the collection form created based on the target collection form template is published;

[0075] The published collection form is used to display an authorization prompt window in the information collection interface of the collection form, so that after confirming authorization in the authorization prompt window, the answer from the target information source that matches the collection item is displayed in the response area of ​​at least one of the collection items in the information collection interface.

[0076] The aforementioned information collection methods, devices, computer equipment, storage media, and computer program products allow the information collector to select a specific target collection form template from candidate collection form templates when creating a collection form. This template is associated with the target information source. After the collection form created based on this template is published, an authorization prompt window will be displayed in the information collection interface of the collection form. After the collection target triggers confirmation authorization through this authorization prompt window, they can directly obtain the answers required by the collection form from the target information source associated with the template, and display them in the response area of ​​at least one of the collection items. This avoids the problems of errors, inefficiency, and lack of accuracy that occur when the collection target manually fills in the form, thereby improving the efficiency and accuracy of information collection and the user experience during the information collection process. Attached Figure Description

[0077] Figure 1 This is a diagram illustrating the application environment of an information collection method in one embodiment;

[0078] Figure 2 This is a flowchart illustrating an information collection method in one embodiment;

[0079] Figure 3 This is a schematic diagram of the interface for creating a collection table in one embodiment;

[0080] Figure 4 This is a schematic diagram of the information collection interface in one embodiment;

[0081] Figure 5 This is a flowchart illustrating the process of creating a collection table in one embodiment;

[0082] Figure 6 This is a flowchart illustrating the process of filling out a collection form in one embodiment;

[0083] Figure 7 This is a schematic diagram of the two-way authorization authentication process in one embodiment;

[0084] Figure 8 This is a schematic diagram illustrating encrypted interaction between a terminal and a server in one embodiment;

[0085] Figure 9 This is a flowchart illustrating the information collection method in another embodiment;

[0086] Figure 10 This is a flowchart illustrating an information collection method in a specific embodiment.

[0087] Figure 11 This is a structural block diagram of an information collection device in one embodiment;

[0088] Figure 12 This is a structural block diagram of the information collection device in another embodiment;

[0089] Figure 13 This is an internal structural diagram of a computer device in one embodiment;

[0090] Figure 14 This is a diagram of the internal structure of a computer device in another embodiment. Detailed Implementation

[0091] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0092] The following is an explanation and description of the terms used in the embodiments of this application:

[0093] A collection form is a product that supports online information collection and result statistics. It can be embedded in online document applications. Collection forms can be created based on collection form templates, and the collection items in the templates can be edited and adjusted. Collection forms can also be created by manually editing collection items. Collection items are the questions in the collection form, and collection items and their corresponding answers constitute the collected information. In one embodiment, the collection form is an online collection form, which can be edited or accessed by multiple collection objects simultaneously.

[0094] Information sources, also known as information providers, are sometimes the sources of information that individuals fill out in the forms themselves or refer to data provided by third-party information sources. These third-party information sources can provide the necessary information for completing the forms, hence the term "information source." Examples include nucleic acid test information and resident travel information in resident epidemic prevention and health information systems, student information in school student management systems, and employee information in enterprise employee information systems.

[0095] Authorization: The process by which a client (such as an online document application) authenticates and establishes a connection with the information source server corresponding to the information source in order to obtain the information that needs to be collected from the information source server.

[0096] Currently, traditional methods of filling out data collection forms via manual input and uploading do not support auto-fill capabilities. They cannot achieve two-way authorization authentication with third-party information sources and automatically populate the returned data. In scenarios involving complex information and a large number of data items, users are likely to make mistakes when manually filling out forms; for example, a user might enter the wrong ID number. Furthermore, content verification is not supported for incorrect answers. In some cases, users need to periodically and repeatedly fill in the same information, such as personal health information and nucleic acid test results. This undoubtedly has a significant impact on users, requiring them to painstakingly fill out each question. For certain data (such as the specific time and location of the nucleic acid test), users may even need to open other applications to view the information, increasing the complexity of the interaction. Moreover, the possibility of users tampering with the data, such as falsely reporting their nucleic acid test results, cannot be ruled out.

[0097] In this embodiment, after configuring the target information source server as a data provider that the online document application can authorize to access, a collection form template associated with the target information source can be configured in the online document application. When creating the collection form, if the collection form is created based on the collection form template, the collection form is published to the collection target. After the collection target enters the information collection interface of the collection form, it can authorize the online document application to perform two-way authentication with the target information source server. After successful authentication, the information to be collected is obtained from the target information source and automatically filled into the response area of ​​the collection item in the collection form. The collection target does not need to manually fill in the information to be collected, avoiding the problems of errors, low efficiency, and lack of accuracy that exist in manual filling by the collection target, thus improving the efficiency and accuracy of information collection and the user experience in the information collection process.

[0098] The information collection method provided in this application embodiment can be applied to, for example... Figure 1In the application environment shown, terminal 102 communicates with server 104 via a network. A data storage system can store data that server 104 needs to process, such as collected information and statistical results about the information. The data storage system can be integrated on server 104 or placed in the cloud or on another server. In one embodiment, terminal 102 can display an information collection interface for a collection table. The information collection interface includes multiple collection items. When the collection table is created based on a target collection table template, terminal 102 can display an authorization prompt window in the information collection interface. This authorization prompt window prompts the user to confirm authorization and then obtain the information required for the collection table from the target information source associated with the target collection table template. In response to the authorization confirmation trigger in the authorization prompt window, terminal 102 can display an answer from the target information source that matches the collection item in the response area of ​​at least one collection item. Here, server 104 can be a collection table server.

[0099] It should be noted that "in response to" indicates that the operation depends on a certain condition or state. One or more operations can be executed when the condition or state is met. The condition or state can be met only once, allowing subsequent operations to be executed directly. For example, after authorization, one or more authorized operations can be executed without further authorization during the authorization period. Alternatively, the condition or state can be met every time the operation needs to be executed. When the condition or state is met, the operation to be executed can be immediate or deferred.

[0100] The terminal 102 can be, but is not limited to, various desktop computers, laptops, smartphones, tablets, IoT devices, and portable wearable devices. IoT devices can include smart speakers, smart TVs, smart air conditioners, and smart in-vehicle systems. Portable wearable devices can include smartwatches, smart bracelets, and head-mounted devices. The server 104 can be implemented using a standalone server or a server cluster consisting of multiple servers.

[0101] In one embodiment, an online document application is installed and runs on terminal 102. The online document application can be a native, standalone application or a mini-program running within a native application. In some embodiments, the online document application can also be embedded in a social application or an instant messaging application.

[0102] Server 104 can be a server providing various computing and storage services for the online document application. To distinguish it from the aforementioned information source server, it can be referred to as the collection form server. When the information collector, i.e., the creator of the collection form, creates and publishes a collection form in the online document application based on a target collection form template associated with the target information source, they need to fill in the collection objects for that collection form. They can authorize the online document application to obtain the information required by the collection form from the target information source through the information collection interface of the collection form. The obtained information will automatically fill in the response area of ​​the collection items in the information collection interface. After the collection object submits the collection form in the information collection interface, the online document application sends and stores the submitted collection form on the collection form server, so that the information collector can retrieve it through the online document application for information statistics or viewing.

[0103] In one embodiment, such as Figure 2 As shown, an information collection method is provided. This method can be executed by terminal 102 alone, or by terminal 102 and server 104 in cooperation. The following describes the application of this method in... Figure 1 Taking terminal 102 as an example, the explanation includes the following steps:

[0104] Step 202: Display the information collection interface of the collection form, which includes multiple collection items.

[0105] This application does not limit the form of the collection form; it can be a questionnaire or a table. The collection items in the collection form can take the appropriate form as needed, such as multiple choice, open-ended questions, true / false questions, fill-in-the-blank questions, etc.

[0106] The information collection interface of the data collection form is the interface presented to the recipient when they open the form. This interface includes multiple collection items, each with a corresponding response area. The answers to each item and in the response area represent the information the form requires to be collected. For example, if the form is named "Epidemic Prevention and Health Information Collection Form," the collection items might include "01 ID Card Number," "02 Mobile Phone Number," "03 Name," "04 Health Code Color," "05 Last Nucleic Acid Test Result," "07 Last Nucleic Acid Test Time," and so on. The recipient can be the creator of the form or an object with permissions to operate on the form after it has been published.

[0107] In one embodiment, the object to be collected corresponding to the information collection interface of the collection form is an object identified by a target object identifier belonging to an online document application or a social application, and the target object identifier has the permission to fill out the collection form. In some scenarios, online documents, such as collection forms, can be embedded in social applications as a function supported by the social application. The terminal can open the collection form in the online document application, or access the information collection interface of the collection form in the social application through the collection link in the collection form.

[0108] In one specific scenario, when an online document application is logged in with the target object identifier and the object identified by that identifier has permission to open the collection form, the object opens the online document application on the terminal, and the terminal enters and displays the information collection interface of the collection form. In another specific scenario, when an online document application is logged in with the target object identifier and the object identified by that identifier has permission to open the collection form, the terminal responds to a triggering operation on the collection link of the collection form and displays the information collection interface of the collection form. In yet another scenario, in a social application, the terminal responds to a triggering operation on the collection link of the collection form and displays an authorization login page. After authorizing login to the collection form with the currently logged-in object identifier on this authorization login page, the information collection interface of the collection form is displayed. This information collection interface can be used to collect answers about the target object identifier that match various collection items.

[0109] In some embodiments, where the social application supports opening online documents, after the creator logs into the social application with a first object identifier, the terminal used by the first object can share the collection form to a second object identifier that belongs to the social application and is a contact of the first object identifier through the first object identifier. This enables the collection form to be shared with the collection object using the second object identifier. When the collection object logs into the social application with the second object identifier, the terminal used by the second object can enter and display the information collection interface of the collection form, and collect and submit the collection form about the second object identifier through the information collection interface.

[0110] In one embodiment, the online document application can also authorize login of an object identifier belonging to a social application, and obtain the social attribute information of the currently logged-in object identifier, such as avatar, nickname, contact list, etc., after authorization. Thus, the online document application can display the currently logged-in object identifier and use the object identifier to pass the collection form to the contacts in the social application, thereby improving the convenience of information collection.

[0111] In one embodiment, after the creator publishes the collection form, in response to a triggering action to share the collection form, a collection link or graphic code for the collection form is generated and shared with the collection recipient. For example, the terminal can share the collection link to the collection recipient via a social application, and the collection recipient can open the collection link in the social application, display the information collection interface of the collection form, and fill in the information.

[0112] Step 204: When the collection form is created based on the target collection form template, an authorization prompt window is displayed in the information collection interface. The authorization prompt window is used to prompt the user to confirm the authorization and obtain the information to be collected from the target information source associated with the target collection form template.

[0113] The collection form templates include ordinary collection form templates and special collection form templates. In this embodiment, the target collection form template is any one of the special collection form templates provided by the online document application. A special collection form template is called "special" because some or all of the information it needs to collect can be obtained from a third-party information source after authorization. For example, the information required by the "Epidemic Prevention and Health Information Collection Form" template needs to be obtained from the epidemic prevention and health information system after authorization; similarly, the information required by the "School Student Information Collection Form" template needs to be obtained from the student information management system after authorization; and the information required by the "Resident Information Collection Form" template needs to be obtained from the resident information management system after authorization. Different special collection form templates are associated with corresponding information sources. It can be understood that multiple different special collection form templates can be associated with the same information source, and the same special collection form template can be associated with multiple different information sources. For example, the "Student Family Epidemic Prevention Information Collection Form" template can be associated with both the epidemic prevention and health information system and the school student information management system simultaneously; similarly, the "Community Family Epidemic Prevention Information Collection Form" template can be associated with both the epidemic prevention and health information system and the community resident information management system simultaneously.

[0114] In one embodiment, the collection form server adds the target information source to the online document application's information source whitelist and configures a corresponding dedicated collection form template for the online document application. This dedicated collection form template is associated with the information source. Thus, when a collection form is created using this dedicated collection form template, after authorization by the target user, the information required for the collection form can be obtained from that information source. Optionally, the collection form server can record the information source whitelist for the online document application, which can be used to verify the security of the information source during the authorization process.

[0115] In one embodiment, when the collection form is created based on a target collection form template, the terminal displays an authorization prompt window in the information collection interface. This window shows the third-party information source to which authorization can be requested. After the subject clicks "Go to Authorize," it indicates that they agree to have their personal information from the online document application retrieved from the third-party information source. The terminal then pulls up the authorization page for the third-party information source. On this authorization page, after obtaining authorization from the subject, it indicates that they agree to have the information related to their personal information from the third-party information source retrieved back into the collection form, thereby achieving two-way authorization authentication.

[0116] In one embodiment, the collection form opened by the target user is created based on a dedicated collection form template, which is associated with multiple different third-party information sources. After the target user clicks "De-authorize," information about the target user can be obtained from these sources. The terminal can then fill the corresponding response area for the collection item with this information and generate statistical results for the collection form. These results can include those generated for each target user, or those generated for all users who submitted the form. This allows the statistical results to be generated from multiple third-party information sources, presenting accurate collection results within a single form. It also provides comprehensive and intuitive statistical results for the information collector who created the form, ensuring both personal privacy and information management needs are met.

[0117] Taking the creation of a collection form based on the "Student Family Epidemic Prevention Information Collection Form" template as an example: This template is linked to both the epidemic prevention and health information system and the school's student information management system. After the teacher uses a terminal to publish the collection form to the collection targets, such as students or students' parents, the students or students' parents can open the collection form through their own terminals and authorize the acquisition of their own epidemic prevention and health information from the epidemic prevention and health information system, such as the color of their health code. At the same time, they can authorize the acquisition of the student's family relationship from the school's student information management system. The information obtained can be automatically filled into the collection form or used to generate statistical results.

[0118] The terminal used by teachers, upon receiving collection forms submitted by students and their parents, obtains each individual's epidemic prevention and health information and family relationships. The terminal can then combine the family relationships indicated in the collection forms (or authorized access from the school's student information management system) with the epidemic prevention and health information to generate statistical results based on the family unit. Specifically, the terminal identifies family members related to student A and generates statistical results about student A's family based on their submitted epidemic prevention and health information. For example, it identifies whether any family members have abnormal health codes or have not submitted collection forms. The terminal can also generate statistical results for the entire collection population based on each individual's epidemic prevention and health information and family relationships. For example, it identifies how many individuals have normal health codes and how many have abnormal health codes. This method of collecting and statistically analyzing information from multiple third-party sources efficiently and accurately collects students' family epidemic prevention and health information, ensuring individual privacy while meeting the collective health management needs of the information collectors.

[0119] Step 206: In response to the triggering operation of confirming authorization in the authorization prompt window, the answer source that matches the collection item is displayed in the response area of ​​at least one collection item.

[0120] In one embodiment, after the terminal receives the trigger operation of the collection object confirming authorization in the authorization prompt window, it initiates a two-way authorization authentication process between the online document application and the information source. After the two-way authorization authentication is successful, the information obtained from the information source will be automatically filled into the response area of ​​at least one collection item.

[0121] It should be noted that the collection items in the collection form can be divided into fillable and non-fillable collection items based on whether they can be automatically filled with answers. Fillable collection items are those whose answers can be determined based on information obtained from the information source after authorization. These fillable collection items can come from a dedicated collection form template or be created and edited manually. Non-fillable collection items are those whose answers cannot be determined based on information obtained from the information source after authorization and must be filled in manually. The collection items in the information collection interface can be all fillable, all non-fillable, or a combination of both.

[0122] In one embodiment, the information collection method further includes the step of creating a collection table, specifically including: displaying candidate collection table templates in a collection table creation interface; in response to a triggering operation of selecting a target collection table template from the candidate collection table templates, displaying an editing interface for the collection table, the editing interface including multiple collection items in the target collection table template; and in response to a triggering operation of publishing the collection table in the editing interface, publishing a collection table for collecting the answers to the multiple collection items.

[0123] The collection form creation interface is an interactive interface provided for the creator of the collection form, i.e., the information collector. When the creator needs to create a collection form, they access the collection form creation interface of the online document application through their terminal. This interface includes multiple candidate collection form templates, which can be divided into general collection form templates and dedicated collection form templates associated with corresponding information sources. These templates can also be categorized according to usage scenarios. The terminal displays the collection form editing interface based on the target collection form template selected by the creator. This editing interface includes multiple collection items, all derived from the target collection form template selected by the creator. After the creator confirms that the collection items are correct, they can publish the collection form.

[0124] like Figure 3 The image shown is a schematic diagram of the interface for creating a collection table in one embodiment. (Refer to...) Figure 3 The collection form creation interface displays several candidate collection form templates. When the creator selects the "Epidemic Prevention and Health Information Collection Form" template, this template becomes the dedicated collection form template, and the terminal displays an editing interface for this template. This editing interface displays multiple collection items for this template, and additional collection items can be added in this editing interface. After the creator has finished editing the collection form, they can click "Publish" to publish the collection form.

[0125] In one embodiment, before publishing the collection table, the method further includes: in response to a triggering action of adding a collection item in the editing interface, displaying at least one added collection item and multiple collection items derived from the target collection table template in the writer interface.

[0126] Reference Figure 3 The editing interface also includes a control for adding new collection items. Creators can use this control to add collection items to the collection table in the editing interface corresponding to the target collection table template. In this embodiment, even collection tables created based on a dedicated collection table target can support creators to further add collection items as needed.

[0127] like Figure 4 The image shown is a schematic diagram of an information collection interface in one embodiment. (Refer to...) Figure 4The information collection interface includes a title such as "Epidemic Prevention and Health Information Collection Form" and a collection topic, such as "The collection form contains epidemic prevention and health information from Health Pass, which needs to be filled in after authorization." This indicates that the collection form is created based on a dedicated collection form template, and the information to be collected needs to be obtained after authorization through the Health Pass client. After entering the information collection interface, an authorization prompt window pops up, displaying "Mary is collecting your health information. You need to authorize Health Pass (i.e., the target information source) to automatically fill in the information." When the recipient clicks "Go to Authorize," they will be redirected to the Health Pass client for two-way authorization, carrying their personal information. After successful authorization, the recipient's health information in Health Pass will be obtained, and the answers will be automatically filled in.

[0128] The aforementioned information collection methods, devices, computer equipment, storage media, and computer program products, after displaying the information collection interface of the collection form, which includes multiple collection items, when the collection form is created based on a target collection form template, display an authorization prompt window in the information collection interface. After the collection subject triggers confirmation authorization through the authorization prompt window, the required answers to be collected in the collection form are directly obtained from the target information source associated with the target collection form template and displayed in the response area of ​​at least one collection item. This avoids the problems of errors, inefficiency, and lack of accuracy that occur when the collection subject manually fills in the information, thereby improving the efficiency and accuracy of information collection and the user experience during the information collection process.

[0129] In one embodiment, the information collection method may further include: in response to a triggering operation that confirms non-authorization in an authorization prompt window, receiving and displaying the entered answer in the respective response area of ​​each collection item.

[0130] Specifically, if the subject of the data collection does not agree to authorize access to the target information source associated with the target data collection form template to obtain the information required for the data collection form, the terminal waits on the information collection interface for the subject to enter the corresponding answers in the respective response areas for each data collection item. After the subject confirms that the answers are acceptable and submits the data collection form, the completed data collection form is submitted to the data collection form server. In this case, the answers in the response areas for each data collection item are manually entered by the subject.

[0131] In this embodiment, not only is a method of obtaining collected information by authorizing access to third-party information sources provided, but also a method of self-reporting information is provided. The subject of collection can choose flexibly as needed, and the reporting method is not restricted or constrained.

[0132] In one embodiment, step 206, in response to the triggering operation of confirming authorization in the authorization prompt window, displays answers from the target information source that match the collection item in the response area of ​​at least one collection item, including:

[0133] In response to the authorization confirmation prompt in the authorization prompt window, the autofilled answer from the target information source that matches the collection item is displayed in the answer area of ​​the populateable collection item among multiple collection items, and the entered answer is received and displayed in the answer area of ​​the non-populateable collection item among multiple collection items.

[0134] In this embodiment, the collection items displayed in the information collection interface of the collection form include fillable collection items and non-fillable collection items. After the terminal receives the authorization confirmation trigger operation from the collection object in the authorization prompt window, for fillable collection items, the terminal obtains the answer matching the fillable collection item from the information source and automatically fills and displays it in the answer area of ​​the fillable collection item. For non-fillable collection items, the terminal receives and displays the answer entered by the collection object in the corresponding answer area.

[0135] In one embodiment, the terminal can analyze the semantic tags of each collection item, determine the answer for that collection item based on information obtained from the information source that matches the semantic tags, and automatically fill and display the determined answer in the response area of ​​that collection item. When the terminal cannot obtain information that matches the semantic tags, or cannot determine the answer for the collection item based on the obtained information, it determines that the collection item is an unfillable collection item, and the terminal needs to receive and display the answer entered by the collection object.

[0136] In this embodiment, after the authorization operation, the collection items in the information collection interface will be divided into fillable collection items and non-fillable collection items. The answer area of ​​the fillable collection items will be automatically filled with answers, while the answer area of ​​the non-fillable collection items will remain blank and in a state of waiting to be filled, providing users with a variety of ways to fill in information.

[0137] In one embodiment, answers that are automatically filled in the response area after authorization will no longer be supported for secondary editing and modification by the collection object. That is, the terminal will no longer receive the answers entered by the collection object in the response area of ​​these collection items, but will retain the automatically filled answers until the collection object submits the collection form and the collection items and the automatically filled answers are submitted to the collection form server in response to the trigger operation of the collection object, which can ensure the accuracy of the automatically filled data.

[0138] In one embodiment, the information collection method may further include:

[0139] If the corresponding answer exists in the response area of ​​each collection item, in response to the triggering operation of submitting the collection form in the information collection interface, the collection form including the collection item and the corresponding answer is submitted.

[0140] Reference Figure 4 The information collection interface also includes a submission control. When a corresponding answer exists in the response area of ​​each collection item, the terminal can respond to the triggering operation of the submission control and submit the completed collection form to the collection form server. Subsequently, the creator of the collection form can receive the collection forms submitted by each collection object from the collection form server.

[0141] like Figure 5 The diagram shown illustrates the process of creating a collection table in one embodiment. (Refer to...) Figure 5 First, it determines whether the creator needs to quickly create a collection form using a collection form template. If not, the creator generates the collection form by editing the collection items themselves. If so, it identifies the target collection form template selected by the creator and further determines whether the target information source associated with that template is in the online document application's information source whitelist to ensure the accuracy of the imported information. If so, the collection form is published after verifying the corresponding collection items in the collection form creation interface. If not, if information provided by the target information source associated with the target collection form template is needed, the target information source is added to the online document application's information source whitelist. Then, the creator verifies the corresponding collection items in the collection form creation interface and publishes the collection form. The published collection form allows the collected information to be obtained from the target information source after authorization by the collection recipient.

[0142] like Figure 6 The diagram shown illustrates the process of filling out a data collection form in one embodiment. (Refer to...) Figure 6 First, the system determines whether the collection form opened by the user is based on a dedicated target collection form template. If not, it receives and displays the information manually filled in by the user in the response area of ​​each collection item. If so, an authorization prompt window pops up. After the user confirms authorization and the online document application completes two-way authorization authentication with the target information source, it obtains information related to the target collection form template from the target information source. The online document application automatically identifies the semantic tags of each collection item in the collection form and automatically fills the corresponding response area with information matching the semantic tags. In addition, the online document application automatically encrypts answers involving sensitive information in the response area; the encrypted content can be displayed in plain text by hovering the mouse over it. For collection items that cannot be automatically filled in, the user fills them in manually. Finally, the user submits the completed collection form to the collection form server, which can then send the collection results back to the creator.

[0143] The following details an implementation example of two-way authorization authentication.

[0144] In one embodiment, the collection object corresponding to the information collection interface is an object identified by the target object identifier of the online document application; the above information collection method further includes: in response to the trigger operation of confirming authorization in the authorization prompt window, obtaining information about the collection object and related to the target collection form template from the information source server corresponding to the target information source according to the target object identifier.

[0145] Specifically, when logging into an online document application using a target object identifier, after obtaining authorization from the object being collected on the information collection interface, the terminal can carry the target object identifier and directly query the target information source server for information related to the target collection form template corresponding to that target object identifier. Alternatively, the terminal can be redirected from the online document application's information collection interface to the client corresponding to the target information source, such as launching a third-party application. After agreeing to authorization in the third-party application, the terminal can obtain information related to the target collection form template corresponding to the target object identifier from the server corresponding to that third-party application.

[0146] For example, if the target object is an account in an online document application, and the target collection form template is a health information collection form template for epidemic prevention, then based on that account, the name, ID number, mobile phone number, nucleic acid test report information associated with the ID number, travel information associated with the mobile phone number, etc., of the user certified by that account can be obtained from the epidemic prevention and health management server.

[0147] For example, if the target object is an account in an online document application, and the target collection form template is a template for collecting information on students in school, then information such as the name, ID number, student ID, class, and student status of the student certified by that account can be obtained from the student information management server based on that account.

[0148] For example, if the target object is identified as an account in an online document application, and the target collection form template is a resident information collection form template, then based on that account, information such as the name, ID number, mobile phone number, residential address, place of origin, and household registration of the residents known to that account can be obtained from the resident information registration system.

[0149] In one embodiment, obtaining information about the collection object and related to the target collection form template from the information source server corresponding to the target information source based on the target object identifier includes: initiating an authorization request based on the target object identifier through an online document application to obtain an access code corresponding to the target object identifier from the information source server corresponding to the target information source; and obtaining information about the collection object and related to the target collection form template from the information source server based on the access code.

[0150] The AccessToken is a token used by the terminal to obtain information from the information source server through an online document application. Obtaining this AccessToken signifies that the terminal has achieved two-way authorization authentication with the information source server through the online document application. After the terminal receives the authorization trigger from the target user in the information collection interface, it initiates an authorization request carrying the target user's identifier to the information source server through the online document application. Upon receiving the authorization request, the information source server performs a series of verifications and then returns an AccessToken, granting the terminal permission to access the information source server, to the terminal.

[0151] In one embodiment, initiating an authorization request based on the target object identifier to obtain an access code corresponding to the target object identifier from the information source server corresponding to the target information source includes: initiating an authorization request based on the target object identifier; receiving an authorization code corresponding to the target object identifier generated and returned by the information source server in response to the authorization request; generating a verification key corresponding to the target object identifier; and sending the authorization code and the verification key to the information source server to obtain an access code corresponding to the target object identifier from the information source server.

[0152] An information source server is a server that provides data caching, authentication, and data storage functions for information providers. This information source server can be a standalone server or an integrated set of multiple servers. For example, an information source server may include a middleware server, an authentication server, and a resource server (data server), where the authentication server and resource server can also be the same server. Verification keys are used to ensure the security of data transmission and are also one of the steps in two-way authorization authentication.

[0153] The following describes a related embodiment using an information source server comprising a middleware server, an authentication server, and a data server as an example: After a terminal initiates an authorization request, the middleware server receives the request and forwards it to the authentication server. The authentication server responds to this authorization request by generating a corresponding authorization code (AuthToken), which serves as the server's authorization credential. This authorization code is returned to the middleware server, which then forwards it to the terminal. Upon receiving the authorization code, the terminal generates a verification key through the online document application and sends this verification key, along with the received authorization code, to the authentication server. The authentication server can then determine, based on the received authorization code, that the verification key was sent by the terminal that previously initiated the authorization request and corresponds to the target object identifier. Therefore, this verification key can be used not only for data verification to ensure the security of data transmission but also for identity verification. Further, after obtaining the verification key sent by the terminal, the authentication server generates an access code corresponding to this authorization request and returns it to the terminal, thus completing the two-way authorization authentication process. Subsequently, the terminal can use this access code to access information from the data server.

[0154] In one embodiment, sending the authorization code and verification key to the information source server to obtain the access code corresponding to the target object identifier from the information source server includes: sending the verification key and the received authorization code to the information source server; and receiving the access code corresponding to the target object identifier generated and returned by the information source server if the authorization code is authenticated.

[0155] Specifically, the authentication server compares the received authorization code with the authorization code previously sent to the terminal. If they match, it confirms that the received verification key was sent by the terminal that initiated the previous authorization request, and the authorization code has passed authentication. The source server then generates an access code for this authorization request and sends it to the terminal. Subsequently, the terminal can use this verification key and access code to request access to resources from the data server. The data server will also perform security verification based on the access code and verification key before granting access to the relevant resources. Otherwise, if they do not match, the authentication server will not generate an access code for this authorization request, and two-way authorization authentication cannot be completed between the terminal and the source server.

[0156] In one embodiment, obtaining information about the collection object and related to the target collection form template from the information source server based on the access code includes: generating a data request based on the access code and the target object identifier; generating a verification code for the data request based on the verification key; sending the data request and the verification code to the information source server; and receiving information about the target object identifier and related to the target collection form template returned by the information source server after verifying the data request based on the verification key, the verification code, and the access code.

[0157] After receiving the access code from the authentication server, the terminal, upon its initial data request, can generate a data request based on the access code and the target object identifier. Simultaneously, it generates a verification code for the data request using a verification password and sends both the data request and the verification code to the data server. Upon receiving the data request, the data server forwards it to the authentication server, which then authenticates the data request's legitimacy. The authentication server uses the verification key corresponding to the target object identifier in the data request to calculate its own verification code. If the self-calculated verification code matches the received verification code, the security of the data request is confirmed, meaning it has not been tampered with. The authentication server then further verifies the access code of the target object identifier. If the received access code matches the previously assigned access code for the target object identifier, the authentication server determines that the data request is legitimate and sends the verification result back to the data server. The data server can then query data related to the target object identifier and the target collection form template and send it back to the terminal.

[0158] Furthermore, the data server can also feed back data related to the target object's identifier and the target collection form template to the middleware server for caching. When the terminal sends another data request to the data server within the validity period of the cached data and the access code—for example, if the target object enters the information collection interface of the collection form multiple times—the middleware server can directly return the cached information related to the target object's identifier and the target collection form template to the terminal. The terminal does not need to access the data server again, reducing the response load on the data server.

[0159] like Figure 7 The diagram shown illustrates a two-way authorization authentication process in one embodiment. (Refer to...) Figure 7 The process consists of two phases. In the authentication phase: the online document application initiates the authorization process, sending an authorization request carrying the target object identifier to the information source. The information source's middleware server forwards the authorization request to the authentication server. The authentication server issues an authorization code to the online document application. Upon receiving the authorization code, the online document application generates a verification key and obtains an access code from the authentication server based on the authorization code and verification key. Upon the initial data request, the online document application requests information related to the target object identifier from the data server based on the access code. The data server forwards the data request to the authentication server. The authentication server verifies the legitimacy of the data request based on the access code and verification key, and then sends feedback to the data server. The data server then transmits the information related to the target object identifier back to the middleware server for caching, and the middleware server forwards it to the online document application. Within the validity period of the cached data and the access code, when the online document application requests data again, the middleware server directly returns the cached data.

[0160] In one embodiment, obtaining information about the collection object related to the target collection form template includes: obtaining raw data about the collection object related to the target collection form template; performing semantic parsing on each collection item in the collection form to obtain corresponding semantic tags; extracting information corresponding to the semantic tags from the raw data; and using the extracted information as an answer about the collection object that matches the corresponding collection item.

[0161] The collection table created by the creator includes collection items from the target collection table template, and can also include self-edited collection items. Since these collection items can automatically fill in the corresponding answers as long as their semantic tags match the information obtained from the information source server, self-edited collection items do not need to adhere to language and format restrictions; they only need to be semantically clear. For example, the creator does not need to rigidly specify a collection item as "Please enter the color of your health code," but can modify it to any short phrase with similar semantics, such as "health code result." The terminal performs semantic recognition on each collection item to obtain a corresponding semantic tag. When the raw data obtained from the information source server contains information that matches the semantic tag, the collection item is determined to be a fillable collection item, and the terminal can automatically fill the matching information into the response area of ​​that collection item. Conversely, when the raw data obtained from the information source server does not contain information that matches the semantic tag, the collection item is determined to be an unfillable collection item, and the terminal needs to receive the answer entered by the user in the response area.

[0162] In one embodiment, the terminal can employ a neural network-based semantic recognition model to identify the semantic tags of each collection item. The training samples for this semantic recognition model can be determined by collecting historical questions from historical collection forms and manually labeling them with corresponding semantic tags. For example, if the question is "Please enter your name," the corresponding semantic tag would be "name"; similarly, if the question is "Please enter your mobile phone number," the corresponding semantic tag would be "mobile phone number." The semantic recognition model is trained by inputting the question text into the model, outputting the corresponding semantic tags (also called topic information), calculating a loss function based on the difference between the output semantic tags and the labeled semantic tags, and then optimizing the semantic recognition model based on this loss function. The trained semantic recognition model can then be used to predict the semantic tags of each collection item in the collection form. When the raw data of the target object identifier obtained from the information source includes data matching the predicted semantic tag, this data is used as the answer to the collection item and automatically filled into the response area of ​​that collection item.

[0163] The following details the encrypted transmission of sensitive information.

[0164] Answers obtained from information sources or manually filled out by the subjects may involve the privacy or personal information of the subjects and should not be disclosed. To ensure information security, the terminal can also encrypt sensitive information in the answers before displaying them.

[0165] Specifically, in one embodiment, the information collection method further includes: when the answer in the response area is sensitive information, in response to the response area changing from an unselected state to a selected state, displaying the answer in the response area changing from an encrypted state to a plaintext state; and in response to the response area changing from a selected state to an unselected state, displaying the answer in the response area changing from a plaintext state to an encrypted state.

[0166] The terminal automatically parses the data obtained from the target information source. After matching it with the corresponding collection item, it automatically fills the obtained information into the response area of ​​the corresponding collection item. For sensitive information, such as ID card number, mobile phone number, name, bank card number, and detailed residential address, when this sensitive information is selected, it can be displayed in plaintext, that is, detailed information can be expanded for the information collector or the collection target to view and verify. When this sensitive information is not selected, it can be displayed in encrypted form, for example, the mobile phone number is displayed as 130****1234. The selected state can mean that the response area is clicked, the response area is focused, or the cursor moves to the response area.

[0167] In one embodiment, the terminal can employ a pre-trained sensitive information identification model to identify sensitive information in the answers collected from the project and determine whether it contains sensitive information. Both the sensitive information identification model and the semantic recognition model mentioned above can adopt neural network-based model structures, such as Recursive Neural Networks (RNNs), Recurrent Neural Networks (RNNs), Convolutional Neural Networks (CNNs), Long Short-Term Memory (LSTM) Neural Networks, Bi-directional Recurrent Neural Networks (Bi-RNNs), Bi-directional Long Short-Term Memory (Bi-LSTMs), and so on.

[0168] In one embodiment, the information collection method may further include: obtaining historical answers from a historical collection table and the sensitive categories of those historical answers; training a neural network-based semantic analysis model based on the historical answers and their corresponding sensitive categories to obtain a trained sensitive information identification model; and using the trained sensitive information identification model to identify sensitive information in the answer areas of each collection item to obtain an identification result regarding whether the answer belongs to sensitive information.

[0169] The sensitive information identification model can be trained using historical answers from a historical data collection form and their corresponding sensitivity categories as training samples. Specifically, a large number of historical answers are collected from the historical data collection form, and each answer is manually labeled with a corresponding sensitivity category as tag information. For example, the tags can be categorized as insensitive, sensitive, or even insensitive, highly sensitive, and moderately sensitive. The historical answers from the historical data collection form are used as input to the model, which predicts the corresponding sensitivity level. Based on the prediction results and the corresponding tag information, the model parameters are optimized. This process is iterated multiple times based on the historical answers of different categories to obtain a trained sensitive information identification model. The terminal can then use this trained sensitive information identification model to identify the answers filling the response area of ​​the current data collection form and determine whether they contain sensitive information. Furthermore, the terminal can also display highly sensitive and moderately sensitive answers in the response area using different encryption styles. The training process for the sensitive information identification model can be performed on the terminal or on a server.

[0170] In one embodiment, the terminal can also support the creator to define the sensitivity level of each item in the collection form when creating the collection form, such as whether it is sensitive and the sensitivity level. For collection items whose answers are defined as sensitive information, they are automatically displayed in the corresponding response area in an encrypted state.

[0171] Furthermore, to ensure data security during data transmission and prevent theft or leakage, the terminal needs to encrypt the aforementioned sensitive information to obtain ciphertext before submitting it to the collection table server. The collection table server then decrypts the ciphertext to obtain the plaintext of the submitted information. In one embodiment, regular information in the collection table, i.e., information that does not involve sensitive content, can be directly transmitted to the collection table server.

[0172] In one embodiment, the information collection method may further include: in response to a triggering operation of submitting a collection form in the information collection interface, encrypting answers that contain sensitive information in the response area to obtain ciphertext of the answers; and submitting the collection form containing the ciphertext of the answers to the collection form server.

[0173] In one embodiment, encrypting answers containing sensitive information in the response area includes: using symmetric encryption to encrypt the answers containing sensitive information in the response area using a key to obtain ciphertext of the answer; using asymmetric encryption to encrypt the key using the public key in a public-private key pair to obtain ciphertext of the key, which is then transmitted to the collection table server, so that the collection table server uses the private key in the public-private key pair to decrypt the ciphertext of the key to obtain the key, and uses the key to decrypt the ciphertext of the answer to obtain the answer.

[0174] Symmetric encryption refers to the use of the same key for both encryption and decryption. This key cannot be disclosed. In this embodiment, this encryption method is used to encrypt answers containing sensitive information. All sensitive information transmitted between the terminal and the data collection server is encrypted using this key. This key can be stored on both the terminal and the server.

[0175] A public-private key pair consists of a public key and a private key that is not publicly disclosed. The private key and the public key in the public-private key pair are mutually exclusive. Data encrypted with the public key can only be decrypted with the corresponding private key. If it can be decrypted with the public key, it must have been encrypted with the corresponding private key. If it can be decrypted with the private key, it must have been encrypted with the corresponding public key.

[0176] Since the key used to encrypt the answer also needs to be kept secret, the collection table server can generate a public-private key pair and send the public key to the terminal. When the terminal needs to transmit the collection table to the collection table server, it can use the public key to encrypt the key to obtain the ciphertext of the key and then transmit it to the collection table server. After receiving the ciphertext of the key, the collection table server can use the private key to decrypt the ciphertext of the key to obtain the key. The collection table server can then use the key to decrypt the ciphertext of the answer to obtain the plaintext of the answer.

[0177] In one embodiment, a request to view the collection table is sent to the collection table server. In response to the request, the collection table server encrypts the answer using a key to obtain the ciphertext of the answer, generates response data based on the ciphertext, and returns the response data. After receiving the response data, the terminal can decrypt the ciphertext of the answer using the key to obtain the plaintext of the answer. Thus, the answer can be displayed in plaintext on the information collection interface of the information collection table when the object being collected clicks on the answer.

[0178] like Figure 8 The diagram shown illustrates encrypted interaction between a terminal and a server in one embodiment. (Refer to...) Figure 8 The key A used to encrypt plaintext is stored on both the client side of the terminal (such as an online document application) and the collection table server. The collection table server stores the public-private key pair, while the client side of the terminal stores the public key used to encrypt key A.

[0179] On the client side, key A is encrypted using the public key to obtain ciphertext key A. This ciphertext is then transmitted to the collection table server. Upon receiving the ciphertext, the collection table server decrypts it using its private key to obtain key A. On the client side, plaintext (such as answers containing sensitive information in the collection table) is encrypted using key A to obtain ciphertext, which is then transmitted to the collection table server. The collection table server decrypts this ciphertext using key A to obtain the plaintext. When the terminal requests data from the collection table server (such as answers containing sensitive information in the collection table), the collection table server encrypts the response data using key A and returns ciphertext to the terminal. The terminal then decodes this ciphertext using key A to obtain the plaintext.

[0180] In one embodiment, such as Figure 9 As shown, an information collection method is provided. This method can be executed by terminal 102 alone, or by terminal 102 and server 104 in cooperation. The following describes the application of this method in... Figure 1 Taking terminal 102 as an example, the explanation includes the following steps:

[0181] Step 902: Display candidate collection form templates in the collection form creation interface.

[0182] Step 904: In response to the triggering operation of selecting the target collection form template from the candidate collection form templates, the editing interface of the collection form is displayed. The editing interface includes multiple collection items in the target collection form template, and the target collection form template is associated with the target information source.

[0183] The collection form creation interface is an interactive interface provided for the creator of the collection form, i.e., the information collector. When the creator needs to create a collection form, they access the collection form creation interface of the online document application through their terminal. This interface includes multiple candidate collection form templates, which can be divided into ordinary collection form templates and dedicated collection form templates associated with corresponding information sources. These templates can also be categorized according to usage scenarios. The terminal displays the collection form editing interface based on the target collection form template selected by the creator. This editing interface includes multiple collection items derived from the target collection form template selected by the creator.

[0184] In one embodiment, the collection form server adds the target information source to the online document application's information source whitelist and configures a corresponding dedicated collection form template for the online document application. This dedicated collection form template is associated with the information source. Thus, when a collection form is created using this dedicated collection form template, after authorization by the target user, the information required for the collection form can be obtained from that information source. Optionally, the collection form server can record the information source whitelist for the online document application, which can be used to verify the security of the information source during the authorization process.

[0185] In one embodiment, it may further include: in response to a triggering action of adding a collection item in the editing interface, displaying at least one added collection item and multiple collection items derived from the target collection table template in the writer interface.

[0186] Specifically, the editing interface also includes a control for adding new collection items. Creators can use this control to add new collection items to the collection table in the editing interface corresponding to the target collection table template. In this embodiment, even collection tables created based on a dedicated collection table target can support creators to further add collection items as needed.

[0187] Step 906: In response to the triggering operation of publishing the collection form in the editing interface, publish the collection form created based on the target collection form template; wherein, the published collection form is used to display an authorization prompt window in the information collection interface of the collection form, so as to prompt that after confirming authorization in the authorization prompt window, the answer from the target information source that matches the collection item will be displayed in the response area of ​​at least one collection item in the information collection interface.

[0188] The editing interface includes a publish control. When the terminal detects a trigger action on the publish control, it can submit the collection form to the server and transmit the collection form to each collection target through the collection form server. In one embodiment, after the creator publishes the collection form, in response to a trigger action to share the collection form, a collection link or graphic code for the collection form is generated and shared to the collection targets. For example, the terminal can share the collection link to the collection targets through a social application, and the collection targets can open the collection link in the social application to display the information collection interface of the collection form.

[0189] When the subject fills out the information collection form through the information collection interface, and the collection form is created based on the target collection form template, the terminal displays an authorization prompt window in the information collection interface. In this authorization prompt window, the third-party information source to be authorized is displayed. After the subject clicks "Go to Authorize", it means that they agree to take their personal information in the online document application to the third-party information source to query relevant information. Then the terminal continues to pull up the authorization page of the third-party information source. After obtaining the subject's authorization on the authorization page, it means that they agree to take the information related to their personal information from the third-party information source back to the collection form, thereby realizing two-way authorization authentication.

[0190] In the above information collection method, when creating a collection form, the information collector can select a specific target collection form template from the candidate collection form templates. This template is associated with the target information source. After the collection form created based on this template is published, an authorization prompt window will be displayed in the information collection interface of the collection form. After the collection target triggers the authorization confirmation through the authorization prompt window, they can directly obtain the answers required by the collection form from the target information source associated with the template, and display them in the response area of ​​at least one collection item. This avoids the problems of filling in errors, low efficiency, and lack of accuracy that exist when the collection target fills in manually, thus improving the efficiency and accuracy of information collection and the user experience during the information collection process.

[0191] like Figure 10 As shown, in one specific embodiment, the information collection method includes the following steps:

[0192] 1. The creator creates a collection form using an online document application running on the terminal:

[0193] Step 1002: Display candidate collection form templates in the collection form creation interface;

[0194] Step 1004: In response to the triggering operation of selecting the target collection form template from the candidate collection form templates, the editing interface of the collection form is displayed, which includes multiple collection items in the target collection form template.

[0195] Step 1006: In response to the triggering operation of adding a collection item in the editing interface, at least one added collection item and multiple collection items derived from the target collection table template are displayed in the writer interface.

[0196] Step 1008: In response to the triggering operation of publishing a collection table in the editing interface, publish a collection table for collecting the answers of each of the multiple collection items.

[0197] II. The recipients submit the collection form through an online document application running on their terminals:

[0198] Step 1010: Display the information collection interface of the collection form. The information collection interface includes multiple collection items. The collection object corresponding to the information collection interface is the object identified by the target object identifier of the online document application.

[0199] Step 1012: If the collection form is created based on the target collection form template, an authorization prompt window is displayed in the information collection interface;

[0200] Step 1014: In response to the authorization confirmation trigger operation in the authorization prompt window, an authorization request is initiated to the information source server corresponding to the target information source through the online document application, based on the target object identifier;

[0201] Step 1016: Receive the authorization code generated and returned by the information source server in response to the authorization request, which corresponds to the target object identifier;

[0202] Step 1018: After receiving the authorization code, generate a verification key corresponding to the target object identifier;

[0203] Step 1020: Send the authorization code and verification key to the information source server, and receive the access code corresponding to the target object identifier generated and returned by the information source server if the authorization code is authenticated.

[0204] Step 1022: Generate a data request based on the access code and the target object identifier;

[0205] Step 1024: Generate a verification code for the data request based on the verification key;

[0206] Step 1026: Send the data request and verification code to the information source server;

[0207] Step 1028: After receiving the data verification request from the information source server based on the verification key, verification code, and access code, the original data returned by the information source server regarding the target object identifier and related to the target collection form template.

[0208] Step 1030: Perform semantic parsing on each collection item in the collection table to obtain the corresponding semantic tags;

[0209] Step 1032: Extract information corresponding to semantic tags from the original data;

[0210] Step 1034: Use the extracted information as answers about the collection object that match the corresponding collection items;

[0211] Step 1036: In the response area of ​​the populateable collection item among the multiple collection items, display automatically filled answers about the collection object that match the collection item.

[0212] Step 1038: In the response area of ​​the unfillable collection item among the multiple collection items, receive and display the entered answer.

[0213] Step 1040: Using the trained sensitive information identification model, sensitive information is identified in the answers in the respective response areas of the collected items to obtain the identification results regarding whether the answers belong to sensitive information.

[0214] Step 1042: When the answer in the response area is sensitive information, in response to the response area changing from an unselected state to a selected state, the answer in the response area is displayed to change from an encrypted state to a plaintext state; and in response to the response area changing from a selected state to an unselected state, the answer in the response area is displayed to change from a plaintext state to an encrypted state.

[0215] Step 1044: In response to the triggering operation of submitting the collection form in the information collection interface, a symmetric encryption method is used to encrypt the answers containing sensitive information in the response area using a key to obtain the ciphertext of the answers; the collection form including the ciphertext of the answers is submitted to the collection form server.

[0216] Step 1046: Using asymmetric encryption, the public key of the public-private key pair is used to encrypt the key to obtain the ciphertext of the key, which is then transmitted to the collection table server. The collection table server then uses the private key of the public-private key pair to decrypt the ciphertext of the key to obtain the key, and uses the key to decrypt the ciphertext of the answer to obtain the answer.

[0217] Step 1048: Send a view request for the collection table to the collection table server, so that the collection table server, in response to the view request, encrypts the answer with a key to obtain the ciphertext of the answer, generates response data based on the ciphertext of the answer, and returns the response data.

[0218] In the above information collection method, when creating a collection form, the information collector can select a specific target collection form template from the candidate collection form templates. This template is associated with the target information source. After the collection form created based on this template is published, an authorization prompt window will be displayed in the information collection interface of the collection form. After the collection target triggers the authorization confirmation through the authorization prompt window, the required answers for the collection form will be directly obtained from the target information source associated with the target collection form template and displayed in the response area of ​​at least one collection item. This avoids the problems of errors, inefficiency, and lack of accuracy that occur when the collection target manually fills in the form, thereby improving the efficiency and accuracy of information collection and the user experience during the information collection process.

[0219] It should be understood that although the steps in the flowcharts of the above embodiments are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the above embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily completed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0220] Based on the same inventive concept, this application also provides an information collection device for implementing the information collection method described above. The solution provided by this device is similar to the solution described in the above method; therefore, the specific limitations in one or more information collection device embodiments provided below can be found in the limitations of the information collection method described above, and will not be repeated here.

[0221] In one embodiment, such as Figure 11 As shown, an information collection device 1100 is provided, including: a collection interface display module 1102, a prompt window display module 1104, and an answer filling module 1106, wherein:

[0222] The collection interface display module 1102 is used to display the information collection interface of the collection form, which includes multiple collection items.

[0223] The prompt window display module 1104 is used to display an authorization prompt window in the information collection interface when the collection form is created based on the target collection form template; the authorization prompt window is used to prompt that after confirming the authorization, the information to be collected by the collection form is obtained from the target information source associated with the target collection form template.

[0224] Answer filling module 1106 is used to display answers from the target information source that match the collection item in the response area of ​​at least one collection item in response to a trigger operation that confirms authorization in the authorization prompt window.

[0225] In one embodiment, the collection interface display module 1102 is further configured to display the information collection interface of the collection form in response to a trigger operation on the collection link of the collection form; wherein the collection object corresponding to the information collection interface is an object identified by the target object identifier of the online document application, and the target object identifier has the permission to fill in the collection form.

[0226] In one embodiment, the collection interface display module 1102 is further configured to, in response to a triggering operation of the collection link of the collection form, display an information collection interface for collecting answers about the target object identifier that match the collection items when the online document application is logged in with the target object identifier.

[0227] In one embodiment, the information collection device 1100 further includes an answer input module for receiving and displaying the input answer in the respective answer area of ​​each collection item in response to a triggering operation that confirms non-authorization in the authorization prompt window.

[0228] In one embodiment, the information collection device 1100 further includes an answer input module and an answer filling module 1106, which, in response to a trigger operation that confirms authorization in an authorization prompt window, displays automatically filled answers from a target information source that match the collection item in the answer area of ​​a fillable collection item among multiple collection items; the answer input module is used to receive and display the input answers in the answer area of ​​an unfillable collection item among multiple collection items.

[0229] In one embodiment, the information collection device 1100 further includes a collection form submission module, which, in response to a triggering operation of submitting a collection form in the information collection interface, submits a collection form including the collection items and corresponding answers when there are corresponding answers in the response areas of the respective collection items.

[0230] In one embodiment, the information collection device 1100 further includes an answer display module, configured to, when the answer in the response area is sensitive information, display the answer in the response area from an encrypted state to a plaintext state in response to the response area changing from an unselected state to a selected state, and display the answer in the response area from a plaintext state to an encrypted state in response to the response area changing from a selected state to an unselected state.

[0231] In one embodiment, the information collection device 1100 further includes: a sensitive information identification module, used to obtain historical answers from the historical collection table and the sensitive categories of the historical answers; to train a neural network-based semantic analysis model based on the historical answers and the corresponding sensitive categories to obtain a trained sensitive information identification model; and to use the trained sensitive information identification model to identify sensitive information in the answer areas of each collection item to obtain an identification result regarding whether the answer belongs to sensitive information.

[0232] In one embodiment, the information collection device 1100 further includes: an encryption module, configured to encrypt answers containing sensitive information in the response area in response to a trigger operation of submitting a collection form in the information collection interface, to obtain ciphertext of the answers; and a collection form submission module, configured to submit a collection form including the ciphertext of the answers to a collection form server.

[0233] In one embodiment, the encryption module is further configured to use symmetric encryption to encrypt the answer containing sensitive information in the response area using a key, thereby obtaining the ciphertext of the answer; and to use asymmetric encryption to encrypt the key using the public key in the public-private key pair, thereby obtaining the ciphertext of the key, which is then transmitted to the collection table server, so that the collection table server can use the private key in the public-private key pair to decrypt the ciphertext of the key, thereby obtaining the key, and use the key to decrypt the ciphertext of the answer, thereby obtaining the answer.

[0234] In one embodiment, the information collection device 1100 further includes:

[0235] Create an interface display module to display candidate collection form templates in the collection form creation interface;

[0236] The editing interface display module is used to respond to the trigger operation of selecting the target collection form template from the candidate collection form templates and display the editing interface of the collection form, which includes multiple collection items in the target collection form template;

[0237] The collection form publishing module is used to respond to the trigger operation of publishing a collection form in the editing interface, and to publish a collection form for collecting the answers of multiple collection items.

[0238] In one embodiment, the information collection device 1100 further includes:

[0239] The collection item addition module is used to display at least one added collection item and multiple collection items derived from the target collection table template in the writer interface in response to a trigger action of adding a collection item in the editing interface.

[0240] In one embodiment, the collection object corresponding to the information collection interface is the object identified by the target object identifier of the online document application;

[0241] The information collection device 1100 further includes an acquisition module, which, in response to a trigger operation that confirms authorization in an authorization prompt window, obtains information about the collection object and related to the target collection form template from the information source server corresponding to the target information source based on the target object identifier.

[0242] In one embodiment, the acquisition module is further configured to initiate an authorization request based on the target object identifier through an online document application, so as to obtain the access code corresponding to the target object identifier from the information source server corresponding to the target information source; and obtain information about the collection object and related to the target collection form template from the information source server based on the access code.

[0243] In one embodiment, the acquisition module is further configured to initiate an authorization request based on the target object identifier; receive an authorization code corresponding to the target object identifier generated and returned by the information source server in response to the authorization request; generate a verification key corresponding to the target object identifier; and send the authorization code and verification key to the information source server to obtain an access code corresponding to the target object identifier from the information source server.

[0244] In one embodiment, the acquisition module is further configured to send the verification key and the received authorization code to the information source server; and receive the access code generated and returned by the information source server corresponding to the target object identifier if the authorization code is authenticated.

[0245] In one embodiment, the acquisition module is further configured to generate a data request based on the access code and the target object identifier; generate a verification code for the data request based on the verification key; send the data request and the verification code to the information source server; and receive information about the target object identifier and related to the target collection form template returned by the information source server after verifying the data request based on the verification key, the verification code, and the access code.

[0246] In one embodiment, the acquisition module is further configured to acquire raw data about the collection object related to the target collection form template; perform semantic parsing on each collection item in the collection form to obtain corresponding semantic tags; extract information corresponding to the semantic tags from the raw data; and use the extracted information as an answer about the collection object that matches the corresponding collection item.

[0247] The aforementioned information collection device 1100 displays the information collection interface of the collection form, which includes multiple collection items. When the collection form is created based on a target collection form template, an authorization prompt window is displayed in the information collection interface. After the collection object triggers confirmation authorization through the authorization prompt window, the answers required by the collection form are directly obtained from the target information source associated with the target collection form template and displayed in the response area of ​​at least one collection item. This avoids the problems of errors, inefficiency, and lack of accuracy that occur when the collection object manually fills in the information, thereby improving the efficiency and accuracy of information collection and the user experience during the information collection process.

[0248] In one embodiment, such as Figure 12As shown, an information collection device 1200 is provided, including: a creation interface display module 1202, an editing interface display module 1204, and a collection form publishing module 1206, wherein:

[0249] Create an interface display module 1202, which is used to display candidate collection form templates in the collection form creation interface;

[0250] The editing interface display module 1204 is used to display the editing interface of the collection form in response to the trigger operation of selecting the target collection form template from the candidate collection form template. The editing interface includes multiple collection items in the target collection form template, and the target collection form template is associated with the target information source.

[0251] The collection form publishing module 1206 is used to respond to the trigger operation of publishing the collection form in the editing interface and publish the collection form created based on the target collection form template. The published collection form is used to display an authorization prompt window in the information collection interface of the collection form, so that after confirming the authorization in the authorization prompt window, the answer from the target information source that matches the collection item is displayed in the response area of ​​at least one collection item in the information collection interface.

[0252] When creating a collection form, the information collection device 1200 allows the information collector to select a specific target collection form template from the candidate collection form templates. This template is associated with the target information source. After the collection form created based on this template is published, an authorization prompt window will be displayed in the information collection interface of the collection form. After the collection target triggers the authorization confirmation through the authorization prompt window, they can directly obtain the answers required by the collection form from the target information source associated with the template, and display them in the response area of ​​at least one collection item. This avoids the problems of errors, inefficiency, and lack of accuracy that occur when the collection target manually fills in the form, thereby improving the efficiency and accuracy of information collection and the user experience during the information collection process.

[0253] Each module in the aforementioned information collection device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in a computer device, or stored in the memory of a computer device as software, so that the processor can call and execute the operations corresponding to each module.

[0254] In one embodiment, a computer device is provided, the computer device may be... Figure 1 The collection table server shown can also be the information source server corresponding to the target information source, and its internal structure diagram can be as follows: Figure 13As shown, this computer device includes a processor, memory, input / output (I / O) interfaces, and a communication interface. The processor, memory, and I / O interfaces are connected via a system bus, and the communication interface is also connected to the system bus via the I / O interfaces. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system, computer programs, and a database. The internal memory provides the environment for the operation of the operating system and computer programs stored in the non-volatile storage media. When the computer device functions as a collection table server, its database stores collection table data. When the computer device functions as an information source server, its database stores third-party information about the objects to be collected and added to the collection table. The I / O interfaces are used for exchanging information between the processor and external devices. The communication interface is used for communicating with external terminals via a network connection. When the computer program is executed by the processor, it implements an information collection method.

[0255] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 14 As shown, the computer device includes a processor, memory, input / output interfaces, a communication interface, a display unit, and an input device. The processor, memory, and input / output interfaces are connected via a system bus, and the communication interface, display unit, and input device are also connected to the system bus via the input / output interfaces. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The input / output interfaces are used for exchanging information between the processor and external devices. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When executed by the processor, the computer program implements an information collection method. The display unit of the computer device is used to form a visually visible image. It can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be an LCD screen or an e-ink screen. The input device of the computer device can be a touch layer covering the display screen, or buttons, trackballs, or touchpads set on the casing of the computer device, or external keyboards, touchpads, or mice, etc.

[0256] Those skilled in the art will understand that Figure 13 , 14The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0257] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to implement the information collection method of any of the above embodiments.

[0258] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, which, when executed by a processor, implements the information collection method of any of the above embodiments.

[0259] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, implements the information collection method of any of the above embodiments.

[0260] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, data stored, data displayed, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of the relevant data shall comply with the relevant laws, regulations and standards of the relevant countries and regions.

[0261] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0262] The technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0263] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. An information collection method, characterized in that, The method includes: The information collection interface of the collection form is displayed, and the information collection interface includes multiple collection items; When the collection form is created based on a target collection form template, an authorization prompt window is displayed in the information collection interface. The target collection form template is a pre-configured dedicated collection form template associated with a target information source, which is a third-party information source independent of the collection object and the collection form creator. The authorization prompt window prompts the collection object to confirm authorization and, through two-way authorization authentication with the information source server corresponding to the target information source, obtain the information required for the collection form from the target information source associated with the target collection form template. In response to a confirmation of authorization in the authorization prompt window, an automatically filled answer from the target information source that matches the collection item is displayed in the response area of ​​at least one of the collection items. The automatically filled answer is not editable in the response area.

2. The method according to claim 1, characterized in that, The information collection interface for displaying the collection form includes: In response to a triggering operation on the collection link of the collection form, the information collection interface of the collection form is displayed; wherein, the collection object corresponding to the information collection interface is an object identified by the target object identifier of the online document application, and the target object identifier has the permission to fill in the collection form.

3. The method according to claim 1, characterized in that, In response to the authorization confirmation trigger in the authorization prompt window, the system displays automatically filled answers from the target information source that match the collection item in the response area of ​​at least one of the collection items, including: In response to the authorization confirmation trigger in the authorization prompt window, the automatically filled answer from the target information source that matches the collection item is displayed in the answer area of ​​the populateable collection item among the multiple collection items, and the input answer is received and displayed in the answer area of ​​the non-populateable collection item among the multiple collection items.

4. The method according to claim 1, characterized in that, The method further includes: If a corresponding answer exists in the response area of ​​each of the collected items, in response to the triggering operation of submitting the collection form in the information collection interface, a collection form including the collected items and the corresponding answers is submitted.

5. The method according to claim 1, characterized in that, The method further includes: When the answer in the response area contains sensitive information, in response to the response area changing from an unselected state to a selected state, the answer in the response area is displayed to change from an encrypted state to a plaintext state; and in response to the response area changing from a selected state to an unselected state, the answer in the response area is displayed to change from a plaintext state to an encrypted state.

6. The method according to claim 5, characterized in that, The method further includes: Retrieve historical answers from the historical collection table, as well as the sensitive categories of those historical answers; Based on the historical answers and the corresponding sensitive categories, the neural network-based semantic analysis model is trained to obtain a trained sensitive information recognition model. Using the trained sensitive information identification model, sensitive information is identified in the answers in the respective response areas of the collected items, and the identification result of whether the answer belongs to sensitive information is obtained.

7. The method according to claim 5, characterized in that, The method further includes: In response to the triggering operation of submitting the collection form in the information collection interface, the answers in the response area that contain sensitive information are encrypted to obtain the ciphertext of the answers; Submit the collection table, which includes the encrypted answer, to the collection table server.

8. The method according to claim 7, characterized in that, The encryption process for answers containing sensitive information in the response area includes: A symmetric encryption method is used to encrypt the answers containing sensitive information in the response area using a key, thereby obtaining the ciphertext of the answers; An asymmetric encryption method is used. The key is encrypted using the public key of the public-private key pair to obtain the ciphertext of the key, which is then transmitted to the collection table server. The collection table server then uses the private key of the public-private key pair to decrypt the ciphertext of the key to obtain the key, and uses the key to decrypt the ciphertext of the answer to obtain the answer.

9. The method according to claim 1, characterized in that, The method further includes: The candidate collection form templates are displayed in the collection form creation interface; In response to a triggering operation that selects the target collection form template from the candidate collection form templates, an editing interface for the collection form is displayed, the editing interface including multiple collection items in the target collection form template; In response to a triggering operation that publishes a collection table in the editing interface, a collection table is published for collecting the answers to the respective collection items.

10. The method according to claim 9, characterized in that, Before publishing the collection form, the method further includes: In response to a triggering operation that adds a collection item in the editing interface, the editing interface displays at least one added collection item and multiple collection items derived from the target collection table template.

11. The method according to claim 1, characterized in that, The information collection interface corresponds to an object that is identified by the target object identifier of the online document application; the method further includes: In response to the authorization confirmation trigger operation in the authorization prompt window, information about the collection object and related to the target collection form template is obtained from the information source server corresponding to the target information source based on the target object identifier.

12. The method according to claim 11, characterized in that, The step of obtaining information about the collection object and related to the target collection form template from the information source server corresponding to the target information source based on the target object identifier includes: Through the online document application, an authorization request is initiated based on the target object identifier in order to obtain the access code corresponding to the target object identifier from the information source server corresponding to the target information source; Based on the access code, obtain information about the collection object and related to the target collection form template from the information source server.

13. The method according to claim 12, characterized in that, The step of initiating an authorization request based on the target object identifier to obtain the access code corresponding to the target object identifier from the information source server corresponding to the target information source includes: Initiate an authorization request based on the target object identifier; The system receives the authorization code generated and returned by the information source server in response to the authorization request, which corresponds to the identifier of the target object. Generate a verification key corresponding to the target object identifier; The authorization code and the verification key are sent to the information source server to obtain the access code corresponding to the target object identifier from the information source server.

14. The method according to claim 13, characterized in that, The step of sending the authorization code and the verification key to the information source server to obtain the access code corresponding to the target object identifier from the information source server includes: Send the verification key and the received authorization code to the information source server; The information source server receives the access code corresponding to the target object identifier, generated and returned by the authorization code after it has been authenticated.

15. The method according to claim 13, characterized in that, The step of obtaining information about the collection object and related to the target collection form template from the information source server based on the access code includes: A data request is generated based on the access code and the target object identifier; Generate a verification code for the data request based on the verification key; Send the data request and the verification code to the information source server; After receiving the data request verified by the information source server based on the verification key, the verification code, and the access code, the information returned by the information source server is related to the target object identifier and the target collection form template.

16. The method according to claim 11, characterized in that, The process of obtaining information about the collection object related to the target collection form template includes: Obtain raw data about the collection object related to the target collection form template; Semantic parsing is performed on each collection item in the collection table to obtain the corresponding semantic tags; Extract information corresponding to the semantic tags from the original data; The extracted information is used as an answer to the question about the collected object, matching it with the corresponding collected item.

17. An information collection method, characterized in that, The method includes: The candidate collection form templates are displayed in the collection form creation interface; In response to a triggering operation that selects a target collection form template from the candidate collection form templates, an editing interface for the collection form is displayed. The editing interface includes multiple collection items in the target collection form template, which is associated with a target information source. The target collection form template is a dedicated collection form template pre-configured to be associated with a target information source, which is a third-party information source independent of the collection object and the creator of the collection form. In response to the trigger operation of publishing the collection form in the editing interface, the collection form created based on the target collection form template is published; The published collection form is used to display an authorization prompt window in the information collection interface of the collection form, so as to prompt the collection object to confirm the authorization in the authorization prompt window, and obtain the information to be collected from the target information source associated with the target collection form template through two-way authorization authentication with the information source server corresponding to the target information source. In the information collection interface, at least one of the collection items' response areas displays an automatically filled answer from the target information source that matches the collection item. The automatically filled answer is not editable in the response area.

18. An information collection device, characterized in that, The device includes: The collection interface display module is used to display the information collection interface of the collection form, which includes multiple collection items. The prompt window display module is used to display an authorization prompt window in the information collection interface when the collection form is created based on a target collection form template; wherein, the target collection form template is a dedicated collection form template pre-configured to be associated with a target information source, and the target information source is a third-party information source independent of the collection object and the creator of the collection form; the authorization prompt window is used to prompt the collection object to confirm authorization and obtain the information required by the collection form from the target information source associated with the target collection form template through two-way authorization authentication with the information source server corresponding to the target information source. The answer filling module is used to display automatically filled answers from the target information source that match the collection item in the response area of ​​at least one of the collection items in response to a trigger operation that confirms authorization in the authorization prompt window. The automatically filled answers are not editable in the response area.

19. The apparatus according to claim 18, characterized in that, The collection interface display module is also used to display the information collection interface of the collection form in response to the triggering operation of the collection link of the collection form; wherein, the collection object corresponding to the information collection interface is an object identified by the target object identifier of the online document application, and the target object identifier has the permission to fill in the collection form.

20. The apparatus according to claim 18, characterized in that, The answer filling module is also configured to, in response to a triggering operation that confirms authorization in the authorization prompt window, display automatically filled answers from the target information source that match the collection item in the answer area of ​​the fillable collection item among the plurality of collection items, and receive and display the input answers in the answer area of ​​the non-fillable collection item among the plurality of collection items.

21. The apparatus according to claim 18, characterized in that, The device further includes: The collection form submission module is used to submit a collection form including the collection item and the corresponding answer in response to a trigger operation of submitting the collection form in the information collection interface, when there is a corresponding answer in the response area of ​​each collection item.

22. The apparatus according to claim 18, characterized in that, The device further includes: The answer display module is configured to, when the answer in the response area is sensitive information, display the answer in the response area from an encrypted state to a plaintext state in response to the response area changing from an unselected state to a selected state, and display the answer in the response area from a plaintext state to an encrypted state in response to the response area changing from a selected state to an unselected state.

23. The apparatus according to claim 22, characterized in that, The device further includes: The sensitive information identification module is used to obtain historical answers from the historical collection form and the sensitive categories of the historical answers; based on the historical answers and the corresponding sensitive categories, a neural network-based semantic analysis model is trained to obtain a trained sensitive information identification model; using the trained sensitive information identification model, sensitive information is identified in the answer areas of each collection item to obtain an identification result regarding whether the answer belongs to sensitive information.

24. The apparatus according to claim 22, characterized in that, The device further includes: An encryption module is used to encrypt answers containing sensitive information in the response area in response to a trigger operation that submits the collection form in the information collection interface, thereby obtaining ciphertext of the answers; and to submit the collection form including the ciphertext of the answers to the collection form server.

25. The apparatus according to claim 24, characterized in that, The encryption module is further configured to use symmetric encryption to encrypt answers containing sensitive information in the response area using a key, thereby obtaining the ciphertext of the answer; and to use asymmetric encryption to encrypt the key using the public key in a public-private key pair, thereby obtaining the ciphertext of the key, which is then transmitted to the collection table server. The collection table server then uses the private key in the public-private key pair to decrypt the ciphertext of the key, thereby obtaining the key, and uses the key to decrypt the ciphertext of the answer, thereby obtaining the answer.

26. The apparatus according to claim 18, characterized in that, The device further includes: Create an interface display module to display candidate collection form templates in the collection form creation interface; The editing interface display module is used to display the editing interface of the collection form in response to a trigger operation that selects the target collection form template from the candidate collection form templates. The editing interface includes multiple collection items in the target collection form template. The collection form publishing module is used to publish a collection form for collecting the answers to the various collection items in response to a trigger operation in the editing interface.

27. The apparatus according to claim 26, characterized in that, The device further includes: The collection item addition module is used to display at least one added collection item and multiple collection items derived from the target collection table template in response to a trigger operation of adding a collection item in the editing interface.

28. The apparatus according to claim 18, characterized in that, The information collection interface corresponds to an object that is identified by the target object identifier of the online document application; the device further includes: The acquisition module is used to respond to the authorization confirmation trigger operation in the authorization prompt window, and obtain information about the collection object and related to the target collection form template from the information source server corresponding to the target information source based on the target object identifier.

29. The apparatus according to claim 28, characterized in that, The acquisition module is further configured to initiate an authorization request based on the target object identifier through the online document application, so as to obtain the access code corresponding to the target object identifier from the information source server corresponding to the target information source; Based on the access code, obtain information about the collection object and related to the target collection form template from the information source server.

30. The apparatus according to claim 29, characterized in that, The acquisition module is further configured to initiate an authorization request based on the target object identifier; receive an authorization code corresponding to the target object identifier generated and returned by the information source server in response to the authorization request; generate a verification key corresponding to the target object identifier; and send the authorization code and the verification key to the information source server to obtain an access code corresponding to the target object identifier from the information source server.

31. The apparatus according to claim 30, characterized in that, The acquisition module is further configured to send the verification key and the received authorization code to the information source server; and receive the access code corresponding to the target object identifier generated and returned by the information source server when the authorization code is authenticated.

32. The apparatus according to claim 30, characterized in that, The acquisition module is further configured to generate a data request based on the access code and the target object identifier; generate a verification code for the data request based on the verification key; and send the data request and the verification code to the information source server. After receiving the data request verified by the information source server based on the verification key, the verification code, and the access code, the information returned by the information source server is related to the target object identifier and the target collection form template.

33. The apparatus according to claim 28, characterized in that, The acquisition module is further configured to obtain raw data related to the target collection table template concerning the collection object; perform semantic parsing on each collection item in the collection table to obtain corresponding semantic tags; extract information corresponding to the semantic tags from the raw data; and use the extracted information as the answer to the collection object that matches the corresponding collection item.

34. An information collection device, characterized in that, The device includes: Create an interface display module to display candidate collection form templates in the collection form creation interface; The editing interface display module is used to display the editing interface of the collection form in response to a trigger operation that selects a target collection form template from the candidate collection form templates. The editing interface includes multiple collection items in the target collection form template, and the target collection form template is associated with a target information source. The target collection form template is a dedicated collection form template pre-configured to be associated with a target information source, and the target information source is a third-party information source independent of the collection object and the creator of the collection form. The collection form publishing module is used to respond to the trigger operation of publishing a collection form in the editing interface and publish a collection form created based on the target collection form template. The published collection form is used to display an authorization prompt window in the information collection interface of the collection form, prompting the object to confirm authorization in the authorization prompt window. After authorization authentication with the information source server corresponding to the target information source, the object obtains the information to be collected from the target information source associated with the target collection form template. In the information collection interface, at least one of the response areas for the collection item displays automatically filled answers from the target information source that match the collection item. The automatically filled answers are not editable in the response area.

35. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 17.

36. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 17.

37. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 17.