CN108829882B - Information collection method, device, terminal and medium - Google Patents

Information collection method, device, terminal and medium Download PDF

Info

Publication number
CN108829882B
CN108829882B CN201810679500.0A CN201810679500A CN108829882B CN 108829882 B CN108829882 B CN 108829882B CN 201810679500 A CN201810679500 A CN 201810679500A CN 108829882 B CN108829882 B CN 108829882B
Authority
CN
China
Prior art keywords
field
display
page
identification
input
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810679500.0A
Other languages
Chinese (zh)
Other versions
CN108829882A (en
Inventor
张跃
张委
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Lexin Software Technology Co Ltd
Original Assignee
Shenzhen Lexin Software Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Lexin Software Technology Co Ltd filed Critical Shenzhen Lexin Software Technology Co Ltd
Priority to CN201810679500.0A priority Critical patent/CN108829882B/en
Publication of CN108829882A publication Critical patent/CN108829882A/en
Application granted granted Critical
Publication of CN108829882B publication Critical patent/CN108829882B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/02Marketing; Price estimation or determination; Fundraising
    • G06Q30/0201Market modelling; Market analysis; Collecting market data

Landscapes

  • Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Development Economics (AREA)
  • Finance (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Game Theory and Decision Science (AREA)
  • Data Mining & Analysis (AREA)
  • Economics (AREA)
  • Marketing (AREA)
  • Physics & Mathematics (AREA)
  • General Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the invention discloses an information collection method, an information collection device, a terminal and a medium. The method comprises the following steps: acquiring the identification of the target data item in the incomplete state; indexing the display field set associated with the target material item by the identification of the target material item; rendering each field in a display field set associated with the target material item to generate an input page for a user to input information on the input page, wherein the display field set comprises at least one field and an identifier of each field; and backfilling the information input by the user into the value of the corresponding field in the collection field set by taking the identification of each field as an index so as to finish the information collection on the input page. The embodiment of the invention can reduce the development workload and the testing workload without updating the version of the information collecting device, and accelerate the response speed of the access requirement of a new merchant.

Description

Information collection method, device, terminal and medium
Technical Field
Embodiments of the present invention relate to information processing technologies, and in particular, to an information collection method, an information collection device, a terminal, and a medium.
Background
With the development of internet technology, more and more merchants collect information of users through network terminals to provide matched services for the users.
Because different merchants provide different services and have different information demands on users, the current method for collecting user information is to set up a collecting program matched with the information demands on the user side according to the information demands of the merchants. If the information collection requirement is changed by the merchant or a new merchant is accessed, the collection program needs to be re-developed, so that the development workload is large; meanwhile, the collection program is difficult to meet the requirements of diversified and differentiated information collection.
Disclosure of Invention
Embodiments of the present invention provide an information collection method, an information collection device, a terminal, and a medium, so that the version of the information collection device does not need to be updated, the development workload and the test workload are reduced, and the response speed of the access requirement of a new merchant is increased.
In a first aspect, an embodiment of the present invention provides an information collection method, including:
acquiring the identification of the target data item in the incomplete state;
indexing a display field set associated with the target material item by the identification of the target material item;
rendering each field in a display field set associated with a target material item to generate an input page for a user to input information on the input page, wherein the display field set comprises at least one field and an identifier of each field;
and backfilling the information input by the user into the value of the corresponding field in the collection field set by taking the identification of each field as an index so as to finish the information collection on the input page.
In a second aspect, an embodiment of the present invention further provides an information collecting apparatus, including:
the acquisition module is used for acquiring the identification of the target data item in the incomplete state;
the index module is used for indexing a display field set associated with the target material item by using the identification of the target material item;
the rendering module is used for rendering each field in a display field set associated with the target material item to generate an input page for a user to input information on the input page, and the display field set comprises at least one field and an identifier of each field;
and the backfilling module is used for backfilling the information input by the user into the value of the corresponding field in the collection field set by taking the identification of each field as an index so as to finish the information collection on the input page.
In a third aspect, an embodiment of the present invention further provides a terminal, where the terminal includes:
one or more processors;
a memory for storing one or more programs,
when the one or more programs are executed by the one or more processors, the one or more processors implement the information collection method of any embodiment.
In a fourth aspect, the present invention further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the computer program implements the information collecting method according to any embodiment.
In the embodiment of the invention, the identification of the target data item in a non-completion state is obtained, the display field set associated with the target data item is indexed by the identification of the target data item, and each field in the display field set associated with the target data item is rendered to generate the input page, so that the input page is generated by the display field set corresponding to the identification of the target data item, the configurability and the dynamism of information requirements are realized, when a merchant changes the information collection requirement or a new merchant accesses, the data item and the corresponding display field set can be directly changed without updating the version of an information collection device, the development workload and the test workload are reduced, the response speed of the access requirement of the new merchant is accelerated, the maintenance is easy, and the product risk is reduced; meanwhile, the data item and the display field set can be changed according to the information collection requirement, so that diversified and differentiated information collection requirements are met.
Furthermore, the embodiment of the invention takes the identification of each field as an index, backfills the information input by the user into the value of the corresponding field in the collection field set to complete the information collection on the input page without traversing the multi-level display field set, so that the collection efficiency and the collection accuracy are improved; moreover, the display field set and the collection field set are two independent sets, the input page does not need to be focused on in the collection phase, and the coupling of the collection phase and the display phase is reduced.
Drawings
FIG. 1 is a flow chart of an information collection method according to an embodiment of the present invention;
fig. 2 is a flowchart of an information collection method according to a second embodiment of the present invention;
fig. 3a is a flowchart of an information collecting method according to a third embodiment of the present invention;
FIG. 3b is a schematic diagram illustrating an association relationship between a data item display page and input pages at different levels according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an information collecting apparatus according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a terminal according to a fifth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of an information collection method according to an embodiment of the present invention, where the embodiment is applicable to a case where an input page is rendered through a pre-configured field matching an information collection requirement, and user information is collected through the input page, and the method may be executed by an information collection device, which may be implemented by hardware and/or software and integrated in a terminal. As shown in fig. 1, the method specifically comprises the following steps:
s110, acquiring the identification of the target material item in the incomplete state.
S120, indexing the display field set associated with the target material item by the identification of the target material item.
The data item refers to an item corresponding to information collection requirements of the merchant, such as real-name authentication, identity card, personal information, family information and the like, and the user needs to input information corresponding to the data item to facilitate collection of the merchant. For a material item, if the user inputs all information corresponding to the material item, marking the material item as a finished state; if the user does not input any information corresponding to the data item, marking the data item as an unprocessed state; if the user inputs the partial information corresponding to the material item, the material item is marked as a processing state. The non-completion state includes an unprocessed state and a processed state, and accordingly, the material items in the unprocessed state and the processed state are taken as target material items.
The data item has a unique identifier and can be represented by the ID of the data item; also, the identification of the material item serves as an index to the set of display fields associated with the material item. Wherein the set of display fields associated with the material item may be preconfigured by the developer in accordance with the information gathering needs of the merchant. Based on the above, the identification of the target material item in the incomplete state is obtained, and the display field set associated with the target material item is indexed by the identification of the target material item.
The present embodiment is applicable to the following two scenarios: one scenario is that the states of all the data items are non-completion states, and the identifications of the target data items in the non-completion states are sequentially acquired in all the data items. The other scenario is that the user has input information corresponding to a part of the material items, that is, the state of the other part of the material items is in a non-completion state, and then the identification of the target material item is sequentially acquired from the material items in the non-completion state.
S130, rendering each field in a display field set associated with the target material item to generate an input page for a user to input information on the input page, wherein the display field set comprises at least one field and the identification of each field.
Illustratively, as shown in table 1, the display field set includes page _ title (input page name), page _ id (identification of input page), and page _ fields (attached field subset), and table 1 also shows whether each field is mandatory and the field type. As shown in Table 2, the fields include the identification of each field and a plurality of fields, and Table 2 also shows whether each field is mandatory and the field type. The values are illustrated in table 2, where the field sequence numbers are unique and can be used as field identifiers.
Table 1 shows fields in a field set
Field(s) Whether it is necessary to select Type of field Description of the invention
page_title N String Inputting page names
page_id Y String Identification of input pages
fields Y Array Subset of affiliated fields
TABLE 2 identification of fields and fields in the subset of affiliated fields
Figure BDA0001710599120000061
And inputting the field set into a rendering frame for rendering, and generating an input page. Optionally, the rendering framework may be a 2D rendering framework written based on OpenGL. The input page displays the input items matched with the information collection requirements of the merchant, and the user can input the corresponding information in the input items of the input page.
In this embodiment, when a merchant changes an information collection requirement (for example, a data item or a display field set needs to be modified) or a new merchant accesses the information collection requirement, only the data item and the corresponding display field set need to be modified according to the information collection requirement of the merchant, and the modification is not required on the input page. Or, without paying attention to the content in the material item and the corresponding display field set, the information collection device can directly collect information according to the method provided by the embodiment, and the version of the information collection device does not need to be updated.
In some embodiments, a material item corresponds to a set of display fields, and a set of display fields is used to generate an input page. Table 3 shows a plurality of fields in 2 input pages, the display set corresponding to input page 1 includes fields 1-5, and the display set corresponding to input page 2 includes fields 6-9.
Multiple fields in table 32 input pages table 42 modules of input pages and fields in the modules
Figure BDA0001710599120000071
In other embodiments, to make an input page more hierarchical, the entries may be displayed in regions on the same input page. Illustratively, a material item corresponds to a set of display fields, a set of display fields comprising at least one module, each module comprising block _ title (name of module), block _ id (identification of module), and block _ fields (set of module sub-fields); the module sub-field set includes at least one field and an identification of the field. Of course, a display field set may also contain multiple layers of nested modules to enrich the hierarchy of the page. Correspondingly, rendering each field in the display field set associated with the target material item to generate an input page, comprising: determining a display area corresponding to each module according to the corresponding relation between block _ title and/or block _ id and the display area; and rendering the fields in each module to the corresponding display area on the input page. For example, on the ID card input page, the upper half renders fields in the ID card front module and the lower half renders fields in the ID card back module.
In conjunction with tables 3 and 4, the fields are contained in the corresponding set or module of display fields for the page. In table 3, if information input by the user is to be acquired, a corresponding display field set needs to be acquired first, and then a value of a field corresponding to the information input by the user is acquired from the display field set; in table 4, it is also necessary to acquire a module corresponding to information input by the user from the display field set, and acquire the value of the field from the module. In one scenario, the user enters 24 an age entry in the personal information profile item. If information is collected from the display field set, the display field set corresponding to the personal information data item needs to be acquired first, then the age field is acquired from the display field set corresponding to the personal information data item, and further the value of the age field is obtained: 24. as can be seen, collecting information from the set of display fields requires searching layer by layer, and especially when there are more pages or the page level is deep (for example, the page includes one or more layers of modules shown in table 4), the searching time is long and the calculation amount is large. Based on this, embodiments of the present invention employ a single layer of collection field sets to collect information entered by a user.
And S140, backfilling the information input by the user into the value of the corresponding field in the collected field set by taking the identification of each field in the collected field set as an index so as to finish information collection on the input page.
And pre-establishing a collection field set, wherein the collection field set comprises the identification of each field and the value of each field. The identification of each field in the collection field set corresponds to the identification of each field in the display field set one by one, and the two sets comprise the same field.
Table 4 shows the content of the collection field set, with the fields not included in the other sets, i.e., the collection field set is a single-layer set. In S140, after the user inputs information, the identification of the corresponding field is determined. And backfilling the information input by the user into the value of the field with the same identification in the collected field set by taking the identification of each field as an index, thereby completing information acquisition on the input page without searching layer by layer through the display field set.
Table 5 collection field set
Field identification (sequence number) Value of the field
Field 1
Field 2
Field 3
Field 4
Field 5
Field 6
Field 7
Field 8
Field 9
In the embodiment of the invention, the identification of the target data item in a non-completion state is obtained, the display field set associated with the target data item is indexed by the identification of the target data item, and each field in the display field set associated with the target data item is rendered to generate the input page, so that the input page is generated by the display field set corresponding to the identification of the target data item, the configurability and the dynamism of information requirements are realized, when a merchant changes the information collection requirement or a new merchant accesses, the data item and the corresponding display field set can be directly changed without updating the version of an information collection device, the development workload and the test workload are reduced, the response speed of the access requirement of the new merchant is accelerated, the maintenance is easy, and the product risk is reduced; meanwhile, the data item and the display field set can be changed according to the information collection requirement, so that diversified and differentiated information collection requirements are met.
Furthermore, the embodiment of the invention takes the identification of each field as an index, backfills the information input by the user into the value of the corresponding field in the collection field set to complete the information collection on the input page without traversing the multi-level display field set, so that the collection efficiency and the collection accuracy are improved; moreover, the display field set and the collection field set are two independent sets, the input page does not need to be focused on in the collection phase, and the coupling of the collection phase and the display phase is reduced.
Example two
In this embodiment, the above embodiment is further optimized, and in the process of generating the input page, corresponding input items, such as age, address, mobile phone number, and the like, need to be displayed on the page for the user to input information. Although the meaning of the input item is different, the input type of the input item can be classified into 4 types of text, multiple selection, single selection and address selection. In this embodiment, on the one hand, a field provided by a merchant is abstracted and separated to obtain a common component for an information collection device to call to display an input interface, wherein the component is located in a component layer of an information collection state; on the other hand, the check rule is written into a "valid" component library and saved to the component layer to establish association with the common component.
Fig. 2 is a flowchart of an information collection method according to a second embodiment of the present invention. The method specifically comprises the following steps:
s210, acquiring the identification of the target material item in the incomplete state.
S220, indexing the display field set associated with the target material item by the identification of the target material item.
S210 and S220 are the same as S110 and S120 in the above embodiments, respectively, and are not described again here.
S230, acquiring the type of each field in the display field set associated with the target material item, wherein the type of the field at least comprises one of text, multi-selection, single-selection and address selection.
Table 6 shows the field types and the corresponding descriptions, where the field types in table 6 include text, multiple selection, single selection, address selection, and of course, the field types may also include input types such as picture, audio, video, and the like.
Table 6 field types and corresponding descriptions
Type Description of the invention
Input Text
Select Multiple selection
Radio Single selection
Locate Address selection
S240, calling a component matched with the type of the field, and rendering each field in the display field set associated with the target material item to generate an input page for a user to input information on the input page.
The text type is matched with a text input box component, and the text input box component is used for inputting content in a text format, such as names, identity numbers and the like.
The multiple selection type is matched with a multiple selection box component, and the multiple selection box component is used for selecting data items, such as time of admission, academic calendar and the like. Note that the options field cannot be empty when the field type is select.
The radio types are matched to radio box components that are used for user radio, such as affiliation.
The address selection type is matched with the address bar component, the address bar component is used for selecting the user address, the displayed 'provincial region' field is displayed, other codes such as the provincial region are hidden, and the Chinese name and the codes in the provincial region are backfilled to the value of the corresponding field in the collection field set when the address component is called to select the address.
S250, obtaining the check rule associated with the identification of the component and/or the field.
As shown in table 1, the display field set further includes a valid field for filling of the field check rule. The developer can fill in the verification rule in advance according to the verification requirement of a merchant, write the verification rule into the valid component library, store the valid component library into the component layer and establish association with common components (namely a text input box component, a radio box component, a multi-box component and an address bar component), and accordingly verify the input information of the whole component. For example, the check rule of the text input box component is not null, and the check rule of the radio box component is not more than optional.
In some embodiments, the check rule may also be associated with the identification of a field to check the input information of a certain field. For example, the check rule of the mobile phone number field is 11 digits, and the check rule of the name field is Chinese characters.
In other embodiments, the check rule is associated with both the identification of the field and the component to flexibly check the input information for a field and the entire component.
And S260, verifying the information input by the user through the verification rule.
And S270, if the verification is legal, backfilling the information input by the user into the value of the corresponding field in the collected field set by taking the identification of each field as an index so as to finish the information collection on the input page.
If the information is not verified, the user is prompted to be illegal, and the information input by the user is continuously verified.
In this embodiment, the corresponding component is determined and called according to the type of the field, and the input page is rendered. Therefore, when the merchant changes the information collection requirement or a new merchant accesses the information collection device, the page display condition does not need to be concerned, only the input page needs to be generated through the type of the field, the version of the information collection device does not need to be updated, and the development workload is reduced.
Further, the check rules are uniformly stored in the 'valid' component library for checking, when the check rules need to be modified, only the specific rules in the 'valid' component library need to be modified, and the implementation process of field and/or component check business does not need to be modified; meanwhile, the check rule is associated with the public component, the check rule of the whole public component can be changed directly and uniformly by modifying the check rule, the check rule does not need to be set for each public component or even each field independently, and the development workload is reduced.
EXAMPLE III
The present embodiment further optimizes the above embodiment, and defines the whole flow of collecting the user information by the information collecting apparatus. The information collection device is logically divided into an interface layer, a service layer and a component layer. The interface layer is used for acquiring a data item display page and an input page, the service layer is used for service processing, and the component layer is used for providing an input interface and field verification for a user. Specifically, in the following steps, S320, S350, and S384 are performed at the interface layer, S230 to S260 in the second embodiment are performed at the component layer, and the rest of the steps are performed at the business layer.
Fig. 3a is a flowchart of an information collecting method according to a third embodiment of the present invention, as shown in fig. 3a, including the following steps:
s310, acquiring the identification of the data item display page according to the service information of the user.
S320, indexing the display field set associated with the data item display page by the identification of the data item display page.
In this embodiment, the service information of the user may be a document number and a product ID, at least one document item that needs to be input by the user is displayed on the document item display page, and the service information corresponds to the identifier of the document item display page one to one. Based on the method, the identification of the data item display page can be obtained according to the service information of the user, and the display field set associated with the data item is indexed by the identification of the data item display page. Wherein the set of display fields associated with the presentation page of the material item includes at least a name of the material item, an identification of the material item, and a completion status field of the material item. Table 7 shows the set of display fields associated with the item display page. Illustratively, the completion status fields of the entries in Table 7 include 10, 20, and 30. Item status descriptions for 10 are complete and item status descriptions for 20 are in process. 30 is unprocessed.
TABLE 7 set of display fields associated with the display page of the material item
Field(s) Type (B) Description of the invention
material_group_label String Name of material item
material_group_status_desc String Description of status of items
material_group_status Number Completion status field of a Material item
material_group_id Number Identification of material item
S330, rendering each field in the display field set associated with the data item display page to generate the data item display page.
In one example, there are 4 items of material displayed on the material display page, which are real name authentication, identification card, personal information, and family information, respectively. The identification of the data item display page is 0, the identification of the real-name authentication is 2000, the identification of the identity card is 3000, the identification of the personal information is 4000, and the identification of the family information is 5000. If the merchant desires to add a material item, a new field may be added to the set of display fields associated with the material item display page.
If all the data items are in the completed state, the content of the existing data items is submitted to the merchant, and if the data items in the non-completed state exist, the process continues to step S340.
S340, acquiring the identification of the target material item in the incomplete state.
S350, indexing the display field set associated with the target material item by the identification of the target material item.
S360, rendering each field in a display field set associated with the target material item to generate an input page for a user to input information on the input page, wherein the display field set comprises at least one field and the identification of each field.
And S370, backfilling the information input by the user into the value of the corresponding field in the collection field set by taking the identification of each field as an index so as to finish information collection on the input page.
In combination with the description of the check rule in the second embodiment, in this embodiment, before S370, the check rule associated with the identifier of the component and/or the field may also be obtained; verifying the information input by the user through a verification rule; if the verification is legal, S370 is performed.
In some embodiments, the target profile item is associated with a multi-level input page having a sequential opening order. FIG. 3b is a schematic diagram illustrating the relationship between the data item display page and each level of input page according to the third embodiment of the present invention. As shown in fig. 3b, 2001 represents the identification card information, 2002 represents the bank card page, and the user can render the bank card page after inputting the identification card information. If the merchant needs to add an input page, a new field may be added to the set of display fields corresponding to the input page.
The display field set indexed by the identification of the target data item in this step is the display field set corresponding to the first page of input page. Considering that there may be a next page after the first page is input into the page, the existence of the next page needs to be judged.
S380, judging whether the next page related to the target material item exists after the page is input. If so, i.e. the next page associated with the target material item is available after the page is input, jumping to S381; if not, i.e., the input page does not have a next page associated with the target material item, it jumps to S382.
Optionally, acquiring an identifier of a last page associated with the target material item, and if the identifier of the input page is the same as the identifier of the last page, indicating that the input page does not have a next page associated with the target material item; if the identification of the input page is different from the identification of the last page, the next page associated with the target material item is shown after the input page.
And S381, determining the identification of the next page according to the identification of the input page. Execution continues with S383.
As shown in fig. 3b, the identity of the next page is obtained by adding 1 to the identity of the previous page. Based on this, the identification of the next page can be obtained by adding 1 to the identification of the input page.
S382, switching the target material item to a complete state in the display field set associated with the material item display page. Execution continues with S385.
If the input page does not have the next page associated with the target material item, which indicates that all the page inputs of the target material item are completed, the non-completion status field of the target material item is switched to the completion status.
S383, indexing a display field set associated with the next page by the identification of the next page. Execution continues with S384.
And S384, rendering each field in the display field set associated with the next page to generate the next page, and jumping to S370.
S385, rendering each field in the updated display field set associated with the data item display page to generate the data item display page. Execution continues with S386.
S386, judging whether the target data item has a non-completion state, if so, jumping to S340; if not, go to S387.
And S387, all the data items are in the finished state, and the information input by the user is submitted to the merchant.
And after the information in one target data item is input, indexing the updated display field set associated with the data item display page by using the identification index of the updated data item display page, and rendering each field in the updated display field set associated with the data item display page to generate a data item display page, namely displaying the updated data item display page. As shown in FIG. 3b, the identification of the updated display page for the material item is-1.
If the target material item in the incomplete state exists, optionally, in response to a triggering operation of the target material item in the incomplete state by the user, acquiring an identifier of the target material item in the incomplete state triggered by the user, and further executing a subsequent operation. The information acquisition device can also automatically acquire the identification of a target data item in a non-completion state so as to execute the subsequent operation.
If the target data item in the non-completion state does not exist, the input of all the data items is completed, and the information input by the user is submitted to the merchant. Optionally, the collection field set may be submitted to the merchant through a data saving interface of the interface layer to determine whether the submission is successful. If the submission is not successful, the collection field set is submitted to the merchant again through the data storage interface of the interface layer until the submission is successful.
Example four
Fig. 4 is a schematic structural diagram of an information collecting apparatus according to a fourth embodiment of the present invention, as shown in fig. 4, including an obtaining module 41, an indexing module 42, a rendering module 43, and a backfilling module 44.
An obtaining module 41, configured to obtain an identifier of a target material item in a non-completion state;
an indexing module 42, configured to index the set of display fields associated with the target material item by the identifier of the target material item;
a rendering module 43, configured to render each field in a display field set associated with the target material item to generate an input page, so that a user can input information on the input page, where the display field set includes at least one field and an identifier of each field;
and the backfilling module 44 is used for backfilling the information input by the user into the value of the corresponding field in the collected field set by taking the identification of each field as an index so as to finish information collection on the input page.
In the embodiment of the invention, the identification of the target data item in a non-completion state is obtained, the display field set associated with the target data item is indexed by the identification of the target data item, and each field in the display field set associated with the target data item is rendered to generate the input page, so that the input page is generated by the display field set corresponding to the identification of the target data item, the configurability and the dynamism of information requirements are realized, when a merchant changes the information collection requirement or a new merchant accesses, the data item and the corresponding display field set can be directly changed without updating the version of an information collection device, the development workload and the test workload are reduced, the response speed of the access requirement of the new merchant is accelerated, the maintenance is easy, and the product risk is reduced; meanwhile, the data item and the display field set can be changed according to the information collection requirement, so that diversified and differentiated information collection requirements are met.
Furthermore, the embodiment of the invention takes the identification of each field as an index, backfills the information input by the user into the value of the corresponding field in the collection field set to complete the information collection on the input page without traversing the multi-level display field set, so that the collection efficiency and the collection accuracy are improved; moreover, the display field set and the collection field set are two independent sets, the input page does not need to be focused on in the collection phase, and the coupling of the collection phase and the display phase is reduced.
Optionally, when rendering each field in the display field set associated with the target material item to generate the input page, the rendering module 43 is specifically configured to: acquiring the type of each field in a display field set associated with a target material item, wherein the type of the field at least comprises one of text, multi-selection, single-selection and address selection; and calling a component matched with the type of the field, and rendering each field in the display field set associated with the target material item to generate an input page.
Optionally, the apparatus further comprises a verification module. The obtaining module 41 is further configured to obtain a check rule associated with the identifier of the component and/or the field before the backfilling module 44 backfills the information input by the user into the value of the corresponding field in the collected field set with the identifier of each field as an index; correspondingly, the checking module is used for checking the information input by the user through the checking rule; if the verification is legal, the operation of backfilling the information input by the user into the value of the corresponding field in the collected field set by using the identification of each field as an index through a backfilling module 44.
Optionally, the obtaining module 41 is further configured to obtain an identifier of a material item display page according to the service information of the user before obtaining the identifier of the target material item in the non-completion state; correspondingly, the indexing module 42 is further configured to index the display field set associated with the material item display page with the identifier of the material item display page, where the display field set associated with the material item display page includes at least one material item name, an identifier of the material item, and a completion status field of the material item; the rendering module 43 is configured to render each field in the set of display fields associated with the material item display page to generate the material item display page.
Optionally, the apparatus further comprises a determining module and a judging module. After the backfilling module 44 backfills the information input by the user with the identification of each field as an index to the value of the corresponding field in the collection set of fields, the determining module is configured to: it is determined whether there is a next page associated with the target material item after the page is entered. The determination module is to: and if the judging module judges that the input page has a next page related to the target material item, determining the identifier of the next page according to the identifier of the input page. The indexing module 42 is configured to: the identifier of the next page indexes the set of display fields associated with the next page, and the rendering module 43 continues to perform the rendering operation on each field in the set of display fields associated with the next page to generate the next page and the subsequent operation.
Optionally, the apparatus further comprises a switching device. The switching device is used for: if the judging module judges that the input page does not have the next page related to the target data item, switching the target data item to be in a completion state in the display field set related to the data item display page; the rendering module 43 is configured to: rendering each field in the updated display field set associated with the data item display page to generate a data item display page; returning to the operation of acquiring the identification of the target material item in the non-completion state by the acquisition module 41 until all the identification of the material items are in the completion state.
Optionally, the set of display fields includes at least one module, each module including a name of the module, an identification of the module, and a set of module attachment sub-fields; the module sub-field set comprises at least one field and an identification of the field; when rendering each field in the display field set associated with the target material item to generate the input page, the rendering module 43 is specifically configured to: determining a display area corresponding to each module according to the corresponding relation between the name of the module and/or the identifier of the module and the display area; and rendering the fields in each module to the corresponding display area on the input page.
The information collecting device provided by the embodiment of the invention can execute the information collecting method provided by any embodiment of the invention, and has corresponding functional modules and beneficial effects of the executing method.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a terminal according to a fifth embodiment of the present invention, and as shown in fig. 5, the terminal includes a processor 50, a memory 51, an input device 52, and an output device 53; the number of the processors 50 in the terminal may be one or more, and one processor 50 is taken as an example in fig. 5; the processor 50, the memory 51, the input device 52 and the output device 53 in the terminal may be connected by a bus or other means, which is exemplified in fig. 5.
The memory 51 is a computer-readable storage medium, and can be used for storing software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the information collection method in the embodiment of the present invention (for example, the obtaining module 41, the indexing module 42, the rendering module 43, and the backfilling module 44 in the information collection apparatus). The processor 50 executes various functional applications of the terminal and data processing by running software programs, instructions, and modules stored in the memory 51, that is, implements the above-described information collection method.
The memory 51 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 51 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 51 may further include memory located remotely from the processor 50, which may be connected to the terminal over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 52 may be used to receive user-entered information, such as numeric or character information, and to generate key signal inputs relating to user settings and function control of the terminal. The output device 53 may include a display device such as a display screen.
EXAMPLE six
An embodiment of the present invention also provides a computer-readable storage medium having stored thereon a computer program, which when executed by a computer processor is configured to perform an information collection method, the method including:
acquiring the identification of the target data item in the incomplete state;
indexing the display field set associated with the target material item by the identification of the target material item;
rendering each field in a display field set associated with the target material item to generate an input page for a user to input information on the input page, wherein the display field set comprises at least one field and an identifier of each field;
and backfilling the information input by the user into the value of the corresponding field in the collection field set by taking the identification of each field as an index so as to finish the information collection on the input page.
Of course, the computer program provided by the embodiments of the present invention is not limited to the above method operations, and may also perform related operations in the information collection method provided by any embodiments of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods of the embodiments of the present invention.
It should be noted that, in the embodiment of the information collection device, the included units and modules are merely divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be realized; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments illustrated herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (8)

1. An information collection method, comprising:
acquiring the identification of a data item display page according to the service information of the user;
indexing a display field set associated with the data item display page by using the identification of the data item display page, wherein the display field set associated with the data item display page comprises at least one data item name, identification of the data item and a completion state field of the data item;
rendering each field in the display field set associated with the data item display page to generate a data item display page;
acquiring the identification of the target data item in the incomplete state;
indexing a display field set associated with the target material item by the identification of the target material item;
rendering each field in a display field set associated with a target material item to generate an input page for a user to input information on the input page, wherein the display field set comprises at least one field and an identifier of each field;
backfilling the information input by the user into the value of the corresponding field in the collection field set by taking the identification of each field as an index so as to finish information collection on the input page;
wherein, the rendering each field in the display field set associated with the target material item to generate the input page comprises:
acquiring the type of each field in a display field set associated with a target material item, wherein the type of each field at least comprises one of text, multi-selection, single-selection and address selection;
and calling a component matched with the type of the field, and rendering each field in the display field set associated with the target material item to generate an input page.
2. The method of claim 1, further comprising, prior to backfilling the user-entered information with values of corresponding fields in the collection set of fields, indexed by the identification of each field:
obtaining a check rule associated with the identification of the component and/or field;
checking the information input by the user through the checking rule;
and if the verification is legal, the operation of backfilling the information input by the user into the value of the corresponding field in the collected field set by taking the identification of each field as an index is executed.
3. The method of claim 1, further comprising, after backfilling the user-entered information with values of corresponding fields in the collection set of fields indexed by the identification of each field:
judging whether a next page related to the target material item exists after the input page;
if the next page related to the target material item is arranged behind the input page, determining the identifier of the next page according to the identifier of the input page;
and continuously executing the operation of generating the next page by rendering each field in the display field set associated with the next page and the subsequent operation according to the identification index of the next page and the display field set associated with the next page.
4. The method of claim 3, further comprising:
switching the target material item to a completion state in a display field set associated with a material item display page if the next page associated with the target material item is not available after the input page;
rendering each field in the updated display field set associated with the data item display page to generate a data item display page;
and returning to execute the operation of acquiring the identification of the target material item in the non-completion state until the identifications of all the material items are in the completion state.
5. The method of any of claims 1-4, wherein the set of display fields includes at least one module, each module including a name of the module, an identification of the module, and a set of module attachment sub-fields; the module sub-field set comprises at least one field and an identification of the field;
the rendering of each field in the set of display fields associated with the target material item to generate the input page includes:
determining a display area corresponding to each module according to the corresponding relation between the name of the module and/or the identifier of the module and the display area;
and rendering the fields in each module to the corresponding display area on the input page.
6. An information collection device, comprising:
the acquisition module is used for acquiring the identification of the target data item in the incomplete state;
the index module is used for indexing a display field set associated with the target material item by using the identification of the target material item;
the rendering module is used for rendering each field in a display field set associated with the target material item to generate an input page for a user to input information on the input page, and the display field set comprises at least one field and an identifier of each field;
the backfilling module is used for backfilling the information input by the user into the value of the corresponding field in the collected field set by taking the identifier of each field as an index so as to finish information collection on the input page;
wherein the rendering module is specifically configured to:
acquiring the type of each field in a display field set associated with a target material item, wherein the type of each field at least comprises one of text, multi-selection, single-selection and address selection;
calling a component matched with the type of the field, and rendering each field in a display field set associated with the target material item to generate an input page;
the acquisition module is used for acquiring the identification of the data item display page according to the service information of the user before acquiring the identification of the target data item in the incomplete state;
correspondingly, the index module is further configured to index a display field set associated with the material item display page by using the identifier of the material item display page, where the display field set associated with the material item display page includes at least one material item name, an identifier of the material item, and a completion status field of the material item;
and the rendering module is used for rendering each field in the display field set associated with the data item display page to generate the data item display page.
7. A terminal, characterized in that the terminal comprises:
one or more processors;
a memory for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the information collection method of any one of claims 1-5.
8. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the information collecting method according to any one of claims 1 to 5.
CN201810679500.0A 2018-06-27 2018-06-27 Information collection method, device, terminal and medium Active CN108829882B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810679500.0A CN108829882B (en) 2018-06-27 2018-06-27 Information collection method, device, terminal and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810679500.0A CN108829882B (en) 2018-06-27 2018-06-27 Information collection method, device, terminal and medium

Publications (2)

Publication Number Publication Date
CN108829882A CN108829882A (en) 2018-11-16
CN108829882B true CN108829882B (en) 2021-05-04

Family

ID=64138016

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810679500.0A Active CN108829882B (en) 2018-06-27 2018-06-27 Information collection method, device, terminal and medium

Country Status (1)

Country Link
CN (1) CN108829882B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110083839B (en) * 2019-04-29 2023-08-22 珠海豹好玩科技有限公司 Text importing method, device and equipment
CN113610603B (en) * 2021-08-09 2024-04-16 京东科技控股股份有限公司 Page information processing method and device, electronic equipment and storage medium
CN115544417B (en) * 2022-10-10 2024-05-31 中电金信软件有限公司 Method and device for verifying web form, electronic equipment and storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106990970A (en) * 2017-04-06 2017-07-28 苏州金唯智生物科技有限公司 Based on MVC dynamic pages generation method and system
CN108170706A (en) * 2017-11-22 2018-06-15 链家网(北京)科技有限公司 A kind of information collection page generation method and device

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103425778B (en) * 2013-08-16 2017-03-08 国家电网公司 A kind of intelligent development platform of database application system
KR101559207B1 (en) * 2013-12-18 2015-10-12 장수진 System of predicting industrial indicator wlth economic indicator and operating method thereof
CN104636485A (en) * 2015-02-16 2015-05-20 广东省公安厅 Multi-data-source data association method and device based on data monitoring
CN105843848A (en) * 2016-03-14 2016-08-10 上海沪景信息科技有限公司 Business monitoring data processing method, system, database system and electronic equipment
CN105868326B (en) * 2016-03-25 2020-06-05 山东正元地球物理信息技术有限公司 Pipeline data storage method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106990970A (en) * 2017-04-06 2017-07-28 苏州金唯智生物科技有限公司 Based on MVC dynamic pages generation method and system
CN108170706A (en) * 2017-11-22 2018-06-15 链家网(北京)科技有限公司 A kind of information collection page generation method and device

Also Published As

Publication number Publication date
CN108829882A (en) 2018-11-16

Similar Documents

Publication Publication Date Title
CN108427731B (en) Page code processing method and device, terminal equipment and medium
CN111666346B (en) Information merging method, transaction inquiring method, device, computer and storage medium
CN108829882B (en) Information collection method, device, terminal and medium
CN110727857A (en) Method and device for identifying key features of potential users aiming at business objects
CN108694574B (en) Resource transfer channel processing method, device and equipment
CN113204345A (en) Page generation method and device, electronic equipment and storage medium
CN110232156B (en) Information recommendation method and device based on long text
TW202032466A (en) User age prediction method, apparatus, and device
CN109271564A (en) Declaration form querying method and equipment
CN109785867B (en) Double-recording flow configuration method and device, computer equipment and storage medium
US20240354353A1 (en) Method and apparatus for displaying search result, and method and apparatus for processing search request
CN112199715B (en) Object generation method based on block chain and cloud computing and digital financial service center
CN113987054A (en) Big data governance full-flow visualization method and device and storage medium
CN116302079B (en) Service data processing method and device, electronic equipment and storage medium
WO2020233093A1 (en) Association graph generation method and apparatus, computer device, and storage medium
CN111753203A (en) Card number recommendation method, device, equipment and medium
CN116755820A (en) Method, device, equipment and storage medium for selecting page data
CN110298679A (en) A kind of method and apparatus calculating the distance between sample data
CN112650763A (en) Configuration method of product quota, related equipment and storage medium
CN110990278A (en) Test method and device
CN110572310A (en) Address book-based driving test route sharing method, terminal and storage medium
CN108256989B (en) Data display method and system of fund preparation system
KR102449831B1 (en) Electronic device for providing information regarding new text, server for identifying new text and operation method thereof
CN118014264A (en) Service flow deployment method and device, electronic equipment and storage medium
CN118152292A (en) Batch test method, device, equipment and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant