WO2019144547A1 - 数据录入方法、装置、计算机设备和存储介质 - Google Patents

数据录入方法、装置、计算机设备和存储介质 Download PDF

Info

Publication number
WO2019144547A1
WO2019144547A1 PCT/CN2018/088792 CN2018088792W WO2019144547A1 WO 2019144547 A1 WO2019144547 A1 WO 2019144547A1 CN 2018088792 W CN2018088792 W CN 2018088792W WO 2019144547 A1 WO2019144547 A1 WO 2019144547A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
cursor
column
page
row
Prior art date
Application number
PCT/CN2018/088792
Other languages
English (en)
French (fr)
Inventor
谢磊
邱治兵
魏尧东
Original Assignee
平安科技(深圳)有限公司
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 平安科技(深圳)有限公司 filed Critical 平安科技(深圳)有限公司
Publication of WO2019144547A1 publication Critical patent/WO2019144547A1/zh

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/174Form filling; Merging
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/0819Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
    • H04L9/0822Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) using key encryption key

Definitions

  • the present application relates to a data entry method, apparatus, computer device and storage medium.
  • a business system that manages financial data a business system that manages supply chain data
  • a business system that manages human resource data usually contain multiple entry pages for the business. There can be multiple columns or multiple rows in each entry page.
  • the corresponding data is manually entered column by column or line by line in each entry page. Faced with a large amount of data, the manual entry method is not only inefficient but also error-prone.
  • a data entry method, apparatus, computer device, and storage medium are provided.
  • a data entry method includes:
  • Reading data in the data file controls cursor movement in the entry page, and the read data is entered into a plurality of input boxes of the entry page.
  • a data entry device comprising:
  • a login module for simulating mouse operation and keyboard operation, logging into a business system, and displaying a main page of the business system;
  • a page selection module configured to simulate a mouse operation in the main page, select a corresponding control, and enter an input page corresponding to the control
  • a data entry module configured to acquire a page identifier of the entry page, obtain a corresponding data file according to the page identifier, read data in the data file, and simulate a keyboard operation to control cursor movement in the input page, The read data is entered into a plurality of input boxes of the entry page.
  • a computer device comprising a memory and one or more processors having stored therein computer readable instructions, the computer readable instructions being executable by the processor to cause the one or more processors to execute The following steps:
  • One or more non-transitory computer readable storage mediums storing computer readable instructions, when executed by one or more processors, cause one or more processors to perform the steps of:
  • Reading data in the data file controls cursor movement in the entry page, and the read data is entered into a plurality of input boxes of the entry page.
  • FIG. 1 is an application scenario diagram of a data entry method according to one or more embodiments
  • FIG. 2 is a flow chart of a data entry method in accordance with one or more embodiments
  • FIG. 3 is a block diagram showing the structure of a data entry device in accordance with one or more embodiments
  • FIG. 4 is a block diagram showing the structure of a computer device in accordance with one or more embodiments.
  • the data entry method provided by the present application can be applied to an application environment as shown in FIG. 1.
  • the terminal 102 and the server 104 communicate via a network.
  • the terminal 102 can be, but is not limited to, various personal computers, notebook computers, smart phones, tablet computers, etc., and the server 104 can be implemented by a separate server or a server cluster composed of multiple servers.
  • An application is installed in the terminal 102.
  • the application can be launched.
  • the login account and password are used to automatically log in to the business system.
  • the main page of the service system is displayed on the terminal. A variety of controls can be displayed in the main page.
  • the terminal acquires the data management process of the business system, and according to the data management process, simulates the mouse movement and clicks the corresponding control to enter the entry page corresponding to the control.
  • a database is deployed in service 104, and data files are stored in the database.
  • the terminal 102 acquires the page identifier of the entry page, and sends a request for acquiring the data file to the server 104 according to the page identifier.
  • the server 104 extracts the corresponding data file in the database according to the acquisition request, and returns the data file to the terminal 102.
  • the terminal 102 reads the data in the data file, simulates the keyboard operation to control the cursor movement in the entry page, and records the read data into a plurality of input boxes of the entry page. The entire process can automatically complete data entry without the need for manual operation by the user.
  • a data entry method is provided.
  • the method is applied to the terminal in FIG. 1 as an example, and includes the following steps:
  • Step 202 Simulate mouse operation and keyboard operation, log in to the business system, and display the main page of the business system.
  • the application is installed in the terminal.
  • the application can be launched when the user needs to log in to the business system to enter data.
  • When the application is running obtain the login account and password of the business system. By simulating mouse operation and keyboard operation, the login account and password are used to automatically log in to the business system.
  • the service system can be installed on the same terminal as the application, and the business system can also be installed on the server.
  • the icon of the business system can also be displayed on the terminal screen.
  • the terminal runs the application and simulates the manual login service system as described above. If the terminal screen does not display the icon of the business system, the terminal can obtain the link address of the business system by running the application program, simulate the mouse click browser, and simulate the keyboard operation, input the link address of the business system in the input box of the browser, and enter the business system. Login page. The terminal can simulate the mouse operation and the keyboard operation in the above manner, input the login account and password in the login page, and complete the automatic login of the business system.
  • the business system can be automatically logged by simulating mouse operation and keyboard operation. Provide users with convenience.
  • Step 204 Simulate a mouse operation in the main page, select a corresponding control, and enter an input page corresponding to the control.
  • the entry page has a page identifier.
  • the page identifier of the entry page and the data file can be pre-established with a mapping relationship.
  • the terminal obtains the page identifier of the entry page, and according to the mapping relationship, the corresponding data file can be obtained according to the page identifier.
  • the terminal may obtain the data file locally, and the terminal may also send the data file acquisition request to the server, and the server extracts the corresponding data file according to the acquisition request database, and returns the data file to the terminal.
  • the data file can be in a variety of file formats, for example, it can be a data table, an image, or a text file.
  • the data file is saved in a preset format. The default format can be in columns or in rows.
  • the preset format in the data file can be the same as the format of the entry page.
  • the data file saves the project name and the corresponding value in columns.
  • the default format in the data file can also be different from the format on the entry page. For example, multiple values are stored as columns in a data file.
  • Step 208 Read data in the data file, simulate keyboard operation to control cursor movement in the input page, and record the read data into multiple input boxes of the input page.
  • the user needs to manually select the corresponding input box in the entry page, copy the corresponding data one by one according to the item name corresponding to the input box, and then input the copied data into the corresponding input box. If there are 10 columns in the entry page and 10 rows in each column, then the user needs to manually operate 100 times to enter the data required to enter the page. These repeated operations not only take more time, but also cause data entry errors.
  • the terminal reads data in the data file, and according to the input form of different entry pages, the simulated keyboard operation records the read data into multiple input boxes one by one.
  • the entry page can enter data by column or by row.
  • the form of the entered data can be different in the entry page of different business systems.
  • the terminal can read the corresponding data in the data file by row or column, and store the read data in the corresponding array according to the row identifier or column identifier.
  • the terminal obtains the current position of the cursor in the entry page, and the current location includes the current column identifier or the current row identifier; the corresponding data is read in the corresponding array according to the current column identifier or the current row identifier.
  • the terminal emulation keyboard operation controls the cursor to move in the entry page, and the read data is entered into the current column or multiple input boxes of the current row to complete data entry of one column or one row.
  • the terminal simulates the mouse operation or the keyboard operation, and the control cursor moves to the next column or the next row in the entry page, and the data entry is continued in the above manner until all the input boxes in the input page are entered.
  • the business system is automatically logged in, and the main page of the business system is displayed. Simulate the mouse operation in the main page, you can select the corresponding control to enter the entry page.
  • the data is read in the data file corresponding to the input page, and the simulated keyboard operation controls the cursor movement in the input page, and the corresponding data can be entered in multiple input boxes of the input page.
  • the user does not need to manually log in to the business system, and the user does not need to manually input the data one by one, and the data in the data file can be automatically entered into the input page of the business system. Not only effectively improves the efficiency of data entry, but also effectively improves the accuracy of data entry.
  • the data is read in the data file
  • the simulated keyboard operation controls the cursor movement in the entry page
  • the read data is entered into the input boxes of the input page including: by column or row in the data file Read the corresponding data, store the read data in the corresponding array according to the corresponding column identifier or row identifier; obtain the current position of the cursor in the entry page, the current position includes the current column identifier or the current row identifier; according to the current column identifier Or the current row identifier reads the corresponding data in the corresponding array, the simulated keyboard operation controls the cursor to move in the input page, and the read data is entered into the current column or multiple input boxes of the current row; simulate mouse operation or keyboard operation, The control cursor moves to the next column or the next row in the entry page, and the steps of obtaining the current position of the cursor in the entry page are repeated until all the input boxes in the entry page are entered.
  • the data in the data file can be saved in columns or in rows.
  • the terminal reads data in the data file, it can read all the data and store all the data read in the array.
  • the terminal can also read data multiple times in the data file, and each read data is stored in the same array.
  • the data entered by column is taken as an example for description, and the case of entering by row can be deduced by analogy.
  • all the data can be read in the data file by column, and the read data is stored in the corresponding two-dimensional array according to the location of the data.
  • the terminal acquires the current position of the cursor on the entry page.
  • the current location includes the column ID of the column in which it is located and the row ID of the row in which it resides.
  • the terminal reads the column identifier corresponding to the current position of the cursor, and the column identifier may also be referred to as a current column identifier.
  • the terminal can start to enter data in columns by starting the current location as the initial location.
  • the terminal sequentially reads the data in the two-dimensional array according to the current column identifier, and simulates the keyboard operation to input the read data into the input box where the cursor is located, and continues to simulate the keyboard operation to control the cursor to move to the next input box, and the terminal Continue to read the next data in the two-dimensional array, continue to simulate the keyboard operation and enter the read data into the input box of the cursor until the current column in the recorded page is entered.
  • the terminal simulates mouse operation or simulates keyboard operation, and controls the cursor to move to the next column in the entry page.
  • the terminal can read the data in the next column of the two-dimensional array according to the column identifier in the above manner, and simulate the keyboard operation to record the data into the next column until all the input boxes in the input page are entered.
  • the read data can be stored in a one-dimensional array.
  • the terminal can complete the data entry of the current column in the above manner.
  • the terminal simulates mouse operation or simulates keyboard operation, and controls the cursor to move to the next column in the entry page.
  • the terminal reads the next column of data in the data file, and stores the next column of data into the corresponding one-dimensional array, and continues to use the above method to complete the data entry of the next column until all the input boxes in the page are entered. The entry is completed.
  • the data read by the terminal in the data file is stored in the corresponding array according to the row or column.
  • the data in the corresponding array is read according to the current position of the cursor, and the simulated keyboard operation controls the cursor movement, and the data read from the array is entered into the corresponding input box to complete data entry of one column or one row.
  • the terminal simulates a keyboard operation or a mouse operation, and the control cursor moves to the next column or the next row in the entry page to enter the corresponding data until the data entry of all the input boxes is completed in the entry page.
  • the terminal can simulate the user operation and input a large amount of data. Not only effectively improves the efficiency of data entry, but also reduces errors caused by manual entry, which effectively improves the accuracy of data entry.
  • steps in the flowchart of FIG. 2 are sequentially displayed as indicated by the arrows, these steps are not necessarily performed in the order indicated by the arrows. Except as explicitly stated herein, the execution of these steps is not strictly limited, and the steps may be performed in other orders. Moreover, at least some of the steps in FIG. 2 may include a plurality of sub-steps or stages, which are not necessarily performed at the same time, but may be executed at different times, the execution of these sub-steps or stages The order is also not necessarily sequential, but may be performed alternately or alternately with other steps or at least a portion of the sub-steps or stages of the other steps.
  • the method further includes: when the cursor is at the end point of the next column or the next row, acquiring the column identifier corresponding to the location of the cursor Or row identifier; read the corresponding data in the corresponding array according to the column identifier or the row identifier; simulate mouse operation or keyboard operation, control the cursor to move in the column or row, and sequentially input the read data into multiple input boxes .
  • the initial position of the cursor in the entry page is preset, and may be the first row of the first column, or the first row of other columns.
  • the terminal can enter data from the first column of the entry page, and can enter data from other columns.
  • the position where the cursor is located may also be referred to as the current position, and the initial position may also be referred to as the current position.
  • the terminal can continue to simulate keyboard operations or simulate mouse operations, and control the cursor to move to the next column to continue to enter data.
  • the cursor can be moved to the end of the next column. Among them, the endpoint can be the top or the end.
  • the terminal needs to simulate mouse movement, select the top of the next column, or the terminal needs to simulate the arrow keys in the keyboard to select the top of the next column.
  • the previous column is entered, it is entered from the top to the end. When the previous column is entered, the cursor is at the end of the previous column.
  • the terminal simulates keyboard operation to move the cursor to the top of the next column, you need to simulate the operation of the up key ( ⁇ ) in the direction key according to the number of lines in the previous column (the number of input boxes), and then simulate the left button in the direction key ( ⁇ ). Or right-click ( ⁇ ) to move the cursor to the top of the next column.
  • the terminal acquires the column identifier of the next column, and reads data in the forward order according to the column identifier.
  • the control cursor moves downward in the next column.
  • the data read in the forward direction is sequentially entered into multiple input boxes in the next column. This automatically records multiple columns of data in the entry page.
  • an effective connection of data entry between columns and columns is realized.
  • the terminal can directly move the cursor to the end point of the next column by directly performing the left button ( ⁇ ) or right button ( ⁇ ) in the arrow keys.
  • the previous column is entered, it is entered from the top to the end.
  • the cursor is at the end of the previous column.
  • the terminal controls the cursor to move to the next column, the cursor can be at the end of the next column.
  • the terminal acquires the column identifier of the next column, and reads the data in the reverse order according to the column identifier.
  • control cursor moves upward in the next column, and the reverse read data is sequentially Enter multiple input boxes in the next column. Not only does the control cursor move to the next column, but the effective connection of data entry between columns and columns is realized. Moreover, the multiple operations of the upper key ( ⁇ ) in the analog direction key are reduced, which saves the time for the cursor to move to the next column, thereby further improving the efficiency of data entry.
  • the method further includes: when the cursor is at a position other than the end point of the next column or the next row, the location is recorded as Temporary location; reading part of the data in the corresponding array according to the temporary location, the simulated keyboard operation sequentially inputs the read partial data into the partial input box, and some input boxes start from the temporary position to one end of the column or row; Mouse operation or keyboard operation controls the cursor to move to the temporary position, and the remaining data is read in the array in reverse order according to the temporary position.
  • the analog keyboard operation records the remaining data in the remaining input boxes of the column or row where the cursor is located.
  • the terminal can continue to simulate keyboard operations or simulate mouse operations, and control the cursor to move to the next column or the next row to continue to enter data.
  • the data entered by column is taken as an example for description, and the case of entering by row can be deduced by analogy.
  • the terminal acquires the position where the cursor is at this time and records it as a temporary location.
  • the temporary location can include the column identifier of the column in which the cursor is located, and the row identifier corresponding to the input box.
  • the terminal reads the corresponding array according to the column identifier corresponding to the temporary location, and reads the corresponding data in the array according to the row identifier corresponding to the input box.
  • the terminal reads the corresponding array according to the column identifier corresponding to the temporary location, and may be read in the forward order or in reverse order.
  • the terminal simulates the up key ( ⁇ ) or down key ( ⁇ ) operation in the direction key according to the order of reading data in the array, controls the cursor to move up or down, and sequentially inputs the read data into the corresponding input box. Until it is from the temporary position to one of the columns (which can be the top or the end).
  • the terminal simulates the down key ( ⁇ ) or the up key ( ⁇ ) operation in the direction key, and controls the cursor to move down or upward to return to the temporary position.
  • the terminal reads the remaining data in the array according to the temporary position in the reverse order, controls the control cursor to move downward or upward, and sequentially records the read data into the corresponding input box until the temporary position to the cursor column. another side. This completes the entry of the entire column of data.
  • the terminal simulates the up key ( ⁇ ) operation, the control cursor moves to the 8th line, the terminal is in the array, the reverse reading is started from the 7th data, and the read data is sequentially reversed from the 7th line to the 1st line. Line (top of column 3). This completes the data entry of the entire column of column 3. Thus, when the number of input boxes of the previous column and the next column is different, an effective connection of data entry between columns and columns is realized.
  • the cursor may fall at the position after the end of the next column.
  • the terminal continues to simulate the up key ( ⁇ ) operation in the direction key, and the control cursor moves to the end of the column.
  • the data entry of the column can be completed by reading the data in reverse.
  • the method further includes: when there is an input box in the column or row where the cursor is rejected, recording the corresponding reject position; when the cursor moves to the reject position, the simulated mouse operation skips the reject position, and the cursor is moved Move to the next input box that allows data to be entered; obtain the next input position corresponding to the input box that allows the data to be entered, and read the data according to the corresponding position in the array according to the continued entry position; the simulated keyboard operation will read the data from Continue to enter the position and start to enter the corresponding input box.
  • the terminal acquires the positions of these input boxes and records them as rejected positions.
  • the control cursor moves to the reject position, and the simulated mouse operation continues to control the cursor skipping the reject position until the next input box for allowing data to be entered.
  • the rejection location may be one or more. When there are multiple rejection positions, it may be a plurality of consecutive input boxes, or may be a plurality of discrete input boxes.
  • the terminal marks the position of the next input box that allows entry of data as the continued entry position.
  • the terminal reads the data according to the corresponding position in the array according to the continued entry position, simulates the keyboard operation, and sequentially records the read data into the corresponding input box from the continued entry position.
  • the reject position is a plurality of input boxes that are scattered
  • the terminal can simulate the keyboard operation or the mouse operation to skip the reject position multiple times, and continue to input the corresponding data in the input box from the corresponding resume entry position multiple times.
  • the current column includes 13 input boxes, and the 5th to 8th input boxes are rejected positions.
  • the terminal controls the cursor movement, the terminal skips from the 5th input box until the 9th input box is adjusted.
  • the terminal starts reading from the ninth data in the array, and continues to enter the ninth data from the ninth input box.
  • the control cursor skips the rejection position, and continues to input data from the continued entry position, thereby ensuring that the data in the entry page can be successfully entered.
  • the method further includes: when there is an input box in the column or row where the cursor is rejected, recording the corresponding reject position; adding a reject entry label to the data of the corresponding position in the array according to the reject position; When reading data, skip adding data that refuses to enter the label, and read the next data that is allowed to be entered; simulate mouse operation to control the cursor to skip the reject position to the next input box that allows entry; analog keyboard operation will allow the next entry The data is entered into the next input box that is allowed to be entered.
  • the terminal acquires the positions of the input boxes and records them as the rejected position.
  • the terminal adds a rejection entry label to the data of the corresponding location in the corresponding data according to the rejection location.
  • the terminal reads the data in the array in order, if the data of the rejected entry label is added, the terminal skips the data and reads the next one. If the next data also adds the reject entry label, it continues to skip. The data is read next until the data for which the rejected entry ID is not added is read.
  • the terminal acquires the position of the data in the array, simulates a mouse operation or a keyboard operation, and controls the cursor to move to the position corresponding to the data in the entry page, that is, the control cursor skips the rejected input position, and jumps to the next input that allows the data to be entered.
  • an array is a one-dimensional array containing 13 data, and the fifth to eighth data are added with a rejection entry label.
  • the terminal reads data in the array, it skips from the fifth and reads the ninth. Data, the terminal control cursor moves to the 9th line of the current column, and continues to enter the corresponding data from the 9th line.
  • the data of the corresponding position in the array is added with a rejection entry label.
  • the data of the rejected entry label can be directly skipped, and the data without the label is entered into the input box. , thus ensuring that the data entered on the page can be successfully entered.
  • the method before the data is read in the data file, the method further includes: acquiring a key file, decoding the key file, and obtaining a corresponding decoded character string; and extracting a corresponding character in a preset position in the decoded string, Obtain the key hidden in the key file; decrypt the data file with the key to obtain the decrypted data file.
  • Data files usually record a large amount of data related to business operations. In order to prevent these operational data from leaking, data files can be pre-encrypted.
  • a key file required to decrypt the data file can be stored in the terminal.
  • the key file can be an image.
  • the key can be a preset text or a preset graphic in the picture.
  • the key file can be generated by the server using a preset picture and a key.
  • the server can encode the preset file into a string corresponding to the preset file by using the base64 encoding method, and encode the key into a string corresponding to the key.
  • the server adds the string corresponding to the key to the preset position of the encoded string corresponding to the preset picture according to the preset rule, and generates a key file, thereby hiding the key in the key file.
  • the key file can retain the original format, and the key file adds text or graphics corresponding to the key compared to the preset file. Among them, the added text or graphic is the key needed to decrypt the data file. Since the key is hidden in the picture in the form of text or graphics, even if it is intercepted by an illegal intruder, it is difficult to crack the key hidden therein. This effectively improves the security of key storage, which in turn effectively improves the security of data files.
  • the terminal After receiving the key file returned by the key server, the terminal decodes the key file to obtain a corresponding decoded string.
  • the terminal acquires a preset rule, and extracts a corresponding character in a preset position of the decoded character string according to the preset rule.
  • the terminal may extract a plurality of consecutive characters in a preset position in the decrypted string according to a preset rule, and use the extracted characters to form a character string, and mark the character string as a key required for decrypting the data file.
  • the terminal may separately extract a plurality of discontinuous characters in a plurality of preset positions in the decrypted string, and use the extracted characters to form a character string, and the string mark is used to decrypt the data file. key.
  • the key files stored in the server can be dynamically updated.
  • the preset rules required to generate the key file can also be updated.
  • the server generates updated information using the updated preset rules.
  • the server pushes the update information to the terminal. In order to ensure that the terminal can be informed of the updated preset rules in time, the server can push the update information to the terminal in real time.
  • the terminal can extract the updated key in the updated key file by using the updated preset rule, thereby ensuring that the terminal can decrypt the data file by using the updated key.
  • the step of acquiring a corresponding data file according to the page identifier comprises: acquiring a plurality of encrypted data packets according to the page identifier; decrypting the plurality of encrypted data packets to obtain a plurality of decrypted data packets.
  • the splicing is performed by using a plurality of decrypted data packets to obtain a data file corresponding to the page identifier.
  • data files can be encrypted with a key before being transmitted.
  • the data file can be split first after being encrypted, or it can be split and then encrypted.
  • the encrypted key can be hidden in the key file of the above embodiment.
  • the terminal can extract the corresponding key in the key file by referring to the manner provided in the above embodiment.
  • the terminal decrypts the plurality of encrypted data packets by using the key to obtain a plurality of decrypted data packets.
  • the decrypted data packet has a corresponding data packet identifier, and the terminal identifies a splicing order of the plurality of decrypted data packets according to the data packet identifier, and splices the plurality of decrypted data packets according to the splicing order to obtain data corresponding to the page identifier. file. Since the data file is split into multiple data packets after being encrypted, even if some data packets are intercepted by the illegal intruder, the illegal intruder cannot obtain the corresponding data, thereby effectively improving the security of the data file transmission.
  • a data entry device including: a login module 302, a page selection module 304, and a data entry module 306, wherein:
  • the login module 302 is configured to simulate mouse operation and keyboard operation, log in to the business system, and display the main page of the business system.
  • the page selection module 304 is configured to simulate a mouse operation in the main page to select a corresponding control, and enter an input page corresponding to the control.
  • the data entry module 306 is configured to obtain a page identifier of the input page, obtain a corresponding data file according to the page identifier, read the data in the data file, simulate keyboard operation, control cursor movement in the input page, and input the read data into the data entry. Multiple input boxes for the page.
  • the data entry module is further configured to read the corresponding data by column or row in the data file, and store the read data into the corresponding array according to the corresponding column identifier or row identifier;
  • the current position of the cursor includes the current column identifier or the current row identifier;
  • the corresponding data is read in the corresponding array according to the current column identifier or the current row identifier, and the simulated keyboard operation controls the cursor to move in the entry page, and the data to be read is read.
  • the data entry module is further configured to: when the cursor is at the end point of the next column or the next row, obtain a column identifier or a row identifier corresponding to the location of the cursor; and read the corresponding data in the corresponding array according to the column identifier or the row identifier. Simulate mouse operation or keyboard operation, control the cursor to move in the column or row, and record the read data into multiple input boxes.
  • the data entry module is further configured to record the location as a temporary location when the cursor is at a position other than the endpoint of the next column or the next row; and to read a portion of the data in the corresponding array according to the temporary location, the simulated keyboard operation will The read part of the data is sequentially entered into the partial input box, and some of the input boxes start from the temporary position until one end of the column or row; the simulated mouse operation or the keyboard operation controls the cursor to move to the temporary position, according to the temporary position in the reverse order The remaining data is read in the array, and the simulated keyboard operation records the remaining data in the remaining input boxes of the column or row where the cursor is located.
  • the data entry module is further configured to record a corresponding reject position when there is an input box in the column or row where the cursor is rejected, and when the cursor moves to the reject position, the simulated mouse operation skips the reject position, and The cursor moves to the next input box that allows data to be entered; the next input position corresponding to the input box that allows the data to be entered is acquired, and the data is read in the corresponding position in the array according to the continued entry position; the data that the keyboard operation will read is simulated. From the continued entry position, enter the corresponding input box.
  • the data entry module is further configured to record a corresponding reject position when there is an input box in the column or row where the cursor is rejected, and add a reject entry label to the data in the corresponding position in the array according to the reject position;
  • skip adding data that refuses to enter the label and read the next data that is allowed to be entered; simulate mouse operation to control the cursor to skip the reject position to the next input box that allows entry; analog keyboard operation will next allow The entered data is entered into the next input box that is allowed to be entered.
  • the apparatus further includes: a decryption module, configured to acquire a key file, decode the key file, and obtain a corresponding decoded character string; extract the corresponding character in the preset position in the decoded string to obtain a secret The key hidden in the key file; the data file is decrypted by the key to obtain the decrypted data file.
  • a decryption module configured to acquire a key file, decode the key file, and obtain a corresponding decoded character string; extract the corresponding character in the preset position in the decoded string to obtain a secret The key hidden in the key file; the data file is decrypted by the key to obtain the decrypted data file.
  • the various modules in the above data entry device may be implemented in whole or in part by software, hardware, and combinations thereof.
  • Each of the above modules may be embedded in or independent of the processor in the computer device, or may be stored in a memory in the computer device in a software form, so that the processor invokes the operations corresponding to the above modules.
  • a computer device such as a computer device, which can be a terminal.
  • the internal structure of the computer device can be as shown in FIG.
  • the computer device includes a processor, memory, network interface, display screen, and input device connected by a system bus.
  • the processor of the computer device is used to provide computing and control capabilities.
  • the memory of the computer device includes a non-volatile storage medium, an internal memory.
  • the non-volatile storage medium stores operating systems and computer readable instructions.
  • the internal memory provides an environment for operation of an operating system and computer readable instructions in a non-volatile storage medium.
  • the network interface of the computer device is used to communicate with an external server via a network connection.
  • the computer readable instructions are executed by a processor to implement a data entry method.
  • the display screen of the computer device may be a liquid crystal display or an electronic ink display screen
  • the input device of the computer device may be a touch layer covered on the display screen, or may be a button, a trackball or a touchpad provided on the computer device casing. It can also be an external keyboard, trackpad or mouse.
  • FIG. 4 is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation of the computer device to which the solution of the present application is applied.
  • the specific computer device may It includes more or fewer components than those shown in the figures, or some components are combined, or have different component arrangements.
  • a computer apparatus comprising a memory and a processor, the memory storing computer readable instructions that, when executed by the processor, implement the steps of the various method embodiments described above.
  • a computer readable storage medium having stored thereon computer readable instructions that, when executed by a processor, implements the steps of the various method embodiments described above.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Artificial Intelligence (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Human Computer Interaction (AREA)
  • User Interface Of Digital Computer (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

一种数据录入方法,包括:模拟鼠标操作以及键盘操作,登录业务***,显示业务***的主页面;在主页面中模拟鼠标操作选择相应控件,进入与控件对应的录入页面;获取录入页面的页面标识,根据页面标识获取对应的数据文件;在数据文件中读取数据,模拟键盘操作在录入页面中控制光标移动,将读取到的数据录入录入页面的多个输入框中。

Description

数据录入方法、装置、计算机设备和存储介质
本申请要求于2018年1月25日提交中国专利局,申请号为2018100745652,申请名称为“数据录入方法、装置、计算机设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及一种数据录入方法、装置、计算机设备和存储介质。
背景技术
随着计算机技术的发展,出现了多种与数据管理相关的业务***。例如,管理财务数据的业务***、管理供应链数据的业务***以及管理人力资源数据的业务***等。这些业务***中通常包含了业务所需的多个录入页面。每个录入页面中可以有多列或者多行。在传统的方式中,用户登录到业务***后,在每个录入页面中手动逐列或逐行录入对应的数据。面对大量的数据,手动录入的方式不仅效率较低而且容易出错。
发明内容
根据本申请公开的各种实施例,提供一种数据录入方法、装置、计算机设备和存储介质。
一种数据录入方法,包括:
模拟鼠标操作以及键盘操作,登录业务***,显示所述业务***的主页面;
在所述主页面中模拟鼠标操作选择相应控件,进入与所述控件对应的录入页面;
获取所述录入页面的页面标识,根据所述页面标识获取对应的数据文件;及
在所述数据文件中读取数据,模拟键盘操作在所述录入页面中控制光标移动,将读取到的数据录入所述录入页面的多个输入框中。
一种数据录入装置,包括:
登陆模块,用于模拟鼠标操作以及键盘操作,登录业务***,显示所述业务***的主页面;
页面选择模块,用于在所述主页面中模拟鼠标操作选择相应控件,进入与所述控件对应的录入页面;及
数据录入模块,用于获取所述录入页面的页面标识,根据所述页面标识获取对应的数据文件;在所述数据文件中读取数据,模拟键盘操作在所述录入页面中控制光标移动,将读取到的数据录入所述录入页面的多个输入框中。
一种计算机设备,包括存储器和一个或多个处理器,所述存储器中储存有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述一个或多个处理器执行以下步骤:
模拟鼠标操作以及键盘操作,登录业务***,显示所述业务***的主页面;
在所述主页面中模拟鼠标操作选择相应控件,进入与所述控件对应的录入页面;
获取所述录入页面的页面标识,根据所述页面标识获取对应的数据文件;及
在所述数据文件中读取数据,模拟键盘操作在所述录入页面中控制光标移动,将读取到的数据录入所述录入页面的多个输入框中。
一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行以下步骤:
模拟鼠标操作以及键盘操作,登录业务***,显示所述业务***的主页面;
在所述主页面中模拟鼠标操作选择相应控件,进入与所述控件对应的录入页面;
获取所述录入页面的页面标识,根据所述页面标识获取对应的数据文件;及
在所述数据文件中读取数据,模拟键盘操作在所述录入页面中控制光标移动,将读取到的数据录入所述录入页面的多个输入框中。
本申请的一个或多个实施例的细节在下面的附图和描述中提出。本申请的其它特征和优点将从说明书、附图以及权利要求书变得明显。
附图说明
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例中所需 要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其它的附图。
图1为根据一个或多个实施例中数据录入方法的应用场景图;
图2为根据一个或多个实施例中数据录入方法的流程图;
图3为根据一个或多个实施例中数据录入装置的结构框图;
图4为根据一个或多个实施例中计算机设备的结构框图。
具体实施方式
为了使本申请的目的、技术方案及优点更加清楚明白,以下结合附图及实施例,对本申请进行进一步详细说明。应当理解,此处描述的具体实施例仅仅用以解释本申请,并不用于限定本申请。
本申请提供的数据录入方法,可以应用于如图1所示的应用环境中。其中,终端102与服务器104通过网络进行通信。其中,终端102可以但不限于是各种个人计算机、笔记本电脑、智能手机以及平板电脑等,服务器104可以用独立的服务器或者是多个服务器组成的服务器集群来实现。终端102中安装了应用程序。当用户需要登录业务***录入数据时,可以启动该应用程序。通过模拟鼠标操作以及键盘操作,利用登录账号和密码自动登录业务***。业务***登录成功之后,在终端展示业务***的主页面。主页面中可以显示多种控件。终端获取业务***的数据管理流程,根据数据管理流程,模拟鼠标移动点击相应控件,进入与控件对应的录入页面。服务104中部署了数据库,数据库中存储了数据文件。终端102获取录入页面的页面标识,根据页面标识向服务器104发送数据文件的获取请求。服务器104根据该获取请求在数据库中提取相应的数据文件,并将数据文件返回至终端102。终端102在数据文件中读取数据,模拟键盘操作在录入页面中控制光标移动,将读取到的数据录入录入页面的多个输入框中。整个过程可以不需用户手动操作便可自动完成数据录入。
在一个实施例中,如图2所示,提供了一种数据录入方法,以该方法应用于图1中的终端为例进行说明,包括以下步骤:
步骤202,模拟鼠标操作以及键盘操作,登录业务***,显示业务***的主页面。
终端中安装了应用程序。当用户需要登录业务***录入数据时,可以启 动该应用程序。应用程序运行时,获取业务***的登录账号和密码。通过模拟鼠标操作以及键盘操作,利用登录账号和密码自动登录业务***。其中,业务***可以与应用程序安装在同一台终端,业务***还可以安装在服务器。
当业务***安装在终端时,终端运行应用程序时,可以模拟鼠标点击业务***的图标,显示登录页面。终端模拟鼠标移动,将光标移动至登录页面的输入框中,模拟键盘操作分别输入登录账号与密码,模拟鼠标点击“登录”控件,完成业务***的自动登录。
当业务***安装在服务器时,终端屏幕中也可以显示业务***的图标。终端运行应用程序,按照上述方式模拟人工登录业务***。如果终端屏幕没有显示业务***的图标,终端可以通过运行应用程序获取业务***的链接地址,模拟鼠标点击浏览器,以及模拟键盘操作在浏览器的输入框中输入业务***的链接地址,进入业务***的登录页面。终端可以按照上述方式模拟鼠标操作与键盘操作在登录页面中输入登录账号与密码,完成业务***的自动登录。
在应用程序开启之后,不需要用户手动操作,可以通过模拟鼠标操作以及键盘操作的方式,即可自动登录业务***。为用户提供了方便。
步骤204,在主页面中模拟鼠标操作选择相应控件,进入与控件对应的录入页面。
步骤206,获取录入页面的页面标识,根据页面标识获取对应的数据文件。
业务***登录成功之后,在终端展示业务***的主页面。主页面中可以显示多种控件。终端获取业务***的数据管理流程,根据数据管理流程,模拟鼠标移动点击相应控件,进入与控件对应的录入页面。
录入页面具有页面标识。录入页面的页面标识与数据文件可以预先建立了映射关系。终端获取录入页面的页面标识,按照映射关系,可以根据页面标识获取对应的数据文件。其中,终端可以在本地获取数据文件,终端也可以向服务器发送数据文件的获取请求,服务器根据该获取请求数据库中提取相应数据文件,将数据文件返回至终端。数据文件可以采用多种文件格式,例如,可以是数据表,也可以是图像,还可以是文本文件等。数据文件中按照预设格式保存数据。预设格式可以是按列或按行的形式。数据文件中的预设格式可以与录入页面的格式相同,例如,数据文件中以列的形式保存项目名称和对应的数值。数据文件中的预设格式也可以与录入页面中的格式不同。 例如,数据文件中以列的形式保存多个数值。
步骤208,在数据文件中读取数据,模拟键盘操作在录入页面中控制光标移动,将读取到的数据录入录入页面的多个输入框中。
在传统的方式中,用户需要在录入页面中手动选择相应的输入框,根据输入框对应的项目名称在数据文件中逐一复制相应数据,再将复制后的数据录入到相应输入框中。如果录入页面中有10列,每列有10行,那么用户需要手动操作100次才可以将录入页面中所需的数据录入完毕。这些反复的操作,不仅会花费较多时间,而且容易造成数据录入错误。
本实施例中,终端在数据文件中读取数据,按照不同录入页面的录入形式,模拟键盘操作将读取到的数据逐一录入到多个输入框中。录入页面可以按列录入数据,也可以按行录入数据。不同业务***的录入页面中,录入数据的形式可以不同。
终端可以在数据文件中按行或列读取相应的数据,将读取到的数据按照所在行标识或列标识存入对应的数组。终端在录入页面中获取光标的当前位置,当前位置包括当前列标识或当前行标识;根据当前列标识或当前行标识在对应的数组中读取相应数据。终端模拟键盘操作控制光标在录入页面中移动,将读取到的数据录入当前列或当前行的多个输入框中,完成一列或一行的数据录入。终端模拟鼠标操作或者键盘操作,控制光标在录入页面中移动至下一列或下一行,采用上述方式继续进行数据录入,直至将录入页面中所有的输入框录入完毕。
本实施例中,通过模拟鼠标操作和键盘操作,便自动登录业务***,显示业务***的主页面。在主页面中模拟鼠标操作,可以选择相应控件,从而进入录入页面。在于录入页面对应的数据文件中读取数据,模拟键盘操作在录入页面中控制光标移动,即可在录入页面的多个输入框中录入相应数据。整个过程中不需要用户手动登录业务***,也不需要用户手动操作逐一录入数据,即可将数据文件中的数据自动录入至业务***的录入页面中。不仅有效提高了数据录入的工作效率,而且也有效提高了数据录入的准确性。
在一个实施例中,在数据文件中读取数据,模拟键盘操作在录入页面中控制光标移动,将读取到的数据录入录入页面的多个输入框中包括:在数据文件中按列或行读取相应的数据,将读取到的数据按照对应的列标识或行标识存入相应数组;在录入页面中获取光标的当前位置,当前位置包括当前列标识或当前行标识;根据当前列标识或当前行标识在对应的数组中读取相应 数据,模拟键盘操作控制光标在录入页面中移动,将读取到的数据录入当前列或当前行的多个输入框中;模拟鼠标操作或者键盘操作,控制光标在录入页面中移动至下一列或下一行,重复执行在录入页面中获取光标的当前位置的步骤,直至将录入页面中所有的输入框录入完毕。
数据文件中的数据可以按列保存,也可以按行保存。终端在数据文件中读取数据时,可以读取全部数据,将读取到的全部数据存入数组中。终端还可以在数据文件中多次读取数据,每次读取的数据存入同一数组中。为了简洁描述,本文中以按列录入数据为例进行说明,按行录入的情形可以以此类推。
当终端一次性读取全部数据时,可以在数据文件中按列读取所有数据,按照数据所在位置,将读取到的数据存入对应的二维数组。终端在录入页面中获取光标的当前位置。当前位置包括所在列的列标识以及所在行的行标识。终端读取光标当前位置对应的列标识,该列标识也可以称为当前列标识。终端可以将当前位置作为初始位置开始按列录入数据。具体的,终端根据当前列标识在二维数组中依次读取数据,模拟键盘操坐将读取到的数据录入光标所在的输入框中,继续模拟键盘操作控制光标移动至下一个输入框,终端在二维数组中继续读取下一个数据,继续模拟键盘操作将读取到的数据录入光标所在输入框中,直至将录入页面中的当前列录入完毕。终端模拟鼠标操作或者模拟键盘操作,控制光标在录入页面中移动中下一列。终端可以采用上述方式根据列标识在二维数组的下一列中读取数据,模拟键盘操作将数据录入下一列,直至将录入页面中的所有输入框录入完毕。
当终端在数据文件中每次只读取一列数据时,可以将读取到数据存入一维数组。终端可以采用上述方式完成当前列的数据录入。终端模拟鼠标操作或者模拟键盘操作,控制光标在录入页面中移动中下一列。终端在数据文件中相应的读取下一列数据,将读取到的下一列数据再存入相应一维数组中,继续采用上述方式完成下一列的数据录入,直至将录入页面中的所有输入框录入完毕。
本实施例中,终端在数据文件中读取到的数据按照所在行或列存入对应的数组。根据光标的当前位置读取相应数组中的数据,模拟键盘操作控制光标移动,将从数组中读取到的数据录入相应的输入框中,完成一列或一行的数据录入。终端模拟键盘操作或鼠标操作,控制光标在录入页面中移动至下一列或下一行录入相应数据,直至在录入页面中完成所有输入框的数据录入。 在整个过程中无需用户手动操作,通过终端可以模拟用户操作,将大量的数据进行录入。不仅有效提高了数据录入的工作效率,也减少了人工录入造成的错误,有效提高了数据录入的准确性。
应该理解的是,虽然图2的流程图中的各个步骤按照箭头的指示依次显示,但是这些步骤并不是必然按照箭头指示的顺序依次执行。除非本文中有明确的说明,这些步骤的执行并没有严格的顺序限制,这些步骤可以以其它的顺序执行。而且,图2中的至少一部分步骤可以包括多个子步骤或者多个阶段,这些子步骤或者阶段并不必然是在同一时刻执行完成,而是可以在不同的时刻执行,这些子步骤或者阶段的执行顺序也不必然是依次进行,而是可以与其它步骤或者其它步骤的子步骤或者阶段的至少一部分轮流或者交替地执行。
在一个实施例中,在模拟鼠标操作或者键盘操作,控制光标在录入页面中移动至下一列或下一行之后,还包括:当光标在下一列或下一行的端点时,获取光标所在位置对应的列标识或行标识;根据列标识或行标识在对应的数组中读取相应数据;模拟鼠标操作或者键盘操作,控制光标在所在列或所在行中移动,将读取到的数据依次录入多个输入框中。
为了简洁描述,本文中以按列录入数据为例进行说明,按行录入的情形可以以此类推。光标在录入页面中的初始位置是预先设置的,可以是第一列第一行,也可以是其他列第一行等。终端可以从录入页面的第一列开始录入数据,可以从其他列开始录入数据。光标所在的位置也可以称为当前位置,初始位置也可以称为当前位置。当光标在当前列的第一行开始录入数据时,终端在数组中读取数据时可以按照正向顺序读取。当光标在当前列的第末行开始录入数据时,终端在数组中读取数据时可以按照反向顺序读取。
在录入页面中的上一列录入完毕后,终端可以继续模拟键盘操作或模拟鼠标操作,控制光标移动至下一列继续录入数据。光标可以移动至下一列的端点。其中,端点可以是顶端也可以是末端。当光标移动至下一列的顶端时,终端需要模拟鼠标移动,选择下一列的顶端,或者终端需要模拟键盘中的方向键,选择下一列的顶端。如果上一列录入时,是从顶端往末端的顺序录入的,那么上一列录入完毕时,光标位于上一列的末端。如果终端模拟键盘操作将光标移动至下一列的顶端,则需要按照上一列的行数(输入框数量)模拟方向键中上键(↑)的操作,再模拟方向键中的左键(←)或右键(→)操作,将光标移动至下一列的顶端。当光标位于下一列的顶端时,终端获取 下一列的列标识,根据列标识在相应数组中按照正向顺序读取数据,按照上述实施例中提供的方式,控制光标在下一列中依次向下移动,将正向读取到的数据依次录入到下一列的多个输入框中。由此对录入页面中多列数据进行自动录入。由此通过控制光标移动至下一列,实现了列与列之间数据录入的有效衔接。
为了进一步提高数据录入的效率,终端在完成上一列的录入之后,可以直接方向键中的左键(←)或右键(→)操作,将光标快速移动至下一列的端点。如果上一列录入时,是从顶端往末端的顺序录入的,那么上一列录入完毕时,光标位于上一列的末端。此时,终端控制光标移动至下一列时,光标可以是在下一列的末端。终端获取下一列的列标识,根据列标识在相应数组中按照反向顺序读取数据,按照上述实施例中提供的方式,控制光标在下一列中依次向上移动,将反向读取到的数据依次录入到下一列的多个输入框中。不仅通过控制光标移动至下一列,实现了列与列之间数据录入的有效衔接。而且减少了模拟方向键中上键(↑)的多次操作,节省了光标移动至下一列的时间,从而能够进一步提高数据录入的效率。
在一个实施例中,在模拟鼠标操作或者键盘操作,控制光标在录入页面中移动至下一列或下一行之后,还包括:当光标在下一列或下一行的端点之外的位置时,将位置记录为临时位置;根据临时位置在对应数组中读取部分数据,模拟键盘操作将读取到的部分数据依次录入至部分输入框中,部分输入框从临时位置开始直至所在列或行的其中一端;模拟鼠标操作或键盘操作控制光标移动至临时位置,根据临时位置按照相反顺序在数组中读取剩余数据,模拟键盘操作将剩余数据以此录入在光标所在列或行的剩余输入框中。
在录入页面中的上一列或上一行录入完毕后,终端可以继续模拟键盘操作或模拟鼠标操作,控制光标移动至下一列或者下一行继续录入数据。为了简洁描述,本文中以按列录入数据为例进行说明,按行录入的情形可以以此类推。
如果下列的输入框数量多于上一列的输入框数量时,模拟方向键中的左键(←)或右键(→)操作后,光标会落在下一列端点之外的位置上。终端获取此时光标所在的位置,并且记录为临时位置。临时位置中可以包括光标所在列的列标识,以及输入框对应的行标识。终端根据临时位置对应的列标识读取对应的数组,按照输入框对应的行标识读取数组中相应数据。其中,终端根据临时位置对应的列标识读取对应的数组,可以是按照正向顺序读取, 也可以是按照反向顺序读取。终端按照在数组中读取数据的顺序模拟方向键中的上键(↑)或下键(↓)操作,控制光标向上或者向下移动,将读取到的数据依次录入至对应的输入框中,直至从临时位置到所在列的其中一端(可以是顶端也可以是末端)。终端模拟方向键中的下键(↓)或上键(↑)操作,控制光标向下或者向上移动,回到临时位置。终端根据临时位置在数组中按照与刚才相反的顺序读取剩余数据,控制控制光标向下或者向上移动,将读取到的数据依次录入对应的输入框中,直至从临时位置至光标所在列的另一端。由此完成整列数据的录入。
例如,光标移动至下一列的临时位置可以是第3列的第8行,数组为一维数组,包含13个数据。终端可以从第8个数据开始读取,可以先正向读取,将读取的数据从第3列的第8行开始依次正向录入至第13行。终端模拟下键(↓)操作,控制光标向下移动,将读取到的数据依次从第8行开始录入直至第13行(第3列的末端)。终端模拟上键(↑)操作,控制光标移动至第8行,终端在数组中,从第7个数据开始反向读取,将读取到的数据从第7行依次反向录入至第1行(第3列的顶端)。由此完成第3列一整列的数据录入。由此在上一列与下一列的输入框数量不同时,实现了列与列之间数据录入的有效衔接。
进一步的,如果下一列的输入框数量少于上一列的输入框数量时,模拟方向键中的左键(←)或右键(→)操作后,光标可能会落在下一列末端之后的位置上。终端继续模拟方向键中的上键(↑)操作,控制光标移动至所在列的末端。可以参照前述实施例,通过反向读取数据的方式完成所在列的数据录入。由此在上一列与下一列的输入框数量不同时,实现了列与列之间数据录入的有效衔接。
在一个实施例中,该方法还包括:当光标所在列或行中存在拒绝录入数据的输入框时,记录相应的拒绝位置;光标移动至拒绝位置时,模拟鼠标操作跳过拒绝位置,将光标移动至下一个允许录入数据的输入框;获取下一个允许录入数据的输入框对应的继续录入位置,根据继续录入位置在数组中的相应位置读取数据;模拟键盘操作将读取到的数据从继续录入位置开始依次录入至相应的输入框中。
在上述实施例中提供的页面数据录入的过程中,还可能存在部分拒绝录入数据的输入框。当存在拒绝录入数据的输入框时,终端获取这些输入框的位置,将其记录为拒绝位置。当模拟键盘操作或鼠标操作,控制光标移动至 拒绝位置时,继续模拟鼠标操作控制光标跳过拒绝位置,直至下一允许录入数据的输入框。其中,拒绝位置可以是一个或多个。当拒绝位置有多个时,可以是连续的多个输入框,也可以是分散的多个输入框。
终端将下一个允许录入数据的输入框的位置标记为继续录入位置。终端根据继续录入位置在数组中的相应位置读取数据,模拟键盘操作,将读取到的数据依次从继续录入位置开始依次录入至相应的输入框中。可以理解,当拒绝位置是分散的多个输入框时,终端可以模拟键盘操作或鼠标操作多次跳过拒绝位置,并且多次从相应的继续录入位置开始继续在输入框中录入相应的数据。例如,当前列中包括13个输入框,第5个至第8个输入框为拒绝位置,则终端控制光标移动时,从第5个输入框开始跳过,直至调到第9个输入框。终端从数组中的第9个数据开始读取,将第9个数据从第9个输入框开始继续录入。通过模拟键盘操作或者鼠标操作,控制光标跳过拒绝位置,从继续录入位置开始继续录入数据,由此确保了录入页面中的数据能够顺利录入。
在一个实施例中,该方法还包括:当光标所在列或行中存在拒绝录入数据的输入框时,记录相应的拒绝位置;根据拒绝位置对数组中相应位置的数据添加拒绝录入标签;在数组中读取数据时,跳过添加拒绝录入标签的数据,读取下一个允许录入的数据;模拟鼠标操作控制光标跳过拒绝位置至下一个允许录入的输入框;模拟键盘操作将下一个允许录入的数据录入至下一个允许录入的输入框中。
在页面数据录入的过程中,如果存在部分拒绝录入数据的输入框,本实施例中还可以提供另外一种解决方式。具体的,当存在拒绝录入数据的输入框时,终端获取这些输入框的位置,将其记录为拒绝位置。终端根据拒绝位置在相应数据中对相应位置的数据添加拒绝录入标签。终端按顺序在数组中读取数据时,如果读取到添加了拒绝录入标签的数据,则终端跳过该数据,读取下一个,如果下一个数据也添加了拒绝录入标签,则继续跳过该数据读取下一个,直至读取到未添加拒绝录入标识的数据。终端获取该数据在数组中的位置,模拟鼠标操作或键盘操作,控制光标在录入页面中移动至与该数据对应的位置,也就是控制光标跳过拒绝录入位置,跳至下一个允许录入数据的输入框中。例如,数组为一维数组,包含13个数据,第5个至第8个数据被添加了拒绝录入标签,则终端在数组中读取数据时,从第5个开始跳过,读取第9个数据,终端控制光标移动至当前列的第9行,从第9行开始继续 录入相应数据。
通过记录输入框对应的拒绝位置,对数组中相应位置的数据添加拒绝录入标签,在数组中读数据时可以直接跳过添加拒绝录入标签的数据,将未添加该标签的数据录入至输入框中,由此确保了录入页面中的数据能够顺利录入。
在一个实施例中,在数据文件中读取数据之前,还包括:获取密钥文件,对密钥文件进行解码,得到对应的解码字符串;在解码字符串中的预设位置提取相应字符,得到密钥文件中隐藏的密钥;利用密钥对数据文件进行解密,得到解密后的数据文件。
数据文件中通常会记录大量与企业运营相关的数据,为了防止这些运营数据泄露,数据文件可以预先加密的。终端中可以存储了对数据文件进行解密所需的密钥文件。密钥文件可以是图片。密钥可以是图片中的预设文字或预设图形。密钥文件可以是服务器利用预设图片与密钥进行编码生成的。编码方式可以有多种,例如,服务器可以采用base64的编码方式将预设文件编码为预设文件对应的字符串,以及将密钥编码为密钥对应的字符串。服务器按照预设规则将密钥对应的字符串添加至预设图片对应的编码字符串的预设位置,生成密钥文件,以此将密钥隐藏在密钥文件中。
密钥文件可以保留原本的格式,密钥文件与预设文件相比,增加了与密钥对应的文字或图形。其中,所增加的文字或图形即为对数据文件进行解密所需的密钥。由于密钥以文字或图形的形式隐藏在图片中,即使被非法入侵者截获,也很难破解得到其中隐藏的密钥。由此有效提高了密钥保存的安全性,继而有效提高了数据文件的安全性。
终端在接收到密钥服务器返回的密钥文件后,对密钥文件进行解码,得到相应的解码字符串。终端获取预设规则,按照预设规则在解码字符串的预设位置提取相应字符。其中,终端按照预设规则可以在解密字符串中的预设位置提取多个连续的字符,利用提取到的字符组成字符串,将字符串标记为对数据文件进行解密所需的密钥。终端按照预设规则也可以在解密字符串中的多个预设位置中分别提取多个不连续的字符,利用提取到的字符组成字符串,将字符串标记对数据文件进行解密所需的密钥。
为了进一步提高数据文件的安全性,服务器中存储的密钥文件可以动态更新。密钥文件更新时,生成密钥文件所需的预设规则也可以更新。服务器利用更新后的预设规则生成更新信息。服务器将更新信息推送至终端。为了 确保终端可以及时获悉更新后的预设规则,服务器可以将更新信息实时推送至终端。
终端可以利用更新后的预设规则在更新后的密钥文件提取更新后的密钥,以此确保了终端能够利用更新后的密钥对数据文件进行解密。
在其中一个实施例中,根据页面标识获取对应的数据文件的步骤包括:根据页面标识获取多个加密后的数据包;对多个加密后的数据包进行解密,得到多个解密后的数据包;利用多个解密后的数据包进行拼接,得到与页面标识对应的数据文件。
为了提高数据文件的传输安全,数据文件在传输之前,可以利用密钥进行加密。其中,数据文件可以先被加密后被拆分,也可以先被拆分后被加密。加密的密钥可以隐藏在上述实施例的密钥文件中。
终端可以参照上述实施例中提供的方式,在密钥文件提取对应的密钥。终端利用密钥对多个加密后的数据包进行解密,得到多个解密后的数据包。解密后的数据包具有对应的数据包标识,终端根据数据包标识识别多个解密后的数据包的拼接顺序,根据拼接顺序对多个解密后的数据包进行拼接,得到与页面标识对应的数据文件。由于数据文件在加密后被拆分为多个数据包进行传输,即使部分数据包被非法入侵者截获,非法入侵者也无法得到相应的数据,从而有效提高了数据文件传输的安全性。
在一个实施例中,如图3所示,提供了一种数据录入装置,包括:登陆模块302、页面选择模块304以及数据录入模块306,其中:
登陆模块302,用于模拟鼠标操作以及键盘操作,登录业务***,显示业务***的主页面。
页面选择模块304,用于在主页面中模拟鼠标操作选择相应控件,进入与控件对应的录入页面。
数据录入模块306,用于获取录入页面的页面标识,根据页面标识获取对应的数据文件;在数据文件中读取数据,模拟键盘操作在录入页面中控制光标移动,将读取到的数据录入录入页面的多个输入框中。
在一个实施例中,数据录入模块还用于在数据文件中按列或行读取相应的数据,将读取到的数据按照对应的列标识或行标识存入相应数组;在录入页面中获取光标的当前位置,当前位置包括当前列标识或当前行标识;根据当前列标识或当前行标识在对应的数组中读取相应数据,模拟键盘操作控制光标在录入页面中移动,将读取到的数据录入当前列或当前行的多个输入框 中;模拟鼠标操作或者键盘操作,控制光标在录入页面中移动至下一列或下一行,重复执行在录入页面中获取光标的当前位置的步骤,直至将录入页面中所有的输入框录入完毕。
在一个实施例中,数据录入模块还用于当光标在下一列或下一行的端点时,获取光标所在位置对应的列标识或行标识;根据列标识或行标识在对应的数组中读取相应数据;模拟鼠标操作或者键盘操作,控制光标在所在列或所在行中移动,将读取到的数据依次录入多个输入框中。
在一个实施例中,数据录入模块还用于当光标在下一列或下一行的端点之外的位置时,将位置记录为临时位置;根据临时位置在对应数组中读取部分数据,模拟键盘操作将读取到的部分数据依次录入至部分输入框中,部分输入框从临时位置开始直至所在列或行的其中一端;模拟鼠标操作或键盘操作控制光标移动至临时位置,根据临时位置按照相反顺序在数组中读取剩余数据,模拟键盘操作将剩余数据以此录入在光标所在列或行的剩余输入框中。
在一个实施例中,数据录入模块还用于当光标所在列或行中存在拒绝录入数据的输入框时,记录相应的拒绝位置;光标移动至拒绝位置时,模拟鼠标操作跳过拒绝位置,将光标移动至下一个允许录入数据的输入框;获取下一个允许录入数据的输入框对应的继续录入位置,根据继续录入位置在数组中的相应位置读取数据;模拟键盘操作将读取到的数据从继续录入位置开始依次录入至相应的输入框中。
在一个实施例中,数据录入模块还用于当光标所在列或行中存在拒绝录入数据的输入框时,记录相应的拒绝位置;根据拒绝位置对数组中相应位置的数据添加拒绝录入标签;在数组中读取数据时,跳过添加拒绝录入标签的数据,读取下一个允许录入的数据;模拟鼠标操作控制光标跳过拒绝位置至下一个允许录入的输入框;模拟键盘操作将下一个允许录入的数据录入至下一个允许录入的输入框中。
在一个实施例中,该装置还包括:解密模块,用于获取密钥文件,对密钥文件进行解码,得到对应的解码字符串;在解码字符串中的预设位置提取相应字符,得到密钥文件中隐藏的密钥;利用密钥对数据文件进行解密,得到解密后的数据文件。
关于数据录入装置的具体限定可以参见上文中对于数据录入方法的限定,在此不再赘述。上述数据录入装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备 中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。
在一个实施例中,提供了一种计算机设备,例如计算机设备可以是终端。计算机设备的内部结构图可以如图4所示。该计算机设备包括通过***总线连接的处理器、存储器、网络接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作***和计算机可读指令。该内存储器为非易失性存储介质中的操作***和计算机可读指令的运行提供环境。该计算机设备的网络接口用于与外部的服务器通过网络连接通信。该计算机可读指令被处理器执行时以实现一种数据录入方法。该计算机设备的显示屏可以是液晶显示屏或者电子墨水显示屏,该计算机设备的输入装置可以是显示屏上覆盖的触摸层,也可以是计算机设备外壳上设置的按键、轨迹球或触控板,还可以是外接的键盘、触控板或鼠标等。
本领域技术人员可以理解,图4中示出的结构,仅仅是与本申请方案相关的部分结构的框图,并不构成对本申请方案所应用于其上的计算机设备的限定,具体的计算机设备可以包括比图中所示更多或更少的部件,或者组合某些部件,或者具有不同的部件布置。
在一个实施例中,提供了一种计算机设备,包括存储器和处理器,该存储器存储有计算机可读指令,该处理器执行计算机可读指令时实现上述各个方法实施例中的步骤。
在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机可读指令,计算机可读指令被处理器执行时实现上述各个方法实施例中的步骤。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机可读指令来指令相关的硬件来完成,所述的计算机可读指令可存储于一非易失性计算机可读取存储介质中,该计算机可读指令在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)等。
以上实施例的各技术特征可以进行任意的组合,为使描述简洁,未对上述实施例中的各个技术特征所有可能的组合都进行描述,然而,只要这些技 术特征的组合不存在矛盾,都应当认为是本说明书记载的范围。
以上所述实施例仅表达了本申请的几种实施方式,其描述较为具体和详细,但并不能因此而理解为对发明专利范围的限制。应当指出的是,对于本领域的普通技术人员来说,在不脱离本申请构思的前提下,还可以做出若干变形和改进,这些都属于本申请的保护范围。因此,本申请专利的保护范围应以所附权利要求为准。

Claims (20)

  1. 一种数据录入方法,包括:
    模拟鼠标操作以及键盘操作,登录业务***,显示所述业务***的主页面;
    在所述主页面中模拟鼠标操作选择相应控件,进入与所述控件对应的录入页面;
    获取所述录入页面的页面标识,根据所述页面标识获取对应的数据文件;及
    在所述数据文件中读取数据,模拟键盘操作在所述录入页面中控制光标移动,将读取到的数据录入所述录入页面的多个输入框中。
  2. 根据权利要求1所述的方法,其特征在于,所述在所述数据文件中读取数据,模拟键盘操作在所述录入页面中控制光标移动,将读取到的数据录入所述录入页面的多个输入框中包括:
    在所述数据文件中按列或行读取相应的数据,将读取到的数据按照对应的列标识或行标识存入相应数组;
    在所述录入页面中获取光标的当前位置,所述当前位置包括当前列标识或当前行标识;
    根据所述当前列标识或当前行标识在对应的数组中读取相应数据,模拟键盘操作控制光标在所述录入页面中移动,将读取到的数据录入当前列或当前行的多个输入框中;及
    模拟鼠标操作或者键盘操作,控制光标在所述录入页面中移动至下一列或下一行,重复执行在所述录入页面中获取光标的当前位置的步骤,直至将所述录入页面中所有的输入框录入完毕。
  3. 根据权利要求2所述的方法,其特征在于,在所述模拟鼠标操作或者键盘操作,控制光标在所述录入页面中移动至下一列或下一行之后,还包括:
    当光标在下一列或下一行的端点时,获取所述光标所在位置对应的列标识或行标识;
    根据所述列标识或行标识在对应的数组中读取相应数据;及
    模拟鼠标操作或者键盘操作,控制光标在所在列或所在行中移动,将读取到的数据依次录入多个输入框中。
  4. 根据权利要求2所述的方法,其特征在于,在所述模拟鼠标操作或者键盘操作,控制光标在所述录入页面中移动至下一列或下一行之后,还包括:
    当光标在下一列或下一行的端点之外的位置时,将所述位置记录为临时位置;
    根据所述临时位置在对应数组中读取部分数据,模拟键盘操作将读取到的部分数据依次录入至部分输入框中,所述部分输入框从所述临时位置开始直至所在列或行的其中一端;及
    模拟鼠标操作或键盘操作控制光标移动至所述临时位置,根据所述临时位置按照相反顺序在所述数组中读取剩余数据,模拟键盘操作将所述剩余数据以此录入在光标所在列或行的剩余输入框中。
  5. 根据权利要求2至4任一项所述的方法,其特征在于,所述方法还包括:
    当光标所在列或行中存在拒绝录入数据的输入框时,记录相应的拒绝位置;
    光标移动至拒绝位置时,模拟鼠标操作跳过所述拒绝位置,将光标移动至下一个允许录入数据的输入框;
    获取下一个允许录入数据的输入框对应的继续录入位置,根据所述继续录入位置在数组中的相应位置读取数据;及
    模拟键盘操作将读取到的数据从所述继续录入位置开始依次录入至相应的输入框中。
  6. 根据权利要求2至4任一项所述的方法,其特征在于,所述方法还包括:
    当光标所在列或行中存在拒绝录入数据的输入框时,记录相应的拒绝位置;
    根据所述拒绝位置对数组中相应位置的数据添加拒绝录入标签;
    在数组中读取数据时,跳过添加拒绝录入标签的数据,读取下一个允许录入的数据;
    模拟鼠标操作控制光标跳过所述拒绝位置至下一个允许录入的输入框;及
    模拟键盘操作将下一个允许录入的数据录入至下一个允许录入的输入框中。
  7. 根据权利要求1至4任一项所述的方法,其特征在于,在所述数据文件中读取数据之前,还包括:
    获取密钥文件,对所述密钥文件进行解码,得到对应的解码字符串;
    在所述解码字符串中的预设位置提取相应字符,得到所述密钥文件中隐藏的密钥;及
    利用所述密钥对数据文件进行解密,得到解密后的数据文件。
  8. 一种数据录入装置,包括:
    登陆模块,用于模拟鼠标操作以及键盘操作,登录业务***,显示所述业务***的主页面;
    页面选择模块,用于在所述主页面中模拟鼠标操作选择相应控件,进入与所述控件对应的录入页面;及
    数据录入模块,用于获取所述录入页面的页面标识,根据所述页面标识获取对应的数据文件;在所述数据文件中读取数据,模拟键盘操作在所述录入页面中控制光标移动,将读取到的数据录入所述录入页面的多个输入框中。
  9. 根据权利要求8所述的装置,其特征在于,所述数据录入模块还用于在所述数据文件中按列或行读取相应的数据,将读取到的数据按照对应的列标识或行标识存入相应数组;在所述录入页面中获取光标的当前位置,所述当前位置包括当前列标识或当前行标识;根据所述当前列标识或当前行标识在对应的数组中读取相应数据,模拟键盘操作控制光标在所述录入页面中移动,将读取到的数据录入当前列或当前行的多个输入框中;及模拟鼠标操作或者键盘操作,控制光标在所述录入页面中移动至下一列或下一行,重复执行在所述录入页面中获取光标的当前位置的步骤,直至将所述录入页面中所有的输入框录入完毕。
  10. 一种计算机设备,包括存储器和一个或多个处理器,所述存储器中储存有计算机可读指令,所述计算机可读指令被所述处理器执行时,使得所述一个或多个处理器执行以下步骤:
    模拟鼠标操作以及键盘操作,登录业务***,显示所述业务***的主页面;
    在所述主页面中模拟鼠标操作选择相应控件,进入与所述控件对应的录入页面;
    获取所述录入页面的页面标识,根据所述页面标识获取对应的数据文件;及
    在所述数据文件中读取数据,模拟键盘操作在所述录入页面中控制光标移动,将读取到的数据录入所述录入页面的多个输入框中。
  11. 根据权利要求10所述的计算机设备,其特征在于,所述计算机可读 指令被所述处理器执行时,使得所述一个或多个处理器还执行以下步骤:
    在所述数据文件中按列或行读取相应的数据,将读取到的数据按照对应的列标识或行标识存入相应数组;
    在所述录入页面中获取光标的当前位置,所述当前位置包括当前列标识或当前行标识;
    根据所述当前列标识或当前行标识在对应的数组中读取相应数据,模拟键盘操作控制光标在所述录入页面中移动,将读取到的数据录入当前列或当前行的多个输入框中;及
    模拟鼠标操作或者键盘操作,控制光标在所述录入页面中移动至下一列或下一行,重复执行在所述录入页面中获取光标的当前位置的步骤,直至将所述录入页面中所有的输入框录入完毕。
  12. 根据权利要求11所述的所述的计算机设备,其特征在于,所述计算机可读指令被所述处理器执行时,使得所述一个或多个处理器还执行以下步骤:
    当光标在下一列或下一行的端点时,获取所述光标所在位置对应的列标识或行标识;
    根据所述列标识或行标识在对应的数组中读取相应数据;及
    模拟鼠标操作或者键盘操作,控制光标在所在列或所在行中移动,将读取到的数据依次录入多个输入框中。
  13. 根据权利要求11所述的计算机设备,其特征在于,所述计算机可读指令被所述处理器执行时,使得所述一个或多个处理器还执行以下步骤:
    当光标在下一列或下一行的端点之外的位置时,将所述位置记录为临时位置;
    根据所述临时位置在对应数组中读取部分数据,模拟键盘操作将读取到的部分数据依次录入至部分输入框中,所述部分输入框从所述临时位置开始直至所在列或行的其中一端;及
    模拟鼠标操作或键盘操作控制光标移动至所述临时位置,根据所述临时位置按照相反顺序在所述数组中读取剩余数据,模拟键盘操作将所述剩余数据以此录入在光标所在列或行的剩余输入框中。
  14. 根据权利要求11至13任一项所述的计算机设备,其特征在于,所述计算机可读指令被所述处理器执行时,使得所述一个或多个处理器还执行以下步骤:
    当光标所在列或行中存在拒绝录入数据的输入框时,记录相应的拒绝位置;
    光标移动至拒绝位置时,模拟鼠标操作跳过所述拒绝位置,将光标移动至下一个允许录入数据的输入框;
    获取下一个允许录入数据的输入框对应的继续录入位置,根据所述继续录入位置在数组中的相应位置读取数据;及
    模拟键盘操作将读取到的数据从所述继续录入位置开始依次录入至相应的输入框中。
  15. 根据权利要求10至13任一项所述的计算机设备,其特征在于,所述计算机可读指令被所述处理器执行时,使得所述一个或多个处理器还执行以下步骤:
    获取密钥文件,对所述密钥文件进行解码,得到对应的解码字符串;
    在所述解码字符串中的预设位置提取相应字符,得到所述密钥文件中隐藏的密钥;及
    利用所述密钥对数据文件进行解密,得到解密后的数据文件。
  16. 一个或多个存储有计算机可读指令的非易失性计算机可读存储介质,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器执行以下步骤:
    模拟鼠标操作以及键盘操作,登录业务***,显示所述业务***的主页面;
    在所述主页面中模拟鼠标操作选择相应控件,进入与所述控件对应的录入页面;
    获取所述录入页面的页面标识,根据所述页面标识获取对应的数据文件;及
    在所述数据文件中读取数据,模拟键盘操作在所述录入页面中控制光标移动,将读取到的数据录入所述录入页面的多个输入框中。
  17. 根据权利要求16所述的存储介质,其特征在于,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器还执行以下步骤:
    在所述数据文件中按列或行读取相应的数据,将读取到的数据按照对应的列标识或行标识存入相应数组;
    在所述录入页面中获取光标的当前位置,所述当前位置包括当前列标识或当前行标识;
    根据所述当前列标识或当前行标识在对应的数组中读取相应数据,模拟键盘操作控制光标在所述录入页面中移动,将读取到的数据录入当前列或当前行的多个输入框中;及
    模拟鼠标操作或者键盘操作,控制光标在所述录入页面中移动至下一列或下一行,重复执行在所述录入页面中获取光标的当前位置的步骤,直至将所述录入页面中所有的输入框录入完毕。
  18. 根据权利要求17所述存储介质,其特征在于,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器还执行以下步骤:
    当光标在下一列或下一行的端点时,获取所述光标所在位置对应的列标识或行标识;
    根据所述列标识或行标识在对应的数组中读取相应数据;及
    模拟鼠标操作或者键盘操作,控制光标在所在列或所在行中移动,将读取到的数据依次录入多个输入框中。
  19. 根据权利要求17所述存储介质,其特征在于,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器还执行以下步骤:
    当光标在下一列或下一行的端点之外的位置时,将所述位置记录为临时位置;
    根据所述临时位置在对应数组中读取部分数据,模拟键盘操作将读取到的部分数据依次录入至部分输入框中,所述部分输入框从所述临时位置开始直至所在列或行的其中一端;及
    模拟鼠标操作或键盘操作控制光标移动至所述临时位置,根据所述临时位置按照相反顺序在所述数组中读取剩余数据,模拟键盘操作将所述剩余数据以此录入在光标所在列或行的剩余输入框中。
  20. 根据权利要求16至19任一项所述存储介质,其特征在于,计算机可读指令被一个或多个处理器执行时,使得一个或多个处理器还执行以下步骤:
    获取密钥文件,对所述密钥文件进行解码,得到对应的解码字符串;
    在所述解码字符串中的预设位置提取相应字符,得到所述密钥文件中隐藏的密钥;及
    利用所述密钥对数据文件进行解密,得到解密后的数据文件。
PCT/CN2018/088792 2018-01-25 2018-05-29 数据录入方法、装置、计算机设备和存储介质 WO2019144547A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201810074565.2 2018-01-25
CN201810074565.2A CN108255373A (zh) 2018-01-25 2018-01-25 数据录入方法、装置、计算机设备和存储介质

Publications (1)

Publication Number Publication Date
WO2019144547A1 true WO2019144547A1 (zh) 2019-08-01

Family

ID=62742906

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/088792 WO2019144547A1 (zh) 2018-01-25 2018-05-29 数据录入方法、装置、计算机设备和存储介质

Country Status (2)

Country Link
CN (1) CN108255373A (zh)
WO (1) WO2019144547A1 (zh)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109597541A (zh) * 2018-10-30 2019-04-09 北京五岳鑫信息技术股份有限公司 一种字符转化方法与***
CN111427545A (zh) * 2019-01-10 2020-07-17 长沙博为软件技术股份有限公司 一种c/s程序界面的自动写入方法
CN110321284B (zh) * 2019-06-03 2024-05-03 平安科技(深圳)有限公司 测试数据录入方法、装置、计算机设备和存储介质
CN110660461B (zh) * 2019-09-23 2023-03-24 广州市番禺区中心医院(广州市番禺区人民医院、广州市番禺区心血管疾病研究所) 一种基于人工智能的跨平台医疗数据信息上传***
CN113190514B (zh) * 2021-05-10 2023-04-18 成都微视联软件技术有限公司 一种电子文档按照优先顺序录入数据的方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020152332A1 (en) * 2001-04-13 2002-10-17 Rensin David K. Systems and methods for integrating information from a database in a handheld internet appliance into a web site
CN101196885A (zh) * 2006-12-06 2008-06-11 鸿富锦精密工业(深圳)有限公司 网页数据自动填充***及方法
CN103064823A (zh) * 2012-12-25 2013-04-24 北京易时信通科技有限公司 数据处理方法及***
CN107133205A (zh) * 2017-05-04 2017-09-05 山东浪潮云服务信息科技有限公司 一种基于数据服务的云表单组件实现方法及装置

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020152332A1 (en) * 2001-04-13 2002-10-17 Rensin David K. Systems and methods for integrating information from a database in a handheld internet appliance into a web site
CN101196885A (zh) * 2006-12-06 2008-06-11 鸿富锦精密工业(深圳)有限公司 网页数据自动填充***及方法
CN103064823A (zh) * 2012-12-25 2013-04-24 北京易时信通科技有限公司 数据处理方法及***
CN107133205A (zh) * 2017-05-04 2017-09-05 山东浪潮云服务信息科技有限公司 一种基于数据服务的云表单组件实现方法及装置

Also Published As

Publication number Publication date
CN108255373A (zh) 2018-07-06

Similar Documents

Publication Publication Date Title
WO2019144547A1 (zh) 数据录入方法、装置、计算机设备和存储介质
WO2019144550A1 (zh) 数据录入的优化处理方法、装置、计算机设备和存储介质
US10606576B1 (en) Developer experience for live applications in a cloud collaboration platform
US10686788B2 (en) Developer based document collaboration
CN108292231B (zh) 从数据生成应用的方法和***
WO2019184138A1 (zh) 票据信息录入方法、装置、计算机设备和存储介质
US20180164979A1 (en) Collaboration for network-shared documents
CN116225399A (zh) 基于电子表格的软件应用程序开发
EP2309398A1 (en) Method and system for performing unstructured data
US9026900B1 (en) Invisible overlay for dynamic annotation
CN111767095A (zh) 微服务生成方法、装置、终端设备及存储介质
US20200358850A1 (en) Uploading user and system data from a source location to a destination location
US20190340230A1 (en) System and method for generating websites from predefined templates
US20160364575A1 (en) Document state interface
JPWO2006001268A1 (ja) 文書処理装置、文書閲覧装置および文書処理方法
CN104704468A (zh) Web应用程序的跨***安装
WO2020259141A1 (zh) 一种文件处理方法、装置及计算机设备
CN105556533A (zh) 自动生成证书文档
WO2017151012A1 (ru) Способ обработки машиночитаемой информации
CN111783119B (zh) 表单数据安全控制方法、装置、电子设备及存储介质
CN102193907B (zh) 一种基于b/s结构的文稿对比方法及***
US9195811B2 (en) Functionality watermarking and management
TW201636891A (zh) 延後連結身分至帳號的方法
CN109101429A (zh) 一种机顶盒的浏览器页面调试的方法及装置
RU2625936C1 (ru) Способ обработки машиночитаемой информации

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18901922

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

32PN Ep: public notification in the ep bulletin as address of the adressee cannot be established

Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205 DATED 15/09/2020)

122 Ep: pct application non-entry in european phase

Ref document number: 18901922

Country of ref document: EP

Kind code of ref document: A1