CN105592097A - Asynchronous interaction information method based on client - Google Patents
Asynchronous interaction information method based on client Download PDFInfo
- 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
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/90—Buffering arrangements
- H04L49/9047—Buffering arrangements including multiple buffers, e.g. buffer pools
- H04L49/9052—Buffering arrangements including multiple buffers, e.g. buffer pools 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
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.
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 Active 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)
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)
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 |
-
2016
- 2016-01-06 CN CN201610007186.2A patent/CN105592097B/en active Active
Patent Citations (4)
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)
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 |
---|---|---|
CN109951547B (en) | Transaction request parallel processing method, device, equipment and medium | |
CN107885881A (en) | Business datum real-time report, acquisition methods, device, equipment and its storage medium | |
CN110851253A (en) | Remote operation and maintenance method, system, storage medium and electronic equipment | |
CN110457260A (en) | Document handling method, device, equipment and computer readable storage medium | |
CN102279855A (en) | Device and method for treating transactions with database | |
CN107783820A (en) | A kind of cloud platform virtual machine timing operation task method to set up | |
CN111831383A (en) | Window splicing method, device, equipment and storage medium | |
CN110825731A (en) | Data storage method and device, electronic equipment and storage medium | |
CN110097680B (en) | Lottery drawing method, device, lottery drawing service system, lottery drawing system and storage medium | |
CN104809126B (en) | Business process engine system | |
CN108268615A (en) | A kind of data processing method, device and system | |
CN105592097A (en) | Asynchronous interaction information method based on client | |
CN110019200A (en) | A kind of foundation of index, application method and device | |
CN106888264A (en) | A kind of method for interchanging data and device | |
CN112559525B (en) | Data checking system, method, device and server | |
WO2021093674A1 (en) | Bi node execution method in workflow system, apparatus, device, and computer readable storage medium | |
CN106134470B (en) | A kind of DNC integrated management system and method | |
CN111309424A (en) | Page restoration method and related equipment | |
CN107479891B (en) | MVC model-based data processing system and method | |
WO2018205390A1 (en) | Control layout display control method, system, and apparatus, and computer readable storage medium | |
CN112685426A (en) | NiFi-based Kafka consumption NewSQL CDC stream data conversion method | |
CN110515993B (en) | Tax data conversion method and system | |
CN109993590B (en) | Electronic invoice issuing method and device, electronic equipment and medium | |
CN111400598A (en) | Information push method, server, multi-port repeater and storage medium | |
CN110018917B (en) | Method, system, terminal and storage medium for realizing independent mouse input channel |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP01 | Change in the name or title of a patent holder | ||
CP01 | Change in the name or title of a patent holder |
Address after: 100094 No. 28, Yongfeng Road, Beijing, Haidian District Patentee after: Beijing Shenzhou Aerospace Software Technology Co.,Ltd. Address before: 100094 No. 28, Yongfeng Road, Beijing, Haidian District Patentee before: BEIJING SHENZHOU AEROSPACE SOFTWARE TECHNOLOGY Co.,Ltd. |