Supercharge Your Innovation With Domain-Expert AI Agents!

Method for realizing Java Applet automatic operation

An action and unified technology, applied in the field of realizing the automatic operation of JavaApplet, can solve the problems of JavaApplet can not be connected to test, can not automatically operate JavaApplet application program, etc., to achieve the effect of improving work efficiency

Pending Publication Date: 2021-03-05
GUANGDONG POWER GRID CO LTD
View PDF0 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The object of the present invention is to provide a kind of method that realizes Java Applet automatic operation, to solve the above-mentioned background technology that proposes can not automatically operate Java Applet application program, and the problem that Java Applet can not be connected with other automated testing systems

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for realizing Java Applet automatic operation
  • Method for realizing Java Applet automatic operation
  • Method for realizing Java Applet automatic operation

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0034] see Figure 1 to Figure 3 , the present invention provides a kind of technical scheme: a kind of method that realizes Java Applet automatic operation, comprises:

[0035] Step 1: Write a UDP Server and define the interface element object structure, which contains data such as the handle held by the element, the position on the interface, and the element type;

[0036] Furthermore, the UDP Server is used to receive the element characteristics transmitted from the Native Java Bridge, and can be written in languages ​​such as Python, C++, and C#. In the UDP Server, the data structure of the described element characteristics needs to be defined, and the JSON data structure type can usually be used

[0037] Step 2: Write a Java Plugin through the Java Accessibility API, and this Java Plugin is mainly loaded when the JVM starts;

[0038] Furthermore, the Java Plugin is written in the Java language and will be loaded by the Class Loader when the JVM starts. Its main purpose...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method for realizing Java Applet automatic operation, which comprises the following steps: 1, writing a UDP Server, and defining an interface element object structure which comprises a handle held by an element, a position on an interface and element type data; 2, compiling a Java Plugin through a Java Accessibility API, wherein the Java Plugin is mainly loaded when a JVMis started; 3, compiling a Native Java Bridge which is used for JVM, an operating system and automation program communication, mounting a global mouse event through the HOOK technology, calling Plugin when a mouse moves to a specified Java Applet, and reflecting a Java interface element object instance; 4, constructing a UDP Client in the Native Java Bridge, serializing the Java interface elementobject into the same data type appointed by the UDP Server when the Java interface element object is reflected, and sending same to the UDP Server through the UDP Client; according to the invention,the automatic operation of the system developed by using the Java Applet technology is realized, and an integral automatic platform is built, so that the systems can be automatically connected, and the traditional manual operation is replaced.

Description

technical field [0001] The invention belongs to the technical field of RPA automation, and in particular relates to a method for realizing automatic operation of Java Applets. Background technique [0002] When developing business process automation, there is currently no corresponding solution in the industry for systems developed with Java Applet technology. Therefore, after the work of other systems or platforms that can be automated is completed, it cannot be directly connected to the Java Applet system for automated operations, resulting in the disconnection of the RPA automation process and the inability to continue the automated operation. Contents of the invention [0003] The object of the present invention is to provide a kind of method that realizes Java Applet automatic operation, to solve the problem that Java Applet application program cannot be operated automatically and Java Applet cannot be connected with other automated test systems to solve the above-men...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F8/38G06F9/455H04L29/08
CPCG06F8/38G06F9/45504H04L67/34
Inventor 严宇平陈立翼林俊钱正浩蔡徽李华军
Owner GUANGDONG POWER GRID CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More