WO2020233078A1 - 用户信息表单的构建方法、装置、设备及存储介质 - Google Patents

用户信息表单的构建方法、装置、设备及存储介质 Download PDF

Info

Publication number
WO2020233078A1
WO2020233078A1 PCT/CN2019/122327 CN2019122327W WO2020233078A1 WO 2020233078 A1 WO2020233078 A1 WO 2020233078A1 CN 2019122327 W CN2019122327 W CN 2019122327W WO 2020233078 A1 WO2020233078 A1 WO 2020233078A1
Authority
WO
WIPO (PCT)
Prior art keywords
user
information form
user information
user interface
component
Prior art date
Application number
PCT/CN2019/122327
Other languages
English (en)
French (fr)
Inventor
陈佩
Original Assignee
深圳壹账通智能科技有限公司
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 深圳壹账通智能科技有限公司 filed Critical 深圳壹账通智能科技有限公司
Publication of WO2020233078A1 publication Critical patent/WO2020233078A1/zh

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/38Creation or generation of source code for implementing user interfaces
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation

Definitions

  • This application relates to the technical field of software development, and in particular to a method, device, equipment and storage medium for constructing a user information form.
  • the collection of data information is mainly realized through various forms.
  • data and information can be collected through form entry.
  • forms that realize the user information entry function mainly adopt a module stacking method, that is, each user type needs to write corresponding code to perform data on the user.
  • the corresponding code is called to switch the display page, so as to display the corresponding user information form service for the user.
  • the main purpose of this application is to provide a method, device, equipment and storage medium for constructing a user information form, which aims to solve the problem of high difficulty in later maintenance and low maintenance efficiency due to the long code of the user information form in the prior art. technical problem.
  • this application provides a method for constructing a user information form.
  • the method includes the following steps:
  • the development requirements of the first user information form determine the user types supported by the first user information form and the information to be filled in for each user type
  • Responsive programming is adopted to compile the target user component input to obtain the first user information form.
  • the step of determining the user types supported by the first user information form and the information to be filled in for each user type according to the development requirements of the first user information form includes:
  • this application also proposes a device for constructing a user information form, and the device includes:
  • the first determining module is configured to determine the user types supported by the first user information form and the information to be filled in for each user type according to the development requirements of the first user information form;
  • the second determination module is used to determine the component type of the user interface component involved in each user type according to the information that each user type needs to fill in;
  • the search module is used to find the target user interface component that meets the development requirements from the pre-packaged user interface component library according to each component type;
  • the compiling module is used to compile the target user component by adopting a responsive programming mode to obtain the first user information form.
  • this application also proposes a device for constructing a user information form, the device including: a memory, a processor, and computer-readable instructions stored on the memory and executable by the processor, When the computer-readable instructions are executed by the processor, the steps of the method for constructing a user information form as described above are realized.
  • this application also proposes a computer-readable storage medium with computer-readable instructions stored on the computer-readable storage medium.
  • the computer-readable instructions are executed by a processor, the implementation is as described above. The steps of the method for constructing the user information form.
  • FIG. 1 is a schematic structural diagram of a device for constructing a user information form of a hardware operating environment involved in a solution of an embodiment of the present application;
  • FIG. 2 is a schematic flowchart of a first embodiment of a method for constructing a user information form of an application
  • FIG. 3 is a schematic flowchart of a second embodiment of a method for constructing a user information form of an application
  • Fig. 4 is a structural block diagram of a first embodiment of a device for constructing a user information form of this application.
  • FIG. 1 is a schematic diagram of the structure of a device for constructing a user information sheet of a hardware operating environment involved in a solution of an embodiment of the application.
  • the device for constructing the user information form may include a processor 1001, such as a central processing unit (Central Processing Unit, CPU), communication bus 1002, user interface 1003, network interface 1004, memory 1005.
  • the communication bus 1002 is used to implement connection and communication between these components.
  • the user interface 1003 may include a display screen (Display) and an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface.
  • the network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface).
  • WIreless-FIdelity WI-FI
  • the memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, can also be a stable non-volatile memory (Non-Volatile Memory, NVM), such as disk storage.
  • RAM Random Access Memory
  • NVM Non-Volatile Memory
  • the memory 1005 may also be a storage device independent of the foregoing processor 1001.
  • FIG. 1 does not constitute a limitation on the construction equipment of the user information form, and may include more or less components than those shown in the figure, or a combination of certain components, or different components Layout.
  • a memory 1005 as a computer-readable storage medium may include an operating system, a network communication module, a user interface module, and computer-readable instructions.
  • the network interface 1004 is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; processing in the device for constructing a user information form of this application
  • the device 1001 and the memory 1005 may be provided in a device for constructing a user information form.
  • the device for constructing a user information form calls the computer-readable instructions stored in the memory 1005 through the processor 1001, and executes the user information form provided in the embodiment of the application.
  • the construction method is mainly used for data communication with a network server; the user interface 1003 is mainly used for data interaction with a user; processing in the device for constructing a user information form of this application
  • the device 1001 and the memory 1005 may be provided in a device for constructing a user information form.
  • the device for constructing a user information form calls the computer-readable instructions stored in the memory 1005 through the processor 1001, and executes the user information form provided in the embodiment of the application.
  • the construction method is mainly used for data communication
  • FIG. 2 is a schematic flowchart of a first embodiment of a method for constructing a user information form of this application.
  • the method for constructing the user information form includes the following steps:
  • Step S10 according to the development requirements of the first user information form, determine the user types supported by the first user information form and the information to be filled in for each user type.
  • this embodiment uses the user information form to be constructed as the merchant entry form (the collected user information is the progress information provided by the merchant when processing the entry service, such as the merchant’s basic information, settlement information, attachment information, etc.)
  • the collected user information is the progress information provided by the merchant when processing the entry service, such as the merchant’s basic information, settlement information, attachment information, etc.
  • the execution subject of this embodiment is specifically a pre-built Internet-based credit application development platform, that is, the user described in this embodiment is deployed
  • a development platform for the construction process of information forms can be a traditional physical server (which needs to take up actual physical space) or a virtual cloud server, and there is no restriction here.
  • the aforementioned physical server may be any terminal device used by the developer, such as a personal computer, a notebook computer, etc.
  • the aforementioned virtual server may be a cloud desktop that supports the access of the terminal device of the developer.
  • the aforementioned incoming documents generally appear in the credit business. Specifically, after the user applying for the credit business has prepared the information required for the credit business, the staff responsible for the credit business or the user himself will operate
  • the Internet-based credit application provided by a bank or a credit company enters the above-mentioned data into the system of the bank or credit company.
  • the incoming goods are mainly divided into merchant incoming goods and individual user incoming goods.
  • development requirements refer to the modules that need to be involved in the first user information form to be built, the content, layout, and interface prototypes that need to be included in each module to assist developers in the development work. Document.
  • the development requirements of the first user information form roughly include user types and content that each user type needs to include.
  • the user types mentioned in this embodiment may include: enterprise, public institution, individual industrial and commercial household, self-employed, and other user types. Enumerate, there is no restriction on this.
  • the content that needs to be filled in can roughly include: legal person identity information (such as ID card number, name of certificate holder, certificate validity period, etc.), business registration information (such as business registration name, business License registration number, organization code, validity period, business name, etc.).
  • legal person identity information such as ID card number, name of certificate holder, certificate validity period, etc.
  • business registration information such as business registration name, business License registration number, organization code, validity period, business name, etc.
  • the content that needs to be filled in can roughly include: legal person identity information (such as ID card number, certificate holder name, certificate validity period, etc.), business registration information (such as business registration name, business license, etc.) Registration number, business name, etc.), that is, individual business type merchants compared to public institution and enterprise type merchants, there is no need to fill in the organization code and validity period.
  • legal person identity information such as ID card number, certificate holder name, certificate validity period, etc.
  • business registration information such as business registration name, business license, etc. Registration number, business name, etc.
  • the content that needs to be filled in includes legal person identity information, such as ID card number, name of the certificate holder, and certificate validity period.
  • step S10 the operations performed in step S10 above can be implemented using keyword extraction technology.
  • the specific implementation process is roughly as follows:
  • the keyword extraction technology is used to perform a keyword extraction operation on the development requirements to obtain a first keyword set.
  • semantic analysis is performed on each keyword in the first keyword set, and according to the semantics of each keyword, the user types supported by the first user information form and the information to be filled in for each user type are determined.
  • the development requirements can be in multiple formats, such as text format, voice format, and picture format. List them one by one, without any restriction on this.
  • the development requirement can be determined first. Format, and then adaptively adjust according to the format of the development requirements.
  • the voice recognition technology is used to convert the development requirement of the voice format into a text format development requirement; if the development requirement is determined to be a picture format, then optical character recognition (Optical Character Recognition) is used.
  • Character Recognition OCR technology, converts the development requirements of the picture format into the development requirements of the text format; if the development requirements are in the text format, the keyword extraction technology is directly used to perform the keyword extraction operation on the development requirements of the text format.
  • the operation of using the keyword extraction technology to perform the keyword extraction operation on the development requirement is essentially: using the keyword extraction technology to perform the keyword extraction operation on the development requirement in the text format.
  • text preprocessing operations may be performed on the development requirements of the text format.
  • remove invalid special characters such as emoticons, various punctuation marks, etc.
  • a series of preprocessing operations can be performed on the development requirements of the speech format, such as filtering, removing interference sounds, etc., to ensure the converted text
  • the information is more accurate.
  • Step S20 Determine the component type of the user interface component involved in each user type according to the information to be filled in for each user type.
  • UI components USER INTERFACE Module, which is commonly referred to as UI components.
  • the so-called component is to encapsulate one or several sections of code that complete their respective functions into one or several independent parts.
  • the UI component contains one or several code segments with respective functions, and finally completes the representation of the user interface.
  • the component type of the UI component is specifically determined according to the functional attributes of the UI component.
  • the type of the UI component used as the head navigation bar can be named header, which will be used for switching
  • the type of UI components is uniformly named tab
  • the type of the list used for displaying information is uniformly named list
  • the type of UI component used as the footer of the front-end page is uniformly named footer.
  • the UI components can also be refined, such as dividing the UI components into UI components for inputting ID card numbers, UI components for inputting mobile phone numbers, and inputting evidence holder names
  • the UI components, etc. are not listed here, and there are no restrictions on this.
  • each UI component will be different because of the content it supports.
  • the UI component used to enter the ID number must be limited to only numbers and capital letters, and the capital letters need to be at the end One digit appears and the number of digits is 18.
  • the UI component used to enter the mobile phone number must be limited to only include digits and the number of digits is 11.
  • the UI component used to enter the name of the certificate holder must limit the input
  • the content is Chinese characters and so on.
  • Step S30 according to each component type, search for a target user interface component that meets the development requirement from a pre-packaged user interface component library.
  • the above-mentioned component filtering conditions corresponding to the first user information form determined according to the development requirements may include the information of the first user information form.
  • Application scenarios, and object-oriented information may include the information of the first user information form.
  • step (2) the operation of searching for user interface components that meet the component selection criteria from the user interface component library based on the component selection criteria may be implemented in the following manner in practical applications achieve:
  • the current user interface component For example, first traverse the user interface components in the user interface component library, and then compare the component information corresponding to the current user interface component traversed with the component filtering conditions, and finally through the comparison, if it is determined that the two match, It is considered that the current user interface component meets the component screening condition, that is, the current user interface component can be used as the target user interface component.
  • the user interface components found in the user interface component library that meet the component selection criteria are not unique based on the component selection criteria, it is possible to further determine the user interface components selected The recent popularity is then further filtered according to the popularity, until the target user interface component is filtered out.
  • Step S40 adopting a responsive programming mode to compile the target user component input to obtain the first user information form.
  • the reactive programming method adopted in this embodiment refers to development by using a reactive development framework
  • the reactive development framework mentioned here may be a ReactiveX reactive framework.
  • ReactiveX is essentially a framework that can help developers simplify asynchronous programming.
  • the framework expands the observer mode, allowing developers to freely combine multiple asynchronous events without having to deal with threads, synchronization, thread safety, and concurrent data. And I/O (input/output) blocking and other issues.
  • ReactiveX there are currently multiple versions of ReactiveX, and the use of ReactiveX will vary depending on the system used by the first user information form developed.
  • the first user information form obtained in this embodiment is essentially a user information form that includes UI components that need to be involved in all user types.
  • the method for constructing user information forms implements modular management of codes by pre-encapsulating user interface components and constructing a user interface component library, so that when the first user information form needs to be constructed , Only need to determine the user types supported by the first user information form and the information that each user type needs to fill according to the development requirements of the first user information form, and then determine the user interface components involved in each user type according to the information that each user type needs to fill in According to the determined component type, the target user interface component that meets the development needs can be found quickly and accurately from the pre-packaged user interface component library, which greatly simplifies the construction of the first user information form.
  • the user interface components used to construct the first user information form are pre-packaged based on the principle of modularization, this greatly facilitates the maintenance of the first user information form in the later period, thereby improving maintenance efficiency.
  • the method for constructing a user information form constructs a first user information form by using a responsive programming method, so that the constructed first user information form can respond to user operations in an asynchronous processing manner, thereby greatly reducing the number of first user information forms.
  • the user information form occupies the memory of the terminal device, so that the terminal device can respond to user operations faster and more smoothly, thereby greatly improving the user experience.
  • FIG. 3 is a schematic flowchart of a second embodiment of a method for constructing a user information form according to this application.
  • the method for constructing a user information form in this embodiment further includes:
  • Step S50 Create a signal variable, bind the signal variable with a user interface component for displaying the user type, and display the first user information form.
  • a signal variable is created, And bind the signal variable with the user interface component for displaying the user type, so that after the first user information form is displayed, only the change of the variable value corresponding to the signal variable needs to be monitored , It can quickly determine whether the user has switched the user type, so as to perform the operation of drawing the second user information form.
  • variable value the variable value of the signal variable
  • the value of the first variable is set as the default variable value of the signal variable, thereby In subsequent use, as long as it is detected that the signal variable changes from the first variable value to the second variable value, it can be considered that the signal variable has changed.
  • Step S60 When the signal variable changes, obtain the user type currently displayed in the user interface component for displaying the user type.
  • step S60 in practical applications, it is necessary to determine whether the signal variable has changed by monitoring the value of the variable corresponding to the signal variable.
  • a specific implementation manner may be: after the above step S50 is completed, the variable value corresponding to the signal variable is acquired in real time, and then it is determined whether the signal variable has changed according to the variable value.
  • step S60 if the signal variable changes, the above step S60 is executed; otherwise, the variable value corresponding to the signal variable is continuously obtained, and it is determined whether the signal variable has changed according to the variable value.
  • the signal variable is assigned a default first variable value when the signal variable is created, and the signal variable is bound to the user interface component used to display the user type, Therefore, when the user operates the user interface component displayed on the first user information form page for displaying the user type, such as switching from the currently displayed default user type to another user type, then the signal variable The corresponding first variable value will change to the preset second variable value. At this time, it can be determined that the signal variable has changed and needs to be executed to obtain the current display in the user interface component for displaying the user type. User type of operation.
  • Step S70 Drawing the second user information form on the basis of the first user information form according to the currently displayed user type.
  • step S70 a specific implementation manner is given below, which is roughly as follows:
  • the attributes of user interface components that do not need to be displayed in the second user information form are set to invisible.
  • the user interface components displayed on the first user information form page generally include: The user interface component for entering the corporate ID number, the user interface component for entering the name of the certificate holder, the user interface component for entering the validity period of the certificate, the user interface component for entering the business registration name, the user interface component for entering business The user interface component of the license registration number, the user interface component for entering the organization code, the user interface component for entering the validity period, the user interface component for entering the business name, etc.
  • the user components displayed in the information form generally include: user interface components for entering the legal person ID number, user interface components for entering the name of the certificate holder, and user interface components for entering the validity period of the certificate.
  • the user components that do not need to be displayed in the second user information form are: a user interface component for entering the business registration name, a user interface component for entering the business license registration number, and The user interface component for the organization code, the user interface component for entering the validity period, and the user interface component for entering the business name.
  • the user interface component for entering the business registration name the user interface component for entering the business license registration number, the user interface component for entering the organization code, the user interface component for entering the validity period, and the The properties of the user interface components for entering the business name can be set to invisible.
  • setting the attributes of the user interface components that do not need to be displayed in the second user information form to be invisible specifically means that the user interface components that do not need to be displayed in the second user information form are set to be invisible.
  • the information used to identify transparency in the component information of the user interface component displayed in the information form is set to transparent.
  • the height of the user interface components that do not need to be displayed can also be set to 0.1 mm , So that there will be no abrupt whitespace in the entire page, but only one dividing line.
  • the variable corresponding to the signal variable is adjusted from the second variable value to the first variable value, so that when the subsequently monitored signal variable changes from the first variable value to the second variable value again, the currently displayed user Types of.
  • the information that needs to be verified mainly includes the four elements of the business registration name, business license registration number, legal person name, and legal person certificate number filled in by the user.
  • this embodiment combines chain programming while using reactive programming.
  • the operation of "using chain programming to bind the signals corresponding to the above four elements" specifically refers to binding the four element signals by using the combineLatest method of signal processing in RxSwift, any of which When the signal changes, it will be judged.
  • the authentication interface will be triggered for authentication.
  • the existing authentication method can be directly used for reference, which will not be repeated here, nor will it make any restrictions.
  • the embodiments of the present application also provide a computer-readable storage medium, and the computer-readable storage medium may be a non-volatile readable storage medium.
  • the computer-readable storage medium of the present application stores computer-readable instructions.
  • the steps of the method for constructing a user information form as described above are realized.
  • Fig. 4 is a structural block diagram of a first embodiment of an apparatus for constructing a user information form of this application.
  • the device for constructing a user information form proposed in the embodiment of the present application includes:
  • the first determining module 4001 is used to determine the user types supported by the first user information form and the information that needs to be filled in for each user type according to the development requirements of the first user information form; the second determining module 4002 is used to determine the user Type The information to be filled in to determine the component type of the user interface component involved in each user type; the search module 4003 is used to find the target user interface that meets the development requirements from the pre-packaged user interface component library according to each component type Components; Compilation module 4004, used to use responsive programming to compile the target user components to obtain the first user information form.
  • the virtual function modules of the above-mentioned user information form construction device are stored in the memory 1005 of the user information form construction device shown in FIG. 1, and are used to implement all the functions of computer-readable instructions; when each module is executed by the processor 1001 , Can complete the entire process of constructing user information forms.
  • the first determining module includes:
  • the keyword extraction unit is configured to use keyword extraction technology to perform keyword extraction operations on the development requirements to obtain the first keyword set;
  • the keyword analysis unit is used to perform semantic analysis on each keyword in the first keyword set, and determine the types of users supported by the first user information form and what needs to be filled in for each user type according to the semantics of each keyword information.
  • search module includes:
  • a screening condition determining unit configured to determine a component screening condition corresponding to the first user information form according to the development requirement
  • the searching unit is configured to search for a user interface component that meets the component filtering condition from the user interface component library according to the component filtering condition, and use the found user interface component as the target user interface component.
  • the device for constructing the user information form further includes:
  • the signal variable creation module is used to create a signal variable, bind the signal variable to a user interface component for displaying the user type, and display the first user information form.
  • the device for constructing the user information form further includes:
  • the judgment module is configured to obtain the variable value corresponding to the signal variable in real time, and judge whether the signal variable has changed according to the variable value;
  • An acquiring module configured to acquire the user type currently displayed in the user interface component for displaying the user type when the signal variable changes
  • the drawing module is configured to draw the second user information form on the basis of the first user information form according to the currently displayed user type.
  • drawing module includes:
  • the first user interface component determining subunit is configured to determine the user interface component that needs to be displayed in the second user information form according to the currently displayed user type;
  • the second user interface component determining sub-unit is used to determine the user interface components displayed in the second user information form and the user interface components displayed in the first user information form as needed to determine that there is no need to User interface components displayed in the user information form;
  • the setting subunit is used to set the attributes of user interface components that do not need to be displayed in the second user information form to be invisible on the basis of the first user information form.
  • the device for constructing the user information form further includes:
  • the height setting module is used to set the height of the user interface components that do not need to be displayed in the second user information form to 0.1 mm.
  • each module in the above-mentioned user information form construction device corresponds to each step in the above-mentioned user information form construction method embodiment, and its functions and realization process are not repeated here.
  • the method of the embodiment can be implemented by means of software plus a necessary general hardware platform, of course, it can also be implemented by hardware, but the former is a better implementation in many cases.
  • the application s The essence of the technical solution or the part that contributes to the existing technology can be embodied in the form of a software product.
  • the computer software product is stored in a storage medium (such as Read Only Memory). Memory, ROM)/RAM, disk, optical
  • the disk includes several instructions to make a terminal device (which can be a mobile phone, a computer, a server, or a network device, etc.) execute the method described in each embodiment of the present application.

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Stored Programmes (AREA)

Abstract

一种用户信息表单的构建方法、装置、设备及存储介质,属于软件开发技术领域。该方法包括:根据第一用户信息表单的开发需求,确定第一用户信息表单支持的用户类型及各用户类型需要填写的信息(S10);根据各用户类型需要填写的信息,确定各用户类型涉及的用户界面组件的组件类型(S20);根据各组件类型,从预先封装的用户界面组件库中查找出符合开发需求的目标用户界面组件(S30);采用响应式编程方式,对目标用户组件进件编译,得到第一用户信息表单(S40)。通过上述方式,大大简化了用户信息表单的实现,从而方便了后期代码的维护。

Description

用户信息表单的构建方法、装置、设备及存储介质
本申请要求于2019年5月21日提交中国专利局、申请号为201910432589.5、发明名称为“用户信息表单的构建方法、装置、设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及软件开发技术领域,尤其涉及一种用户信息表单的构建方法、装置、设备及存储介质。
背景技术
随着大数据时代的到来,大数据技术被应用到了各行各业,并极大的促进了社会经济的蓬勃发展。在大数据的应用中,数据信息的收集是一个至关重要的环节。
目前,对于数据信息的收集工作,主要是通过各种表单来实现的。并且,为了满足不同用户类型的数据信息的均可以通过表单录入收集,目前实现用户信息录入功能的表单主要是采用模块堆积的方式,即每一个用户类型都需要编写对应的代码,在用户进行资料的录入时,根据用户选择的用户类型,调用对应的代码,进行显示页面的切换,从而为用户显示对应的用户信息表单业务。
虽然,这种方式可以满足不同用户类型的信息的录入,但是会导致实现信息录入的表单的代码过长,使得后期的维护难度高,维护效率低。
所以,亟需提供一种用户信息表单的构建方法,以降低用户信息表单对应的代码的维护难度,从而提升维护效率。
发明内容
本申请的主要目的在于提供一种用户信息表单的构建方法、装置、设备及存储介质,旨在解决现有技术中由于用户信息表单的代码过长,导致的后期维护难度高,维护效率低的技术问题。
为实现上述目的,本申请提供了一种用户信息表单的构建方法,所述方法包括以下步骤:
根据第一用户信息表单的开发需求,确定所述第一用户信息表单支持的用户类型及各用户类型需要填写的信息;
根据各用户类型需要填写的信息,确定各用户类型涉及的用户界面组件的组件类型;
根据各组件类型,从预先封装的用户界面组件库中查找出符合所述开发需求的目标用户界面组件;
采用响应式编程方式,对所述目标用户组件进件编译,得到所述第一用户信息表单。
优选地,所述根据第一用户信息表单的开发需求,确定所述第一用户信息表单支持的用户类型及各用户类型需要填写的信息的步骤,包括:
采用关键词提取技术,对所述开发需求进行关键词提取操作,得到第一关键词集合;
对所述第一关键词集合中的各关键词进行语义分析,根据各关键词的语义,确定所述第一用户信息表单支持的用户类型及各用户类型需要填写的信息。
此外,为实现上述目的,本申请还提出一种用户信息表单的构建装置,所述装置包括:
第一确定模块,用于根据第一用户信息表单的开发需求,确定所述第一用户信息表单支持的用户类型及各用户类型需要填写的信息;
第二确定模块,用于根据各用户类型需要填写的信息,确定各用户类型涉及的用户界面组件的组件类型;
查找模块,用于根据各组件类型,从预先封装的用户界面组件库中查找出符合所述开发需求的目标用户界面组件;
编译模块,用于采用响应式编程方式,对所述目标用户组件进件编译,得到所述第一用户信息表单。
此外,为实现上述目的,本申请还提出一种用户信息表单的构建设备,所述设备包括:存储器、处理器及存储在所述存储器上并可被所述处理器执行的计算机可读指令,其中所述计算机可读指令被所述处理器执行时,实现如上文所述的用户信息表单的构建方法的步骤。
此外,为实现上述目的,本申请还提出一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机可读指令,其中所述计算机可读指令被处理器执行时,实现如上文所述的用户信息表单的构建方法的步骤。
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其他特征和优点将从说明书、附图以及权利要求书变得明显。
附图说明
图1是本申请实施例方案涉及的硬件运行环境的用户信息表单的构建设备的结构示意图;
图2为本申请用户信息表单的构建方法第一实施例的流程示意图;
图3为本申请用户信息表单的构建方法第二实施例的流程示意图;
图4为本申请用户信息表单的构建装置第一实施例的结构框图。
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅用以解释本申请,并不用于限定本申请。
参照图1,图1为本申请实施例方案涉及的硬件运行环境的用户信息表单的构建设备结构示意图。
如图1所示,该用户信息表单的构建设备可以包括:处理器1001,例如中央处理器(Central Processing Unit,CPU),通信总线1002、用户接口1003,网络接口1004,存储器1005。其中,通信总线1002用于实现这些组件之间的连接通信。用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard),可选用户接口1003还可以包括标准的有线接口、无线接口。网络接口1004可选的可以包括标准的有线接口、无线接口(如无线保真(WIreless-FIdelity,WI-FI)接口)。存储器1005可以是高速的随机存取存储器(Random Access Memory,RAM)存储器,也可以是稳定的非易失性存储器(Non-Volatile Memory,NVM),例如磁盘存储器。存储器1005可选的还可以是独立于前述处理器1001的存储装置。
本领域技术人员可以理解,图1中示出的结构并不构成对用户信息表单的构建设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
如图1所示,作为一种计算机可读存储介质的存储器1005中可以包括操作系统、网络通信模块、用户接口模块以及计算机可读指令。
在图1所示的用户信息表单的构建设备中,网络接口1004主要用于与网络服务器进行数据通信;用户接口1003主要用于与用户进行数据交互;本申请用户信息表单的构建设备中的处理器1001、存储器1005可以设置在用户信息表单的构建设备中,所述用户信息表单的构建设备通过处理器1001调用存储器1005中存储的计算机可读指令,并执行本申请实施例提供的用户信息表单的构建方法。
本申请实施例提供了一种用户信息表单的构建方法,参照图2,图2为本申请一种用户信息表单的构建方法第一实施例的流程示意图。
本实施例中,所述用户信息表单的构建方法包括以下步骤:
步骤S10,根据第一用户信息表单的开发需求,确定所述第一用户信息表单支持的用户类型及各用户类型需要填写的信息。
为了便于说明,本实施例以需要构建的用户信息表单为商户进件表单(收集的用户信息是商户在办理进件业务时提供的进行信息,如商户的基本信息、结算信息、附件信息等)为例,进行具体说明。
具体的说,在构建的用户信息进件表单为商户进件表单时,本实施例的执行主体具体为预先构建的基于互联网的信贷应用程序的开发平台,即部署有本实施例所说的用户信息表单的构建流程的一个开发平台。在实际应用中,该平台可以是传统的物理服务器(需要占用实际物理空间),也可以是虚拟云服务器,此处不做限制。
应当理解的是,上述所说的物理服务器可以是开发人员使用的任意终端设备,比如个人计算机、笔记本电脑等。
相应的,上述所说的虚拟服务器,可以是支持开发人员的终端设备接入的云桌面。
此外,上述所说的进件,一般出现在信贷业务中,具体是指申请信贷业务的用户把办理信贷业务所需的资料准备好后,由负责办理信贷业务的工作人员或用户自己,通过操作银行或信贷公司提供的基于互联网的信贷应用程序,将上述资料录入到银行、信贷公司的系统里面的操作。目前的进件主要分为商户进件和个人用户进件。
此外,应当理解的是,所谓开发需求,就是规定了待构建的第一用户信息表单需要涉及的模块、各模块需要包含的内容、布局、界面原型图等信,以辅助开发人员进行开发工作的文档。
在本实施例中,所述第一用户信息表单的开发需求,大致包括用户类型及各用户类型需要包含的内容。
由于本实施例是以商户进件表单来进行说明的,因此本实施例中所说的用户类型可以包括:企业、事业单位、个体工商户、个体经营者等用户类型,此处不再一一列举,对此也不做限制。
相应地,各用户类型需要填写的内容大致可以如下:
在所述用户类型为事业单位和企业时,需要填写的内容大致可以包括:法人身份信息(如身份证号码,证件持有人姓名、证件有效期等)、工商注册信息(如工商注册名称、营业执照注册号、组织机构代码、有效期、营业名称等)等内容。
在所述用户类型为个体工商类型时,需要填写的内容大致可以包括:法人身份信息(如身份证号码,证件持有人姓名、证件有效期等)、工商注册信息(如工商注册名称、营业执照注册号、营业名称等)等内容,即个体工商类型的商户对比事业单位和企业类型的商户,不需要填写组织机构代码和有效期。
在所述用户类型为个体经营者时,需要填写的内容包括法人身份信息,如身份证号码,证件持有人姓名、证件有效期等信息即可。
需要说明的是,以上仅为举例说明,对本申请的技术方案并不构成任何限定,在具体实现中,本领域的技术人员可以根据需要进行设置,此处不做限制。
此外,值得一提的是,在实际应用中,上述步骤S10中所执行的操作,具体可以采用关键词提取技术来实现,具体的实现流程大致如下:
首先,采用关键词提取技术,对所述开发需求进行关键词提取操作,得到第一关键词集合。
具体的说,为了保证后续确定的所述第一用户信息表单支持的用户类型及各用户类型需要填写的信息尽可能的准确、完整,可以将所述开发需求中的所有内容进行切割,获得所述开发需求包括的所有关键词,并将得到的所有关键词均添加到所述第一关键词集合中。
然后,对所述第一关键词集合中的各关键词进行语义分析,根据各关键词的语义,确定所述第一用户信息表单支持的用户类型及各用户类型需要填写的信息。
需要说明的是,由于关键词提取技术目前已经很成熟,因而关键词提取技术的使用,本领域的技术人员在实现时可以通过查找相关文档自行实现,此处不再赘述。
此外,值得一提的是,由于在实际应用中,为了尽可能的方便用户提供开发需求,所述开发需求可以是多种格式的,比如文本格式、语音格式、图片格式等,此处不再一一列举,对此也不做任何限制。
因此,为了保证能够利用关键词提取技术,从所述开发需求中提取至少一个关键词,在采用关键词提取技术,对所述开发需求进行关键词提取操作之前,可以先确定所述开发需求的格式,然后根据所述开发需求的格式进行适应性调整。
比如说,若确定所述开发需求为语音格式,则利用语音识别技术,将语音格式的开发需求转换为文本格式的开发需求;若确定所述开发需求为图片格式,则利用光学字符识别(Optical Character Recognition,OCR技术,将图片格式的开发需求转换为文本格式的开发需求;若所述开发需求为文本格式,则直接采用关键词提取技术,对所述文本格式的开发需求进行关键词提取操作。
也就是说,所述采用关键词提取技术,对所述开发需求进行关键词提取操作的操作,实质上是:采用关键词提取技术,对所述文本格式的开发需求进行关键词提取操作。
进一步地,为了保证确定的提取到的关键词具有较高的参考价值,在进行关键词提取操作之前,可以先对文本格式的开发需求进行文本预处理操作。
比如说,去停用词,即去掉反馈信息中含有的如:呢、吗、啊等没有实际意义的词。
还比如说,去掉无效特殊字符,如表情符号、各种标点符号等。
相应地,在将语音格式的开发需求转换为文本格式的开发需求之前,同样可以先对语音格式的开发需求进行一系列预处理操作,比如滤波、去除干扰声音等操作,以保证转换出的文本信息更加准确。
同理,在将图片格式的开发需求转换为文本格式的开发需求之前,同样可以先对图片格式的开发需求进行一系列预处理操作,比如灰度处理去噪等操作,以保证转换出的文本信息更加准确。
应当理解的是,以上给出的仅为一种具体的实现方式,对本申请的技术方案并不构成任何限定。
步骤S20,根据各用户类型需要填写的信息,确定各用户类型涉及的用户界面组件的组件类型。
具体的说,上述所说的用户界面组件,即USER INTERFACE Module,也就是通常所说的UI组件。
所谓组件,即将一段或几段完成各自功能的代码段封装为一个或几个独立的部分。UI组件包含了这样一个或几个具有各自功能的代码段,最终完成了用户界面的表示。
在本实施例中,所说的UI组件的组件类型,具体是根据UI组件的功能属性决定的,比如可以将用作头部导航栏的UI组件的类型统一命名为header,将用作切换的UI组件的类型统一命名为tab,将用作展示信息的列表的类型统一命名为list,将用作前端页面页脚的UI组件的类型统一命名为footer。
进一步地,在实际应用中,还可以对UI组件进行细化,比如将UI组件划分为用于输入身份证号码的UI组件、用于输入手机号码的UI组件、用于输入证据持有人姓名的UI组件等,此处不再一一列举,对此也不做任何限制。
相应地,各UI组件的限制条件也会因为其支持输入的内容有所不同,比如用于输入身份证号码的UI组件,必需限定输入的内容仅包括数字和大写字母,并且大写字母需要在最后一位出现,且位数为18位,用于输入手机号码的UI组件,必需限定输入的内容仅包括数字,且位数为11位,用于输入证件持有人姓名的UI组件必需限定输入的内容为汉字等。
需要说明的是,以上给出的UI组件的类型的命名,仅仅为一种具体的分类方式,在实际应用中,本领域的技术人员可以根据需要进行设置,此处不做限制。
步骤S30,根据各组件类型,从预先封装的用户界面组件库中查找出符合所述开发需求的目标用户界面组件。
具体的说,关于上述查找符合所述开发需求的目标用户界面组件的操作,在实际应用中,可以细化为如下两个子步骤:
(1)根据所述开发需求,确定所述第一用户信息表单对应的组件筛选条件。
具体的说,为了使得后续查找出的用户界面组件更加符合所述开发需求,上述根据所述开发需求确定的所述第一用户信息表单对应的组件筛选条件可以包括所述第一用户信息表单的应用场景,以及面向对象等信息。
(2)根据所述组件筛选条件,从所述用户界面组件库中查找符合所述组件筛选条件的用户界面组件,并将查找到的所述用户界面组件作为所述目标用户界面组件。
具体的说,步骤(2)中所说的根据所述组件筛选条件,从所述用户界面组件库中查找符合所述组件筛选条件的用户界面组件的操作,在实际应用中,可以通过如下方式实现:
比如,先对所述用户界面组件库中的用户界面组件进行遍历,然后将遍历到的当前用户界面组件对应的组件信息与所述组件筛选条件进行对比,最终通过对比,若确定两者匹配,则认为所述当前用户界面组件符合所述组件筛选条件,即可以将所述当前用户界面组件作为所述目标用户界面组件。
此外,在实际应用中,如果根据所述组件筛选条件,从所述用户界面组件库中查找到的符合所述组件筛选条件的用户界面组件不唯一,还可以进一步判断筛选出的各用户界面组件近期的受欢迎程度,然后根据受欢迎程度进一步从中筛选,直到筛选出目标用户界面组件为止。
此外,应当理解的是,这里所说的用户界面组件不唯一,具体是指功能相同的用户界面组件不唯一。
比如,根据用户界面组件筛选条件查找出的用于输入商户名称的用户界面组件有两个或两个以上。
需要说明的是,以上仅为举例说明,对本申请的技术方案并不构成任何限定,在具体应用中,本领域的技术人员可以根据需要进行设置,本申请对此不做限制。
步骤S40,采用响应式编程方式,对所述目标用户组件进件编译,得到所述第一用户信息表单。
具体的说,本实施例中所采用的响应式编程方式是指通过采用响应式开发框架进行开发,这里所说的响应式开发框架可以是ReactiveX响应式框架。
所谓ReactiveX,实质上是一个可以帮助开发人员简化异步编程的框架,该框架拓展了观察者模式,使得开发人员能够自由组合多个异步事件,而不需要去关系线程、同步、线程安全、并发数据以及I/O(输入/输出)阻塞等问题。
但是,目前ReactiveX的版本有多个,并且ReactiveX的使用,会因为开发的第一用户信息表单所应用的系统而有所不同。
以目前占据主流的安卓系统和苹果(IOS)系统为例,开发安卓版本的第一用户信息表单,直接采用ReactiveX响应式框架即可;而开发IOS版本的第一用户信息表单,则需要采用ReactiveX响应式框架的Swift版本,即通常所说的RxSwift,可以支持ios/macOC平台开发的ReactiveX响应式框架。
需要说明的是,本实施例中得到的第一用户信息表单,实质为包含了所有用户类型需要涉及的UI组建的用户信息表单。
应当理解的是,以上给出的仅为一种具体的实现方式,对本申请的技术方案并不构成任何限定,在实际应用中,本领域的技术人员可以根据需要进行设置,此处不做限制。
通过上述描述不难发现,本申请提供的用户信息表单的构建方法,通过预先封装用户界面组件,并构建用户界面组件库,实现了代码的模块化管理,从而在需要构建第一用户信息表单时,只需根据第一用户信息表单的开发需求确定第一用户信息表单支持的用户类型及各用户类型需要填写的信息,然后根据各用户类型需要填写的信息,确定各用户类型涉及的用户界面组件的组件类型,最终根据确定的组件类型,并可以快速、精准的从预先封装的用户界面组件库中查找出符合开发需求的目标用户界面组件,从而大大简化了第一用户信息表单的构建。
并且,由于构建第一用户信息表单所使用的用户界面组件是基于模块化原理预先封装的,因而大大方便了后期对第一用户信息表单的维护,从而提升了维护效率。
此外,本申请提供的用户信息表单的构建方法,通过采用响应式编程方式构建第一用户信息表单,使得构建的第一用户信息表单能够采用异步处理方式响应用户操作,从而大大减小了第一用户信息表单对终端设备内存的占用,使得终端设备能够更快更流畅的响应用户操作,进而大大提升了用户体验。
参考图3,图3为本申请一种用户信息表单的构建方法第二实施例的流程示意图。
基于上述第一实施例,本实施例用户信息表单的构建方法在所述步骤S40之后,还包括:
步骤S50,创建一个信号变量,将所述信号变量与用于显示所述用户类型的用户界面组件进行绑定,并将所述第一用户信息表单进行展示。
具体的说,为了能够及时、准确的监测的用户对所述第一用户信息表单的操作,进而根据用户选择的用户类型,快速绘制第二用户信息表单,本实施例中通过创建一个信号变量,并将所述信号变量与用于显示所述用户类型的用户界面组件进行绑定,从而在将所述第一用户信息表单进行展示后,只需监控所述信号变量对应的变量值的变化情况,即可快速确定用户是否切换了用户类型,从而进行绘制所述第二用户信息表单的操作。
需要说明的是,为了方便确定信号变量的变化,在创建信号变量时,可以预先创建两个不同的变量值,为了方便以下称为第一变量值和第二变量值。
同时,在创建好信号变量,将所述信号变量与用于显示所述用户类型的用户界面组件进行绑定的时候,将所述第一变量值设置为所述信号变量的默认变量值,从而在后续使用中,只要检测到所述信号变量从第一变量值变为第二变量值,即可认为所述信号变量发生了变化。
步骤S60,在所述信号变量发生变化时,获取所述用于显示所述用户类型的用户界面组件中当前显示的用户类型。
具体的说,步骤S60中的操作,在实际应用中,需要通过对信号变量对应的变量值的监控来确定所述信号变量是否发生变化。
具体的实现方式,可以是:在完成上述步骤S50之后,通过实时获取所述信号变量对应的变量值,然后根据所述变量值判断所述信号变量是否发生变化。
相应地,若所述信号变量发生变化,则执行上述步骤S60;否则,继续获取所述信号变量对应的变量值,并根据所述变量值判断所述信号变量是否发生变化。
应当理解的是,由于在创建所述信号变量时,为所述信号变量分配了默认的第一变量值,并且所述信号变量是与用于显示所述用户类型的用户界面组件绑定的,因而在用户操作所述第一用户信息表单页面上显示的用于显示所述用户类型的用户界面组件时,比如从当前显示的默认用户类型,切换到了其他用户类型,则此时所述信号变量对应的第一变量值会变化为预设的第二变量值,此时便可以确定所述信号变量发生了变化,需要执行,获取所述用于显示所述用户类型的用户界面组件中当前显示的用户类型的操作。
步骤S70,根据所述当前显示的用户类型,在所述第一用户信息表单的基础上,绘制所述第二用户信息表单。
关于,步骤S70中所说的绘制所述第二用户信息表单的操作,以下给出一种具体的实现方式,大致如下:
首先,根据所述当前显示的用户类型,确定需要在所述第二用户信息表单中显示的用户界面组件;
然后,根据需要在所述第二用户信息表单中显示的用户界面组件和所述第一用户信息表单中显示的用户界面组件,确定不需要在所述第二用户信息表单中显示的用户界面组件;
最后,在所述第一用户信息表单的基础上,将不需要在所述第二用户信息表单中显示的用户界面组件的属性设置为不可见。
为了便于理解,以下进行举例说明:
比如说,所述第一用户信息表单页面上用于显示用户类型的用户界面组件中显示的初始用户类型为事业单位,则所述第一用户信息表单页面上显示的用户界面组件,大致包括:用于输入法人身份证号码的用户界面组件、用于输入证件持有人姓名的用户界面组件、用于输入证件有效期的用户界面组件,用于输入工商注册名称的用户界面组件、用于输入营业执照注册号的用户界面组件、用于输入组织机构代码的用户界面组件、用于输入有效期的用户界面组件、用于输入营业名称的用户界面组件等。
当确定所述信号变量发生变化时,获取到的当前显示的用户类型为个体经营者类型时,根据该类型需要填写的信息(仅填写法人身份信息),确定需要在绘制的所述第二用户信息表单中显示的用户组件,大致包括:用于输入法人身份证号码的用户界面组件、用于输入证件持有人姓名的用户界面组件、用于输入证件有效期的用户界面组件等。
通过上述信息不难发现,不需要在所述第二用户信息表单中显示的用户组件为:用于输入工商注册名称的用户界面组件、用于输入营业执照注册号的用户界面组件、用于输入组织机构代码的用户界面组件、用于输入有效期的用户界面组件、用于输入营业名称的用户界面组件。
因此,在只需将用于输入工商注册名称的用户界面组件、用于输入营业执照注册号的用户界面组件、用于输入组织机构代码的用户界面组件、用于输入有效期的用户界面组件、用于输入营业名称的用户界面组件这几个用户界面组件的属性设置为不可见即可。
此外,需要说明的是,本实施例中所说的将不需要在所述第二用户信息表单中显示的用户界面组件的属性设置为不可见,具体是指将不需要在所述第二用户信息表单中显示的用户界面组件的组件信息中用于标识透明度的信息设置为透明。
进一步地,为了不影响所述第二用户信息表单页面的美观,在将不需要显示的用户界面组件的属性设置为不可见之后,还可以将不需要显示的用户界面组件的高度设置为0.1毫米,这样在整个页面中就不会有突兀的空白,而是仅有一条分割线。
应当理解的是,以上给出的仅为一种具体的实现方式,对本申请的技术方案并不构成任何限定,在具体应用中,本领域的技术人员可以根据需要进行设置,比如根据需要设置不需要显示的用户界面组件的高度,本申请对此不做限制。
此外,值得一提的是,在实际应用中,除了可以根据需要将用户界面组件的属性设置为不可见,还可以根据业务需要,为用户界面组件设置更多的属性,比如说不可编辑、日期不可选择、身份不可选、起止日期不可选、时间不可选等,具体的设置内容,本领域的技术人员可以根据需要进行设置,此处不做限制。
此外,在执行完上述步骤S70之后,为了继续监控用户对所述第二用户信息表单的操作,以便根据用户选择的用户类型,再次重绘第二用户类型,可以将所述信号变量对应的变量值从所述第二变量值调整为所述第一变量值,从而在后续监控的所述信号变量再次从所述第一变量值变为所述第二变量值时,再次获取当前显示的用户类型。
通过上述描述不难发现,本申请提供的用户信息表单的构建方法,在确定于用于显示所述用户类型的信号变量对应的变量值发生变化时,通过根据当前显示的用户类型,在所述第一用户信息表单的基础上进行“重绘”操作,进而得到适合当前显示的用户类型的第二用户信息表单,即通过一次开发,便可快速、方便的获得适合不同用户类型的第二用户信息表单,在减少开发人员编程工作量的同时,进一步方便了后期的维护工作。
此外,值得一提的是,在实际应用中,用户在绘制的第二用户信息表单中输入用户类型需要填写的信息后,需要根据业务需要,对用户填写的信息进行验证,以确定用户输入的信息是否真实有效。
以用户选择的用户类型为个体工商类型为例,需要进行验证的信息主要有用户所填写的工商注册名称、营业执照注册号、法人姓名、法人证件号码这四个要素。
但是,由于以上四要素填写的内容是保存在表单中的,如果直接从表单中读取内容不仅不够便捷,也难以实现即时的校验。为了解决这一问题,本实施例在使用响应式编程的同时,结合了链式编程。
为了便于理解,以下进行具体说明:
首先,使用响应式编程方式,为上述四个要素创建对应的信号,这样在用户填写完任一要素后,对应的信号值便会发生改变,此时就可以对当前发生信号便会的要素进行读取操作,从而解决了读取问题。
其次,使用链式编程方式,将上述四要素所对应的信号绑定,在判定上述四要素已全部填写且符合基本条件后,进行四要素鉴权,判断四要素信息填写是否真实有效。
需要说明的是,所述“使用链式编程方式,将上述四要素所对应的信号绑定”的操作,具体是通过使用RxSwift中关于信号处理的combineLatest方法将四要素信号绑定,其中任一信号发生变化都会进行判断,当四要素中工商注册名称、营业执照号、法人姓名都不为空,且法人证件号码是有效身份证号码时,将触发鉴权接口进行鉴权。
此外,关于鉴权操作的具体实现,可以直接借鉴现有鉴权方式,此处不再赘述,也不做任何限制。
此外,本申请实施例还提供一种计算机可读存储介质,所述计算机可读存储介质可以为非易失性可读存储介质。
本申请计算机可读存储介质上存储有计算机可读指令,其中所述计算机可读指令被处理器执行时,实现如上述的用户信息表单的构建方法的步骤。
其中,该计算机可读指令被执行时所实现的方法可参照本申请用户信息表单的构建方法的各个实施例,此处不再赘述。
参照图4,图4为本申请用户信息表单的构建装置第一实施例的结构框图。
如图4所示,本申请实施例提出的用户信息表单的构建装置包括:
第一确定模块4001,用于根据第一用户信息表单的开发需求,确定所述第一用户信息表单支持的用户类型及各用户类型需要填写的信息;第二确定模块4002,用于根据各用户类型需要填写的信息,确定各用户类型涉及的用户界面组件的组件类型;查找模块4003,用于根据各组件类型,从预先封装的用户界面组件库中查找出符合所述开发需求的目标用户界面组件;编译模块4004,用于采用响应式编程方式,对所述目标用户组件进件编译,得到所述第一用户信息表单。
其中,上述用户信息表单的构建装置的各虚拟功能模块存储于图1所示用户信息表单的构建设备的存储器1005中,用于实现计算机可读指令的所有功能;各模块被处理器1001执行时,可完成用户信息表单的构建的全流程的功能。
进一步地,所述第一确定模块包括:
关键词提取单元,用于采用关键词提取技术,对所述开发需求进行关键词提取操作,得到第一关键词集合;
关键词分析单元,用于对所述第一关键词集合中的各关键词进行语义分析,根据各关键词的语义,确定所述第一用户信息表单支持的用户类型及各用户类型需要填写的信息。
进一步地,所述查找模块包括:
筛选条件确定单元,用于根据所述开发需求,确定所述第一用户信息表单对应的组件筛选条件;
查找单元,用于根据所述组件筛选条件,从所述用户界面组件库中查找符合所述组件筛选条件的用户界面组件,并将查找到的所述用户界面组件作为所述目标用户界面组件。
进一步地,所述用户信息表单的构建装置还包括:
信号变量创建模块,用于创建一个信号变量,将所述信号变量与用于显示所述用户类型的用户界面组件进行绑定,并将所述第一用户信息表单进行展示。
进一步地,所述用户信息表单的构建装置还包括:
判断模块,用于实时获取所述信号变量对应的变量值,根据所述变量值判断所述信号变量是否发生变化;
获取模块,用于在所述信号变量发生变化时,获取所述用于显示所述用户类型的用户界面组件中当前显示的用户类型;
绘制模块,用于根据所述当前显示的用户类型,在所述第一用户信息表单的基础上,绘制所述第二用户信息表单。
进一步地,所述绘制模块包括:
第一用户界面组件确定子单元,用于根据所述当前显示的用户类型,确定需要在所述第二用户信息表单中显示的用户界面组件;
第二用户界面组件确定子单元,用于根据需要在所述第二用户信息表单中显示的用户界面组件和所述第一用户信息表单中显示的用户界面组件,确定不需要在所述第二用户信息表单中显示的用户界面组件;
设置子单元,用于在所述第一用户信息表单的基础上,将不需要在所述第二用户信息表单中显示的用户界面组件的属性设置为不可见。
进一步地,所述用户信息表单的构建装置还包括:
高度设置模块,用于将不需要在所述第二用户信息表单中显示的用户界面组件的高度设置为0.1毫米。
其中,上述用户信息表单的构建装置中各个模块的功能实现与上述用户信息表单的构建方法实施例中各步骤相对应,其功能和实现过程在此处不再一一赘述。
此外,需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述 实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通 过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的 技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体 现出来,该计算机软件产品存储在一个存储介质(如只读存储器(Read Only Memory,ROM)/RAM、磁碟、光 盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。

Claims (20)

  1. 一种用户信息表单的构建方法,其中,所述方法包括以下步骤:
    根据第一用户信息表单的开发需求,确定所述第一用户信息表单支持的用户类型及各用户类型需要填写的信息;
    根据各用户类型需要填写的信息,确定各用户类型涉及的用户界面组件的组件类型;
    根据各组件类型,从预先封装的用户界面组件库中查找出符合所述开发需求的目标用户界面组件;
    采用响应式编程方式,对所述目标用户组件进件编译,得到所述第一用户信息表单。
  2. 如权利要求1所述的方法,其中,所述根据第一用户信息表单的开发需求,确定所述第一用户信息表单支持的用户类型及各用户类型需要填写的信息的步骤,包括:
    采用关键词提取技术,对所述开发需求进行关键词提取操作,得到第一关键词集合;
    对所述第一关键词集合中的各关键词进行语义分析,根据各关键词的语义,确定所述第一用户信息表单支持的用户类型及各用户类型需要填写的信息。
  3. 如权利要求1所述的方法,其中,所述根据各组件类型,从预先封装的用户界面组件库中查找出符合所述开发需求的目标用户界面组件的步骤,包括:
    根据所述开发需求,确定所述第一用户信息表单对应的组件筛选条件;
    根据所述组件筛选条件,从所述用户界面组件库中查找符合所述组件筛选条件的用户界面组件,并将查找到的所述用户界面组件作为所述目标用户界面组件。
  4. 如权利要求1所述的方法,其中,所述采用响应式编程方式,对所述目标用户组件进件编译,得到所述第一用户信息表单的步骤之后,所述方法还包括以下步骤:
    创建一个信号变量,将所述信号变量与用于显示所述用户类型的用户界面组件进行绑定,并将所述第一用户信息表单进行展示。
  5. 如权利要求4所述的方法,其中,所述将所述第一用户信息表单进行展示的步骤之后,所述方法还包括以下步骤:
    实时获取所述信号变量对应的变量值,根据所述变量值判断所述信号变量是否发生变化;
    若所述信号变量发生变化,则获取所述用于显示所述用户类型的用户界面组件中当前显示的用户类型;
    根据所述当前显示的用户类型,在所述第一用户信息表单的基础上,绘制所述第二用户信息表单。
  6. 如权利要求5所述的方法,其中,所述根据所述当前显示的用户类型,在所述第一用户信息表单的基础上,绘制所述第二用户信息表单的步骤,包括:
    根据所述当前显示的用户类型,确定需要在所述第二用户信息表单中显示的用户界面组件;
    根据需要在所述第二用户信息表单中显示的用户界面组件和所述第一用户信息表单中显示的用户界面组件,确定不需要在所述第二用户信息表单中显示的用户界面组件;
    在所述第一用户信息表单的基础上,将不需要在所述第二用户信息表单中显示的用户界面组件的属性设置为不可见。
  7. 如权利要求6所述的方法,其中,所述将不需要在所述第二用户信息表单中显示的用户界面组件的属性设置为不可见的步骤之后,所述方法还包括以下步骤:
    将不需要在所述第二用户信息表单中显示的用户界面组件的高度设置为0.1毫米。
  8. 一种用户信息表单的构建装置,其中,所述装置包括:
    第一确定模块,用于根据第一用户信息表单的开发需求,确定所述第一用户信息表单支持的用户类型及各用户类型需要填写的信息;
    第二确定模块,用于根据各用户类型需要填写的信息,确定各用户类型涉及的用户界面组件的组件类型;
    查找模块,用于根据各组件类型,从预先封装的用户界面组件库中查找出符合所述开发需求的目标用户界面组件;
    编译模块,用于采用响应式编程方式,对所述目标用户组件进件编译,得到所述第一用户信息表单。
  9. 如权利要求8所述的用户信息表单的构建装置,其中,所述第一确定模块包括:
    关键词提取单元,用于采用关键词提取技术,对所述开发需求进行关键词提取操作,得到第一关键词集合;
    关键词分析单元,用于对所述第一关键词集合中的各关键词进行语义分析,根据各关键词的语义,确定所述第一用户信息表单支持的用户类型及各用户类型需要填写的信息。
  10. 如权利要求8所述的用户信息表单的构建装置,其中,所述查找模块包括:
    筛选条件确定单元,用于根据所述开发需求,确定所述第一用户信息表单对应的组件筛选条件;
    查找单元,用于根据所述组件筛选条件,从所述用户界面组件库中查找符合所述组件筛选条件的用户界面组件,并将查找到的所述用户界面组件作为所述目标用户界面组件。
  11. 如权利要求8所述的用户信息表单的构建装置,其中,所述用户信息表单的构建装置还包括:
    信号变量创建模块,用于创建一个信号变量,将所述信号变量与用于显示所述用户类型的用户界面组件进行绑定,并将所述第一用户信息表单进行展示。
  12. 如权利要求11所述的用户信息表单的构建装置,其中,所述用户信息表单的构建装置还包括:
    判断模块,用于实时获取所述信号变量对应的变量值,根据所述变量值判断所述信号变量是否发生变化;
    获取模块,用于在所述信号变量发生变化时,获取所述用于显示所述用户类型的用户界面组件中当前显示的用户类型;
    绘制模块,用于根据所述当前显示的用户类型,在所述第一用户信息表单的基础上,绘制所述第二用户信息表单。
  13. 一种用户信息表单的构建设备,其中,所述设备包括:存储器、处理器及存储在所述存储器上并可被所述处理器执行的计算机可读指令,其中所述计算机可读指令被所述处理器执行时,实现如下步骤:
    根据第一用户信息表单的开发需求,确定所述第一用户信息表单支持的用户类型及各用户类型需要填写的信息;
    根据各用户类型需要填写的信息,确定各用户类型涉及的用户界面组件的组件类型;
    根据各组件类型,从预先封装的用户界面组件库中查找出符合所述开发需求的目标用户界面组件;
    采用响应式编程方式,对所述目标用户组件进件编译,得到所述第一用户信息表单。
  14. 如权利要求13所述的用户信息表单的构建设备,其中,所述根据第一用户信息表单的开发需求,确定所述第一用户信息表单支持的用户类型及各用户类型需要填写的信息的步骤,包括:
    采用关键词提取技术,对所述开发需求进行关键词提取操作,得到第一关键词集合;
    对所述第一关键词集合中的各关键词进行语义分析,根据各关键词的语义,确定所述第一用户信息表单支持的用户类型及各用户类型需要填写的信息。
  15. 如权利要求13所述的用户信息表单的构建设备,其中,所述根据各组件类型,从预先封装的用户界面组件库中查找出符合所述开发需求的目标用户界面组件的步骤,包括:
    根据所述开发需求,确定所述第一用户信息表单对应的组件筛选条件;
    根据所述组件筛选条件,从所述用户界面组件库中查找符合所述组件筛选条件的用户界面组件,并将查找到的所述用户界面组件作为所述目标用户界面组件。
  16. 如权利要求13所述的用户信息表单的构建设备,其中,所述采用响应式编程方式,对所述目标用户组件进件编译,得到所述第一用户信息表单的步骤之后,所述方法还包括以下步骤:
    创建一个信号变量,将所述信号变量与用于显示所述用户类型的用户界面组件进行绑定,并将所述第一用户信息表单进行展示。
  17. 如权利要求16所述的用户信息表单的构建设备,其中,所述将所述第一用户信息表单进行展示的步骤之后,所述方法还包括以下步骤:
    实时获取所述信号变量对应的变量值,根据所述变量值判断所述信号变量是否发生变化;
    若所述信号变量发生变化,则获取所述用于显示所述用户类型的用户界面组件中当前显示的用户类型;
    根据所述当前显示的用户类型,在所述第一用户信息表单的基础上,绘制所述第二用户信息表单。
  18. 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有计算机可读指令,其中所述计算机可读指令被处理器执行时,实现如下步骤:
    根据第一用户信息表单的开发需求,确定所述第一用户信息表单支持的用户类型及各用户类型需要填写的信息;
    根据各用户类型需要填写的信息,确定各用户类型涉及的用户界面组件的组件类型;
    根据各组件类型,从预先封装的用户界面组件库中查找出符合所述开发需求的目标用户界面组件;
    采用响应式编程方式,对所述目标用户组件进件编译,得到所述第一用户信息表单。
  19. 如权利要求18所述的计算机可读存储介质,其中,所述根据第一用户信息表单的开发需求,确定所述第一用户信息表单支持的用户类型及各用户类型需要填写的信息的步骤,包括:
    采用关键词提取技术,对所述开发需求进行关键词提取操作,得到第一关键词集合;
    对所述第一关键词集合中的各关键词进行语义分析,根据各关键词的语义,确定所述第一用户信息表单支持的用户类型及各用户类型需要填写的信息。
  20. 如权利要求18所述的计算机可读存储介质,其中,所述根据各组件类型,从预先封装的用户界面组件库中查找出符合所述开发需求的目标用户界面组件的步骤,包括:
    根据所述开发需求,确定所述第一用户信息表单对应的组件筛选条件;
    根据所述组件筛选条件,从所述用户界面组件库中查找符合所述组件筛选条件的用户界面组件,并将查找到的所述用户界面组件作为所述目标用户界面组件。
PCT/CN2019/122327 2019-05-21 2019-12-02 用户信息表单的构建方法、装置、设备及存储介质 WO2020233078A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910432589.5 2019-05-21
CN201910432589.5A CN110286903A (zh) 2019-05-21 2019-05-21 用户信息表单的构建方法、装置、设备及存储介质

Publications (1)

Publication Number Publication Date
WO2020233078A1 true WO2020233078A1 (zh) 2020-11-26

Family

ID=68002212

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/122327 WO2020233078A1 (zh) 2019-05-21 2019-12-02 用户信息表单的构建方法、装置、设备及存储介质

Country Status (2)

Country Link
CN (1) CN110286903A (zh)
WO (1) WO2020233078A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114357953A (zh) * 2021-07-07 2022-04-15 北京国电通网络技术有限公司 工程数据管理方法、设备、电子设备及存储介质

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110286903A (zh) * 2019-05-21 2019-09-27 深圳壹账通智能科技有限公司 用户信息表单的构建方法、装置、设备及存储介质
CN113343654A (zh) * 2021-05-28 2021-09-03 中国工商银行股份有限公司 一种信息填报表的通用配置方法及装置
CN115509523B (zh) * 2022-11-24 2023-03-03 湖南创星科技股份有限公司 一种api服务快速组建方法以及系统

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063306A (zh) * 2011-01-06 2011-05-18 夏春秋 一种通过电子表单进行应用开发的技术实现方法
CN107369090A (zh) * 2017-07-25 2017-11-21 上海壹账通金融科技有限公司 开户页面的生成方法、设备及计算机可读存储介质
CN108170654A (zh) * 2017-12-22 2018-06-15 北京鑫丰南格科技股份有限公司 一种电子表单编辑器及其开发方法
CN109635257A (zh) * 2018-10-30 2019-04-16 深圳壹账通智能科技有限公司 一种合同模板的配置方法及装置
CN110286903A (zh) * 2019-05-21 2019-09-27 深圳壹账通智能科技有限公司 用户信息表单的构建方法、装置、设备及存储介质

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7665062B1 (en) * 2004-07-02 2010-02-16 Borland Software Corporation System and methodology for design-time dynamic class type construction
JP4185159B1 (ja) * 2008-01-30 2008-11-26 株式会社三菱東京Ufj銀行 アプリケーション開発支援装置及びプログラム

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102063306A (zh) * 2011-01-06 2011-05-18 夏春秋 一种通过电子表单进行应用开发的技术实现方法
CN107369090A (zh) * 2017-07-25 2017-11-21 上海壹账通金融科技有限公司 开户页面的生成方法、设备及计算机可读存储介质
CN108170654A (zh) * 2017-12-22 2018-06-15 北京鑫丰南格科技股份有限公司 一种电子表单编辑器及其开发方法
CN109635257A (zh) * 2018-10-30 2019-04-16 深圳壹账通智能科技有限公司 一种合同模板的配置方法及装置
CN110286903A (zh) * 2019-05-21 2019-09-27 深圳壹账通智能科技有限公司 用户信息表单的构建方法、装置、设备及存储介质

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114357953A (zh) * 2021-07-07 2022-04-15 北京国电通网络技术有限公司 工程数据管理方法、设备、电子设备及存储介质

Also Published As

Publication number Publication date
CN110286903A (zh) 2019-09-27

Similar Documents

Publication Publication Date Title
WO2020233078A1 (zh) 用户信息表单的构建方法、装置、设备及存储介质
WO2016032288A1 (en) Scrapped information providing method and apparatus
WO2017150860A1 (en) Predicting text input based on user demographic information and context information
WO2019019350A1 (zh) 开户页面的生成方法、装置、设备及计算机可读存储介质
WO2018082484A1 (zh) 一种电子设备的截屏方法、系统及电子设备
WO2009091210A2 (ko) 텍스트 정보를 활용하는 전자 서적 서비스 제공 방법 및 그 시스템
WO2020113959A1 (zh) 医疗机构透析水平的考核方法、装置、设备及存储介质
EP3871403A1 (en) Apparatus for vision and language-assisted smartphone task automation and method thereof
WO2020159288A1 (ko) 전자 장치 및 그 제어 방법
WO2021002584A1 (ko) 음성을 통한 전자문서 제공 방법, 음성을 통한 전자문서 작성 방법 및 장치
CN101523350A (zh) 文档处理装置以及程序
WO2016003219A1 (en) Electronic device and method for providing content on electronic device
WO2020000632A1 (zh) 发票开具方法、装置、设备及计算机可读存储介质
WO2020147385A1 (zh) 数据录入方法、装置、终端及计算机可读存储介质
WO2014035199A1 (en) User interface apparatus in a user terminal and method for supporting the same
WO2021003956A1 (zh) 产品信息的管理方法、装置、设备及存储介质
WO2019019245A1 (zh) 基金组合购买方法、系统及存储介质
WO2020082766A1 (zh) 输入法的联想方法、装置、设备及可读存储介质
WO2017179876A1 (en) Platform for interaction via commands and entities
WO2018201774A1 (zh) 数据审批方法、装置、设备和计算机可读存储介质
WO2020087704A1 (zh) 信贷信息管理方法、装置、设备和存储介质
WO2021002585A1 (ko) 챗봇을 통한 전자문서 제공 방법, 챗봇을 통한 전자문서 작성 방법 및 장치
WO2017043715A1 (en) Server, user terminal, and method for controlling server and user terminal
WO2022102965A1 (ko) 문서 분석 방법
WO2015126043A1 (ko) 광고 표시 방법 및 광고 제공 방법, 그리고 이에 적용되는 장치

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19929528

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 04/03/2022)

122 Ep: pct application non-entry in european phase

Ref document number: 19929528

Country of ref document: EP

Kind code of ref document: A1