CN111209324B - Method and device for storing data, storage medium and electronic equipment - Google Patents

Method and device for storing data, storage medium and electronic equipment Download PDF

Info

Publication number
CN111209324B
CN111209324B CN201911415002.6A CN201911415002A CN111209324B CN 111209324 B CN111209324 B CN 111209324B CN 201911415002 A CN201911415002 A CN 201911415002A CN 111209324 B CN111209324 B CN 111209324B
Authority
CN
China
Prior art keywords
type field
input
data
target
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201911415002.6A
Other languages
Chinese (zh)
Other versions
CN111209324A (en
Inventor
杜彦亮
梁彦鹏
马芹
郝晓静
杨东奥
牛雅琦
康喆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aisino Corp
Original Assignee
Aisino Corp
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 Aisino Corp filed Critical Aisino Corp
Priority to CN201911415002.6A priority Critical patent/CN111209324B/en
Publication of CN111209324A publication Critical patent/CN111209324A/en
Application granted granted Critical
Publication of CN111209324B publication Critical patent/CN111209324B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/252Integrating or interfacing systems involving database management systems between a Database Management System and a front-end application
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2457Query processing with adaptation to user needs

Landscapes

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

Abstract

The present disclosure relates to a method, an apparatus, a storage medium, and an electronic device for storing data, the method comprising: receiving a data storage request input by a user; determining a target database from a plurality of databases according to the database identification; acquiring a target input template corresponding to the target database from a plurality of data input templates; displaying the target input template to the user so that the user inputs the data to be stored to the target input template according to the target input template; after receiving the confirmation storage request sent by the user, the data to be stored in the target input template is stored in the target database, and the user can replace WebService to store data in the database of the application system by inputting the data to be stored in the target input template and then storing the data to be stored in the target database, so that the problem that later maintenance cost is high due to the use of WebService is avoided, and the cost is saved.

Description

Method and device for storing data, storage medium and electronic equipment
Technical Field
The present disclosure relates to the field of computer technology, and in particular, to a method, an apparatus, a storage medium, and an electronic device for storing data.
Background
At present, databases of different application systems inside an enterprise are usually called by WebService. For example, data is obtained from or stored in a database of the application system by WebService.
However, when WebService of any application system database changes, the database WebService of other application systems that call the database data of the application system also needs to be changed, and the format of the call data also changes, resulting in higher maintenance cost of the later database.
Disclosure of Invention
The disclosure aims to provide a method, a device, a storage medium and an electronic device for storing data, so as to overcome the problem that the use of WebService leads to higher maintenance cost in later period.
To achieve the above object, the present disclosure provides a method of storing data according to a first aspect, including:
receiving a data storage request input by a user, wherein the data storage request comprises a database identifier to which data to be stored are to be stored;
determining a target database from a plurality of databases according to the database identification, wherein different databases correspond to different data input templates;
acquiring a target input template corresponding to the target database from a plurality of data input templates;
displaying the target input template to the user so that the user inputs the data to be stored to the target input template according to the target input template;
and after receiving a confirmation storage request sent by the user, storing the data to be stored in the target input template into the target database.
Optionally, before receiving a data storage request sent by a user, the data input template is generated by:
receiving a template generation instruction input by the user, wherein the template generation instruction comprises the database identifier;
acquiring source data corresponding to the database according to the database identifier;
and generating the data input template according to the source data.
Optionally, the source data includes an input type field, and the generating the data input template according to the source data includes:
presenting the input type field to the user so that the user determines a target type field from the input type field;
and acquiring the target type field determined by the user, and generating the data input template according to the target type field, wherein the data input template comprises the target type field.
Optionally, the source data includes an input type field, and the generating the data input template according to the source data includes:
receiving a field newly-added request message input by the user, wherein the newly-added request message comprises the database identifier and a newly-added type field input by the user;
presenting the input type field and the newly added type field to the user so that the user can determine a target type field from the input type field and the newly added type field;
and acquiring the target type field determined by the user, and generating the data input template according to the target type field, wherein the data input template comprises the target type field.
A second aspect of the present disclosure provides an apparatus for storing data, comprising:
the storage request receiving module is used for receiving a data storage request input by a user, wherein the data storage request comprises a database identifier to which data to be stored are to be stored;
the target database determining module is used for determining a target database from a plurality of databases according to the database identification, and different databases correspond to different data input templates;
the target input template determining module is used for acquiring target input templates corresponding to the target database from a plurality of data input templates;
the target input template display module is used for displaying the target input template to the user so that the user can input the data to be stored into the target input template according to the target input template;
and the data storage module to be stored is used for storing the data to be stored in the target input template to the target database after receiving the confirmation storage request sent by the user.
Optionally, the apparatus further comprises:
the data input template generation module is used for:
receiving a template generation instruction input by the user, wherein the template generation instruction comprises the database identifier;
acquiring source data corresponding to the database according to the database identifier;
and generating the data input template according to the source data.
Optionally, the source data includes an input type field, and the data input template generating module is configured to:
presenting the input type field to the user so that the user determines a target type field from the input type field;
and acquiring the target type field determined by the user, and generating the data input template according to the target type field, wherein the data input template comprises the target type field.
Optionally, the source data includes an input type field, and the data input template generating module is configured to:
receiving a field newly-added request message input by the user, wherein the newly-added request message comprises the database identifier and a newly-added type field input by the user;
presenting the input type field and the newly added type field to the user so that the user can determine a target type field from the input type field and the newly added type field;
and acquiring the target type field determined by the user, and generating the data input template according to the target type field, wherein the data input template comprises the target type field.
A third aspect of the present disclosure provides a computer readable storage medium having stored thereon a computer program which when executed by a processor performs the steps of the method of any of the first aspects.
A fourth aspect of the present disclosure provides an electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to implement the steps of the method of any of the first aspects.
Through the technical scheme, the data storage request input by the user can be received; determining a target database from a plurality of databases according to the database identification; acquiring a target input template corresponding to the target database from a plurality of data input templates; displaying the target input template to the user so that the user inputs the data to be stored to the target input template according to the target input template; after receiving the confirmation storage request sent by the user, the data to be stored in the target input template is stored in the target database, and the user can replace WebService to store data in the database of the application system by inputting the data to be stored in the target input template and then storing the data to be stored in the target database, so that the problem that later maintenance cost is high due to the use of WebService is avoided, different databases correspond to different data input templates, and the user can store different data to be stored in corresponding different databases by inputting the data to the different data input templates, so that the data can be stored in the database of different application systems instead of WebService, and further, the later maintenance of WebService is avoided, and the cost is greatly saved.
Additional features and advantages of the present disclosure will be set forth in the detailed description which follows.
Drawings
The accompanying drawings are included to provide a further understanding of the disclosure, and are incorporated in and constitute a part of this specification, illustrate the disclosure and together with the description serve to explain, but do not limit the disclosure. In the drawings:
FIG. 1 is a flow chart of a method of storing data provided in accordance with an exemplary embodiment;
FIG. 2 is a flowchart illustrating a method of generating a data entry template, according to an example embodiment;
FIG. 3 is a flowchart illustrating another method of generating a data entry template, according to an example embodiment;
FIG. 4 is a block diagram illustrating an apparatus for storing data according to an exemplary embodiment;
FIG. 5 is a block diagram illustrating a second type of apparatus for storing data according to an exemplary embodiment;
fig. 6 is a block diagram of an electronic device, according to an example embodiment.
Detailed Description
Specific embodiments of the present disclosure are described in detail below with reference to the accompanying drawings. It should be understood that the detailed description and specific examples, while indicating and illustrating the disclosure, are not intended to limit the disclosure.
Fig. 1 is a flow chart of a method of storing data provided in accordance with an exemplary embodiment. As shown, the method includes:
s101, receiving a data storage request input by a user, wherein the data storage request comprises a database identifier to which data to be stored are to be stored.
For example, after the user clicks the "order data import" button on the page, the order data storage request entered by the user may be received. The data storage request includes a database identification "order" to which the order data to be stored is to be stored.
For another example, after the user clicks the "invoice data import" button on the page, the invoice data storage request input by the user may be received. The data storage request includes a database identification "invoice" to which invoice data to be stored is to be stored.
S102, determining a target database from a plurality of databases according to the database identification, wherein different databases correspond to different data input templates;
s103, acquiring a target input template corresponding to the target database from a plurality of data input templates.
For example, when the data storage request input by the user includes that the database to which the order data to be stored is identified as an "order", determining that the target database is a database of the order management system from a plurality of databases according to the database identification "order", and obtaining a target input template corresponding to the database of the order management system from a plurality of data input templates, where the target input template is the order input template.
For another example, when the data storage request input by the user includes that the database to which the order data to be stored is identified as an "invoice", determining that the target database is a database of the invoice management system from a plurality of databases according to the database identification "invoice", and obtaining a target input template corresponding to the database of the invoice management system from a plurality of data input templates, where the target input template is an invoice input template.
Illustratively, in the present embodiment, the data input template is an Excel format data input template.
S104, displaying the target input template to the user so that the user can input the data to be stored into the target input template according to the target input template.
Illustratively, after the target input template is obtained, the target input template is presented to the user. In this embodiment, the target input template is an Excel format data input template.
In this embodiment, the target input template includes a type field of data to be input. For example, when the target input template is an order input template, the target input template includes type fields for the order data to be stored, such as type fields for the date, amount, code, customer, etc. of the order.
For another example, when the target input template is an invoice input template, the target input template includes type fields of order data to be stored, such as type fields of invoice head-up, date, amount, code, identification number, and the like.
Illustratively, the target input template also includes prompt information for the type field. For example, the reminder information for the date type field is in the format of "XXXX-XX-XX" for date.
For another example, the prompt message of the client type field is "please enter a client code" or "please enter a client name".
Further, the user can input the data to be stored corresponding to the type field according to the type field and the prompt information of the type field on the target input template.
S105, after receiving the confirmation storage request sent by the user, storing the data to be stored in the target input template into the target database.
Illustratively, the user sends a confirm storage request after the target template inputs the data to be stored. For example, after the user inputs the date, amount, code, and customer waiting for data to be stored of one or more orders on the order input template, the user clicks the "import" button to send a confirmation storage request of the data to be stored of the first or more orders. And after receiving the confirmation storage request sent by the user, storing the data to be stored in the one or more order input templates into a database of an order management system.
For another example, after the user inputs the head-up, date, amount, code and identification number of one or more invoices to wait for storing data on the invoice input template, clicking the "import" button can send a confirmation storage request of the data to be stored of the one or more invoices. And after receiving the confirmation storage request sent by the user, storing the data to be stored in the one or more invoice input templates into a database of an invoice management system.
By adopting the scheme, the data storage request input by the user can be received; determining a target database from a plurality of databases according to the database identification; acquiring a target input template corresponding to the target database from a plurality of data input templates; displaying the target input template to the user so that the user inputs the data to be stored to the target input template according to the target input template; after receiving the confirmation storage request sent by the user, the data to be stored in the target input template is stored in the target database, and the user can replace WebService to store data in the database of the application system by inputting the data to be stored in the target input template and then storing the data to be stored in the target database, so that the problem that later maintenance cost is high due to the use of WebService is avoided, different databases correspond to different data input templates, and the user can store different data to be stored in corresponding different databases by inputting the data to the different data input templates, so that the user can replace the data to be stored in the database of different application systems by WebService, and further, the later maintenance of the WebService is avoided, and the cost is greatly saved.
In the following, in connection with specific embodiments, a description will be given of how to generate a data input template before receiving a data storage request sent by a user. FIG. 2 is a flowchart illustrating a method of generating a data entry template, according to an example embodiment. As shown in fig. 2, the method includes:
s201, receiving a template generation instruction input by a user, wherein the template generation instruction comprises a database identifier.
For example, after clicking the "new order data import template" button on the page, the user may receive the template generation instruction of the order data input by the user. The template generation instructions for the order data include a database identification "order".
For another example, after the user clicks the "new invoice data import template" button on the page, the template generation instruction of the invoice data input by the user can be received. The template generation instructions for the invoice data include a database identification "invoice".
S202, acquiring source data corresponding to the database according to the database identifier.
For example, when the received user template generation instruction includes a database identifier "order", source data corresponding to a database of the order management system is acquired according to the database identifier "order".
For another example, when the received user template generation instruction includes a database identifier "invoice", source data corresponding to a database of the invoice management system is obtained according to the database identifier "invoice".
Illustratively, the source data includes an input type field. For example, the source data corresponding to the database of the order management system includes input type fields for the date, amount, code, customer, remark, name, type, etc. of the order.
For another example, the source data corresponding to the database of the invoice management system includes input type fields of the invoice such as head-up, date, amount, code, identification number, remark, name, type, etc.
S203, generating a data input template according to the source data.
Illustratively, after the source data is obtained, an input type field included in the source data is presented to the user for the user to determine a target type field from the input type field.
Further, the target type field determined by the user is obtained, and a data input template is generated according to the target type field, wherein the data input template comprises the target type field.
For example, after source data corresponding to a database of an order management system is obtained, input type fields such as date, amount, code, customer, remark, name, type and the like of an order included in the source data are displayed to a user, so that the user can determine a target type field from the source data corresponding to the database of the order management system. For example, if the target type field determined by the user according to the source data is date, amount, code, and customer, an order data input template is generated according to the date, amount, code, and customer target type field.
For another example, after source data corresponding to the database of the invoice management system is obtained, input type fields of the invoice including head-up, date, amount, code, identification number, remark, name, type and the like are displayed to the user, so that the user can determine the target type field from the source data corresponding to the database of the invoice management system. For example, if the target type field determined by the user according to the source data is the head-up, date, amount, code and identification number, an invoice data input template is generated according to the target type field of the head-up, date, amount, code and identification number.
Further, if there is a correspondence between the preset input type field and the sub-field of the input type field, the target type field may be determined according to the correspondence between the preset input type field and the sub-field of the input type field. For example, the input type field of a client includes two subfields, a client name and a client code. When the user determines the target type field from the client input type field, the user is presented with the client name and the client code two subfields so that the user determines the target type field from the client input type field. When the user selects the client code as the target type field, the client type field and the prompt information of the client type field can be generated in the data input template, for example, "please input the client code", or the client code type field can be directly generated in the data input template.
By adopting the scheme, the template generation instruction input by the user can be received, and the template generation instruction comprises a database identifier; acquiring source data corresponding to the database according to the database identifier; the data input template is generated according to the source data, and the data can be stored in a database of the application system by replacing WebService with the data input template, so that the problem that later maintenance cost is high due to the use of WebService is avoided, and the cost is saved.
In the following, with reference to specific embodiments, a description will be given of how to generate a data input template when no user-determined target type field exists in the source data. Fig. 3 is a flowchart of another method of generating a data input template, provided in accordance with an exemplary embodiment. As shown in fig. 3, the method includes:
s301, receiving a field addition request message input by a user, wherein the field addition request message comprises the database identifier and an addition type field input by the user.
For example, when a user wants to add a type field in a data entry template corresponding to the order management system's database, a field add request message for the order may be entered, the add request message including the order management system database identification and the user entered add type field (address).
For another example, when a user wants to add a type field to a data entry template corresponding to a database of an invoice management system, a field add request message for an invoice may be entered, the add request message including the invoice management system database identification and the added type field (address) entered by the user.
S302, the input type field and the newly added type field are displayed to the user, so that the user can determine the target type field from the input type field and the newly added type field.
For example, when the new request message input by the user is received and includes the identification of the order management system database and the new type field (address) input by the user, the input type field including date, amount, code, customer, remark, name, type, etc. of the source data corresponding to the order management system database and the new type field (address) are presented to the user, so that the user determines the target type field from the input type field and the new type field.
For example, when the new request message input by the user is received and includes the database identifier of the invoice management system and the new type field (address) input by the user, input type fields including head-up, date, amount, code, identification number, remarks, name, type and the like included in the source data corresponding to the database of the invoice management system and the new type field (address) are displayed to the user, so that the user determines a target type field from the input type field and the new type field.
Likewise, the target type field may also be determined according to a corresponding relationship between a preset input type field and a subfield of the input type field, which is not described herein.
S303, acquiring a target type field determined by the user, and generating the data input template according to the target type field, wherein the data input template comprises the target type field.
S303 provided in this embodiment is similar to S203 provided in the embodiment of fig. 2, and will not be described here again.
Through the scheme, the field newly-added request message input by the user can be received, and the newly-added request message comprises the database identifier and the newly-added type field input by the user; presenting the input type field and the newly added type field to the user so that the user can determine a target type field from the input type field and the newly added type field; the target type field determined by the user is obtained, the data input template is generated according to the target type field, the data input template comprises the target type field, and data can be stored in a database of an application system through the data input template instead of WebService, so that the problem that later maintenance cost is high due to the use of WebService is avoided, and the cost is saved.
Fig. 4 is a block diagram illustrating an apparatus for storing data according to an exemplary embodiment. As shown in fig. 4, the apparatus 40 includes:
a storage request receiving module 401, configured to receive a data storage request input by a user, where the data storage request includes a database identifier to which data to be stored is to be stored;
a target database determining module 402, configured to determine a target database from a plurality of databases according to the database identifier, where different databases correspond to different data input templates;
a target input template determining module 403, configured to obtain a target input template corresponding to the target database from a plurality of the data input templates;
a target input template presentation module 404, configured to present the target input template to the user, so that the user inputs the data to be stored into the target input template according to the target input template;
and the data storage module to be stored 405 is configured to store the data to be stored in the target input template to the target database after receiving the confirmation storage request sent by the user.
Alternatively, fig. 5 is a block diagram of another apparatus for storing data according to the embodiment of fig. 4. As shown in fig. 5, the apparatus 40 further includes:
a data input template generation module 406 for:
receiving a template generation instruction input by the user, wherein the template generation instruction comprises the database identifier;
acquiring source data corresponding to the database according to the database identifier;
the data input template is generated from the source data.
Optionally, the source data includes an input type field, and the data input template generation module 406 is configured to:
presenting the input type field to the user so that the user determines a target type field from the input type field;
and acquiring the target type field determined by the user, and generating the data input template according to the target type field, wherein the data input template comprises the target type field.
Optionally, the source data includes an input type field, and the data input template generation module 406 is configured to:
receiving a field newly-added request message input by the user, wherein the newly-added request message comprises the database identifier and a newly-added type field input by the user;
presenting the input type field and the newly added type field to the user so that the user can determine a target type field from the input type field and the newly added type field;
and acquiring a target type field determined by the user, and generating the data input template according to the target type field, wherein the data input template comprises the target type field.
By adopting the device, the data storage request input by a user can be received; determining a target database from a plurality of databases according to the database identification; acquiring a target input template corresponding to the target database from a plurality of data input templates; displaying the target input template to the user so that the user inputs the data to be stored to the target input template according to the target input template; after receiving the confirmation storage request sent by the user, the data to be stored in the target input template is stored in the target database, and the user can replace WebService to store data in the database of the application system by inputting the data to be stored in the target input template and then storing the data to be stored in the target database, so that the problem that later maintenance cost is high due to the use of WebService is avoided, different databases correspond to different data input templates, and the user can store different data to be stored in corresponding different databases by inputting the data to the different data input templates, so that the user can replace the data to be stored in the database of different application systems by WebService, and further, the later maintenance of the WebService is avoided, and the cost is greatly saved.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
Fig. 6 is a block diagram of an electronic device 600, according to an example embodiment. Referring to fig. 6, the electronic device 600 includes a processor 622, which may be one or more in number, and a memory 632 for storing computer programs executable by the processor 622. The computer program stored in memory 632 may include one or more modules each corresponding to a set of instructions. Further, the processor 622 may be configured to execute the computer program to perform the method of storing data described above.
In addition, the electronic device 600 may further include a power supply component 626 and a communication component 650, the power supply component 626 may be configured to perform power management of the electronic device 600, and the communication component 650 may be configured to enable communication of the electronic device 600, e.g., wired or wireless communication. In addition, the electronic device 600 may also include an input/output (I/O) interface 658. The electronic device 600 may operate based on an operating system stored in the memory 632, such as Windows Server, mac OS XTM, unixTM, linuxTM, and the like.
In another exemplary embodiment, a computer readable storage medium comprising program instructions which, when executed by a processor, implement the steps of the method of storing data described above is also provided. For example, the computer readable storage medium may be the memory 632 described above that includes program instructions that are executable by the processor 622 of the electronic device 600 to perform the method of storing data described above.
In another exemplary embodiment, a computer program product is also provided, comprising a computer program executable by a programmable apparatus, the computer program having code portions for performing the above-described method of storing data when executed by the programmable apparatus.
The preferred embodiments of the present disclosure have been described in detail above with reference to the accompanying drawings, but the present disclosure is not limited to the specific details of the above embodiments, and various simple modifications may be made to the technical solutions of the present disclosure within the scope of the technical concept of the present disclosure, and all the simple modifications belong to the protection scope of the present disclosure. In addition, the specific features described in the above embodiments may be combined in any suitable manner without contradiction. The various possible combinations are not described further in this disclosure in order to avoid unnecessary repetition.
Moreover, any combination between the various embodiments of the present disclosure is possible as long as it does not depart from the spirit of the present disclosure, which should also be construed as the disclosure of the present disclosure.

Claims (8)

1. A method of storing data, comprising:
receiving a data storage request input by a user, wherein the data storage request comprises a database identifier to which data to be stored are to be stored;
determining a target database from a plurality of databases according to the database identification, wherein different databases correspond to different data input templates;
acquiring a target input template corresponding to the target database from a plurality of data input templates;
displaying the target input template to the user so that the user inputs the data to be stored to the target input template according to the target input template;
after receiving a confirmation storage request sent by the user, storing the data to be stored in the target input template into the target database;
before receiving a data storage request sent by a user, the data input template is generated by:
receiving a template generation instruction input by the user, wherein the template generation instruction comprises the database identifier;
acquiring source data corresponding to the database according to the database identifier;
generating the data input template according to the source data;
the source data includes an input type field, and the generating the data input template from the source data includes:
under the condition that the corresponding relation between the preset input type field and the sub-field of the input type field exists, determining a target type field according to the corresponding relation between the preset input type field and the sub-field of the input type field, and generating the data input template according to the target type field, wherein the data input template comprises the target type field.
2. The method of claim 1, wherein the source data includes an input type field, and wherein generating the data input template from the source data comprises:
presenting the input type field to the user so that the user determines a target type field from the input type field;
and acquiring the target type field determined by the user, and generating the data input template according to the target type field, wherein the data input template comprises the target type field.
3. The method of claim 1, wherein the source data includes an input type field, and wherein generating the data input template from the source data comprises:
receiving a field newly-added request message input by the user, wherein the newly-added request message comprises the database identifier and a newly-added type field input by the user;
presenting the input type field and the newly added type field to the user so that the user can determine a target type field from the input type field and the newly added type field;
and acquiring the target type field determined by the user, and generating the data input template according to the target type field, wherein the data input template comprises the target type field.
4. An apparatus for storing data, comprising:
the storage request receiving module is used for receiving a data storage request input by a user, wherein the data storage request comprises a database identifier to which data to be stored are to be stored;
the target database determining module is used for determining a target database from a plurality of databases according to the database identification, and different databases correspond to different data input templates;
the target input template determining module is used for acquiring target input templates corresponding to the target database from a plurality of data input templates;
the target input template display module is used for displaying the target input template to the user so that the user can input the data to be stored into the target input template according to the target input template;
the data storage module to be stored is used for storing the data to be stored in the target input template to the target database after receiving the confirmation storage request sent by the user;
the apparatus further comprises:
the data input template generation module is used for receiving a template generation instruction input by the user, and the template generation instruction comprises the database identifier; acquiring source data corresponding to the database according to the database identifier; generating the data input template according to the source data;
the data input template generation module is configured to determine a target type field according to a corresponding relationship between a preset input type field and a subfield of the input type field when a corresponding relationship between the preset input type field and a subfield of the input type field exists, and generate the data input template according to the target type field, where the data input template includes the target type field.
5. The apparatus of claim 4, wherein the source data comprises an input type field, and wherein the data input template generation module is to:
presenting the input type field to the user so that the user determines a target type field from the input type field;
and acquiring the target type field determined by the user, and generating the data input template according to the target type field, wherein the data input template comprises the target type field.
6. The apparatus of claim 4, wherein the source data comprises an input type field, and wherein the data input template generation module is to:
receiving a field newly-added request message input by the user, wherein the newly-added request message comprises the database identifier and a newly-added type field input by the user;
presenting the input type field and the newly added type field to the user so that the user can determine a target type field from the input type field and the newly added type field;
and acquiring the target type field determined by the user, and generating the data input template according to the target type field, wherein the data input template comprises the target type field.
7. A computer readable storage medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the steps of the method of any of claims 1 to 3.
8. An electronic device, comprising:
a memory having a computer program stored thereon;
a processor for executing the computer program in the memory to carry out the steps of the method of any one of claims 1 to 3.
CN201911415002.6A 2019-12-31 2019-12-31 Method and device for storing data, storage medium and electronic equipment Active CN111209324B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911415002.6A CN111209324B (en) 2019-12-31 2019-12-31 Method and device for storing data, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911415002.6A CN111209324B (en) 2019-12-31 2019-12-31 Method and device for storing data, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN111209324A CN111209324A (en) 2020-05-29
CN111209324B true CN111209324B (en) 2023-11-28

Family

ID=70787873

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911415002.6A Active CN111209324B (en) 2019-12-31 2019-12-31 Method and device for storing data, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN111209324B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246651A (en) * 2012-02-02 2013-08-14 金蝶软件(中国)有限公司 Method and system for data inputting
CN105808375A (en) * 2014-12-31 2016-07-27 航天信息软件技术有限公司 Data import method and device
CN107609154A (en) * 2017-09-23 2018-01-19 浪潮软件集团有限公司 Method and device for processing multi-source heterogeneous data
CN108595597A (en) * 2018-04-19 2018-09-28 平安科技(深圳)有限公司 Data lead-in method, device, computer equipment and storage medium
CN109657225A (en) * 2018-09-27 2019-04-19 深圳壹账通智能科技有限公司 Data integration method, device, terminal and storage medium
CN110162300A (en) * 2019-04-16 2019-08-23 中国平安财产保险股份有限公司 A kind of insurance business development approach and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9690755B2 (en) * 2013-03-14 2017-06-27 Goformz, Inc. System and method for converting paper forms to an electronic format
CN106534356B (en) * 2016-12-12 2018-05-22 腾讯科技(深圳)有限公司 Template data processing, request template data, the method and apparatus of template data displaying

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103246651A (en) * 2012-02-02 2013-08-14 金蝶软件(中国)有限公司 Method and system for data inputting
CN105808375A (en) * 2014-12-31 2016-07-27 航天信息软件技术有限公司 Data import method and device
CN107609154A (en) * 2017-09-23 2018-01-19 浪潮软件集团有限公司 Method and device for processing multi-source heterogeneous data
CN108595597A (en) * 2018-04-19 2018-09-28 平安科技(深圳)有限公司 Data lead-in method, device, computer equipment and storage medium
CN109657225A (en) * 2018-09-27 2019-04-19 深圳壹账通智能科技有限公司 Data integration method, device, terminal and storage medium
CN110162300A (en) * 2019-04-16 2019-08-23 中国平安财产保险股份有限公司 A kind of insurance business development approach and device

Also Published As

Publication number Publication date
CN111209324A (en) 2020-05-29

Similar Documents

Publication Publication Date Title
CN109614100B (en) Page display method, device, server, front end and storage medium
WO2019134340A1 (en) Salary calculation method, application server, and computer readable storage medium
CN111125496B (en) Price query method, device and system
CN106055612B (en) Data paging display method and terminal equipment
CN105184943A (en) Appointment number arranging method and device
CN111159211B (en) Order information generation method, device, system, computer equipment and storage medium
CN112199007A (en) Menu display method and device, electronic equipment and storage medium
CN112631911A (en) Automatic testing method and device, computer equipment and storage medium
CN114564294A (en) Intelligent service arranging method and device, computer equipment and storage medium
CN113076729A (en) Method and system for importing report, readable storage medium and electronic equipment
CN105302709A (en) Test data generating method and device
CN114296737A (en) Service code generation method, device, equipment and storage medium
CN113077139A (en) Process configuration method, device, equipment and computer readable storage medium
CN111209324B (en) Method and device for storing data, storage medium and electronic equipment
CN112001707A (en) Business workflow generation method and system based on business data
CN111199390A (en) Invoice reimbursement method and device, storage medium and electronic equipment
CN108196921B (en) Document development method and device, computer equipment and storage medium
US20230049322A1 (en) Information processing method, device, system, and computer-readable storage medium
CN111506644B (en) Application data processing method and device and electronic equipment
CN112328450A (en) Data monitoring method and device, computer equipment and storage medium
CN110598106B (en) Method and device for pushing resource information, storage medium and electronic equipment
CN110457156B (en) Differential data processing method, device, equipment and storage medium
CN113128187B (en) Form generation method, device and system
CN110443466B (en) Data processing method and device based on risk management system and electronic equipment
CN111126015B (en) Report form compiling method and equipment

Legal Events

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