CN110018773B - Number writing method, system, device and readable storage medium - Google Patents
Number writing method, system, device and readable storage medium Download PDFInfo
- Publication number
- CN110018773B CN110018773B CN201910260195.6A CN201910260195A CN110018773B CN 110018773 B CN110018773 B CN 110018773B CN 201910260195 A CN201910260195 A CN 201910260195A CN 110018773 B CN110018773 B CN 110018773B
- Authority
- CN
- China
- Prior art keywords
- number writing
- preset
- software
- picture
- preset area
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F18/00—Pattern recognition
- G06F18/20—Analysing
- G06F18/22—Matching criteria, e.g. proximity measures
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input 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/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0484—Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- Life Sciences & Earth Sciences (AREA)
- Human Computer Interaction (AREA)
- Bioinformatics & Cheminformatics (AREA)
- Bioinformatics & Computational Biology (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Biology (AREA)
- Evolutionary Computation (AREA)
- Debugging And Monitoring (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a number writing method, which comprises the following steps: acquiring access information of a terminal to be numbered; running number writing software according to access information of a terminal and running screen capture analysis software to continuously screen capture a preset area of the number writing software, wherein the preset area displays number writing state information; analyzing the characteristic value of the intercepted picture; matching the feature value of the intercepted picture with a preset feature value, wherein the preset feature value is the picture feature value when the corresponding number writing state information is displayed in the preset area; and if the characteristic value of the intercepted picture is matched with the corresponding preset characteristic value, sending corresponding result information to a controller. In addition, the invention also discloses a number writing system, a number writing device and a readable storage medium. The invention can be matched with automatic equipment to realize automatic number writing operation, thereby improving the number writing operation efficiency and reducing the number writing operation cost.
Description
Technical Field
The invention relates to the technical field of number writing of intelligent terminals, in particular to a number writing method, a number writing system, a number writing device and a readable storage medium.
Background
The existing number writing work station in a factory is manually fed, a mouse is required to click a 'start' button on a number writing tool software interface after the feeding is finished, and the number writing tool software starts a number writing process. The labor cost rises year by year, and the mobile phone number writing work station needs to realize automatic feeding, discharging and number writing so as to achieve the effect of people reduction and improvement. However, the number writing tool software is developed under the background of manual use, and the number writing state information cannot be output, so that the number writing tool software cannot be produced by matching with automation equipment, and the number writing operation efficiency is low and the cost is high.
Disclosure of Invention
The invention aims to provide a number writing method, a number writing system, a number writing device and a readable storage medium, which can be matched with automation equipment to realize automatic number writing operation, improve the number writing operation efficiency and reduce the number writing operation cost.
In order to achieve the above object, the present invention provides a number writing method, including:
acquiring access information of a terminal to be numbered;
running number writing software according to access information of a terminal and running screen capture analysis software to continuously screen capture a preset area of the number writing software, wherein the preset area displays number writing state information;
analyzing the characteristic value of the intercepted picture;
matching the feature value of the intercepted picture with a preset feature value, wherein the preset feature value is the picture feature value when the corresponding number writing state information is displayed in the preset area; and
and if the characteristic value of the intercepted picture is matched with the corresponding preset characteristic value, sending corresponding result information to a controller.
Preferably, the number writing state information includes number writing success information and number writing failure information.
Preferably, the number writing status information further includes terminal connection error information.
Preferably, before the "acquiring the access information of the terminal to be numbered", the screen capture analysis software further executes:
when the number writing software is opened, intercepting the whole screen and acquiring the coordinate value of a window angle of a window of the number writing software close to the screen origin and the window size;
positioning the intercepted screen picture to enable one corner of the intercepted screen picture to be positioned at the original point of the screen;
intercepting the preset area and acquiring the coordinates of an area angle of the preset area, which is close to the window angle of the number writing software, and the area size;
acquiring the relative coordinates of the area angle of the preset area relative to the window body angle of the number writing software;
and respectively intercepting the picture when the preset area displays the status information of each writing number and extracting the corresponding picture characteristic value as a preset characteristic value.
Preferably, before "continuously capturing the preset area of the number writing software", the method further includes:
positioning a form of the number writing software so that the form angle is positioned at the original point of the screen;
and continuously capturing the preset area of the number writing software according to the area size and the relative coordinate of the area angle of the preset area relative to the window body angle of the number writing software.
In order to achieve the above object, the present invention further provides a number writing system, including:
the acquisition module is used for acquiring the access information of the terminal to be numbered;
the operation module is used for operating number writing software according to the access information of the terminal and operating screen capture analysis software to continuously capture the screen of a preset area of the number writing software, wherein the preset area displays the number writing state information;
the analysis module is used for analyzing the characteristic value of the intercepted picture;
the matching module is used for matching the feature value of the intercepted picture with a preset feature value, wherein the preset feature value is the picture feature value when the corresponding number writing state information is displayed in the preset area; and
and the sending module is used for sending corresponding result information to the controller if the characteristic value of the intercepted picture is matched with the corresponding preset characteristic value.
In order to achieve the above object, the present invention further provides a number writing device, including:
a processor;
a memory for storing one or more programs which, when executed by said processor, cause said processor to implement the number writing method as described above.
To achieve the above object, the present invention also provides a readable storage medium having a program stored thereon, which when executed by a processor implements the number writing method as described above.
Compared with the prior art, the method and the device have the advantages that continuous screenshot is carried out on the preset area of the number writing software displaying the number writing state information, the characteristic value of the intercepted picture is matched with the preset characteristic value, and if the characteristic value of the intercepted picture is matched with the corresponding preset characteristic value, the corresponding result information is sent to the controller of the automation equipment; therefore, the number writing software can be matched with automatic equipment to realize automatic number writing under the action of screenshot analysis software, the number writing operation efficiency is effectively improved, and the number writing operation cost is reduced.
Drawings
Fig. 1 is a flowchart of a number writing method according to an embodiment of the present invention.
Fig. 2 is a schematic diagram of a screen, a form of number writing software, and a preset area when screenshot setting is performed according to an embodiment of the present invention.
Fig. 3 is a schematic diagram of a screen, a window of number writing software, and a preset area for performing normal screenshot operation according to an embodiment of the present invention.
Fig. 4 is a block diagram of the number writing system according to the embodiment of the present invention.
Fig. 5 is a block diagram of a number writing device according to an embodiment of the present invention.
Detailed Description
The following detailed description is given with reference to the accompanying drawings for illustrating the contents, structural features, and objects and effects of the present invention.
Referring to fig. 1, the present invention discloses a number writing method, which includes:
101. acquiring access information of a terminal to be numbered;
102. running number writing software according to the access information of the terminal and running screen capture analysis software to continuously screen capture a preset area of the number writing software, wherein the preset area displays number writing state information;
103. analyzing the characteristic value of the intercepted picture;
104. matching the feature value of the intercepted picture with a preset feature value, wherein the preset feature value is the picture feature value when the corresponding number writing state information is displayed in a preset area; and
105. and if the feature value of the intercepted picture is matched with the corresponding preset feature value, sending corresponding result information to the controller.
The method comprises the steps of continuously screenshot in a preset area of number writing software displaying number writing state information, matching a feature value of an intercepted picture with a preset feature value, and sending corresponding result information to a controller of automation equipment if the feature value of the intercepted picture is matched with the corresponding preset feature value; therefore, the number writing software can be matched with automatic equipment to realize automatic number writing under the action of screenshot analysis software, the number writing operation efficiency is effectively improved, and the number writing operation cost is reduced.
In some embodiments, the number writing status information includes number writing success information and number writing failure information; by sending result information representing number writing success information or number writing failure information to the controller of the automation equipment, the automation equipment can perform different operations on the terminal according to the result information, for example, the terminal is respectively transferred to a defective product line body or a good product line body. The number writing success information and the number writing failure information may be displayed in various forms, for example, english letters "Pass" and "Fail", and may be green and red.
In some embodiments, the number writing status information further includes terminal connection error information; when the controller receives the corresponding result information, the automation device can perform a re-access operation of the terminal.
Referring to fig. 2, in some embodiments, before "acquiring access information of a terminal to be numbered", the screen capture analysis software further performs:
intercepting the whole screen when the number writing software is opened and obtaining the coordinate value (X) of the window angle of the window body of the number writing software close to the screen origin (0, 0)1,Y1) And window size (W)1,H1) (ii) a The screen origin (0, 0) here can be defined as any corner point of the screen;
positioning the intercepted screen picture to enable an angle of the intercepted screen picture to be positioned at the screen origin (0, 0);
intercepting the preset area and obtaining the coordinates (X) of the area angle of the preset area close to the window angle of the number writing software21,Y21) And area size (H)2,W2) (ii) a The region size is specifically calculated as (H)2=|Y22-Y21|,W2=|X22-X21I) in which X is22And Y22Coordinates of an angle of a preset area, which is diagonal to the area angle;
obtaining the relative coordinate (X) of the window body angle of the area angle relative writing number software of the preset area2=X21-X1,Y2=Y21-Y1);
And respectively intercepting the picture when the preset area displays each writing state information and extracting the corresponding picture characteristic value as the preset characteristic value.
Through the design, the preset area can be quickly positioned conveniently during subsequent screenshot of the preset area.
In a specific embodiment, the origin of the screen is the right vertex of the screen, but not limited thereto.
Referring to fig. 3, in some embodiments, before "continuously capturing the preset area of the number writing software", the method further includes:
positioning a form of the number writing software so that the form angle is positioned at the screen origin (0, 0);
according to the area size (H)2,W2) And the relative coordinates (X) of the region angle of the preset region relative to the window body angle of the number writing software2,Y2) And continuously screenshot the preset area of the number writing software.
Through the design, the preset area can be quickly positioned when the screenshot is performed on the preset area.
Referring to fig. 4, the present invention also discloses a number writing system, which includes:
an obtaining module 201, configured to obtain access information of a terminal to which a number is to be written;
the running module 202 is used for running the number writing software according to the access information of the terminal and running the screen capture analysis software to continuously capture the screen capture of the preset area of the number writing software, and the preset area displays the number writing state information;
the analysis module 203 is used for analyzing the feature value of the intercepted picture;
the matching module 204 is configured to match the feature value of the captured picture with a preset feature value, where the preset feature value is a picture feature value when the corresponding number writing state information is displayed in a preset region; and
a sending module 205, configured to send corresponding result information to the controller if the feature value of the captured picture matches the corresponding preset feature value.
Referring to fig. 5, the present invention also discloses a number writing device, including:
a processor 1;
the memory 2 is used for storing one or more programs, and when the one or more programs are executed by the processor 1, the processor 1 realizes the number writing method.
In addition, the present invention also provides a readable storage medium on which a program is stored, the program implementing the number writing method as described above when executed by a processor.
The above disclosure is only a preferred embodiment of the present invention, which is convenient for those skilled in the art to understand and implement, and certainly not to limit the scope of the present invention, therefore, the present invention is not limited by the claims and their equivalents.
Claims (6)
1. A method for writing a number, comprising:
acquiring access information of a terminal to be numbered;
running number writing software according to access information of a terminal and running screen capture analysis software to continuously screen capture a preset area of the number writing software, wherein the preset area displays number writing state information;
analyzing the characteristic value of the intercepted picture;
matching the feature value of the intercepted picture with a preset feature value, wherein the preset feature value is the picture feature value when the corresponding number writing state information is displayed in the preset area; and
if the feature value of the intercepted picture is matched with the corresponding preset feature value, sending corresponding result information to a controller;
before the access information of the terminal to be numbered is acquired, the screen capture analysis software further executes:
when the number writing software is opened, intercepting the whole screen and acquiring the coordinate value of a window angle of a window of the number writing software close to the screen origin and the window size;
positioning the intercepted screen picture to enable one corner of the intercepted screen picture to be positioned at the original point of the screen;
intercepting the preset area and acquiring the coordinates of an area angle of the preset area, which is close to the window angle of the number writing software, and the area size;
acquiring the relative coordinates of the area angle of the preset area relative to the window body angle of the number writing software;
and respectively intercepting the picture when the preset area displays the status information of each writing number and extracting the corresponding picture characteristic value as the preset characteristic value.
2. The number writing method according to claim 1,
the number writing state information comprises number writing success information and number writing failure information.
3. The number writing method according to claim 2,
the writing number state information also comprises terminal connection error information.
4. The number writing method according to claim 1,
before "continuously screenshot the preset area of the number writing software", the method further comprises:
positioning a form of the number writing software so that the form angle is positioned at the original point of the screen;
and continuously capturing the preset area of the number writing software according to the area size and the relative coordinate of the area angle of the preset area relative to the window body angle of the number writing software.
5. A number writing apparatus comprising:
a processor;
a memory for storing one or more programs which, when executed by the processor, cause the processor to implement the method of any of claims 1 to 4.
6. A readable storage medium on which a program is stored, the program implementing the number writing method according to any one of claims 1 to 4 when executed by a processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910260195.6A CN110018773B (en) | 2019-03-29 | 2019-03-29 | Number writing method, system, device and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910260195.6A CN110018773B (en) | 2019-03-29 | 2019-03-29 | Number writing method, system, device and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110018773A CN110018773A (en) | 2019-07-16 |
CN110018773B true CN110018773B (en) | 2020-10-13 |
Family
ID=67190471
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910260195.6A Active CN110018773B (en) | 2019-03-29 | 2019-03-29 | Number writing method, system, device and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110018773B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102323886A (en) * | 2011-05-30 | 2012-01-18 | 青岛海信移动通信技术股份有限公司 | Be used for writing the methods, devices and systems of customizing messages to the terminal |
CN105611408A (en) * | 2015-12-23 | 2016-05-25 | 深圳创维数字技术有限公司 | Set top box number writing method, set top box and set top box number writing server |
CN106878979A (en) * | 2017-03-17 | 2017-06-20 | 上海与德科技有限公司 | The number of the writing method and device of terminal |
CN109117358A (en) * | 2017-06-23 | 2019-01-01 | 百度在线网络技术(北京)有限公司 | test method and test device for electronic equipment |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP4425533B2 (en) * | 2002-09-18 | 2010-03-03 | 富士通株式会社 | Information processing apparatus, schedule input method in information processing apparatus, and schedule input program in information processing apparatus |
JP6115116B2 (en) * | 2012-12-19 | 2017-04-19 | 富士通株式会社 | Information processing apparatus, storage processing method, and program |
CN103106140A (en) * | 2013-01-24 | 2013-05-15 | Tcl集团股份有限公司 | Intelligent display device testing information display method |
-
2019
- 2019-03-29 CN CN201910260195.6A patent/CN110018773B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102323886A (en) * | 2011-05-30 | 2012-01-18 | 青岛海信移动通信技术股份有限公司 | Be used for writing the methods, devices and systems of customizing messages to the terminal |
CN105611408A (en) * | 2015-12-23 | 2016-05-25 | 深圳创维数字技术有限公司 | Set top box number writing method, set top box and set top box number writing server |
CN106878979A (en) * | 2017-03-17 | 2017-06-20 | 上海与德科技有限公司 | The number of the writing method and device of terminal |
CN109117358A (en) * | 2017-06-23 | 2019-01-01 | 百度在线网络技术(北京)有限公司 | test method and test device for electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN110018773A (en) | 2019-07-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108763086B (en) | Script recording method, terminal and computer readable storage medium based on remote true machine | |
WO2020140698A1 (en) | Table data acquisition method and apparatus, and server | |
WO2021109627A1 (en) | Defect classification method and device for small sample, and computing apparatus | |
CN107450915B (en) | Method for rapidly intercepting multi-screen long image | |
CN110766015A (en) | Answer sheet identification method, device, server, system and storage medium | |
TW202001558A (en) | Test system | |
CN105807999A (en) | Method for inputting handwritten information to display device through handwriting device | |
US20230005171A1 (en) | Visual positioning method, related apparatus and computer program product | |
CN110018773B (en) | Number writing method, system, device and readable storage medium | |
CN105389812A (en) | Computer vision-based vehicle-mounted information terminal function automatic test method | |
CN115100657A (en) | Line recognition method for characters and strip widths of electrical CAD drawing scanned graph | |
WO2020037466A1 (en) | Image matching method and visual system | |
CN103945124A (en) | Control method for intelligent camera | |
CN111160174B (en) | Network training method, head orientation recognition method, device and terminal equipment | |
CN109496284B (en) | Method for recording machining track by bitmap and numerical control equipment | |
WO2020135097A1 (en) | Method and apparatus for channel switch detection of display terminal | |
CN110334818B (en) | Method and system for automatically identifying pipeline | |
CN111933538A (en) | Method, apparatus and computer readable storage medium for wafer defect scanning | |
WO2023082440A1 (en) | Fault reproduction method and apparatus, and device and readable storage medium | |
CN107423187A (en) | A kind of screen monitor method, apparatus and system | |
CN113326819B (en) | Robot sketch drawing method and device and robot workbench | |
CN114756448A (en) | Automatic testing system and method for reduction degree of user interface | |
CN112987994A (en) | Frame selection annotation method, frame selection annotation device, electronic equipment and storage medium | |
Pan et al. | Research on functional test of mobile app based on robot | |
CN108446064B (en) | Writing whiteboard-based area saving method and device, terminal equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |