Protocol configuration-based user information management method and device, equipment and medium
By using a protocol-based configuration method, data forms and information collection boxes that match the needs of insurance activities are generated, solving the problem of low development efficiency of insurance industry activity registration pages and achieving efficient user information collection and data analysis.
Patent Information
- Application Number
- CN202210933353.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-04
- Publication Date
- 2026-02-03
- Estimated Expiration
- 2042-08-04
AI Technical Summary
In the insurance industry, existing technologies require the development of a registration page for each event, resulting in high server load, low work efficiency, and inefficient data analysis.
By using a protocol-based configuration method, activity requirement information is obtained, data forms and information collection boxes corresponding to protocol options are generated, a data collection mapping relationship is established, user information is directly saved and analyzed.
It improves the efficiency of user information collection and data analysis, reduces server load, and eliminates the need for data identification and parsing steps.
Smart Images

Figure CN115293119B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application belongs to the field of data processing, and particularly relates to a user information management method, device and equipment based on protocol configuration and a medium. BACKGROUND
[0002] In the insurance industry, various activities are often held, and a registration page needs to be provided to users to fill in user information before the activities are held. Since the insurance industry involves many types of insurance, the content of activities and the user groups targeted by different types of insurance are different, and thus the user information required to be collected at the time of registration is also different. The current method is to develop a registration page according to each activity, collect user information through a client, and then aggregate the user information into activity information, which is then sent to a server for independent analysis. The server analyzes data for each piece of activity information, and when the number of activities is large, the server load is large and the work efficiency is low. SUMMARY
[0003] The following is a summary of the subject matter described in detail in this document. This summary is not intended to limit the scope of protection of the claims.
[0004] The embodiments of the present application provide a user information management method, device, equipment and medium based on protocol configuration, which can improve the collection efficiency of user information and improve the work efficiency of data analysis.
[0005] In a first aspect, the embodiments of the present application provide a user information management method based on protocol configuration, comprising:
[0006] Obtaining activity requirement information, wherein the activity requirement information comprises a target type of insurance and a registration content requirement;
[0007] Determining a selectable protocol from a preset configuration protocol according to the target type of insurance, and determining a target protocol from the selectable protocol according to the registration content requirement, wherein the target protocol comprises a plurality of protocol options, and the protocol options are matched with the registration content requirement;
[0008] Generating a data form corresponding to each protocol option in a database;
[0009] Rendering a page according to all the protocol options, generating an information collection box corresponding to each protocol option, and establishing a data collection mapping relationship between the information collection box and the corresponding data form;
[0010] Saving user information input into the information collection box to the corresponding data form according to the data collection mapping relationship;
[0011] When an information collection end instruction is obtained, generating activity analysis information according to the user information saved in all the data forms.
[0012] In some embodiments, the page rendering according to all the protocol options generates information collection boxes corresponding to each of the protocol options, including:
[0013] The syntax tree of the target protocol is determined by a pre-configured syntax parser, and the position of each protocol option in the syntax tree is determined;
[0014] The syntax tree is traversed from top to bottom, and a plurality of page components are generated according to the traversal order, the page components corresponding to the protocol options uniquely;
[0015] According to a pre-set rendering framework, each of the page components is rendered into an information collection box.
[0016] In some embodiments, the page components are generated according to the traversal order, including:
[0017] Each time a protocol option is traversed, the corresponding page component is generated;
[0018] The option description information and style information of the protocol option are obtained, the option description information is determined as the component attribute of the page component, and the style information is determined as the component style of the page component.
[0019] In some embodiments, before the active demand information is obtained, the method further includes:
[0020] Obtaining protocol configuration information, the protocol configuration information including an associated insurance type, a to-be-configured protocol style, and a plurality of to-be-configured options;
[0021] Creating the selectable protocol, determining the to-be-configured protocol style as the style information of the selectable protocol, and determining a plurality of the to-be-configured options as the option description information of the selectable protocol;
[0022] Establishing an association between the selectable protocol and the associated insurance type.
[0023] In some embodiments, the data forms corresponding to each of the protocol options are generated in the database, including:
[0024] Determining an insurance type master table corresponding to the target insurance type in the database;
[0025] Generating a data sub-table in the insurance type master table, and establishing an association between the data sub-table and the target protocol;
[0026] According to each protocol option of the target protocol, the corresponding data form is generated in the data sub-table.
[0027] In some embodiments, the establishing of the data collection mapping relationship between the information collection box and the corresponding data form comprises:
[0028] determining form address information of the data form corresponding to the information collection box;
[0029] redirecting an output address of the information collection box according to the form address information.
[0030] In some embodiments, the generating of the activity analysis information according to the user information saved by all the data forms comprises:
[0031] determining a data analysis strategy according to the target insurance type;
[0032] performing data analysis on the user information according to the data analysis strategy to obtain the activity analysis information.
[0033] In a second aspect, an embodiment of the present application provides a user information management device based on protocol configuration, comprising:
[0034] a demand obtaining unit configured to obtain activity demand information, the activity demand information comprising a target insurance type and a registration content demand;
[0035] a protocol obtaining unit configured to determine a selectable protocol from a preset configuration protocol according to the target insurance type, and determine a target protocol from the selectable protocol according to the registration content demand, the target protocol comprising a plurality of protocol options, the protocol options matching the registration content demand;
[0036] a form generating unit configured to generate a data form corresponding to each of the protocol options in a database;
[0037] a page rendering unit configured to perform page rendering according to all the protocol options, generate an information collection box corresponding to each of the protocol options, and establish a data collection mapping relationship between the information collection box and the corresponding data form;
[0038] an information collecting unit configured to save user information input into the information collection box to the corresponding data form according to the data collection mapping relationship;
[0039] an information analyzing unit configured to generate activity analysis information according to the user information saved by all the data forms when an information collection end instruction is obtained.
[0040] In a third aspect, an electronic device is provided, which comprises a memory, a processor, and a computer program stored in the memory and capable of running on the processor, and the processor implements the protocol configuration based user information management method according to the first aspect when running the computer program.
[0041] In a fourth aspect, a computer readable storage medium is provided, which stores a computer program for implementing the protocol configuration based user information management method according to the first aspect.
[0042] The embodiment of the present application comprises: obtaining activity demand information, the activity demand information comprising a target insurance type and a sign-up content demand; determining a selectable protocol from a preset configuration protocol according to the target insurance type, and determining a target protocol from the selectable protocol according to the sign-up content demand, the target protocol comprising a plurality of protocol options, the protocol options matching the sign-up content demand; generating a data form corresponding to each protocol option in a database; performing page rendering according to all the protocol options, generating an information collection box corresponding to each protocol option, and establishing a data collection mapping relationship between the information collection box and the corresponding data form; saving user information input into the information collection box to the corresponding data form according to the data collection mapping relationship; and generating activity analysis information according to the user information saved in all the data forms when an information collection end instruction is obtained. According to the technical solution of the embodiment, page rendering can be performed according to a preconfigured protocol, and a mapping relationship between an information collection box and a data form is established, so that the input user information can be directly saved to the corresponding position of the database and directly used during data analysis, thereby saving data recognition and analysis and effectively improving the efficiency of user information collection and analysis.
[0043] Other features and advantages of the present application will be set forth in the following description, and in part will become apparent to those skilled in the art upon examination of the following or can be learned by practice of the present application. The objects and other advantages of the present application can be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings. BRIEF DESCRIPTION OF DRAWINGS
[0044] The accompanying drawings are included to provide a further understanding of the technical solution of the present application, and constitute a part of the specification, and are used together with the embodiments of the present application to explain the technical solution of the present application, and do not constitute a limitation on the technical solution of the present application.
[0045] Figure 1 is a flowchart of the protocol configuration based user information management method provided by an embodiment of the present application;
[0046] Figure 2is a flow chart of page rendering provided by another embodiment of the present application;
[0047] Figure 3 is a flow chart of generating page components provided by another embodiment of the present application;
[0048] Figure 4 is a flow chart of configuring optional protocols provided by another embodiment of the present application;
[0049] Figure 5 is a flow chart of generating data forms provided by another embodiment of the present application;
[0050] Figure 6 is a flow chart of data collection provided by another embodiment of the present application;
[0051] Figure 7 is a flow chart of data analysis provided by another embodiment of the present application;
[0052] Figure 8 is a structure diagram of a user information management device configured based on protocols provided by another embodiment of the present application;
[0053] Figure 9 is a device diagram of an electronic device provided by another embodiment of the present application. DETAILED DESCRIPTION
[0054] In order to make the objects, technical solutions and advantages of the present application clearer, the present application is further described in detail below in combination with the drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application, and do not limit the present application.
[0055] It should be noted that although the functional modules are divided in the device schematic diagram, and the logical order is shown in the flow chart, in some cases, the steps shown or described can be executed in a manner different from the module division in the device or the order in the flow chart. The terms "first", "target" and the like in the specification, claims or above-described drawings are used to distinguish similar objects, and do not necessarily describe a specific order or sequence.
[0056] This invention provides a user information management method, apparatus, device, and medium based on protocol configuration. The method includes: acquiring activity requirement information, the activity requirement information including a target insurance type and registration content requirements; determining an optional protocol from a preset configuration protocol based on the target insurance type, and determining a target protocol from the optional protocols based on the registration content requirements, the target protocol including multiple protocol options, the protocol options matching the registration content requirements; generating data forms corresponding to each of the protocol options in a database; rendering a page based on all the protocol options to generate information collection boxes corresponding to each of the protocol options, and establishing a data collection mapping relationship between the information collection boxes and the corresponding data forms; saving user information input into the information collection boxes to the corresponding data forms according to the data collection mapping relationship; and generating activity analysis information based on the user information saved in all the data forms when an information collection end command is received. According to the technical solution of this embodiment, page rendering can be performed according to a pre-configured protocol, and a mapping relationship between information collection boxes and data forms can be established, so that the input user information can be directly saved to the corresponding location in the database and used directly when performing data analysis, eliminating the need for data recognition and parsing, and effectively improving the efficiency of user information collection and analysis.
[0057] The embodiments of this application can compile, acquire, and process relevant data based on artificial intelligence technology. Artificial intelligence (AI) refers to the theories, methods, technologies, and application devices that use digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to obtain optimal results.
[0058] Foundational artificial intelligence technologies generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing, operating / interactive devices, and mechatronics. AI software technologies mainly encompass computer vision, robotics, biometrics, speech processing, natural language processing, and machine learning / deep learning.
[0059] It should be noted that the data in the embodiments of the present invention can be stored in a server. The server can be an independent server or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content delivery networks (CDN), and big data and artificial intelligence platforms.
[0060] like Figure 1 As shown, Figure 1This is a flowchart of a protocol-configured user information management method according to an embodiment of the present invention. The protocol-configured user information management method includes, but is not limited to, the following steps:
[0061] Step S110: Obtain activity requirement information, which includes the target insurance type and registration content requirements;
[0062] Step S120: Determine the optional protocol from the preset configuration protocols according to the target insurance type, and determine the target protocol from the optional protocols according to the registration content requirements. The target protocol includes multiple protocol options, and the protocol options match the registration content requirements.
[0063] Step S130: Generate a data form in the database corresponding to each protocol option;
[0064] Step S140: Render the page according to all protocol options, generate information collection boxes corresponding to each protocol option, and establish a data collection mapping relationship between the information collection boxes and the corresponding data forms.
[0065] Step S150: According to the data collection mapping relationship, save the user information entered into the information collection box to the corresponding data form;
[0066] Step S160: When the information collection ends, generate activity analysis information based on the user information saved in all the data forms.
[0067] It should be noted that the target insurance type in this embodiment can be a common type of insurance, such as life insurance or property insurance. Since the activity requirements of different insurance types are different, the target registration groups and the information to be collected are also different. Corresponding optional protocols can be pre-configured for different insurance types. Multiple protocol options can be pre-configured in the optional protocols. Since the protocols are known to the server, after the data is collected, it can be directly analyzed and called according to the attributes of the protocol options without the need for additional parsing, semantic recognition and other operations, which effectively improves the efficiency of user information collection and statistics.
[0068] It should be noted that the activity requirement information can be obtained by filling in a form. Since each optional protocol in this embodiment corresponds to a different type of insurance, the optional insurance options can be set in the client. The target insurance type is determined by the selected insurance option. After determining the target insurance type, the pre-configured protocol options of all optional protocols corresponding to the target insurance type can be obtained, a list can be generated for selection to obtain the registration content requirements. After obtaining the registration content requirements, the options of the registration content requirements can be matched with the options of the optional protocols to determine the target protocol.
[0069] It should be noted that the protocol options in this embodiment may include event name, participant name, number of participants, gender, telephone number, remarks, registration time, event date, submit button, registration success notification, etc. Any number of protocol options can be configured in the optional protocol. When determining the registration content requirements, all options can be selected, or only a few can be selected. Those skilled in the art can adjust according to actual needs, and this embodiment does not impose any limitations on this.
[0070] It should be noted that a data form is an independent database table in the database, or it can be several classes within a database table. For example, to facilitate management, a master data table can be configured for multiple insurance types of the same type. The data table can be used to store the collected user information.
[0071] It should be noted that, given the protocol options are known, page rendering can be performed based on all protocol options. According to the above embodiment, protocol options can include event name, participant name, number of participants, gender, phone number, remarks, registration time, etc. Essentially, these are prompts for users to input information. Therefore, corresponding text information and input boxes can be rendered on the registration page, allowing users to enter the event name in the information collection box corresponding to the event name, and the participant name in the information collection box corresponding to the participant name, etc. It is worth noting that rendering can be implemented using common page rendering techniques; this embodiment does not impose excessive limitations on the specific rendering principles.
[0072] It should be noted that since each protocol's data form is generated based on the protocol options, and the information collection box is rendered based on the protocol options, a data collection mapping relationship can be established between the protocol options and the information collection box after the target protocol is determined. For example, the protocol options include the applicant's name, number of applicants, gender, and phone number. The database is configured with corresponding data forms for the applicant's name, number of applicants, gender, and phone number. The generated information collection boxes include the applicant's name information collection box, the number of applicants information collection box, the gender information collection box, and the phone number information collection box. After obtaining the user information entered through the applicant's name information collection box, the user information is directly saved to the applicant's name data form. After obtaining the user information entered through the number of applicants information collection box, the user information is directly saved to the number of applicants data form, and so on. This process will not be repeated here. Through the above method, the user information collected by the client does not need to be aggregated and is directly transmitted to a known location in the database for storage, effectively improving the efficiency of data collection.
[0073] It should be noted that the information collection end command can be generated by pressing a button on the client or automatically generated according to the set time. The specific method of generating the information collection end command can be determined according to the actual needs of the activity.
[0074] It is worth noting that after receiving the information collection technology instruction, the collection of user information has been completed and stored in the corresponding data form. The definition of the data form is pre-configured, and the server knows the meaning of the data stored in each data form. Therefore, it can directly analyze the user information stored in the data form automatically. For example, the activity analysis information can be summarized by the name of the applicant or statistically analyzed by gender. Given that the meaning of each type of data is known, those skilled in the art are motivated to adopt appropriate analysis strategies for analysis. This embodiment does not impose any limitations on this.
[0075] Additionally, in one embodiment, reference is made to Figure 2 , Figure 1 Step S140 of the illustrated embodiment also includes, but is not limited to, the following steps:
[0076] Step S210: Determine the syntax tree of the target protocol using a pre-configured syntax parser, and determine the position of each protocol option in the syntax tree;
[0077] Step S220: Traverse the syntax tree from top to bottom and generate multiple page components according to the traversal order. Each page component corresponds uniquely to a protocol option.
[0078] Step S230: Render each page component into an information collection box according to the pre-set rendering framework.
[0079] It should be noted that the syntax tree of the target protocol can be a topology structure formed by multiple protocol options. When there are related protocol options, the related protocol options can be sequentially formed into a chain-like topology chain in the syntax tree. For example, for the protocol options registrant name, number of registrants, gender, and phone number, where registrant name, gender, and phone number all belong to the same user, the above three protocol options can be formed into a sequentially connected topology chain in the syntax tree. Registrant name and number of registrants are the first-level leaf nodes, gender is the second-level leaf node connected to registrant name, and phone number is the third-level leaf node connected to gender.
[0080] It is worth noting that the parser can be of common types. This embodiment does not limit the parser, as long as it can parse the syntax tree. The parser traverses the syntax tree from top to bottom, generating multiple page components according to the traversal order. For example, in the above embodiment, the applicant's name and the number of applicants are the first-level leaf nodes, gender is the second-level leaf node connected to the applicant's name, and the phone number is the third-level leaf node connected to gender. When traversing the first-level leaf nodes, the applicant's name and the number of applicants are obtained, and page components corresponding to the applicant's name and the number of applicants are generated respectively. Then, the second-level leaf nodes are traversed to generate the page component corresponding to gender, and the third-level leaf nodes are traversed to generate the page component corresponding to the phone number.
[0081] It should be noted that after obtaining multiple page components, page rendering can be performed according to the rendering framework, rendering each page component into an information collection box. The rendering framework can be determined according to actual needs. For example, page components corresponding to multi-level protocol options with related relationships can be rendered in the same area to facilitate users to fill in information in categories. This embodiment does not impose any limitations on this.
[0082] Additionally, in one embodiment, reference is made to Figure 3 , Figure 2 Step S220 of the illustrated embodiment also includes, but is not limited to, the following steps:
[0083] Step S310: Whenever a protocol option is obtained during traversal, the corresponding page component is generated;
[0084] Step S320: Obtain the option description information and style information of the protocol options, determine the option description information as the component attribute of the page component, and determine the style information as the component style of the page component.
[0085] It should be noted that the traversal direction is from top to bottom, so a page component can be generated as soon as a protocol option is obtained, thereby generating page components while traversing and improving rendering efficiency.
[0086] It should be noted that the option description information of the agreement options can be the specific content of the agreement option, such as the event name, registrant's name, number of registrants, gender, phone number, remarks, registration time, event date, submit button, and registration success notification mentioned above. The style information can be the style required to display each agreement option on the client. For example, the page background and page text color can be pre-set in the agreement options. After obtaining the agreement options, the style of page rendering can be determined according to the style information. For example, the page can be rendered according to the page background and page text color, and an information collection box corresponding to the event name can be deployed on the page.
[0087] Additionally, in one embodiment, reference is made to Figure 4 In execution Figure 1 Before step S110 in the illustrated embodiment, the following steps may also be included, but are not limited to:
[0088] Step S410: Obtain protocol configuration information, which includes associated insurance types, protocol styles to be configured, and multiple options to be configured.
[0089] Step S420: Create optional protocols, determine the style of the protocol to be configured as the style information of the optional protocols, and determine the multiple options to be configured as the option description information of the optional protocols;
[0090] Step S430: Establish the association between optional agreements and related insurance products.
[0091] It should be noted that, in order to improve flexibility, optional protocols can be created according to actual needs. After obtaining the protocol configuration information, a new optional protocol is created based on the protocol configuration information. In order to facilitate subsequent matching, the protocol configuration information can include associated insurance types, the style of the protocol to be configured, and multiple options to be configured. The associated insurance types are used to match with the target insurance type, thereby determining the optional protocol as the target protocol. The style of the protocol to be configured can be the page style obtained after rendering the optional protocol. The options to be configured are the option description information of the protocol options.
[0092] It should be noted that the associated insurance type can be one of the protocol attributes of the optional agreement, as long as it can be compared with the target insurance type.
[0093] Additionally, in one embodiment, reference is made to Figure 5 , Figure 1 Step S130 of the illustrated embodiment also includes, but is not limited to, the following steps:
[0094] Step S510: Determine the general insurance table in the database corresponding to the target insurance type;
[0095] Step S520: Generate a data sub-table in the insurance type master table and establish the association between the data sub-table and the target agreement;
[0096] Step S530: Generate corresponding data forms in the data sub-table according to the various protocol options of the target protocol.
[0097] It should be noted that if a separate data table is set up for each optional protocol, the number of data tables may become too large when there are many optional protocols. Therefore, a general insurance table can be set up for each type of insurance. For example, a general insurance table can be set up for life insurance and another for auto insurance. After obtaining the target protocol related to life insurance, a data sub-table associated with the target protocol can be generated in the general insurance table corresponding to life insurance, and a data form can be generated in the data sub-table according to the multiple protocol options of the target protocol.
[0098] It's important to note that after obtaining the target protocol, you can first determine if a corresponding sub-table exists in the database. If a sub-table already exists, you can proceed directly to the next steps without needing to generate it again, thus improving the reusability of the sub-table and saving the step of repeatedly creating it when performing the same activity. If no matching sub-table is found, create the sub-table, configure the data form, and then proceed with the next steps.
[0099] Additionally, in one embodiment, reference is made to Figure 6 , Figure 1 Step S140 of the illustrated embodiment also includes, but is not limited to, the following steps:
[0100] Step S610: Determine the form address information of the data form corresponding to the information collection box;
[0101] Step S620: Redirect the output address of the information collection box according to the form address information.
[0102] It should be noted that since the data form is a form in the database, its form address information in the database is known. In this case, the output address of the corresponding information collection box can be redirected to the corresponding form address information, so that the user information entered into the information collection box can be directly saved to the corresponding data form in the database. For example, the data output destination of the registrant name information collection box can be redirected to the data form corresponding to the registrant's name in the database. After obtaining the registrant's name, it can be directly saved to the data form corresponding to the registrant's name, without having to obtain all user information, summarize it, and then save it to the database. This saves the time and effort of parsing, semantic recognition, and data classification of the summarized data package, thus improving the efficiency of data collection.
[0103] It should be noted that redirecting the output address of the information collection box based on the form address information can be achieved by modifying the code. For example, the output address of the information collection box can be directly overwritten, or the information output from the information collection box to the original output address can be redirected and forwarded to the corresponding data form. This embodiment does not impose too many restrictions on the specific redirection method.
[0104] Additionally, in one embodiment, reference is made to Figure 7 , Figure 1 Step S160 of the illustrated embodiment also includes, but is not limited to, the following steps:
[0105] Step S710: Determine the data analysis strategy based on the target insurance type;
[0106] Step S720: Perform data analysis on user information according to the data analysis strategy to obtain activity analysis information.
[0107] It should be noted that the data analysis strategy corresponding to the target insurance type can be the weight and analysis method corresponding to different agreement options. For example, for life insurance, the user's age information is an agreement option with higher weight, and it is given higher weight when conducting data analysis. On the other hand, for car insurance, user information is only used for statistical purposes and can be given the same weight. The data analysis strategy is simply data statistics. Of course, users can also be divided into age groups to obtain a summary analysis of insurance costs for different age groups. The specific data analysis strategy can be adjusted according to the actual situation.
[0108] It is worth noting that data analysis strategies can be shared by multiple insurance types or by multiple optional protocols for the same target insurance type. This embodiment does not limit the number of data analysis strategies.
[0109] It is worth noting that once a data analysis strategy is in place, activity analysis information can be automatically generated in response to the information collection end command, and the activity analysis information can be displayed on the client or sent to a configured terminal for display. The specific processing method can be adjusted according to actual needs.
[0110] Additionally, refer to Figure 8 This invention provides a protocol-configured user information management device 800, which includes, but is not limited to, the following units:
[0111] The demand acquisition unit 810 is used to acquire activity demand information, which includes the target insurance type and registration content requirements.
[0112] The protocol acquisition unit 820 is used to determine the optional protocol from the preset configuration protocols according to the target insurance type, and to determine the target protocol from the optional protocols according to the registration content requirements. The target protocol includes multiple protocol options, and the protocol options match the registration content requirements.
[0113] The form generation unit 830 is used to generate data forms corresponding to each protocol option in the database;
[0114] Page rendering unit 840 is used to render the page according to all protocol options, generate information collection boxes corresponding to each protocol option, and establish a data collection mapping relationship between the information collection boxes and the corresponding data forms.
[0115] The information collection unit 850 is used to save the user information input into the information collection box to the corresponding data form according to the data collection mapping relationship;
[0116] The information analysis unit 860 is used to generate activity analysis information based on the user information saved in all the data forms when an information collection end instruction is received.
[0117] Additionally, refer to Figure 9 An embodiment of the present invention also provides an electronic device 900, which includes: a memory 910, a processor 920, and a computer program stored in the memory 910 and executable on the processor 920.
[0118] The processor 920 and memory 910 can be connected via a bus or other means.
[0119] The non-transitory software program and instructions required to implement the protocol-configured user information management method of the above embodiments are stored in the memory 910. When executed by the processor 920, the protocol-configured user information management method of the above embodiments is executed, for example, the method described above is executed. Figure 1 Method steps S110 to S160, Figure 2 Method steps S210 to S230, Figure 3 Method steps S310 to S320, Figure 4 Method steps S410 to S430, Figure 5 Method steps S510 to S530 Figure 6 Method steps S610 to S620 Figure 7 Method steps S710 to S720.
[0120] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0121] Furthermore, one embodiment of the present invention provides a computer-readable storage medium storing a computer program that is executed by a processor or controller, for example, by a processor in the above-described electronic device embodiment, causing the processor to execute the protocol-configured user information management method described above, for example, performing the above-described... Figure 1 Method steps S110 to S160, Figure 2 Method steps S210 to S230, Figure 3 Method steps S310 to S320, Figure 4 Method steps S410 to S430, Figure 5 Method steps S510 to S530, Figure 6 Method steps S610 to S620 Figure 7 The method steps S710 to S720 are described above. Those skilled in the art will understand that all or some of the steps and apparatus in the methods disclosed above can be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all physical components can be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable storage medium, which can include computer storage media (or non-transitory storage media) and communication storage media (or temporary storage media). As is known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable storage media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disc (DVD) or other optical disc storage, magnetic cartridges, magnetic tape, disk storage or other magnetic storage devices, or any other storage medium that can be used to store desired information and is accessible by a computer. Furthermore, as is known to those skilled in the art, communication storage media typically contain computer-readable instructions, data structures, program modules, or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery storage medium.
[0122] This embodiment can be used in numerous general-purpose or special-purpose computer device environments or configurations. Examples include: personal computers, server computers, handheld or portable electronic devices, tablet-type electronic devices, multiprocessor devices, microprocessor-based devices, set-top boxes, programmable consumer electronics, network PCs, minicomputers, mainframe computers, distributed computing environments including any of the above devices or electronic devices, etc. This application can be described in the general context of a computer program executed by a computer, such as a program module. Generally, a program module includes routines, programs, objects, components, data structures, etc., that perform a specific task or implement a specific abstract data type. This application can also be practiced in distributed computing environments where tasks are performed by remote processing electronic devices connected via a communication network. In a distributed computing environment, program modules can reside in local and remote computer storage media, including storage electronic devices.
[0123] The units described in the embodiments of this application can be implemented in software or hardware, and the described units can also be located in a processor. The names of these units do not necessarily limit the specific unit itself.
[0124] It should be noted that although several modules or units for the electronic device used to perform actions have been mentioned in the detailed description above, this division is not mandatory. In fact, according to the embodiments of this application, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided and embodied by multiple modules or units.
[0125] Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein can be implemented by software or by combining software with necessary hardware. Therefore, the technical solutions according to the embodiments of this application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (such as a CD-ROM, USB flash drive, external hard drive, etc.) or on a network, including several instructions to cause a computing electronic device (such as a personal computer, server, touch terminal, or network electronic device, etc.) to execute the method according to the embodiments of this application.
[0126] The electronic device in this embodiment may include components such as: radio frequency (RF) circuitry, memory, input unit, display unit, sensor, audio circuitry, wireless fidelity (WiFi) module, processor, and power supply. The RF circuitry can be used for receiving and transmitting signals during information transmission or calls, specifically receiving downlink information from the base station and processing it with the processor; additionally, it can send uplink data to the base station. Typically, the RF circuitry includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low-noise amplifier (LNA), and a duplexer. Furthermore, the RF circuitry can also communicate wirelessly with networks and other devices. The aforementioned wireless communication can use any communication standard or protocol, including but not limited to Global System for Mobile Communications (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE), email, and Short Messaging Service (SMS). The memory can be used to store software programs and modules. The processor executes various functional applications and data processing of the electronic device by running the software programs and modules stored in the memory. The memory can mainly include a program storage area and a data storage area. The program storage area can store the operating system, applications required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area can store data created according to the use of the electronic device (such as audio data, telephone book, etc.). In addition, the memory can include high-speed random access memory, and can also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. The input unit can be used to receive input digital or character information, and generate key signal input related to the settings and function control of the electronic device. Specifically, the input unit can include a touch panel and other input devices. The touch panel, also known as a touch screen, can collect touch operations on or near it (such as operations using fingers, styluses, or any suitable object or accessory on or near the touch panel) and drive the corresponding connected devices according to a pre-set program. Optionally, the touch panel can include two parts: a touch detection device and a touch controller.The touch detection device detects the touch location and the signal generated by the touch operation, transmitting the signal to the touch controller. The touch controller receives touch information from the touch detection device, converts it into touch point coordinates, sends it to the processor, and can receive and execute commands from the processor. Furthermore, various types of touch panels can be implemented, including resistive, capacitive, infrared, and surface acoustic wave touch panels. Besides the touch panel, the input unit can also include other input devices. Specifically, other input devices can include, but are not limited to, one or more of physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks. The display unit can be used to display input or provided information and various menus of the electronic device. The display unit can include a display panel, optionally configured as a Liquid Crystal Display (LCD), Organic Light-Emitting Diode (OLED), or similar display panel. Further, the touch panel can cover the display panel. When the touch panel detects a touch operation on or near it, it transmits the information to the processor to determine the type of touch event. Subsequently, the processor provides corresponding visual output on the display panel based on the type of touch event. The touch panel and display panel are two separate components for implementing input and output functions of the electronic device. However, in some embodiments, the touch panel and display panel can be integrated to achieve the input and output functions of the electronic device. The electronic device may also include at least one sensor, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor. The ambient light sensor can adjust the brightness of the display panel according to the ambient light level, and the proximity sensor can turn off the display panel and / or backlight when the electronic device is moved to the ear. As a type of motion sensor, an accelerometer sensor can detect the magnitude of acceleration in various directions (generally three axes). When stationary, it can detect the magnitude and direction of gravity, and can be used for applications that identify the posture of the electronic device (such as landscape / portrait switching, related games, magnetometer posture calibration), vibration recognition functions (such as pedometers, tapping), etc. Other sensors that may be configured in the electronic device, such as gyroscopes, barometers, hygrometers, thermometers, and infrared sensors, will not be elaborated here. Audio circuitry, speakers, and microphones provide an audio interface. The audio circuit can convert the received audio data into electrical signals and transmit them to the speaker, where the speaker converts them into sound signals for output. On the other hand, the microphone converts the collected sound signals into electrical signals, which are then received by the audio circuit and converted into audio data. The audio data is then output to the processor for processing and then sent to another electronic device, such as another electronic device, via the RF circuit, or output to the memory for further processing.
[0127] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein.
[0128] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
[0129] The above is a detailed description of the preferred embodiments of the present invention. However, the present invention is not limited to the above embodiments. Those skilled in the art can make various equivalent modifications or substitutions without departing from the spirit of the present invention. All such equivalent modifications or substitutions are included within the scope defined by the claims of the present invention.
Claims
1. A user information management method based on protocol configuration, characterized in that, include: Obtain activity requirements information, including the target insurance type and registration content requirements; Based on the target insurance type, an optional protocol is determined from the preset configuration protocols. Based on the registration content requirements, a target protocol is determined from the optional protocols. The target protocol includes multiple protocol options, and the protocol options match the registration content requirements. Generate data forms in the database corresponding to each of the aforementioned protocol options; The page is rendered according to all the protocol options, and an information collection box corresponding to each protocol option is generated. A data collection mapping relationship is established between the information collection box and the corresponding data form. According to the data collection mapping relationship, the user information input into the information collection box is saved to the corresponding data form; When the information collection ends, the activity analysis information is generated based on the user information stored in all the data forms. The step of rendering the page based on all the protocol options and generating an information collection box corresponding to each protocol option includes: The syntax tree of the target protocol is determined by a pre-configured syntax parser, and the position of each protocol option in the syntax tree is determined. The syntax tree is traversed from top to bottom, and multiple page components are generated according to the traversal order. Each page component uniquely corresponds to a protocol option. According to the pre-defined rendering framework, each page component is rendered into an information collection box; The generation of multiple page components according to the traversal order includes: Each time a protocol option is obtained during iteration, the corresponding page component is generated; Obtain the option description information and style information of the protocol option, determine the option description information as the component attribute of the page component, and determine the style information as the component style of the page component.
2. The user information management method based on protocol configuration according to claim 1, characterized in that, Prior to obtaining the activity requirement information, the method further includes: Obtain protocol configuration information, which includes associated insurance types, protocol styles to be configured, and multiple options to be configured. Create the optional protocol, determine the style of the protocol to be configured as the style information of the optional protocol, and determine the multiple options to be configured as the option description information of the optional protocol; Establish the association between the optional protocol and the associated insurance type.
3. The user information management method based on protocol configuration according to claim 1, characterized in that, The step of generating a data form in the database corresponding to each of the protocol options includes: Determine the master table of insurance types in the database corresponding to the target insurance type; Generate a data sub-table from the total insurance type table, and establish the association between the data sub-table and the target agreement; The corresponding data form is generated in the data sub-table according to each protocol option of the target protocol.
4. The user information management method based on protocol configuration according to claim 1, characterized in that, The step of establishing a data collection mapping relationship between the information collection box and the corresponding data form includes: Determine the form address information of the data form corresponding to the information collection box; The output address of the information collection box is redirected based on the form address information.
5. The user information management method based on protocol configuration according to claim 1, characterized in that, The step of generating activity analysis information based on the user information stored in all the data forms includes: Determine the data analysis strategy based on the target insurance type; The user information is analyzed according to the data analysis strategy to obtain the activity analysis information.
6. A user information management device based on protocol configuration, characterized in that, include: The demand acquisition unit is used to acquire activity demand information, which includes target insurance types and registration content requirements. The protocol acquisition unit is used to determine an optional protocol from a preset configuration protocol according to the target insurance type, and to determine a target protocol from the optional protocols according to the registration content requirements. The target protocol includes multiple protocol options, and the protocol options match the registration content requirements. A form generation unit is used to generate data forms in the database corresponding to each of the protocol options; The page rendering unit is used to render the page according to all the protocol options, generate information collection boxes corresponding to each protocol option, and establish a data collection mapping relationship between the information collection boxes and the corresponding data forms. An information collection unit is used to save user information input into the information collection box to the corresponding data form according to the data collection mapping relationship; The information analysis unit is used to generate activity analysis information based on the user information stored in all the data forms when an information collection end instruction is received. The step of rendering the page based on all the protocol options and generating an information collection box corresponding to each protocol option includes: The syntax tree of the target protocol is determined by a pre-configured syntax parser, and the position of each protocol option in the syntax tree is determined. The syntax tree is traversed from top to bottom, and multiple page components are generated according to the traversal order. Each page component uniquely corresponds to a protocol option. According to the pre-defined rendering framework, each page component is rendered into an information collection box; The generation of multiple page components according to the traversal order includes: Each time a protocol option is obtained during iteration, the corresponding page component is generated; Obtain the option description information and style information of the protocol option, determine the option description information as the component attribute of the page component, and determine the style information as the component style of the page component.
7. An electronic device, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, when the processor executes the computer program, it implements the user information management method based on protocol configuration as described in any one of claims 1 to 5.
8. A computer-readable storage medium storing a computer program, characterized in that, The computer program is used to execute the protocol-based user information management method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Insurance data processing method and device
CN107644045A
Page rendering method and apparatus, page processing method and apparatus
CN108664296A