Detailed Description
For the purposes, technical solutions and advantages of the present application, the technical solutions of the present application will be clearly and completely described below with reference to specific embodiments of the present application and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The following describes in detail the technical solutions provided by the embodiments of the present application with reference to the accompanying drawings.
In order to solve the problem that in the prior art, after a user finishes wind measurement, the description of the wind measurement result of the user is difficult to change, the embodiment of the specification provides a method for generating the description of the wind measurement result. The execution body of the method provided in the embodiments of the present disclosure may be, but is not limited to, a server or the like, and may be configured to execute at least one of the method apparatuses provided in the embodiments of the present disclosure.
For convenience of description, hereinafter, embodiments of the method will be described taking an execution subject of the method as a server capable of executing the method as an example. It will be appreciated that the subject matter of the method being performed by the server is merely an exemplary illustration and should not be construed as limiting the method.
Specifically, an implementation flow diagram of a method for generating a wind measurement result description document provided in one or more embodiments of the present disclosure is shown in fig. 1, and includes:
step 110, obtaining a key field for representing the wind measurement result of the target user, wherein the content of the key field is not modifiable until the target user does not conduct wind measurement again.
As described in the background art, in the prior art, once the wind test of a user is completed, the description of the wind test result is difficult to change, and in order to solve this problem, in the embodiment of the present disclosure, some description words in the wind test result of the target user are replaced by key fields, and there is a correspondence between the key fields or the combination of the key fields and the description words.
Optionally, the categories of key fields include at least one of:
a life stage in which the user is located;
the current financial condition of the user;
investment maturity of the user;
the risk preference type of the user;
investment liquidity that users tend to;
the level of risk that a user can face.
The specific level of each key field of each category may include default, primary, intermediate, and advanced levels, or may include default, primary, intermediate, and advanced levels, which may be specific according to the actual situation, and one or more embodiments of the present disclosure are not limited thereto specifically.
As shown in table 1, the category of key fields and the corresponding class of descriptive text are provided for one or more embodiments of the present specification. It should be noted that the categories of the key fields and the descriptive words of the corresponding levels listed in table 1 are only examples, and do not constitute a specific limitation on which categories the key fields in the present specification include, which levels the levels corresponding to the key fields of the respective categories include, and the descriptive words corresponding to the respective levels of the key fields of the respective categories.
TABLE 1 category of key field and descriptive text for corresponding level
Taking the life stage of the user as an example, the life stage may include three levels, namely a primary level, a middle level and a high level, and a default level may be set for the life stage of the user, where the default level may be set to one of the primary level, the middle level and the high level, for example, the default level of the life stage may be set to the primary level, and may be specific to the actual situation, and one or more embodiments of the present specification are not limited thereto specifically. The description text corresponding to the primary stage of the life stage can be a 'life struggling period', the description text corresponding to the middle stage of the life stage can be a 'financial accumulation period', and the description text corresponding to the high stage of the life stage can be a 'financial value period'.
Taking the current financial condition of the user as an example, the financial condition may include three levels, namely a primary level, a middle level and a high level, and a default level may be set for the current financial condition of the user, where the default level may be set to one of the primary level, the middle level and the high level, for example, the default level of the financial condition may be set to the primary level, and may be specific to the actual situation, and one or more embodiments of the present specification are not limited thereto specifically. The description text corresponding to the primary of the financial condition can be 'little money', the description text corresponding to the middle level of the financial condition can be 'little asset', and the description text corresponding to the high level of the financial condition can be 'Jinyuchangtang'.
Taking the investment maturity of the user as an example, the investment maturity may include three levels, namely a primary level, a middle level and a high level, and a default level may be set for the investment maturity of the user, and the default level may be set to one of the primary level, the middle level and the high level, for example, the default level of the investment maturity may be set to the primary level, and may be specific according to the actual situation, and one or more embodiments of the present specification are not limited thereto in particular. The description text corresponding to the primary level of the investment maturity can be an initial level, the description text corresponding to the middle level of the investment maturity can be an investment level, and the description text corresponding to the high level of the investment maturity can be a master level.
Taking the risk preference type of the user as an example, the risk preference type may include three levels, namely a primary level, a middle level and a high level, and a default level may be set for the risk preference type of the user, where the default level may be set to one of the primary level, the middle level and the high level, for example, the default level of the risk preference type may be set to the primary level, and may be specific to the actual situation, and one or more embodiments of the present specification are not limited thereto specifically. The description words corresponding to the primary level of the risk preference type may be "conservative type", the description words corresponding to the middle level of the risk preference type may be "stable type", and the description words corresponding to the high level of the risk preference type may be "aggressive type".
Taking the investment mobility as an example, the investment mobility may include three levels, namely, a primary level, a medium level and a high level, and a default level may be set for the investment mobility as the user tends, and the default level may be set to one of the primary level, the medium level and the high level, for example, the default level of the investment mobility may be set to the primary level, and may be specific to the actual situation, and one or more embodiments of the present specification are not limited thereto. The description text corresponding to the primary level of the investment fluidity can be 'low fluidity', the description text corresponding to the middle level of the investment fluidity can be 'medium fluidity', and the description text corresponding to the high level of the investment fluidity can be 'high fluidity'.
Taking the risk level that the user can face as an example, the risk level may include three levels, namely a primary level, a middle level and a high level, and a default level may be set for the risk level that the user can face, where the default level may be set to one of the primary level, the middle level and the high level, for example, the default level of the risk level may be set to the primary level, and may be specific to the actual situation, and one or more embodiments of the present specification are not limited to this specifically. The description text corresponding to the primary level of the risk level may be "low risk", the description text corresponding to the middle level of the risk level may be "medium-high risk", and the description text corresponding to the high level of the risk level may be "high risk".
Then, the key field for identifying the wind measurement result of the target user is obtained, and the level of the life stage of the target user, the level of the current financial condition of the target user, the level of the maturity of the target user, the level of the mobility of the target user and the risk level that the user can face are obtained.
And 120, determining description characters corresponding to the key fields of the wind measurement result of the target user from a preset document template, wherein the preset document template comprises the corresponding relation between the key fields or the combination of the key fields and the description characters.
Optionally, for users of different professional types, the descriptive text of the corresponding category can be provided in combination with the professional attribute thereof to provide better experience for the users, for example, for users in the financial investment industry, the descriptive text of the wind test result can be designed in a more specialized language, and for users outside the financial investment industry, the descriptive text of the wind test result can be designed in a more popular and understandable language. Therefore, in one or more embodiments of the present disclosure, the preset document template further includes a correspondence between a professional label of a user and a description text category, where the description text category includes at least one category of description text, and determining, from the preset document template, the description text corresponding to a key field of a wind measurement result of a target user may specifically include:
acquiring a professional label of a target user;
determining a target description text category corresponding to the professional label of the target user from a preset text template;
and determining the descriptive text corresponding to the key field of the wind measurement result of the target user from the target descriptive text category, wherein the target descriptive text category comprises the corresponding relation between the key field or the combination of the key fields and the descriptive text.
And 130, generating a wind measurement result description file of the target user based on the description text corresponding to the key field of the wind measurement result of the target user.
Optionally, after generating the wind measurement result description of the target user based on the description text corresponding to the key fields of the wind measurement result of the target user, if the operator finds that the description text corresponding to some key fields in the wind measurement result description of the target user is not appropriate, the wind measurement result description may be modified, where:
acquiring a target key field corresponding to the descriptive text to be changed;
changing descriptive text corresponding to the target key field from a preset text template;
based on the changed preset document template, updating the wind measurement result description document of the target user.
It should be understood that after the modification of the preset document template, the wind measurement result description document of the target user may be regenerated based on the modified preset document target, and then the updating of the wind measurement result description document of the target user by the modified preset document template may include:
determining descriptive characters corresponding to the target key fields from the modified preset document template;
and updating the risk result description file of the target user based on the description text corresponding to the target key field.
Optionally, the final descriptive text of the wind measurement result of the target user not only includes descriptive text corresponding to key fields of the wind measurement result of the target user, but also needs to connect the descriptive text corresponding to the key fields in series to form a complete text which is convenient for the target user to read. Then, based on the descriptive text corresponding to the key field of the wind measurement result of the target user, generating a wind measurement result descriptive text of the target user includes:
acquiring a full text description corresponding to a wind measurement result of a target user;
and generating the wind measurement result description file of the target user based on the description text corresponding to the key field of the wind measurement result of the target user and the full-text description file.
Optionally, in order to facilitate concatenating the full text description with the description text corresponding to the key field of the wind measurement result of the target user, some fields to be filled may be included in the full text description, where the fields to be filled also include categories corresponding to the categories of the key field. The categories of the key fields include the life stage of the user, the current financial condition of the user, the investment maturity of the user, the risk preference type of the user, the investment liquidity of the user, and the risk level the user can face, and then the categories of the fields to be filled in the full text description can also include six categories corresponding to the key fields of the six categories.
Then, in order to avoid that the category of the field to be filled in the full text description does not correspond to the category of the key field, which causes the generated wind measurement result description of the target user to be abnormal, the wind measurement result description of the target user is generated based on the description text corresponding to the key field of the wind measurement result of the target user and the full text description, which specifically can:
acquiring a field to be filled in a full text description;
if the field to be filled in the full text description file is matched with the key field of the wind measurement result of the target user, generating the wind measurement result description file of the target user based on the description text corresponding to the key field of the wind measurement result of the target user and the full text description file.
That is, only if the category of the field to be filled in the full text description file corresponds to the category of the key field one by one, the wind measurement result description file of the target user can be generated based on the description text corresponding to the key field of the wind measurement result of the target user and the full text description file.
The method for generating the wind measurement result description document according to the embodiment of the present invention will be described in detail below by taking the generation process of the wind measurement result description document shown in fig. 2 as an example. As shown in fig. 2, the method comprises the following main steps:
step 21, obtaining a wind measurement result of a target user and a preset document target;
step 22, determining whether a preset document template is non-empty and whether a wind test result of a target user comprises a key field;
if the preset document template is empty or the wind measurement result of the target user does not include the key field, step 23 is executed, and if the preset document template is not non-empty and the wind measurement result of the target user includes the key field, step 24 is executed.
Step 23, obtaining and displaying a general document corresponding to the wind measurement result of the target user;
step 24, generating a wind test result description file of the target user based on a preset file template and key fields in the wind test result of the target user;
specifically, step 24 includes three branches: the first branch is used for acquiring a general document corresponding to a wind measurement result of a target user; the second branch is used for determining descriptive characters corresponding to the key fields in the wind measurement result of the target user from a preset text template according to the key fields in the wind measurement result of the target user; and the third branch is used for acquiring the full-text description corresponding to the wind measurement result of the target user. The first branch acquires a general file corresponding to the wind measurement result of the target user, namely a standby file, so as to be used when the generation process of the description file of the wind measurement result of the target user is abnormal.
Step 25, determining whether the wind test result description file of the target user generated in step 24 is complete;
in order to avoid abnormal situations such as incomplete wind measurement result description of a generated target user caused by the fact that the category of a field to be filled in the full-text description does not correspond to the category of a key field, the field to be filled in the full-text description can be obtained; and determining whether the field to be filled in the full text description is matched with the key field of the wind test result of the target user, such as whether the phenomena of missing field or redundant field and the like occur.
Step 26, if it is determined that the wind measurement result description of the target user generated in step 24 is complete, displaying the generated description to the target user;
and step 27, if the wind test result description file of the target user generated in the step 24 is determined to be incomplete, displaying the general file corresponding to the wind test result to the target user.
After the wind test is completed on the target user, a key field for identifying the wind test result of the target user can be obtained, the content of the key field cannot be modified before the wind test is performed again on the target user, then the key field of the wind test result of the target user is determined from a preset document template, the preset document template comprises the corresponding relation between the key field or the combination of the key fields and descriptive text, and the wind test result descriptive text of the target user can be generated based on the descriptive text corresponding to the key field of the wind test result of the target user. Because the preset document template establishes the correspondence between key fields or the combination of the key fields and descriptive characters, if the wind test result descriptive document of the target user is to be changed, the descriptive characters corresponding to the key fields or the combination of the key fields can be changed in the preset document template, so that the change of the wind test result descriptive document of the target user can be realized without traversing a database for recording the wind test result descriptive document of the target user, the wind test result descriptive document related to the target user is changed one by one, and the flow for changing the wind test result descriptive document is simplified.
Fig. 3 is a schematic structural diagram of a wind measurement result description document generating apparatus 300 provided in the present specification. Referring to fig. 3, in a software embodiment, a generating device 300 of a wind measurement result description document may include an obtaining unit 301, a determining unit 302, and a generating unit 303, where:
an obtaining unit 301, configured to obtain a key field for representing a wind measurement result of a target user, where content of the key field is not modifiable until the target user does not perform wind measurement again;
the determining unit 302 determines, from a preset document template, descriptive text matched with a key field of the wind measurement result of the target user, where the preset document template includes a corresponding relationship between the key field or a combination of key fields and the descriptive text;
and the generating unit 303 generates a wind measurement result description file of the target user based on the description text corresponding to the key field of the wind measurement result of the target user.
Optionally, in one embodiment, the apparatus further comprises:
a first obtaining unit 304 that obtains a target key field corresponding to a descriptive text to be changed;
a changing unit 305, configured to change the description text corresponding to the target key field from a preset document template;
and an updating unit 306, configured to update the wind measurement result description document of the target user based on the modified preset document template.
Optionally, in one embodiment, the updating unit 306 is specifically configured to:
determining descriptive text corresponding to the target key field from the modified preset text template;
and updating the risk result description file of the target user based on the description text corresponding to the target key field.
Optionally, in an embodiment, the preset document template further includes a correspondence between a professional label of the user and a descriptive text category, where the descriptive text category includes descriptive text of at least one category, and the determining unit 302 is specifically configured to:
acquiring a professional label of a target user;
determining a target description text category corresponding to the professional label of the target user from a preset text template;
and determining the descriptive text corresponding to the key field of the wind measurement result of the target user from the target descriptive text category, wherein the target descriptive text category comprises the corresponding relation between the key field or the combination of the key fields and the descriptive text.
Optionally, in an embodiment, the generating unit 303 is specifically configured to:
acquiring a full-text description corresponding to the wind measurement result of the target user;
and generating the wind measurement result description file of the target user based on the description text corresponding to the key field of the wind measurement result of the target user and the full-text description file.
Optionally, in an embodiment, the generating unit 303 is specifically configured to:
acquiring a field to be filled in the full text description;
and if the field to be filled in the full text description is determined to be matched with the key field of the wind measurement result of the target user, generating a description text corresponding to the key field of the wind measurement result of the target user and the full text description, and generating the wind measurement result description of the target user.
Optionally, in one embodiment, the category of the key field includes at least one of:
a life stage in which the user is located;
the current financial condition of the user;
investment maturity of the user;
the risk preference type of the user;
investment liquidity that users tend to;
the level of risk that a user can face.
The wind test result description document generating device 300 can implement the method of the method embodiments of fig. 1 to 2, and specifically, the wind test result description document generating method of the embodiment shown in fig. 1 to 2 may be referred to, which is not repeated.
Fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. Referring to fig. 4, at the hardware level, the electronic device includes a processor, and optionally an internal bus, a network interface, and a memory. The Memory may include a Memory, such as a Random-Access Memory (RAM), and may further include a non-volatile Memory (non-volatile Memory), such as at least 1 disk Memory. Of course, the electronic device may also include hardware required for other services.
The processor, network interface, and memory may be interconnected by an internal bus, which may be an ISA (Industry Standard Architecture ) bus, a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus, or EISA (Extended Industry Standard Architecture ) bus, among others. The buses may be classified as address buses, data buses, control buses, etc. For ease of illustration, only one bi-directional arrow is shown in FIG. 4, but not only one bus or type of bus.
And the memory is used for storing programs. In particular, the program may include program code including computer-operating instructions. The memory may include memory and non-volatile storage and provide instructions and data to the processor.
The processor reads the corresponding computer program from the nonvolatile memory to the memory and then runs the computer program to form the wind test result description document generating device on the logic level. The processor is used for executing the programs stored in the memory and is specifically used for executing the following operations:
acquiring a key field used for representing a wind measurement result of a target user, wherein the content of the key field cannot be modified until the target user does not conduct wind measurement again;
determining description characters corresponding to key fields of the wind measurement result of the target user from a preset document template, wherein the preset document template comprises the corresponding relation between the key fields or the combination of the key fields and the description characters;
and generating a wind measurement result description file of the target user based on the description text corresponding to the key field of the wind measurement result of the target user.
The method for generating the wind measurement result description file disclosed in the embodiment shown in fig. 1-2 of the present specification can be applied to a processor or implemented by the processor. The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or by instructions in the form of software. The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but also digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The various methods, steps, and logic blocks disclosed in one or more embodiments of the present description may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with one or more embodiments of the present disclosure may be embodied directly in a hardware decoding processor or in a combination of hardware and software modules in a decoding processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory, and the processor reads the information in the memory and, in combination with its hardware, performs the steps of the above method.
The electronic device may further execute the method for generating the wind measurement result description file of fig. 1 to 2, which is not described herein.
Of course, in addition to the software implementation, the electronic device in this specification does not exclude other implementations, such as a logic device or a combination of software and hardware, that is, the execution subject of the following process is not limited to each logic unit, but may also be hardware or a logic device.
In summary, the foregoing description is only a preferred embodiment of the present invention and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, or the like, which is within the spirit and principles of one or more embodiments of the present disclosure, is intended to be included within the scope of one or more embodiments of the present disclosure.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. One typical implementation is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
Computer readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of storage media for a computer include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article or apparatus that comprises the element.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments.