Client-side communication method and device

A communication method and technology of a communication device, applied in the field of client communication methods and devices, can solve the problems of low development efficiency, low communication efficiency between devices, affecting the work of a ticketing system, etc., and achieve the effect of improving development efficiency and improving work level.

Inactive Publication Date: 2012-11-14
易程(苏州)软件股份有限公司
View PDF5 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The above existing technology has the following technical defects: due to the communication between the ticketing system and the equipment, two different languages ​​are required to write complex codes at each end, which makes the development efficiency low, resulting in low communication efficiency between the equipment. Seriously affect the work of the ticketing system

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
  • Client-side communication method and device
  • Client-side communication method and device
  • Client-side communication method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0021] figure 1 It is a schematic flowchart of an embodiment of the client communication method of the present invention. The communication method of this embodiment takes the communication between the ticketing system and other devices as an example, wherein the ticketing system is used as the client and other devices are used as the target communication device. Such as figure 1 As shown, the method may include the following steps:

[0022] Step 101, the client receives the description object of the dynamic link library of the target communication device through the dynamic library interface;

[0023] For example, when a device needs to be communicated with, the device may be called a target communication device.

[0024] Wherein, the creation of the dynamic library interface may be, firstly, obtaining the dynamic link library of the target communication device, and each functional interface in the dynamic link library. Next, according to the above functional interfaces, a...

Embodiment 2

[0034] image 3 It is a schematic structural diagram of an embodiment of a client communication device in the present invention. The device in this embodiment can execute the client communication method described in any embodiment of the present invention. For example, the client communication device can be a ticketing system device. Such as image 3 As shown, the device may include a receiving module 31 and a calling module 32 .

[0035] Wherein, the receiving module 31 can receive the description object of the dynamic link library of the target communication device through the dynamic library interface; the calling module 32 can be used to call the dynamic link library according to the description object, so as to realize the communication with the target communication device. communication.

[0036] Further, the receiving module 31 is also configured to acquire the function interface in the dynamic link library of the target communication device, and establish the dynamic...

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 provides a client-side communication method and device. The client-side communication method comprises the following steps of: receiving a description object of a dynamic link library of target communication equipment through a dynamic library interface; and calling the dynamic link library according to the description object to realize communication between the dynamic link library and the target communication equipment. According to the client-side communication method and device provided by the invention, through a class library based on Java native access (JNA) packaging, the dynamic link library of the target communication equipment is called, therefore, the development efficiency and the communication efficiency between a ticket system and the equipment are increased, and the working level of the ticket system is increased.

Description

technical field [0001] The present invention relates to communication technology, in particular to a client communication method and device. Background technique [0002] When the ticketing system is working, it needs to communicate with various other devices to complete the ticketing work. The ticketing system adopts Eclipse rcp, a rich client technology framework, which is based on Java; other devices that communicate with the ticketing system through socket solutions often use device function interfaces encapsulated in other languages ​​such as c and c++. When the ticketing system communicates with the device, it needs to call the above functional interface in the device. Due to the different languages, the socket solution requires two different languages ​​to write codes at their respective ends. For example, the Java local interface side of the ticketing system side needs to write Socket communication code to realize communication between different languages. [0003]...

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
Inventor 李良文李吉生黄伟伟王云欧阳平李峰邵晓风陈靖
Owner 易程(苏州)软件股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products