WO2020147385A1 - 数据录入方法、装置、终端及计算机可读存储介质 - Google Patents
数据录入方法、装置、终端及计算机可读存储介质 Download PDFInfo
- Publication number
- WO2020147385A1 WO2020147385A1 PCT/CN2019/116736 CN2019116736W WO2020147385A1 WO 2020147385 A1 WO2020147385 A1 WO 2020147385A1 CN 2019116736 W CN2019116736 W CN 2019116736W WO 2020147385 A1 WO2020147385 A1 WO 2020147385A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- identifier
- field
- preset
- segment table
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/242—Query formulation
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/33—Intelligent editors
Definitions
- This application relates to the technical field of page user behavior data statistics, in particular to a data entry method, device, terminal, and computer-readable storage medium.
- the main purpose of this application is to provide a data entry method, device, terminal, and computer-readable storage medium, aiming to solve the technical problem of high maintenance cost of data processing codes corresponding to banking business scenarios.
- this application proposes a data entry method, and the data entry method includes:
- the preset storage process is executed to generate a report data table corresponding to the segment table identifier.
- the step of transferring the original data information into the preset storage process includes:
- the original data is transferred to the preset storage process through the input parameters of the preset storage process;
- the original data is directly written into the preset storage process.
- the step of querying the segment table identifier corresponding to the business scenario identifier according to the preset segment table information table, and the preset stored procedures and field identifiers corresponding to the segment table identifier include:
- the preset stored procedure is formed by calling SQL statements through a rank function and the SQL-ID sequence table, and the field identifiers corresponding to the segment table identifiers are sorted according to the SQL-ID sequence table.
- the step of executing the preset storage process to generate a report data table includes:
- the fields corresponding to the field identifiers are sequentially generated to form the report data table.
- the method further includes:
- the data entry method further includes:
- the new field instruction includes the segment table identifier, the new field identifier, and the new field data
- the data entry method further includes:
- the part corresponding to the field identifier to be deleted in the preset storage process is deleted.
- this application also provides a data entry device, which includes:
- a receiving module configured to receive a data reporting instruction, the data reporting instruction including a business scenario identifier;
- a first query module configured to query a segment table identifier corresponding to the business scenario identifier, and a preset stored procedure and field identifier corresponding to the segment table identifier according to a preset segment table information table;
- An obtaining module the obtaining module is used to obtain the original data corresponding to the business scene identifier and the field identifier;
- An input module the input module is used to transfer the original data into the preset storage process
- a generating module which is used to execute the preset storage process and generate a report data table corresponding to the segment table identifier.
- the present application also provides a terminal including a processor, a memory, and computer-readable instructions stored on the memory that can be executed by the processor, where the computer-readable instructions are executed by the processor , To achieve the steps of the data entry method described above.
- the present application also provides a computer-readable storage medium having computer-readable instructions stored on the computer-readable storage medium, wherein, when the computer-readable instructions are executed by a processor, the above-mentioned data entry method is implemented step.
- preset stored procedures are set in advance, thereby eliminating the need to repeatedly write the same SQL for different business scenarios.
- Each business scenario can call the preset stored procedures corresponding to the segment table according to the required segment table.
- Data Entry When a field needs to be modified, a certain section of the table needs to add or delete a field, it is enough to directly modify the preset storage procedure corresponding to the section of the table, and there is no need to modify the preset storage procedure for each business scenario, thereby reducing The workload of small operation and maintenance personnel reduces the probability of maintenance errors.
- FIG. 1 is a schematic diagram of the hardware structure of a terminal involved in a solution of an embodiment of the application
- FIG. 2 is a schematic flowchart of the first embodiment of the application data entry method
- FIG. 3 is a schematic flowchart of a second embodiment of the application data entry method
- Fig. 4 is a schematic flowchart of a third embodiment of a data entry method for an application
- FIG. 5 is a schematic flowchart of a fourth embodiment of the application data entry method
- FIG. 6 is a schematic flowchart of a fifth embodiment of a data entry method for an application
- FIG. 7 is a schematic flowchart of a sixth embodiment of a data entry method for this application.
- FIG. 8 is a schematic flowchart of a seventh embodiment of a data entry method for an application.
- Fig. 9 is a schematic diagram of modules of the data entry device of this application.
- the data entry method involved in the embodiment of the present application is mainly applied to a terminal, and the terminal may be a device with display and processing functions.
- FIG. 1 is a schematic diagram of a terminal structure involved in a solution of an embodiment of this application.
- the terminal may include a processor 1001 (for example, a CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005.
- the communication bus 1002 is used to realize the connection and communication between these components;
- the user interface 1003 may include a display (Display), an input unit such as a keyboard (Keyboard);
- the network interface 1004 may optionally include a standard wired interface, a wireless interface (Such as WI-FI interface);
- the memory 1005 can be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory.
- the memory 1005 may optionally be a storage device independent of the aforementioned processor 1001.
- FIG. 1 does not constitute a limitation on the device, and may include more or less components than those shown in the figure, or combine certain components, or arrange different components.
- the memory 1005 as a computer-readable storage medium in FIG. 1 may include an operating system, a network communication module, and computer-readable instructions.
- the network communication module is mainly used to connect to other terminals or servers for data communication; and the processor 1001 can call computer readable instructions stored in the memory 1005 and execute the steps of the data entry method.
- This application provides a data entry method.
- the data entry method includes the following steps:
- Step S100 Receive a data report instruction, where the data report instruction includes a business scenario identifier
- Business scenarios can include lending scenarios, recovery scenarios, compensation scenarios, principal repayment scenarios, and premium scenarios. Different business scenarios correspond to financial services carried out by financial institutions. Different business scenarios are set with business scenario identifiers to distinguish them, and the business scenario identifiers are numbers, characters, etc. that distinguish each business scenario. For different business scenarios, the data that needs to be entered is different, and the data packages generated after entry for uploading to the regulatory agency server are also different.
- Step S200 query the segment table identifier corresponding to the business scenario identifier according to the preset segment table information table, and the preset storage process and field identifiers corresponding to the segment table identifier;
- the preset segment table information table is preset by those skilled in the art, and stores therein at least one business scene identifier, a segment table identifier corresponding to each business scene identifier, a preset storage process corresponding to each of the segment table identifiers, and at least A field identifier.
- the business scenario identifier corresponds to at least one segment table identifier
- one segment table identifier corresponds to at least one field identifier.
- the database is composed of multiple segment tables, and the segment tables are identified as names, identification numbers, etc. that can distinguish each segment table in the database.
- the segment table is composed of at least one field, and the field identifier is a name, identification number, etc. that can distinguish each field in the same segment table.
- the preset stored procedure is a stored procedure that those skilled in the art need to pre-edit according to the segment table.
- the stored procedure (Stored Procedure) is a set of SQL statements in order to complete a specific function in a large database system, which can be executed by specifying the name of the pre-stored procedure and giving parameters.
- the stored procedure contains logic control statements and data manipulation statements, which can accept parameters, output parameters, return single or multiple result sets, and return values. Because the stored procedure is compiled on the database server and stored in the database when it is created, the stored procedure runs faster than a single SQL statement block. At the same time, since only the name of the stored procedure and the necessary parameter information are provided when calling, it can reduce network traffic and reduce network burden.
- Step S300 Obtain original data corresponding to the business scenario identifier and the field identifier
- segment tables that need to be uploaded for each business scenario can be the same or different.
- the specific original data or calculation methods used may be different. Therefore, it is necessary to obtain the corresponding original data according to the business scenario identifier and the field identifier.
- Step S400 Pass the original data into the preset storage process
- the original data can be directly passed into the preset stored procedure, or passed into the stored procedure through input parameters.
- Step S500 execute the preset storage process to generate a report data table corresponding to the segment table identifier.
- the bank needs to send the relevant business scenario data to the People’s Bank of China server through the credit reporting system, and the existing segment tables identified as B, D, F, H, I, J, K, L and M need to be uploaded .
- the lending scenario needs to be reported to B, D, F, and H; the repayment principal scenario is reported to B and H; the repayment principal and premium scenario are reported to B, H, L, and M; the compensation scenario is reported to B, H, I, and J ;
- the recovery scenario reports B, I, and K that is, each business scenario needs to upload B.
- segment table B includes fields with field identifiers B1, B2, and B3.
- the preset stored procedure corresponding to segment table B is called, and the original data corresponding to the field identifiers B1, B2, and B3 is passed in.
- the segment tables B and H generated by the storage process are made into data packets corresponding to the loan scenario, and the data packets are reported through the credit reporting system to complete the reporting task.
- preset storage procedures are set in advance, thereby eliminating the need to repeatedly write the same SQL for different business scenarios, and data entry can be completed by calling the preset storage procedures for each business scenario.
- a field needs to be modified, a certain section of the table needs to add a field or delete a field, you can directly modify the preset stored procedure corresponding to the section of the table.
- step S400 includes:
- Step S410 query the field type identified by the field according to the preset section table information table
- the field types are judged based on whether the field will be changed according to different business scenarios. If the business scenario is different and the content of the field identified by the same field remains unchanged, the field type of the field is considered to be a fixed value; if the business scenario is different and the field content of the same field identification changes, the field type of the field is considered to be a dynamic value.
- segment table B has the following fields B1, B2, B3, B4, B5, B6 and B7..., the fields B4, B5 and B6 do not change with different business scenarios, so B4, B5 and B6 are fixed values;
- the contents of the fields B1, B2, B3, and B7 vary with different business scenarios, so the fields B1, B2, B3, and B7 are dynamic values.
- Step S420 Judge whether the field type is a dynamic value
- Step S430 if the field type is the dynamic value, the original data is transferred to the preset storage process through the input parameters of the preset storage process;
- the preset storage process When setting the preset storage process, those skilled in the art set input parameters for the field type of the dynamic value, so that the preset storage process is a storage process with input parameters and output parameters.
- Step S440 If the field type is not the dynamic value, the original data is directly written into the preset storage process.
- the preset stored procedure is pro_b(p_b_info), where p_b_info is the input parameter, and the Object type is the RECORD custom type.
- Fields B4, B5, and B6 are fixed values, the original data corresponding to fields B4, B5, and B6 can be written directly; those values that change according to different scenarios, such as fields B1, B2, B3, and B7 are dynamic values, then Pass the p_b_info parameter into the preset stored procedure pro_b, call the preset stored procedure pro_b, and output fields B4, B5, B6 and fields B1, B2, B3, B7, and form the segment table B together.
- step S200 includes:
- Step S210 querying the segment table identifier corresponding to the business scenario identifier and the SQL-ID sequence table corresponding to the segment table identifier according to the preset segment table information table;
- SQL-ID is a unique identifier representing the SQL statement, and the system searches for the corresponding SQL statement based on the SQL-ID.
- the SQL-ID sequence table includes multiple SQL-IDs arranged in order, and each SQL-ID corresponds to a SQL statement. This sequence is pre-edited by those skilled in the art according to the SQL statements required to generate different segment tables and fields, so as to arrange different SQL statements in the order in the SQL-ID sequence table to obtain segment tables corresponding to different scenarios.
- the SQL-ID can be automatically generated or changed according to actual needs.
- Step S220 Calling SQL statements through the rank function and the SQL-ID sequence table to form the preset stored procedure, and sorting the field identifiers corresponding to the segment table identifiers according to the SQL-ID sequence table.
- the SQL statements are sequentially obtained to form a preset stored procedure, and then the required segment table is generated according to the preset stored procedure.
- the same multiple SQL statements can be realized, and the segment tables that meet the needs of each scenario can be generated according to different arrangement orders. For example: a loan scenario needs to upload segment table B, and segment table B consists of fields B1, B2, and B3.
- step S500 includes:
- Step S510 execute the preset storage process according to the execution instruction and the identification name of the preset storage process
- the execution instruction is an execution statement instruction for executing a preset stored procedure.
- the execution instructions are EXEC and sp_executeSQL, and those skilled in the art can select any one of EXEC and sp_executeSQL according to actual needs. For example: select EXEC to run the preset stored procedure, you can enter "begin ”+ Preset stored procedure identification name + end to run; you can also enter "call" + preset stored procedure identification name to run;
- Step S520 In accordance with the sequence of the field identifiers corresponding to the segment table identifiers, fields corresponding to the field identifiers are sequentially generated to form the report data table.
- the field identifiers corresponding to the segment table identifiers are arranged in order, and the fields generated by the preset storage process correspond to the order of the field identifiers.
- FIG. 6 is a schematic flowchart of a fourth embodiment of a data entry method for this application. Based on the first embodiment, step S500 includes:
- Step S610 Arranging the report data tables corresponding to the segment table identifiers according to the order of the segment table identifiers corresponding to the business scenario identifiers to form a total report table;
- Step S620 Send the report summary table to the audit terminal.
- this embodiment is applied to Oracle Database, of course, this data entry method can also be applied to other databases according to actual needs.
- the review terminal is the server where the credit investigation system of the People's Bank of China is located.
- the audit terminal may also be a terminal set by the user for service monitoring.
- the segment tables required by the business scenarios are integrated into a reporting summary table that meets the requirements.
- the reporting summary table exists in the form of data packets.
- FIG. 7 is a schematic flowchart of a fifth embodiment of a data entry method according to this application. Based on the first embodiment, the data entry method further includes:
- Step S710 receiving a new field instruction, where the new field instruction includes the segment table identifier, the newly added field identifier, and the newly added field data;
- Step S720 query the preset storage process corresponding to the segment table identifier according to the preset field table
- Step S730 Add the newly added field data to the preset storage process, and write the newly added field identifier into the preset segment table information table.
- the data entry method further includes:
- Step S810 receiving a modification field instruction, where the modification field instruction includes the field identification and modification field data to be modified;
- Step S820 query the preset storage process corresponding to the field identifier to be modified according to the preset field table
- Step S830 Delete the part of the preset storage process corresponding to the field identifier to be modified, and add the modified field data to the preset storage process.
- the modified field data is a code written by a person skilled in the art to meet actual field requirements, so that after the preset storage process is executed, the obtained field meets the requirements.
- the original code corresponding to the field in the preset storage process is deleted, and the modified field data is added to realize maintenance, without the need to change the code of the segment table for each business scenario.
- FIG. 8 is a schematic flowchart of a seventh embodiment of a data entry method according to this application. Based on the first embodiment, the data entry method further includes:
- Step S910 Receive a delete field instruction, where the delete field instruction includes the field identifier to be deleted;
- Step S920 query the preset storage process corresponding to the field identifier to be deleted according to the preset field table
- Step S930 Delete the part corresponding to the field identifier to be deleted in the preset storage process.
- each segment table corresponds to a stored procedure, so that when the segment table needs to be changed, the new field data that generates the new field is added to the stored procedure to achieve maintenance.
- the code of the segment table for each business scenario needs to be changed.
- segment table B the preset stored procedure corresponding to segment table B is pro_b(p_b_info), where p_b_info is the input parameter.
- Segment table B includes fields B4, B5, and B6 as fixed values, and fields B1, B2, B3, and B7 as dynamic values.
- this application also provides a data entry device, which includes:
- the receiving module 10 is configured to receive a data report instruction, and the data report instruction includes a business scenario identifier;
- the first query module 20 is configured to query the segment table identifier corresponding to the business scenario identifier according to the preset segment table information table, and the preset stored procedures and fields corresponding to the segment table identifier logo
- An obtaining module 30 which is used to obtain original data corresponding to the business scenario identifier and the field identifier;
- An input module 40 which is used to transfer the original data into the preset storage process
- the generating module 50 is configured to execute the preset storage process and generate a report data table corresponding to the segment table identifier.
- the input module 40 includes:
- a second query module configured to query the field type identified by the field according to the preset segment table information table
- a judgment module the judgment module is used to judge whether the field type is a dynamic value
- the first writing module is configured to, if the field type is the dynamic value, transfer the original data to the preset storage process through the input parameters of the preset storage process in;
- the second writing module is configured to directly write the original data into the preset storage process if the field type is not the dynamic value.
- the acquiring module 30 is configured to query the segment table identifier corresponding to the business scenario identifier and the SQL-ID sequence table corresponding to the segment table identifier according to the preset segment table information table;
- the preset stored procedure is formed by calling SQL statements through a rank function and the SQL-ID sequence table, and the field identifiers corresponding to the segment table identifiers are sorted according to the SQL-ID sequence table.
- the generating module 50 includes:
- the execution module is configured to execute the preset storage process, and sequentially generate fields corresponding to the field identifiers in the order of the field identifiers corresponding to the segment table identifiers to form the report data table.
- the generating module 50 is further configured to arrange the report data tables corresponding to the segment table identifiers in the order of the segment table identifiers corresponding to the business scenario identifiers to form a report summary table;
- the data entry device includes:
- the sending module 60 is configured to send the report summary table to the audit terminal.
- the receiving module 10 is also configured to receive a newly added field instruction, and the newly added field instruction includes the segment table identifier, the newly added field identifier, and the newly added field data;
- the first query module 20 is further configured to query the preset storage process corresponding to the segment table identifier according to the preset field table;
- the data entry device includes:
- the modification module 70 is configured to add the newly added field data to the preset storage process, and write the newly added field identifier into the preset segment table information table.
- the receiving module 10 is also configured to receive a field modification instruction, where the modification field instruction includes the field identification and modification field data to be modified;
- the first query module 20 is further configured to query the preset storage process corresponding to the field identifier to be modified according to the preset field table;
- the modification module 70 is further configured to delete the part corresponding to the field identifier to be modified in the preset storage process, and add the modified field data to the preset storage process.
- the receiving module 10 is also configured to receive a delete field instruction, where the delete field instruction includes the field identifier to be deleted;
- the first query module 20 is further configured to query the preset storage process corresponding to the field identifier to be deleted according to the preset field table;
- the modification module 70 is further configured to delete the part corresponding to the field identifier in the preset storage process to be deleted.
- this application also provides a computer-readable storage medium on which computer-readable instructions are stored.
- the steps of the above-mentioned interface update method are implemented.
- the method implemented when the computer-readable instruction is executed can refer to the various embodiments of the data entry method of this application, which will not be repeated here.
- the computer-readable storage medium in this application is specifically a non-volatile computer-readable storage medium.
- the methods in the above embodiments can be implemented by means of software plus a necessary general hardware platform, and of course, can also be implemented by hardware, but in many cases the former is better Implementation.
- the technical solution of the present application can be embodied in the form of a software product in essence or part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM) as described above , Disk, CD), including several instructions to make a terminal device (which can be a mobile phone, computer, server, air conditioner, or network equipment, etc.) to perform the method described in each embodiment of the present application.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Software Systems (AREA)
- Mathematical Physics (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
一种数据录入方法、装置、终端及计算机可读存储介质,其中,所述数据录入方法包括:接收上报数据指令,所述上报数据指令包括业务场景标识(S100);根据预设段表信息表查询所述业务场景标识对应的段表标识,以及所述段表标识对应的预设存储过程和字段标识(S200);获取与所述业务场景标识和所述字段标识对应的原始数据(S300);将所述原始数据传入所述预设存储过程中(S400);执行所述预设存储过程,生成与所述段表标识对应的上报数据表(S500)。
Description
本申请要求于2019年01月17日提交中国专利局、申请号为201910046793.3、发明名称为“数据录入方法、装置、终端及计算机可读存储介质”的中国专利申请的优先权,其全部内容通过引用结合在申请中。
技术领域
本申请涉及页面的用户行为数据统计技术领域,尤其涉及一种数据录入方法、装置、终端及计算机可读存储介质。
背景技术
现有的银行需要通过征信上报系统将放款、还款等金融业务的相关数据发送至中国人民银行服务器中,以备核查、存档。不同的业务场景需要上报的数据不同,现有技术中,针对每个业务场景书写SQL(结构化查询语言,Structured
Query
Language),以将原始数据处理为符合要求的上报数据表。如果审核规定改变,或者某个原始数据处理方法需要修改,就要修改每个业务场景对应的SQL,导致工作量大、维护成本高。
因此,如何解决现有银行业务场景对应的数据处理代码维护成本高的技术问题,成为了目前亟待解决的技术问题。
发明内容
本申请的主要目的在于提供一种数据录入方法、装置、终端及计算机可读存储介质,旨在解决银行业务场景对应的数据处理代码维护成本高的技术问题。
为实现上述目的,本申请提出一种数据录入方法,所述数据录入方法包括:
接收上报数据指令,所述上报数据指令包括业务场景标识;
根据预设段表信息表查询与所述业务场景标识对应的段表标识,以及与所述段表标识对应的预设存储过程和字段标识;
获取与所述业务场景标识和所述字段标识对应的原始数据;
将所述原始数据传入所述预设存储过程中;
执行所述预设存储过程,生成与所述段表标识对应的上报数据表。
可选地,所述将所述原始数据信息传入所述预设存储过程中的步骤包括:
根据预设段表信息表查询所述字段标识的字段类型;
判断所述字段类型是否为动态值;
若所述字段类型为所述动态值,则将所述原始数据通过所述预设存储过程的入参传入所述预设存储过程中;
若所述字段类型不为所述动态值,则将所述原始数据直接写入所述预设存储过程中。
可选地,根据预设段表信息表查询与所述业务场景标识对应的段表标识,以及与所述段表标识对应的预设存储过程和字段标识的步骤包括:
根据预设段表信息表查询与所述业务场景标识对应的段表标识,以及与所述段表标识对应的SQL-ID序列表;
通过rank函数和所述SQL-ID序列表调用SQL语句组成所述预设存储过程,并根据所述SQL-ID序列表对所述段表标识对应的所述字段标识进行排序。
可选地,所述执行所述预设存储过程,生成上报数据表的步骤包括:
根据执行指令和所述预设存储过程的识别名执行所述预设存储过程;
按照所述段表标识对应的所述字段标识的顺序,依次生成与所述字段标识对应的字段,形成所述上报数据表。
可选地,所述执行所述预设存储过程,生成与所述段表标识对应的上报数据表的步骤之后,还包括:
按照所述业务场景标识对应的所述段表标识的顺序,排列与所述段表标识对应的所述上报数据表,形成上报总表;
将所述上报总表发送至审核终端。
可选地,所述数据录入方法还包括:
接收新增字段指令,所述新增字段指令包括所述段表标识、新增字段标识和新增字段数据;
根据预设字段表查询所述段表标识对应的预设存储过程;
将所述新增字段数据加入到所述预设存储过程中,并将所述新增字段标识写入所述预设段表信息表中。
可选地,所述数据录入方法还包括:
接收删除字段指令,所述删除字段指令包括待删除的所述字段标识;
根据预设字段表查询所述待删除的字段标识对应的预设存储过程;
删除所述预设存储过程中与所述待删除的字段标识对应的部分。
另外,本申请还提供一种数据录入装置,所述数据录入装置包括:
接收模块,所述接收模块用于接收上报数据指令,所述上报数据指令包括业务场景标识;
第一查询模块,所述第一查询模块用于根据预设段表信息表查询与所述业务场景标识对应的段表标识,以及与所述段表标识对应的预设存储过程和字段标识;
获取模块,所述获取模块用于获取与所述业务场景标识和所述字段标识对应的原始数据;
录入模块,所述录入模块用于所述原始数据传入所述预设存储过程中;
生成模块,所述生成模块用于执行所述预设存储过程,生成与所述段表标识对应的上报数据表。
本申请还提供一种终端,包括处理器、存储器、以及存储在所述存储器上的可被所述处理器执行的计算机可读指令,其中,所述计算机可读指令被所述处理器执行时,实现如上所述的数据录入方法的步骤。
本申请还提供一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机可读指令,其中,所述计算机可读指令被处理器执行时,实现如上所述的数据录入方法的步骤。
本申请技术方案中,通过预先设置预设存储过程,从而省去针对不同业务场景重复书写相同的SQL,各个业务场景根据所需段表调用与所述段表对应的预设存储过程即可完成数据录入。当某一字段需要修改、某一段表需要增加字段或删除字段时,直接修改与该段表对应的预设存储过程即可,不需要针对每一业务场景的预设存储过程进行修改,从而减小运维人员的工作量、减小维护出错的概率。
附图说明
图1为本申请实施例方案中涉及的终端的硬件结构示意图;
图2为本申请数据录入方法第一实施例的流程示意图;
图3为本申请数据录入方法第二实施例的流程示意图;
图4为本申请数据录入方法第三实施例的流程示意图;
图5为本申请数据录入方法第四实施例的流程示意图;
图6为本申请数据录入方法第五实施例的流程示意图;
图7为本申请数据录入方法第六实施例的流程示意图;
图8为本申请数据录入方法第七实施例的流程示意图;
图9为本申请数据录入装置的模块示意图。
本申请目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。
具体实施方式
应当理解,此处所描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
本申请实施例涉及的数据录入方法主要应用于终端,该终端可以是具有显示和处理功能的设备。
参照图1,图1为本申请实施例方案中涉及的终端结构示意图。本申请实施例中,终端可以包括处理器1001(例如CPU),通信总线1002,用户接口1003,网络接口1004,存储器1005。其中,通信总线1002用于实现这些组件之间的连接通信;用户接口1003可以包括显示屏(Display)、输入单元比如键盘(Keyboard);网络接口1004可选的可以包括标准的有线接口、无线接口(如WI-FI接口);存储器1005可以是高速RAM存储器,也可以是稳定的存储器(non-volatile
memory),例如磁盘存储器,存储器1005可选的还可以是独立于前述处理器1001的存储装置。
本领域技术人员可以理解,图1中示出的硬件结构并不构成对设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
继续参照图1,图1中作为一种计算机可读存储介质的存储器1005可以包括操作系统、网络通信模块以及计算机可读指令。
在图1中,网络通信模块主要用于连接其他终端或服务器,以进行数据通信;而处理器1001可以调用存储器1005中存储的计算机可读指令,并执行数据录入方法的步骤。
基于上述终端的硬件结构,提出本申请数据录入方法的各个实施例。
本申请提供一种数据录入方法。
请参阅图2,在本申请第一实施例中,数据录入方法包括以下步骤:
步骤S100,接收上报数据指令,所述上报数据指令包括业务场景标识;
具体地,用户通过鼠标、键盘等作出操作动作,以生成上报数据指令。业务场景可以包括放款场景、追偿场景、代偿场景、还款本金场景和保费场景等,不同的业务场景与金融机构开展的金融业务对应。针对不同的业务场景设置有业务场景标识进行区分,业务场景标识为区别各个业务场景的编号、字符等。针对不同的业务场景,需要录入的数据不同,录入后生成的用于上传至监管机构服务器中的数据包也不相同。
步骤S200,根据预设段表信息表查询与所述业务场景标识对应的段表标识,以及与所述段表标识对应的预设存储过程和字段标识;
预设段表信息表为本领域技术人员预先设置的,其中存储有至少一个业务场景标识、与各个业务场景标识对应的段表标识、与各个所述段表标识对应的预设存储过程和至少一个字段标识。具体地,业务场景标识对应至少一个段表标识,一个段表标识对应至少一个字段标识。数据库由多个段表构成,段表标识为能区别数据库中各个段表的名称、识别号等。段表由至少一个字段组成,字段标识为可区别同一段表中各个字段的名称、识别号等。
预设存储过程为本领域技术人员根据段表需要预先编辑的存储过程,存储过程(Stored
Procedure)是在大型数据库系统中,一组为了完成特定功能的SQL语句集,可通过指定预存储过程的名字并给出参数来执行它。存储过程中包含逻辑控制语句和数据操纵语句,它可以接受参数、输出参数、返回单个或多个结果集以及返回值。由于存储过程在创建时即在数据库服务器上进行了编译并存储在数据库中,所以存储过程运行要比单个的SQL语句块要快。同时由于在调用时只需用提供存储过程名称和必要的参数信息,从而可以减少网络流量、降低网络负担。
步骤S300,获取与所述业务场景标识和所述字段标识对应的原始数据;
针对一个业务场景需要上传一个或多个不同的段表,各个业务场景需要上传的段表可以相同也可以不同。针对不同的业务场景,即便需要上传的段表相同,具体采用的原始数据或计算方法也可能不同。所以,需要根据所述业务场景标识和所述字段标识获取对应的原始数据。
步骤S400,将所述原始数据传入所述预设存储过程中;
原始数据可以直接传入预设存储过程,或通过入参传入存储过程。
步骤S500,执行所述预设存储过程,生成与所述段表标识对应的上报数据表。
例如:银行需要通过征信上报系统将相关业务场景的数据发送至中国人民银行服务器,现有段表标识为B、D、F、H、I、J、K、L和M的段表需要上传,放款场景需要上报B、D、F和H;还款本金场景上报B和H;还款本金和保费场景上报B、H、L和M;代偿场景上报B、H、I和J;追偿场景上报B、I和K,即各个业务场景均需要上传B。以还款场景为例,段表B包括字段标识为B1、B2、B3的字段,调用与段表B对应的预设存储过程,将与字段标识B1、B2和B3对应的原始数据传入,执行预设存储过程,生成由字段B1、B2和B3组成的段表B,即上报数据表。将储存过程生成的段表B和H做成与放款场景对应的数据包,将数据包通过征信上报系统完成上报任务。
本申请中,通过预先设置预设存储过程,从而省去针对不同业务场景重复书写相同的SQL,各个业务场景调用预设存储过程即可完成数据录入。当某一字段需要修改、某一段表需要增加字段或删除字段时,直接修改与该段表对应的预设存储过程即可,不需要针对每一业务场景修改SQL,从而减小运维人员的工作量、减小维护出错的概率。
进一步地,请参照图3,图3为本申请数据录入方法第二实施例的流程示意图,基于第一实施例,步骤S400包括:
步骤S410,根据预设段表信息表查询所述字段标识的字段类型;
具体地,在本申请中字段类型有动态值和固定值两种,字段类型以字段是否会根据不同的业务场景进行变更为标准进行判断。若业务场景不同,相同字段标识的字段内容不变,则认为该字段的字段类型为固定值;若业务场景不同,相同字段标识的字段内容改变,则认为该字段的字段类型为动态值。例如:段表B中有如下字段B1、B2、B3、B4、B5、B6和B7...,字段B4,B5和B6不随着业务场景不同而更改,所以B4、B5和B6为固定值;字段B1,B2、B3和B7随着业务场景的不同内容不同,所以字段B1,B2、B3和B7为动态值。
步骤S420,判断所述字段类型是否为动态值;
步骤S430,若所述字段类型为所述动态值,则将所述原始数据通过所述预设存储过程的入参传入所述预设存储过程中;
本领域技术人员在设置预设存储过程时,针对对动态值的字段类型设置输入参数,使得预设存储过程是一个有入参和出参的存储过程。
步骤S440,若所述字段类型不为所述动态值,则将所述原始数据直接写入所述预设存储过程中。
例如:预设存储过程为pro_b(p_b_info),其中p_b_info是入参,为Object类型为RECORD自定义类型。字段B4、B5和B6为固定值,则与字段B4、B5和B6相对应的原始数据可以直接写入;那些根据不同场景变化的值,比如字段B1、B2、B3和B7为动态值,则通过p_b_info参数传入预设存储过程pro_b中,调用预设存储过程pro_b,将输出字段B4,B5,B6和字段B1,B2,B3,B7,并共同组成段表B。
进一步地,请参照图4,图4为本申请数据录入方法第三实施例的流程示意图,基于第二实施例,步骤S200包括:
步骤S210,根据预设段表信息表查询与所述业务场景标识对应的段表标识,以及与所述段表标识对应的SQL-ID序列表;
SQL-ID是代表SQL语句的唯一标识,系统根据SQL-ID来寻找相应的SQL语句。SQL-ID序列表中包括多个按次序排列的SQL-ID,每个SQL-ID对应一个SQL语句。该次序为本领域技术人员根据生成不同的段表、字段所需的SQL语句预先编辑,以通过不同的SQL语句按SQL-ID序列表中的次序排列,获得根据不同场景对应的段表。SQL-ID具体可以自动生成,也可以按照实际需要进行更改。
步骤S220,通过rank函数和所述SQL-ID序列表调用SQL语句组成所述预设存储过程,并根据所述SQL-ID序列表对所述段表标识对应的所述字段标识进行排序。
通过调用rank函数,依照与所述SQL-ID序列表内的SQL-ID次序,依次获取SQL语句,组成预设存储过程,再根据该预设存储过程生成所需的段表。通过设置SQL-ID序列表,从而可实现相同的多个SQL语句,按照不同的排列次序,生成符合各个场景需要的段表。例如:贷款场景需要上传段表B,而段表B由字段B1、B2和B3组成,此时通过贷款场景对应的SQL-ID序列表获取字段B1、B2和B3对应的SQL-ID,并获取各个SQL-ID对应的SQL语句,生成预设存储过程,再生成由字段B1、B2和B3依次组成的段表B;若贷还款场景需要上传段表B,而段表B由字段B2、B1和B3组成,其中,字段B1生成需要在生成字段B2输出的结果上进行。此时通过还款场景对应的SQL-ID序列表获取字段B2、B1和B3对应的SQL-ID,并获取各个SQL-ID对应的SQL语句,生成预设存储过程,再生成由字段B2、B1和B3依次组成的段表B。
进一步地,请参照图5,图5为本申请数据录入方法第三实施例的流程示意图,基于第三实施例,步骤S500包括:
步骤S510,根据执行指令和所述预设存储过程的识别名执行所述预设存储过程;
执行指令为执行预设存储过程的执行语句指令。执行指令为EXEC和sp_executeSQL,本领域技术人员可根据实际需要选择EXEC和sp_executeSQL中的任一一种。例如:选择EXEC运行预设存储过程,则可以输入“begin
”+预设存储过程识别名+ end进行运行;还可以输入“call ”+预设存储过程识别名进行运行;
步骤S520,按照所述段表标识对应的所述字段标识的顺序,依次生成与所述字段标识对应的字段,形成所述上报数据表。
在本实施例中与段表标识对应的字段标识有次序的排列,预设存储过程生成的字段与该字段标识的次序对应。
进一步地,请参照图6,图6为本申请数据录入方法第四实施例的流程示意图,基于第一实施例,步骤S500之后包括:
步骤S610,按照所述业务场景标识对应的所述段表标识的顺序,排列与所述段表标识对应的所述上报数据表,形成上报总表;
步骤S620,将所述上报总表发送至审核终端。
具体地,本实施例应用于Oracle
Database,当然也可以根据实际需要将本数据录入方法应用于其他数据库中。
在本实施例中,审核终端为人民银行的征信系统所在的服务器。当然在其他实施例中,该审核终端还可以是用户自行设置的用于业务监控的终端。通过步骤S610和步骤S620,针对不同的业务场景,将业务场景所需的段表进行整合为符合要求的上报总表,通常情况下上报总表以数据包的形式存在。
进一步地,请参照图7,图7为本申请数据录入方法第五实施例的流程示意图,基于第一实施例,所述数据录入方法还包括:
步骤S710,接收新增字段指令,所述新增字段指令包括所述段表标识、新增字段标识和新增字段数据;
当段表需要增加新的字段,本领域技术人员可自行拟定新增字段标识标识并编写与该新增字段标识对应的新增字段数据。
步骤S720,根据预设字段表查询所述段表标识对应的预设存储过程;
步骤S730,将所述新增字段数据加入到所述预设存储过程中,并将所述新增字段标识写入所述预设段表信息表中。
将新增字段数据加入预设存储过程中,使得执行预设存储过程后,可得到包含新增字段的段表。由于每个段表对应一个存储过程,从而使得段表需要进行更改时,将生成新增字段的新增字段数据加入该存储过程中,即可实现维护,不需要针对每一个业务场景的段表的代码进行更改。
进一步地,所述数据录入方法还包括:
步骤S810,接收修改字段指令,所述修改字段指令包括待修改的所述字段标识和修改字段数据;
步骤S820,根据预设字段表查询所述待修改的字段标识对应的预设存储过程;
步骤S830,删除所述预设存储过程中与所述待修改的字段标识对应的部分,并将所述修改字段数据加入到所述预设存储过程中。
修改字段数据为本领域技术人员自行编写的满足实际字段需要的代码,使得执行预设存储过程后,得到的字段符合需要。将预设存储过程中字段对应的原代码进行删除,并将修改字段数据加入,即实现维护,不需要针对每一个业务场景的段表的代码进行更改。
进一步地,请参照图8,图8为本申请数据录入方法第七实施例的流程示意图,基于第一实施例,所述数据录入方法还包括:
步骤S910,接收删除字段指令,所述删除字段指令包括待删除的所述字段标识;
步骤S920,根据预设字段表查询所述待删除的字段标识对应的预设存储过程;
步骤S930,删除所述预设存储过程中与所述待删除的字段标识对应的部分。
与实施例五和实施例六相似,每个段表对应一个存储过程,从而使得段表需要进行更改时,将生成新增字段的新增字段数据加入该存储过程中,即可实现维护,不需要针对每一个业务场景的段表的代码进行更改。
例如:段表B对应的预设存储过程为pro_b(p_b_info),其中p_b_info是入参。段表B中包括字段B4、B5和B6为固定值,以及字段B1、B2、B3和B7为动态值。
如果B4需要修改,只需要改存储过程pro_b中与B4对应的部分就可以了;如果段表B中需要新增了字段B21,也只需要改存储过程pro_b中的insert语句的SQL,在自定义p_b_info中加入字段B21;如果段表B需要删除B7,则将存储过程pro_b中与B7对应的部分删除就可以了。这样代码显得简洁、易于维护。
此外,本申请还提供一种数据录入装置,所述数据录入装置包括:
接收模块10,所述接收模块10用于接收上报数据指令,所述上报数据指令包括业务场景标识;
第一查询模块20,所述第一查询模块20用于根据预设段表信息表查询与所述业务场景标识对应的段表标识,以及与所述段表标识对应的预设存储过程和字段标识;
获取模块30,所述获取模块30用于获取与所述业务场景标识和所述字段标识对应的原始数据;
录入模块40,所述录入模块40用于所述原始数据传入所述预设存储过程中;
生成模块50,所述生成模块50用于执行所述预设存储过程,生成与所述段表标识对应的上报数据表。
进一步地,所述录入模块40包括:
第二查询模块,所述第二查询模块用于根据预设段表信息表查询所述字段标识的字段类型;
判断模块,所述判断模块用于判断所述字段类型是否为动态值;
第一写入模块,所述第一写入模块用于若所述字段类型为所述动态值,则将所述原始数据通过所述预设存储过程的入参传入所述预设存储过程中;
第二写入模块,所述第二写入模块用于若所述字段类型不为所述动态值,则将所述原始数据直接写入所述预设存储过程中。
进一步地,所述获取模块30用于根据预设段表信息表查询与所述业务场景标识对应的段表标识,以及与所述段表标识对应的SQL-ID序列表;
通过rank函数和所述SQL-ID序列表调用SQL语句组成所述预设存储过程,并根据所述SQL-ID序列表对所述段表标识对应的所述字段标识进行排序。
进一步地,所述生成模块50包括:
执行模块,所述执行模块用于执行所述预设存储过程,按照所述段表标识对应的字段标识的顺序,依次生成与所述字段标识对应的字段,形成所述上报数据表。
进一步地,所述生成模块50还用于按照所述业务场景标识对应的所述段表标识的顺序,排列与所述段表标识对应的所述上报数据表,形成上报总表;
所述数据录入装置包括:
发送模块60,所述发送模块60用于将所述上报总表发送至审核终端。
进一步地,所述接收模块10还用于接收新增字段指令,所述新增字段指令包括所述段表标识、新增字段标识和新增字段数据;
所述第一查询模块20还用于根据预设字段表查询所述段表标识对应的预设存储过程;
所述数据录入装置包括:
修改模块70,所述修改模块70用于将所述新增字段数据加入到所述预设存储过程中,并将所述新增字段标识写入所述预设段表信息表中。
进一步地,所述接收模块10还用于接收修改字段指令,所述修改字段指令包括待修改的所述字段标识和修改字段数据;
所述第一查询模块20还用于根据预设字段表查询所述待修改的字段标识对应的预设存储过程;
所述修改模块70还用于删除所述预设存储过程中与所述待修改的字段标识对应的部分,并将所述修改字段数据加入到所述预设存储过程中。
进一步地,所述接收模块10还用于接收删除字段指令,所述删除字段指令包括待删除的所述字段标识;
所述第一查询模块20还用于根据预设字段表查询所述待删除的字段标识对应的预设存储过程;
所述修改模块70还用于删除所述待删除的预设存储过程中与所述字段标识对应的部分。
此外,本申请还提供一种计算机可读存储介质,计算机可读存储介质上存储有计算机可读指令,其中,计算机可读指令被处理器执行时,实现如上述的界面的更新方法的步骤。其中计算机可读指令被执行时所实现的方法可参照本申请数据录入方法的各个实施例,此处不再赘述。在本申请中计算机可读存储介质具体为非易失性计算机可读存储介质。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者系统不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者系统所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者系统中还存在另外的相同要素。
上述本申请实施例序号仅仅为了描述,不代表实施例的优劣。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在如上所述的一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例所述的方法。
以上仅为本申请的优选实施例,并非因此限制本申请的专利范围,凡是利用本申请说明书及附图内容所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本申请的专利保护范围内。
Claims (20)
- 一种数据录入方法,其中,所述数据录入方法包括:接收上报数据指令,所述上报数据指令包括业务场景标识;根据预设段表信息表查询与所述业务场景标识对应的段表标识,以及与所述段表标识对应的预设存储过程和字段标识;获取与所述业务场景标识和所述字段标识对应的原始数据;将所述原始数据传入所述预设存储过程中;执行所述预设存储过程,生成与所述段表标识对应的上报数据表。
- 如权利要求1所述的数据录入方法,其中,所述将所述原始数据信息传入所述预设存储过程中的步骤包括:根据预设段表信息表查询所述字段标识的字段类型;判断所述字段类型是否为动态值;若所述字段类型为所述动态值,则将所述原始数据通过所述预设存储过程的入参传入所述预设存储过程中;若所述字段类型不为所述动态值,则将所述原始数据直接写入所述预设存储过程中。
- 如权利要求2所述的数据录入方法,其中,根据预设段表信息表查询与所述业务场景标识对应的段表标识,以及与所述段表标识对应的预设存储过程和字段标识的步骤包括:根据预设段表信息表查询与所述业务场景标识对应的段表标识,以及与所述段表标识对应的SQL-ID序列表;通过rank函数和所述SQL-ID序列表调用SQL语句组成所述预设存储过程,并根据所述SQL-ID序列表对所述段表标识对应的所述字段标识进行排序。
- 如权利要求3所述的数据录入方法,其中,所述执行所述预设存储过程,生成上报数据表的步骤包括:根据执行指令和所述预设存储过程的识别名执行所述预设存储过程;按照所述段表标识对应的所述字段标识的顺序,依次生成与所述字段标识对应的字段,形成所述上报数据表。
- 如权利要求1所述的数据录入方法,其中,所述执行所述预设存储过程,生成与所述段表标识对应的上报数据表的步骤之后,还包括:按照所述业务场景标识对应的所述段表标识的顺序,排列与所述段表标识对应的所述上报数据表,形成上报总表;将所述上报总表发送至审核终端。
- 如权利要求1所述的数据录入方法,其中,所述数据录入方法还包括:接收新增字段指令,所述新增字段指令包括所述段表标识、新增字段标识和新增字段数据;根据预设字段表查询所述段表标识对应的预设存储过程;将所述新增字段数据加入到所述预设存储过程中,并将所述新增字段标识写入所述预设段表信息表中。
- 如权利要求1所述的数据录入方法,其中,所述数据录入方法还包括:接收删除字段指令,所述删除字段指令包括待删除的所述字段标识;根据预设字段表查询所述待删除的字段标识对应的预设存储过程;删除所述预设存储过程中与所述待删除的字段标识对应的部分。
- 一种数据录入装置,其中,所述数据录入装置包括:接收模块,所述接收模块用于接收上报数据指令,所述上报数据指令包括业务场景标识;第一查询模块,所述第一查询模块用于根据预设段表信息表查询与所述业务场景标识对应的段表标识,以及与所述段表标识对应的预设存储过程和字段标识;获取模块,所述获取模块用于获取与所述业务场景标识和所述字段标识对应的原始数据;录入模块,所述录入模块用于所述原始数据传入所述预设存储过程中;生成模块,所述生成模块用于执行所述预设存储过程,生成与所述段表标识对应的上报数据表。
- 一种终端,其中,包括处理器、存储器、以及存储在所述存储器上的可被所述处理器执行的计算机可读指令,其中,所述计算机可读指令被所述处理器执行时,实现如下步骤:接收上报数据指令,所述上报数据指令包括业务场景标识;根据预设段表信息表查询与所述业务场景标识对应的段表标识,以及与所述段表标识对应的预设存储过程和字段标识;获取与所述业务场景标识和所述字段标识对应的原始数据;将所述原始数据传入所述预设存储过程中;执行所述预设存储过程,生成与所述段表标识对应的上报数据表。
- 如权利要求9所述的终端,其中,所述计算机可读指令被所述处理器执行时,还实现如下步骤:根据预设段表信息表查询所述字段标识的字段类型;判断所述字段类型是否为动态值;若所述字段类型为所述动态值,则将所述原始数据通过所述预设存储过程的入参传入所述预设存储过程中;若所述字段类型不为所述动态值,则将所述原始数据直接写入所述预设存储过程中。
- 如权利要求10所述的终端,其中,所述计算机可读指令被所述处理器执行时,还实现如下步骤:根据预设段表信息表查询与所述业务场景标识对应的段表标识,以及与所述段表标识对应的SQL-ID序列表;通过rank函数和所述SQL-ID序列表调用SQL语句组成所述预设存储过程,并根据所述SQL-ID序列表对所述段表标识对应的所述字段标识进行排序。
- 如权利要求11所述的终端,其中,所述计算机可读指令被所述处理器执行时,还实现如下步骤:根据执行指令和所述预设存储过程的识别名执行所述预设存储过程;按照所述段表标识对应的所述字段标识的顺序,依次生成与所述字段标识对应的字段,形成所述上报数据表。
- 如权利要求9所述的终端,其中,所述计算机可读指令被所述处理器执行时,还实现如下步骤:按照所述业务场景标识对应的所述段表标识的顺序,排列与所述段表标识对应的所述上报数据表,形成上报总表;将所述上报总表发送至审核终端。
- 如权利要求9所述的终端,其中,所述计算机可读指令被所述处理器执行时,还实现如下步骤:接收新增字段指令,所述新增字段指令包括所述段表标识、新增字段标识和新增字段数据;根据预设字段表查询所述段表标识对应的预设存储过程;将所述新增字段数据加入到所述预设存储过程中,并将所述新增字段标识写入所述预设段表信息表中。
- 如权利要求9所述的终端,其中,所述计算机可读指令被所述处理器执行时,还实现如下步骤:接收删除字段指令,所述删除字段指令包括待删除的所述字段标识;根据预设字段表查询所述待删除的字段标识对应的预设存储过程;删除所述预设存储过程中与所述待删除的字段标识对应的部分。
- 一种计算机可读存储介质,其中,所述计算机可读存储介质上存储有计算机可读指令,其中,所述计算机可读指令被处理器执行时,实现如下步骤:接收上报数据指令,所述上报数据指令包括业务场景标识;根据预设段表信息表查询与所述业务场景标识对应的段表标识,以及与所述段表标识对应的预设存储过程和字段标识;获取与所述业务场景标识和所述字段标识对应的原始数据;将所述原始数据传入所述预设存储过程中;执行所述预设存储过程,生成与所述段表标识对应的上报数据表。
- 如权利要求16所述的终端,其中,所述计算机可读指令被所述处理器执行时,还实现如下步骤:根据预设段表信息表查询所述字段标识的字段类型;判断所述字段类型是否为动态值;若所述字段类型为所述动态值,则将所述原始数据通过所述预设存储过程的入参传入所述预设存储过程中;若所述字段类型不为所述动态值,则将所述原始数据直接写入所述预设存储过程中。
- 如权利要求17所述的终端,其中,所述计算机可读指令被所述处理器执行时,还实现如下步骤:根据预设段表信息表查询与所述业务场景标识对应的段表标识,以及与所述段表标识对应的SQL-ID序列表;通过rank函数和所述SQL-ID序列表调用SQL语句组成所述预设存储过程,并根据所述SQL-ID序列表对所述段表标识对应的所述字段标识进行排序。
- 如权利要求18所述的终端,其中,所述计算机可读指令被所述处理器执行时,还实现如下步骤:根据执行指令和所述预设存储过程的识别名执行所述预设存储过程;按照所述段表标识对应的所述字段标识的顺序,依次生成与所述字段标识对应的字段,形成所述上报数据表。
- 如权利要求16所述的终端,其中,所述计算机可读指令被所述处理器执行时,还实现如下步骤:按照所述业务场景标识对应的所述段表标识的顺序,排列与所述段表标识对应的所述上报数据表,形成上报总表;将所述上报总表发送至审核终端。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910046793.3 | 2019-01-17 | ||
| CN201910046793.3A CN109814856B (zh) | 2019-01-17 | 2019-01-17 | 数据录入方法、装置、终端及计算机可读存储介质 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020147385A1 true WO2020147385A1 (zh) | 2020-07-23 |
Family
ID=66603504
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2019/116736 Ceased WO2020147385A1 (zh) | 2019-01-17 | 2019-11-08 | 数据录入方法、装置、终端及计算机可读存储介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN109814856B (zh) |
| WO (1) | WO2020147385A1 (zh) |
Cited By (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112732243A (zh) * | 2021-01-11 | 2021-04-30 | 京东数字科技控股股份有限公司 | 一种用于生成功能组件的数据处理方法及装置 |
| CN113536767A (zh) * | 2021-07-05 | 2021-10-22 | 深圳市工易付电子科技有限公司 | 数据处理方法、装置、设备、介质及计算机程序产品 |
| CN113704254A (zh) * | 2021-07-30 | 2021-11-26 | 北京奇艺世纪科技有限公司 | 一种数据库的业务处理方法、装置、电子设备和存储介质 |
| CN113705184A (zh) * | 2021-09-01 | 2021-11-26 | 同盾科技有限公司 | 自定义报表的生成方法及装置、存储介质、电子设备 |
| CN114048249A (zh) * | 2021-11-16 | 2022-02-15 | 北京互金新融科技有限公司 | 数据检索方法、装置、电子设备及计算机可读存储介质 |
| CN115801855A (zh) * | 2023-02-06 | 2023-03-14 | 广东金朋科技有限公司 | 设备控制方法、装置、电子设备和存储介质 |
| CN115794205A (zh) * | 2022-11-14 | 2023-03-14 | 中国建设银行股份有限公司 | 一种参数协同变更方法及相关设备 |
| CN115840742A (zh) * | 2023-02-13 | 2023-03-24 | 每日互动股份有限公司 | 一种数据清洗方法、装置、设备及介质 |
| CN116756129A (zh) * | 2023-05-29 | 2023-09-15 | 中银金融科技有限公司 | 数据补录方法、装置、存储介质及电子设备 |
| CN116843454A (zh) * | 2023-07-18 | 2023-10-03 | 广东企企通科技有限公司 | 渠道信息管理方法、装置、设备及介质 |
| CN117235072A (zh) * | 2023-09-20 | 2023-12-15 | 重庆赛力斯新能源汽车设计院有限公司 | 车辆内部数据处理方法、装置、汽车及存储介质 |
| CN118035243A (zh) * | 2024-02-22 | 2024-05-14 | 浪潮通用软件有限公司 | 标准产品扩展数据的处理方法、系统、电子设备及存储介质 |
Families Citing this family (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109814856B (zh) * | 2019-01-17 | 2022-04-15 | 平安科技(深圳)有限公司 | 数据录入方法、装置、终端及计算机可读存储介质 |
| CN112000326B (zh) * | 2020-08-20 | 2025-10-21 | 第四范式(北京)技术有限公司 | 一种服务提供方法、装置、电子设备及存储介质 |
| CN112052242B (zh) * | 2020-09-02 | 2024-06-04 | 平安科技(深圳)有限公司 | 数据查询方法、装置、电子设备及存储介质 |
| CN114510605A (zh) * | 2020-11-16 | 2022-05-17 | 浙江宇视科技有限公司 | 数据存储方法、装置、电子设备及存储介质 |
| CN112632078B (zh) * | 2020-12-29 | 2023-06-30 | 竹间智能科技(上海)有限公司 | 表单新增字段的方法、系统、设备及可读存储介质 |
| CN113760987A (zh) * | 2021-02-04 | 2021-12-07 | 北京沃东天骏信息技术有限公司 | 数据处理方法和数据处理平台 |
| CN114090544A (zh) * | 2021-11-22 | 2022-02-25 | 中国建设银行股份有限公司 | 模板生成方法、数据录入模板、数据录入方法及装置 |
| CN114090680A (zh) * | 2021-11-23 | 2022-02-25 | 中国建设银行股份有限公司 | 数据展示方法、装置、设备、存储介质、程序产品 |
| CN114091424B (zh) * | 2021-11-30 | 2025-08-19 | 中国建设银行股份有限公司 | 外呼数据处理的方法、外呼平台及计算机可读存储介质 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040243598A1 (en) * | 2003-03-06 | 2004-12-02 | Sleeper Dean A. | Method and system for managing database SQL statements in web based and client/server applications |
| CN1869982A (zh) * | 2005-11-08 | 2006-11-29 | 华为技术有限公司 | 一种报表数据采集系统和方法 |
| CN105354324A (zh) * | 2015-11-17 | 2016-02-24 | 国云科技股份有限公司 | 一种基于hc-sql的树状结构系统及其实现方法 |
| CN107391652A (zh) * | 2017-07-17 | 2017-11-24 | 山东浪潮通软信息科技有限公司 | 一种模板化报表接口定义系统及方法 |
| CN109814856A (zh) * | 2019-01-17 | 2019-05-28 | 平安科技(深圳)有限公司 | 数据录入方法、装置、终端及计算机可读存储介质 |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2016157419A (ja) * | 2015-02-19 | 2016-09-01 | 株式会社オービック | チェック業務処理装置、チェック業務処理方法及びチェック業務処理プログラム |
| CN107679057B (zh) * | 2017-06-26 | 2019-11-05 | 平安科技(深圳)有限公司 | 数据对接方法、装置、服务器和存储介质 |
-
2019
- 2019-01-17 CN CN201910046793.3A patent/CN109814856B/zh active Active
- 2019-11-08 WO PCT/CN2019/116736 patent/WO2020147385A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20040243598A1 (en) * | 2003-03-06 | 2004-12-02 | Sleeper Dean A. | Method and system for managing database SQL statements in web based and client/server applications |
| CN1869982A (zh) * | 2005-11-08 | 2006-11-29 | 华为技术有限公司 | 一种报表数据采集系统和方法 |
| CN105354324A (zh) * | 2015-11-17 | 2016-02-24 | 国云科技股份有限公司 | 一种基于hc-sql的树状结构系统及其实现方法 |
| CN107391652A (zh) * | 2017-07-17 | 2017-11-24 | 山东浪潮通软信息科技有限公司 | 一种模板化报表接口定义系统及方法 |
| CN109814856A (zh) * | 2019-01-17 | 2019-05-28 | 平安科技(深圳)有限公司 | 数据录入方法、装置、终端及计算机可读存储介质 |
Cited By (17)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112732243A (zh) * | 2021-01-11 | 2021-04-30 | 京东数字科技控股股份有限公司 | 一种用于生成功能组件的数据处理方法及装置 |
| CN113536767A (zh) * | 2021-07-05 | 2021-10-22 | 深圳市工易付电子科技有限公司 | 数据处理方法、装置、设备、介质及计算机程序产品 |
| CN113704254B (zh) * | 2021-07-30 | 2023-06-16 | 北京奇艺世纪科技有限公司 | 一种数据库的业务处理方法、装置、电子设备和存储介质 |
| CN113704254A (zh) * | 2021-07-30 | 2021-11-26 | 北京奇艺世纪科技有限公司 | 一种数据库的业务处理方法、装置、电子设备和存储介质 |
| CN113705184A (zh) * | 2021-09-01 | 2021-11-26 | 同盾科技有限公司 | 自定义报表的生成方法及装置、存储介质、电子设备 |
| CN113705184B (zh) * | 2021-09-01 | 2023-09-22 | 同盾科技有限公司 | 自定义报表的生成方法及装置、存储介质、电子设备 |
| CN114048249A (zh) * | 2021-11-16 | 2022-02-15 | 北京互金新融科技有限公司 | 数据检索方法、装置、电子设备及计算机可读存储介质 |
| CN115794205A (zh) * | 2022-11-14 | 2023-03-14 | 中国建设银行股份有限公司 | 一种参数协同变更方法及相关设备 |
| CN115801855B (zh) * | 2023-02-06 | 2023-05-23 | 广东金朋科技有限公司 | 设备控制方法、装置、电子设备和存储介质 |
| CN115801855A (zh) * | 2023-02-06 | 2023-03-14 | 广东金朋科技有限公司 | 设备控制方法、装置、电子设备和存储介质 |
| CN115840742A (zh) * | 2023-02-13 | 2023-03-24 | 每日互动股份有限公司 | 一种数据清洗方法、装置、设备及介质 |
| CN115840742B (zh) * | 2023-02-13 | 2023-05-12 | 每日互动股份有限公司 | 一种数据清洗方法、装置、设备及介质 |
| CN116756129A (zh) * | 2023-05-29 | 2023-09-15 | 中银金融科技有限公司 | 数据补录方法、装置、存储介质及电子设备 |
| CN116843454A (zh) * | 2023-07-18 | 2023-10-03 | 广东企企通科技有限公司 | 渠道信息管理方法、装置、设备及介质 |
| CN116843454B (zh) * | 2023-07-18 | 2024-05-31 | 广东企企通科技有限公司 | 渠道信息管理方法、装置、设备及介质 |
| CN117235072A (zh) * | 2023-09-20 | 2023-12-15 | 重庆赛力斯新能源汽车设计院有限公司 | 车辆内部数据处理方法、装置、汽车及存储介质 |
| CN118035243A (zh) * | 2024-02-22 | 2024-05-14 | 浪潮通用软件有限公司 | 标准产品扩展数据的处理方法、系统、电子设备及存储介质 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN109814856A (zh) | 2019-05-28 |
| CN109814856B (zh) | 2022-04-15 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2020147385A1 (zh) | 数据录入方法、装置、终端及计算机可读存储介质 | |
| WO2021003956A1 (zh) | 产品信息的管理方法、装置、设备及存储介质 | |
| WO2021008017A1 (zh) | 联邦学习方法、系统、终端设备及存储介质 | |
| WO2020107756A1 (zh) | 信贷反欺诈方法、系统、设备及计算机可读存储介质 | |
| WO2020253135A1 (zh) | 自动化分析方法、用户设备、存储介质及装置 | |
| WO2020177376A1 (zh) | 数据的提取方法、装置、终端及计算机可读存储介质 | |
| WO2021003930A1 (zh) | 客服录音的质检方法、装置、设备及计算机可读存储介质 | |
| WO2020087981A1 (zh) | 风控审核模型生成方法、装置、设备及可读存储介质 | |
| WO2021012481A1 (zh) | 系统性能监控方法、装置、设备及存储介质 | |
| WO2019019350A1 (zh) | 开户页面的生成方法、装置、设备及计算机可读存储介质 | |
| WO2020125251A1 (zh) | 基于联邦学习的模型参数训练方法、装置、设备及介质 | |
| WO2020073495A1 (zh) | 基于人工智能的复审方法、装置、设备及存储介质 | |
| WO2020119115A1 (zh) | 数据审核方法、装置、设备及存储介质 | |
| WO2020253125A1 (zh) | 日志管理方法、装置、设备及存储介质 | |
| WO2020087983A1 (zh) | 任务分配方法、装置、设备及存储介质 | |
| WO2020015064A1 (zh) | 系统故障处理方法、装置、设备及存储介质 | |
| WO2019024485A1 (zh) | 数据共享方法、装置及计算机可读存储介质 | |
| WO2018082484A1 (zh) | 一种电子设备的截屏方法、系统及电子设备 | |
| WO2020119369A1 (zh) | 智能it运维故障定位方法、装置、设备及可读存储介质 | |
| WO2020224250A1 (zh) | 智能合约的触发方法、装置、设备及存储介质 | |
| WO2020087704A1 (zh) | 信贷信息管理方法、装置、设备和存储介质 | |
| WO2020082766A1 (zh) | 输入法的联想方法、装置、设备及可读存储介质 | |
| WO2020107591A1 (zh) | 重复投保限制方法、装置、设备及可读存储介质 | |
| WO2018004236A1 (ko) | 개인정보의 비식별화 방법 및 장치 | |
| WO2020062640A1 (zh) | 终端应用动态文案的语言切换方法、服务器及存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 19910596 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 19910596 Country of ref document: EP Kind code of ref document: A1 |