Field configuration method, system, equipment and medium
By displaying the candidate field type and determining the target field type, the problem of inefficient field configuration in the prior art is solved, and fast field configuration under data source connection is realized.
Patent Information
- Application Number
- CN202311110104.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-30
- Publication Date
- 2025-02-28
AI Technical Summary
During the process of building a form, as the amount of data increases, the existing field configuration methods consume time and labor-intensively and have low configuration efficiency.
Provide a field configuration method to quickly configure the field type by obtaining the target data source, responding to user selection operations, displaying candidate field types and determining the target field type.
This method reduces the number of interactions and improves field configuration efficiency by displaying candidate field types, and is suitable for field configuration scenarios connected to data sources.
Smart Images

Figure CN119537364A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a field configuration method, system, electronic device, and computer-readable storage medium. Background Art
[0002] With the continuous development of computer technology, cloud computing has emerged. Application platform as a service (aPaaS) is a cloud computing service model that enables users to quickly and efficiently build, deploy and manage applications by providing a development environment that includes a variety of automated functions and integrated services.
[0003] aPaaS usually includes a form engine. The form engine is used to build and manage forms. For example, users can build forms by dragging and dropping, and use the forms to carry business data, or distribute the forms to other users to collect information.
[0004] In the process of building a form, users can configure fields. For example, users can configure the field types of different fields based on the data type of business data. However, as the amount of data continues to increase, the above method is time-consuming and labor-intensive, and the configuration efficiency is low. Summary of the invention
[0005] The present application provides a field configuration method. The method supports fast switching of field types and improves field configuration efficiency for scenarios where field configuration is performed in connection with a data source. The present application also provides a system, an electronic device, a computer-readable storage medium, and a computer program product corresponding to the above method.
[0006] In a first aspect, the present application provides a field configuration method, the method comprising:
[0007] Acquire a target data source, where the target data source includes multiple fields;
[0008] In response to a selection operation on at least one field in the target data source, determining a target field;
[0009] In response to a configuration operation on the target field, displaying a plurality of candidate field types of the target field;
[0010] In response to a selection operation on the plurality of candidate field types, a target field type of the target field is determined.
[0011] In some possible implementations, the method further includes:
[0012] The identification information corresponding to the target field type is displayed, where the identification information is used to identify that the field type of the target field is the target field type.
[0013] In some possible implementations, the field type of the target field in the target data source is an initial field type, and the method further includes:
[0014] In response to a configuration confirmation operation for the target field, the initial field type is determined as a target field type of the target field.
[0015] In some possible implementations, the field type of the target field in the target data source is empty, and in response to the configuration operation on the target field, displaying multiple candidate field types of the target field includes:
[0016] Determining a display order of multiple candidate field types according to the field name of the target field;
[0017] In response to a configuration operation for the target field, multiple candidate field types of the target field are displayed in a display order of the multiple candidate field types.
[0018] In some possible implementations, the method further includes:
[0019] The data of the target field in the target data source is displayed according to the display rule corresponding to the target field type.
[0020] In some possible implementations, the multiple candidate field types are determined in the following manner:
[0021] Get multiple basic data types;
[0022] Determine the multiple basic data types as the multiple candidate field types; or,
[0023] The plurality of candidate field types are determined according to the plurality of basic data types and the plurality of business types.
[0024] In some possible implementations, obtaining the target data source includes:
[0025] In response to the data source connection operation, a target data source is acquired.
[0026] In a second aspect, the present application provides a field configuration system, the system comprising:
[0027] An acquisition module, used to acquire a target data source, wherein the target data source includes multiple fields;
[0028] A determination module, configured to determine a target field in response to a selection operation on at least one field in the target data source;
[0029] A display module, configured to display a plurality of candidate field types of the target field in response to a configuration operation on the target field;
[0030] The determination module is further configured to determine a target field type of the target field in response to a selection operation on the plurality of candidate field types.
[0031] In some possible implementations, the display module is further used to:
[0032] The identification information corresponding to the target field type is displayed, where the identification information is used to identify that the field type of the target field is the target field type.
[0033] In some possible implementations, the field type of the target field in the target data source is an initial field type, and the determining module is further configured to:
[0034] In response to a configuration confirmation operation for the target field, the initial field type is determined as a target field type of the target field.
[0035] In some possible implementations, the field type of the target field in the target data source is empty, and the display module is specifically configured to:
[0036] Determining a display order of multiple candidate field types according to the field name of the target field;
[0037] In response to a configuration operation for the target field, multiple candidate field types of the target field are displayed in a display order of the multiple candidate field types.
[0038] In some possible implementations, the display module is further used to:
[0039] The data of the target field in the target data source is displayed according to the display rule corresponding to the target field type.
[0040] In some possible implementations, the multiple candidate field types are determined in the following manner:
[0041] Get multiple basic data types;
[0042] Determine the multiple basic data types as the multiple candidate field types; or,
[0043] The plurality of candidate field types are determined according to the plurality of basic data types and the plurality of business types.
[0044] In some possible implementations, the acquisition module is specifically used to:
[0045] In response to the data source connection operation, a target data source is acquired.
[0046] In a third aspect, the present application provides an electronic device, the electronic device comprising a processor and a memory. The processor and the memory communicate with each other. The processor is used to execute instructions stored in the memory so that the electronic device performs the field configuration method in the first aspect or any implementation of the first aspect.
[0047] In a fourth aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores instructions, wherein the instructions instruct an electronic device to execute the field configuration method described in the first aspect or any one of the implementations of the first aspect.
[0048] In a fifth aspect, the present application provides a computer program product comprising instructions, which, when executed on an electronic device, enables the electronic device to execute the field configuration method described in the first aspect or any one of the implementations of the first aspect.
[0049] Based on the implementations provided in the above aspects, this application can also be further combined to provide more implementations.
[0050] It can be seen from the above technical solutions that this application has the following advantages:
[0051] The present application provides a field configuration method, which first obtains a target data source, wherein the target data source includes multiple fields, determines the target field in response to a selection operation on at least one field in the target data source, then displays multiple candidate field types of the target field in response to a configuration operation on the target field, and determines the target field type of the target field in response to a selection operation on the multiple candidate fields.
[0052] This method is aimed at the scenario of field configuration under the connection with the data source. By displaying candidate field types, users can select the target field type from multiple candidate field types to complete the field type configuration operation. In this way, users can quickly configure the field type for the fields from the data source, reduce the number of interactions, and improve configuration efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0053] In order to more clearly illustrate the technical method of the embodiments of the present application, the drawings required for use in the embodiments are briefly introduced below.
[0054] Figure 1 A schematic diagram of a page of an aPaaS platform provided in an embodiment of the present application;
[0055] Figure 2 A flowchart of a field configuration method provided in an embodiment of the present application;
[0056] Figure 3 A schematic diagram of an editing page provided in an embodiment of the present application;
[0057] Figure 4A and Figure 4B A schematic diagram of an editing page provided in an embodiment of the present application;
[0058] Figure 5 A schematic diagram of an editing page provided in an embodiment of the present application;
[0059] Figure 6 A schematic diagram of an editing page provided in an embodiment of the present application;
[0060] Figure 7 A structural diagram of a field configuration system provided in an embodiment of the present application;
[0061] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0062] The terms "first" and "second" in the embodiments of the present application are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features.
[0063] First, some technical terms involved in the embodiments of the present application are introduced.
[0064] With the continuous development of computer technology, cloud computing has emerged. Cloud computing, also known as network computing, is a computing method based on the Internet. Through cloud computing, shared software resources and hardware resources can be provided to terminals and other devices on demand.
[0065] Application platform as a service (aPaaS) is a cloud computing service model that enables users to build, deploy and manage applications quickly and efficiently by providing a development environment that includes a variety of automated functions and integrated services.
[0066] Specifically, users can create and edit applications through the aPaaS platform, and can maintain and re-edit applications after deployment. The aPaaS platform has the characteristics of low code and zero code. Through graphical drag and drop, parameterized configuration, etc., users can quickly edit and deliver applications with less or no code.
[0067] The aPaaS platform usually includes a form engine, a process engine, and a business intelligence (BI) engine. The form engine is used to build and manage forms, the process engine is used to manage the flow rules of forms, and the BI engine is used to generate visualization results.
[0068] Specifically, the form engine supports users to build forms by dragging and dropping, and use forms to carry business data. The following will explain it in conjunction with specific scenarios. Figure 1 A page schematic diagram of an aPaaS platform is shown, where an edit page 10 is a page for form editing in the aPaaS platform. The edit page 10 specifically includes a component selection area 101 , a canvas area 102 and a property configuration area 103 .
[0069] The component selection area 101 provides a plurality of components for selection, and the user can edit the form by dragging the components. For example, the user can drag the "form" component under the data input to the canvas area 102 to create a new form. For another example, the user can drag the "button" component to the canvas area 102 to add a button.
[0070] The canvas area 102 is used to edit and preview the form. For example, when the user drags the "form" component under data input to the canvas area 102, a blank form can be displayed in the canvas area 102, and the user can modify the form name by double-clicking the "form title" to implement form editing.
[0071] The attribute configuration area 103 can be used to configure the form attributes. For example, the user can configure various attributes such as field attributes and display styles in the attribute configuration area 103. Specifically, the attribute configuration area 103 supports the user to configure fields. The user can trigger the field adding operation by clicking the "+" corresponding to the field in the attribute configuration area 103, and configure the field attributes such as the field name and field type, so as to add the corresponding field in the form.
[0072] The property configuration area 103 can also be used to establish a connection relationship with a data source. Specifically, the user can click the selection box corresponding to the data in the property configuration area 103 to select the data source to be connected, thereby realizing the data source connection.
[0073] Similarly, after establishing a connection with the data source, the user can trigger a field adding operation by clicking the "+" corresponding to the field in the attribute configuration area 103, and add the field in the data source to the form. In the above scenario, it is difficult for the user to perform corresponding configuration for the field in the data source, for example, it is difficult for the user to configure the field type for the field in the data source.
[0074] Typically, a user can choose to configure the field type of a field in a data source by adding a field of a specific field type. Specifically, the user can first drag a specific field type (e.g., text input) under data input in the component selection area 101 to the canvas area 102. At this time, the canvas area 102 will display a blank field with a field type of text input. The user can trigger a field property configuration operation by clicking on the blank field, and configure the properties of the blank field in the property configuration area 103, for example, establishing a connection relationship between the blank field and a field in the data source.
[0075] However, the above method requires the user to perform a data source connection operation for each field. As the amount of data continues to increase, the above method is time-consuming and labor-intensive, and the configuration efficiency is low.
[0076] In view of this, the present application provides a field configuration method. The method first obtains a target data source, wherein the target data source includes multiple fields, determines the target field in response to a selection operation on at least one field in the target data source, then displays multiple candidate field types of the target field in response to a configuration operation on the target field, and determines the target field type of the target field in response to a selection operation on the multiple candidate fields.
[0077] This method is aimed at the scenario of field configuration under the connection with the data source. By displaying candidate field types, users can select the target field type from multiple candidate field types to complete the field type configuration operation. In this way, users can quickly configure the field type for the fields from the data source, reduce the number of interactions, and improve configuration efficiency.
[0078] To facilitate understanding of the technical solution provided by the embodiments of the present application, it will be described below with reference to the accompanying drawings.
[0079] See also Figure 2The embodiment of the present application provides a flow chart of a field configuration method, which can be applied to an editing platform of an application, such as an aPaaS platform. The method specifically includes:
[0080] S201: Acquire a target data source.
[0081] A data source refers to a system that provides a large amount of data, for example, a data source may be a database, a search engine, an application, etc. In the embodiment of the present application, the target data source may be a data source that establishes a connection relationship with the editing platform of the application.
[0082] After the target data source establishes a connection with the editing platform of the application, the editing platform of the application can operate on the data in the target data source. For example, the editing platform of the application can read the data in the target data source, display the data in the target data source, modify the data in the target data source, analyze the data in the target data source, etc.
[0083] In the embodiments of the present application, there is no restriction on the source of the target data source. In some embodiments, the target data source may be an internal data source, that is, the target data source may be a data source created inside the editing platform of the application. In other embodiments, the target data source may also be an external data source, that is, the target data source may be a data source outside the editing platform of the application, such as an external database, an external data table, etc.
[0084] The editing platform of the application may provide a data source connection function. In specific implementation, the user may trigger a data source connection operation, and in response to the data source connection operation, obtain a target data source.
[0085] See also Figure 3 As shown is a schematic diagram of an editing page, a user can trigger a data source connection operation through the property configuration area 103 in the editing page 10, thereby realizing a data source connection.
[0086] In some possible implementations, the property configuration area 103 includes a data adding bar 1031. In response to a user triggering operation on the data adding bar 1031 in the property configuration area 103, a data adding window 1032 may be presented. The user may add data in the data adding window 1032, for example, by adding input in the form of a component, a function, or a data connection. When the user selects a data connection, the data adding window 1031 may display addable data sources, such as data source 1 and data source 2, and in response to the user's selection operation on the addable data sources, the data source connection is implemented. For example, when the user selects data source 1, the editing platform of the application establishes a connection relationship with data source 1. At this time, the target data source is data source 1.
[0087] S202: In response to a selection operation on at least one field in a target data source, determine a target field.
[0088] The target data source may include multiple fields. After the target data source establishes a connection relationship with the editing platform of the application, the fields of the target data source may be imported into the editing platform of the application, for example, the fields of the target data source may be used as fields of a form in the editing platform of the application. In this way, when the editing platform of the application is connected to the data source, fields may be added quickly and conveniently.
[0089] In specific implementation, the user can select at least one field in the target data source, and the field selected by the user is determined as the target field. Figure 4A The schematic diagram of an editing page is shown, and the user can select fields through the attribute configuration area 103 in the editing page 10.
[0090] In some possible implementations, the property configuration area 103 includes a field adding control 1033. In response to a user triggering operation on the field adding control 1033, a field adding window 1034 may be presented, and the user may select the field to be added in the field adding window 1034. Specifically, the field adding window 1034 may display the fields in the target data source, such as the field data, field error, and field loading in data source 1. The user may trigger the field selection box to select the field, and in response to the user's selection operation, the selected field is determined as the target field. The user may also trigger the selection box corresponding to the select all operation, and in response to the user's select all operation, all fields of the target data source are determined as target fields, thereby realizing rapid field addition.
[0091] After the target field is determined, the target field can be displayed so that the user can configure the target field later. Figure 4B In the schematic diagram of an editing page shown, the target field can be displayed in the attribute configuration area 103 in the editing page 10.
[0092] In some possible implementations, the attribute configuration area 103 includes a plurality of field display bars 1035, each of which can be used to display a field. Figure 4B Three field display columns 1035 are used to display the field data, field error and field loading.
[0093] S203: In response to the configuration operation on the target field, display a plurality of candidate field types of the target field.
[0094] The configuration operation for the target field refers to the operation for configuring the field type of the target field. In the embodiment of the present application, when the target field comes from the target data source, the user is supported to configure the field type of the target field.
[0095] In a specific implementation, multiple candidate field types of the target field may be first displayed to the user. The candidate field type refers to a field type that can be selected. The candidate field type may be different in different scenarios. In some embodiments, multiple basic data types may be obtained and the multiple basic data types may be determined as multiple candidate field types. The basic data types may include text type, Boolean type, numeric type, array type, and object type.
[0096] In other embodiments, considering a specific business scenario, multiple candidate field types may be determined based on multiple basic data types and multiple business types, where the business type refers to a business classification result obtained after classifying a specific business.
[0097] In an embodiment of the present application, the restriction conditions of a specific service on data can be used as a classification basis to obtain the service type. For example, for the specific service of obtaining the mailbox input by the user, since the mailbox has restriction conditions on the data (such as it must include the @ symbol), the above restriction conditions are used as the classification basis to obtain the service type "Mailbox service". For another example, for the specific service of obtaining the mobile phone number input by the user, since the mobile phone number has restriction conditions on the data (such as a fixed number of digits), the above restriction conditions are used as the classification basis to obtain the service type "mobile phone number service".
[0098] In this way, by encapsulating the basic data type using the business type, a candidate field type can be obtained. For example, by combining the mailbox business with the text type, a candidate field type "Mailbox Input" can be obtained. The field data of this candidate field type needs to satisfy both the text type data and the restrictions on data imposed by the mailbox business. For another example, by combining the mobile phone number business with the number type, a candidate field type "Mobile Phone Number Input" can be obtained. The field data of this candidate field type needs to satisfy both the number type data and the restrictions on data imposed by the mobile phone number business.
[0099] See also Figure 5 In the schematic diagram of an editing page shown, candidate field types may be displayed in the attribute configuration area 103 in the editing page 10 .
[0100] In some possible implementations, the attribute configuration area 103 includes a plurality of field display bars 1035, and the field display bar 1035 specifically includes a type configuration control 1036. The user can trigger a configuration operation for the target field by clicking the type configuration control 1036, and in response to the configuration operation, a candidate field type display window 1037 is displayed. The candidate field type display window 1037 is used to display a plurality of candidate field types, such as text input, number input, drop-down selection, switch, email input, mobile phone number input, etc.
[0101] In some embodiments, the field type of the target field in the target data source is empty, that is, the target field does not have an initial field type. For example, when the target data source is an external data source, if the external data source is not configured for the field type, the field type of the target field in the external data source is empty. At this time, the display order of the multiple candidate field types can be determined according to the field name of the target field, and in response to the configuration operation on the target field, the multiple candidate field types of the target field are displayed in the display order of the multiple candidate field types.
[0102] In specific implementation, the matching degree between the target field and multiple candidate field types can be determined according to the field name of the target field, and the display order of the multiple candidate field types can be determined according to the matching degree, so as to display the candidate field types in descending order of matching degree, thereby improving the field configuration efficiency.
[0103] For example, for a target field with the field name "product name", the target field has a higher matching degree with text input and a lower matching degree with number input. At this time, the display order of text input can be placed before the display order of number input.
[0104] S204: In response to the selection operation on the plurality of candidate field types, determine a target field type of the target field.
[0105] The user can select the required field type from multiple candidate field types according to actual needs, thereby determining the target field type of the target field.
[0106] In some embodiments, the field type of the target field in the target data source is an initial field type. For example, when the target data source is an internal data source, the field type of the target field has been configured when the target data source is created. Considering that the target data source is an internal data source, the field type of the field in the target data source can be one of a plurality of candidate field types. At this time, in response to the configuration confirmation operation for the target field, the initial field type is determined as the target field type of the target field.
[0107] In other words, when the target field has an initial field type, the user may not modify the field type of the target field, but directly determine the initial field type as the target field type, thereby achieving rapid configuration of the field type.
[0108] After determining the target field type, the target field type can be displayed to the user. In some possible implementations, identification information corresponding to the target field type can be displayed, and the identification information can be used to identify the field type of the target field as the target field type. That is, in the embodiment of the present application, the target field type of the target field is displayed to the user during the field configuration process by means of identification information, so that the user can intuitively view the field type configuration result of the target field.
[0109] See also Figure 6 In the schematic diagram of an editing page shown, identification information corresponding to the target field type can be displayed in the attribute configuration area 103 in the editing page 10.
[0110] In some possible implementations, the attribute configuration area 103 includes a plurality of field display columns 1035. The field display column 1035 specifically includes an identification display area 1038, which can be used to display identification information corresponding to the target field type of the target field, such as Figure 6 As shown, the identification information can be presented in the form of an icon. In some possible implementations, the identification information can also be presented in the form of text, which is not limited in the embodiments of the present application.
[0111] After determining the target field type of the target field, you can also display the data of the target field in the target data source according to the display rules corresponding to the target field type.
[0112] like Figure 6 As shown, the data of the target field in the target data source can be displayed in the canvas area 102 in the editing page 10. For example, for the target field data whose target field type is a drop-down selection, the data of the field can be displayed according to the display rules of the drop-down menu. For another example, for the target field error whose target field type is a text input, the data of the field can be displayed according to the display rules of the text input box. For another example, for the target field loading whose target field type is a switch, the data of the field can be displayed according to the display rules of the switch button.
[0113] In this way, for the fields from the data source, after the user completes the field type configuration, the effect of the field under the target field type can be previewed in real time in the canvas area, which is convenient for the user to further modify the field type and improve the efficiency of field configuration.
[0114] Based on the above description, an embodiment of the present application provides a field configuration method. The method first obtains a target data source, wherein the target data source includes multiple fields, determines the target field in response to a selection operation on at least one field in the target data source, then displays multiple candidate field types of the target field in response to a configuration operation on the target field, and determines the target field type of the target field in response to a selection operation on the multiple candidate fields.
[0115] This method is aimed at the scenario of field configuration under the connection with the data source. By displaying candidate field types, users can select the target field type from multiple candidate field types to complete the field type configuration operation. In this way, users can quickly configure the field type for the fields from the data source, reduce the number of interactions, and improve configuration efficiency.
[0116] Combination of the above Figures 1 to 6 The field configuration method provided in the embodiment of the present application is introduced in detail. The system and device provided in the embodiment of the present application will be introduced in conjunction with the accompanying drawings.
[0117] See also Figure 7 The structural diagram of the field configuration system shown in FIG. 70 includes:
[0118] An acquisition module 701 is used to acquire a target data source, where the target data source includes multiple fields;
[0119] A determination module 702, configured to determine a target field in response to a selection operation on at least one field in the target data source;
[0120] A display module 703, configured to display a plurality of candidate field types of the target field in response to a configuration operation on the target field;
[0121] The determination module 702 is further configured to determine a target field type of the target field in response to a selection operation on the plurality of candidate field types.
[0122] In some possible implementations, the display module 703 is further configured to:
[0123] The identification information corresponding to the target field type is displayed, where the identification information is used to identify that the field type of the target field is the target field type.
[0124] In some possible implementations, the field type of the target field in the target data source is an initial field type, and the determination module 702 is further configured to:
[0125] In response to a configuration confirmation operation for the target field, the initial field type is determined as a target field type of the target field.
[0126] In some possible implementations, the field type of the target field in the target data source is empty, and the display module 703 is specifically used to:
[0127] Determining a display order of multiple candidate field types according to the field name of the target field;
[0128] In response to a configuration operation for the target field, multiple candidate field types of the target field are displayed in a display order of the multiple candidate field types.
[0129] In some possible implementations, the display module 703 is further configured to:
[0130] The data of the target field in the target data source is displayed according to the display rule corresponding to the target field type.
[0131] In some possible implementations, the multiple candidate field types are determined in the following manner:
[0132] Get multiple basic data types;
[0133] Determine the multiple basic data types as the multiple candidate field types; or,
[0134] The plurality of candidate field types are determined according to the plurality of basic data types and the plurality of business types.
[0135] In some possible implementations, the acquisition module 701 is specifically used to:
[0136] In response to the data source connection operation, a target data source is acquired.
[0137] The field configuration system 70 according to the embodiment of the present application may correspond to executing the method described in the embodiment of the present application, and the above and other operations and / or functions of each module / unit of the field configuration system 70 are respectively to implement Figure 2 For the sake of brevity, the corresponding processes of each method in the illustrated embodiment are not described in detail here.
[0138] The present application also provides an electronic device. The electronic device is specifically used to implement Figure 7 The fields configure the functionality of the system 70 in the illustrated embodiment.
[0139] Figure 8 A schematic diagram of the structure of an electronic device 800 is provided. Figure 8 As shown, the electronic device 800 includes a bus 801, a processor 802, a communication interface 803 and a memory 804. The processor 802, the memory 804 and the communication interface 803 communicate with each other via the bus 801.
[0140] The bus 801 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 8 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0141] The processor 802 may be any one or more of a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor (MP), or a digital signal processor (DSP).
[0142] The communication interface 803 is used for communicating with the outside. For example, the communication interface 803 can be used for communicating with a terminal.
[0143] The memory 804 may include a volatile memory, such as a random access memory (RAM). The memory 804 may also include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid state drive (SSD).
[0144] The memory 804 stores executable codes, and the processor 802 executes the executable codes to perform the aforementioned field configuration method.
[0145] Specifically, in implementing Figure 7 In the case of the embodiment shown, and Figure 7 When each module or unit of the field configuration system 70 described in the embodiment is implemented by software, the execution Figure 7 The software or program code required for the functions of each module / unit in the memory 804 may be partially or completely stored in the memory 804. The processor 802 executes the program code corresponding to each unit stored in the memory 804 to perform the aforementioned field configuration method.
[0146] The embodiment of the present application also provides a computer-readable storage medium. The computer-readable storage medium can be any available medium that can be stored by a computing device or a data storage device such as a data center that contains one or more available media. The available medium can be a magnetic medium (such as a floppy disk, a hard disk, a tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid-state hard disk). The computer-readable storage medium includes instructions that instruct the computing device to execute the field configuration method applied to the field configuration system 70.
[0147] The embodiment of the present application further provides a computer program product, which includes one or more computer instructions. When the computer instructions are loaded and executed on a computing device, the process or function described in the embodiment of the present application is generated in whole or in part.
[0148] The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer or data center to another website, computer or data center via wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means.
[0149] When the computer program product is executed by a computer, the computer executes any of the aforementioned field configuration methods. The computer program product may be a software installation package, and when any of the aforementioned field configuration methods is required, the computer program product may be downloaded and executed on a computer.
[0150] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to each embodiment of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0151] The units involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the unit / module does not, in some cases, constitute a limitation on the unit itself.
[0152] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0153] In the context of the present application embodiment, machine-readable medium can be a tangible medium that can contain or store a program for use by an instruction execution system, device or equipment or used in combination with an instruction execution system, device or equipment. Machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. Machine-readable medium can include but is not limited to electronic, magnetic, optical, electromagnetic, infrared or semiconductor systems, devices or equipment, or any suitable combination of the above. More specific examples of machine-readable storage media can include electrical connections based on one or more lines, portable computer disks, hard disks, random access memories (RAM), read-only memories (ROM), erasable programmable read-only memories (EPROM or flash memory), optical fibers, portable compact disk read-only memories (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above.
[0154] It should be noted that the various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. For the system or device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.
[0155] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.
[0156] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0157] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0158] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A field configuration method, characterized in that: The method comprises: Acquire a target data source, where the target data source includes multiple fields; In response to a selection operation on at least one field in the target data source, determining a target field; In response to a configuration operation on the target field, displaying a plurality of candidate field types of the target field; In response to a selection operation on the plurality of candidate field types, a target field type of the target field is determined.
2. The method according to claim 1, characterized in that The method further comprises: The identification information corresponding to the target field type is displayed, where the identification information is used to identify that the field type of the target field is the target field type.
3. The method according to claim 1, characterized in that The field type of the target field in the target data source is an initial field type, and the method further includes: In response to a configuration confirmation operation for the target field, the initial field type is determined as a target field type of the target field.
4. The method according to claim 1, characterized in that The field type of the target field in the target data source is empty, and in response to the configuration operation on the target field, multiple candidate field types of the target field are displayed, including: Determining a display order of multiple candidate field types according to the field name of the target field; In response to a configuration operation for the target field, multiple candidate field types of the target field are displayed in a display order of the multiple candidate field types.
5. The method according to claim 1, characterized in that The method further comprises: The data of the target field in the target data source is displayed according to the display rule corresponding to the target field type.
6. The method according to claim 1, characterized in that The multiple candidate field types are determined in the following manner: Get multiple basic data types; Determine the multiple basic data types as the multiple candidate field types; or, The plurality of candidate field types are determined according to the plurality of basic data types and the plurality of business types.
7. The method according to any one of claims 1 to 6, characterized in that: The obtaining of the target data source includes: In response to the data source connection operation, a target data source is acquired.
8. A field configuration system, characterized in that: The system comprises: An acquisition module, used to acquire a target data source, wherein the target data source includes multiple fields; A determination module, configured to determine a target field in response to a selection operation on at least one field in the target data source; A display module, configured to display a plurality of candidate field types of the target field in response to a configuration operation on the target field; The determination module is further configured to determine a target field type of the target field in response to a selection operation on the plurality of candidate field types.
9. An electronic device, characterized in that: The electronic device comprises a processor and a memory; The processor is configured to execute instructions stored in the memory, so that the electronic device performs the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The method comprises instructions, wherein the instructions instruct an electronic device to execute the method as claimed in any one of claims 1 to 7.