CN107066429A - The transmission method of transmission efficiency is improved between a kind of internet - Google Patents

The transmission method of transmission efficiency is improved between a kind of internet Download PDF

Info

Publication number
CN107066429A
CN107066429A CN201710205913.0A CN201710205913A CN107066429A CN 107066429 A CN107066429 A CN 107066429A CN 201710205913 A CN201710205913 A CN 201710205913A CN 107066429 A CN107066429 A CN 107066429A
Authority
CN
China
Prior art keywords
data
module
modules
copy
transmission method
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.)
Withdrawn
Application number
CN201710205913.0A
Other languages
Chinese (zh)
Inventor
梁远雄
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Liuzhou Imehi Network Science & Technology Co Ltd
Original Assignee
Liuzhou Imehi Network Science & Technology Co Ltd
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 Liuzhou Imehi Network Science & Technology Co Ltd filed Critical Liuzhou Imehi Network Science & Technology Co Ltd
Priority to CN201710205913.0A priority Critical patent/CN107066429A/en
Publication of CN107066429A publication Critical patent/CN107066429A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/14Tree-structured documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F12/00Accessing, addressing or allocating within memory systems or architectures
    • G06F12/02Addressing or allocation; Relocation
    • G06F12/08Addressing or allocation; Relocation in hierarchically structured memory systems, e.g. virtual memory systems
    • G06F12/12Replacement control
    • G06F12/121Replacement control using replacement algorithms
    • G06F12/123Replacement control using replacement algorithms with age lists, e.g. queue, most recently used [MRU] list or least recently used [LRU] list
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/14Tree-structured documents
    • G06F40/146Coding or compression of tree-structured data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/149Adaptation of the text data for streaming purposes, e.g. Efficient XML Interchange [EXI] format
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/163Handling of whitespace
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5682Policies or rules for updating, deleting or replacing the stored data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/10Providing a specific technical effect
    • G06F2212/1041Resource optimization
    • G06F2212/1044Space efficiency improvement
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2212/00Indexing scheme relating to accessing, addressing or allocation within memory systems or architectures
    • G06F2212/15Use in a specific computing environment
    • G06F2212/154Networked environment

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses the transmission method that transmission efficiency is improved between a kind of internet, it is the step of the transmission method:Step one:User starts to whether there is the copy of the data source in peration data source, server data module investigation caching mechanism module, has, directly invokes, latest copy is not generated then, treats that next time uses;Step 2:Disposable calling module is locally disposably being set to data source copy, then the other end for being sent to the service unified XML of generation;Step 3:After data source copy is simplified operation by serialization module through processing empty value and label, data source copy is serialized through Model sequence module, then is compressed by gzip compression modules, client modules are transferred to;Step 4:The data of compression are decompressed through gzip decompression modules, by antitone sequence module by data convert, and the data after reduction are different according to the data type that need to be read, and parsed through SAX parsing modules or DOM parsing modules parsing module.

Description

The transmission method of transmission efficiency is improved between a kind of internet
Technical field
The present invention relates to a kind of transmission method for improving transmission efficiency, transmission effect is improved between specifically a kind of internet The transmission method of rate, belongs to Internet technical field.
Background technology
Network service nowadays has become SOA and realizes one of standard.Many companies or participate in service In the realization and deployment of project.The advantage of service is communication and data exchange between loose processing heterogeneous system, can be with Integration problem between each system of flexible processing enterprise.But simultaneously, service is using the number between standard carry out system According to transmission, the data volume of transmission is increased, especially when transmitting some with the data for comparing precise construction, transmission can be caused Efficiency has declined.So, that is concerned about very much when how to improve service transmission efficiency as the progress project deployment of many companies asks Topic.
In data transfer, if also with formatted information, such as font in form, if background color etc., that Corresponding XML will be very complicated, and in addition to data, XML can add many label informations, and this allows for the data of transmission Amount increase, when the data of required transmission are more, XML label can bring about than larger efficiency, and Often there is many identicals place when transmitting data, repetition transmission also brings along efficiency of transmission and asked between data and data Topic, moreover, traditional RPC is called, can produce very big efficiency when being used for multiple times.User is long-range every time in progress The time spent by network transmission will be waited when calling.And for service, many users are still as biography The RPC of system is called.The function for calling service Provider to be provided every time, causes the significant wastage of efficiency.
The content of the invention
There is problem for above-mentioned prior art, the present invention provides a kind of transmission side of raising transmission efficiency between internet Method, as goal in research, is proposed with current advanced there is provided the required key technical problem solved in being transmitted using internet data Compression and decompression technique, in conjunction with the characteristic of data in itself, improve internet data transmission efficiency, make internet data transmission effect Rate is greatly improved, and is made Internet firm when service item is disposed, is possessed more thinkings.
The present invention is achieved through the following technical solutions above-mentioned purpose:The transmission side of transmission efficiency is improved between a kind of internet The step of method, transmission method is:
Step one:User, which starts to whether there is in peration data source, server data module investigation caching mechanism module, to be somebody's turn to do The copy of data source, has, and directly invokes, and latest copy is not generated then, treats that next time uses;
Step 2:Disposable calling module is locally disposably being set to data source copy, then the XML of generation The unified other end for being sent to service;
Step 3:After data source copy is simplified operation by serialization module through processing empty value and label, through Model sequence Module is serialized data source copy, then is compressed by gzip compression modules, is transferred to client modules;
Step 4:The data of compression are decompressed through gzip decompression modules, by antitone sequence module by data convert, after reduction Data when need to only read at the document label needed for program, data are parsed using DMO parsing modules, when needing reading object During hierarchical structure, data are parsed using SAX parsing modules;
Step 5:Data display after parsing is in client data module.
As the improvement to above-mentioned technical proposal, serialization module include control process module, Model sequence module and Label simplifies module.
As the improvement to above-mentioned technical proposal, parsing module is divided into SAX parsing modules and DOM parsing modules.
As the improvement to above-mentioned technical proposal, caching mechanism module is carrying out multiplicating refreshing to data in step one When, system need not reopen data source, and if caching is full, then using least recently used principle, remove slow A part of data object in depositing.
As the improvement to above-mentioned technical proposal, SAX parsing modules and DOM parsing modules occur without work simultaneously in step 4 The situation of work.
As the improvement to above-mentioned technical proposal, disposable calling module is locally entering all data manipulations in step 2 OK, user will not feel the pause that network is brought in processing data, and final all operation requests are uniformly sent to server End so that the remote operation repeatedly waited originally, which only needs to a data transfer, can just complete, user is only with the number waited once According to transmission time.
The beneficial effects of the invention are as follows:Caching mechanism module to data when be repeated several times refreshing, and system need not Data source is reopened, and if caching is full, then using least recently used principle, removes a part of number in caching According to object, it is ensured that caching operation duration is carried out;Disposable calling module is locally carrying out all data manipulations, and user is in processing The pause that network is brought will not be felt during data.Final all operation requests are uniformly sent to server end so that originally many The remote operation of secondary wait, which only needs to a data transfer, can just complete, and user is only with the data transmission period of wait once Can;When at the document label needed for the data after reduction need to only read program, data are parsed using DMO parsing modules, when When needing reading object hierarchical structure, data are parsed using SAX parsing modules, autonomous selection analysis mode, convenient according to demand Fast.
Brief description of the drawings
Fig. 1 is the transmission method schematic flow sheet of raising transmission efficiency between internet of the present invention.
Embodiment
Below in conjunction with embodiments of the invention, the technical scheme in the embodiment of the present invention is clearly and completely retouched State, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Based on the present invention In embodiment, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
It is the step of the transmission method of raising transmission efficiency, the transmission method between a kind of internet:
Step one:User, which starts to whether there is in peration data source, server data module investigation caching mechanism module, to be somebody's turn to do The copy of data source, has, and directly invokes, and latest copy is not generated then, treats that next time uses;
Step 2:Disposable calling module is locally disposably being set to data source copy, then the XML of generation The unified other end for being sent to service;
Step 3:After data source copy is simplified operation by serialization module through processing empty value and label, through Model sequence Module is serialized data source copy, then is compressed by gzip compression modules, is transferred to client modules;
Step 4:The data of compression are decompressed through gzip decompression modules, by antitone sequence module by data convert, after reduction Data when need to only read at the document label needed for program, data are parsed using DMO parsing modules, when needing reading object During hierarchical structure, data are parsed using SAX parsing modules;
Step 5:Data display after parsing is in client data module.
As the improvement to above-mentioned technical proposal, serialization module include control process module, Model sequence module and Label simplifies module.
As the improvement to above-mentioned technical proposal, parsing module be divided into SAX parsing modules and DOM parsing modules.
As the improvement to above-mentioned technical proposal, caching mechanism module is carrying out multiplicating refreshing to data in step one When, system need not reopen data source, and if caching is full, then using least recently used principle, remove slow A part of data object in depositing.
As the improvement to above-mentioned technical proposal, SAX parsing modules and DOM parsing modules occur without work simultaneously in step 4 The situation of work.
As the improvement to above-mentioned technical proposal, disposable calling module is locally entering all data manipulations in step 2 OK, user will not feel the pause that network is brought in processing data, and final all operation requests are uniformly sent to server End so that the remote operation repeatedly waited originally, which only needs to a data transfer, can just complete, user is only with the number waited once According to transmission time.
First, user starts to whether there is the number in peration data source, server data module investigation caching mechanism module According to the copy in source, have, directly invoke, latest copy is not generated then, treat that next time uses;Then, disposable calling module is local Data source copy is disposably set, then the other end for being sent to the service unified XML of generation;Then, sequence After data source copy is simplified operation by rowization module through processing empty value and label, data source copy is entered through Model sequence module Row serializing, then be compressed by gzip compression modules, it is transferred to client modules;Furthermore, the data of compression are solved through gzip Die block is decompressed, and by antitone sequence module by data convert, data after reduction need to only read the document mark needed for program When at label, data are parsed using DMO parsing modules, when needing reading object hierarchical structure, number is parsed using SAX parsing modules According to;Finally, the data display after parsing is in client data module.
Embodiment provided above is the better embodiment of the present invention, only illustrates the present invention for convenient, not to this hair It is bright to make any formal limitation, any those of ordinary skill in the art, if putting forward skill not departing from the present invention In the range of art feature, using the equivalent embodiment for locally changing or modifying made by disclosed technology contents, and Without departing from the technical characteristic content of the present invention, in the range of still falling within the technology of the present invention feature.

Claims (6)

1. the transmission method of transmission efficiency is improved between a kind of internet, it is characterised in that be the step of the transmission method:
Step one:User starts to whether there is the data in peration data source, server data module investigation caching mechanism module The copy in source, has, and directly invokes, and latest copy is not generated then, treats that next time uses;
Step 2:Disposable calling module is locally disposably being set to data source copy, then the XML of generation is unified The other end for being sent to service;
Step 3:After data source copy is simplified operation by serialization module through processing empty value and label, through Model sequence module Data source copy is serialized, then is compressed by gzip compression modules, client modules are transferred to;
Step 4:The data of compression are decompressed through gzip decompression modules, by antitone sequence module by data convert, number after reduction During according at the document label that need to only read needed for program, data are parsed using DMO parsing modules, when needing reading object level During structure, data are parsed using SAX parsing modules;
Step 5:Data display after parsing is in client data module.
2. the transmission method of transmission efficiency is improved between internet according to claim 1, it is characterised in that:The serializing Module includes control process module, Model sequence module and label and simplifies module.
3. the transmission method of transmission efficiency is improved between internet according to claim 1, it is characterised in that:Described parsing Module is divided into SAX parsing modules and DOM parsing modules.
4. the transmission method of transmission efficiency is improved between internet according to claim 1, it is characterised in that:The step one Middle caching mechanism module to data when be repeated several times refreshing, and system need not reopen data source, and if caching It is full, then using least recently used principle, remove a part of data object in caching.
5. the transmission method of transmission efficiency is improved between internet according to claim 1, it is characterised in that;The step 4 Middle SAX parsing modules and DOM parsing modules are occurred without while the situation of work.
6. the transmission method of transmission efficiency is improved between internet according to claim 1, it is characterised in that:The step 2 In disposable calling module all data manipulations are locally being carried out, user will not feel what network was brought in processing data Pause, final all operation requests are uniformly sent to server end so that the remote operation repeatedly waited originally is only needed to once Data transfer can just be completed, and user is only with the data transmission period waited once.
CN201710205913.0A 2017-03-31 2017-03-31 The transmission method of transmission efficiency is improved between a kind of internet Withdrawn CN107066429A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710205913.0A CN107066429A (en) 2017-03-31 2017-03-31 The transmission method of transmission efficiency is improved between a kind of internet

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710205913.0A CN107066429A (en) 2017-03-31 2017-03-31 The transmission method of transmission efficiency is improved between a kind of internet

Publications (1)

Publication Number Publication Date
CN107066429A true CN107066429A (en) 2017-08-18

Family

ID=59603243

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710205913.0A Withdrawn CN107066429A (en) 2017-03-31 2017-03-31 The transmission method of transmission efficiency is improved between a kind of internet

Country Status (1)

Country Link
CN (1) CN107066429A (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102985919A (en) * 2010-06-30 2013-03-20 惠普发展公司,有限责任合伙企业 System and method for a serialized data service
CN103425632A (en) * 2013-08-30 2013-12-04 深圳市路畅科技股份有限公司 Serializing method, device and processor

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102985919A (en) * 2010-06-30 2013-03-20 惠普发展公司,有限责任合伙企业 System and method for a serialized data service
CN103425632A (en) * 2013-08-30 2013-12-04 深圳市路畅科技股份有限公司 Serializing method, device and processor

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
李果: ""面向大数据量的Web服务传输方案研究"", 《中国优秀硕士学位论文全文数据库 信息科技辑》 *

Similar Documents

Publication Publication Date Title
CN101826085B (en) AJAX-based method for importing/exporting large file into/from web page on line
DE69635338T2 (en) Method and architecture for an interactive two-way communication network
CN105763619B (en) The method and device that client and server-side are communicated
CN100591078C (en) A website buffering method and device
CN108337236A (en) A kind of gRPC call methods and device based on Protobuf and HTTP/1.1
CN102164167B (en) Method and system for remote-control classified transmission
DE102012218528B4 (en) Using push notifications to reduce open browser connections
KR20170057228A (en) System and method for secure real-time cloud services
CN109309672B (en) Web-based space data real-time pushing multi-task scheduling method
CN101197812B (en) System and method for implementing page invocation
CN102629939B (en) Electric power enterprise service bus realization method and device
CN104052797B (en) Distribute control system, dissemination system and distribution control method
US20020129097A1 (en) System and method for distributed processing
CN104601522A (en) Method, device and system for realizing interaction between mobile client and service system
CN104135536A (en) Data interaction method of Web management system based on Json data protocols
CN101556683A (en) Financial service system and implementation method
CN104065679B (en) The method and client of a kind of remote desktop operation
CN109117127A (en) Program code generation method, device and computer readable storage medium
CN103914293B (en) Generate the method and server of the page
CN106484548A (en) A kind of choreography request response processing method based on asynchronism callback mechanism
RU2407170C2 (en) Method for interface adaptation of television internet protocol with stream data storage device
CN101770511A (en) Browse system for accelerating backspace operation of mobile communication equipment terminal and application method thereof
CN107329842B (en) Method and terminal for acquiring data based on Qt signal slot mechanism
CN107066429A (en) The transmission method of transmission efficiency is improved between a kind of internet
CN109218553A (en) Server unit, information processing unit and the control method for installing application

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20170818

WW01 Invention patent application withdrawn after publication