CN112380820A - Automatic data backfilling method and device, electronic equipment and computer storage medium - Google Patents

Automatic data backfilling method and device, electronic equipment and computer storage medium Download PDF

Info

Publication number
CN112380820A
CN112380820A CN202011289412.3A CN202011289412A CN112380820A CN 112380820 A CN112380820 A CN 112380820A CN 202011289412 A CN202011289412 A CN 202011289412A CN 112380820 A CN112380820 A CN 112380820A
Authority
CN
China
Prior art keywords
interface
data
backfilling
standard
calling
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.)
Pending
Application number
CN202011289412.3A
Other languages
Chinese (zh)
Inventor
魏新胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
OneConnect Smart Technology Co Ltd
OneConnect Financial Technology Co Ltd Shanghai
Original Assignee
OneConnect Financial Technology Co Ltd Shanghai
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 OneConnect Financial Technology Co Ltd Shanghai filed Critical OneConnect Financial Technology Co Ltd Shanghai
Priority to CN202011289412.3A priority Critical patent/CN112380820A/en
Publication of CN112380820A publication Critical patent/CN112380820A/en
Priority to PCT/CN2021/123897 priority patent/WO2022105494A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/174Form filling; Merging

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention relates to a big data technology, and discloses an automatic data backfilling method, which comprises the following steps: the method comprises the steps of obtaining an interface type set and a standard interface set, selecting one interface type from the interface type set, obtaining a corresponding standard interface according to the interface type, generating a data calling script by using the interface type and the standard interface, setting fields or list data to be backfilled of the standard interface, obtaining a corresponding interface protocol by using the standard interface, calling an interface to be called according to the interface protocol and the data calling script, obtaining data according to the interface to be called, and backfilling the data into the data list or the fields according to the data calling script. Furthermore, the invention relates to a blockchain technique, and the standard interface set can be stored in a node of the blockchain. The invention also provides a data automatic backfilling device, electronic equipment and a computer readable storage medium. The invention can solve the problem of low data backfilling efficiency.

Description

Automatic data backfilling method and device, electronic equipment and computer storage medium
Technical Field
The invention relates to the technical field of big data, in particular to a data automatic backfilling method and device, electronic equipment and a computer readable storage medium.
Background
Data backfilling refers to displaying data in a data box provided in a particular field or list. As data scales continue to expand, automatic backfilling of data becomes especially important. The traditional data backfill method comprises the following steps: 1. and automatically backfilling data through the third party data backfilling component. 2. And calling data by using the interface, and manually inputting the data. The prior art has the following defects: 1. the automatic data backfilling by utilizing the backfilling component has low flexibility and is difficult to maintain. 2. The manual data entry efficiency is low, along with the increase of the data volume, more and more interfaces are called, and the error rate of data backfill is high. 3. And judging whether to backfill or carry out corresponding prompt according to a returned result. 4. Data needing to be backfilled is not supported to be displayed on a specific page.
Disclosure of Invention
The invention provides a method and a device for automatically backfilling data and a computer readable storage medium, and mainly aims to solve the problem of low data backfilling efficiency.
In order to achieve the above object, the present invention provides an automatic data backfill method, which includes:
acquiring an interface type set and a preset standard interface set, selecting one interface type from the interface type set, and acquiring a corresponding standard interface from the standard interface set according to the interface type;
generating a data calling script by using the interface type and the standard interface, and setting fields or list data to be backfilled by the standard interface;
acquiring a corresponding interface protocol by using the standard interface, calling an interface to be called according to the interface protocol and the data calling script, and acquiring data according to the interface to be called;
and backfilling the data into the data list or the field according to the data calling script.
Optionally, the obtaining, according to the interface type, a corresponding standard interface from the standard interface set includes:
extracting the keywords of the interface type by using a preset language processing algorithm;
and searching the standard interface set according to the keyword, and when the keyword is successfully matched with any one interface in the standard interface set, determining the successfully matched interface as the standard interface corresponding to the interface type.
Optionally, the generating a data call script by using the interface type and the standard interface includes:
acquiring preset type parameters and interface parameters according to the interface type;
and obtaining the data call script according to the interface parameter and the type parameter.
Optionally, the setting of the field or list data that the standard interface needs to be backfilled includes:
matching corresponding backfill fields from a preset data set according to the keywords of the interface type;
and summarizing the backfill fields, or representing the backfill fields in a list form to obtain the data list.
Optionally, the obtaining a corresponding interface protocol by using the standard interface, and calling an interface to be called according to the interface protocol and the data call script includes:
acquiring an interface identifier of the standard interface, and acquiring an interface protocol corresponding to the interface identifier through a preset mapping relation;
and acquiring an interface of a data provider by using the interface protocol and the data calling script to obtain the interface to be called.
Optionally, backfilling the data into the data list or field according to the data call script includes:
calling the standard interface, and acquiring a corresponding data calling script according to the standard interface;
and acquiring corresponding data to be backfilled by using the data calling script, and distributing the data to be backfilled to the data list and the corresponding backfilling field.
Optionally, after backfilling the data into the data list or field, the method further comprises:
executing all preset actions set by a condition interface in the standard interface;
and after the execution of the preset action is finished, calling a storage interface and a submission interface in the standard interface to store and submit the backfilled data.
In order to solve the above problems, the present invention further provides an automatic data backfilling device, including:
the interface selection module is used for acquiring an interface type set and a preset standard interface set, selecting one interface type from the interface type set, and acquiring a corresponding standard interface from the standard interface set according to the interface type;
the script generating module is used for generating a data calling script by utilizing the interface type and the standard interface and setting fields or list data to be backfilled of the standard interface;
the interface calling module is used for acquiring a corresponding interface protocol by using the standard interface, calling an interface to be called according to the interface protocol and the data calling script, and acquiring data according to the interface to be called;
and the data backfilling module is used for backfilling the data into the data list or the field according to the data calling script.
In order to solve the above problem, the present invention also provides an electronic device, including:
a memory storing at least one instruction; and
and the processor executes the instructions stored in the memory to realize the automatic data backfilling method.
In order to solve the above problem, the present invention further provides a computer-readable storage medium, which stores at least one instruction, where the at least one instruction is executed by a processor in an electronic device to implement the above automatic data backfilling method.
The corresponding standard interface is obtained from the standard interface set according to the interface type, the interface type and the standard interface are utilized to generate the data calling script, different data calling scripts can be generated according to different data types, and application scenes are richer; meanwhile, the standard interface is used for obtaining a corresponding interface protocol, the interface to be called is called according to the interface protocol and the data calling script, data is obtained according to the interface to be called, and data backfilling is carried out according to the data calling script, so that the data backfilling efficiency can be improved. Therefore, the automatic data backfilling method, the automatic data backfilling device, the electronic equipment and the computer readable storage medium provided by the embodiment of the invention can solve the problem of low data backfilling efficiency.
Drawings
Fig. 1 is a schematic flow chart illustrating an automatic data backfill method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart showing a detailed implementation of one of the steps in FIG. 1;
FIG. 3 is a schematic flow chart showing another step of FIG. 1;
FIG. 4 is a schematic flow chart showing another step of FIG. 1;
FIG. 5 is a schematic flow chart showing another step in FIG. 1;
FIG. 6 is a functional block diagram of an automatic data backfilling device according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device implementing the automatic data backfilling method according to an embodiment of the present invention.
The implementation, functional features and advantages of the objects of the present invention will be further explained with reference to the accompanying drawings.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
The embodiment of the application provides an automatic data backfilling method. The execution subject of the data automatic backfilling method includes, but is not limited to, at least one of electronic devices that can be configured to execute the method provided by the embodiments of the present application, such as a server, a terminal, and the like. In other words, the data automatic backfill method can be executed by software or hardware installed in the terminal device or the server device, and the software can be a block chain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, and the like.
Fig. 1 is a schematic flow chart of an automatic data backfilling method according to an embodiment of the present invention. In this embodiment, the automatic data backfilling method includes:
s1, acquiring an interface type set and a preset standard interface set, selecting an interface type from the interface type set, and acquiring a corresponding standard interface from the standard interface set according to the interface type.
In at least one embodiment of the present invention, the preset interface type set includes a condition interface, a save interface, a submit interface, and the like. The condition interface is used for setting corresponding actions according to preset conditions; the storage interface is used for storing the acquired data; the submission interface is used for submitting the stored data. For example, in the home loan mortgage service, the condition interface may be a home loan condition interface, which is used to perform a preset action, such as page jump, pop up of a popup window, call of an interface, value saving, non-editing, data backfilling, and the like, when data is acquired from a home management office in the home loan mortgage service, the storage interface may be a home loan storage interface, which is used to store the backfilled data in the home loan mortgage service, and the submission interface may be a home loan submission interface, which is used to submit the stored data in the home loan mortgage service. Further, in the embodiment of the present invention, the standard interface set includes corresponding conditional interface codes, saved interface codes, submitted interface codes, and the like.
Referring to fig. 2, in the embodiment of the present invention, the obtaining of the corresponding standard interface from the standard interface set according to the interface type includes:
s10, extracting the keywords of the interface type by using a preset language processing algorithm;
s11, searching the standard interface set according to the keyword, and determining the successfully matched interface as the standard interface corresponding to the interface type when the keyword is successfully matched with any one interface in the standard interface set.
The preset language processing algorithm in the embodiment of the invention can be a TextRank which is disclosed at present, a keyword extraction algorithm based on semantics and the like. For example, in the embodiment of the present invention, a keyword "house credit" and a "condition" in the interface type "house credit condition interface" are extracted, a "house credit condition interface code" in the standard interface set is matched according to the keyword "house credit" and the "condition", and the "house credit condition interface code" is determined as a corresponding standard interface.
In the embodiment of the invention, the corresponding standard interface can be determined according to the selected interface type, and different preset actions can be set according to the interface type according to different actual application scenes, so that the flexibility is higher, and the applicability is stronger.
And S2, generating a data call script by using the interface type and the standard interface, and setting fields or list data to be backfilled by the standard interface.
According to the embodiment of the invention, different data calling scripts can be generated through different types of the interfaces, and the data calling scripts are used for calling data under different services, for example, the data calling scripts in the house loan condition interface are used for calling various data in house loan mortgage service.
Referring to fig. 3, the generating a data call script using the interface type and the standard interface includes:
s20, acquiring preset type parameters and interface parameters according to the interface type;
and S21, obtaining the data call script according to the interface parameters and the type parameters.
In the embodiment of the invention, the data call script can be a VM script, the VM script is edited by Velocity, the Velocity is a template engine based on java, and the template engine can allow any text editor to be used for editing and is finally saved as a file at the end of the VM. In the embodiment of the present invention, for example, the room loan condition interface may include interface parameters such as an interface number, an interface identifier, and an interface ID, and type parameters such as name information of a requesting user and identity information of the requesting user in the home loan mortgage service. The embodiment of the invention can set the data type of the acquired parameter to be field data or form data according to the actual service requirement, for example, in the house loan mortgage service, the data type of the parameter can be set to be a form.
Further, the setting of the field or list data that the standard interface needs to be backfilled includes:
matching corresponding backfill fields from a preset data set according to the keywords of the interface type;
and summarizing the backfill fields, or representing the backfill fields in a list form to obtain the data list.
In the embodiment of the invention, the preset data set comprises fields to be backfilled, which are required in different services. For example, in a home loan mortgage service, the data set includes "house ticket number", "area", "house location", and "ownership information" waiting for backfill fields. In the embodiment of the present invention, when the keyword of the interface type is "house credit", backfill fields such as "house license number", "area", "house position", "house ownership acquisition mode", "ownership information", and "presence or absence of mortgage" in the data set are extracted.
Furthermore, the data call script is generated according to the interface type and the standard interface, different data call scripts can be generated according to different data types, and application scenes are richer.
S3, acquiring a corresponding interface protocol by using the standard interface, calling an interface to be called according to the interface protocol and the data calling script, and acquiring data according to the interface to be called.
In the embodiment of the present invention, the interface to be called refers to an interface provided by a data provider, for example, in a bank house mortgage service, the interface to be called may be various interfaces provided by a house administration, and data such as a house license number, an area, a house position, and ownership information is acquired by calling the house administration interface.
Referring to fig. 4, in the embodiment of the present invention, the obtaining a corresponding interface protocol by using the standard interface, and calling an interface to be called according to the interface protocol and the data call script includes:
s30, acquiring an interface identifier of the standard interface, and acquiring an interface protocol corresponding to the interface identifier through a preset mapping relation;
and S31, acquiring an interface of a data provider by using the interface protocol and the data call script to obtain the interface to be called.
Wherein, the interface identifier can be a character string, a number, etc. Each standard interface has a uniquely determined interface identifier, and the interface identifier of the standard interface is the same as the interface identifier of the interface to be called. And the interface protocol realizes the calling of different interfaces according to the interface identification. The preset mapping relation refers to a corresponding relation between the interface identifier and the interface protocol.
In the embodiment of the invention, the corresponding relation between different interfaces is determined through the interface identification, and because the interface identification has uniqueness, the accuracy of interface calling can be ensured along with the increase of the number of the interfaces.
And S4, backfilling the data into the data list or the field according to the data calling script.
Referring to fig. 5, in the embodiment of the present invention, backfilling the data into the data list or field according to the data call script includes:
s40, calling the standard interface, and acquiring a corresponding data calling script according to the standard interface;
and S41, acquiring corresponding data to be backfilled by using the data calling script, and distributing the data to be backfilled to the data list and the corresponding backfilling field.
For example, data in the room loan conditional interface calls the script: "xm" $ cust _ name "// request parameter acquisition, and the corresponding data to be backfilled can be acquired as a user name.
In detail, after backfilling the data into the data list or field, the method may further include:
executing all preset actions set by a condition interface in the standard interface;
and after the execution of the preset action is finished, calling a storage interface and a submission interface in the standard interface to store and submit the backfilled data.
In the embodiment of the present invention, the preset action may be a corresponding processing action set according to actual needs, for example, when the backfilled data meets a preset requirement, the next interface may be saved, submitted, or called, and multiple interfaces are supported to be called sequentially, so that the problems of circular calling and multiple interfaces calling are solved; meanwhile, a return result can be set according to the condition of backfill data, and page skipping or frame popping prompt is carried out according to the return result, for example, if the interface returns abnormally, a prompt case can be set, namely the interface returns abnormally and please recall, and the prompt case can be clicked to trigger the recall again; the backfilled data can also be edited or set with non-editable authority, and whether the backfilled data is subjected to front-end display or not can be set.
Furthermore, the embodiment of the invention realizes the automatic backfilling of the data through the data calling script, and can realize the automatic calling of the whole process interface according to the execution action in the standard interface.
According to the invention, the corresponding standard interface is obtained from the standard interface set according to the interface type, and the data call script is generated by using the interface type and the standard interface, so that different data call scripts can be generated aiming at different data types, and the application scene is richer. Meanwhile, the standard interface is used for obtaining a corresponding interface protocol, the interface to be called is called according to the interface protocol and the data calling script, data is obtained according to the interface to be called, and data backfilling is carried out according to the data calling script, so that the data backfilling efficiency can be improved. Therefore, the embodiment provided by the invention can solve the problem of low data backfilling efficiency.
Fig. 6 is a functional block diagram of an automatic data backfilling device according to an embodiment of the present invention.
The automatic data backfilling device 100 of the present invention can be installed in an electronic device. According to the realized functions, the automatic data backfilling device 100 can comprise an interface selection module 101, a script generation module 102, an interface calling module 103 and a data backfilling module 104. The module of the present invention, which may also be referred to as a unit, refers to a series of computer program segments that can be executed by a processor of an electronic device and that can perform a fixed function, and that are stored in a memory of the electronic device.
In the present embodiment, the functions regarding the respective modules/units are as follows:
the interface selection module 101 is configured to obtain an interface type set and a preset standard interface set, select an interface type from the interface type set, and obtain a corresponding standard interface from the standard interface set according to the interface type.
In at least one embodiment of the present invention, the preset interface type set includes a condition interface, a save interface, a submit interface, and the like. The condition interface is used for setting corresponding actions according to preset conditions; the storage interface is used for storing the acquired data; the submission interface is used for submitting the stored data. For example, in the house loan mortgage service, the condition interface may be a house loan condition interface, which is used to perform a preset action, such as page jump, pop up of a popup window, call of an interface, value saving, non-editing, data backfilling, and the like, when data is acquired from a house administration in the house loan mortgage service, the storage interface may be a house loan storage interface, which is used to store the backfilled data in the house loan mortgage service, and the submission interface may be a house loan submission interface, which is used to submit the stored data in the house loan mortgage service. Further, in the embodiment of the present invention, the standard interface set includes corresponding conditional interface codes, saved interface codes, submitted interface codes, and the like.
Preferably, the interface selection module 101 obtains the corresponding standard interface by:
extracting the keywords of the interface type by using a preset language processing algorithm;
and searching the standard interface set according to the keyword, and when the keyword is successfully matched with any one interface in the standard interface set, determining the successfully matched interface as the standard interface corresponding to the interface type.
The preset language processing algorithm in the embodiment of the invention can be a TextRank which is disclosed at present, a keyword extraction algorithm based on semantics and the like. For example, in the embodiment of the present invention, a keyword "house credit" and a "condition" in the interface type "house credit condition interface" are extracted, a "house credit condition interface code" in the standard interface set is matched according to the keyword "house credit" and the "condition", and the "house credit condition interface code" is determined as a corresponding standard interface.
In the embodiment of the invention, the corresponding standard interface can be determined according to the selected interface type, and different preset actions can be set according to the interface type according to different actual application scenes, so that the flexibility is higher, and the applicability is stronger.
The script generating module 102 is configured to generate a data call script by using the interface type and the standard interface, and set a field or list data that needs to be backfilled in the standard interface.
According to the embodiment of the invention, different data calling scripts can be generated through different types of the interfaces, and the data calling scripts are used for calling data under different services, for example, the data calling scripts in the house loan condition interface are used for calling various data in house loan mortgage service.
The script generation module 102 generates a data call script by:
acquiring preset type parameters and interface parameters according to the interface type;
and obtaining the data call script according to the interface parameter and the type parameter.
In the embodiment of the invention, the data call script can be a VM script, the VM script is edited by Velocity, the Velocity is a template engine based on java, and the template engine can allow any text editor to be used for editing and is finally saved as a file at the end of the VM. In the embodiment of the present invention, for example, the room loan condition interface may include interface parameters such as an interface number, an interface identifier, and an interface ID, and type parameters such as name information of a requesting user and identity information of the requesting user in the home loan mortgage service. The embodiment of the invention can set the data type of the acquired parameter to be field data or form data according to the actual service requirement, for example, in the house loan mortgage service, the data type of the parameter can be set to be a form.
Further, the script generating module 102 sets the fields or list data that the standard interface needs to be backfilled by:
matching corresponding backfill fields from a preset data set according to the keywords of the interface type;
and summarizing the backfill fields, or representing the backfill fields in a list form to obtain the data list.
In the embodiment of the invention, the preset data set comprises fields to be backfilled, which are required in different services. For example, in a home loan mortgage service, the data set includes "house ticket number", "area", "house location", and "ownership information" waiting for backfill fields. In the embodiment of the present invention, when the keyword of the interface type is "house credit", backfill fields such as "house license number", "area", "house position", "house ownership acquisition mode", "ownership information", and "presence or absence of mortgage" in the data set are extracted.
Furthermore, the data call script is generated according to the interface type and the standard interface, different data call scripts can be generated according to different data types, and application scenes are richer.
The interface calling module 103 is configured to obtain a corresponding interface protocol by using the standard interface, call an interface to be called according to the interface protocol and the data calling script, and obtain data according to the interface to be called.
In the embodiment of the present invention, the interface to be called refers to an interface provided by a data provider, for example, in a bank house mortgage service, the interface to be called may be various interfaces provided by a house administration, and data such as a house license number, an area, a house position, and ownership information is acquired by calling the house administration interface.
In the embodiment of the present invention, the interface calling module 103 calls the interface to be called by the following operations:
acquiring an interface identifier of the standard interface, and acquiring an interface protocol corresponding to the interface identifier through a preset mapping relation;
and acquiring an interface of a data provider by using the interface protocol and the data calling script to obtain the interface to be called.
Wherein, the interface identifier can be a character string, a number, etc. Each standard interface has a uniquely determined interface identifier, and the interface identifier of the standard interface is the same as the interface identifier of the interface to be called. And the interface protocol realizes the calling of different interfaces according to the interface identification. The preset mapping relation refers to a corresponding relation between the interface identifier and the interface protocol.
In the embodiment of the invention, the corresponding relation between different interfaces is determined through the interface identification, and because the interface identification has uniqueness, the accuracy of interface calling can be ensured along with the increase of the number of the interfaces.
The data backfilling module 104 is configured to backfill the data into the data list or the field according to the data call script.
Preferably, the data backfill module 104 backfills the data into the data list or field by:
calling the standard interface, and acquiring a corresponding data calling script according to the standard interface;
and acquiring corresponding data to be backfilled by using the data calling script, and distributing the data to be backfilled to the data list and the corresponding backfilling field.
For example, data in the room loan conditional interface calls the script: "xm" $ cust _ name "// request parameter acquisition, and the corresponding data to be backfilled can be acquired as a user name.
In detail, after the data backfilling module 104 backfills the data into the data list or field, the method further includes:
executing all preset actions set by a condition interface in the standard interface;
and after the execution of the preset action is finished, calling a storage interface and a submission interface in the standard interface to store and submit the backfilled data.
In the embodiment of the present invention, the preset action may be a corresponding processing action set according to actual needs, for example, when the backfilled data meets a preset requirement, the next interface may be saved, submitted, or called, and multiple interfaces are supported to be called sequentially, so that the problems of circular calling and multiple interfaces calling are solved; meanwhile, a return result can be set according to the condition of backfill data, and page skipping or frame popping prompt is carried out according to the return result, for example, if the interface returns abnormally, a prompt case can be set, namely the interface returns abnormally and please recall, and the prompt case can be clicked to trigger the recall again; the backfilled data can also be edited or set with non-editable authority, and whether the backfilled data is subjected to front-end display or not can be set.
Furthermore, the embodiment of the invention realizes the automatic backfilling of the data through the data calling script, and can realize the automatic calling of the whole process interface according to the execution action in the standard interface.
Fig. 7 is a schematic structural diagram of an electronic device implementing an automatic data backfilling method according to an embodiment of the present invention.
The electronic device 1 may include a processor 10, a memory 11, and a bus, and may further include a computer program, such as a data backfill program 12, stored in the memory 11 and operable on the processor 10.
The memory 11 includes at least one type of readable storage medium, which includes flash memory, removable hard disk, multimedia card, card-type memory (e.g., SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc. The memory 11 may in some embodiments be an internal storage unit of the electronic device 1, such as a removable hard disk of the electronic device 1. The memory 11 may also be an external storage device of the electronic device 1 in other embodiments, such as a plug-in mobile hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the electronic device 1. Further, the memory 11 may also include both an internal storage unit and an external storage device of the electronic device 1. The memory 11 may be used not only to store application software installed in the electronic device 1 and various types of data, such as codes of the data auto-backfill program 12, but also to temporarily store data that has been output or will be output.
The processor 10 may be composed of an integrated circuit in some embodiments, for example, a single packaged integrated circuit, or may be composed of a plurality of integrated circuits packaged with the same or different functions, including one or more Central Processing Units (CPUs), microprocessors, digital Processing chips, graphics processors, and combinations of various control chips. The processor 10 is a Control Unit (Control Unit) of the electronic device, connects various components of the whole electronic device by using various interfaces and lines, and executes various functions and processes data of the electronic device 1 by running or executing programs or modules (e.g., data auto-backfill program, etc.) stored in the memory 11 and calling data stored in the memory 11.
The bus may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is arranged to enable connection communication between the memory 11 and at least one processor 10 or the like.
Fig. 7 only shows an electronic device with components, and it will be understood by a person skilled in the art that the structure shown in fig. 7 does not constitute a limitation of the electronic device 1, and may comprise fewer or more components than shown, or a combination of certain components, or a different arrangement of components.
For example, although not shown, the electronic device 1 may further include a power supply (such as a battery) for supplying power to each component, and preferably, the power supply may be logically connected to the at least one processor 10 through a power management device, so as to implement functions of charge management, discharge management, power consumption management, and the like through the power management device. The power supply may also include any component of one or more dc or ac power sources, recharging devices, power failure detection circuitry, power converters or inverters, power status indicators, and the like. The electronic device 1 may further include various sensors, a bluetooth module, a Wi-Fi module, and the like, which are not described herein again.
Further, the electronic device 1 may further include a network interface, and optionally, the network interface may include a wired interface and/or a wireless interface (such as a WI-FI interface, a bluetooth interface, etc.), which are generally used for establishing a communication connection between the electronic device 1 and other electronic devices.
Optionally, the electronic device 1 may further comprise a user interface, which may be a Display (Display), an input unit (such as a Keyboard), and optionally a standard wired interface, a wireless interface. Alternatively, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, or the like. The display, which may also be referred to as a display screen or display unit, is suitable for displaying information processed in the electronic device 1 and for displaying a visualized user interface, among other things.
It is to be understood that the described embodiments are for purposes of illustration only and that the scope of the appended claims is not limited to such structures.
The data auto-backfill program 12 stored in the memory 11 of the electronic device 1 is a combination of instructions that, when executed in the processor 10, can implement:
acquiring an interface type set and a preset standard interface set, selecting one interface type from the interface type set, and acquiring a corresponding standard interface from the standard interface set according to the interface type;
generating a data calling script by using the interface type and the standard interface, and setting fields or list data to be backfilled by the standard interface;
acquiring a corresponding interface protocol by using the standard interface, calling an interface to be called according to the interface protocol and the data calling script, and acquiring data according to the interface to be called;
and backfilling the data into the data list or the field according to the data calling script.
Specifically, the specific implementation method of the processor 10 for the instruction may refer to the description of the relevant steps in the embodiments corresponding to fig. 1 to fig. 5, which is not repeated herein.
Further, the integrated modules/units of the electronic device 1, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. The computer readable storage medium may be volatile or non-volatile. For example, the computer-readable medium may include: any entity or device capable of carrying said computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM).
The present invention also provides a computer-readable storage medium, storing a computer program which, when executed by a processor of an electronic device, may implement:
acquiring an interface type set and a preset standard interface set, selecting one interface type from the interface type set, and acquiring a corresponding standard interface from the standard interface set according to the interface type;
generating a data calling script by using the interface type and the standard interface, and setting fields or list data to be backfilled by the standard interface;
acquiring a corresponding interface protocol by using the standard interface, calling an interface to be called according to the interface protocol and the data calling script, and acquiring data according to the interface to be called;
and backfilling the data into the data list or the field according to the data calling script.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules is only one logical functional division, and other divisions may be realized in practice.
The modules described as separate parts may or may not be physically separate, and parts displayed as modules may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
In addition, functional modules in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional module.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof.
The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference signs in the claims shall not be construed as limiting the claim concerned.
The block chain is a novel application mode of computer technologies such as distributed data storage, point-to-point transmission, a consensus mechanism, an encryption algorithm and the like. A block chain (Blockchain), which is essentially a decentralized database, is a series of data blocks associated by using a cryptographic method, and each data block contains information of a batch of network transactions, so as to verify the validity (anti-counterfeiting) of the information and generate a next block. The blockchain may include a blockchain underlying platform, a platform product service layer, an application service layer, and the like.
Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the system claims may also be implemented by one unit or means in software or hardware. The terms second, etc. are used to denote names, but not any particular order.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (10)

1. An automatic data backfilling method, which is characterized by comprising the following steps:
acquiring an interface type set and a preset standard interface set, selecting one interface type from the interface type set, and acquiring a corresponding standard interface from the standard interface set according to the interface type;
generating a data calling script by using the interface type and the standard interface, and setting fields or list data to be backfilled by the standard interface;
acquiring a corresponding interface protocol by using the standard interface, calling an interface to be called according to the interface protocol and the data calling script, and acquiring data according to the interface to be called;
and backfilling the data into the data list or the field according to the data calling script.
2. The method for automatically backfilling data according to claim 1, wherein said obtaining a corresponding standard interface from the standard interface set according to the interface type comprises:
extracting the keywords of the interface type by using a preset language processing algorithm;
and searching the standard interface set according to the keyword, and when the keyword is successfully matched with any one interface in the standard interface set, determining the successfully matched interface as the standard interface corresponding to the interface type.
3. The method for automatically backfilling data according to claim 1, wherein said generating a data call script using said interface type and said standard interface comprises:
acquiring preset type parameters and interface parameters according to the interface type;
and obtaining the data call script according to the interface parameter and the type parameter.
4. The method for automatically backfilling data according to claim 1, wherein the setting of the field or list data to be backfilled by the standard interface comprises:
matching corresponding backfill fields from a preset data set according to the keywords of the interface type;
and summarizing the backfill fields, or representing the backfill fields in a list form to obtain the data list.
5. The method for automatically backfilling data according to claim 1, wherein the step of obtaining a corresponding interface protocol by using the standard interface and calling an interface to be called according to the interface protocol and the data calling script comprises the steps of:
acquiring an interface identifier of the standard interface, and acquiring an interface protocol corresponding to the interface identifier through a preset mapping relation;
and acquiring an interface of a data provider by using the interface protocol and the data calling script to obtain the interface to be called.
6. The method for automatically backfilling data according to any one of claims 1 to 5, wherein the backfilling the data into the data list or field according to the data call script comprises:
calling the standard interface, and acquiring a corresponding data calling script according to the standard interface;
and acquiring corresponding data to be backfilled by using the data calling script, and distributing the data to be backfilled to the data list and the corresponding backfilling field.
7. The method of automatic data backfilling of claim 6, wherein after said backfilling of said data into said list or field of data, the method further comprises:
executing all preset actions set by a condition interface in the standard interface;
and after the execution of the preset action is finished, calling a storage interface and a submission interface in the standard interface to store and submit the backfilled data.
8. An automatic data backfilling device, which is characterized in that the device comprises:
the interface selection module is used for acquiring an interface type set and a preset standard interface set, selecting one interface type from the interface type set, and acquiring a corresponding standard interface from the standard interface set according to the interface type;
the script generating module is used for generating a data calling script by utilizing the interface type and the standard interface and setting fields or list data to be backfilled of the standard interface;
the interface calling module is used for acquiring a corresponding interface protocol by using the standard interface, calling an interface to be called according to the interface protocol and the data calling script, and acquiring data according to the interface to be called;
and the data backfilling module is used for backfilling the data into the data list or the field according to the data calling script.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform a method of automatically backfilling data according to any one of claims 1 to 7.
10. A computer-readable storage medium, in which a computer program is stored, which, when being executed by a processor, implements a method for automatic backfilling of data according to any one of claims 1 to 7.
CN202011289412.3A 2020-11-17 2020-11-17 Automatic data backfilling method and device, electronic equipment and computer storage medium Pending CN112380820A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011289412.3A CN112380820A (en) 2020-11-17 2020-11-17 Automatic data backfilling method and device, electronic equipment and computer storage medium
PCT/CN2021/123897 WO2022105494A1 (en) 2020-11-17 2021-10-14 Automatic data backfilling method and apparatus, electronic device, and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011289412.3A CN112380820A (en) 2020-11-17 2020-11-17 Automatic data backfilling method and device, electronic equipment and computer storage medium

Publications (1)

Publication Number Publication Date
CN112380820A true CN112380820A (en) 2021-02-19

Family

ID=74584946

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011289412.3A Pending CN112380820A (en) 2020-11-17 2020-11-17 Automatic data backfilling method and device, electronic equipment and computer storage medium

Country Status (2)

Country Link
CN (1) CN112380820A (en)
WO (1) WO2022105494A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022105494A1 (en) * 2020-11-17 2022-05-27 深圳壹账通智能科技有限公司 Automatic data backfilling method and apparatus, electronic device, and computer storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106557470B (en) * 2015-09-24 2020-06-12 腾讯科技(北京)有限公司 Data extraction method and device
US10229171B2 (en) * 2016-01-11 2019-03-12 International Business Machines Corporation Automatic discovery of analysis scripts for a dataset
CN109766262B (en) * 2018-12-15 2022-05-06 深圳壹账通智能科技有限公司 Interface data processing method, automatic testing method, device, equipment and medium
CN111026956B (en) * 2019-11-20 2021-03-23 拉扎斯网络科技(上海)有限公司 Data list processing method and device, electronic equipment and computer storage medium
CN111130864A (en) * 2019-12-13 2020-05-08 南京邮电大学 Method for collecting formatted network element data using template
CN112380820A (en) * 2020-11-17 2021-02-19 深圳壹账通智能科技有限公司 Automatic data backfilling method and device, electronic equipment and computer storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022105494A1 (en) * 2020-11-17 2022-05-27 深圳壹账通智能科技有限公司 Automatic data backfilling method and apparatus, electronic device, and computer storage medium

Also Published As

Publication number Publication date
WO2022105494A1 (en) 2022-05-27

Similar Documents

Publication Publication Date Title
CN111428458A (en) Universal report generation method and device and computer readable storage medium
CN112052242A (en) Data query method and device, electronic equipment and storage medium
CN112115152B (en) Data increment updating and inquiring method and device, electronic equipment and storage medium
CN113268500B (en) Service processing method and device and electronic equipment
CN112115145A (en) Data acquisition method and device, electronic equipment and storage medium
CN112883042A (en) Data updating and displaying method and device, electronic equipment and storage medium
CN114881616A (en) Business process execution method and device, electronic equipment and storage medium
CN112650909A (en) Product display method and device, electronic equipment and storage medium
CN114185895A (en) Data import and export method and device, electronic equipment and storage medium
CN112685117A (en) System language internationalization maintenance method, device and computer readable storage medium
CN113434542B (en) Data relationship identification method and device, electronic equipment and storage medium
CN112380820A (en) Automatic data backfilling method and device, electronic equipment and computer storage medium
CN112948380A (en) Data storage method and device based on big data, electronic equipment and storage medium
CN111985194A (en) Data storage method and device, electronic equipment and storage medium
CN114626352B (en) Report automatic generation method, device, computer equipment and storage medium
CN114611477A (en) Design recommendation method and device for data table, electronic equipment and medium
CN114356379A (en) Backup-based service upgrading method, device, equipment and storage medium
CN114840388A (en) Data monitoring method and device, electronic equipment and storage medium
CN112686759A (en) Account checking monitoring method, device, equipment and medium
CN112527655A (en) Software version quality abnormity detection method and device, electronic equipment and storage medium
CN113515265A (en) Site configuration method, device, equipment and computer readable storage medium
CN112527443A (en) Prompt box display method and device, electronic equipment and computer readable storage medium
CN113362040B (en) Approval chain configuration updating method and device, electronic equipment and storage medium
CN112637280B (en) Data transmission method, device, electronic equipment and storage medium
CN114676124B (en) Data field difference solving method, device, equipment and medium based on configuration

Legal Events

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