Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Flex server-free external program invoking method and system

An external program and serverless technology, which is applied in transmission systems, program control design, instruments, etc., can solve the problems of increased development cost and development difficulty, the inability of flex programs to call local programs, and limited scalability. The effects of hardware support and maintenance costs, enhanced cross-platform and scalability, and convenient deployment

Active Publication Date: 2015-02-18
北京思特奇信息技术股份有限公司
View PDF1 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The Flex AIR program has a good customer experience and a security sandbox mechanism, which is favored by many developers, but it is the sandbox mechanism that prevents the flex program from calling local programs, which limits its scalability.
[0004] To solve this problem, the previous solution is to build an additional server (such as tomcat or weblogic), pass the information through the server to transmit the request, and then return the result to the client program. This method increases the development cost and development difficulty, and Deploying the server itself also requires hardware support and maintenance costs

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
  • Flex server-free external program invoking method and system
  • Flex server-free external program invoking method and system
  • Flex server-free external program invoking method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] The principles and features of the present invention are described below in conjunction with the accompanying drawings, and the examples given are only used to explain the present invention, and are not intended to limit the scope of the present invention.

[0037] like figure 1 As shown in the present invention, it is a method for calling an external program without a flex server, which specifically includes the following steps:

[0038] Step 1: flex creates a socket connection;

[0039] Step 2: Encapsulate the socket connection into a jar package, and create a corresponding socket interface for the jar package;

[0040] Step 3: Receive the request sent by the external program, and call the jar package through the socket interface;

[0041] Step 4: The jar package responds to external requests, creates a socket channel, and converts external requests into request messages;

[0042] Step 5: The socket channel calls different operation methods in the jar package accor...

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 relates to a Flex server-free external program invoking method. The Flex server-free external program invoking method includes steps: step 1, building a socket connection on a Flex program; step 2, packaging the socket connection into a jar package, and building a corresponding socket interface for the jar package; step 3, receiving requests sent by an external program, and invoking the jar package through the socket interface; step 4, enabling the jar package to respond to the external requests, building a socket channel, and converting the external requests into request messages; step 5, invoking different operation methods in the jar package for operation according to different types of the request messages, and generating an operation result; step 6, returning the operation result through the socket interface, and then finishing. The Flex server-free external program invoking method separates invoking of the Flex program from invoking of the external program, achieves a distinct gradation, is convenient in development, release and deployment, does not need to consume manpower and material resources to deploy an additional server for a Flex Air program of a client end which needs to invoke external resources, and enhances platform independence and expansibility.

Description

technical field [0001] The invention relates to a method and a system for calling an external program without a flex server. Background technique [0002] Flex is an efficient, free, open source framework for building expressive web applications that leverage Adobe Flash Player and Adobe AIR across browsers, desktops, and operating systems. While Flex applications can only be built using the Flex framework, Adobe Flash Builder TM (formerly known as Adobe Flex Builder TM ) software can speed up development through functions such as intelligent coding, interactive traversal debugging, and visual design of user interface layout. [0003] The Flex AIR program has a good customer experience and a security sandbox mechanism, which is favored by many developers, but it is the sandbox mechanism that prevents the flex program from calling local programs, which limits its scalability. [0004] To solve this problem, the previous solution is to build an additional server (such as to...

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
Patent Type & Authority Applications(China)
IPC IPC(8): H04L29/08
CPCG06F9/547H04L69/162
Inventor 罗国俊
Owner 北京思特奇信息技术股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products