WO2019205415A1 - Data import management method and apparatus, mobile terminal and storage medium - Google Patents

Data import management method and apparatus, mobile terminal and storage medium Download PDF

Info

Publication number
WO2019205415A1
WO2019205415A1 PCT/CN2018/104730 CN2018104730W WO2019205415A1 WO 2019205415 A1 WO2019205415 A1 WO 2019205415A1 CN 2018104730 W CN2018104730 W CN 2018104730W WO 2019205415 A1 WO2019205415 A1 WO 2019205415A1
Authority
WO
WIPO (PCT)
Prior art keywords
import
data
interface
template
configuration
Prior art date
Application number
PCT/CN2018/104730
Other languages
French (fr)
Chinese (zh)
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 WO2019205415A1 publication Critical patent/WO2019205415A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/254Extract, transform and load [ETL] procedures, e.g. ETL data flows in data warehouses

Definitions

  • the present application relates to the field of computer technologies, and in particular, to a data import management method, apparatus, mobile terminal, and storage medium.
  • the technical solution proposes a data import management method, which realizes the control of the import authority and the centralized management of the Excel import function, and is easy to operate.
  • the present application aims to propose a data import management method, apparatus, mobile terminal and storage medium to solve the deficiencies in the above background art.
  • the traditional Excel table import needs to repeat the development of the Excel form uploading, response and reading, which is time-consuming and laborious; when adding, deleting, or changing the Excel header, you need to redeploy the background template and modify the background code, and need to stop the operation; Modifying the background code that needs to be changed more often leads to hidden vulnerabilities.
  • a data import management method includes: S1: generating a configuration table through a configuration table generation interface, and setting configuration information in the configuration table; S2: setting a verification rule parallel to the configuration table generation interface at a front end where the configuration table generation interface is located The interface is used to generate a verification rule or import a pre-prepared verification rule. S3: The front end interface where the configuration table generation interface is located uses an account with an import authority to import a data table.
  • the present application further provides a data import management apparatus, including:
  • Generate a configuration table unit set to generate a configuration table through the configuration table generation interface, and set configuration information in the configuration table; set a verification rule unit, and set a front-end configuration table with the configuration table generation interface at the front end where the configuration table generation interface is located
  • the inspection rule interface is used to generate a verification rule or import a pre-prepared verification rule; import the data unit, and set the front end interface where the configuration table generation interface is located to use an account with import permission to import the data table.
  • the present application further provides a mobile terminal, comprising: a touch sensitive display; a memory; one or more processors; the one or more processors configured to perform the following steps: S1: through a configuration table Generate an interface to generate a configuration table, and set configuration information in the configuration table. S2: Set a verification rule interface parallel to the configuration table generation interface on the front end where the configuration table generation interface is located, to generate a verification rule or import a pre-prepared school. Verification rule; S3: The front end interface where the configuration table generation interface is located uses an account with import permission to import the data table.
  • the present application also provides a storage medium storing computer readable instructions that, when executed by one or more processors, cause one or more processors to perform the following steps: S1 : Generate a configuration table through the configuration table generation interface, and set configuration information in the configuration table; S2: Set a verification rule interface parallel to the configuration table generation interface on the front end where the configuration table generation interface is located, for generating a verification rule or importing Pre-prepared verification rules; S3: The front-end interface where the configuration table generation interface is located uses an account with import permission to import the data table.
  • the data import management method, the device, the mobile terminal, and the storage medium generate a configuration table corresponding to the Excel data table to be imported through the configuration interface at the front end of the data importing system, and the configuration table stores the Excel data table to be imported.
  • Configuration information before the data is imported, the import template of the data format in the corresponding data table is generated through the configuration table, and the data in the data table having the specified data format is imported according to the data; the front end of the generated configuration table is placed along with the parallel configuration.
  • the verification rule configuration interface is configured to generate or import a pre-prepared verification rule, and any verification rule correspondingly generates a verification ID, and after the verification rule is applied, according to the rule conditions and corresponding executions set therein
  • the action checks the data column in the data import template to ensure the availability of the data column when the data is imported, prevents the setting of the data column from being incorrect, and causes unpredictable problems when the data is imported.
  • the front end uses the account with the import permission to import the data table. .
  • FIG. 3 is a flowchart of setting a verification rule in an embodiment of the present application.
  • FIG. 5 is a structural diagram of a management apparatus in an embodiment of the present application.
  • the present application provides a technical solution:
  • a data import management method the specific steps are as follows: S1: Generate a configuration table through the configuration table generation interface, and set configuration information in the configuration table.
  • the front end of the imported system generates a configuration table corresponding to the Excel data table to be imported through the configuration interface.
  • the configuration table stores configuration information corresponding to the Excel data table to be imported, and generates data in the corresponding data table through the configuration table before data is imported.
  • the import template of the format is based on the data in the data table with the specified data format;
  • S2 a check rule interface parallel to the configuration table generation interface is set at the front end of the configuration table generation interface, and is used to generate a verification rule. Or import a pre-prepared verification rule.
  • a verification rule configuration interface is configured to generate or import a pre-prepared verification rule, and any verification rule generates a verification ID, and the verification rule is applied.
  • the data columns in the data import template are verified to ensure the availability of the data column when the data is imported, and the setting of the data column is prevented from being caused, resulting in unpredictable problems during data import.
  • S3 The front-end interface where the configuration table generation interface is located uses an account with import permission to import the data table. At the front end of the system, an account with import authority is used to import the corresponding data table into the real estate transaction system.
  • the data column is verified according to the rule conditions and execution actions set in the verification rule, thereby ensuring the availability of the data column during data import, and preventing the data column setting error from being caused when the data is imported.
  • Expected problems After importing the data table with the account with the import authority, the import data process does not need to be deployed down, and the import is simple and convenient, saving time and effort.
  • the generating the configuration template in the step S1 includes steps S101 to S106:
  • S101 Calling a scripting language to create a configuration table for generating a data import template, the configuration table is connected with the database, generating a data import template, and storing the data import template in the database.
  • the scripting language also known as an extended language, or a dynamic language, is a programming language used to control software applications. Scripts are usually saved in text (such as ASCII) and interpreted or compiled only when called; The scripting language creates a configuration table and imports the generated configuration table into a database for storage and use.
  • S102 Calling a script language adding configuration function, where the configuration function includes a data import template query function, a data import template addition and deletion function. The corresponding configuration function is deployed in the configuration table by using a scripting language.
  • the data import template query function is used to query the data to be imported, and the data to be imported is queried in the system where the configuration table is generated, so that some data is accurate.
  • Imported into the Excel table the new and deleted functions of the data import template are used to implement any new list or delete list, and realize the control of increasing or decreasing the number of list rows and columns.
  • S103 Plan the layout of the default display list interface in the configuration table, including the interface display name of the template, the name of the template in the database, the validity switch, the remark information, the creation time, the modification time, and the operation switch for editing the template.
  • the operation switch includes: modifying, creating a column, downloading a template, and uploading a template; wherein the upload template switch and the download template switch are used to export the data import template stored in the database after the configuration table generation interface is generated or imported into the database as a separate file. It is convenient to off-line modification and update from the database; the modification switch is used to edit the column items in the existing template; the column switch is created to add a new column operation to the existing template, thereby adding a data column, corresponding to Import a field from the data table.
  • S104 Create a new import template operation interface for setting basic information of the data import template based on the configuration table, where the internal layout is used to generate each input entry of the basic information of the data import template.
  • a new data import import template operation interface used to set the basic information of the data import template, which is used to generate the basic information of the data import template, including: create columns, create rows, download templates, upload templates, query data , add rows or columns, delete rows or columns, and more.
  • S105 Create a template editing interface corresponding to any template based on the configuration table, where the default interface layout corresponds to each data column of the template, and any data column corresponds to at least two column basic fields.
  • the column base fields of any data column include: column name, database column name, column number, column type, column value length, column value null, column valid, column check ID, operation.
  • S106 Create a column editing interface for adding or editing data columns based on the template editing interface. Add a data column or edit the edit column of the data column to add, delete, or edit the edit data list.
  • the function of creating a configuration table, adding a configuration function, planning an interface layout, adding an import template operation interface, creating a template editing interface, and a column editing interface by calling a script language so that when the template is imported, there is no need to redeploy the background template. There is also no need to repeatedly develop the function code for the upload, response, and read links.
  • operations such as adding and deleting templates, setting data columns, and the like can be directly performed, which has very high flexibility and practicability.
  • the verification data in step S2 includes steps S201 to S203:
  • S201 Using a scripting language to generate a verification rule configuration interface in the front end of the system, which is associated with the database, and the verification rule generated by the verification rule is stored in the verification rule list in the database, and the default display interface of the verification rule configuration interface is displayed.
  • the verification rule that has been imported or generated, any generated verification rule has a one-to-one operation switch group in the default display interface, which is used to view rule details or perform rule editing.
  • the verification rule configuration interface is configured to generate a verification rule for the verification data, and is stored in the verification rule list in the database, and any generated verification rule has a one-to-one operation corresponding to the one in the default display interface. Switch group for viewing the details of the validation rules and editing the validation rules.
  • the verification rule uploading and downloading function is deployed on the verification rule configuration interface, and the verification rule can be exported from the database in the form of a separate script file by the download function, which is convenient for offline editing, and can also be imported into the pre-offline through the upload function. Edit the verification rules to the list of validation rules in the database. The verification rules are edited offline, and then stored in the database for query use. The verification rules can be downloaded from the database through the download function, edited offline, uploaded to the database, or verified by pre-editing. Rules, upload it to the database for verification of the data.
  • the configuration interface is developed based on the verification rule to generate a new verification interface, and the layout verification description, the rule type, and the verification rule are three items.
  • the verification description item is used to display the function of the verification rule in the default interface of the verification rule configuration interface;
  • the rule type item is used to display the classification information of the verification rule of the verification rule in the default interface of the verification rule configuration interface;
  • the verification rule item is used to define the execution condition of the verification rule and the corresponding execution action.
  • any of the verification rules corresponding to the following field information in the database a verification ID, a verification description, a rule type, a verification condition, a rule entity, a rule creation time, and a validity status flag; wherein the validity status flag is used To indicate whether the rule is applied, which is Boolean data.
  • the validity status of the rule is marked as true, otherwise, false.
  • the rule application field is added in the data column, and its value is 0 or the check ID of the applied rule. When the rule application field is 0, it means that no check rule is applied, otherwise the application is equal to the value.
  • the verification rule corresponding to the verification ID When at least one data column in the template generated in any of the steps 1) applies the rule, the validity status of the rule is marked as true, otherwise, false.
  • the rule application field is added in the data column, and its value is 0 or the check ID of the applied rule. When the rule application field is 0, it means that no check rule is applied, otherwise the application is equal to the value.
  • the verification rule configuration interface is used to view the details of the rule and the editing of the rule, and the uploading and downloading functions of the verification rule are deployed.
  • the user can intuitively deploy and use the verification rule to ensure the verification of the verification rule when the data is imported. To achieve data availability.
  • importing the form data in step S3 includes steps S301 to S304:
  • S301 Set a rights allocation interface on the front end of the system, and bind the data import permission to an existing account in a certain system, and then give the import permission, so that the data can be imported and operated.
  • the authority assigning operation can prepare an operator permission configuration information table in advance, and set an import portal for importing the operator authority configuration information table in the rights assignment interface, thereby facilitating the operator to give more precise operation authority.
  • S302 Generate, according to the generated import template corresponding to the data table to be imported, various fields and corresponding tables for storing data to be imported.
  • the template is imported according to the generated data, and fields and tables are generated in the database for storing the data to be imported.
  • S303 setting a data import interface on the front end of the system, including an import portal, selecting a data table to be imported through the import portal, importing the data table into the system, and recording the import result in an import operation result record information table and If the import is successful, the next step is performed. If the import fails, the import operation result record information table needs to be downloaded, and the cause of the failure is analyzed, and the problem is eliminated and then imported again.
  • the data importing interface is provided with a data importing portal for importing data to be imported into the system through a data importing portal for storing data to be exported, and when the data is imported into Excel, through the system Query the stored data and import the corresponding data in the Excel table.
  • An import data viewing interface is set in the front end of the system, and is used to retrieve data that has been imported into the database and stored in the database from the database, and is presented in the front end page according to the data column in the template for importing the operator or other viewing. Permissions view.
  • the import data query interface is used to query whether the data imported in the table is correct after the data to be imported is imported into the Excel table.
  • an authority is configured to import an account by using a rights assignment interface and a preset operator rights configuration information table, and the user is authorized to import data into the Excel through the data import interface by setting a data import interface.
  • the viewing interface is used by a privileged operator to retrieve and view the imported data.
  • the column base fields of any of the data columns include: column name, database column name, column number, column type, column value length, column value null, column validity, column check ID, operation.
  • the data column of this embodiment contains as many basic fields as possible, and when the verification rule verifies the data column, the availability of the data column can be ensured, and the setting of the data column is prevented, resulting in unpredictable data import. problem.
  • the corresponding field information of the verification rule in the database includes a check ID, a check description, a rule type, a check condition, a rule entity, a rule creation time, and a validity status flag.
  • the corresponding field information of the verification rule in the database is listed, which ensures that when the imported data is verified, the imported data is verified one by one, and the data column that does not meet the condition is identified. It is convenient for operators with permissions to view the status of rules and data columns.
  • the configuration manner of the configuration table is: preparing six configuration tables for the imported Excel data table, including configuration tables 1 to 6, and storing the information in the configuration table 1 including the Chinese and English names of the data table. And the data table ID; add the Chinese and English name, the header serial number and the data table ID of the data table header in the configuration table 2; the verification ID, the verification condition and the verification description in the configuration table 3; Import operator permission configuration information in 4; import log record information in configuration table 5; import operation result record information in configuration table 6.
  • all the required configuration and verification information of the present application are saved by prefabricating 6 configuration tables, and are used for calling, verifying, and viewing subsequent data import. The above design effectively avoids an need for an Excel import. When you delete, change, or change the header, redeploy the background template and modify the background code.
  • the present application further provides a data import management apparatus.
  • the management apparatus includes: a configuration configuration table unit, configured to generate a configuration table by using a configuration table generation interface, and set a configuration in the configuration table. Information; setting a verification rule unit, and setting a check rule interface parallel to the configuration table generation interface at the front end where the configuration table generation interface is located, for generating a verification rule or importing a pre-prepared verification rule; importing a data unit , set to use the account with import permission to import the data table in the front-end interface where the configuration table generation interface is located.
  • generating the configuration table unit includes: a configuration table generating module configured to invoke a scripting language to create a configuration table for generating a data import template, the configuration table is connected with the database, generating a data import template, and importing the data
  • the template is stored in the database;
  • the configuration module is configured to be set to invoke the script language to add a configuration function, and the configuration function includes a data import template query function, a data import template addition and deletion function, and an interface layout planning module, which is set in the configuration table.
  • the layout of the default display list interface in the plan including the interface display name of the template, the name of the template in the database, the validity switch, the remark information, the creation time, the modification time, the operation switch for editing the template; the operation interface creation module, setting A new import template operation interface for setting basic information of the data import template is created based on the configuration table, wherein the internal layout is used to generate various input entries of the basic information of the data import template; the template editing interface creates a module, and is set to be created based on the configuration table.
  • the board editing interface the default interface layout corresponding to each data column of the template, any data column corresponding to at least two column basic fields; the column editing interface creation module, set to create a new or edit based on the template editing interface Column edit interface for data columns.
  • the column basic fields of any data column in the template editing interface creation module include: column name, database column name, column serial number, column type, column value length, column value judgment, column validity, column calibration Check the ID and operation.
  • the setting verification rule unit includes: a rule configuration interface generation module configured to generate a verification rule configuration interface in the system front end by using a script language, which is associated with the database, and is stored in the verification rule generated by the verification rule.
  • the default display interface of the verification rule configuration interface displays the imported or generated verification rules, and any generated verification rules have a one-to-one operation switch in the default display interface.
  • Group used to view rule details or perform rule editing
  • function deployment module set to deploy verification rule upload and download function on the verification rule configuration interface, and use the download function to verify the rule from the database in the form of a separate script file.
  • the rule After exporting, it is convenient for offline editing, or through the upload function, importing the pre-offline edited verification rule into the verification rule list in the database; the rule adds a new interface generation module, and is set to generate a verification based on the verification rule configuration interface development interface. Rule added interface, layout check description, rule type and check rule Three projects.
  • the import data unit includes: a rights assignment interface setting module, configured to set a rights assignment interface on the front end of the system, and bind the data import permission to an existing account in a system, and then give the import permission.
  • the data import module is configured to be imported, and is configured to generate, according to the generated import template corresponding to the data table to be imported, various fields and corresponding tables for storing data to be imported are generated in the database; the data import interface setting module , set to set a data import interface on the front end of the system, which includes an import portal, selects a data table to be imported through the import portal, imports the data table into the system, and records the import result in an import operation result record information table.
  • the present application further provides a mobile terminal, which is used to implement data import management across mobile applications, and the terminal may include a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), and a POS ( Point of Sales, sales terminal, and any terminal device such as a car computer.
  • the mobile terminal includes a touch sensitive display, a memory, one or more processors; the one or more processors configured to perform the steps of the data import management method of the various embodiments described above.
  • the present application also provides a storage medium storing computer readable instructions, which when executed by one or more processors, cause one or more processors to execute the various embodiments described above The steps in the data import management method.
  • the storage medium may be a non-volatile storage medium.
  • the program may be stored in a computer readable storage medium, and the storage medium may include: Read Only Memory (ROM), Random Access Memory (RAM), disk or optical disk.
  • ROM Read Only Memory
  • RAM Random Access Memory

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The present application relates to the field of Excel importing, in particular to a data import management method and apparatus, a mobile terminal and a storage medium. The data import management method comprises: generating a configuration table by means of a configuration table generation interface, and setting configuration information in the configuration table; setting a check rule interface parallel to the configuration table generation interface at a front end where the configuration table generation interface is located, in order to generate a check rule or import a check rule that has been formulated in advance; and importing, on the front-end interface where the configuration table generation interface is located, a data table using an account having an import right. An import table is imported by means of making a configuration table in advance, without redeployment. The import right is controlled, and the importing of data that does not meet conditions is avoided by means of temporary storage and checking, thereby improving the import efficiency.

Description

数据导入管理方法、装置、移动终端和存储介质Data import management method, device, mobile terminal and storage medium
本申请要求于2018年04月22日提交中国专利局、申请号为201810363680.1、发明名称为“数据导入管理方法、装置、移动终端和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims priority to Chinese Patent Application No. 201810363680.1, entitled "Data Import Management Method, Apparatus, Mobile Terminal, and Storage Medium", filed on April 22, 2018, the entire contents of which are incorporated by reference. Combined in this application.
技术领域Technical field
本申请涉及计算机技术领域,尤其涉及数据导入管理方法、装置、移动终端和存储介质。The present application relates to the field of computer technologies, and in particular, to a data import management method, apparatus, mobile terminal, and storage medium.
背景技术Background technique
房产交易所系统中在每次新增数据时,常以Excel数据表导入至系统内的方式实现数据增加,在导入数据前,需要预先导入模板来适应每次数据表的结构差异,每次导入模板时,都需要利用导入功能重新实施导入步骤,系统也需要重新部署一次后台模板,并且重复开发工作,包括Excel表格的上传,响应和读取环节都需要进行功能代码的再开发。当某个待导入的Excel数据表需要增、删、改表头时,还需要修改后台功能代码,此外,由于每次新开发导入功能需要编写大量的后台代码,导致容易产生隐蔽的漏洞。导入的过程需要停机部署,费时费力。In the real estate exchange system, each time new data is added, the Excel data table is often imported into the system to increase the data. Before importing the data, the template needs to be imported in advance to adapt to the structural difference of each data table. Templates need to use the import function to re-implement the import step, the system also needs to redeploy the background template, and repeat the development work, including the uploading of Excel tables, response and reading links need to re-develop the function code. When an Excel data table to be imported needs to be added, deleted, or changed, the background function code needs to be modified. In addition, since each new development import function needs to write a large amount of background code, it is easy to cause hidden vulnerabilities. The import process requires downtime deployment, which is time consuming and labor intensive.
因此,根据上述情况,本技术方案提出了一种数据导入管理方法,以实现对导入权限的控制和对Excel导入功能集中管理,操作简便。Therefore, according to the above situation, the technical solution proposes a data import management method, which realizes the control of the import authority and the centralized management of the Excel import function, and is easy to operate.
发明内容Summary of the invention
本申请目的在于提出一种数据导入管理方法、装置、移动终端和存储介质,以解决上述背景技术中的不足之处。传统的Excel表格导入需要重复Excel表格的上传、响应和读取等环节的开发工作,费时费力;增、删、改Excel表头时需要重新部署后台模板和修改后台代码,需要停机操作;每次修改需要改动较多的后台代码,容易产生隐蔽的漏洞。The present application aims to propose a data import management method, apparatus, mobile terminal and storage medium to solve the deficiencies in the above background art. The traditional Excel table import needs to repeat the development of the Excel form uploading, response and reading, which is time-consuming and laborious; when adding, deleting, or changing the Excel header, you need to redeploy the background template and modify the background code, and need to stop the operation; Modifying the background code that needs to be changed more often leads to hidden vulnerabilities.
为了实现上述目的,本申请提供如下技术方案:In order to achieve the above object, the present application provides the following technical solutions:
一种数据导入管理方法,包括:S1:通过配置表生成界面生成配置表,设置配置表内的配置信息;S2:在配置表生成界面所在的前端设置一与配置表生 成界面并列的校验规则界面,用于生成校验规则或者导入预先制备的校验规则;S3:在配置表生成界面所在的前端界面利用具有导入权限的账号,导入数据表。A data import management method includes: S1: generating a configuration table through a configuration table generation interface, and setting configuration information in the configuration table; S2: setting a verification rule parallel to the configuration table generation interface at a front end where the configuration table generation interface is located The interface is used to generate a verification rule or import a pre-prepared verification rule. S3: The front end interface where the configuration table generation interface is located uses an account with an import authority to import a data table.
基于相同的技术构思,本申请还提供一种数据导入管理装置,包括:Based on the same technical concept, the present application further provides a data import management apparatus, including:
生成配置表单元,设置为通过配置表生成界面生成配置表,设置配置表内的配置信息;设置校验规则单元,设置为在配置表生成界面所在的前端设置一与配置表生成界面并列的校验规则界面,用于生成校验规则或者导入预先制备的校验规则;导入数据单元,设置为在配置表生成界面所在的前端界面利用具有导入权限的账号,导入数据表。Generate a configuration table unit, set to generate a configuration table through the configuration table generation interface, and set configuration information in the configuration table; set a verification rule unit, and set a front-end configuration table with the configuration table generation interface at the front end where the configuration table generation interface is located The inspection rule interface is used to generate a verification rule or import a pre-prepared verification rule; import the data unit, and set the front end interface where the configuration table generation interface is located to use an account with import permission to import the data table.
基于相同的技术构思,本申请还提供一种移动终端,包括:触敏显示器;存储器;一个或多个处理器;所述一个或多个处理器被配置为执行以下步骤:S1:通过配置表生成界面生成配置表,设置配置表内的配置信息;S2:在配置表生成界面所在的前端设置一与配置表生成界面并列的校验规则界面,用于生成校验规则或者导入预先制备的校验规则;S3:在配置表生成界面所在的前端界面利用具有导入权限的账号,导入数据表。Based on the same technical concept, the present application further provides a mobile terminal, comprising: a touch sensitive display; a memory; one or more processors; the one or more processors configured to perform the following steps: S1: through a configuration table Generate an interface to generate a configuration table, and set configuration information in the configuration table. S2: Set a verification rule interface parallel to the configuration table generation interface on the front end where the configuration table generation interface is located, to generate a verification rule or import a pre-prepared school. Verification rule; S3: The front end interface where the configuration table generation interface is located uses an account with import permission to import the data table.
基于相同的技术构思,本申请还提供一种存储有计算机可读指令的存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行以下步骤:S1:通过配置表生成界面生成配置表,设置配置表内的配置信息;S2:在配置表生成界面所在的前端设置一与配置表生成界面并列的校验规则界面,用于生成校验规则或者导入预先制备的校验规则;S3:在配置表生成界面所在的前端界面利用具有导入权限的账号,导入数据表。Based on the same technical concept, the present application also provides a storage medium storing computer readable instructions that, when executed by one or more processors, cause one or more processors to perform the following steps: S1 : Generate a configuration table through the configuration table generation interface, and set configuration information in the configuration table; S2: Set a verification rule interface parallel to the configuration table generation interface on the front end where the configuration table generation interface is located, for generating a verification rule or importing Pre-prepared verification rules; S3: The front-end interface where the configuration table generation interface is located uses an account with import permission to import the data table.
上述数据导入管理方法、装置、移动终端和存储介质,在数据导入的系统的前端通过配置界面生成与待导入的Excel数据表对应的配置表,该配置表内存放待导入的Excel数据表对应的配置信息,数据导入前通过配置表生成对应数据表中的数据格式的导入模板,依据其导入具备其规定数据格式的数据表内的数据;根据生成的配置表生成界面所在的前端设置一与其并列的校验规则配置界面,用于生成或者导入预先制备的校验规则,任一校验规则对应生成一校 验ID,所述校验规则应用后,根据其内设置的规则条件和对应的执行动作对数据导入模板中的数据列进行校验,确保数据列在数据导入时的可用性,防止数据列的设置错误导致数据导入时产生不可预料的问题;在前端利用具有导入权限的账号导入数据表。The data import management method, the device, the mobile terminal, and the storage medium generate a configuration table corresponding to the Excel data table to be imported through the configuration interface at the front end of the data importing system, and the configuration table stores the Excel data table to be imported. Configuration information, before the data is imported, the import template of the data format in the corresponding data table is generated through the configuration table, and the data in the data table having the specified data format is imported according to the data; the front end of the generated configuration table is placed along with the parallel configuration. The verification rule configuration interface is configured to generate or import a pre-prepared verification rule, and any verification rule correspondingly generates a verification ID, and after the verification rule is applied, according to the rule conditions and corresponding executions set therein The action checks the data column in the data import template to ensure the availability of the data column when the data is imported, prevents the setting of the data column from being incorrect, and causes unpredictable problems when the data is imported. The front end uses the account with the import permission to import the data table. .
附图说明DRAWINGS
通过阅读下文优选实施方式的详细描述,各种其他的优点和益处对于本领域普通技术人员将变得清楚明了。附图仅用于示出优选实施方式的目的,而并不认为是对本申请的限制。Various other advantages and benefits will become apparent to those skilled in the art from a The drawings are only for the purpose of illustrating the preferred embodiments and are not intended to be limiting.
图1为本申请一个实施例中整体实现流程图;1 is a flowchart of an overall implementation in an embodiment of the present application;
图2为本申请一个实施例中配置表生成流程图;2 is a flow chart of generating a configuration table in an embodiment of the present application;
图3为本申请一个实施例中设置校验规则流程图;3 is a flowchart of setting a verification rule in an embodiment of the present application;
图4为本申请一个实施例中导入数据流程图;4 is a flow chart of importing data in an embodiment of the present application;
图5为本申请一个实施例中管理装置的结构框架图。FIG. 5 is a structural diagram of a management apparatus in an embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application are clearly and completely described in the following with reference to the drawings in the embodiments of the present application. It is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present application without departing from the inventive scope are the scope of the present application.
具体的,如图1所示,本申请提供一种技术方案:Specifically, as shown in FIG. 1 , the present application provides a technical solution:
一种数据导入管理方法,具体步骤如下:S1:通过配置表生成界面生成配置表,设置配置表内的配置信息。导入的系统的前端通过配置界面生成与待导入的Excel数据表对应的配置表,该配置表内存放待导入的Excel数据表对应的配置信息,数据导入前通过配置表生成对应数据表中的数据格式的导入模板,依据其导入具备其规定数据格式的数据表内的数据;S2:在配置表生成界面所在的前端设置一与配置表生成界面并列的校验规则界面,用于生成校验规则或者导入预先制备的校验规则。在配置表生成界面所在的前端设置一与其并列的校验规则配置界面,用于生成或者导入预先制备的校验规则,任一校验规则对 应生成一校验ID,所述校验规则应用后,根据其内设置的规则条件和对应的执行动作对数据导入模板中的数据列进行校验,确保数据列在数据导入时的可用性,防止数据列的设置错误导致数据导入时产生不可预料的问题;S3:在配置表生成界面所在的前端界面利用具有导入权限的账号,导入数据表。在系统前端利用具有导入权限的账号,将相应的数据表导入所述房产交易系统。A data import management method, the specific steps are as follows: S1: Generate a configuration table through the configuration table generation interface, and set configuration information in the configuration table. The front end of the imported system generates a configuration table corresponding to the Excel data table to be imported through the configuration interface. The configuration table stores configuration information corresponding to the Excel data table to be imported, and generates data in the corresponding data table through the configuration table before data is imported. The import template of the format is based on the data in the data table with the specified data format; S2: a check rule interface parallel to the configuration table generation interface is set at the front end of the configuration table generation interface, and is used to generate a verification rule. Or import a pre-prepared verification rule. On the front end of the configuration table generation interface, a verification rule configuration interface is configured to generate or import a pre-prepared verification rule, and any verification rule generates a verification ID, and the verification rule is applied. According to the rule conditions and the corresponding execution actions set in the data, the data columns in the data import template are verified to ensure the availability of the data column when the data is imported, and the setting of the data column is prevented from being caused, resulting in unpredictable problems during data import. ; S3: The front-end interface where the configuration table generation interface is located uses an account with import permission to import the data table. At the front end of the system, an account with import authority is used to import the corresponding data table into the real estate transaction system.
本实施例通过引入校验规则,根据校验规则内设置的规则条件和执行动作对数据列进行校验,确保数据列在数据导入时的可用性,防止数据列的设置错误导致数据导入时产生不可预料的问题。利用具有导入权限的账号导入数据表后,导入数据过程无需停机部署,导入简单方便,省时省力。In this embodiment, by introducing a verification rule, the data column is verified according to the rule conditions and execution actions set in the verification rule, thereby ensuring the availability of the data column during data import, and preventing the data column setting error from being caused when the data is imported. Expected problems. After importing the data table with the account with the import authority, the import data process does not need to be deployed down, and the import is simple and convenient, saving time and effort.
具体地,如图2所示,所述步骤S1中生成配置模板包括步骤S101至步骤S106:Specifically, as shown in FIG. 2, the generating the configuration template in the step S1 includes steps S101 to S106:
S101:调用脚本语言创建一用于生成数据导入模板的配置表,所述配置表与数据库连接,生成数据导入模板,将数据导入模板存储于数据库中。所述脚本语言又被称为扩建的语言,或者动态语言,是一种编程语言,用来控制软件应用程序,脚本通常以文本(如ASCII)保存,只在被调用时进行解释或编译;通过该脚本语言创建一配置表,并将生成的所述配置表导入数据库中,用于存储及使用。S102:调用脚本语言增设配置功能,所述配置功能包括数据导入模板查询功能、数据导入模板的新增和删除功能。通过脚本语言在配置表中部署相应的配置功能,所述数据导入模板查询功能用于查询待导入的数据,通过在配置表生成界面所在的系统中查询待导入的数据,实现将某些数据准确导入Excel表格内;所述数据导入模板的新增和删除功能用于实现任意新增列表或者删除列表,实现对列表行列数量增减的控制。S103:在配置表中规划默认显示列表界面的布局,包括模板的界面显示名称、模板在数据库中的名称、有效性开关、备注信息、创建时间、修改时间、用于编辑模板的操作开关。所述操作开关包括修改、创建列、下载模板、上传模板;其中,上传模板开关和下载模板开关用于将配置表生成界面生成后存储于数据库中的数据导入模板以独立文件形式导出或者导入数据库,便于脱离数据库进行离线修改和更新;修改开关用于对已有的模板中的列项目进行编辑;创建列开关用对已有的模板进行新增列操作, 从而增加一项数据列,对应待导入数据表中的一个字段。S104:基于配置表创建一用于设置数据导入模板基本信息的新增导入模板操作界面,其内布局用于生成数据导入模板基本信息的各个输入入口。开发一数据新增导入模板操作界面,用于设置数据导入模板基本信息,即用于生成数据导入模板基本信息我的各个输入入口,包括:创建列、创建行、下载模板、上传模板、查询数据、新增行或者列、删减行或者列等等。S105:基于配置表创建对应任一模板的模板编辑界面,其默认界面布局对应该模板的各个数据列,任一数据列对应设有至少两个列基础字段。任一数据列的列基础字段包括:列名称、数据库列名称、列序号、列类型、列值长、列值判空、列是否有效、列校验ID、操作。S106:基于模板编辑界面创建一用于新增或者编辑数据列的列编辑界面。新增数据列或者编辑数据列的编辑界面,用于对编辑数据列表新增、删减或者编辑。S101: Calling a scripting language to create a configuration table for generating a data import template, the configuration table is connected with the database, generating a data import template, and storing the data import template in the database. The scripting language, also known as an extended language, or a dynamic language, is a programming language used to control software applications. Scripts are usually saved in text (such as ASCII) and interpreted or compiled only when called; The scripting language creates a configuration table and imports the generated configuration table into a database for storage and use. S102: Calling a script language adding configuration function, where the configuration function includes a data import template query function, a data import template addition and deletion function. The corresponding configuration function is deployed in the configuration table by using a scripting language. The data import template query function is used to query the data to be imported, and the data to be imported is queried in the system where the configuration table is generated, so that some data is accurate. Imported into the Excel table; the new and deleted functions of the data import template are used to implement any new list or delete list, and realize the control of increasing or decreasing the number of list rows and columns. S103: Plan the layout of the default display list interface in the configuration table, including the interface display name of the template, the name of the template in the database, the validity switch, the remark information, the creation time, the modification time, and the operation switch for editing the template. The operation switch includes: modifying, creating a column, downloading a template, and uploading a template; wherein the upload template switch and the download template switch are used to export the data import template stored in the database after the configuration table generation interface is generated or imported into the database as a separate file. It is convenient to off-line modification and update from the database; the modification switch is used to edit the column items in the existing template; the column switch is created to add a new column operation to the existing template, thereby adding a data column, corresponding to Import a field from the data table. S104: Create a new import template operation interface for setting basic information of the data import template based on the configuration table, where the internal layout is used to generate each input entry of the basic information of the data import template. Develop a new data import import template operation interface, used to set the basic information of the data import template, which is used to generate the basic information of the data import template, including: create columns, create rows, download templates, upload templates, query data , add rows or columns, delete rows or columns, and more. S105: Create a template editing interface corresponding to any template based on the configuration table, where the default interface layout corresponds to each data column of the template, and any data column corresponds to at least two column basic fields. The column base fields of any data column include: column name, database column name, column number, column type, column value length, column value null, column valid, column check ID, operation. S106: Create a column editing interface for adding or editing data columns based on the template editing interface. Add a data column or edit the edit column of the data column to add, delete, or edit the edit data list.
本实施例通过调用脚本语言创建配置表、增设配置功能、规划界面布局、新增导入模板操作界面、创建模板编辑界面和列编辑界面的功能,以便于在导入模板时,无需重新部署后台模板,也无需重复开发上传、响应和读取环节的功能代码。通过本实施例的部署,直接可以对模板的增加和删除、对数据列的设置等操作,具有非常高的灵活性和实用性。In this embodiment, the function of creating a configuration table, adding a configuration function, planning an interface layout, adding an import template operation interface, creating a template editing interface, and a column editing interface by calling a script language, so that when the template is imported, there is no need to redeploy the background template. There is also no need to repeatedly develop the function code for the upload, response, and read links. Through the deployment of the embodiment, operations such as adding and deleting templates, setting data columns, and the like can be directly performed, which has very high flexibility and practicability.
具体的,如图3所示,步骤S2中校验数据包括步骤S201至步骤S203:Specifically, as shown in FIG. 3, the verification data in step S2 includes steps S201 to S203:
S201:利用脚本语言在系统前端开发生成一校验规则配置界面,其与数据库关联,经由其生成的校验规则存入数据库中的校验规则列表中,校验规则配置界面的默认显示界面显示已导入或者已生成的校验规则,任一生成的校验规则在默认显示界面中设有一与其一一对应的操作开关组,用于查看规则详情或者进行规则编辑。所述校验规则配置界面,用于生成校验数据的校验规则,存储于数据库中的校验规则列表中,任一生成的校验规则在默认显示界面中设有一与其一一对应的操作开关组,用于查看校验规则详情和对校验规则进行编辑。S201: Using a scripting language to generate a verification rule configuration interface in the front end of the system, which is associated with the database, and the verification rule generated by the verification rule is stored in the verification rule list in the database, and the default display interface of the verification rule configuration interface is displayed. The verification rule that has been imported or generated, any generated verification rule has a one-to-one operation switch group in the default display interface, which is used to view rule details or perform rule editing. The verification rule configuration interface is configured to generate a verification rule for the verification data, and is stored in the verification rule list in the database, and any generated verification rule has a one-to-one operation corresponding to the one in the default display interface. Switch group for viewing the details of the validation rules and editing the validation rules.
S202:在校验规则配置界面上部署校验规则上传和下载功能,可通过下载功能将校验规则从数据库中以独立脚本文件的形式导出后便于离线编辑,也可 以通过上传功能,导入预先离线编辑好的校验规则至数据库中的校验规则列表内。对校验规则进行离线编辑,之后存储于数据库中,以便查询使用;可以通过下载功能将校验规则从数据库中下载出来,进行离线编辑,在上传至数据库中,或者通过预先编辑好的校验规则,将其上传至数据库中,用于对数据的校验。S202: The verification rule uploading and downloading function is deployed on the verification rule configuration interface, and the verification rule can be exported from the database in the form of a separate script file by the download function, which is convenient for offline editing, and can also be imported into the pre-offline through the upload function. Edit the verification rules to the list of validation rules in the database. The verification rules are edited offline, and then stored in the database for query use. The verification rules can be downloaded from the database through the download function, edited offline, uploaded to the database, or verified by pre-editing. Rules, upload it to the database for verification of the data.
S203:基于校验规则配置界面开发生成一校验规则新增界面,其内布局校验描述、规则类型和校验规则三个项目。其中,校验描述项目用于在校验规则配置界面的默认界面中显示本条校验规则的作用;规则类型项目用于在校验规则配置界面的默认界面中显示本条校验规则的分类信息;校验规则项目用于定义该校验规则的执行条件和对应的执行动作。S203: The configuration interface is developed based on the verification rule to generate a new verification interface, and the layout verification description, the rule type, and the verification rule are three items. The verification description item is used to display the function of the verification rule in the default interface of the verification rule configuration interface; the rule type item is used to display the classification information of the verification rule of the verification rule in the default interface of the verification rule configuration interface; The verification rule item is used to define the execution condition of the verification rule and the corresponding execution action.
任一所述校验规则在数据库中对应有如下字段信息:校验ID、校验描述、规则类型、校验条件、规则实体、规则创建时间、有效性状态标记;其中,有效性状态标记用于标示该规则是否被应用,其为布尔值数据,当任一步骤1)生成的模板中的至少一条数据列应用该规则,则该规则对应的有效性状态标记为true值,否则为false,对于规则的应用采用在数据列中增加规则应用字段,其数值为0或者被应用规则的校验ID,当规则应用字段为0时,表示不应用任何校验规则,否则即为应用与数值相等的校验ID对应的校验规则。Any of the verification rules corresponding to the following field information in the database: a verification ID, a verification description, a rule type, a verification condition, a rule entity, a rule creation time, and a validity status flag; wherein the validity status flag is used To indicate whether the rule is applied, which is Boolean data. When at least one data column in the template generated in any of the steps 1) applies the rule, the validity status of the rule is marked as true, otherwise, false. For the application of the rule, the rule application field is added in the data column, and its value is 0 or the check ID of the applied rule. When the rule application field is 0, it means that no check rule is applied, otherwise the application is equal to the value. The verification rule corresponding to the verification ID.
本实施例通过校验规则配置界面查看规则详情和规则的编辑,并部署校验规则的上传和下载功能,使用者能直观部署和使用校验规则,确保数据导入时通过校验规则的校验,实现数据的可用性。In this embodiment, the verification rule configuration interface is used to view the details of the rule and the editing of the rule, and the uploading and downloading functions of the verification rule are deployed. The user can intuitively deploy and use the verification rule to ensure the verification of the verification rule when the data is imported. To achieve data availability.
具体的,如图4所示,步骤S3中导入表格数据包括步骤S301至步骤S304:Specifically, as shown in FIG. 4, importing the form data in step S3 includes steps S301 to S304:
S301:在系统前端设置一权限分配界面,将数据导入的权限与某一系统内已有的账号绑定后赋予其导入权限,使其可操作导入数据。权限分配操作可通过预先准备一操作者权限配置信息表,并在权限分配界面中设置导入该操作者权限配置信息表的导入入口,从而方便赋予操作者更精确的操作权限。S301: Set a rights allocation interface on the front end of the system, and bind the data import permission to an existing account in a certain system, and then give the import permission, so that the data can be imported and operated. The authority assigning operation can prepare an operator permission configuration information table in advance, and set an import portal for importing the operator authority configuration information table in the rights assignment interface, thereby facilitating the operator to give more precise operation authority.
S302:根据生成的待导入数据表对应的导入模板,在数据库中生成用于存 放待导入数据的各个字段和对应的表。根据生成的数据导入模板,在数据库中生成字段和表格,用于存放待导入数据。S302: Generate, according to the generated import template corresponding to the data table to be imported, various fields and corresponding tables for storing data to be imported. The template is imported according to the generated data, and fields and tables are generated in the database for storing the data to be imported.
S303:在系统前端设置一数据导入界面,其包括一导入入口,通过导入入口选定一待导入的数据表后将数据表导入系统内,并将导入结果记录于一导入操作结果记录信息表和一导入日志记录信息,如导入成功则进行下一步,如导入失败则需下载所述导入操作结果记录信息表后分析失败原因,消除问题后再次导入。所述数据导入界面,设有一数据导入入口,用于将待导入数据通过数据导入入口导入至系统内,用于存储待导如数据,在将数据导入至Excel中时,通过在所述系统中查询存储的数据,实现对应数据在Excel表格中的导入。S304:在系统前端设置一导入数据查看界面,用于从数据库中调取已经导入系统并存入数据库中的数据,并按照模板中的数据列呈现在前端页面中供导入操作者或者其他具备查看权限者查看。所述导入数据查询界面,用于当待导入数据导入至Excel表格中后,查询表格中导入的数据是否正确无误。S303: setting a data import interface on the front end of the system, including an import portal, selecting a data table to be imported through the import portal, importing the data table into the system, and recording the import result in an import operation result record information table and If the import is successful, the next step is performed. If the import fails, the import operation result record information table needs to be downloaded, and the cause of the failure is analyzed, and the problem is eliminated and then imported again. The data importing interface is provided with a data importing portal for importing data to be imported into the system through a data importing portal for storing data to be exported, and when the data is imported into Excel, through the system Query the stored data and import the corresponding data in the Excel table. S304: An import data viewing interface is set in the front end of the system, and is used to retrieve data that has been imported into the database and stored in the database from the database, and is presented in the front end page according to the data column in the template for importing the operator or other viewing. Permissions view. The import data query interface is used to query whether the data imported in the table is correct after the data to be imported is imported into the Excel table.
本实施例通过权限分配界面及预设的操作者权限配置信息表赋予某一账号导入权限,通过设置数据导入界面,使有权限的操作者通过数据导入界面将数据导入至Excel中,通过导入数据查看界面供具有权限的操作者调取和查看已导入的数据,上述通过权限实现数据导入和查看的方式,可确保数据导入的可靠性,避免非法数据的入侵。In this embodiment, an authority is configured to import an account by using a rights assignment interface and a preset operator rights configuration information table, and the user is authorized to import data into the Excel through the data import interface by setting a data import interface. The viewing interface is used by a privileged operator to retrieve and view the imported data. The above-mentioned way of importing and viewing data through permissions ensures the reliability of data import and avoids the intrusion of illegal data.
在一个实施例中,任一数据列的列基础字段包括:列名称、数据库列名称、列序号、列类型、列值长、列值判空、列是否有效、列校验ID、操作。本实施例的数据列包含的基础字段尽可能的多,则在校验规则对数据列进行校验时,更能确保数据列的可用性,防止数据列的设置错误导致数据导入时产生不可预料的问题。In one embodiment, the column base fields of any of the data columns include: column name, database column name, column number, column type, column value length, column value null, column validity, column check ID, operation. The data column of this embodiment contains as many basic fields as possible, and when the verification rule verifies the data column, the availability of the data column can be ensured, and the setting of the data column is prevented, resulting in unpredictable data import. problem.
在一个实施例中,所述校验规则在数据库中对应的字段信息有校验ID、校验描述、规则类型、校验条件、规则实体、规则创建时间、有效性状态标记。本实施例罗列了校验规则在数据库中对应的字段信息,能确保在对导入的数据 进行校验时,将导入的数据进行一一对应校验,将不符合条件的数据列识别出来,也便于具有权限的操作者查看规则和数据列的状态。In an embodiment, the corresponding field information of the verification rule in the database includes a check ID, a check description, a rule type, a check condition, a rule entity, a rule creation time, and a validity status flag. In this embodiment, the corresponding field information of the verification rule in the database is listed, which ensures that when the imported data is verified, the imported data is verified one by one, and the data column that does not meet the condition is identified. It is convenient for operators with permissions to view the status of rules and data columns.
在一个实施例中,所述配置表的规划方式为:对待导入的Excel数据表预制备6张配置表,包括配置表1至6,在配置表1中存入信息包括数据表的中英文名称和数据表ID;在配置表2中添加数据表表头的中英文名称、表头序号和数据表ID;在配置表3中校验ID、校验的条件和校验的描述;在配置表4中导入操作者权限配置信息;在配置表5中导入日志记录信息;在配置表6中导入操作结果记录信息。本实施例通过预制6张配置表,将本申请所有需要的配置及校验信息全部进行保存,供后续数据导入时的调用、校验和查看,上述设计,有效避免了某个Excel导入需要增、删、改表头时,重新部署后台模板和修改后台代码的问题。In an embodiment, the configuration manner of the configuration table is: preparing six configuration tables for the imported Excel data table, including configuration tables 1 to 6, and storing the information in the configuration table 1 including the Chinese and English names of the data table. And the data table ID; add the Chinese and English name, the header serial number and the data table ID of the data table header in the configuration table 2; the verification ID, the verification condition and the verification description in the configuration table 3; Import operator permission configuration information in 4; import log record information in configuration table 5; import operation result record information in configuration table 6. In this embodiment, all the required configuration and verification information of the present application are saved by prefabricating 6 configuration tables, and are used for calling, verifying, and viewing subsequent data import. The above design effectively avoids an need for an Excel import. When you delete, change, or change the header, redeploy the background template and modify the background code.
基于相同的技术构思,本申请还提供一种数据导入管理装置,如图5所示,该管理装置包括:生成配置表单元,设置为通过配置表生成界面生成配置表,设置配置表内的配置信息;设置校验规则单元,设置为在配置表生成界面所在的前端设置一与配置表生成界面并列的校验规则界面,用于生成校验规则或者导入预先制备的校验规则;导入数据单元,设置为在配置表生成界面所在的前端界面利用具有导入权限的账号,导入数据表。Based on the same technical concept, the present application further provides a data import management apparatus. As shown in FIG. 5, the management apparatus includes: a configuration configuration table unit, configured to generate a configuration table by using a configuration table generation interface, and set a configuration in the configuration table. Information; setting a verification rule unit, and setting a check rule interface parallel to the configuration table generation interface at the front end where the configuration table generation interface is located, for generating a verification rule or importing a pre-prepared verification rule; importing a data unit , set to use the account with import permission to import the data table in the front-end interface where the configuration table generation interface is located.
在一个实施例中,生成配置表单元包括:配置表生成模块,设置为调用脚本语言创建一用于生成数据导入模板的配置表,所述配置表与数据库连接,生成数据导入模板,将数据导入模板存储于数据库中;配置增设模块,设置为调用脚本语言增设配置功能,所述配置功能包括数据导入模板查询功能、数据导入模板的新增和删除功能;界面布局规划模块,设置为在配置表中规划默认显示列表界面的布局,包括模板的界面显示名称、模板在数据库中的名称、有效性开关、备注信息、创建时间、修改时间、用于编辑模板的操作开关;操作界面创建模块,设置为基于配置表创建一用于设置数据导入模板基本信息的新增导入模板操作界面,其内布局用于生成数据导入模板基本信息的各个输入入口;模板编辑界面创建模块,设置为基于配置表创建对应任一模板的模板编辑界面, 其默认界面布局对应该模板的各个数据列,任一数据列对应设有至少两个列基础字段;列编辑界面创建模块,设置为基于模板编辑界面创建一用于新增或者编辑数据列的列编辑界面。本实施例中,模板编辑界面创建模块中的任一数据列的列基础字段包括:列名称、数据库列名称、列序号、列类型、列值长、列值判空、列是否有效、列校验ID、操作。In one embodiment, generating the configuration table unit includes: a configuration table generating module configured to invoke a scripting language to create a configuration table for generating a data import template, the configuration table is connected with the database, generating a data import template, and importing the data The template is stored in the database; the configuration module is configured to be set to invoke the script language to add a configuration function, and the configuration function includes a data import template query function, a data import template addition and deletion function, and an interface layout planning module, which is set in the configuration table. The layout of the default display list interface in the plan, including the interface display name of the template, the name of the template in the database, the validity switch, the remark information, the creation time, the modification time, the operation switch for editing the template; the operation interface creation module, setting A new import template operation interface for setting basic information of the data import template is created based on the configuration table, wherein the internal layout is used to generate various input entries of the basic information of the data import template; the template editing interface creates a module, and is set to be created based on the configuration table. Corresponding to any template The board editing interface, the default interface layout corresponding to each data column of the template, any data column corresponding to at least two column basic fields; the column editing interface creation module, set to create a new or edit based on the template editing interface Column edit interface for data columns. In this embodiment, the column basic fields of any data column in the template editing interface creation module include: column name, database column name, column serial number, column type, column value length, column value judgment, column validity, column calibration Check the ID and operation.
在一个实施例中,设置校验规则单元包括:规则配置界面生成模块,设置为利用脚本语言在系统前端开发生成一校验规则配置界面,其与数据库关联,经由其生成的校验规则存入数据库中的校验规则列表中,校验规则配置界面的默认显示界面显示已导入或者已生成的校验规则,任一生成的校验规则在默认显示界面中设有一与其一一对应的操作开关组,用于查看规则详情或者进行规则编辑;功能部署模块,设置为在校验规则配置界面上部署校验规则上传和下载功能,通过下载功能将校验规则从数据库中以独立脚本文件的形式导出后便于离线编辑,或通过上传功能,导入预先离线编辑好的校验规则至数据库中的校验规则列表内;规则新增界面生成模块,设置为基于校验规则配置界面开发生成一校验规则新增界面,其内布局校验描述、规则类型和校验规则三个项目。In one embodiment, the setting verification rule unit includes: a rule configuration interface generation module configured to generate a verification rule configuration interface in the system front end by using a script language, which is associated with the database, and is stored in the verification rule generated by the verification rule. In the verification rule list in the database, the default display interface of the verification rule configuration interface displays the imported or generated verification rules, and any generated verification rules have a one-to-one operation switch in the default display interface. Group, used to view rule details or perform rule editing; function deployment module, set to deploy verification rule upload and download function on the verification rule configuration interface, and use the download function to verify the rule from the database in the form of a separate script file. After exporting, it is convenient for offline editing, or through the upload function, importing the pre-offline edited verification rule into the verification rule list in the database; the rule adds a new interface generation module, and is set to generate a verification based on the verification rule configuration interface development interface. Rule added interface, layout check description, rule type and check rule Three projects.
在一个实施例中,导入数据单元包括:权限分配界面设置模块,设置为在系统前端设置一权限分配界面,将数据导入的权限与某一系统内已有的账号绑定后赋予其导入权限,使其可操作导入数据;待导入数据存储模块,设置为根据生成的待导入数据表对应的导入模板,在数据库中生成用于存放待导入数据的各个字段和对应的表;数据导入界面设置模块,设置为在系统前端设置一数据导入界面,其包括一导入入口,通过导入入口选定一待导入的数据表后将数据表导入系统内,并将导入结果记录于一导入操作结果记录信息表和一导入日志记录信息,如导入成功则进行下一步,如导入失败则需下载所述导入操作结果记录信息表后分析失败原因,消除问题后再次导入;查看界面设置模块,设置为在系统前端设置一导入数据查看界面,用于从数据库中调取已经导入系统并存入数据库中的数据,并按照模板中的数据列呈现在前端页面中供导入操作者或者其他具备查看权限者查看。In an embodiment, the import data unit includes: a rights assignment interface setting module, configured to set a rights assignment interface on the front end of the system, and bind the data import permission to an existing account in a system, and then give the import permission. The data import module is configured to be imported, and is configured to generate, according to the generated import template corresponding to the data table to be imported, various fields and corresponding tables for storing data to be imported are generated in the database; the data import interface setting module , set to set a data import interface on the front end of the system, which includes an import portal, selects a data table to be imported through the import portal, imports the data table into the system, and records the import result in an import operation result record information table. And importing the log record information, if the import is successful, proceed to the next step. If the import fails, download the import operation result record information table, analyze the failure reason, and re-import after eliminating the problem; view the interface setting module, set to be at the system front end. Set an import data view interface for retrieving the data from the database Into the system and stored data in the database, and in accordance with data templates column presented for import operator or other person has permission to view View at the front page.
基于相同的技术构思,本申请还提供一种移动终端,用于实现跨移动应用数据导入管理的方法,该终端可以为包括手机、平板电脑、PDA(Personal Digital Assistant,个人数字助理)、POS(Point of Sales,销售终端)、车载电脑等任意终端设备。该移动终端包括触敏显示器、存储器、一个或多个处理器;所述一个或多个处理器被配置为执行上述各个实施例中数据导入管理方法的步骤。Based on the same technical concept, the present application further provides a mobile terminal, which is used to implement data import management across mobile applications, and the terminal may include a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), and a POS ( Point of Sales, sales terminal, and any terminal device such as a car computer. The mobile terminal includes a touch sensitive display, a memory, one or more processors; the one or more processors configured to perform the steps of the data import management method of the various embodiments described above.
基于相同的技术构思,本申请还提供一种存储有计算机可读指令的存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行上述各个实施例中数据导入管理方法的步骤。其中,存储介质可以为非易失性存储介质。Based on the same technical concept, the present application also provides a storage medium storing computer readable instructions, which when executed by one or more processors, cause one or more processors to execute the various embodiments described above The steps in the data import management method. The storage medium may be a non-volatile storage medium.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储介质中,存储介质可以包括:只读存储器(ROM,Read Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁盘或光盘等。A person skilled in the art may understand that all or part of the various steps of the foregoing embodiments may be performed by a program to instruct related hardware. The program may be stored in a computer readable storage medium, and the storage medium may include: Read Only Memory (ROM), Random Access Memory (RAM), disk or optical disk.
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。It will be understood by those skilled in the art that all or part of the steps of implementing the above embodiments may be performed by a program to instruct related hardware, and the program may be stored in a computer readable storage medium, the above mentioned storage. The medium can be a read only memory, a magnetic disk or an optical disk or the like.
以上所述实施例仅表达了本申请一些示例性实施例,其描述较为具体和详细,但并不能因此而理解为对本申请专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。The above-described embodiments are only illustrative of some exemplary embodiments of the present application, and the description thereof is more specific and detailed, and is not to be construed as limiting the scope of the claims. It should be noted that a number of variations and modifications may be made by those skilled in the art without departing from the spirit and scope of the present application. Therefore, the scope of the invention should be determined by the appended claims.

Claims (20)

  1. 一种数据导入管理方法,包括:S1:通过配置表生成界面生成配置表,设置配置表内的配置信息;S2:在配置表生成界面所在的前端设置一与配置表生成界面并列的校验规则界面,用于生成校验规则或者导入预先制备的校验规则;S3:在配置表生成界面所在的前端界面利用具有导入权限的账号,导入数据表。A data import management method includes: S1: generating a configuration table through a configuration table generation interface, and setting configuration information in the configuration table; S2: setting a verification rule parallel to the configuration table generation interface at a front end where the configuration table generation interface is located The interface is used to generate a verification rule or import a pre-prepared verification rule. S3: The front end interface where the configuration table generation interface is located uses an account with an import authority to import a data table.
  2. 根据权利要求1所述的一种数据导入管理方法,其中,S1包括:A data import management method according to claim 1, wherein S1 comprises:
    S101:调用脚本语言创建一用于生成数据导入模板的配置表,所述配置表与数据库连接,生成数据导入模板,将数据导入模板存储于数据库中;S101: Calling a scripting language to create a configuration table for generating a data import template, the configuration table is connected with a database, generating a data import template, and storing the data import template in a database;
    S102:调用脚本语言增设配置功能,所述配置功能包括数据导入模板查询功能、数据导入模板的新增和删除功能;S102: Calling a script language to add a configuration function, where the configuration function includes a data import template query function, a data import template addition and deletion function;
    S103:在配置表中规划默认显示列表界面的布局,包括模板的界面显示名称、模板在数据库中的名称、有效性开关、备注信息、创建时间、修改时间、用于编辑模板的操作开关;S103: planning a layout of a default display list interface in the configuration table, including a template display name of the template, a name of the template in the database, a validity switch, a remark information, a creation time, a modification time, and an operation switch for editing the template;
    S104:基于配置表创建一用于设置数据导入模板基本信息的新增导入模板操作界面,其内布局用于生成数据导入模板基本信息的各个输入入口;S104: Create a new import template operation interface for setting basic information of the data import template based on the configuration table, where the internal layout is used to generate each input input of the basic information of the data import template;
    S105:基于配置表创建对应任一模板的模板编辑界面,其默认界面布局对应该模板的各个数据列,任一数据列对应设有至少两个列基础字段;S105: Create a template editing interface corresponding to any template based on the configuration table, where the default interface layout corresponds to each data column of the template, and any data column corresponds to at least two column basic fields;
    S106:基于模板编辑界面创建一用于新增或者编辑数据列的列编辑界面。S106: Create a column editing interface for adding or editing data columns based on the template editing interface.
  3. 根据权利要求1所述的一种数据导入管理方法,其中,S2包括:A data import management method according to claim 1, wherein S2 comprises:
    S201:利用脚本语言在系统前端开发生成一校验规则配置界面,其与数据库关联,经由其生成的校验规则存入数据库中的校验规则列表中,校验规则配置界面的默认显示界面显示已导入或者已生成的校验规则,任一生成的校验规则在默认显示界面中设有一与其一一对应的操作开关组,用于查看规则详情或者进行规则编辑;S201: Using a scripting language to generate a verification rule configuration interface in the front end of the system, which is associated with the database, and the verification rule generated by the verification rule is stored in the verification rule list in the database, and the default display interface of the verification rule configuration interface is displayed. A verification rule that has been imported or generated, and any generated verification rule has a one-to-one operation switch group in the default display interface for viewing rule details or performing rule editing;
    S202:在校验规则配置界面上部署校验规则上传和下载功能,通过下载功能将校验规则从数据库中以独立脚本文件的形式导出后便于离线编辑,或通过上传功能,导入预先离线编辑好的校验规则至数据库中的校验规则列表内;S202: Deploying a verification rule uploading and downloading function on the verification rule configuration interface, and downloading the verification rule from the database in the form of a separate script file to facilitate offline editing, or importing and pre-offline editing through the upload function. Check rule to the list of check rules in the database;
    S203:基于校验规则配置界面开发生成一校验规则新增界面,其内布局校验描述、规则类型和校验规则三个项目。S203: The configuration interface is developed based on the verification rule to generate a new verification interface, and the layout verification description, the rule type, and the verification rule are three items.
  4. 根据权利要求1所述的一种数据导入管理方法,其中,S3包括:A data import management method according to claim 1, wherein S3 comprises:
    S301:在系统前端设置一权限分配界面,将数据导入的权限与某一系统内已有的账号绑定后赋予其导入权限,使其可操作导入数据;S301: setting a rights assignment interface on the front end of the system, and binding the data import permission to an existing account in a certain system, and then giving the import permission, so that the data can be imported and operated;
    S302:根据生成的待导入数据表对应的导入模板,在数据库中生成用于存放待导入数据的各个字段和对应的表;S302: Generate, according to the generated import template corresponding to the data table to be imported, various fields and corresponding tables for storing data to be imported in the database;
    S303:在系统前端设置一数据导入界面,其包括一导入入口,通过导入入口选定一待导入的数据表后将数据表导入系统内,并将导入结果记录于一导入操作结果记录信息表和一导入日志记录信息,如导入成功则进行下一步,如导入失败则需下载所述导入操作结果记录信息表后分析失败原因,消除问题后再次导入;S303: setting a data import interface on the front end of the system, including an import portal, selecting a data table to be imported through the import portal, importing the data table into the system, and recording the import result in an import operation result record information table and If the import is successful, the next step is performed. If the import fails, the import operation result record information table needs to be downloaded, and the reason for the failure is analyzed, and the problem is re-imported after the problem is eliminated;
    S304:在系统前端设置一导入数据查看界面,用于从数据库中调取已经导入系统并存入数据库中的数据,并按照模板中的数据列呈现在前端页面中供导入操作者或者其他具备查看权限者查看。S304: An import data viewing interface is set in the front end of the system, and is used to retrieve data that has been imported into the database and stored in the database from the database, and is presented in the front end page according to the data column in the template for importing the operator or other viewing. Permissions view.
  5. 根据权利要求2所述的一种数据导入管理方法,其中,任一数据列的列基础字段包括:列名称、数据库列名称、列序号、列类型、列值长、列值判空、列是否有效、列校验ID、操作。The data import management method according to claim 2, wherein the column base field of any of the data columns includes: a column name, a database column name, a column number, a column type, a column value length, a column value judgment, and a column Valid, column check ID, operation.
  6. 根据权利要求1所述的一种数据导入管理方法,其中,所述校验规则在数据库中对应的字段信息有校验ID、校验描述、规则类型、校验条件、规则实体、规则创建时间、有效性状态标记。The data import management method according to claim 1, wherein the corresponding field information of the verification rule in the database has a check ID, a check description, a rule type, a check condition, a rule entity, and a rule creation time. , validity status flag.
  7. 根据权利要求1所述的一种数据导入管理方法,其中,所述配置表的规 划方式为:对待导入的Excel数据表预制备6张配置表,包括配置表1至6,在配置表1中存入信息包括数据表的中英文名称和数据表ID;在配置表2中添加数据表表头的中英文名称、表头序号和数据表ID;在配置表3中导入校验ID、校验的条件和校验的描述;在配置表4中导入操作者权限配置信息;在配置表5中导入日志记录信息;在配置表6中导入操作结果记录信息。The data import management method according to claim 1, wherein the configuration manner of the configuration table is: preparing six configuration tables, including configuration tables 1 to 6, in the Excel data table to be imported, in the configuration table 1 The deposit information includes the Chinese and English names and data table IDs of the data table; the Chinese and English names, the header numbers, and the data table IDs of the data table headers are added in the configuration table 2; the check IDs and checksums are imported in the configuration table 3. Description of conditions and verification; import operator permission configuration information in configuration table 4; import log record information in configuration table 5; import operation result record information in configuration table 6.
  8. 一种数据导入管理装置,包括:生成配置表单元,设置为通过配置表生成界面生成配置表,设置配置表内的配置信息;设置校验规则单元,设置为在配置表生成界面所在的前端设置一与配置表生成界面并列的校验规则界面,用于生成校验规则或者导入预先制备的校验规则;导入数据单元,设置为在配置表生成界面所在的前端界面利用具有导入权限的账号,导入数据表。A data import management device includes: generating a configuration table unit, configured to generate a configuration table by using a configuration table generation interface, and setting configuration information in the configuration table; setting a verification rule unit, and setting the front end of the configuration table generation interface A verification rule interface parallel to the configuration table generation interface, used to generate a verification rule or import a pre-prepared verification rule; import a data unit, and set an account with an import permission on the front end interface where the configuration table generation interface is located, Import the data table.
  9. 根据权利要求8所述的数据导入管理装置,其中,所述生成配置表单元包括:配置表生成模块,设置为调用脚本语言创建一用于生成数据导入模板的配置表,所述配置表与数据库连接,生成数据导入模板,将数据导入模板存储于数据库中;配置增设模块,设置为调用脚本语言增设配置功能,所述配置功能包括数据导入模板查询功能、数据导入模板的新增和删除功能;界面布局规划模块,设置为在配置表中规划默认显示列表界面的布局,包括模板的界面显示名称、模板在数据库中的名称、有效性开关、备注信息、创建时间、修改时间、用于编辑模板的操作开关;操作界面创建模块,设置为基于配置表创建一用于设置数据导入模板基本信息的新增导入模板操作界面,其内布局用于生成数据导入模板基本信息的各个输入入口;模板编辑界面创建模块,设置为基于配置表创建对应任一模板的模板编辑界面,其默认界面布局对应该模板的各个数据列,任一数据列对应设有至少两个列基础字段;列编辑界面创建模块,设置为基于模板编辑界面创建一用于新增或者编辑数据列的列编辑界面。The data import management device according to claim 8, wherein the generating configuration table unit comprises: a configuration table generating module configured to invoke a scripting language to create a configuration table for generating a data import template, the configuration table and the database Connect, generate a data import template, store the data import template in the database; configure the add-on module, and set the calling script language to add a configuration function, the configuration function includes a data import template query function, a data import template add and delete function; The interface layout planning module is configured to plan the layout of the default display list interface in the configuration table, including the interface display name of the template, the name of the template in the database, the validity switch, the remark information, the creation time, the modification time, and the editing template. Operation switch; the operation interface creation module is set to create a new import template operation interface for setting basic information of the data import template based on the configuration table, and the internal layout is used for generating various input entries of the basic information of the data import template; template editing Interface creation module, setting To create a template editing interface corresponding to any template based on the configuration table, the default interface layout corresponds to each data column of the template, and any data column corresponds to at least two column basic fields; the column editing interface creates a module, and is set to be based on the template. The editing interface creates a column editing interface for adding or editing data columns.
  10. 根据权利要求8所述的数据导入管理装置,其中,所述设置校验规则单元包括:规则配置界面生成模块,设置为利用脚本语言在系统前端开发生成一校验规则配置界面,其与数据库关联,经由其生成的校验规则存入数据库中的校验规则列表中,校验规则配置界面的默认显示界面显示已导入或者已生成 的校验规则,任一生成的校验规则在默认显示界面中设有一与其一一对应的操作开关组,用于查看规则详情或者进行规则编辑;功能部署模块,设置为在校验规则配置界面上部署校验规则上传和下载功能,通过下载功能将校验规则从数据库中以独立脚本文件的形式导出后便于离线编辑,或通过上传功能,导入预先离线编辑好的校验规则至数据库中的校验规则列表内;规则新增界面生成模块,设置为基于校验规则配置界面开发生成一校验规则新增界面,其内布局校验描述、规则类型和校验规则三个项目。The data import management apparatus according to claim 8, wherein the setting verification rule unit comprises: a rule configuration interface generating module configured to develop a verification rule configuration interface at a system front end by using a script language, which is associated with a database The verification rule generated by the verification rule is stored in the verification rule list in the database, and the default display interface of the verification rule configuration interface displays the imported or generated verification rule, and any generated verification rule is displayed in the default display interface. There is an operation switch group corresponding to one-to-one corresponding to the rule details or rule editing; the function deployment module is set to deploy the verification rule upload and download function on the verification rule configuration interface, and the verification function is verified by the download function. The rules are exported from the database in the form of separate script files for offline editing, or through the upload function, import the pre-offline edited verification rules into the verification rule list in the database; the rule adds a new interface generation module, which is set to be based on The verification rule configuration interface is developed to generate a verification rule new interface, Description layout verification, validation rules and rule type three items.
  11. 根据权利要求8所述的数据导入管理装置,其中,所述导入数据单元包括:权限分配界面设置模块,设置为在系统前端设置一权限分配界面,将数据导入的权限与某一系统内已有的账号绑定后赋予其导入权限,使其可操作导入数据;待导入数据存储模块,设置为根据生成的待导入数据表对应的导入模板,在数据库中生成用于存放待导入数据的各个字段和对应的表;数据导入界面设置模块,设置为在系统前端设置一数据导入界面,其包括一导入入口,通过导入入口选定一待导入的数据表后将数据表导入系统内,并将导入结果记录于一导入操作结果记录信息表和一导入日志记录信息,如导入成功则进行下一步,如导入失败则需下载所述导入操作结果记录信息表后分析失败原因,消除问题后再次导入;查看界面设置模块,设置为在系统前端设置一导入数据查看界面,用于从数据库中调取已经导入系统并存入数据库中的数据,并按照模板中的数据列呈现在前端页面中供导入操作者或者其他具备查看权限者查看。The data import management device according to claim 8, wherein the import data unit comprises: a rights assignment interface setting module, configured to set a rights assignment interface at the front end of the system, and the data import authority and the existing system are After the account is bound, the import permission is given to enable the import of the data; the data storage module to be imported is set to generate the fields for storing the data to be imported in the database according to the imported import template corresponding to the generated data table to be imported. And the corresponding table; the data import interface setting module is set to set a data import interface on the front end of the system, which includes an import portal, selects a data table to be imported through the import portal, and then imports the data table into the system, and imports the data table. The result is recorded in an import operation result record information table and an import log record information. If the import is successful, the next step is performed. If the import fails, the import operation result record information table needs to be downloaded, and the cause of the failure is analyzed, and the problem is eliminated and then imported again; View the interface setting module, set to set an import data in the system front end The viewing interface is used to retrieve data that has been imported into the database from the database and stored in the database, and is presented in the front-end page according to the data column in the template for the import operator or other viewing rights.
  12. 根据权利要求9所述的数据导入管理装置,其中,所述模板编辑界面创建模块中的任一数据列的列基础字段包括:列名称、数据库列名称、列序号、列类型、列值长、列值判空、列是否有效、列校验ID、操作。The data import management apparatus according to claim 9, wherein the column base field of any one of the data in the template editing interface creation module comprises: a column name, a database column name, a column number, a column type, a column value length, The column value is null, the column is valid, the column check ID, and the operation.
  13. 一种移动终端,其特征在于,包括:触敏显示器;存储器;一个或多个处理器;所述一个或多个处理器被配置为执行以下步骤:S1:通过配置表生成界面生成配置表,设置配置表内的配置信息;S2:在配置表生成界面所在的前端设置一与配置表生成界面并列的校验规则界面,用于生成校验规则或者导入预先制备的校验规则;S3:在配置表生成界面所在的前端界面利用具有导入 权限的账号,导入数据表。A mobile terminal, comprising: a touch-sensitive display; a memory; one or more processors; the one or more processors configured to perform the following steps: S1: generating a configuration table by using a configuration table generation interface, Setting the configuration information in the configuration table; S2: setting a verification rule interface parallel to the configuration table generation interface on the front end where the configuration table generation interface is located, for generating a verification rule or importing a pre-prepared verification rule; S3: The front-end interface where the configuration table generation interface is located uses an account with import permission to import the data table.
  14. 根据权利要求13所述的移动终端,其中,所述步骤S1使得一个或多个处理器被配置为执行以下步骤:The mobile terminal of claim 13, wherein said step S1 causes one or more processors to be configured to perform the following steps:
    S101:调用脚本语言创建一用于生成数据导入模板的配置表,所述配置表与数据库连接,生成数据导入模板,将数据导入模板存储于数据库中;S101: Calling a scripting language to create a configuration table for generating a data import template, the configuration table is connected with a database, generating a data import template, and storing the data import template in a database;
    S102:调用脚本语言增设配置功能,所述配置功能包括数据导入模板查询功能、数据导入模板的新增和删除功能;S102: Calling a script language to add a configuration function, where the configuration function includes a data import template query function, a data import template addition and deletion function;
    S103:在配置表中规划默认显示列表界面的布局,包括模板的界面显示名称、模板在数据库中的名称、有效性开关、备注信息、创建时间、修改时间、用于编辑模板的操作开关;S103: planning a layout of a default display list interface in the configuration table, including a template display name of the template, a name of the template in the database, a validity switch, a remark information, a creation time, a modification time, and an operation switch for editing the template;
    S104:基于配置表创建一用于设置数据导入模板基本信息的新增导入模板操作界面,其内布局用于生成数据导入模板基本信息的各个输入入口;S104: Create a new import template operation interface for setting basic information of the data import template based on the configuration table, where the internal layout is used to generate each input input of the basic information of the data import template;
    S105:基于配置表创建对应任一模板的模板编辑界面,其默认界面布局对应该模板的各个数据列,任一数据列对应设有至少两个列基础字段;S105: Create a template editing interface corresponding to any template based on the configuration table, where the default interface layout corresponds to each data column of the template, and any data column corresponds to at least two column basic fields;
    S106:基于模板编辑界面创建一用于新增或者编辑数据列的列编辑界面。S106: Create a column editing interface for adding or editing data columns based on the template editing interface.
  15. 根据权利要求13所述的移动终端,其中,所述步骤S2使得一个或多个处理器被配置为执行以下步骤:The mobile terminal of claim 13, wherein said step S2 causes one or more processors to be configured to perform the following steps:
    S201:利用脚本语言在系统前端开发生成一校验规则配置界面,其与数据库关联,经由其生成的校验规则存入数据库中的校验规则列表中,校验规则配置界面的默认显示界面显示已导入或者已生成的校验规则,任一生成的校验规则在默认显示界面中设有一与其一一对应的操作开关组,用于查看规则详情或者进行规则编辑;S201: Using a scripting language to generate a verification rule configuration interface in the front end of the system, which is associated with the database, and the verification rule generated by the verification rule is stored in the verification rule list in the database, and the default display interface of the verification rule configuration interface is displayed. A verification rule that has been imported or generated, and any generated verification rule has a one-to-one operation switch group in the default display interface for viewing rule details or performing rule editing;
    S202:在校验规则配置界面上部署校验规则上传和下载功能,通过下载功能将校验规则从数据库中以独立脚本文件的形式导出后便于离线编辑,或通过上传功能,导入预先离线编辑好的校验规则至数据库中的校验规则列表内;S202: Deploying a verification rule uploading and downloading function on the verification rule configuration interface, and downloading the verification rule from the database in the form of a separate script file to facilitate offline editing, or importing and pre-offline editing through the upload function. Check rule to the list of check rules in the database;
    S203:基于校验规则配置界面开发生成一校验规则新增界面,其内布局校 验描述、规则类型和校验规则三个项目。S203: The configuration interface is developed based on the verification rule to generate a new interface of the verification rule, and the layout description, the rule type, and the verification rule are three items.
  16. 根据权利要求13所述的移动终端,其中,所述步骤S3使得一个或多个处理器被配置为执行以下步骤:The mobile terminal of claim 13, wherein said step S3 causes one or more processors to be configured to perform the following steps:
    S301:在系统前端设置一权限分配界面,将数据导入的权限与某一系统内已有的账号绑定后赋予其导入权限,使其可操作导入数据;S301: setting a rights assignment interface on the front end of the system, and binding the data import permission to an existing account in a certain system, and then giving the import permission, so that the data can be imported and operated;
    S302:根据生成的待导入数据表对应的导入模板,在数据库中生成用于存放待导入数据的各个字段和对应的表;S302: Generate, according to the generated import template corresponding to the data table to be imported, various fields and corresponding tables for storing data to be imported in the database;
    S303:在系统前端设置一数据导入界面,其包括一导入入口,通过导入入口选定一待导入的数据表后将数据表导入系统内,并将导入结果记录于一导入操作结果记录信息表和一导入日志记录信息,如导入成功则进行下一步,如导入失败则需下载所述导入操作结果记录信息表后分析失败原因,消除问题后再次导入;S303: setting a data import interface on the front end of the system, including an import portal, selecting a data table to be imported through the import portal, importing the data table into the system, and recording the import result in an import operation result record information table and If the import is successful, the next step is performed. If the import fails, the import operation result record information table needs to be downloaded, and the reason for the failure is analyzed, and the problem is re-imported after the problem is eliminated;
    S304:在系统前端设置一导入数据查看界面,用于从数据库中调取已经导入系统并存入数据库中的数据,并按照模板中的数据列呈现在前端页面中供导入操作者或者其他具备查看权限者查看。S304: An import data viewing interface is set in the front end of the system, and is used to retrieve data that has been imported into the database and stored in the database from the database, and is presented in the front end page according to the data column in the template for importing the operator or other viewing. Permissions view.
  17. 一种存储有计算机可读指令的存储介质,所述计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行如下步骤:S1:通过配置表生成界面生成配置表,设置配置表内的配置信息;S2:在配置表生成界面所在的前端设置一与配置表生成界面并列的校验规则界面,用于生成校验规则或者导入预先制备的校验规则;S3:在配置表生成界面所在的前端界面利用具有导入权限的账号,导入数据表。A storage medium storing computer readable instructions, when executed by one or more processors, causing one or more processors to perform the steps of: S1: generating a configuration table through a configuration table generation interface, Setting the configuration information in the configuration table; S2: setting a verification rule interface parallel to the configuration table generation interface on the front end where the configuration table generation interface is located, for generating a verification rule or importing a pre-prepared verification rule; S3: The front-end interface where the configuration table generation interface is located uses an account with import permission to import the data table.
  18. 根据权利要求17所述的存储介质,其中,所述步骤S1使得一个或多个处理器执行如下步骤:The storage medium of claim 17, wherein said step S1 causes one or more processors to perform the following steps:
    S101:调用脚本语言创建一用于生成数据导入模板的配置表,所述配置表与数据库连接,生成数据导入模板,将数据导入模板存储于数据库中;S101: Calling a scripting language to create a configuration table for generating a data import template, the configuration table is connected with a database, generating a data import template, and storing the data import template in a database;
    S102:调用脚本语言增设配置功能,所述配置功能包括数据导入模板查询 功能、数据导入模板的新增和删除功能;S102: Invoking a script language adding configuration function, where the configuration function includes a data import template query function, a data import template addition and deletion function;
    S103:在配置表中规划默认显示列表界面的布局,包括模板的界面显示名称、模板在数据库中的名称、有效性开关、备注信息、创建时间、修改时间、用于编辑模板的操作开关;S103: planning a layout of a default display list interface in the configuration table, including a template display name of the template, a name of the template in the database, a validity switch, a remark information, a creation time, a modification time, and an operation switch for editing the template;
    S104:基于配置表创建一用于设置数据导入模板基本信息的新增导入模板操作界面,其内布局用于生成数据导入模板基本信息的各个输入入口;S104: Create a new import template operation interface for setting basic information of the data import template based on the configuration table, where the internal layout is used to generate each input input of the basic information of the data import template;
    S105:基于配置表创建对应任一模板的模板编辑界面,其默认界面布局对应该模板的各个数据列,任一数据列对应设有至少两个列基础字段;S105: Create a template editing interface corresponding to any template based on the configuration table, where the default interface layout corresponds to each data column of the template, and any data column corresponds to at least two column basic fields;
    S106:基于模板编辑界面创建一用于新增或者编辑数据列的列编辑界面。S106: Create a column editing interface for adding or editing data columns based on the template editing interface.
  19. 根据权利要求17所述的存储介质,其中,所述步骤S2使得一个或多个处理器执行如下步骤:The storage medium of claim 17, wherein said step S2 causes one or more processors to perform the following steps:
    S201:利用脚本语言在系统前端开发生成一校验规则配置界面,其与数据库关联,经由其生成的校验规则存入数据库中的校验规则列表中,校验规则配置界面的默认显示界面显示已导入或者已生成的校验规则,任一生成的校验规则在默认显示界面中设有一与其一一对应的操作开关组,用于查看规则详情或者进行规则编辑;S201: Using a scripting language to generate a verification rule configuration interface in the front end of the system, which is associated with the database, and the verification rule generated by the verification rule is stored in the verification rule list in the database, and the default display interface of the verification rule configuration interface is displayed. A verification rule that has been imported or generated, and any generated verification rule has a one-to-one operation switch group in the default display interface for viewing rule details or performing rule editing;
    S202:在校验规则配置界面上部署校验规则上传和下载功能,通过下载功能将校验规则从数据库中以独立脚本文件的形式导出后便于离线编辑,或通过上传功能,导入预先离线编辑好的校验规则至数据库中的校验规则列表内;S202: Deploying a verification rule uploading and downloading function on the verification rule configuration interface, and downloading the verification rule from the database in the form of a separate script file to facilitate offline editing, or importing and pre-offline editing through the upload function. Check rule to the list of check rules in the database;
    S203:基于校验规则配置界面开发生成一校验规则新增界面,其内布局校验描述、规则类型和校验规则三个项目。S203: The configuration interface is developed based on the verification rule to generate a new verification interface, and the layout verification description, the rule type, and the verification rule are three items.
  20. 根据权利要求17所述的存储介质,其中,所述步骤S3使得一个或多个处理器执行如下步骤:The storage medium of claim 17, wherein said step S3 causes one or more processors to perform the following steps:
    S301:在系统前端设置一权限分配界面,将数据导入的权限与某一系统内已有的账号绑定后赋予其导入权限,使其可操作导入数据;S301: setting a rights assignment interface on the front end of the system, and binding the data import permission to an existing account in a certain system, and then giving the import permission, so that the data can be imported and operated;
    S302:根据生成的待导入数据表对应的导入模板,在数据库中生成用于存放待导入数据的各个字段和对应的表;S302: Generate, according to the generated import template corresponding to the data table to be imported, various fields and corresponding tables for storing data to be imported in the database;
    S303:在系统前端设置一数据导入界面,其包括一导入入口,通过导入入口选定一待导入的数据表后将数据表导入系统内,并将导入结果记录于一导入操作结果记录信息表和一导入日志记录信息,如导入成功则进行下一步,如导入失败则需下载所述导入操作结果记录信息表后分析失败原因,消除问题后再次导入;S303: setting a data import interface on the front end of the system, including an import portal, selecting a data table to be imported through the import portal, importing the data table into the system, and recording the import result in an import operation result record information table and If the import is successful, the next step is performed. If the import fails, the import operation result record information table needs to be downloaded, and the reason for the failure is analyzed, and the problem is re-imported after the problem is eliminated;
    S304:在系统前端设置一导入数据查看界面,用于从数据库中调取已经导入系统并存入数据库中的数据,并按照模板中的数据列呈现在前端页面中供导入操作者或者其他具备查看权限者查看。S304: An import data viewing interface is set in the front end of the system, and is used to retrieve data that has been imported into the database and stored in the database from the database, and is presented in the front end page according to the data column in the template for importing the operator or other viewing. Permissions view.
PCT/CN2018/104730 2018-04-22 2018-09-08 Data import management method and apparatus, mobile terminal and storage medium WO2019205415A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810363680.1A CN108874866A (en) 2018-04-22 2018-04-22 Data import management method, apparatus, mobile terminal and storage medium
CN201810363680.1 2018-04-22

Publications (1)

Publication Number Publication Date
WO2019205415A1 true WO2019205415A1 (en) 2019-10-31

Family

ID=64327095

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/104730 WO2019205415A1 (en) 2018-04-22 2018-09-08 Data import management method and apparatus, mobile terminal and storage medium

Country Status (2)

Country Link
CN (1) CN108874866A (en)
WO (1) WO2019205415A1 (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111159985A (en) * 2019-12-24 2020-05-15 平安养老保险股份有限公司 Data export method, data export device, computer equipment and computer-readable storage medium
CN111476009A (en) * 2020-03-23 2020-07-31 一汽奔腾轿车有限公司 New car tax declaration configuration information consistency verification system
CN111539049A (en) * 2020-05-15 2020-08-14 中国电子科技集团公司第十四研究所 Intelligent assembling system and method for electronic equipment
CN111581210A (en) * 2020-04-30 2020-08-25 深圳壹账通智能科技有限公司 Data importing method and system
CN111639120A (en) * 2020-06-05 2020-09-08 中国建设银行股份有限公司 Method, device and equipment for forming graph of architecture view and readable storage medium
CN111767704A (en) * 2020-06-30 2020-10-13 山东浪潮通软信息科技有限公司 Excel form template generation method and device
CN112182016A (en) * 2020-09-30 2021-01-05 中国民航信息网络股份有限公司 Automatic checking method for higher point check and related system
CN112783859A (en) * 2021-01-08 2021-05-11 河北志晟信息技术股份有限公司 Lightweight concurrent migration method for database
CN112861495A (en) * 2020-11-24 2021-05-28 辽宁振兴银行股份有限公司 Method for generating impala SQL statement based on Excel template file
CN113177035A (en) * 2021-04-13 2021-07-27 南京波轩信息科技有限公司 Electromagnetic spectrum database system based on radio spectrum data management platform
CN113517048A (en) * 2021-07-12 2021-10-19 挂号网(杭州)科技有限公司 Medical record data verification method and device, electronic equipment and storage medium
CN114298008A (en) * 2021-12-14 2022-04-08 苏州瀚码智能技术有限公司 Method for uploading, analyzing and warehousing of Excel and CSV files to support custom table structure
CN114691274A (en) * 2022-03-31 2022-07-01 中国建设银行股份有限公司 Data processing method, device, equipment, medium and product
CN115422280A (en) * 2022-11-04 2022-12-02 杭州西湖新基建数字技术有限公司 Interface method for data addition, deletion and modification of uncertain data structure
CN115759516A (en) * 2022-11-21 2023-03-07 成都博智云创科技有限公司 Basic process management method based on data center system
CN115860677A (en) * 2022-12-12 2023-03-28 中量工程咨询有限公司 Component engineering quantity data processing method, system, equipment and storage medium

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109685669A (en) * 2018-12-11 2019-04-26 北京量子保科技有限公司 A kind of policy information data processing method and system
CN110046452B (en) * 2019-04-25 2020-07-10 北京世冠金洋科技发展有限公司 Data bus management method and device and electronic equipment
CN110147402A (en) * 2019-05-22 2019-08-20 北大方正集团有限公司 Excel file introduction method and equipment, deriving method and equipment
CN110958292A (en) * 2019-09-17 2020-04-03 平安银行股份有限公司 File uploading method, electronic device, computer equipment and storage medium
CN110990396B (en) * 2019-10-12 2024-02-27 贝壳技术有限公司 Data storage method, device and storage medium
CN110968997B (en) * 2019-12-03 2023-07-21 广联达科技股份有限公司 Strong controllable document generation method and device, storage medium and electronic equipment
CN111414739B (en) * 2020-02-27 2023-04-14 北京中亦安图科技股份有限公司 Excel data entry component, entry method and device
CN113792017A (en) * 2021-11-17 2021-12-14 中建电子商务有限责任公司 Method and system for checking template content imported into excel
CN115905269A (en) * 2023-01-06 2023-04-04 深圳市明源云科技有限公司 Data import method, system, device and storage medium
CN116150142B (en) * 2023-04-14 2023-06-27 成都数联云算科技有限公司 Method, device, medium, equipment and product for field verification and rule obtaining thereof

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317974A (en) * 2014-11-21 2015-01-28 武汉理工大学 Reconfigurable multi-source data importing method in ERP system
WO2016169237A1 (en) * 2015-04-23 2016-10-27 中兴通讯股份有限公司 Data processing method and device
CN106874484A (en) * 2017-02-20 2017-06-20 济南浪潮高新科技投资发展有限公司 The method and device that a kind of data are imported
CN106991100A (en) * 2016-01-21 2017-07-28 北京京东尚科信息技术有限公司 Data lead-in method and device
CN107247767A (en) * 2017-06-05 2017-10-13 山东浪潮通软信息科技有限公司 A kind of method and device that database is imported by formatted data files

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104317974A (en) * 2014-11-21 2015-01-28 武汉理工大学 Reconfigurable multi-source data importing method in ERP system
WO2016169237A1 (en) * 2015-04-23 2016-10-27 中兴通讯股份有限公司 Data processing method and device
CN106991100A (en) * 2016-01-21 2017-07-28 北京京东尚科信息技术有限公司 Data lead-in method and device
CN106874484A (en) * 2017-02-20 2017-06-20 济南浪潮高新科技投资发展有限公司 The method and device that a kind of data are imported
CN107247767A (en) * 2017-06-05 2017-10-13 山东浪潮通软信息科技有限公司 A kind of method and device that database is imported by formatted data files

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111159985A (en) * 2019-12-24 2020-05-15 平安养老保险股份有限公司 Data export method, data export device, computer equipment and computer-readable storage medium
CN111159985B (en) * 2019-12-24 2024-01-26 平安养老保险股份有限公司 Data deriving method, apparatus, computer device and computer readable storage medium
CN111476009A (en) * 2020-03-23 2020-07-31 一汽奔腾轿车有限公司 New car tax declaration configuration information consistency verification system
CN111581210A (en) * 2020-04-30 2020-08-25 深圳壹账通智能科技有限公司 Data importing method and system
CN111539049A (en) * 2020-05-15 2020-08-14 中国电子科技集团公司第十四研究所 Intelligent assembling system and method for electronic equipment
CN111539049B (en) * 2020-05-15 2024-02-09 中国电子科技集团公司第十四研究所 Intelligent assembly system and method for electronic equipment
CN111639120A (en) * 2020-06-05 2020-09-08 中国建设银行股份有限公司 Method, device and equipment for forming graph of architecture view and readable storage medium
CN111639120B (en) * 2020-06-05 2023-08-18 中国建设银行股份有限公司 Method, device and equipment for imaging architecture view and readable storage medium
CN111767704A (en) * 2020-06-30 2020-10-13 山东浪潮通软信息科技有限公司 Excel form template generation method and device
CN111767704B (en) * 2020-06-30 2024-01-26 浪潮通用软件有限公司 Excel form template generation method and device
CN112182016A (en) * 2020-09-30 2021-01-05 中国民航信息网络股份有限公司 Automatic checking method for higher point check and related system
CN112861495A (en) * 2020-11-24 2021-05-28 辽宁振兴银行股份有限公司 Method for generating impala SQL statement based on Excel template file
CN112783859A (en) * 2021-01-08 2021-05-11 河北志晟信息技术股份有限公司 Lightweight concurrent migration method for database
CN113177035A (en) * 2021-04-13 2021-07-27 南京波轩信息科技有限公司 Electromagnetic spectrum database system based on radio spectrum data management platform
CN113517048A (en) * 2021-07-12 2021-10-19 挂号网(杭州)科技有限公司 Medical record data verification method and device, electronic equipment and storage medium
CN114298008A (en) * 2021-12-14 2022-04-08 苏州瀚码智能技术有限公司 Method for uploading, analyzing and warehousing of Excel and CSV files to support custom table structure
CN114691274A (en) * 2022-03-31 2022-07-01 中国建设银行股份有限公司 Data processing method, device, equipment, medium and product
CN115422280B (en) * 2022-11-04 2023-02-14 杭州西湖新基建数字技术有限公司 Interface method for increasing, deleting and modifying data of uncertain data structure
CN115422280A (en) * 2022-11-04 2022-12-02 杭州西湖新基建数字技术有限公司 Interface method for data addition, deletion and modification of uncertain data structure
CN115759516A (en) * 2022-11-21 2023-03-07 成都博智云创科技有限公司 Basic process management method based on data center system
CN115759516B (en) * 2022-11-21 2023-08-29 成都博智云创科技有限公司 Basic procedure management method based on data center system
CN115860677A (en) * 2022-12-12 2023-03-28 中量工程咨询有限公司 Component engineering quantity data processing method, system, equipment and storage medium
CN115860677B (en) * 2022-12-12 2024-03-22 中量工程咨询有限公司 Component engineering quantity data processing method, system, equipment and storage medium

Also Published As

Publication number Publication date
CN108874866A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
WO2019205415A1 (en) Data import management method and apparatus, mobile terminal and storage medium
US20190370150A1 (en) Methods and systems for isolating software components
US9021419B2 (en) System and method for supporting intelligent design pattern automation
US9848277B2 (en) High-speed application for installation on mobile devices for permitting remote configuration of such mobile devices
CA3131079A1 (en) Test case generation method and device, computer equipment and storage medium
US20100037100A1 (en) Method and system for isolating software components
CN109787957B (en) Configuration method of configuration file and related device
US20080015911A1 (en) Methods and apparatuses for developing business solutions
WO2016026328A1 (en) Information processing method and device and computer storage medium
CN100483429C (en) Verification operation supporting system and method of the same
CN112558946A (en) Method, device and equipment for generating code and computer readable storage medium
WO2012109771A1 (en) Generating test data
CN109189688A (en) A kind of generation method, generating means and the electronic equipment of test case script
Almorsy et al. Smurf: Supporting multi-tenancy using re-aspects framework
US5751595A (en) Method for building and verifying authenticity of a rule system
CN117215556A (en) Modularized page rapid construction method, system, equipment and medium
WO2010091607A1 (en) Method for providing custom access control mode in file system
CN102682038A (en) Database change method and device
JP7469854B2 (en) Screen creation device
KR20200000070A (en) Spreadsheet document editing apparatus for providing filtering functionality based on data patterns and operating method thereof
CN113836852A (en) Analog bit stream generation method, device, equipment and storage medium
CN112596705B (en) Project version control method and device, electronic equipment and storage medium
US20240176796A1 (en) Bypassing database automations
Simon Working with a Database
JP6699433B2 (en) Data management program, device, and method

Legal Events

Date Code Title Description
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 1205A DATED 23.02.2021)

122 Ep: pct application non-entry in european phase

Ref document number: 18916944

Country of ref document: EP

Kind code of ref document: A1