CN105592097A - Asynchronous interaction information method based on client - Google Patents

Asynchronous interaction information method based on client Download PDF

Info

Publication number
CN105592097A
CN105592097A CN201610007186.2A CN201610007186A CN105592097A CN 105592097 A CN105592097 A CN 105592097A CN 201610007186 A CN201610007186 A CN 201610007186A CN 105592097 A CN105592097 A CN 105592097A
Authority
CN
China
Prior art keywords
client
server
data
unique identification
asynchronous
Prior art date
Application number
CN201610007186.2A
Other languages
Chinese (zh)
Other versions
CN105592097B (en
Inventor
单承方
薄晓军
王志庆
温小龙
Original Assignee
北京神舟航天软件技术有限公司
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 北京神舟航天软件技术有限公司 filed Critical 北京神舟航天软件技术有限公司
Priority to CN201610007186.2A priority Critical patent/CN105592097B/en
Publication of CN105592097A publication Critical patent/CN105592097A/en
Application granted granted Critical
Publication of CN105592097B publication Critical patent/CN105592097B/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network-specific arrangements or communication protocols supporting networked applications
    • H04L67/42Protocols for client-server architectures
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/90Queuing arrangements
    • H04L49/9047Buffer pool
    • H04L49/9052Buffer pool with buffers of different sizes

Abstract

The invention belongs to the field of communication engineering, and specifically relates to an asynchronous interaction information method based on a client. The asynchronous interaction information method based on the client includes following steps: (1) the client analyzes local data, performs compression processing of the data, and generates a unique identification; (2) the client regards the unique identification as a parameter to start an asynchronous reading operation thread, and the asynchronous thread regularly obtains data from a server; (3) the client calls a server terminal to upload a data instruction and submits the unique identification and the data after compression processing to the server by one step; (4) the server downloads and analyzes the data after compression processing uploaded by the client, creates a related business object, and records the unique identification and operation information of the creating process of the business object in a cache region; and (5) the asynchronous reading operation thread regularly obtains the operation information from the cache region via the unique identification and displays the operation information at a front interface.

Description

A kind of client-based asynchronous interactive information approach

Technical field

The invention belongs to communication engineering field, be specifically related to a kind of client-based asynchronous interactiveInformation approach.

Background technology

Existing PDM (ProductDataManagement) system and other application system collectionCheng Du is more and more higher, and integrated operation system kind is also more and more. Other operation system bagDraw together design class application system, as the application such as computer aided design software PROE, UG, electronicsClass application system, as Mentor, Altium, also comprises the functions such as page end batch data importing.These client application are mainly to carry out large batch of data interaction and system wound with system serviceBuild the work of data task, the work that will complete in a session process is very many, the stand-by periodCan be very long, the interactive mode that neither one is good for user can cause user cannot understand systemThe residing progress status of uniting, the operation that tends to lead to errors. Many for page end integration toolNumber adopts series processes, and the dynamic GIF picture of front end form display system is in backstage executable operations,Until server task processing finishes, out of question for the operation of general small data, but for by(structured data is sometimes up to hundreds of million, even thousands of for the large data processing of user end to serverMillion), this processing mode is intolerable to user.

The exchange technology of existing client and server is all serial implementation, businessOperating process and procedure for displaying bundle, and the degree of coupling is very high. For the operation of page end,It is that current web application program adopts maximum modes that user operates rear demonstration dynamic picture, forThe operation that background process business function is few is feasible. But for business application system, especiallyFront end is submitted the business operation of mass data to, the network congestion or the server stress mistake that often produceCause greatly the situations such as system operation is slow consuming time long, user cannot confirm system mode, causesCancel this operation, also greatly wasted thus the resource of system, the body of system for userIt is too poor to test. By real-time demonstration interactive information system, although user's interactive experience is better,Also there is following problem: 1, client is resolved and generated business object, then invoking server endMethod, for real-time operation information is provided to client, requires client and server end to compileThe code logic complexity of writing, increases workload and debugging difficulty; 2, because client is by wholeTask-decomposing becomes minimum business unit, carries out the friendship between client and server by networkMutually, especially CAD class application class data, require to want finishing sector at serverBusiness data message is processed structural data again, ensure that being operating as of client and server is sameA things, this mode intractability is larger, cannot ensure the transaction of database level.

Summary of the invention

Goal of the invention: the problem that the present invention is directed to above-mentioned prior art existence is made improvement, originallyDisclosure of the invention a kind of client-based asynchronous interactive information approach. It is mainly to pass through businessOperation and the decoupling zero of information procedure for displaying, by only to the operating process of business and interactive information procedure for displayingVertical. Information procedure for displaying separates with business operation process, and in business operation process, constantly record is graspedNote down in multidate information pond, and procedure for displaying and operating process are closed breath without logic. OperationProcess starts, and procedure for displaying starts simultaneously, and the information in timing acquisition buffer area, when operatingAfter journey finishes, can notify demonstration to read Procedure Acquisition operation information, finish Dynamic Acquisition information,Procedure for displaying finishes.

Technical scheme: a kind of client-based asynchronous interactive information approach, comprises the following steps:

(1) client is resolved local data and is compressed processing, generates unique identification simultaneously;

(2) client starts asynchronous read operation thread using unique identification as parameter, asynchronousThread regularly obtains data to server;

(3) client call service device end uploading data instruction, by unique identification and compression placeThe data of reason are once committed to server;

(4) data by the compression processing of client upload are downloaded and resolved to server, createsRelated service object, and the operation information of unique identification and establishment business object process is recorded inIn buffer area;

(5) asynchronous read operation thread regularly obtains operation by unique identification from buffer areaInformation, and this operation information is shown in front-end interface.

Further, described in step (4), buffer area is provided by server.

Further, when server has created after business datum, server returns to knot to clientBundle operational order, client is first called read operation after receiving this end operation instruction, then stopsAsynchronous read operation thread.

Beneficial effect: the client-based asynchronous interactive information approach of one disclosed by the invention toolThere is following beneficial effect:

Integrated client client information is shown easier, the workload of exploitation is less, with real-time demonstrationThe difference on effect of interactive system is very little, meets user's interactive experience completely. With PDM system collectionThe client becoming has two large classes: a class is the application system class integrated client between CS structure;One class is to apply based on page rich client. All need each operation in client or interface edgeGenerate a unique identification, mark is passed to server end, at this moment the business operation of server is openedBegin to carry out, mark and content of operation are recorded in information cache pond to the large I root of cache poolSet voluntarily according to business size. After the business operation invocation of procedure of client, can start asynchronous simultaneouslyRead operation process, obtains consistency operation Information Number by the real-time calling mode of simulant-clientAccording to, the service logic that the business procedure of server and information show in real time has like this realized pine completelyCoupling, the operating process of business and information procedure for displaying do not affect completely, have ensured businessThe integrality of operating process, has met again the understanding of user to program operation process state, very largeIn degree, improve user's experience.

Brief description of the drawings

Fig. 1 is the former of a kind of client-based asynchronous interactive information approach disclosed by the inventionReason figure.

Detailed description of the invention:

Below the specific embodiment of the present invention is described in detail.

As shown in Figure 1, a kind of client-based asynchronous interactive information approach, comprises following stepRapid:

(1) client is resolved local data and is compressed processing, generates unique identification simultaneously;

(2) client starts asynchronous read operation thread using unique identification as parameter, asynchronousThread regularly obtains data to server, and arrange regular interval time by configuration;

(3) client call service device end uploading data instruction, by unique identification and compression placeThe data of reason are once committed to server;

(4) data by the compression processing of client upload are downloaded and resolved to server, createsRelated service object, and the operation information of unique identification and establishment business object process is recorded inIn buffer area;

(5) asynchronous read operation thread regularly obtains operation by unique identification from buffer areaInformation, and this operation information is shown in front-end interface.

Further, described in step (4), buffer area is provided by server.

Further, when server has created after business datum, server returns to knot to clientBundle operational order, client is first called read operation (because be after receiving this end operation instructionAsynchronous thread, thread is the information on server that reads at interval, now thread is in spacer,Last operating data does not read, so need to initiatively call reading information process one time),Stop again asynchronous read operation thread.

Above embodiments of the present invention are described in detail. But the present invention is not limited toState embodiment, in the ken possessing at affiliated technical field those of ordinary skill, alsoCan under the prerequisite that does not depart from aim of the present invention, make a variety of changes.

Claims (3)

1. a client-based asynchronous interactive information approach, is characterized in that, comprise withLower step:
(1) client is resolved local data and is compressed processing, generates unique identification simultaneously;
(2) client starts asynchronous read operation thread using unique identification as parameter, asynchronousThread regularly obtains data to server;
(3) client call service device end uploading data instruction, by unique identification and compression placeThe data of reason are once committed to server;
(4) data by the compression processing of client upload are downloaded and resolved to server, createsRelated service object, and the operation information of unique identification and establishment business object process is recorded inIn buffer area;
(5) asynchronous read operation thread regularly obtains operation by unique identification from buffer areaInformation, and this operation information is shown in front-end interface.
2. the client-based asynchronous interactive information approach of one according to claim 1,It is characterized in that, described in step (4), buffer area is provided by server.
3. the client-based asynchronous interactive information approach of one according to claim 1,It is characterized in that, when server has created after business datum, server returns to end to clientOperational order, client is first called read operation after receiving this end operation instruction, then stops differentStep read operation thread.
CN201610007186.2A 2016-01-06 2016-01-06 A kind of client-based asynchronous interactive information approach CN105592097B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610007186.2A CN105592097B (en) 2016-01-06 2016-01-06 A kind of client-based asynchronous interactive information approach

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610007186.2A CN105592097B (en) 2016-01-06 2016-01-06 A kind of client-based asynchronous interactive information approach

Publications (2)

Publication Number Publication Date
CN105592097A true CN105592097A (en) 2016-05-18
CN105592097B CN105592097B (en) 2019-05-07

Family

ID=55931311

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610007186.2A CN105592097B (en) 2016-01-06 2016-01-06 A kind of client-based asynchronous interactive information approach

Country Status (1)

Country Link
CN (1) CN105592097B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106886453A (en) * 2017-02-20 2017-06-23 恒生电子股份有限公司 Information processing method, device and system for asynchronous multiple tracks
CN107436767A (en) * 2017-07-31 2017-12-05 杭州安恒信息技术有限公司 The optimization method that idempotent operates in a kind of asynchronous framework

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090327468A1 (en) * 2008-06-30 2009-12-31 International Business Machines Corporation Interactive Remote Command Execution Over a Stateless Client/Server Network Protocol
CN101958916A (en) * 2009-07-17 2011-01-26 华为技术有限公司 Method and device for processing data based on rich client application
CN102710761A (en) * 2012-05-24 2012-10-03 上海克而瑞信息技术有限公司 PDF (portable document format) file online storage and access method
CN102801737A (en) * 2012-08-28 2012-11-28 北京城市网邻信息技术有限公司 Asynchronous network communication method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090327468A1 (en) * 2008-06-30 2009-12-31 International Business Machines Corporation Interactive Remote Command Execution Over a Stateless Client/Server Network Protocol
CN101958916A (en) * 2009-07-17 2011-01-26 华为技术有限公司 Method and device for processing data based on rich client application
CN102710761A (en) * 2012-05-24 2012-10-03 上海克而瑞信息技术有限公司 PDF (portable document format) file online storage and access method
CN102801737A (en) * 2012-08-28 2012-11-28 北京城市网邻信息技术有限公司 Asynchronous network communication method and device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106886453A (en) * 2017-02-20 2017-06-23 恒生电子股份有限公司 Information processing method, device and system for asynchronous multiple tracks
CN107436767A (en) * 2017-07-31 2017-12-05 杭州安恒信息技术有限公司 The optimization method that idempotent operates in a kind of asynchronous framework

Also Published As

Publication number Publication date
CN105592097B (en) 2019-05-07

Similar Documents

Publication Publication Date Title
CN104391934B (en) Data verification method and device
US9473558B2 (en) Utilization of target browsers
CN104965757B (en) Method, virtual machine (vm) migration managing device and the system of live migration of virtual machine
CN102169500B (en) Dynamic service flow display method and device
US8112406B2 (en) Method and apparatus for electronic data discovery
CN103401934A (en) Method and system for acquiring log data
CN103164114A (en) Method and device of classifying icons of terminal operation interface
KR20110063313A (en) Automated merger of logically associated messages in a message queue
TW201401092A (en) Method, computer system and program product for dynamically adjusting log level of a transaction
CN103235725A (en) Linux-based rapid deployment method for Oracle database in cloud computing
CN106030546B (en) The method of computer program
TW200404225A (en) Dynamic wizard interface system and method
KR20020019011A (en) Method and apparatus for providing direct transaction access to information residing on a host system
US7143398B2 (en) Application infa operating system
CN105045663B (en) The method and system of rapid deployment virtual machine
US9678814B2 (en) Implementing a java method
CN105677469B (en) Timed task execution method and device
EP3252592A1 (en) Method and device for storing and reading data
CN101853157B (en) Automatic identification method for application software GUI object
JP2002323847A (en) Cooperative learning system and system therefor
CN101252640B (en) Method for writing sequence number to set top box
US20080059436A1 (en) Providing a visual representation of a sub-set of a visual program
CN104298761B (en) The implementation method that master data is matched between a kind of heterogeneous software system
CN102193991B (en) OLTP(on-line transaction processing)-based data modifying method and system as well as graphic database server
WO2018036272A1 (en) News content pushing method, electronic device, and computer readable storage medium

Legal Events

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