CN112307005B - Write-in checking method and device - Google Patents

Write-in checking method and device Download PDF

Info

Publication number
CN112307005B
CN112307005B CN202011254980.XA CN202011254980A CN112307005B CN 112307005 B CN112307005 B CN 112307005B CN 202011254980 A CN202011254980 A CN 202011254980A CN 112307005 B CN112307005 B CN 112307005B
Authority
CN
China
Prior art keywords
input field
written
writing
current input
character
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011254980.XA
Other languages
Chinese (zh)
Other versions
CN112307005A (en
Inventor
夏婷
张己宽
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin Huishang Gongda Technology Co ltd
Original Assignee
Tianjin Huishang Gongda Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianjin Huishang Gongda Technology Co ltd filed Critical Tianjin Huishang Gongda Technology Co ltd
Priority to CN202011254980.XA priority Critical patent/CN112307005B/en
Publication of CN112307005A publication Critical patent/CN112307005A/en
Application granted granted Critical
Publication of CN112307005B publication Critical patent/CN112307005B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/21Design, administration or maintenance of databases
    • G06F16/215Improving data quality; Data cleansing, e.g. de-duplication, removing invalid entries or correcting typographical errors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The application provides a write-in checking method and a write-in checking device, wherein the method comprises the following steps: determining a position to be written in a current input field; judging the writing state of the current input field and the writing state of the position to be written; if the writing state of the current input field and the writing state of the position to be written are both normal, writing the preprocessed data to be written to obtain actual written data; if the writing state of the current input field and/or the writing state of the position to be written are/is abnormal, limiting the writing operation; comparing the actual written data with the preprocessed data to be written; and if the data to be written are inconsistent, clearing the current input field and rewriting the preprocessed data to be written. According to the write-in checking method and device, the write-in state of the input field is checked in real time, the invalid input condition is effectively avoided, meanwhile, the write-in error is corrected in time by checking the actual write-in data, and the accuracy of the write-in data is improved.

Description

Write-in checking method and device
Technical Field
The present application relates to the field of data writing technologies, and in particular, to a write checking method and apparatus.
Background
An erp (enterprise Resource planning) system is a management platform which is established on the basis of information technology, integrates the information technology and advanced management ideas, and provides decision means for enterprise employees and decision layers by using a systematized management idea. What is more important in the practical application of the ERP system is to embody the essence of the management tool, and the main purpose of the ERP system is to perform comprehensive balance and optimized management on the comprehensive resources of people, property, objects, information, time, space and the like owned by an enterprise.
As shown in fig. 1, taking an e-commerce platform and a dealer as an example, a terminal device 200 installed with an ERP system is usually installed at one end of the dealer, after a user places an order on the e-commerce platform, the e-commerce platform generates order information and stores the order information in the e-commerce platform data system 100, and the dealer needs to obtain a receipt from the e-commerce platform data system 100 and input the receipt into its own ERP system, so as to conveniently manage a commodity sales condition. After a dealer party takes a document from an e-commerce platform, information is usually manually input into an ERP system, however, the accuracy of data input is difficult to guarantee through manual information input, and once the order quantity is huge, the document is difficult to be input in a rapid and real-time mode completely manually. In order to avoid the problems of manpower waste and high entry error rate in manual entry, at present, enterprises develop interfaces, so that an ERP system is connected with a data system similar to an e-commerce platform, and further, documents of the data system can automatically enter the ERP system.
In fact, in the actual data writing process, the input field does not enter the normal writing state during writing, for example, the input field has reached the writing limit, or the cursor cannot be displayed normally, or the system is stuck, which often causes writing errors, increases the burden of the subsequent overall writing check, increases the work repetition rate, and reduces the work efficiency.
Disclosure of Invention
The application provides a write-in checking method and a write-in checking device, which are used for solving the problem that errors and omissions are easy to occur in the existing write-in process.
A first aspect of the present application provides a write checking method, including:
determining a position to be written in a current input field;
judging the writing state of the current input field and the writing state of the position to be written;
if the writing state of the current input field and the writing state of the position to be written are both normal, writing the preprocessed data to be written to obtain actual written data;
if the writing state of the current input field and/or the writing state of the position to be written are/is abnormal, limiting the writing operation;
comparing the actual written data with the preprocessed data to be written;
and if the data to be written are inconsistent, clearing the current input field and rewriting the preprocessed data to be written.
Optionally, the specific step of determining the position to be written in the current input field includes:
acquiring character information of a current input field;
and determining the tail position of the character as a position to be written according to the character information.
Optionally, the specific step of determining the writing status of the current input field and the writing status of the position to be written includes:
acquiring character information of a current input field, wherein the character information at least comprises: the current character size;
if the current character quantity is equal to the write limit value of the preset input field, the write state of the current input field is abnormal;
if the current character quantity is smaller than the writing limit value of the preset input field, acquiring the gray value and the gray conversion frequency of the cursor;
if the gray value of the cursor is 0 or the gray conversion frequency is smaller than a preset frequency threshold, the writing state of the current input field is abnormal;
and if the gray value of the cursor is greater than 0 and the gray conversion frequency is equal to a preset frequency threshold, the writing state of the current input field is normal.
Optionally, the specific step of determining the writing status of the current input field and the writing status of the position to be written includes:
calculating the difference between the actual writing time and the actual typing time of the actual writing data;
if the difference value is larger than the preset time value, the writing state of the current input field is abnormal;
and if the difference value is smaller than or equal to a preset time value, the writing state of the current input field is normal.
Optionally, if the input field is inconsistent with the current input field, the specific step of clearing the current input field and rewriting the data to be written includes:
selecting all characters in the current input field;
writing a one-bit value character to cover all the characters;
deleting the one-bit value character.
A second aspect of the present application provides a write check apparatus, including:
the position determining unit is used for determining the position to be written in the current input field;
the state judgment unit is used for judging the writing state of the current input field and the writing state of the position to be written;
the writing unit is used for writing the preprocessed data to be written into the current input field to obtain actual written data if the writing state of the current input field and the writing state of the position to be written into the current input field are both normal;
the limiting unit is used for limiting the writing operation if the writing state of the current input field and/or the writing state of the position to be written are/is abnormal;
the comparison unit is used for comparing the actual written data with the preprocessed data to be written;
and the emptying unit is used for emptying the current input field and rewriting the preprocessed data to be written if the input fields are inconsistent.
Optionally, the position determination unit comprises:
the character acquisition unit is used for acquiring the character information of the current input field;
and the character tail position determining unit is used for determining the character tail position as a position to be written according to the character information.
Optionally, the state determination unit includes:
a character information acquisition unit configured to acquire character information of a current input field, the character information including at least: the current character size;
a first judgment unit, configured to, if a current character amount is equal to a preset input field write limit value, determine that a write status of the current input field is abnormal;
the cursor information acquisition unit is used for acquiring the gray value and the gray conversion frequency of the cursor if the current character quantity is less than the writing limit value of the preset input field;
a second determining unit, configured to determine that the current input field is abnormal if the gray scale value of the cursor is 0 or the gray scale conversion frequency is smaller than a preset frequency threshold;
and the third judging unit is used for judging that the writing state of the current input field is normal if the gray value of the cursor is greater than 0 and the gray conversion frequency is equal to a preset frequency threshold.
Optionally, the state determination unit includes:
a calculation unit for calculating a difference between a key-in time of actually writing data and an actual writing time;
a fourth judging unit, configured to determine that the current input field is abnormal if the difference is greater than the preset time value;
and the fifth judging unit is used for judging that the writing state of the current input field is normal if the difference value is less than or equal to a preset time value.
Optionally, the emptying unit comprises:
a selection unit for selecting all characters of the current input field;
a key-in unit for writing a one-bit value character to cover all the characters;
and the deleting unit is used for deleting the one-bit value character.
As can be seen from the above technologies, the present application provides a write checking method and apparatus, where the method includes: determining a position to be written in a current input field; judging the writing state of the current input field and the writing state of the position to be written; if the writing state of the current input field and the writing state of the position to be written are both normal, writing the preprocessed data to be written to obtain actual written data; if the writing state of the current input field and/or the writing state of the position to be written are/is abnormal, limiting the writing operation; comparing the actual written data with the preprocessed data to be written; and if the data to be written are inconsistent, clearing the current input field and rewriting the preprocessed data to be written. When the method is used, firstly, the writing starting position of data to be written in the current input field is determined, which can be generally understood as the position of a cursor, then whether the current input field and the writing starting position are in a normal writing state or not is checked, the writing operation can be continued only if both the current input field and the writing starting position are in the normal writing state, and as long as one of the current input field and the writing starting position is in the abnormal writing state, the subsequent writing operation is limited so as to avoid generating a chain reaction and influencing the accuracy of the subsequent writing. Because the order data directly acquired from the e-commerce platform and the like has some differences in format, sequence and the like with a standard data list provided by the ERP system, the data to be written needs to be preprocessed before formal writing, and the data to be written conforming to the ERP standard is obtained. And after all the data to be written are written, checking the actual written data, emptying the actual written data inconsistent with the data to be written, and inputting correct data again. According to the write-in checking method and device, the write-in state of the input field is checked in real time, the condition that input is invalid is effectively avoided, meanwhile, write-in errors are corrected in time by checking actual write-in data, and the accuracy of the write-in data is improved.
Drawings
In order to more clearly explain the technical solution of the present application, the drawings needed to be used in the embodiments will be briefly described below, and it is obvious to those skilled in the art that other drawings can be obtained according to the drawings without any creative effort.
Fig. 1 is a schematic diagram illustrating an e-commerce platform data system and an ERP system provided in the present application;
FIG. 2 is a flowchart of a write checking method according to an embodiment of the present disclosure;
FIG. 3 is a flowchart illustrating a method for determining a position to be written in a current input field according to an embodiment of the present disclosure;
fig. 4 is a flowchart of a method for determining a write status according to an embodiment of the present disclosure;
FIG. 5 is a flowchart of another method for determining a write status according to an embodiment of the present disclosure;
FIG. 6 is a flowchart of a method for clearing a current input box character according to an embodiment of the present application;
FIG. 7 is a schematic structural diagram of a write inspection apparatus provided in the present application;
fig. 8 is a schematic structural diagram of a position determination unit according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a state determination unit according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of another state determination unit according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of an emptying unit according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present invention will be described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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.
Referring to fig. 2, a flowchart of a write checking method provided in an embodiment of the present application is shown, where the method includes:
s101, determining a position to be written in a current input field;
s102, judging the writing state of the current input field and the writing state of the position to be written;
s103, if the writing state of the current input field and the writing state of the position to be written are both normal, writing the preprocessed data to be written to obtain actual written data;
s104, if the writing state of the current input field and/or the writing state of the position to be written are/is abnormal, limiting the writing operation;
s105, comparing the actual written data with the preprocessed data to be written;
and S106, if the data are inconsistent, clearing the current input field, and rewriting the preprocessed data to be written.
When the method is used, the writing starting position of the data to be written in the current input field is determined firstly, and the position of the data to be written in the current input field can be generally understood as the position of a cursor.
Specifically, referring to fig. 3, a flowchart of a method for determining a to-be-written position of a current input field according to an embodiment of the present application is provided. The method comprises the following steps:
s201, acquiring character information of a current input field;
s202, determining the tail position of the character as a position to be written according to the character information.
The method comprises the steps of firstly acquiring character information of a current input field, wherein the current input field may be a brand-new input field or an input field with partial input characters, receiving the last character as a position to be written, and effectively avoiding inserting newly written data into original data.
Furthermore, the initial character in the data to be written can be determined corresponding to the end of the character in the current input field, so that the problems of repeated writing or missed writing and the like can be effectively avoided.
And then checking whether the current input field and the position to be written are in a normal writing state, and only if the current input field and the position to be written are in the normal writing state, the writing operation can be continued, and as long as one is in an abnormal writing state, the subsequent writing operation is limited so as to avoid generating chain reaction and influencing the accuracy of the subsequent writing.
Specifically, referring to fig. 4, a flowchart of a method for determining a write status according to an embodiment of the present application is provided. The method comprises the following steps:
s301, acquiring character information of a current input field, wherein the character information at least comprises: the current character size;
s302, if the current character quantity is larger than or equal to a preset input field writing limit value, the writing state of the current input field is abnormal;
s303, if the current character quantity is smaller than the writing limit value of the preset input field, acquiring the gray value and the gray conversion frequency of the cursor;
s304, if the gray scale value of the cursor is 0 or the gray scale conversion frequency is smaller than a preset frequency threshold, the writing state of the current input field is abnormal;
s305, if the gray scale value of the cursor is larger than 0 and the gray scale conversion frequency is equal to a preset frequency threshold, the writing state of the current input field is normal.
The writing state of the input field is generally divided into writable state and saturated non-writable state, the current input field may be in a state where partial characters already exist, and character information of the current input field is acquired, where the character information at least includes: the current character amount, i.e., the amount of characters that have been written in the current input field, may further include: character format, character content, etc. According to the actual requirement or the historical experience value, a preset input field writing limit value is set, and the preset input field writing limit value can prevent the written data from being too long to increase the subsequent inspection burden, prevent long-string invalid data input caused by accidental touch and reduce the data positioning and deleting burden.
If the current character amount is equal to the preset writing limit value of the input field, it means that the character amount of the current input field is saturated and writing cannot be continued any more, and even if a writing operation occurs, characters cannot be actually written, which is likely to cause a problem of missed writing, so that the current writing state is defined as abnormal.
If the current character quantity is less than the preset input field writing limit value, the current input field can still continue inputting characters. At this time, it is necessary to continuously determine whether the cursor in the current input field is in a normal state. Usually, a cursor is used to represent the current writing state, and if the gray scale value of the cursor is 0, it indicates that the cursor is invisible at this time, the writing position cannot be located, and further, a character cannot be written, so the current writing state is defined as abnormal. Meanwhile, the flashing frequency of the cursor is also an important standard for judging the writing state, if the gray scale conversion frequency of the cursor is smaller than a preset frequency threshold, namely the cursor is flashed too slowly, the problem that the system is stuck and the problem of missed writing is easy to occur is shown, so that the current writing state is defined to be abnormal. Only when the gray scale value and the gray scale conversion frequency of the cursor meet the standard, the writing state of the current input field can be determined to be normal, and effective writing can be carried out.
The method for judging the writing state provided by the embodiment can effectively avoid the problem of character missing writing, thereby improving the writing accuracy and reducing the burden of subsequent writing check.
Further, referring to fig. 5, a flowchart of another method for determining a writing status according to an embodiment of the present application is provided. The method comprises the following steps:
s401, calculating the difference value between the keying time of the actual written data and the actual written time;
s402, if the difference value is larger than a preset time value, the writing state of the current input field is abnormal;
and S403, if the difference value is smaller than or equal to the preset time value, the writing state of the current input field is normal.
It should be noted that the actual writing time is not the time for displaying characters in the input field, and a time difference generated by executing the command exists between the typing time and the actual writing time, but if the difference exceeds a preset time value, the execution time is too long, and is easily overlapped with the next time for receiving the writing command and executing the next writing command, so as to cause a writing error or a writing missing problem, at this time, the system may have a stuck problem, and the writing state of the input field is defined as abnormal. Only when the time difference is smaller than or equal to the preset time value, the writing state of the current input field can be judged to be normal, the orderly proceeding of the writing action can be ensured, and the writing quality is further ensured.
And if the writing state of the current input field and the writing state of the position to be written are both normal, the writing operation can be normally executed. The order data directly acquired from the e-commerce platform and the like and a standard data list provided by the ERP system have some differences in format, sequence and the like, and the data to be written need to be preprocessed before formal writing, for example, the data to be written acquired from the e-commerce platform is 'screening', the standard data list is 'pure screening milk', the data to be written need to be filled, writing operation is performed after the 'pure screening milk' is acquired, the data to be written, which meets the ERP standard, obtained through preprocessing can meet the specifications of a writing script and the standard data list, and writing speed and quality are improved.
Further, after all the data to be written are written, the actual written data are checked, the actual written data inconsistent with the data to be written are emptied, and correct data are input again.
Specifically, referring to fig. 6, a flowchart of a method for clearing a current input box character according to an embodiment of the present application is provided. The method comprises the following steps:
s501, selecting all characters in a current input field;
s502, writing a one-bit value character to cover all the characters;
s503, deleting the one-bit value character.
Once the actual written data is found to be wrong, the current input box character needs to be deleted back, and in order to realize the automation of writing and modification, the deletion back action is also executed by depending on the script. However, if there is no character in the current input box, the write-in position is changed to the previous input box by directly performing the delete action, and the written character appears in the wrong input box at this time, resulting in write-in errors; if characters in the current input box are deleted back and forth one by one, a great deal of time is wasted.
According to the embodiment of the application, all characters in the current input field are selected at first, and one-bit value characters are written to cover all original characters, so that the problem of input box change caused by direct deletion is solved, and at the moment, the current input box can be emptied only by deleting the one-bit value characters. The operation is simple, the efficiency is high, and the emptying quality can be effectively ensured.
According to the above technical solution, the present application provides a write checking method, first determining a write start position of data to be written in a current input field, which can be generally understood as a position of a cursor, then checking whether the current input field and the write start position are both in a normal write state, and only if both are in the normal write state, the write operation can be continued, and as long as one is in the abnormal write state, the subsequent write operation is limited, so as to avoid generating a chain reaction and affecting the accuracy of the subsequent write. Because the order data directly acquired from the e-commerce platform and the like has some differences in format, sequence and the like with a standard data list provided by the ERP system, the data to be written needs to be preprocessed before formal writing, and the data to be written conforming to the ERP standard is obtained. And after all the data to be written are written, checking the actual written data, emptying the actual written data inconsistent with the data to be written, and re-inputting correct data. According to the write-in checking method, the write-in state of the input field is checked in real time, the condition that input is invalid is effectively avoided, meanwhile, write-in errors are corrected in time by checking actual write-in data, and the accuracy of the write-in data is improved.
Referring to fig. 7, the present application further provides a schematic structural diagram of a write check apparatus, including:
a position determining unit 1, configured to determine a position to be written in a current input field;
a state judging unit 2, configured to judge a writing state of the current input field and a writing state of the position to be written;
the writing unit 3 is used for writing the preprocessed data to be written to obtain actual written data if the writing state of the current input column and the writing state of the position to be written are both normal;
the limiting unit 4 is used for limiting the writing operation if the writing state of the current input field and/or the writing state of the position to be written are/is abnormal;
a comparison unit 5, configured to compare the actual write data with the preprocessed data to be written;
and the emptying unit 6 is used for emptying the current input field and rewriting the preprocessed data to be written if the input fields are inconsistent.
Referring to fig. 8, an embodiment of the present application provides a schematic structural diagram of a position determining unit, including:
a character acquisition unit 11 for acquiring character information of a current input field;
and a character end position determining unit 12, configured to determine, according to the character information, that the character end position is a position to be written.
Referring to fig. 9, an embodiment of the present application provides a schematic structural diagram of a state determination unit, including:
a character information acquiring unit 21 configured to acquire character information of a current input field, the character information including at least: the current character size;
a first judgment unit 22, configured to, if the current character amount is equal to a preset input field write limit value, determine that the write status of the current input field is abnormal;
a cursor information obtaining unit 23, configured to obtain a gray value and a gray level conversion frequency of the cursor if the current character amount is smaller than the preset input field writing limit value;
a second determining unit 24, configured to determine that the writing status of the current input field is abnormal if the gray scale value of the cursor is 0 or the gray scale conversion frequency is smaller than a preset frequency threshold;
a third determining unit 25, configured to determine that the writing status of the current input field is normal if the gray scale value of the cursor is greater than 0 and the gray scale conversion frequency is equal to a preset frequency threshold.
Referring to fig. 10, a schematic structural diagram of another state determining unit provided in the embodiment of the present application includes:
a calculation unit 26 for calculating a difference between the entry time of the actual write data and the actual write time;
a fourth determination unit 27, configured to determine that the current input field is abnormal if the difference is greater than the preset time value;
a fifth determining unit 28, configured to determine that the writing status of the current input field is normal if the difference is smaller than or equal to a preset time value.
Referring to fig. 11, a schematic structural diagram of an emptying unit provided in an embodiment of the present application includes:
a selection unit 61 for selecting all characters of the current input field;
a key-in unit 62 for writing a one-bit value character over the whole character;
a deleting unit 63 for deleting the one-bit value character.
The write-in inspection device provided by the application can effectively avoid invalid input conditions by executing the write-in inspection method and inspecting the write-in state of the input field in real time, and meanwhile, by inspecting actual write-in data, write-in errors are corrected in time, and the accuracy of write-in data is improved.
It should be noted that, in specific implementations, the present invention also provides a computer storage medium, where the computer storage medium may store a program, and when the program is executed, the program may include some or all of the steps in each embodiment of the user identity service providing method or the user registration method provided by the present invention. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM) or a Random Access Memory (RAM).
Those skilled in the art will readily appreciate that the techniques of the embodiments of the present invention may be implemented as software plus a required general purpose hardware platform. Based on such understanding, the technical solutions in the embodiments of the present invention may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (8)

1. A write checking method, the method comprising:
determining a position to be written in a current input field;
judging the writing state of the current input field and the writing state of the position to be written;
if the writing state of the current input field and the writing state of the position to be written are both normal, writing the preprocessed data to be written to obtain actual written data;
if the writing state of the current input field and/or the writing state of the position to be written are/is abnormal, limiting the writing operation;
comparing the actual written data with the preprocessed data to be written;
if the input fields are inconsistent, clearing the current input field, and rewriting the preprocessed data to be written;
the specific steps of judging the writing state of the current input field and the writing state of the position to be written include:
acquiring character information of a current input field, wherein the character information at least comprises: the current character size;
if the current character quantity is equal to the write limit value of the preset input field, the write state of the current input field is abnormal;
if the current character quantity is smaller than the writing limit value of the preset input field, acquiring the gray value and the gray conversion frequency of the cursor;
if the gray value of the cursor is 0 or the gray conversion frequency is smaller than a preset frequency threshold, the writing state of the current input field is abnormal;
and if the gray value of the cursor is greater than 0 and the gray conversion frequency is equal to a preset frequency threshold, the writing state of the current input field is normal.
2. The method according to claim 1, wherein the specific step of determining the position to be written in the current input field comprises:
acquiring character information of a current input field;
and determining the tail position of the character as a position to be written according to the character information.
3. The method according to claim 1, wherein the specific step of determining the writing status of the current input field and the writing status of the position to be written comprises:
calculating the difference between the actual writing time and the actual typing time of the actual writing data;
if the difference value is larger than the preset time value, the writing state of the current input field is abnormal;
and if the difference value is smaller than or equal to a preset time value, the writing state of the current input field is normal.
4. The method according to claim 1, wherein if the input field is inconsistent, the specific steps of clearing the current input field and rewriting the data to be written comprise:
selecting all characters in the current input field;
writing a one-bit value character to cover all the characters;
deleting the one-bit value character.
5. A write checking apparatus, characterized in that the apparatus comprises:
the position determining unit is used for determining the position to be written in the current input field;
the state judgment unit is used for judging the writing state of the current input field and the writing state of the position to be written;
the writing unit is used for writing the preprocessed data to be written into the current input field to obtain actual written data if the writing state of the current input field and the writing state of the position to be written into the current input field are both normal;
the limiting unit is used for limiting the writing operation if the writing state of the current input column and/or the writing state of the position to be written are/is abnormal;
the comparison unit is used for comparing the actual written data with the preprocessed data to be written;
the emptying unit is used for emptying the current input field and rewriting the preprocessed data to be written if the current input field is inconsistent with the preprocessed data to be written;
the state judgment unit includes:
a character information acquisition unit configured to acquire character information of a current input field, the character information including at least: the current character size;
a first judgment unit, configured to, if a current character amount is equal to a preset input field write limit value, determine that a write status of the current input field is abnormal;
the cursor information acquisition unit is used for acquiring the gray value and the gray conversion frequency of the cursor if the current character quantity is less than the writing limit value of the preset input field;
a second determining unit, configured to determine that the current input field is abnormal if the gray scale value of the cursor is 0 or the gray scale conversion frequency is smaller than a preset frequency threshold;
and the third judging unit is used for judging that the writing state of the current input field is normal if the gray value of the cursor is greater than 0 and the gray conversion frequency is equal to a preset frequency threshold.
6. The apparatus of claim 5, wherein the position determining unit comprises:
the character acquisition unit is used for acquiring the character information of the current input field;
and the character tail position determining unit is used for determining the character tail position as the position to be written according to the character information.
7. The apparatus according to claim 5, wherein the state judgment unit comprises:
a calculation unit for calculating a difference between a key-in time of actually writing data and an actual writing time;
a fourth judging unit, configured to determine that the current input field is abnormal if the difference is greater than the preset time value;
and the fifth judging unit is used for judging that the writing state of the current input field is normal if the difference value is less than or equal to a preset time value.
8. The apparatus of claim 5, wherein the emptying unit comprises:
a selection unit for selecting all characters of the current input field;
a key-in unit for writing a one-bit value character to cover all the characters;
and the deleting unit is used for deleting the one-bit value character.
CN202011254980.XA 2020-11-11 2020-11-11 Write-in checking method and device Active CN112307005B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011254980.XA CN112307005B (en) 2020-11-11 2020-11-11 Write-in checking method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011254980.XA CN112307005B (en) 2020-11-11 2020-11-11 Write-in checking method and device

Publications (2)

Publication Number Publication Date
CN112307005A CN112307005A (en) 2021-02-02
CN112307005B true CN112307005B (en) 2022-08-02

Family

ID=74324869

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011254980.XA Active CN112307005B (en) 2020-11-11 2020-11-11 Write-in checking method and device

Country Status (1)

Country Link
CN (1) CN112307005B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346053A (en) * 2013-07-30 2015-02-11 阿里巴巴集团控股有限公司 Form processing method and terminal
CN106604094A (en) * 2016-12-26 2017-04-26 深圳Tcl数字技术有限公司 Input method and system thereof
CN109873813A (en) * 2019-01-28 2019-06-11 平安科技(深圳)有限公司 Text input abnormality monitoring method, device, computer equipment and storage medium
CN109992446A (en) * 2019-04-12 2019-07-09 苏州浪潮智能科技有限公司 A kind of solid state hard disk error correction method and relevant apparatus
CN111339158A (en) * 2020-02-21 2020-06-26 北京字节跳动网络技术有限公司 Method and device for processing information, electronic equipment and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104346053A (en) * 2013-07-30 2015-02-11 阿里巴巴集团控股有限公司 Form processing method and terminal
CN106604094A (en) * 2016-12-26 2017-04-26 深圳Tcl数字技术有限公司 Input method and system thereof
CN109873813A (en) * 2019-01-28 2019-06-11 平安科技(深圳)有限公司 Text input abnormality monitoring method, device, computer equipment and storage medium
CN109992446A (en) * 2019-04-12 2019-07-09 苏州浪潮智能科技有限公司 A kind of solid state hard disk error correction method and relevant apparatus
CN111339158A (en) * 2020-02-21 2020-06-26 北京字节跳动网络技术有限公司 Method and device for processing information, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112307005A (en) 2021-02-02

Similar Documents

Publication Publication Date Title
JP6033235B2 (en) Formatting data by example
US11741311B2 (en) Method and system for bridging disparate platforms to automate a natural language interface
CN109360065B (en) Script execution method and device
CN114462969A (en) Project progress real-time monitoring method and device, electronic equipment and storage medium
CN113391767B (en) Data consistency checking method and device, electronic equipment and readable storage medium
US20220327452A1 (en) Method for automatically updating unit cost of inspection by using comparison between inspection time and work time of crowdsourcing-based project for generating artificial intelligence training data
CN103440460A (en) Application system change validation method and system
CN112307005B (en) Write-in checking method and device
CN112307106A (en) Data preprocessing method and device
CN112445514B (en) Code review method and related products
CN111383088A (en) Checking method and related device for warehousing accounts
US20220327450A1 (en) Method for increasing or decreasing number of workers and inspectors in crowdsourcing-based project for creating artificial intelligence learning data
CN116301985A (en) Code scanning method, device, computer equipment and storage medium
CN112256365B (en) Method and terminal for automatically managing multi-language versions
CN106713666A (en) Recognition display method and device of verification information
CN114492349A (en) Table splitting method and device, electronic equipment and storage medium
CN109634868B (en) Processing method and device for automatic test result of financial data analysis system
CN111489101A (en) Order auditing method, device, equipment and medium based on big data
CN112865997B (en) Content distribution method, system, equipment and storage medium
CN115859926A (en) Electronic form data relation processing method and device, electronic equipment and medium
CN114240237A (en) Plan information management and control method, system and storage medium
CN111930550A (en) Client repairing method, device, equipment and medium
CN117193845A (en) Software project management method, device, equipment and medium
CN115082215A (en) Work order case query method and system based on Unionpay error platform
CN117785651A (en) Test case processing method, case management platform, electronic equipment and storage medium

Legal Events

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