Data entry method, data entry system and data entry device
By displaying a list of data entry codes and using target fields to filter target data, the problems of complex data entry and low reusability in existing technologies are solved, and a simple and efficient data entry process is achieved.
Patent Information
- Application Number
- CN202510970178.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2024-07-12
- Filing Date
- 2025-07-14
- Publication Date
- 2025-12-16
AI Technical Summary
In existing technologies, the reference entry operation is complex, fragmented, has low reusability, and requires repeated data configuration.
By responding to the operation instructions of the data entry component, the data entry list corresponding to the data entry code is displayed, and the target data is selected from multiple candidate data using the target field and entered into the target component.
It improves the reusability and simplicity of the data entry list, reducing the steps users need to take to select target data from multiple candidate data.
Smart Images

Figure CN121144385A_ABST
Abstract
Description
[0001] This application claims priority to the Chinese Patent Application No. 202410934789.1, filed on July 12, 2024, and entitled "Data Entry Method, Data Entry System and Data Entry Device", the content of which is incorporated herein by reference in its entirety. TECHNICAL FIELD Embodiments of the present application relate to the technical field of computer, in particular to a data entry method, a data entry system and a data entry device. BACKGROUND
[0002] With the development of computer technology, intelligent data entry has entered more and more enterprises. Taking the reference entry of data as an example, the reference entry allows users to quickly and accurately enter data by searching and referencing existing record information when filling out a document or record. Therefore, how to realize reference entry has gradually become a research focus.
[0003] At present, the reference entry is usually based on structured query language (SQL) or a storage table. However, in the above scheme, the reference entry operation is complex and scattered, and it is necessary to repeatedly configure data, and the reusability is low. Therefore, there is an urgent need for a simple and high-reusability data entry scheme. SUMMARY
[0004] Therefore, one or more embodiments of the present application provide a data entry method. One or more embodiments of the present application also provide a data entry device, a data entry system, a computing device, a computer-readable storage medium and a computer program product to solve the technical defects in the prior art.
[0005] According to a first aspect of an embodiment of the present application, a data entry method is provided, comprising: In response to an operation instruction for an entry component, a data entry list corresponding to a data entry code of the entry component is displayed, wherein the data entry list includes a plurality of candidate data. In response to a data selection instruction for the data entry list, target data is selected from the plurality of candidate data according to a target field of a target component, and the target data is entered into the target component, wherein the target field is used to identify the type of the entry data of the target component.
[0006] According to a second aspect of an embodiment of the present application, a data entry system is provided, comprising a client and a server, the server comprising a processing unit and a component library, the component library comprising an entry component and a target component; The client is configured to send an operation instruction for the entry component to the server. The processing unit is configured to display, in response to the operation instruction, a data entry list corresponding to the data entry code of the entry component, wherein the data entry list comprises a plurality of candidate data. The client is further configured to send, to the server, a data selection instruction for the data entry list. The processing unit is further configured to, in response to the data selection instruction, filter target data from the plurality of candidate data according to a target field of the target component, and enter the target data into the target component, wherein the target field is used to identify a data type of the target component.
[0007] According to a third aspect of the embodiments of the present application, a data entry device is provided, comprising: The display module is configured to display, in response to an operation instruction for an entry component, a data entry list corresponding to a data entry code of the entry component, wherein the data entry list comprises a plurality of candidate data. The entry module is configured to, in response to a data selection instruction for the data entry list, filter target data from the plurality of candidate data according to a target field of the target component, and enter the target data into the target component, wherein the target field is used to identify a data type of the target component.
[0008] According to a fourth aspect of the embodiments of the present application, a computing device is provided, comprising: A memory and a processor; The memory is configured to store computer programs / instructions, and the processor is configured to execute the computer programs / instructions, so as to implement the steps of the data entry method provided in the first aspect.
[0009] According to a fifth aspect of the embodiments of the present application, a computer readable storage medium is provided, which stores computer programs / instructions, and the computer programs / instructions are executed by a processor to implement the steps of the data entry method provided in the first aspect.
[0010] According to a sixth aspect of the embodiments of the present application, a computer program product is provided, comprising computer programs / instructions, and the computer programs / instructions are executed by a processor to implement the steps of the data entry method provided in the first aspect.
[0011] The data entry method provided by one embodiment of the present application comprises: in response to an operation instruction for an entry component, displaying a data entry list corresponding to a data entry code of the entry component, wherein the data entry list comprises a plurality of candidate data; in response to a data selection instruction for the data entry list, selecting target data from the plurality of candidate data according to a target field of a target component, and entering the target data into the target component, wherein the target field is used to identify the data type of the entry component. The data entry list of the entry component is displayed through the data entry code, which improves the reusability of the data entry list, and the target data of the entry component is accurately determined from the plurality of candidate data through the target field, so that the user does not need to select the target data from the plurality of candidate data, and the data entry is more concise. BRIEF DESCRIPTION OF DRAWINGS
[0012] Figure 1 is an architecture diagram of a data entry system provided by one embodiment of the present application; Figure 2 is an architecture diagram of another data entry system provided by one embodiment of the present application; Figure 3 is a flowchart of a data entry method provided by one embodiment of the present application; Figure 4a is a configuration interface diagram of basic information in a data entry method provided by one embodiment of the present application; Figure 4b is a configuration interface diagram of interface information in a data entry method provided by one embodiment of the present application; Figure 4c is a configuration interface diagram of field information in a data entry method provided by one embodiment of the present application; Figure 4d is an interface diagram of a data entry interface provided by one embodiment of the present application; Figure 5 is a processing process flowchart of a data entry method provided by one embodiment of the present application; Figure 6 is a structural diagram of a data entry device provided by one embodiment of the present application; Figure 7 is a structural block diagram of a computing device provided by one embodiment of the present application. DETAILED DESCRIPTION
[0013] In the following description, many specific details are set forth in order to provide a thorough understanding of the present application. However, the present application can be practiced in a variety of ways beyond the specific details set forth herein without departing from the scope of the present application, and it is understood that the present application is intended to cover all modifications of the application falling within the scope of the application. Accordingly, the present application is not limited to the embodiments described herein but is intended to be accorded the widest scope under the criteria set forth in the claims.
[0014] The terminology used in this disclosure of one or more embodiments is for the purpose of describing particular embodiments only and is not intended to be limiting of one or more embodiments of the disclosure. As used in this disclosure and the appended claims, the singular forms "a," "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
[0015] It will be understood that, although the terms first, second, etc. can be used herein to describe various information, these terms are not intended to denote a temporal sequence, but to distinguish between different types of information. For example, without departing from the scope of one or more embodiments, first can be termed second, and similarly, second can be termed first. Depending on the context, the word "if' as used herein can be interpreted to mean "when" or "in response to determining" or "in response to a determination."
[0016] In addition, it should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in one or more embodiments of the present disclosure are all information and data authorized by the user or authorized by all parties, and the collection, use and processing of related data need to comply with relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation portal for user to choose authorization or refusal.
[0017] First, the nomenclature involved in one or more embodiments of the present disclosure is explained.
[0018] Identity Document (ID): In computer systems, websites, and applications, ID is often used to refer to a unique identifier for a user or data, such as a username, account ID, user ID, etc. Each user or data has a unique ID. In the embodiments of the present disclosure, ID represents data entry code.
[0019] Secure Sockets Layer (SSL): An early network security protocol designed to protect the security and integrity of data transmitted over the Internet. It protects communication between client and server through encryption technology, ensuring that sensitive information such as credit card numbers, login credentials, and personal data cannot be stolen or tampered with by third parties.
[0020] In the present application, a data entry method is provided, and the present application also relates to a data entry system, a data entry device, a computing device, and a computer readable storage medium, which are described in detail in the following embodiments.
[0021] Referring to Figure 1 , Figure 1 An architecture diagram of a data entry system provided by an embodiment of the present application is shown, and the data entry system can include a client 100 and a server 200, the server 200 includes a processing unit 2002 and a component library 2004, the component library 2004 includes an entry component 20042 and a target component 20044; The client 100 is configured to send an operation instruction for the entry component 20042 to the server 200; The processing unit 2002 is configured to display a data entry list corresponding to a data entry code of the entry component 20042 in response to the operation instruction, wherein the data entry list includes a plurality of candidate data. The client 100 is further configured to send a data selection instruction for the data entry list to the server 200; The processing unit 2002 is further configured to filter target data from the plurality of candidate data according to a target field of the target component 20044 in response to the data selection instruction, and enter the target data into the target component 20044, wherein the target field is used to identify an entry data type of the target component 20044.
[0022] By applying the scheme of the present application, the data entry list of the entry component is displayed through the data entry code, which improves the reusability of the data entry list, and the target data of the target component is accurately determined from the plurality of candidate data through the target field, so that the user does not need to select the target data from the plurality of candidate data, and the data entry is more concise.
[0023] Referring to Figure 2 , Figure 2An architecture diagram of another data entry system provided by an embodiment of the present application is shown. The data entry system can include a plurality of clients 100 and a server 200. The plurality of clients 100 can establish a communication connection through the server 200. In a data entry scenario, the server 200 is used to provide data entry services between the plurality of clients 100. The plurality of clients 100 can respectively act as a sending end or a receiving end to realize communication through the server 200. A user can interact with the server 200 through the client 100 to receive data sent by other clients 100 or send data to other clients 100, etc. In a data entry scenario, the user can publish operation instructions for an entry component and data selection instructions for a data entry list to the server 200 through the client 100. The server 200 responds to the operation instructions to display a data entry list corresponding to a data entry code of the entry component. The server 200 responds to the data selection instructions to select target data from a plurality of candidate data according to a target field of a target component, and enter the target data into the target component, and push the target component that enters the target data to other clients that establish a communication connection.
[0024] The client 100 and the server 200 establish a connection through a network. The network provides a medium for a communication link between the client 100 and the server 200. The network can include various connection types, such as wired, wireless communication links, or optical fiber cables, etc. The data transmitted by the client 100 can need to be processed by encoding, transcoding, compression, etc. before being published to the server 200.
[0025] The client 100 can be any one of a browser, an APP (Application), a web application such as an H5 (HyperText Markup Language 5) application, a light application (also known as a small program, a lightweight application), a cloud application, etc. The client 100 can be developed based on a software development kit (SDK) provided by the server 200 for a corresponding service, such as an RTC (Real Time Communication) SDK. The client 100 can be deployed in an electronic device and needs to be dependent on the device or some APP in the device to run, etc. The electronic device can have a display screen and support information browsing, etc. For example, it can be a personal mobile terminal such as a mobile phone, a tablet computer, a personal computer, etc. Various other types of applications can also be configured in the electronic device, such as human-computer dialogue applications, model training applications, text processing applications, web browser applications, shopping applications, search applications, instant communication tools, mailbox clients, social platform software, etc.
[0026] The server 200 can include a server providing various services, for example, a server providing a communication service for a plurality of clients, a server for background training providing support for a model used on a client, a server processing data sent by a client, and the like. It should be noted that the server 200 can be implemented as a distributed server cluster composed of multiple servers, or as a single server. The server can also be a server of a distributed system, or a server combined with a blockchain. The server can also be a cloud server of a cloud service, a cloud database, cloud computing, cloud functions, cloud storage, network services, cloud communication, middleware services, domain name services, security services, content distribution networks (CDN, Content Delivery Network), and big data and artificial intelligence platforms, and the like basic cloud computing services, or an intelligent cloud computing server or intelligent cloud host with artificial intelligence technology.
[0027] It should be noted that the data entry method provided in the embodiments of the present application is generally executed by the server, but in other embodiments of the present application, the client can also have similar functions as the server, so as to execute the data entry method provided in the embodiments of the present application. In other embodiments, the data entry method provided in the embodiments of the present application can also be executed by the client and the server together. Next, taking the server executing the data entry method provided in the embodiments of the present application as an example, the specific implementation process of the data entry method is described.
[0028] Referring to Figure 3 , Figure 3 A flowchart of a data entry method provided in an embodiment of the present application is shown, which specifically includes the following steps: Step 302: In response to an operation instruction for the entry component, a data entry list corresponding to the data entry code of the entry component is displayed, wherein the data entry list includes a plurality of candidate data.
[0029] In one or more embodiments of the present application, in the data entry process, in response to an operation instruction for the entry component, a data entry list corresponding to the data entry code of the entry component is displayed.
[0030] Specifically, the operation instruction for the input component can be an instruction sent by the user through the client to request the server to display the data entry list, or can be an instruction sent by the client at a fixed time to request the server to display the data entry list. The client can display multiple input components to the user, and each input component corresponds to a data entry code. The user can select a component that meets his own needs from the multiple input components, and operate the component to send an operation instruction. The user's operation on the input component can be in any of the following manners: clicking, double-clicking, touching, mouse hovering, sliding, long pressing, voice control, or shaking, and the specific manner is selected according to actual conditions, and the embodiments of the present application do not make any limitation in this regard.
[0031] The data entry code is a unique identifier of the data entry list corresponding to the input component, and the data entry list corresponding to the input component can be found based on the data entry code. For example, the data entry code abcd is used to uniquely identify the data entry list 1 corresponding to the input component 1, and the data entry code abcde is used to uniquely identify the data entry list 2 corresponding to the input component 2. Generally, the data entry code will not be exposed to the client.
[0032] The data entry list refers to a set composed of multiple candidate data. The data entry list can be in the form of text or in the form of a table, and the form of the data entry list is set according to actual conditions, and the embodiments of the present application do not make any limitation in this regard. The candidate data can be business data in different scenarios, such as financial data in a financial scenario, employee data in a human resource management scenario, and the like. That is, the data entry method proposed in the embodiments of the present application can be applied to any scenario involving data entry.
[0033] It should be noted that, in response to the operation instruction for the input component, the data entry list corresponding to the data entry code of the input component can be directly displayed in one possible implementation of the present application. In another possible implementation of the present application, in order to ensure the security of the data entry list, in response to the operation instruction for the input component, identity verification can be performed. If the identity verification is passed, it means that the client has the permission to view the data entry list corresponding to the data entry code of the input component, and at this time, the data entry list corresponding to the data entry code of the input component is displayed.
[0034] In actual application, the server can provide the user with components (including the input component and the target component) adapted to different tasks, and the user can view the applicable information of each component in sequence and select the input component and / or the target component meeting the user's own needs from the applicable information. Of course, the selection process of the input component and / or the target component can also be automatically completed by the server. The server can obtain the input requirement information, automatically recommend the input component and / or the target component meeting the input requirement information to the user for operation.
[0035] In an optional embodiment of the present application, before the step of displaying the data entry list corresponding to the data entry code of the input component in response to the operation instruction for the input component, the method further comprises the following steps: obtaining input requirement information; selecting the input component and / or the target component meeting the input requirement information from the plurality of components; adding annotation information to the input component and / or the target component, and displaying the input component and / or the target component.
[0036] Specifically, the input requirement information refers to the real needs of the user when performing data entry. The input requirement information can include the requirement information for the input component and / or the requirement information for the target component. For example, the input requirement information includes but is not limited to the data source (such as a local business table, a third-party database, etc.) of the input data, the data format (such as a natural language format, a JOSN format, etc.) of the input data, the task (such as a reimbursement task, a leave task, etc.) to which the input data belongs, the data type of the input data, the target input address of the input data, etc.
[0037] In actual application, there are various ways to obtain the input requirement information, which are selected according to actual conditions, and the embodiments of the present application do not make any limitation in this regard. In a possible implementation manner of the present application, the input requirement information sent by the user through the client can be received. In another possible implementation manner of the present application, the input requirement information can be read from other data acquisition devices or databases.
[0038] It should be noted that after obtaining the input requirement information, the applicable information of each component can be obtained, the input requirement information and the applicable information of each component are matched, and if the similarity between the applicable information of a certain component and the input requirement information is greater than a first preset threshold, it is indicated that the component meets the input requirement information, and at this time, the component can be determined as the input component or the target component. The applicable information of each component is used to describe the data scene, the data format, the data type, etc. to which the component is applicable, and the first preset threshold is set according to actual conditions, and the embodiments of the present application do not make any limitation in this regard.
[0039] Further, after the input component and / or the target component meeting the input requirement information are screened out from the plurality of components, annotation information can be added to the input component and / or the target component, so as to facilitate the user to clearly and clearly determine the input component and / or the target component from the plurality of components. The way of adding annotation information to the input component and / or the target component includes, but is not limited to, highlighting, adding a bottom color, adding an outer frame, and bolding, which is specifically selected according to actual conditions, and the embodiments of the present application do not make any limitation on this.
[0040] By applying the scheme of the embodiments of the present application, the input requirement information is obtained; the input component and / or the target component meeting the input requirement information are screened out from the plurality of components; and the annotation information is added to the input component and / or the target component, and the input component and / or the target component are displayed. The input component and / or the target component meeting the input requirement information are automatically recommended for the user, the user experience is improved, and the data input process is more concise and efficient.
[0041] Step 304: In response to the data selection instruction for the data input list, the target data is screened out from the plurality of candidate data according to the target field of the target component, and the target data is input into the target component, wherein the target field is used to identify the input data type of the target component.
[0042] In one or more embodiments of the present application, in response to the operation instruction for the input component, the data input list corresponding to the data input coding of the input component is displayed, and further, in response to the data selection instruction for the data input list, the target data can be screened out from the plurality of candidate data according to the target field of the target component, and the target data is input into the target component.
[0043] Specifically, the data selection instruction for the data input list can be an instruction sent by the user through the client to select the candidate data in the data input list, or an instruction sent by the client at a fixed time to select the candidate data in the data input list. The client can display a plurality of target components to the user, and the target fields corresponding to the target components are different. The user can select a target component meeting his own requirements from the plurality of target components, and then send a data selection instruction for the data input list to the server through the client. The server can determine the target data according to the target field of the target component selected by the user, and input the target data into the target component to complete the data input. The data selection instruction for the data input list by the user can be an instruction generated by selecting a certain data or a certain row of data in the data input list. The user can select the data in any way, including clicking, double-clicking, touching, mouse hovering, sliding, long pressing, voice control, or shaking, and the like. The specific selection is selected according to the actual situation, and the embodiments of the present application do not make any limitation on this.
[0044] The target field is used to uniquely identify the entry data type of the target component. Multiple candidate data included in the data entry list can be stored in a table manner, and the column title of the table is determined by the reference field of the data entry list. Each reference field of the data entry list corresponds to a candidate target field, and through the candidate target field, the candidate data under the reference field that can be entered into the target component can be determined. The target data refers to the data corresponding to the candidate target field of the reference field being the same as the target field of the target component.
[0045] In actual application, there are multiple ways to filter the target data from the multiple candidate data according to the target field of the target component, which are selected according to actual conditions, and the embodiments of the present application do not make any limitation on this. In a possible implementation manner of the present application, the candidate target field of the reference field of each candidate data can be traversed according to the data storage order in the data entry list, and the candidate data under the reference field corresponding to the candidate target field being the same as the target field and meeting the data selection instruction is determined as the target data. In another possible implementation manner of the present application, the candidate target field of each reference field of the data entry list can be obtained, and the target data can be filtered from the multiple candidate data according to the target field, the candidate target field and the reference field.
[0046] By applying the scheme of the embodiments of the present application, the data entry list of the entry component is displayed through the data entry code, the multiplicity of the data entry list is improved, and the target data entered into the target component is accurately determined from the multiple candidate data through the target field, without the need for the user to select the target data from the multiple candidate data, so that the data entry is more concise.
[0047] It should be noted that before the target data is filtered from the multiple candidate data according to the target field of the target component, the target field of the target component can be determined. There are multiple ways to determine the target field of the target component, which are selected according to actual conditions, and the embodiments of the present application do not make any limitation on this. In a possible implementation manner of the present application, the target component carries the target field, and the component information of the target component can be directly parsed to obtain the target field. In another possible implementation manner of the present application, the target component does not have a corresponding target field, and at this time, the target field of the target component can be generated according to the entry requirement information.
[0048] In an optional embodiment of the present application, before the target data is filtered from the multiple candidate data according to the target field of the target component in response to the data selection instruction for the data entry list, the following steps can be further included: In response to the data selection instruction for the data entry list, the entry requirement information is obtained; The list configuration information of the data entry list is parsed to obtain the candidate target field; The target field is determined as the target field of the target component from the candidate target field that meets the entry requirement information.
[0049] Specifically, the list configuration information refers to configuration information required when configuring the data entry list. The list configuration information includes, but is not limited to, the structure of the data entry list, data sources, and the like. Taking the data entry list as a table for example, the list configuration information includes a reference field and a candidate target field corresponding to the reference field. The reference field is used to uniquely identify the column title of the table. The candidate target field is used to uniquely identify the target component to which the candidate data under the corresponding reference field can be entered.
[0050] In actual application, when the target field that meets the entry requirement information is filtered from the candidate target field, the component description information of the candidate target field can be acquired, the entry requirement information is matched with the component description information, and the candidate target field with the same or similar component description information as the entry requirement information and greater than a second preset threshold is determined as the target field of the target component. The second preset threshold is specifically set according to actual conditions, and the embodiments of the present application do not make any limitation on this.
[0051] According to the scheme of the embodiments of the present application, in response to the data selection instruction for the data entry list, the entry requirement information is acquired, the list configuration information of the data entry list is parsed to obtain the candidate target field, the target field that meets the entry requirement information is filtered from the candidate target field, and the target field is determined as the target field of the target component. By determining the target field of the target component according to the entry requirement information, the individual customization of the component is realized, and it is ensured that the target data can be accurately entered into the target component.
[0052] In an optional embodiment of the present application, the above-mentioned response to the data selection instruction for the data entry list, and the target data is filtered from the plurality of candidate data according to the target field of the target component, can include the following steps: In response to the data selection instruction for the data entry list, the reference field and the candidate target field are parsed from the list configuration information of the data entry list, wherein the reference field and the candidate target field correspond one by one. The target data is filtered from the plurality of candidate data according to the target field, the candidate target field, and the reference field.
[0053] It should be noted that when the reference field and the candidate target field are parsed from the list configuration information of the data entry list, the attribute identifier of each information in the list configuration information can be acquired, the information with the attribute identifier of the "reference field" is determined as the reference field, and the information with the attribute identifier of the "candidate target field" is determined as the candidate target field. Further, after the reference field and the candidate target field are parsed, the target data can be filtered from the plurality of candidate data according to the target field, the candidate target field, and the reference field.
[0054] In actual application, there are various ways to filter the target data from the plurality of candidate data according to the target field, the candidate target field, and the reference field, which are selected according to actual conditions, and the embodiments of the present application do not make any limitation on this. In a possible implementation manner of the present application, the candidate reference field (the reference field corresponding to the selected data) can be determined according to the data selection instruction, the candidate target fields of the candidate reference fields are compared, and the candidate data under the candidate reference field with the same candidate target field as the target field and meeting the data selection instruction is determined as the target data. In another possible implementation manner of the present application, the target reference field can be filtered from the reference field according to the target field and the candidate target field, and the candidate data under the target reference field and meeting the data selection instruction is determined as the target data.
[0055] According to the scheme of the embodiments of the present application, the reference field and the candidate target field are parsed from the list configuration information of the data entry list in response to the data selection instruction for the data entry list, wherein the reference field and the candidate target field are in one-to-one correspondence; and the target data is filtered from the plurality of candidate data according to the target field, the candidate target field, and the reference field. By using the correspondence between the target field and the reference field, the accuracy of the target data is ensured, and the efficient determination of the target data is realized.
[0056] In an optional embodiment of the present application, the above filtering of the target data from the plurality of candidate data according to the target field, the candidate target field, and the reference field can include the following steps: filtering the target reference field from the reference field according to the target field and the candidate target field, wherein the candidate target field corresponding to the target reference field is the same as the target field; filtering the target data from the data under the target reference field according to the data selection instruction.
[0057] It should be noted that when the target reference field is filtered from the reference field according to the target field and the candidate target field, the target field and each candidate target field can be compared to determine the candidate target field that is the same as the target field, and the reference field corresponding to the candidate target field that is the same as the target field is determined as the target reference field.
[0058] Further, after the target reference field is filtered from the reference field according to the target field and the candidate target field, the candidate data selected by the data selection instruction can be determined from the candidate data under the target reference field, and the candidate data is determined as the target data.
[0059] For example, it is assumed that the candidate target field corresponding to the reference field A is a, the candidate target field corresponding to the reference field B is b, the target field is b, the reference field A includes candidate data A1, A2, A3, and the reference field B includes candidate data B1, B2, B3. The data selection instruction selects the second row data in the data entry list, that is, A2 and B2. According to the target field b and the candidate target field a and the candidate field b, the target reference field B is filtered from the reference field, and according to the data selection instruction (selecting A2 and B2), the target data B2 is filtered from the data (B1, B2, B3) under the target reference field B.
[0060] According to the scheme of the embodiment of the application, the target reference field is filtered from the reference field according to the target field and the candidate target field, wherein the candidate target field corresponding to the target reference field is the same as the target field; and the target data is filtered from the data under the target reference field according to the data selection instruction. Through the target field, the target data entered into the target component is accurately determined from a plurality of candidate data, without the need for the user to select the target data from the plurality of candidate data, so that the data entry is more concise.
[0061] In actual application, before the data entry list corresponding to the data entry code of the entry component is displayed in response to the operation instruction for the entry component, the data entry list corresponding to the data entry code of the entry component can be determined first. There are various ways to determine the data entry list corresponding to the data entry code of the entry component, which are selected according to actual conditions, and the embodiment of the application does not make any limitation on this. In one possible implementation of the application, the data entry list can be filtered from a plurality of entry lists pre-constructed according to the data entry code, wherein the plurality of entry lists respectively carry entry codes. In another possible implementation of the application, a plurality of candidate data can be obtained according to the data entry code, and the data entry list is generated in real time based on the plurality of candidate data.
[0062] In an optional embodiment of the application, before the data entry list corresponding to the data entry code of the entry component is displayed, the following steps can be further included: In response to the operation instruction for the entry component, the data entry code of the entry component is determined. A plurality of candidate data corresponding to the data entry code is obtained, and a data entry list including the plurality of candidate data is generated according to the list configuration information.
[0063] It should be noted that there are various ways to determine the data entry code of the entry component in response to the operation instruction for the entry component, and the actual situation is selected, and the embodiments of the present application do not make any limitation. In a possible implementation manner of the present application, the entry component carries the data entry code, and the component information of the entry component can be directly parsed to obtain the data entry code. In another possible implementation manner of the present application, the entry component does not carry the data entry code, and at this time, the data entry code of the entry component can be queried from the code library according to the component identifier of the entry component, wherein the code library includes the corresponding relationship between a plurality of entry components and entry codes.
[0064] In actual application, after determining the data entry code of the entry component, the data with the same code as the data entry code can be determined as candidate data according to the code carried by each data, and a data entry list including a plurality of candidate data can be generated according to the list configuration information.
[0065] The scheme of the embodiments of the present application determines the data entry code of the entry component in response to the operation instruction for the entry component; obtains a plurality of candidate data corresponding to the data entry code, and generates a data entry list including a plurality of candidate data according to the list configuration information. By generating the data entry list based on the data entry code, the data entry list of the entry component is displayed through the data entry code in the subsequent implementation, and the reusability of the data entry list is improved.
[0066] In an optional embodiment of the present application, since there are various forms of data entry lists, in the embodiments of the present application, the data entry list is taken as an example of a table, that is, the list configuration information includes a reference field, and the reference field is used to identify the storage data type of the data entry list; the above-mentioned generation of the data entry list including a plurality of candidate data according to the list configuration information can include the following steps: Obtaining the candidate data type of the plurality of candidate data; Determining the column title according to the reference field, and constructing the data entry list based on the column title; According to the reference field and the candidate data type, the plurality of candidate data is added to the data entry list.
[0067] Specifically, the column title is used to identify the data type of each column of the table. There are various ways to obtain the candidate data type of the plurality of candidate data, and the actual situation is selected, and the embodiments of the present application do not make any limitation. In a possible implementation manner of the present application, the candidate data carries the candidate data type, and therefore the data type of the plurality of candidate data can be directly obtained. In another possible implementation manner of the present application, a type recognition tool or a deep learning model can be used to recognize the candidate data type of the plurality of candidate data.
[0068] In actual application, the reference field can be directly determined as the column title, or the data type corresponding to the reference field (reference field title) can be obtained and determined as the column title. For example, the reference field is name, and the data type corresponding to the name is name. In this case, the name can be determined as the column title. Based on the column title, the data entry list is constructed, and the number of columns in the data entry list is the same as the number of reference fields.
[0069] Further, after the data entry list is constructed based on the column title, for any candidate data, the candidate data is added to the column matched with the reference field and the candidate data type, so as to generate the data entry list.
[0070] By applying the scheme of the embodiments of the present application, the candidate data types of the plurality of candidate data are obtained, the column title is determined according to the reference field, the data entry list is constructed based on the column title, and the plurality of candidate data is added to the data entry list according to the reference field and the candidate data type. The data entry list is constructed by referring to the reference field, which ensures the ordered storage of the data in the data entry list and facilitates the subsequent determination of the target data.
[0071] In an optional embodiment of the present application, the above-mentioned obtaining of the plurality of candidate data corresponding to the data entry code can include the following steps: identifying the code type of the data entry code; determining the target data query service corresponding to the code type from the data query service, and obtaining the plurality of candidate data by using the target data query service, wherein the data query service includes at least one of a third-party data source query service, a third-party interface query service and a business table query service.
[0072] Specifically, the third-party data source query service is used to query the plurality of candidate data corresponding to the data entry code from the third-party data source. The third-party interface query service is used to query the plurality of candidate data corresponding to the data entry code through the third-party interface. The business table query service is used to query the plurality of candidate data corresponding to the data entry code in the business table.
[0073] It should be noted that in the data entry method proposed in the embodiments of the present application, the configuration of the data source mode is supported, and therefore, the data entry code can be divided into different code types according to the different data source modes. When the plurality of candidate data corresponding to the data entry code is obtained, the code type of the data entry code can be determined, the data source mode can be determined based on the code type, and further, the data query service matched with the data source mode is selected to obtain the plurality of candidate data.
[0074] In practical applications, there are various ways to identify the encoding type of data entry codes, and the specific method chosen depends on the actual situation. This application does not impose any limitations on this approach. One possible implementation of this application is to search for the corresponding encoding type in an encoding type library. Another possible implementation of this application is to call a type identification tool to determine the encoding type of the data entry code.
[0075] The solution of this application embodiment identifies the encoding type of the data entry code; determines the target data query service corresponding to the encoding type from the data query service, and uses the target data query service to obtain multiple candidate data. By configuring different data query services, the problem of not being able to read third-party platforms or interfaces in real time is solved, making the timeliness of data entry higher.
[0076] In one optional embodiment of this application, obtaining multiple candidate data using the target data query service may include the following steps: When the target data query service is a third-party data source query service, multiple candidate data are read from the third-party data source; When the target data query service is a third-party interface query service, multiple candidate data are obtained through the third-party interface; When the target data query service is a business table query service, multiple candidate data are read from the business table.
[0077] It should be noted that, in order to ensure that multiple candidate data can be accurately read from third-party data sources or third-party interfaces, data entry-related configurations can be performed in this embodiment, such as configuration of basic information, interface information, and field information.
[0078] See Figure 4a , Figure 4a This illustration shows a schematic diagram of the configuration interface for basic information in a data entry method according to an embodiment of this application, such as... Figure 4a As shown, when configuring the basic information for data entry, the configuration party can configure the entry group, data entry code, data entry title, data source, number of pages, supported functions (multiple selection, browsing search, input search), callback code, and description information according to actual needs.
[0079] See Figure 4b , Figure 4b This illustration shows a schematic diagram of the interface configuration interface for a data entry method according to an embodiment of this application, such as... Figure 4bAs shown in the figure, when configuring the interface information of data entry, the following three-step configuration according to actual needs can be supported: the first step is interface configuration, supporting configuration of interface information; the second step is parameter association configuration, supporting configuration of multiple parameter (key) information, such as configuration of page number key, page number key, browsing search key, and input search key; and the third step is return parameter configuration, supporting configuration of collection key and total number of pages key.
[0080] Referring to Figure 4c , Figure 4c A configuration interface of field information in a data entry method provided by an embodiment of the present application is shown in the figure, as shown in Figure 4c When configuring the field information of data entry, the configuration party can support configuration (addition, deletion, and saving) of serial numbers (such as 1, 2, and the like), reference fields (such as name, ID, and the like), reference field titles (such as name, code, and the like), target fields (such as tzxgr, synj, and the like), width (such as a table width of 100), and whether visible (such as visible or invisible) according to actual needs.
[0081] By applying the scheme of the embodiment of the present application, in the case of third-party data source query service as the target data query service, multiple candidate data are read from the third-party data source; in the case of third-party interface query service as the target data query service, multiple candidate data are obtained through the third-party interface; and in the case of business table query service as the target data query service, multiple candidate data are read from the business table. By configuring the data source mode, data multi-selection, paging, search, and field display configuration (width, visibility, default value, and the like) are realized, and the flexibility and convenience of data entry are improved.
[0082] Referring to Figure 4d , Figure 4d A configuration interface of field information in a data entry method provided by an embodiment of the present application is shown in the figure, as shown in Figure 4dAs shown, the data entry interface includes an entry component and a target component, the client sends an operation instruction for the entry component to the server; the processing unit in the server responds to the operation instruction to display a data entry list corresponding to the data entry coding of the entry component, wherein the data entry list includes multiple candidate data, the data entry list is divided into two columns, the column titles are single number and type respectively, the single number includes three candidate data (A1, A2, A3), the type includes three candidate data (B1, B2, B3), the data entry list includes reference field A corresponding to the single number and reference field B corresponding to the type, the candidate target field corresponding to the reference field A is a, and the candidate target field corresponding to the reference field B is b; the client sends a data selection instruction (selects A1 and B1) for the data entry list to the server; the processing unit responds to the data selection instruction to filter out target data A1 from the multiple candidate data according to the target field a of the target component, and enters the target data A1 into the target component, at this time, the target data A1 is displayed in both the target component and the entry component.
[0083] Referring to Figure 5 , Figure 5 A processing process flowchart of a data entry method provided by an embodiment of the application is shown, and data interaction is performed between a user, a data entry system and a third-party platform in the data entry process. The data entry system includes a client and a server. Referring to the entry process, the client can display a data entry list to the user for reference entry, and the server supports reference configuration and reference engine query; the third-party platform includes a third-party interface and a third-party data source, and the third-party interface and the third-party data source are used to provide candidate data and construct a data entry list based on the candidate data through data backwriting; Reference configuration: reference configuration maps reference categories (i.e. data sources) through coding, so as to access different management service platforms for management, such as third-party interface management services, third-party data source management services, business table management services, etc. The reference configuration can be reused multiple times for the same interface, the same data source and the same business table, increasing reusability and facilitating operation and maintenance. The reference configuration supports items such as those shown in Figure 4a 、 Figure 4b 、 Figure 4c and Figure 4d ; Reference engine query: in the reference entry process, the reference engine query can be used to determine related data query services, and the data query services are used to read candidate data through business tables or third-party interfaces or third-party data sources, so as to realize data preview, paging, sorting, retrieval, etc. based on reference configuration.
[0084] It is worth mentioning that the data entry system provided by the embodiment of the application integrates an interface management tool for configuring interface mapping relationship, field display configuration and the like, and realizes data entry simulation use, convenient operation and high reusability. For example, when configuring the interface, the interface request address, interface request name, whether the interface enables SSL, whether the interface needs authentication, request method, request data, request timeout, connection timeout, read timeout, whether it is an authentication interface, whether the interface has been verified, whether it is a callback interface, interface request return success key value, success return value, message key value, protocol header (header) configuration, request parameter (param) configuration, return parameter configuration and the like can be configured.
[0085] By applying the scheme of the embodiment of the application, the data entry list of the entry component is displayed through the data entry code, the reusability of the data entry list is improved, the target data of the entry target component is accurately determined from the multiple candidate data through the target field, the user does not need to select the target data from the multiple candidate data, and the data entry is more concise; the configuration in multiple scenarios is unified, the entry configuration is convenient and simple, and when the entry component is used, only the data entry code needs to be configured to reuse one entry component; when the third-party data source changes or the third-party interface port changes, only the unified management service platform needs to be updated for batch modification, and the data entry maintenance is more convenient.
[0086] Corresponding to the above-mentioned data entry method embodiment, the application also provides a data entry device embodiment, Figure 6 The structure schematic diagram of a data entry device provided by one embodiment of the application is shown. As shown in the figure, Figure 6 The device comprises: The display module 602 is configured to display the data entry list corresponding to the data entry code of the entry component in response to the operation instruction for the entry component, wherein the data entry list comprises multiple candidate data. The entry module 604 is configured to filter out the target data from the multiple candidate data according to the target field of the target component in response to the data selection instruction for the data entry list, and enter the target data into the target component, wherein the target field is used to identify the entry data type of the target component.
[0087] Optionally, the device further comprises a generation module configured to determine the data entry code of the entry component in response to the operation instruction for the entry component, obtain the multiple candidate data corresponding to the data entry code, and generate the data entry list comprising the multiple candidate data according to the list configuration information.
[0088] Optionally, the list configuration information includes a reference field used to identify a storage data type of the data entry list; the generation module is further configured to obtain candidate data types of the plurality of candidate data; determine column titles according to the reference field, and construct the data entry list based on the column titles; and add the plurality of candidate data to the data entry list according to the reference field and the candidate data types.
[0089] Optionally, the generation module is further configured to identify an encoding type of the data entry code; determine a target data query service corresponding to the encoding type from the data query service, and obtain the plurality of candidate data by using the target data query service, wherein the data query service includes at least one of a third-party data source query service, a third-party interface query service, and a business table query service.
[0090] Optionally, the generation module is further configured to read the plurality of candidate data from a third-party data source when the target data query service is the third-party data source query service; obtain the plurality of candidate data through a third-party interface when the target data query service is the third-party interface query service; and read the plurality of candidate data from a business table when the target data query service is the business table query service.
[0091] Optionally, the apparatus further includes a screening module configured to obtain entry requirement information in response to a data selection instruction for the data entry list; parse list configuration information of the data entry list to obtain candidate target fields; screen target fields that meet the entry requirement information from the candidate target fields, and determine the target fields as target fields of the target component.
[0092] Optionally, the entry module 604 is further configured to parse reference fields and candidate target fields from list configuration information of the data entry list in response to a data selection instruction for the data entry list, wherein the reference fields and the candidate target fields are in one-to-one correspondence; and screen target data from the plurality of candidate data according to the target fields, the candidate target fields, and the reference fields.
[0093] Optionally, the entry module 604 is further configured to screen target reference fields from the reference fields according to the target fields and the candidate target fields, wherein the candidate target fields corresponding to the target reference fields are the same as the target fields; and screen target data from data under the target reference fields according to the data selection instruction.
[0094] Optionally, the apparatus further includes an obtaining module configured to obtain entry requirement information; screen an entry component and / or a target component that meet the entry requirement information from a plurality of components; add annotation information to the entry component and / or the target component; and display the entry component and / or the target component.
[0095] By applying the scheme of the embodiment of the application, the data entry list of the entry component is displayed through data entry coding, the multiplicity of the data entry list is improved, and the target data of the entry target component is accurately determined from the multiple candidate data through the target field, without the need for the user to select the target data from the multiple candidate data, so that the data entry is more concise.
[0096] The above is a schematic scheme of a data entry device of the embodiment. It should be noted that the technical scheme of the data entry device belongs to the same concept as the technical scheme of the data entry method described above, and the details of the technical scheme of the data entry device that are not described in detail can be referred to the description of the technical scheme of the data entry method.
[0097] Figure 7 A structural block diagram of a computing device provided by an embodiment of the application is shown. The components of the computing device 700 include, but are not limited to, a memory 710 and a processor 720. The processor 720 is connected to the memory 710 through a bus 730, and a database 750 is used to save data.
[0098] The computing device 700 also includes an access device 740, which enables the computing device 700 to communicate via one or more networks 760. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 740 can include one or more of any type of network interface (for example, a network interface card (NIC)) such as a IEEE 802.11 wireless local area network (WLAN) wireless interface, a worldwide interoperability for microwave access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, a near field communication (NFC) interface, and the like.
[0099] In an embodiment of the application, the above-mentioned components of the computing device 700 and other components not shown in the Figure 7 may be connected to each other, for example, through a bus. It should be understood that Figure 7The illustrated computing device architecture diagram is merely for the purpose of example, and is not a limitation on the scope of the present application. Other components can be added or replaced as needed by those skilled in the art.
[0100] The computing device 700 can be any type of stationary or mobile computing device, including a mobile computer or mobile computing device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smartphone), a wearable computing device (e.g., a smart watch, smart glasses, etc.), or other type of mobile device, or a stationary computing device such as a desktop computer or a personal computer (PC). The computing device 700 can also be a mobile or stationary server.
[0101] The processor 720 is configured to execute computer programs / instructions that implement the steps of the data entry method described above when executed by the processor.
[0102] The above is a schematic scheme of the computing device of the embodiment. It should be noted that the technical scheme of the computing device and the technical scheme of the data entry method described above belong to the same concept, and the details of the technical scheme of the computing device that are not described in detail can be referred to the description of the technical scheme of the data entry method.
[0103] An embodiment of the present application also provides a computer readable storage medium storing computer programs / instructions that implement the steps of the data entry method described above when executed by the processor.
[0104] The above is a schematic scheme of the computer readable storage medium of the embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the data entry method described above belong to the same concept, and the details of the technical scheme of the storage medium that are not described in detail can be referred to the description of the technical scheme of the data entry method.
[0105] An embodiment of the present application also provides a computer program product comprising computer programs / instructions that implement the steps of the data entry method described above when executed by the processor.
[0106] The above is a schematic scheme of the computer program product of the embodiment. It should be noted that the technical scheme of the computer program product and the technical scheme of the data entry method described above belong to the same concept, and the details of the technical scheme of the computer program product that are not described in detail can be referred to the description of the technical scheme of the data entry method.
[0107] The above-described embodiments of the application have several aspects, no single one of which is solely responsible for the application's desirable attributes. Without limiting the scope of the application as expressed by the claims which follow, some further embodiments make these aspects even more useful. Other embodiments can result in less desirable attributes.
[0108] The computer readable medium can include any entity or apparatus capable of carrying the computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier signal, telecommunication signal, software distribution medium, etc. It should be noted that the computer readable medium can include appropriate contents according to the requirements of patent practice, for example, according to the patent practice in some regions, the computer readable medium does not include electrical carrier signals and telecommunication signals.
[0109] It should be noted that for the foregoing method embodiments, the acts described can be performed in a different order from that described, and that various elements can be added, deleted, modified, or rearranged without departing from the scope of the application as set forth by the claims. Further, the above-described embodiments of the application are merely possible implementations of the present application, and thus are not intended to limit the scope of the present application. It should be understood by one of ordinary skill in the art that more or fewer acts can be included. Additionally, the actions described herein can be represented by a machine readable medium having stored computer readable instructions to perform the actions. Further, these instructions can be executed by a processor, such as the processor 102 of the device 100.
[0110] In the above-described embodiments, the description of each embodiment focuses on different aspects, and the parts not described in detail in a certain embodiment can be referred to the relevant description of other embodiments.
[0111] The above-disclosed preferred embodiments of the application are only used to help explain the application. Alternative embodiments do not describe all the details, nor limit the application to only the specific embodiments described. Obviously, according to the content of the embodiments of the application, many modifications and changes can be made. The embodiments of the application are selected and described in order to better explain the principles and practical application of the embodiments of the application, so that those skilled in the art can well understand and use the application. The application is limited by the claims and their full scope and equivalents.
Claims
1. A data entry method, characterized in that, include: In response to an operation command for the input component, a data input list corresponding to the data input code of the input component is displayed, wherein the data input list includes multiple candidate data; In response to a data selection instruction for the data entry list, target data is selected from the plurality of candidate data according to the target field of the target component, and the target data is entered into the target component, wherein the target field is used to identify the data type of the data entered into the target component.
2. The method according to claim 1, characterized in that, Before displaying the data entry list corresponding to the data entry code of the data entry component, the method further includes: In response to an operation command for the input component, the data input code of the input component is determined; Obtain multiple candidate data corresponding to the data entry code, and generate a data entry list including the multiple candidate data according to the list configuration information.
3. The method according to claim 2, characterized in that, The list configuration information includes a reference field, which is used to identify the storage data type of the data entry list; The step of generating a data entry list including the multiple candidate data based on the list configuration information includes: Obtain the candidate data type of the multiple candidate data; The column headers are determined based on the reference fields, and the data entry list is constructed based on the column headers; Based on the reference field and the candidate data type, the multiple candidate data are added to the data entry list.
4. The method according to claim 2, characterized in that, The step of obtaining multiple candidate data corresponding to the data entry code includes: Identify the encoding type of the data entry code; The target data query service corresponding to the encoding type is determined from the data query service, and the multiple candidate data are obtained using the target data query service. The data query service includes at least one of the following: third-party data source query service, third-party interface query service, and business table query service.
5. The method according to claim 4, characterized in that, The step of obtaining the multiple candidate data using the target data query service includes: If the target data query service is a third-party data source query service, the multiple candidate data are read from the third-party data source; In the case where the target data query service is a third-party interface query service, the multiple candidate data are obtained through the third-party interface; When the target data query service is a business table query service, the multiple candidate data are read from the business table.
6. The method according to claim 1, characterized in that, Before the step of filtering target data from the plurality of candidate data according to the target field of the target component in response to the data selection instruction for the data entry list, the method further includes: In response to a data selection instruction for the data entry list, obtain data entry requirement information; Parse the list configuration information of the data entry list to obtain candidate target fields; Select target fields that meet the input requirements from the candidate target fields, and determine the target fields as the target fields of the target component.
7. The method according to claim 1, characterized in that, The step of responding to a data selection instruction for the data entry list and filtering target data from the plurality of candidate data according to the target field of the target component includes: In response to a data selection instruction for the data entry list, reference fields and candidate target fields are parsed from the list configuration information of the data entry list, wherein the reference fields and candidate target fields correspond one-to-one; Target data is selected from the plurality of candidate data based on the target field, the candidate target field, and the reference field.
8. The method according to claim 7, characterized in that, The step of filtering target data from the plurality of candidate data based on the target field, the candidate target field, and the reference field includes: Based on the target field and the candidate target field, a target reference field is selected from the reference fields, wherein the candidate target field corresponding to the target reference field is the same as the target field; According to the data selection instruction, the target data is filtered out from the data under the target reference field.
9. The method according to claim 1, characterized in that, Before displaying the data entry list corresponding to the data entry code of the data entry component in response to the operation instruction for the data entry component, the method further includes: Obtain the data entry requirements; Select the input components and / or target components that meet the input requirements from among multiple components; Add annotation information to the input component and / or the target component, and display the input component and / or the target component.
10. A data entry system, characterized in that, It includes a client and a server, wherein the server includes a processing unit and a component library, and the component library includes an input component and a target component; The client is used to send operation instructions for the input component to the server; The processing unit is configured to respond to the operation instruction by displaying a data entry list corresponding to the data entry code of the data entry component, wherein the data entry list includes multiple candidate data. The client is also used to send a data selection instruction for the data entry list to the server; The processing unit is further configured to respond to the data selection instruction, filter out target data from the plurality of candidate data according to the target field of the target component, and input the target data into the target component, wherein the target field is used to identify the input data type of the target component.
11. A data entry device, characterized in that, include: The display module is configured to respond to operation instructions for the input component by displaying a data entry list corresponding to the data entry code of the input component, wherein the data entry list includes multiple candidate data. The data entry module is configured to, in response to a data selection instruction for the data entry list, filter target data from the plurality of candidate data according to the target field of the target component, and enter the target data into the target component, wherein the target field is used to identify the data type of the data entry of the target component.
12. A computing device, characterized in that, include: Memory and processor; The memory is used to store computer programs / instructions, and the processor is used to execute the computer programs / instructions, which, when executed by the processor, implement the steps of the method according to any one of claims 1 to 9.
13. A computer-readable storage medium, characterized in that, It stores a computer program / instructions that, when executed by a processor, implement the steps of the method according to any one of claims 1 to 9.
14. A computer program product, characterized in that, Includes a computer program / instructions that, when executed by a processor, implement the steps of the method according to any one of claims 1 to 9.