CN107295357B - Image file data entry method, cloud server and terminal - Google Patents

Image file data entry method, cloud server and terminal Download PDF

Info

Publication number
CN107295357B
CN107295357B CN201610203608.3A CN201610203608A CN107295357B CN 107295357 B CN107295357 B CN 107295357B CN 201610203608 A CN201610203608 A CN 201610203608A CN 107295357 B CN107295357 B CN 107295357B
Authority
CN
China
Prior art keywords
image
data entry
display area
field
pixel
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
CN201610203608.3A
Other languages
Chinese (zh)
Other versions
CN107295357A (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.)
Shenzhen Pingan Integrated Financial Services Co ltd
Original Assignee
Shenzhen Pingan Integrated Financial Services 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 Shenzhen Pingan Integrated Financial Services Co ltd filed Critical Shenzhen Pingan Integrated Financial Services Co ltd
Priority to CN201610203608.3A priority Critical patent/CN107295357B/en
Publication of CN107295357A publication Critical patent/CN107295357A/en
Application granted granted Critical
Publication of CN107295357B publication Critical patent/CN107295357B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/231Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion
    • H04N21/23113Content storage operation, e.g. caching movies for short term storage, replicating data over plural servers, prioritizing data for deletion involving housekeeping operations for stored content, e.g. prioritizing content for deletion because of storage space restrictions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/232Content retrieval operation locally within server, e.g. reading video streams from disk arrays
    • H04N21/2326Scheduling disk or memory reading operations
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/431Generation of visual interfaces for content selection or interaction; Content or additional data rendering
    • H04N21/4312Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations
    • H04N21/4316Generation of visual interfaces for content selection or interaction; Content or additional data rendering involving specific graphical features, e.g. screen layout, special fonts or colors, blinking icons, highlights or animations for displaying supplemental content in a region of the screen, e.g. an advertisement in a separate window
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/475End-user interface for inputting end-user data, e.g. personal identification number [PIN], preference data

Abstract

An image file data entry method includes: receiving an image file; determining a configuration file corresponding to the image file, and extracting display area image blocks of each field to be recorded from the received image file according to the configuration file; grouping the display area image blocks of each field to be input, generating a plurality of display area image block sets of the field to be input, and sending the display area image block sets to the corresponding data input terminals; receiving image data entry data sent by each data entry terminal and corresponding image data entry frame name fields; and filling the image data entry data into each field frame of the entry interface corresponding to the received image file according to the name field. The invention also provides a cloud server and a terminal suitable for the method. The invention can execute the quick input of the image file data and improve the working efficiency.

Description

Image file data entry method, cloud server and terminal
Technical Field
The invention relates to the technical field of data processing, in particular to an image file data entry method, a cloud server and a terminal.
Background
Insurance companies have a large number of insurance policies every day and require the policy recording personnel to enter the business system, and in order to complete the work, the policy recording personnel need to invest a large amount of labor and time.
At present, when a policy recorder records information according to a policy image, the policy image file needs to be manually dragged to find a corresponding field when recording a field in the policy image. In addition, the order entry clerk usually needs to complete the entry work of all the information to be entered of the policy image based on an entry interface with a fixed format in the service system, and needs to find corresponding field entry frames from different interface parts on the whole entry interface to complete information entry, so that the manual operation efficiency is low, and mistakes are easy to make.
Disclosure of Invention
In view of the above, there is a need for an image file data entry method, which can perform fast entry of image file data and improve work efficiency.
The image file data entry method comprises the following steps:
the method comprises the steps that a cloud server receives an image file to be subjected to data entry, determines a configuration file corresponding to the received image file, wherein the configuration file comprises the name of each field to be entered in the image file and the pixel coordinate of a display area corresponding to the name of each field to be entered, and extracts the image block of the display area of each field to be entered from the received image file according to the configuration file;
the cloud server groups the extracted display area image blocks of each field to be input, generates a plurality of display area image block sets of the fields to be input, determines a data input terminal corresponding to the display area image block set of each field to be input according to a preset allocation rule, and sends the display area image block sets of the fields to be input to the corresponding data input terminals;
each data entry terminal generates a graph consisting of image data entry frames according to a preset graph generation rule, matches a display image area image block of a field to be entered corresponding to the selected image data entry frame, and displays the matched display image block of the field to be entered at a preset position of the selected image data entry frame;
the data entry terminal receives input operation of a user in the selected image data entry frame, and when all the image data entry frames in the generated graph input data, the data in each image data entry frame and the corresponding image data entry frame name field are sent to the cloud server; and
the cloud server receives image data entry data sent by each data entry terminal and corresponding image data entry frame name fields, and fills the image data entry data into each field frame of an entry interface corresponding to the received image file according to the name fields to generate a complete information file.
Preferably, the preset grouping rule is as follows: the method includes the steps of dividing a pixel coordinate into a first group if an ordinate pixel in the pixel coordinate belongs to a first pixel interval (0, C), wherein C is a positive integer, dividing into a second group if the ordinate pixel belongs to a second pixel interval (C, D), wherein C is smaller than D, and C and D are both positive integers, dividing into a third group if the ordinate pixel belongs to a third pixel interval (D, E), wherein D is smaller than E, and D and E are both positive integers, and dividing into a fourth group if the ordinate pixel belongs to a fourth pixel interval (E, plus infinity).
Preferably, the graph comprises a tree graph consisting of each image data entry frame, or a flow graph consisting of each image data entry frame.
Preferably, the preset pattern generation rule includes displaying an image data entry frame corresponding to the display area image block of the field to be entered on the right half of the tree-shaped pattern if an abscissa pixel of a pixel coordinate corresponding to the display area image block of the field to be entered is greater than a preset pixel threshold; if the abscissa pixel of the pixel coordinate corresponding to the image block of the display area of the field to be recorded is less than or equal to the preset pixel threshold value, displaying an image data recording frame corresponding to the image block of the display area of the field to be recorded on the left half part of the tree-shaped graph; and sequencing the display area image blocks of the fields to be recorded according to the descending order of the vertical coordinate pixels of the corresponding pixel coordinates, and displaying the image data recording frames corresponding to the display area image blocks of the fields to be recorded according to the corresponding descending order of the image data recording frames and the longitudinal ascending relation of the tree-shaped graph.
Preferably, when the user clicks the left mouse button in the image data entry frame in the generated graphic, the input indication cursor for performing the input indication falls into the entry frame, and the entry frame is the selected entry frame.
In view of the above, there is a need for an image file data entry cloud server, which can perform fast entry of image file data and improve work efficiency.
The cloud server comprises a storage device and a processor, wherein:
the storage unit is used for storing an image file data processing system;
the processor is used for calling and executing the image file data processing system so as to execute the following steps:
receiving an image file to be subjected to data entry;
determining a configuration file corresponding to the received image file according to a mapping relation between preset image file attribute data and a configuration file stored in a cloud server in advance, wherein the configuration file comprises the name of each field to be input in the image file and the pixel coordinate of a display area corresponding to the name of each field to be input;
according to the configuration file, extracting display area image blocks of each field to be recorded from the received image file;
according to a preset grouping rule, grouping the extracted display area image blocks of each field to be input to generate a plurality of display area image block sets of the fields to be input;
determining a data entry terminal corresponding to the display area image block set of each field to be entered according to a preset allocation rule, and sending the display area image block set of the field to be entered to the corresponding data entry terminal;
receiving image data entry data sent by each data entry terminal and corresponding image data entry frame name fields; and
and filling the image data entry data into each field frame of an entry interface corresponding to the received image file according to the name field to generate a complete information file.
Preferably, the preset grouping rule is as follows: the method includes the steps of dividing a pixel coordinate into a first group if an ordinate pixel in the pixel coordinate belongs to a first pixel interval (0, C), wherein C is a positive integer, dividing into a second group if the ordinate pixel belongs to a second pixel interval (C, D), wherein C is smaller than D, and C and D are both positive integers, dividing into a third group if the ordinate pixel belongs to a third pixel interval (D, E), wherein D is smaller than E, and D and E are both positive integers, and dividing into a fourth group if the ordinate pixel belongs to a fourth pixel interval (E, plus infinity).
In view of the above, there is a need for an image file data entry terminal, which can perform fast entry of image file data and improve work efficiency.
The terminal comprises a storage device and a processor, wherein:
the storage unit is used for storing a data entry system;
the processor is used for calling and executing the data entry system so as to execute the following steps:
receiving a display area image block set of a field to be input, which is sent by a cloud server;
generating a graph consisting of image data entry frames according to a preset graph generation rule;
when an image data entry frame is selected from the generated graph, matching an image block of a display image area of a field to be entered corresponding to the selected image data entry frame;
displaying the matched display area image block of the field to be recorded at the preset position of the selected image data recording frame;
receiving the input operation of a user in the selected image data entry frame; and
and when all the image data input frames in the generated graph have input data, sending the data in each image data input frame and the corresponding image data input frame name fields to the cloud server.
Preferably, the graph comprises a tree graph consisting of each image data entry frame, or a flow graph consisting of each image data entry frame.
Preferably, the preset pattern generation rule includes displaying an image data entry frame corresponding to the display area image block of the field to be entered on the right half of the tree-shaped pattern if an abscissa pixel of a pixel coordinate corresponding to the display area image block of the field to be entered is greater than a preset pixel threshold; if the abscissa pixel of the pixel coordinate corresponding to the image block of the display area of the field to be recorded is less than or equal to the preset pixel threshold value, displaying an image data recording frame corresponding to the image block of the display area of the field to be recorded on the left half part of the tree-shaped graph; and sequencing the display area image blocks of the fields to be recorded according to the descending order of the vertical coordinate pixels of the corresponding pixel coordinates, and displaying the image data recording frames corresponding to the display area image blocks of the fields to be recorded according to the corresponding descending order of the image data recording frames and the longitudinal ascending relation of the tree-shaped graph.
According to the image file data entry method, the cloud server and the terminal suitable for the method, the image file is divided into a plurality of display area image blocks of the fields to be entered, the image blocks are distributed to different terminals for image entry, and the data entered by the terminals are collected, so that the image file data can be rapidly entered, and the working efficiency is improved.
Drawings
FIG. 1 is a diagram of a hardware environment of a preferred embodiment of the image file data entry system of the present invention.
FIG. 2 is a functional block diagram of the image file data entry system installed on the cloud server in the preferred embodiment of the present invention.
FIG. 3 is a block diagram of the functions of the image file data entry system installed in the terminal according to the preferred embodiment of the present invention.
FIG. 4 is a flowchart illustrating an implementation of a method executed by a cloud server according to a preferred embodiment of the present invention.
FIG. 5 is a flowchart illustrating a method executed by the terminal according to a preferred embodiment of the present invention.
FIG. 6 illustrates an image file data.
FIG. 7 is a schematic diagram illustrating image blocks of a display area of each field to be recorded extracted by the image file data recording system and method according to the present invention.
Detailed Description
FIG. 1 is a diagram showing a hardware environment of a preferred embodiment of the image file data entry system of the present invention.
In this embodiment, the image file data entry system may be installed and operated in a server and a terminal connected in communication. As shown in fig. 1, the server may be a cloud server 1, and the terminal may be a data entry terminal 2.
The cloud server 1 may be communicatively connected to one or more data entry terminals 2, such as a data entry terminal a and a data entry terminal B, through a communication module (not shown). The data entry terminal 2 can be a personal computer, a smart phone, a tablet computer and other devices.
The cloud server 1 and the data entry terminal 2 may include a processor and a storage device (not shown). The processors are a compute Unit (Core Unit) and a Control Unit (Control Unit) for interpreting computer instructions and processing data in computer software. The storage device may be one or more non-volatile Memory units, such as ROM, EPROM or Flash Memory, etc. The storage device can be built in or externally connected with the cloud server 1 and/or the data entry terminal 2.
In this embodiment, the image file data entry system may include an image file data processing system 10 installed in the cloud server 1 and a data entry system 20 installed in each data entry terminal 2.
In this embodiment, the image file data entry system may be a computer software, which includes a program instruction code executable by a computer, and the program instruction code may be stored in the storage device, and when executed by the processor, the following functions are implemented:
the cloud server 1 receives image files to be subjected to data entry, such as an application form for insuring, an information form for insuring clients and the like; and determining the configuration file 11 corresponding to the received image file according to the mapping relationship between the preset image file attribute data and the configuration file 11 pre-stored in the cloud server 1. The image file attribute data includes attribute name data such as an application form of application for insurance, a data form of client for insurance, and the like. The configuration file comprises the name of each field to be recorded in the image file and the pixel coordinate of the display area corresponding to the name of each field to be recorded. Referring to the exemplary image file data shown in fig. 6, the name of each field to be entered includes name, gender, identification number, etc., and the display area corresponding to the name of the field to be entered includes, for example, the display area in the image file data including "name" and "zhangsan", and the display area in the image file data including "gender" and "male", etc. The pixel coordinates of the display area may be, for example, as shown in fig. 7, the abscissa of the pixel coordinates is from a pixel to B pixel area, and the ordinate is from C pixel to D pixel area, i.e., the display image area image block B.
Further, the cloud server 1 acquires the determined configuration file, and extracts display area image blocks of each field to be input from the received image file according to the configuration file; and according to a preset grouping rule, grouping the extracted display area image blocks of each field to be input to generate a plurality of display area image block sets of the fields to be input. The preset grouping rule is as follows: grouping according to the vertical coordinate pixels in the pixel coordinates; the first grouping is assigned if the ordinate pixel belongs to a first pixel interval (0, C), C is a positive integer, the second grouping is assigned if the ordinate pixel belongs to a second pixel interval (C, D), C is smaller than D, C and D are both positive integers, the third grouping is assigned if the ordinate pixel belongs to a third pixel interval (D, E), D is smaller than E, D and E are both positive integers, the fourth grouping is assigned if the ordinate pixel belongs to a fourth pixel interval (E, + ∞), etc.
Further, the cloud server 1 determines the data entry terminal 2 corresponding to the display area image block set of each field to be entered according to a preset allocation rule. Wherein the preset allocation rule is as follows: the first packet data corresponds to one or more first data entry terminals 2; the second grouped data corresponds to one or more second data entry terminals 2; the third packet data corresponds to one or more third data entry terminals 2; the fourth packet of data corresponds to one or more fourth data entry terminals 2 or the like.
Further, the cloud server 1 sends the set of display area image blocks of the field to be input to the corresponding data input terminals 2, so that each data input terminal 2 executes a part of image data input operation. In this embodiment, the following description may be referred to for a part of the image data entry operation performed by each data entry terminal 2.
Further, the cloud server 1 receives the image data entry data and the corresponding image data entry frame name fields sent by each data entry terminal 2; and filling the image data entry data into each field frame of an entry interface corresponding to the received image file according to the name field to generate a complete information file.
Each data entry terminal 2 receives the image block set of the display area of the field to be entered, and generates a graph formed by each image data entry frame according to a preset graph generation rule after receiving an image data entry instruction sent by a user. For example, the user can send the image data entry instruction by clicking the image data entry system 20 on the desktop of the operation data entry terminal 2. In this embodiment, the graphics include, for example, a tree-shaped graphic composed of image data entry frames, or a flow graphic composed of image data entry frames, where the image data entry frames correspond to the received image blocks in the display area of the field to be entered one by one. The preset pattern generation rule includes, for example, under the condition that the vertical coordinates of the pixel coordinates corresponding to the display area image blocks of the fields to be recorded are the same, if the horizontal coordinate pixels of the pixel coordinates are greater than a preset pixel threshold value, displaying the image data recording frame corresponding to the display area image blocks of the fields to be recorded on the right half part of the tree-shaped pattern, and if the horizontal coordinate pixels of the pixel coordinates are less than or equal to the preset pixel threshold value, displaying the image data recording frame corresponding to the display area image blocks of the fields to be recorded on the left half part of the tree-shaped pattern; and sequencing the display area image blocks of the fields to be recorded according to the descending order of the vertical coordinate pixels of the corresponding pixel coordinates, and displaying the image data recording frames corresponding to the display area image blocks of the fields to be recorded according to the corresponding descending order of the image data recording frames and the longitudinal ascending relation of the tree-shaped graph.
In each data entry terminal 2, when an image data entry frame in a generated image is selected, if the image data entry frame in the generated image contains an input indication cursor, an image block of a display image area of a field to be entered corresponding to the selected image data entry frame is matched, for example, when a user clicks a left mouse button in the image data entry frame in the generated image, the input indication cursor for performing input indication falls into the entry frame; displaying the matched display area image block of the field to be recorded at a preset position of the selected image data recording frame, for example, above or below the image data recording frame or in the area of the image data recording frame; and receiving the input operation of the user in the image data entry frame containing the input indication cursor.
When all the image data entry frames in the generated graph have input data, the data entry terminal 2 sends the data in each image data entry frame and the corresponding image data entry frame name field to the cloud server 1 after receiving an entry data submission instruction sent by a user.
Fig. 2 is a functional block diagram of the image file data entry system installed on the cloud server according to the preferred embodiment of the present invention.
The program code of the image file data processing system 10 installed at the cloud server 1 may be divided into a plurality of functional modules according to different functions. In the preferred embodiment of the present invention, the image file data processing system 10 may include a file receiving module 100, a mapping module 101, an image dividing module 102, a grouping module 103, a distributing module 104 and a data entry module 105.
The file receiving module 100 is used for receiving image files to be subjected to data entry, such as an application form for insurance application, an information form for insurance clients, and the like.
The mapping module 101 is configured to determine a configuration file 11 corresponding to the received image file according to a mapping relationship between preset image file attribute data and a configuration file 11 pre-stored in the cloud server 1. The image file attribute data includes attribute name data such as an application form of application for insurance, a data form of client for insurance, and the like. The configuration file comprises the name of each field to be recorded in the image file and the pixel coordinate of the display area corresponding to the name of each field to be recorded. Referring to the exemplary image file data shown in fig. 6, the name of each field to be entered includes name, gender, identification number, etc., and the display area corresponding to the name of the field to be entered includes, for example, the display area in the image file data including "name" and "zhangsan", and the display area in the image file data including "gender" and "male", etc. The pixel coordinates of the display area may be, for example, as shown in fig. 7, the abscissa of the pixel coordinates is from a pixel to B pixel area, and the ordinate is from C pixel to D pixel area, i.e., the display image area image block B.
The image segmentation module 102 is configured to obtain the determined configuration file, and extract, according to the configuration file, display area image blocks of each field to be entered from the received image file.
The grouping module 103 is configured to group the extracted display area image blocks of each field to be entered according to a preset grouping rule, and generate a plurality of display area image block sets of the fields to be entered. The preset grouping rule is as follows: grouping according to the vertical coordinate pixels in the pixel coordinates; the first grouping is assigned if the ordinate pixel belongs to a first pixel interval (0, C), C is a positive integer, the second grouping is assigned if the ordinate pixel belongs to a second pixel interval (C, D), C is smaller than D, C and D are both positive integers, the third grouping is assigned if the ordinate pixel belongs to a third pixel interval (D, E), D is smaller than E, D and E are both positive integers, the fourth grouping is assigned if the ordinate pixel belongs to a fourth pixel interval (E, + ∞), etc.
The distribution module 104 is configured to determine, according to a preset distribution rule, the data entry terminal 2 corresponding to the set of image blocks in the display area of each field to be entered. Wherein the preset allocation rule is as follows: the first packet data corresponds to one or more first data entry terminals 2; the second grouped data corresponds to one or more second data entry terminals 2; the third packet data corresponds to one or more third data entry terminals 2; the fourth packet of data corresponds to one or more fourth data entry terminals 2 or the like.
The data entry module 105 is configured to send the set of image blocks in the display area of the field to be entered to the corresponding data entry terminals 2, so that each data entry terminal 2 executes a part of image data entry operation, receive image data entry data and a name field of a corresponding image data entry frame sent by each data entry terminal 2, and fill the image data entry data into each field frame of an entry interface corresponding to the received image file according to the name field to generate a complete information file.
FIG. 3 is a block diagram of the function modules installed in the terminal of the preferred embodiment of the image file data entry system of the present invention.
The program code of the data entry system 20 installed in each data entry terminal 2 may be divided into a plurality of functional modules according to their different functions. In the preferred embodiment of the present invention, the image file data processing system 10 may include a data receiving module 200, a graph generating module 201, a matching module 202, a display module 203, an input module 204, and a transmitting module 205.
The data receiving module 200 is configured to receive a set of display area image blocks of a field to be entered, which is sent by the cloud server 1.
The graph generating module 201 is configured to generate a graph composed of image data entry frames according to a preset graph generating rule after receiving an image data entry instruction sent by a user. For example, the user can send the image data entry instruction by clicking the image data entry system 20 on the desktop of the operation data entry terminal 2. In this embodiment, the graphics include, for example, a tree-shaped graphic composed of image data entry frames, or a flow graphic composed of image data entry frames, where the image data entry frames correspond to the received image blocks in the display area of the field to be entered one by one. The preset pattern generation rule includes, for example, under the condition that the vertical coordinates of the pixel coordinates corresponding to the display area image blocks of the fields to be recorded are the same, if the horizontal coordinate pixels of the pixel coordinates are greater than a preset pixel threshold value, displaying the image data recording frame corresponding to the display area image blocks of the fields to be recorded on the right half part of the tree-shaped pattern, and if the horizontal coordinate pixels of the pixel coordinates are less than or equal to the preset pixel threshold value, displaying the image data recording frame corresponding to the display area image blocks of the fields to be recorded on the left half part of the tree-shaped pattern; and sequencing the display area image blocks of the fields to be recorded according to the descending order of the vertical coordinate pixels of the corresponding pixel coordinates, and displaying the image data recording frames corresponding to the display area image blocks of the fields to be recorded according to the corresponding descending order of the image data recording frames and the longitudinal ascending relation of the tree-shaped graph.
The matching module 202 is configured to match a display image area image block of a field to be input, which corresponds to the image data entry frame containing the input indication cursor, when an image data entry frame in the generated image is selected, if the image data entry frame in the generated image contains the input indication cursor, for example, when a user clicks a left mouse button in the image data entry frame in the generated image, an input indication cursor for performing input indication may fall into the entry frame.
The display module 203 is configured to display the matched image block of the display area of the field to be entered at a preset position of the selected image data entry frame, for example, above or below the image data entry frame, or in an area of the image data entry frame, so that a user can perform an input operation in the image data entry frame by comparing the displayed image block of the display area of the field to be entered.
The input module 204 is configured to receive an input operation of a user in the image data entry box containing the input indication cursor.
The transmission module 205 is configured to, when data has been input into all the image data entry frames in the generated graph, send the data in each image data entry frame and the corresponding image data entry frame name field to the cloud server 1 after receiving an entry data submission instruction sent by a user.
Fig. 4 is a flowchart illustrating an implementation of a method executed by the cloud server in the preferred embodiment of the image file data entry method of the invention. The method for inputting image file data in this embodiment is not limited to the steps shown in the flowchart, and in addition, some steps may be omitted and the sequence between the steps may be changed.
In step S10, the document receiving module 100 receives the image document to be recorded, such as the application form and the customer data form.
In step S11, the mapping module 101 determines the configuration file 11 corresponding to the received image file according to the mapping relationship between the preset image file attribute data and the configuration file 11 pre-stored in the cloud server 1. The image file attribute data includes attribute name data such as an application form of application for insurance, a data form of client for insurance, and the like. The configuration file comprises the name of each field to be recorded in the image file and the pixel coordinate of the display area corresponding to the name of each field to be recorded. Referring to the exemplary image file data shown in fig. 6, the name of each field to be entered includes name, gender, identification number, etc., and the display area corresponding to the name of the field to be entered includes, for example, the display area in the image file data including "name" and "zhangsan", and the display area in the image file data including "gender" and "male", etc. The pixel coordinates of the display area may be, for example, as shown in fig. 7, the abscissa of the pixel coordinates is from a pixel to B pixel area, and the ordinate is from C pixel to D pixel area, i.e., the display image area image block B.
In step S12, the image segmentation module 102 obtains the determined configuration file, and extracts the image blocks of the display area of each field to be entered from the received image file according to the configuration file.
Step S13, the grouping module 103 groups the extracted display area image blocks of each field to be entered according to a preset grouping rule, and generates a plurality of display area image block sets of the fields to be entered. The preset grouping rule is as follows: grouping according to the vertical coordinate pixels in the pixel coordinates; the first grouping is assigned if the ordinate pixel belongs to a first pixel interval (0, C), C is a positive integer, the second grouping is assigned if the ordinate pixel belongs to a second pixel interval (C, D), C is smaller than D, C and D are both positive integers, the third grouping is assigned if the ordinate pixel belongs to a third pixel interval (D, E), D is smaller than E, D and E are both positive integers, the fourth grouping is assigned if the ordinate pixel belongs to a fourth pixel interval (E, + ∞), etc.
In step S14, the distribution module 104 determines the data entry terminal 2 corresponding to the display area image block set of each field to be entered according to the preset distribution rule. Wherein the preset allocation rule is as follows: the first packet data corresponds to one or more first data entry terminals 2; the second grouped data corresponds to one or more second data entry terminals 2; the third packet data corresponds to one or more third data entry terminals 2; the fourth packet of data corresponds to one or more fourth data entry terminals 2 or the like.
In step S15, the data entry module 105 sends the set of image blocks in the display area of the field to be entered to the corresponding data entry terminals 2, so that each data entry terminal 2 executes a part of the image data entry operation.
In step S16, the data entry module 105 receives the image data entry data and the corresponding image data entry frame name field sent by each data entry terminal 2.
In step S17, the data entry module 105 fills the image data entry data into each field frame of the entry interface corresponding to the received image file according to the name field, and generates a complete information file.
FIG. 5 is a flowchart illustrating a method executed by the terminal according to a preferred embodiment of the image file data entry method of the present invention. The method for inputting image file data in this embodiment is not limited to the steps shown in the flowchart, and in addition, some steps may be omitted and the sequence between the steps may be changed.
In step S20, the data receiving module 200 receives the set of display area image blocks of the field to be entered sent by the cloud server 1.
In step S21, after receiving the image data entry command sent by the user, the graphics generation module 201 generates a graphic composed of the image data entry frames according to the preset graphics generation rule. For example, the user can send the image data entry instruction by clicking the image data entry system 20 on the desktop of the operation data entry terminal 2. In this embodiment, the graphics include, for example, a tree-shaped graphic composed of image data entry frames, or a flow graphic composed of image data entry frames, where the image data entry frames correspond to the received image blocks in the display area of the field to be entered one by one. The preset pattern generation rule includes, for example, if an abscissa pixel of a pixel coordinate corresponding to a display area image block of a field to be entered is greater than a preset pixel threshold, displaying an image data entry frame corresponding to the display area image block of the field to be entered on a right half part of the tree-shaped pattern; if the abscissa pixel of the pixel coordinate corresponding to the image block of the display area of the field to be recorded is less than or equal to the preset pixel threshold value, displaying an image data recording frame corresponding to the image block of the display area of the field to be recorded on the left half part of the tree-shaped graph; and sequencing the display area image blocks of the fields to be recorded according to the descending order of the vertical coordinate pixels of the corresponding pixel coordinates, and displaying the image data recording frames corresponding to the display area image blocks of the fields to be recorded according to the corresponding descending order of the image data recording frames and the longitudinal ascending relation of the tree-shaped graph.
Step S22, when an image data entry box in the generated image is selected, if the image data entry box in the generated image contains an input indication cursor, the matching module 202 matches the image block of the image area to be entered in the field corresponding to the image data entry box containing the input indication cursor, for example, when the user clicks a left mouse button in the image data entry box in the generated image, the input indication cursor for performing input indication falls into the entry box.
In step S23, the display module 203 displays the matched image block of the display area of the field to be entered at a preset position of the selected image data entry frame, for example, above or below the image data entry frame, or in the area of the image data entry frame, so that the user can perform an input operation in the image data entry frame by referring to the displayed image block of the display area of the field to be entered.
In step S24, the input module 204 receives an input operation of the user in the image data entry box containing the input indication cursor.
In step S25, the sending module 205 determines whether all image data entry boxes in the generated graph have been input with data.
When no data is input to any of the image data entry frames in the generated graphic, the process returns to step S22. When all the image data entry frames in the generated graph have input data, step S26 is executed, and the transmitting module 205 sends the data in each image data entry frame and the corresponding image data entry frame name field to the cloud server 1 after receiving an entry data submission instruction sent by the user.
Finally, it should be noted that the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, and although the present invention is described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made on the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims (6)

1. An image file data entry method, the method comprising:
the method comprises the steps that a cloud server receives an image file to be subjected to data entry, determines a configuration file corresponding to the received image file, wherein the configuration file comprises the name of each field to be entered in the image file and the pixel coordinate of a display area corresponding to the name of each field to be entered, and extracts the image block of the display area of each field to be entered from the received image file according to the configuration file;
the cloud server groups the extracted display area image blocks of each field to be input, generates a plurality of display area image block sets of the fields to be input, determines a data input terminal corresponding to the display area image block set of each field to be input according to a preset allocation rule, and sends the display area image block sets of the fields to be input to the corresponding data input terminals;
each data entry terminal generates a graph consisting of image data entry frames according to a preset graph generation rule, matches a display image area image block of a field to be entered corresponding to the selected image data entry frame, and displays the matched display area image block of the field to be entered at a preset position of the selected image data entry frame, wherein the preset graph generation rule comprises that if an abscissa pixel of a pixel coordinate corresponding to the display area image block of the field to be entered is greater than a preset pixel threshold value, the image entry data frame corresponding to the display area image block of the field to be entered is displayed on the right half part of the tree-shaped graph; if the abscissa pixel of the pixel coordinate corresponding to the image block of the display area of the field to be recorded is less than or equal to the preset pixel threshold value, displaying an image data recording frame corresponding to the image block of the display area of the field to be recorded on the left half part of the tree-shaped graph; sorting the display area image blocks of the fields to be recorded according to the descending order of the vertical coordinate pixels of the corresponding pixel coordinates, and displaying the image data recording frames corresponding to the display area image blocks of the fields to be recorded according to the corresponding descending order and the longitudinal ascending relation of the tree-shaped graph;
the data entry terminal receives input operation of a user in the selected image data entry frame, and when all the image data entry frames in the generated graph input data, the data in each image data entry frame and the corresponding image data entry frame name field are sent to the cloud server; and
the cloud server receives image data entry data sent by each data entry terminal and corresponding image data entry frame name fields, and fills the image data entry data into each field frame of an entry interface corresponding to the received image file according to the name fields to generate a complete information file.
2. The method of claim 1, wherein the preset grouping rule is: the method includes the steps of dividing a pixel coordinate into a first group if an ordinate pixel in the pixel coordinate belongs to a first pixel interval (0, C), wherein C is a positive integer, dividing into a second group if the ordinate pixel belongs to a second pixel interval (C, D), wherein C is smaller than D, and C and D are both positive integers, dividing into a third group if the ordinate pixel belongs to a third pixel interval (D, E), wherein D is smaller than E, and D and E are both positive integers, and dividing into a fourth group if the ordinate pixel belongs to a fourth pixel interval (E, plus infinity).
3. The method as claimed in claim 1, wherein when the user performs a left mouse click operation on the image material entry box in the generated graphic, an input indication cursor for performing input indication falls into the entry box, which is the selected entry box.
4. A cloud server adapted for use in the method of any one of claims 1 to 3, wherein the cloud server comprises a storage device and a processor, wherein:
the storage device to store one or more programs;
the processor is used for calling and executing the one or more programs so as to execute the following steps:
receiving an image file to be subjected to data entry;
determining a configuration file corresponding to the received image file according to a mapping relation between preset image file attribute data and a configuration file stored in a cloud server in advance, wherein the configuration file comprises the name of each field to be input in the image file and the pixel coordinate of a display area corresponding to the name of each field to be input;
according to the configuration file, extracting display area image blocks of each field to be recorded from the received image file;
according to a preset grouping rule, grouping the extracted display area image blocks of each field to be input to generate a plurality of display area image block sets of the fields to be input;
determining a data entry terminal corresponding to the display area image block set of each field to be entered according to a preset allocation rule, and sending the display area image block set of the field to be entered to the corresponding data entry terminal;
receiving image data entry data sent by each data entry terminal and corresponding image data entry frame name fields; and
and filling the image data entry data into each field frame of an entry interface corresponding to the received image file according to the name field to generate a complete information file.
5. The cloud server of claim 4, wherein the preset grouping rule is: the method includes the steps of dividing a pixel coordinate into a first group if an ordinate pixel in the pixel coordinate belongs to a first pixel interval (0, C), wherein C is a positive integer, dividing into a second group if the ordinate pixel belongs to a second pixel interval (C, D), wherein C is smaller than D, and C and D are both positive integers, dividing into a third group if the ordinate pixel belongs to a third pixel interval (D, E), wherein D is smaller than E, and D and E are both positive integers, and dividing into a fourth group if the ordinate pixel belongs to a fourth pixel interval (E, plus infinity).
6. A terminal adapted to use the method of any one of claims 1 to 3, the terminal comprising a storage device and a processor, wherein:
the storage device to store one or more programs;
the processor is used for calling and executing the one or more programs so as to execute the following steps:
receiving a display area image block set of a field to be input, which is sent by a cloud server;
generating a graph consisting of image data entry frames according to a preset graph generation rule, wherein the preset graph generation rule comprises that if an abscissa pixel of a pixel coordinate corresponding to a display area image block of a field to be entered is larger than a preset pixel threshold value, the image data entry frame corresponding to the display area image block of the field to be entered is displayed on the right half part of the tree-shaped graph; if the abscissa pixel of the pixel coordinate corresponding to the image block of the display area of the field to be recorded is less than or equal to the preset pixel threshold value, displaying an image data recording frame corresponding to the image block of the display area of the field to be recorded on the left half part of the tree-shaped graph; sorting the display area image blocks of the fields to be recorded according to the descending order of the vertical coordinate pixels of the corresponding pixel coordinates, and displaying the image data recording frames corresponding to the display area image blocks of the fields to be recorded according to the corresponding descending order and the longitudinal ascending relation of the tree-shaped graph;
when an image data entry frame is selected from the generated graph, matching an image block of a display image area of a field to be entered corresponding to the selected image data entry frame;
displaying the matched display area image block of the field to be recorded at the preset position of the selected image data recording frame;
receiving the input operation of a user in the selected image data entry frame; and
and when all the image data input frames in the generated graph have input data, sending the data in each image data input frame and the corresponding image data input frame name fields to the cloud server.
CN201610203608.3A 2016-04-01 2016-04-01 Image file data entry method, cloud server and terminal Active CN107295357B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610203608.3A CN107295357B (en) 2016-04-01 2016-04-01 Image file data entry method, cloud server and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610203608.3A CN107295357B (en) 2016-04-01 2016-04-01 Image file data entry method, cloud server and terminal

Publications (2)

Publication Number Publication Date
CN107295357A CN107295357A (en) 2017-10-24
CN107295357B true CN107295357B (en) 2021-03-16

Family

ID=60088173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610203608.3A Active CN107295357B (en) 2016-04-01 2016-04-01 Image file data entry method, cloud server and terminal

Country Status (1)

Country Link
CN (1) CN107295357B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1265499A (en) * 1999-03-01 2000-09-06 株式会社日立制作所 Bill processing method and system
CN1504917A (en) * 2002-11-29 2004-06-16 和平整合资讯股份有限公司 Focus automatically fixing system and method for images
CN102567418A (en) * 2010-12-23 2012-07-11 北大方正集团有限公司 Methods and devices for integrating and searching data
CN102955834A (en) * 2011-08-31 2013-03-06 上海夏尔软件有限公司 Precise image splitting method based on bar code position identification
CN104077682A (en) * 2014-06-30 2014-10-01 昆山云景网络科技有限公司 Document data entry method based on OCR and task fragmentization
CN105095842A (en) * 2014-05-22 2015-11-25 阿里巴巴集团控股有限公司 Method and device for identifying information of bill

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2656573C2 (en) * 2014-06-25 2018-06-05 Общество с ограниченной ответственностью "Аби Девелопмент" Methods of detecting the user-integrated check marks

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1265499A (en) * 1999-03-01 2000-09-06 株式会社日立制作所 Bill processing method and system
CN1504917A (en) * 2002-11-29 2004-06-16 和平整合资讯股份有限公司 Focus automatically fixing system and method for images
CN102567418A (en) * 2010-12-23 2012-07-11 北大方正集团有限公司 Methods and devices for integrating and searching data
CN102955834A (en) * 2011-08-31 2013-03-06 上海夏尔软件有限公司 Precise image splitting method based on bar code position identification
CN105095842A (en) * 2014-05-22 2015-11-25 阿里巴巴集团控股有限公司 Method and device for identifying information of bill
CN104077682A (en) * 2014-06-30 2014-10-01 昆山云景网络科技有限公司 Document data entry method based on OCR and task fragmentization

Also Published As

Publication number Publication date
CN107295357A (en) 2017-10-24

Similar Documents

Publication Publication Date Title
CN110659569A (en) Electronic signature method, device, storage medium and electronic equipment
CN108280051A (en) Detection method, device and the equipment of error character in a kind of text data
CN111402120A (en) Method and device for processing annotated image
CN111625567A (en) Data model matching method, device, computer system and readable storage medium
CN112528610A (en) Data labeling method and device, electronic equipment and storage medium
CN107295357B (en) Image file data entry method, cloud server and terminal
CN110781378B (en) Data graphical processing method and device, computer equipment and storage medium
CN109271122B (en) File display method, device and equipment based on double display screens
CN114186540A (en) Mail content intelligent filling method and device, electronic equipment and storage medium
CN109949090B (en) Client recommendation method and device, electronic equipment and medium
CN113239889A (en) Image recognition method, device, equipment, storage medium and computer program product
CN113723090A (en) Position data acquisition method and device, electronic equipment and storage medium
CN114049686A (en) Signature recognition model training method and device and electronic equipment
CN113742501A (en) Information extraction method, device, equipment and medium
CN113592981A (en) Picture labeling method and device, electronic equipment and storage medium
CN113377476A (en) Interface display method, related device and computer program product
CN112583900A (en) Data processing method for cloud computing and related product
CN111737372A (en) Map data generation method and device
CN112308074A (en) Method and device for generating thumbnail
CN112835876A (en) Face file duplication removing method and related equipment
US20180012383A1 (en) Display information generation system, method, and computer program product
CN107305610B (en) Access path processing method and device, and automaton identification method, device and system
CN112801030B (en) Target text region positioning method and device
CN111858542B (en) Data processing method, device, equipment and computer readable storage medium
CN114327517B (en) Software-driven implementation method and system

Legal Events

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