CN116483476A - Data source configuration method and device, electronic equipment and storage medium - Google Patents

Data source configuration method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116483476A
CN116483476A CN202310756575.5A CN202310756575A CN116483476A CN 116483476 A CN116483476 A CN 116483476A CN 202310756575 A CN202310756575 A CN 202310756575A CN 116483476 A CN116483476 A CN 116483476A
Authority
CN
China
Prior art keywords
configuration
data
content
interface
item
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.)
Granted
Application number
CN202310756575.5A
Other languages
Chinese (zh)
Other versions
CN116483476B (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.)
Beijing Ying'an Technology Co ltd
Original Assignee
Beijing Ying'an Technology Co ltd
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 Beijing Ying'an Technology Co ltd filed Critical Beijing Ying'an Technology Co ltd
Priority to CN202310756575.5A priority Critical patent/CN116483476B/en
Publication of CN116483476A publication Critical patent/CN116483476A/en
Application granted granted Critical
Publication of CN116483476B publication Critical patent/CN116483476B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files
    • G06F9/4451User profiles; Roaming
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces

Abstract

The invention relates to the technical field of data processing, and provides a data source configuration method, a data source configuration device, electronic equipment and a storage medium, wherein the data source configuration method comprises the following steps: responding to a first configuration operation of a data source item in a primary configuration interface, acquiring configuration content of the data source item, and generating a binding relation between the configuration content and a second configuration operation on the primary configuration interface; responding to a second configuration operation of the data configuration items in the primary configuration interface, and generating a secondary configuration interface according to the interface characteristics and the content characteristics; responding to a third configuration operation of the data content item in the secondary configuration interface, and acquiring configuration content corresponding to the data configuration item; the configuration content of the data source items and the configuration content of the data configuration items are stored, and the associated configuration operation is carried out on the data source items and the data configuration items, so that the configuration process of the data sources can be realized, the configuration method is suitable for data receiving work under different data sources, the working efficiency is improved, and the configuration method is fast suitable for the processing scene of multiple data sources.

Description

Data source configuration method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of data processing technologies, and in particular, to a method and apparatus for configuring a data source, an electronic device, and a storage medium.
Background
Data sources can be categorized into data sources internal to the enterprise and data sources external to the enterprise. When an enterprise accesses internal and external data, the enterprise is faced with the problems of non-uniform data sources, non-uniform data formats, non-uniform data standards and the like. Enterprises are generally realized by means of hard coding through interface standards for normalizing internal and external data. However, with the change of service requirements, the internal and external data sources also change frequently, and if a complete mechanism for processing service changes is not provided, the change of the data sources each time and the source channels of the data in different service scenes cannot be unified, so that enterprises are prevented from rapidly responding to the service requirements of the market.
Disclosure of Invention
Aiming at the problems existing in the prior art, the invention provides a data source configuration method, a data source configuration device, electronic equipment and a storage medium.
In a first aspect, the present invention provides a method for configuring a data source, including:
responding to a first configuration operation of a data source item in a primary configuration interface, acquiring configuration content of the data source item, and generating a binding relation between the configuration content and a second configuration operation on the primary configuration interface; the configuration content comprises interface characteristics and content characteristics;
responding to a second configuration operation of the data configuration items in the primary configuration interface, and generating a secondary configuration interface according to the interface characteristics and the content characteristics; the types of the secondary configuration interface comprise a selection type and an addition type;
responding to a third configuration operation of a data content item in the secondary configuration interface, and acquiring configuration content corresponding to the data configuration item;
and storing the configuration content of the data source item and the configuration content of the data configuration item.
In one embodiment, the first configuration operation includes: invoking a first list, wherein the first list comprises data source tag content, and determining target tag content in the first list;
correspondingly, acquiring the configuration content of the data source item comprises the following steps:
identifying the target tag content to obtain identification information; the content of the identification information for characterization comprises: overall screening of data, or condition screening, and data format;
determining interface characteristics and content characteristics according to the identification information; the interface features characterize the type of the secondary configuration interface; the content features characterize the content layout on the secondary configuration interface.
In one embodiment, the type of the secondary configuration interface is a selection type, and accordingly, the content features include a first layout area and a second layout area, wherein the first layout area is an area for displaying data in a data list manner, and the second layout area is an area for displaying data in a hook manner;
accordingly, the third configuration operation includes: clicking a data row or a data column in the data list in the first layout area; the data in the second layout area is checked;
correspondingly, acquiring the configuration content corresponding to the data configuration item comprises the following steps:
and acquiring a call address corresponding to the data based on the checked data in the second layout area, and taking the call address as the configuration content of the data configuration item.
In one embodiment, the type of the secondary configuration interface is additive, and correspondingly, the content features comprise a third layout area, wherein the third layout area is an area for displaying data screening conditions in an information adding manner;
accordingly, the third configuration operation includes: responding to an input operation in the third layout area;
correspondingly, acquiring the configuration content corresponding to the data configuration item comprises the following steps:
and acquiring input content corresponding to the input operation, and taking the input content as the configuration content of the data configuration item.
In one embodiment, the method further comprises:
responding to a fourth configuration operation of a data rule item in the primary configuration interface, acquiring a rule acquisition type, and generating a tertiary configuration interface according to the rule acquisition type;
and responding to a fifth configuration operation of the rule configuration area in the three-level configuration interface, and acquiring configuration content corresponding to the data rule item.
In one embodiment, the rule acquisition type is an edit type, and accordingly, the tertiary configuration interface includes an edit interface;
accordingly, the fifth configuration operation includes: acquiring editing content on the editing interface, and identifying the editing content to obtain an identification field; according to the identification field matching code paragraphs, the code paragraphs are displayed on the editing interface, wherein the code paragraphs are marked with blank positions to be filled with codes; acquiring the supplementing content on the blank position;
correspondingly, acquiring the configuration content corresponding to the data rule item comprises the following steps:
integrating the editing content, the code paragraph and the supplementing content as configuration content corresponding to the data rule item.
In one embodiment, the method further comprises:
calling a fourth-level configuration interface in response to a sixth configuration operation of the data field items in the first-level configuration interface;
and responding to a sixth configuration operation of a field configuration area in the four-level configuration interface, and acquiring configuration content corresponding to the data field item.
In a second aspect, the present invention provides a configuration apparatus for a data source, including:
the first configuration module is used for responding to a first configuration operation of a data source item in a primary configuration interface, acquiring configuration content of the data source item and generating a binding relation between the configuration content and a second configuration operation on the primary configuration interface; the configuration content comprises interface characteristics and content characteristics;
the generation module is used for responding to the second configuration operation of the data configuration items in the primary configuration interface and generating a secondary configuration interface according to the interface characteristics and the content characteristics; the types of the secondary configuration interface comprise a selection type and an addition type;
the second configuration module is used for responding to a third configuration operation of the data content items in the secondary configuration interface and acquiring configuration content corresponding to the data configuration items;
and the storage module is used for storing the configuration content of the data source item and the configuration content of the data configuration item.
In a third aspect, the present invention provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the steps of the method of configuring a data source as in any one of the first aspects when the program is executed.
In a fourth aspect, the present invention provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method of configuring a data source as in any of the first aspects.
According to the configuration method, the device, the electronic equipment and the storage medium of the data source, the configuration interface containing the data source items and the data configuration items is constructed, and the associated configuration operation is carried out on the data source items and the data configuration items, so that the configuration process of the data source can be realized, the configuration method, the device, the electronic equipment and the storage medium are suitable for data receiving work under different data sources, the working efficiency is improved, and the rapid adaptation to the processing scene of multiple data sources is realized.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method for configuring a data source according to the present invention;
FIG. 2 is a schematic diagram of an application interface for a data source provided by the present invention;
FIG. 3 is a schematic diagram of a configuration interface for a data source provided by the present invention;
FIG. 4 is a schematic diagram of a secondary configuration interface generated by the "server File/contract" provided by the present invention as a data source item;
FIG. 5 is a schematic diagram of a secondary configuration interface generated by the "application center" as a data source item provided by the present invention;
FIG. 6 is a schematic diagram of a two-level configuration interface for "email" as a data source item generation provided by the present invention;
FIG. 7 is a schematic diagram of a secondary configuration interface generated using a "selection relational database" as a data source item according to the present invention;
FIG. 8 is a schematic diagram of a three-level configuration interface for configuring rules in a "rule script library" provided by the present invention;
FIG. 9 is a schematic diagram of a three-level configuration interface for editing rules provided by the present invention;
FIG. 10 is a schematic diagram of a four-level configuration interface for configuration fields provided by the present invention;
FIG. 11 is a schematic structural diagram of a configuration device of a data source provided by the present invention;
fig. 12 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
The following describes a method, an apparatus, an electronic device, and a storage medium for configuring a data source according to the present invention with reference to fig. 1 to 12.
Fig. 1 shows a flow chart of a method for configuring a data source according to the present invention, and referring to fig. 1, the method includes:
11. responding to a first configuration operation of a data source item in a primary configuration interface, acquiring configuration content of the data source item, and generating a binding relation between the configuration content and a second configuration operation on the primary configuration interface; the configuration content comprises interface characteristics and content characteristics;
12. responding to a second configuration operation of the data configuration items in the primary configuration interface, and generating a secondary configuration interface according to the interface characteristics and the content characteristics; the types of the secondary configuration interface include a selection type and an addition type;
13. responding to a third configuration operation of the data content item in the secondary configuration interface, and acquiring configuration content corresponding to the data configuration item;
14. and saving the configuration content of the data source item and the configuration content of the data configuration item.
For the steps 11 to 14, it should be noted that the configuration method of the data source provided by the invention is suitable for obtaining different data sources, and aims to establish a flexible configuration page so as to solve the problem that the different data sources need to re-develop codes in the background in the process of obtaining the data. It can be seen that the scenario to which the present invention is applicable is a processing scenario that invokes the required data. And carrying out information configuration on the source information of the data source on a configuration interface. In the configuration process, configuration of source data is required.
In the invention, the configuration modes of different data sources are different, so that the configuration interfaces of the different data sources are different. In this regard, the present invention performs a tandem configuration of data source items and data configuration items to cope with configuration requirements of different data sources.
In the present invention, the data sources (i.e., source names) include local files/contracts, server files/contracts, application centers/contracts, emails, relational databases, PDF files, and the like.
In the invention, in order to acquire a data source, an application interface is called by performing triggering operation on an application program on a desktop. The application interface can present the acquired data sources in the form of a data list, that is, the application interface can present the acquired data corresponding to a certain data source. As shown in fig. 2, fig. 2 is an application interface for a data source.
In the invention, data source configuration is needed to acquire data under a new data source. For example, triggering an "add" button on the application interface may invoke the display of a configuration interface adapted to configure the data source. As shown in fig. 3, fig. 3 is a configuration interface of a data source, i.e., a primary configuration interface.
In the present invention, the first level configuration interface is used herein for convenience in the description of the tandem connection. The primary configuration interface is provided with a data source item and a "configuration position" of the data configuration item. Configuration operations of data source items and data configuration items (such as "source type" and "source configuration" in fig. 3) need to be performed on this "configuration location". Namely: a first configuration operation is responsive to a data source item in a primary configuration interface. In addition, referring to fig. 3, other configuration items except for "source type" and "source configuration" on the primary configuration interface are configured according to specific needs and rules.
In the invention, the configuration mode of the data source item can adopt input content, and can also select from a drop-down content list. The configuration content of the data source item can include interface features and content features. The interface features characterize the type of secondary configuration interface. I.e. in what type of manner the secondary configuration interface is presented. The content features characterize the layout of the content on the secondary configuration interface. Namely: what layout structure the content on the secondary configuration interface is presented in.
In the invention, the second configuration operation is triggered on the primary configuration interface, so as to acquire the secondary configuration interface, and the secondary configuration interface needs to be determined based on the configuration content. When the second configuration operation is triggered on the primary configuration interface, configuration content of the data source item is automatically collected, and then the secondary configuration interface is generated based on the configuration content. In the present invention, the types of the secondary configuration interface include a selection type and an addition type. The data displayed in the interface can be directly selected by using the selective secondary configuration interface. The data can be screened in a content adding manner by using the additive type secondary configuration interface.
In the present invention, in response to a third configuration operation of a data content item in a secondary configuration interface, configuration content corresponding to the data configuration item is acquired. And storing the configuration content of the data source item and the configuration content of the data configuration item to complete the configuration process of the data source.
According to the configuration method of the data source, provided by the invention, the configuration interface containing the data source items and the data configuration items is constructed, and the associated configuration operation is carried out on the data source items and the data configuration items, so that the configuration process of the data source can be realized, the configuration method is suitable for data receiving work under different data sources, the working efficiency is improved, and the rapid adaptation to the processing scene of multiple data sources is realized.
In a further method of the above method, in the present invention, the first configuration operation includes: a first list is invoked, the first list including data source tag content, and target tag content is determined in the first list. Note that, the data source tag content may be a local file/contract, a server file/contract, an application center/contract, an email, a relational database, or a PDF file, as mentioned above, or may be a tag symbol corresponding to "local file/contract, server file/contract, application center/contract, email, relational database, or PDF file".
Referring to FIG. 3, the target tag content may be configured on a "configuration location" of the data source item. The target tag content can be called into a first list in a pull-down mode, and the first list comprises a plurality of preset data source tag contents. And selecting in the first list to determine the target tag content. For example, the tag content may be a local file/contract.
And after the target tag content is selected, identifying the target tag content to obtain identification information. Regardless of the configuration mode of the tag content, the tag content is identified, so that the interface characteristics and the content characteristics which are 'hidden' in the tag content can be quickly obtained. That is, the resulting identification information can contain a variety of features that can be characterized as indicative of: whether the data is filtered according to the whole or the condition, and what format the data is, is equivalent to what type of data source is. The whole screening refers to displaying the whole data of one type, and operating and selecting the required data on a configuration interface. The condition screening refers to selecting data according to the configured conditions to obtain required data.
For example, the tag content is a local file/contract, the local file may be an "interface feature" and the contract may be a "content feature". The local file characterization performs overall screening on the data, and the contract file belongs to the data type.
In the present invention, the interface features characterize the type of the secondary configuration interface, such as a selection type or an addition type. The selection type corresponds to the overall screening, and the addition type corresponds to the conditional screening, with respect to the screening method for data described above. The content features characterize the layout of the content on the secondary configuration interface, which is intended to be arranged for various types of areas of the display content on the secondary configuration interface. For example, the left area of the interface displays a list of data, the right area displays a selected presentation of data, etc.
The method further enables the configuration process of the data source to be suitable for various configuration modes through identification of the tag content, and improves the diversity of configuration interfaces.
In a further method of the above method, if the type of the secondary configuration interface is selected, the content features include a first layout area and a second layout area, and the first layout area is an area for displaying data in a data list manner, and the second layout area is an area for displaying data in a hook manner.
Accordingly, the third configuration operation includes: clicking a data row or a data column in a data list in the first layout area; the data in the second layout area is checked;
accordingly, acquiring configuration content corresponding to the data configuration item includes:
and acquiring a calling address corresponding to the data based on the data in the checked second layout area, and taking the calling address as the configuration content of the data configuration item.
Referring to fig. 4, a second level configuration interface generated as a data source item is a "server file/contract". In fig. 4, the first layout area is on the left side and the second layout area is on the right side.
In addition, it should be noted that, if the type of the secondary configuration interface is selected, the content features include a first layout area, where the first layout area is an area where data is displayed in a data list manner and can be determined in a checking manner.
Accordingly, the third configuration operation includes: clicking and checking a data row or a data column in a data list in the first layout area;
accordingly, acquiring configuration content corresponding to the data configuration item includes:
and acquiring a call address corresponding to the data based on the data in the checked first layout area, and taking the call address as the configuration content of the data configuration item.
Referring to FIG. 5, a secondary configuration interface generated by an "application center" as a data source item. The blank area is a first layout area (application center data not shown).
In addition, it should be noted that, if the type of the secondary configuration interface is an add-on type, correspondingly, the content features include a third layout area, where the third layout area is an area for displaying the data screening condition in an information adding manner;
accordingly, the third configuration operation includes: responding to the input operation in the third layout area;
accordingly, acquiring configuration content corresponding to the data configuration item includes:
and acquiring input content corresponding to the input operation, and taking the input content as configuration content of the data configuration item.
Referring to FIG. 6, a secondary configuration interface is created with "email" as the data source item. In fig. 6, the third layout area may be an area of the entire interface.
Referring to FIG. 7, a secondary configuration interface is generated by "selecting a relational database" as a data source item. In fig. 7, the third layout area may be an area of the entire interface.
The method further comprises the step of adopting different triggering operations aiming at different configuration interfaces to realize configuration of configuration contents of the data configuration items.
In a further method of the above method, the method further comprises:
responding to a fourth configuration operation of the data rule items in the primary configuration interface, acquiring a rule acquisition type, and generating a tertiary configuration interface according to the rule acquisition type;
and responding to a fifth configuration operation of the rule configuration area in the three-level configuration interface, and acquiring configuration content corresponding to the data rule items.
In this regard, in the present invention, it is also necessary to configure a formatting rule of data, and the formatting rule can unify the format of the data. The formatting rule can be obtained directly from a rule script library, or the corresponding formatting rule can be configured according to the requirement. For this purpose, a rule acquisition type is acquired, which comprises selecting among existing formatting rules, editing the rule as required.
In the invention, based on the rule acquisition type, a corresponding three-level configuration interface can be generated. And on the three-level configuration interface, corresponding configuration operation can be performed on the three-level configuration interface, configuration information corresponding to the configuration operation is obtained, and configuration content corresponding to the data rule item can be obtained.
Referring to FIG. 8, a three-level configuration interface is provided for configuring rules in a "rule script library".
Referring to fig. 9, a three-level configuration interface for editing rules is provided.
If the rule acquisition type is an editing type, correspondingly, the three-level configuration interface comprises an editing interface;
accordingly, the fifth configuration operation includes: acquiring editing content on an editing interface, and identifying the editing content to acquire an identification field; according to the identification field matching code paragraphs, the code paragraphs are displayed on an editing interface, wherein the code paragraphs are marked with blank positions of codes to be filled in; acquiring the supplementing content on the empty position;
accordingly, obtaining configuration content corresponding to the data rule item includes:
the edit content, the code section, and the patch content are integrated as configuration content corresponding to the data rule item.
It should be noted that, in the present invention, in response to the edit content input by the user on the edit interface, the edit content is identified in real time, and in fact, the edit content is analyzed to determine whether the edit content has the same field content as the preset field content, and after the same field content is identified, a code paragraph of the whole matched with the field content is displayed on the edit interface, where the code paragraph is a pre-configured standard paragraph, and the standard field contains the blank position of the code to be added.
The user inputs the correct field content in the reserved position, and the contents of the supplement in the reserved position can be acquired.
The edit content, the code section, and the patch content are integrated as configuration content corresponding to the data rule item.
By the real-time analysis and identification of the editing content, rapid rule editing can be realized. In addition, the edited rules can be stored in a rule script library, so that the rules can be used again later.
In a further method of the above method, the method further comprises:
calling a fourth-level configuration interface in response to a sixth configuration operation of the data field items in the first-level configuration interface;
configuration content corresponding to the data field items is acquired in response to a sixth configuration operation of the field configuration area in the four-level configuration interface.
It should be noted that, for the formatted data, the corresponding field information needs to be configured, and for this purpose, the data field item is configured, see fig. 10 for a four-level configuration interface of the configuration field.
The configuration device of the data source provided by the invention is described below, and the configuration device of the data source described below and the configuration method of the data source described above can be referred to correspondingly.
Fig. 11 is a schematic structural diagram of a configuration device of a data source, referring to fig. 11, where the device includes a first data configuration module 111, a generating module 112, a second configuration module 113, and a storage module 114, and the configuration device includes:
a first configuration module 111, configured to obtain configuration content of a data source item in response to a first configuration operation of the data source item in the primary configuration interface, and generate a binding relationship between the configuration content and a second configuration operation on the primary configuration interface; the configuration content comprises interface characteristics and content characteristics;
a generating module 112, configured to generate a secondary configuration interface according to the interface feature and the content feature in response to a second configuration operation of the data configuration item in the primary configuration interface; the types of the secondary configuration interface include a selection type and an addition type;
a second configuration module 113, configured to obtain configuration content corresponding to the data configuration item in response to a third configuration operation of the data content item in the secondary configuration interface;
the storage module 114 is configured to store configuration content of the data source item and configuration content of the data configuration item.
In a further apparatus of the above apparatus, the first configuration module is specifically configured to:
the first configuration operation includes: invoking a first list, wherein the first list comprises data source tag content, and determining target tag content in the first list;
accordingly, obtaining the configuration content of the data source item comprises:
identifying the content of the target tag to obtain identification information; the content of the identification information for characterization includes: overall screening of data, or condition screening, and data format;
determining interface characteristics and content characteristics according to the identification information; the interface features characterize the type of the secondary configuration interface; the content features characterize the layout of the content on the secondary configuration interface.
In a further apparatus of the above apparatus, the second configuration module is specifically configured to:
the type of the secondary configuration interface is a selective type, and correspondingly, the content features comprise a first layout area and a second layout area, wherein the first layout area is an area for displaying data in a data list mode, and the second layout area is an area for displaying data in a checking mode;
accordingly, the third configuration operation includes: clicking a data row or a data column in a data list in the first layout area; the data in the second layout area is checked;
accordingly, acquiring configuration content corresponding to the data configuration item includes:
and acquiring a calling address corresponding to the data based on the data in the checked second layout area, and taking the calling address as the configuration content of the data configuration item.
In a further apparatus of the above apparatus, the second configuration module is specifically configured to:
the type of the secondary configuration interface is an additive type, and correspondingly, the content features comprise a third layout area, wherein the third layout area is an area for displaying data screening conditions in an information adding mode;
accordingly, the third configuration operation includes: responding to an input operation in the third layout area;
correspondingly, acquiring the configuration content corresponding to the data configuration item comprises the following steps:
and acquiring input content corresponding to the input operation, and taking the input content as the configuration content of the data configuration item.
In a further arrangement of the above arrangement, the arrangement comprises a third configuration module for:
responding to a fourth configuration operation of the data rule items in the primary configuration interface, acquiring a rule acquisition type, and generating a tertiary configuration interface according to the rule acquisition type;
and responding to a fifth configuration operation of the rule configuration area in the three-level configuration interface, and acquiring configuration content corresponding to the data rule items.
In a further apparatus of the above apparatus, the third configuration module is specifically configured to:
the rule acquisition type is an editing type, and correspondingly, the three-level configuration interface comprises an editing interface;
accordingly, the fifth configuration operation includes: acquiring editing content on the editing interface, and identifying the editing content to obtain an identification field; according to the identification field matching code paragraphs, the code paragraphs are displayed on the editing interface, wherein the code paragraphs are marked with blank positions to be filled with codes; acquiring the supplementing content on the blank position;
correspondingly, acquiring the configuration content corresponding to the data rule item comprises the following steps:
integrating the editing content, the code paragraph and the supplementing content as configuration content corresponding to the data rule item.
In a further arrangement of the above arrangement, the arrangement further comprises a fourth configuration module for:
calling a fourth-level configuration interface in response to a sixth configuration operation of the data field items in the first-level configuration interface;
and responding to a sixth configuration operation of a field configuration area in the four-level configuration interface, and acquiring configuration content corresponding to the data field item.
Since the apparatus according to the embodiment of the present invention is the same as the method according to the above embodiment, the details of the explanation will not be repeated here.
According to the configuration device of the data source, provided by the invention, the configuration interface containing the data source items and the data configuration items is constructed, and the associated configuration operation is carried out on the data source items and the data configuration items, so that the configuration process of the data source can be realized, the configuration device is suitable for data receiving work under different data sources, the working efficiency is improved, and the rapid adaptation to the processing scene of multiple data sources is realized.
Fig. 12 illustrates a physical structure diagram of an electronic device, as shown in fig. 12, which may include: processor 121, communication interface (Communication Interface) 122, memory 123 and communication bus 124, wherein processor 121, communication interface 122, memory 123 accomplish communication with each other through communication bus 124. Processor 121 may call a computer program in memory 123 to perform the steps of the data source configuration method, including, for example: responding to a first configuration operation of a data source item in a primary configuration interface, acquiring configuration content of the data source item, and generating a binding relation between the configuration content and a second configuration operation on the primary configuration interface; the configuration content comprises interface characteristics and content characteristics; responding to a second configuration operation of the data configuration items in the primary configuration interface, and generating a secondary configuration interface according to the interface characteristics and the content characteristics; the types of the secondary configuration interface include a selection type and an addition type; responding to a third configuration operation of the data content item in the secondary configuration interface, and acquiring configuration content corresponding to the data configuration item; and saving the configuration content of the data source item and the configuration content of the data configuration item.
Further, the logic instructions in the memory 123 described above may be implemented in the form of software functional units and may be stored in a computer readable storage medium when sold or used as a stand alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a usb disk, a removable hard disk, a Read-only memory (ROM), a random access memory (RAM, randomAccessMemory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, are capable of performing the steps of a method of configuring a data source, for example comprising: responding to a first configuration operation of a data source item in a primary configuration interface, acquiring configuration content of the data source item, and generating a binding relation between the configuration content and a second configuration operation on the primary configuration interface; the configuration content comprises interface characteristics and content characteristics; responding to a second configuration operation of the data configuration items in the primary configuration interface, and generating a secondary configuration interface according to the interface characteristics and the content characteristics; the types of the secondary configuration interface include a selection type and an addition type; responding to a third configuration operation of the data content item in the secondary configuration interface, and acquiring configuration content corresponding to the data configuration item; and saving the configuration content of the data source item and the configuration content of the data configuration item.
In another aspect, embodiments of the present invention further provide a processor-readable storage medium storing a computer program for causing the processor to perform steps of a method for configuring a data source, including, for example: responding to a first configuration operation of a data source item in a primary configuration interface, acquiring configuration content of the data source item, and generating a binding relation between the configuration content and a second configuration operation on the primary configuration interface; the configuration content comprises interface characteristics and content characteristics; responding to a second configuration operation of the data configuration items in the primary configuration interface, and generating a secondary configuration interface according to the interface characteristics and the content characteristics; the types of the secondary configuration interface include a selection type and an addition type; responding to a third configuration operation of the data content item in the secondary configuration interface, and acquiring configuration content corresponding to the data configuration item; and saving the configuration content of the data source item and the configuration content of the data configuration item.
The processor-readable storage medium may be any available medium or data storage device that can be accessed by a processor, including, but not limited to, magnetic storage (e.g., floppy disks, hard disks, magnetic tape, magneto-optical disks (MOs), etc.), optical storage (e.g., CD, DVD, BD, HVD, etc.), semiconductor storage (e.g., ROM, EPROM, EEPROM, nonvolatile storage (NAND FLASH), solid State Disk (SSD)), and the like.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for configuring a data source, comprising:
responding to a first configuration operation of a data source item in a primary configuration interface, acquiring configuration content of the data source item, and generating a binding relation between the configuration content and a second configuration operation on the primary configuration interface; the configuration content comprises interface characteristics and content characteristics;
responding to a second configuration operation of the data configuration items in the primary configuration interface, and generating a secondary configuration interface according to the interface characteristics and the content characteristics; the types of the secondary configuration interface comprise a selection type and an addition type;
responding to a third configuration operation of a data content item in the secondary configuration interface, and acquiring configuration content corresponding to the data configuration item;
and storing the configuration content of the data source item and the configuration content of the data configuration item.
2. The method of claim 1, wherein the first configuring operation comprises: invoking a first list, wherein the first list comprises data source tag content, and determining target tag content in the first list;
correspondingly, acquiring the configuration content of the data source item comprises the following steps:
identifying the target tag content to obtain identification information; the content of the identification information for characterization comprises: overall screening of data, or condition screening, and data format;
determining interface characteristics and content characteristics according to the identification information; the interface features characterize the type of the secondary configuration interface; the content features characterize the content layout on the secondary configuration interface.
3. The method for configuring a data source according to claim 2, wherein the type of the secondary configuration interface is a selection type, and accordingly, the content features include a first layout area and a second layout area, the first layout area is an area for displaying data in a data list manner, and the second layout area is an area for displaying data in a hook manner;
accordingly, the third configuration operation includes: clicking a data row or a data column in the data list in the first layout area; the data in the second layout area is checked;
correspondingly, acquiring the configuration content corresponding to the data configuration item comprises the following steps:
and acquiring a call address corresponding to the data based on the checked data in the second layout area, and taking the call address as the configuration content of the data configuration item.
4. The method for configuring a data source according to claim 2, wherein the type of the secondary configuration interface is additive, and accordingly, the content feature includes a third layout area, and the third layout area is an area for displaying data screening conditions in an information adding manner;
accordingly, the third configuration operation includes: responding to an input operation in the third layout area;
correspondingly, acquiring the configuration content corresponding to the data configuration item comprises the following steps:
and acquiring input content corresponding to the input operation, and taking the input content as the configuration content of the data configuration item.
5. The method of configuring a data source of claim 1, 3 or 4, further comprising:
responding to a fourth configuration operation of a data rule item in the primary configuration interface, acquiring a rule acquisition type, and generating a tertiary configuration interface according to the rule acquisition type;
and responding to a fifth configuration operation of the rule configuration area in the three-level configuration interface, and acquiring configuration content corresponding to the data rule item.
6. The method of claim 5, wherein the rule acquisition type is an edit type, and the three-level configuration interface comprises an edit interface, respectively;
accordingly, the fifth configuration operation includes: acquiring editing content on the editing interface, and identifying the editing content to obtain an identification field; according to the identification field matching code paragraphs, the code paragraphs are displayed on the editing interface, wherein the code paragraphs are marked with blank positions to be filled with codes; acquiring the supplementing content on the blank position;
correspondingly, acquiring the configuration content corresponding to the data rule item comprises the following steps:
integrating the editing content, the code paragraph and the supplementing content as configuration content corresponding to the data rule item.
7. The method of claim 6, further comprising:
calling a fourth-level configuration interface in response to a sixth configuration operation of the data field items in the first-level configuration interface;
and responding to a sixth configuration operation of a field configuration area in the four-level configuration interface, and acquiring configuration content corresponding to the data field item.
8. A data source configuration apparatus, comprising:
the first configuration module is used for responding to a first configuration operation of a data source item in a primary configuration interface, acquiring configuration content of the data source item and generating a binding relation between the configuration content and a second configuration operation on the primary configuration interface; the configuration content comprises interface characteristics and content characteristics;
the generation module is used for responding to the second configuration operation of the data configuration items in the primary configuration interface and generating a secondary configuration interface according to the interface characteristics and the content characteristics; the types of the secondary configuration interface comprise a selection type and an addition type;
the second configuration module is used for responding to a third configuration operation of the data content items in the secondary configuration interface and acquiring configuration content corresponding to the data configuration items;
and the storage module is used for storing the configuration content of the data source item and the configuration content of the data configuration item.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method for configuring a data source as claimed in any one of claims 1 to 7 when said program is executed by said processor.
10. A non-transitory computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when executed by a processor, implements the steps of the data source configuration method according to any one of claims 1 to 7.
CN202310756575.5A 2023-06-26 2023-06-26 Data source configuration method and device, electronic equipment and storage medium Active CN116483476B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310756575.5A CN116483476B (en) 2023-06-26 2023-06-26 Data source configuration method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310756575.5A CN116483476B (en) 2023-06-26 2023-06-26 Data source configuration method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN116483476A true CN116483476A (en) 2023-07-25
CN116483476B CN116483476B (en) 2023-09-15

Family

ID=87212351

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310756575.5A Active CN116483476B (en) 2023-06-26 2023-06-26 Data source configuration method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116483476B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200110832A1 (en) * 2018-10-03 2020-04-09 Microsoft Technology Licensing, Llc Monitoring organization-wide state and classification of data stored in disparate data sources of an organization
CN112631497A (en) * 2019-10-09 2021-04-09 阿里巴巴集团控股有限公司 Data configuration method, data input method, data configuration device, data input device and electronic equipment
CN114691779A (en) * 2022-03-29 2022-07-01 京东方科技集团股份有限公司 Data synchronization method and system, computer readable storage medium
CN114895893A (en) * 2022-04-28 2022-08-12 远景智能国际私人投资有限公司 Multi-source data processing method, device, equipment and storage medium
CN115793911A (en) * 2022-12-23 2023-03-14 北京字跳网络技术有限公司 Data processing method and device, electronic equipment and storage medium
CN115809288A (en) * 2021-09-14 2023-03-17 北京奇虎科技有限公司 Data conversion method, device, equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200110832A1 (en) * 2018-10-03 2020-04-09 Microsoft Technology Licensing, Llc Monitoring organization-wide state and classification of data stored in disparate data sources of an organization
CN112631497A (en) * 2019-10-09 2021-04-09 阿里巴巴集团控股有限公司 Data configuration method, data input method, data configuration device, data input device and electronic equipment
CN115809288A (en) * 2021-09-14 2023-03-17 北京奇虎科技有限公司 Data conversion method, device, equipment and storage medium
CN114691779A (en) * 2022-03-29 2022-07-01 京东方科技集团股份有限公司 Data synchronization method and system, computer readable storage medium
CN114895893A (en) * 2022-04-28 2022-08-12 远景智能国际私人投资有限公司 Multi-source data processing method, device, equipment and storage medium
CN115793911A (en) * 2022-12-23 2023-03-14 北京字跳网络技术有限公司 Data processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN116483476B (en) 2023-09-15

Similar Documents

Publication Publication Date Title
CN109445842A (en) Rule generating method, device, computer equipment and storage medium
US20190146755A1 (en) Test case and data selection using a sampling methodology
CN110990274A (en) Data processing method, device and system for generating test case
CN111126019A (en) Report generation method and device based on mode customization and electronic equipment
CN111324716A (en) Index data acquisition method and device, computer equipment and storage medium
EP2951680B1 (en) Acquiring identification of an application lifecycle management entity associated with similar code
CN116107892A (en) Automatic test method, device, equipment and storage medium
US10795807B2 (en) Parallel testing and reporting system
CN113518187B (en) Video editing method and device
CN111143434A (en) Intelligent data checking method, device, equipment and storage medium
CN112348420A (en) Storage position information acquisition method and system, storage medium and electronic equipment
CN107562710B (en) Chart processing device and method
CN116483476B (en) Data source configuration method and device, electronic equipment and storage medium
CN110245072A (en) A kind of test method and device
CN115617338A (en) Method and device for quickly generating service page and readable storage medium
US7458068B2 (en) Vertical requirements development system and method
CN112632266B (en) Data writing method and device, computer equipment and readable storage medium
CN112181407B (en) Service realization processing method, device, system, electronic equipment and storage medium
CN115437903A (en) Interface test method, device, apparatus, storage medium, and program
JP2021056704A (en) Data extracting method and data extracting program
CN116467975B (en) Data processing method, device, electronic equipment and storage medium
CN116578583B (en) Abnormal statement identification method, device, equipment and storage medium
US11416675B1 (en) System, method, and computer program for electronic form customization
US10768914B2 (en) Analysis and generation of structured programming based on disparate application configurations
CN111914008A (en) Method and device for batch export of work order data, electronic equipment and medium

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