Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Fig. 1 is a schematic flow chart of a data entry method according to an embodiment of the present invention, as shown in fig. 1, the method includes:
101. acquiring system data, and analyzing and acquiring each field of the system data;
102. verifying each field of the system data according to a currently stored data verification standard to obtain a verification result, wherein the data verification standard comprises a standard format of each standard field;
103. and according to the checking result, inputting and processing the system data.
In practical application, data interaction between systems can be realized through the intermediate component. Optionally, when system data needs to be entered, the system data under a certain system may be acquired through the intermediate component.
The standard field in the data check standard may be some preset fields, for example, in practical applications, a field in which an error is usually prone to occur, or a field whose content is relatively fixed and definite. For example, for a field for characterizing a mobile phone number of a user, a standard format of the field may be configured as an 11-digit number, and accordingly, when a certain field for characterizing a mobile phone number in system data is detected to be not in compliance with the standard format, it is indicated that there is a high possibility of an error in the field.
Specifically, the data verification standard may be pre-established, and accordingly, as shown in fig. 2, fig. 2 is a schematic flow chart of another data entry method provided in the first embodiment of the present invention, and on the basis of the implementation shown in fig. 1, the method further includes:
201. receiving a configuration instruction of a user, wherein the configuration instruction comprises a first field and a first format;
202. and taking the first field as one of standard fields, taking the first format as the standard format of the first field, and storing the first format into the data check standard.
By the embodiment, the standard format of each standard field can be established in advance, so that the system data can be automatically verified according to the standard format of each standard field in the subsequent data entry process.
Specifically, there are various ways to verify system data according to a data verification standard, for example, as shown in fig. 3, fig. 3 is a schematic flow chart of another data entry method provided by an embodiment of the present invention, and based on any of the foregoing embodiments, 102 may specifically include:
301. for each field of the system data, detecting whether a first standard field matched with the field exists in the data check standard;
302. if the first standard field exists, taking the standard format of the first standard field as the standard format of the field, and detecting whether the format of the field in the system data is matched with the standard format of the field;
303. if the matching is successful, the verification is successful, otherwise, the verification fails.
Specifically, after each field of the system data is obtained through analysis, for each field, a standard field matched with the field is determined from the data verification standard, where matching may mean that the content represented by the field is the same, for example, both fields are used for representing the mobile phone number of the user. Further, the standard format of the standard field is used as the standard format of the field, whether the format of the field in the system data is matched with the standard format of the field is detected, if so, the format of the field is in accordance with the requirement, the verification is successful, otherwise, the field verification is failed. The format matching may be that the format of the field is the same, for example, the same is 11 bits, or the content of the field is the same, and the specific case may be determined according to the content represented by the field, which is not limited herein.
Further, after checking a field of the system data, corresponding processing may be performed according to a checking result, specifically, fig. 4 is a flowchart of another data entry method provided in an embodiment of the present invention, and on the basis of the implementation manner shown in fig. 3, 103 may specifically include:
401. inputting fields which are successfully verified in all fields of the system data;
402. and aiming at the fields which fail to be checked in all the fields of the system data, entering and adding reminding marks for the fields.
Specifically, after a field of the system data is verified, if the field is verified successfully, the field can be entered, and if the field is verified unsuccessfully, the field is marked by using a reminding mark during the entry so as to inform a user that the field may have an error, so that the user can further confirm the field.
Optionally, the manner of the reminder mark may be various, for example, the field is marked with a prominent color, and this embodiment is not limited thereto.
In practical applications, there may be no standard field matching with a field of system data in the data verification standard, that is, there is a low probability of error occurring in such a field, and accordingly, as shown in fig. 5, fig. 5 is a schematic flow chart of another data entry method provided by an embodiment of the present invention, and on the basis of the implementation manner shown in fig. 3 or fig. 4, after 301, the method further includes:
501. and if the first standard field does not exist, entering the field.
Specifically, data fields which are usually not wrong can be normally recorded, so that the data recording time is saved, and the data recording efficiency is improved.
According to the data entry method provided by the embodiment, each field of the system data is automatically checked according to the standard format of each preset standard field, and the data entry scheme is performed according to the check result, so that the automatic entry and check of the data are realized, and the efficiency and the accuracy of the data entry are improved.
Fig. 6 is a schematic structural diagram of a data entry device according to a second embodiment of the present invention, and as shown in fig. 6, the device includes:
the acquisition module 61 is configured to acquire system data and analyze and acquire each field of the system data;
the checking module 62 is configured to check each field of the system data according to a currently stored data checking standard, so as to obtain a checking result, where the data checking standard includes a standard format of each standard field;
and the processing module 63 is configured to perform entry processing on the system data according to the verification result.
In practical application, data interaction between systems can be realized through the intermediate component. Optionally, when system data needs to be entered, the obtaining module 61 may obtain the system data under a certain system through the intermediate component.
The standard field in the data check standard may be some preset fields, for example, in practical applications, a field in which an error is usually prone to occur, or a field whose content is relatively fixed and definite.
Specifically, the data verification standard may be pre-established, and accordingly, as shown in fig. 7, fig. 7 is a schematic structural diagram of another data entry device provided in the second embodiment of the present invention, and on the basis of the implementation manner shown in fig. 6, the device further includes:
a receiving module 71, configured to receive a configuration instruction of a user, where the configuration instruction includes a first field and a first format;
a storage module 72, configured to use the first field as one of the standard fields, use the first format as the standard format of the first field, and store the first format in the data check standard.
By the embodiment, the standard format of each standard field can be established in advance, so that the system data can be automatically verified according to the standard format of each standard field in the subsequent data entry process.
Specifically, there are various ways for the checking module 62 to check the system data according to the data checking standard, for example, as shown in fig. 8, fig. 8 is a schematic structural diagram of another data entry device provided by the second embodiment of the present invention, and on the basis of any one of the foregoing embodiments, the checking module 62 may specifically include:
a detecting unit 621, configured to detect, for each field of the system data, whether a first standard field matching the field exists in the data check standard;
a matching unit 622, configured to, if the first standard field exists, take the standard format of the first standard field as the standard format of the field, and detect whether the format of the field in the system data matches the standard format of the field;
and a determination unit 623, configured to, if the matching is performed, successfully check, and otherwise, fail to check.
Specifically, after the obtaining module 61 analyzes each field of the obtained system data, the detecting unit 621 determines, for each field, a standard field matched with the field from the data verification standard, where matching may mean that the content represented by the field is the same. Further, the detecting unit 621 uses the standard format of the standard field as the standard format of the field, the matching unit 622 detects whether the format of the field in the system data matches the standard format of the field, if so, the determining unit 623 determines that the format of the field meets the requirement, and the verification is successful, otherwise, the determining unit 623 determines that the field verification fails.
Further, after the checking module 62 checks the field of the system data, the processing module 63 may perform corresponding processing according to a checking result, specifically, fig. 9 is a schematic structural diagram of another data entry device provided in the second embodiment of the present invention, and on the basis of the implementation shown in fig. 8, the processing module 63 may specifically include:
the first processing unit 631 is configured to enter, for a successfully verified field of the fields of the system data, the field;
and the second processing unit 632 is configured to enter and add a reminder to a field that fails to be checked in each field of the system data.
Specifically, after the verification module 62 verifies a field of the system data, if the field is verified successfully, the first processing unit 631 enters the field, and if the field is verified unsuccessfully, the second processing unit 632 marks the field with a reminder while entering the field, so as to notify the user that the field may have an error, so that the user can further confirm the field.
Optionally, the manner of the reminder mark may be various, for example, the field is marked with a prominent color, and this embodiment is not limited thereto.
In practical applications, there may be no standard field matching with a field of the system data in the data verification standard, that is, there is a low probability that such a field is wrong, and accordingly, the second embodiment of the present invention further provides another data entry apparatus, and on the basis of the embodiment shown in fig. 8 or fig. 9, the processing module 63 is further configured to enter the field if the detecting unit 621 detects that the first standard field is not present.
Specifically, data fields which are usually not wrong can be normally recorded, so that the data recording time is saved, and the data recording efficiency is improved.
According to the data entry device provided by the embodiment, each field of the system data is automatically checked according to the standard format of each preset standard field, and the data entry scheme is performed according to the check result, so that the automatic entry and check of the data are realized, and the efficiency and the accuracy of the data entry are improved.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working process of the apparatus described above may refer to the corresponding process in the foregoing method embodiment, and is not described herein again. In addition, it should be noted that each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, or in a form of hardware plus a software functional unit.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.