CN103152327B - A kind of method, client and system configuring compression/de-compression plug-in unit - Google Patents

A kind of method, client and system configuring compression/de-compression plug-in unit Download PDF

Info

Publication number
CN103152327B
CN103152327B CN201310042232.9A CN201310042232A CN103152327B CN 103152327 B CN103152327 B CN 103152327B CN 201310042232 A CN201310042232 A CN 201310042232A CN 103152327 B CN103152327 B CN 103152327B
Authority
CN
China
Prior art keywords
compression
unit
plug
client
interface
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.)
Active
Application number
CN201310042232.9A
Other languages
Chinese (zh)
Other versions
CN103152327A (en
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.)
Beijing Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201310042232.9A priority Critical patent/CN103152327B/en
Publication of CN103152327A publication Critical patent/CN103152327A/en
Application granted granted Critical
Publication of CN103152327B publication Critical patent/CN103152327B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of method, client and the system that configure compression/de-compression plug-in unit.Collocation method comprises: server sends the data standard of the Environmental Support of described server and the calling interface for loading the compression/de-compression engine configured in described server to described first client, generates compression/de-compression plug-in unit according to described data and calling interface and preserves; Described server sends described compression/de-compression plug-in unit to described second client.In following embodiment of the present invention, in the compression/de-compression plug-in unit of corresponding data specification and data-interface being uploaded onto the server by plug-in card configuration client, download for obtaining the client of plug-in unit, thus make to complete efficiently between developer and user the task such as exploitation, maintenance, control and download will gone separately plug-in unit.

Description

A kind of method, client and system configuring compression/de-compression plug-in unit
Technical field
The invention belongs to data compression/decompression field, specifically, relate to a kind of method, client and the system that configure compression/de-compression plug-in unit.
Background technology
Along with the development of the development of computer software and hardware, particularly hardware, make in ordinary PC, run a large amount of algorithm calculated and become reality.Some high strength, the compression and decompression algorithm of high security becomes possibility.The increase of the algorithm decompressed, makes compressed software constantly remove to upgrade his software frame, makes compressed software can support certain or certain several new algorithm.Be all a very large task to software development and test like this, because often increase a kind of support of algorithm, all likely have an impact to the algorithm of original support, this just needs a large amount of tests, revises work.
The plug-in unit open platform of compression and decompression is not now commercially also had to occur.Under normal circumstances, the work of plug-in unit needs to depend on platform environment, but this is not entirely true for the plug-platform of compression and decompression.Because card i/f is open, and the function of compression and decompression is all be encapsulated in plug-in unit.So be difficult to accomplish Platform Dependent completely.
Meanwhile, because new algorithm occurs and the upgrading of original algorithm, the expansion of original function, makes plug-platform to be obliged to go upgrading.Can run into interface quantity in existing plug-platform escalation process to change, parameter changes, so how to reduce the upgrading number of times of plug-platform, ensures that the compatibility of platform is also very important as far as possible.
In addition, present plug-platform cannot support the above-mentioned situation of change run into, and makes cannot to complete efficiently between developer and user the task such as exploitation, maintenance, control and download will gone separately plug-in unit.
Therefore, in existing situation, urgently need a kind ofly to provide developing plug mode easily for the exploitation of plug-in unit, maintenance, control and download.
Summary of the invention
In view of the above problems, propose the present invention to provide a kind of overcome the problems referred to above or solve at least in part or slow down the configuration of the problems referred to above and obtain the method for compression/de-compression plug-in unit, client and system.
According to an aspect of the present invention, provide a kind of method configuring compression/de-compression plug-in unit, it comprises:
Server receives the first access request of the first client transmission thus makes described first client access described server, and send the data standard of the Environmental Support of described server to described first client and generate the exploitation page to make the first client according to the relevant information of described data standard and calling interface for the calling interface that loads the compression/de-compression engine configured in described server, the data adapted with described data standard that described server receives that the requestor of described first client upload inputs in the described exploitation page, and the calling interface corresponding to compression/de-compression engine that the requestor obtaining described first client notice is selected in the described exploitation page, generate compression/de-compression plug-in unit according to described data and described calling interface and preserve,
Described server receives the second access request of the second client transmission thus makes described second client access described server, compression/de-compression plug-in unit is sent to generate downloading page in described second client to described second client, described server receives the download request of the compression/de-compression plug-in unit generation selected in described downloading page according to requestor that described second client is sent, and sends described compression/de-compression plug-in unit to described second client.
Preferably, in one embodiment of this invention, described calling interface, comprises one or more combination following: the query interface of initialization interface and anti-initialization interface, compression/de-compression ability, control to comprise startups, stoppings, suspending and the Operation control interface of continuation, compression/decompression parameters interface is set, input need the file destination carrying out compression/de-compression arrange interface, output file path interface is set, collision detection interface, abnormality detection interface, bundling arrange interface;
The relevant information of described calling interface, comprises one or more combination following: the quantity of the quantity of calling interface, the name of calling interface, method of calling, calling interface parameter, the type of calling interface parameter, the return value type called.
Preferably, in one embodiment of this invention, the data adapted with described data standard that described server receives that the requestor of described first client upload inputs in the described exploitation page, and the calling interface corresponding to compression/de-compression engine that the requestor obtaining described first client notice is selected in the described exploitation page, generate compression/de-compression plug-in unit according to described data and described calling interface and preserve, comprising further:
After described server generates compression/de-compression plug-in unit according to described data and calling interface, verification tool that described compression/de-compression plug-in unit is tested and debugged based on virtual operation environment is sent to make described first client according to described verification tool to generate in described server and the described compression/de-compression plug-in unit preserved carries out test based on virtual operation environment and debugging to described first client, described server receives the notice of described first client, described compression/de-compression plug-in unit is preserved after knowing the test based on virtual operation environment that described compression/de-compression plug-in unit is undertaken by described verification tool and debugging.
Preferably, in one embodiment of this invention, after described server preserves described compression/de-compression plug-in unit, also receive the request that the first client sends, test based on real running environment and debugging are carried out to described compression/de-compression plug-in unit, wherein, checking mark is set up by the described compression/de-compression plug-in unit of the described test based on real running environment and debugging.
Preferably, in one embodiment of this invention, described server receives the first access request of described first client transmission thus when making described first client access described server, carries the account information of described first client in described first access request;
When described server generates compression/de-compression plug-in unit according to described data and calling interface, also receive the account information also described account information of corresponding preservation and the described compression/de-compression plug-in unit of described first client upload;
Described server receives the browse request carrying described account information that described first client sends, and the described compression/de-compression plug-in unit corresponding to account information described in described first client feedback and the relevant information of described compression/de-compression plug-in unit also generate browsing pages in the first client; Described relevant information, comprises following one or more combination: download time, date of formation, current version information.
Preferably, in one embodiment of this invention, the plug-in unit mark that the compression/de-compression plug-in unit that described server sends preservation to described second client configures generates downloading page to make described second client according to described plug-in unit mark, described server receives the download request that the second client generates according to the plug-in unit mark that requestor is selected in described downloading page, and identifies corresponding compression/de-compression plug-in unit to described second client transmission with described plug-in unit.
Preferably, in one embodiment of this invention, when described server sends compression/de-compression plug-in unit to generate downloading page in described second client to described second client, the title also pushing the compression/de-compression plug-in unit of renewal to described second client to remind in described downloading page.
Preferably, in one embodiment of this invention, in described compression/de-compression plug-in unit, be packaged with the compression/de-compression engine independent of operating environment, and described compression/de-compression engine is used for downloading or upgrading configuration.
According to a further aspect in the invention, provide a kind of client configuring compression/de-compression plug-in unit, it is characterized in that, comprising: data interaction interface, page generation module and user interface, wherein,
Described data interaction interface, for sending the first access request to server thus accessing described server, from described server, obtain the data standard of described server environment support and notify described page generation module for the calling interface that loads the compression/de-compression engine configured in described server, calling interface corresponding to the compression/de-compression engine that the data adapted with described data standard requestor inputted in the described exploitation page and requestor are selected in the described exploitation page uploads in described server and generates compression/de-compression plug-in unit and preserve,
Described page generation module, for generating the exploitation page according to the relevant information of described data standard and calling interface;
Described user interface, notifies described data interaction interface for the calling interface corresponding to the data adapted with described data standard that receive that requestor inputs in the described exploitation page and the compression/de-compression engine selected in the described exploitation page of requestor.
Preferably, in one embodiment of this invention, described data interaction interface, also for obtaining the verification tool testing to described compression/de-compression plug-in unit and debug based on virtual operation environment and send to checking Executive Module from described server;
Described checking Executive Module, for according to described verification tool to generate in described server and the described compression/de-compression plug-in unit preserved carries out test based on virtual operation environment and debugging.
Preferably, in one embodiment of this invention, described data interaction interface, also send request to carry out test based on real running environment and debugging to described compression/de-compression plug-in unit to described server, wherein, checking mark is set up by the described compression/de-compression plug-in unit of the described test based on real running environment and debugging.
Preferably, in one embodiment of this invention, described data interaction interface, when sending the first access request to described server thus access described server, carries account information in described first access request; Described data and calling interface information are uploaded in described server when generating compression/de-compression plug-in unit, also described account information is also uploaded to corresponding with described compression/de-compression plug-in unit in described server preservation; Also for sending the browse request carrying described account information to described server, receive the relevant information of described compression/de-compression plug-in unit corresponding to the described account information of described server feedback and described compression/de-compression plug-in unit; Described relevant information, comprises following one or more combination: download time, date of formation, current version information.
According to a further aspect in the invention, provide a kind of client obtaining compression/de-compression plug-in unit, it comprises: data interaction interface, page generation module and user interface, wherein,
Described data interaction interface, for sending the second access request to server thus accessing described server, obtains the compression/de-compression plug-in unit preserved in described server and notifies described page generation module; Described server download request is sent to send described compression/de-compression plug-in unit to ask described server;
Described page generation module, for generating downloading page according to the compression/de-compression plug-in unit preserved in described server;
Described user interface, generates described download request for the compression/de-compression plug-in unit selected in described downloading page according to requestor and sends to described data interaction interface.
Preferably, in one embodiment of this invention, described data interaction interface, is further used for receiving from described server the plug-in unit that described server configures for compression/de-compression plug-in unit that it is preserved and identifies and notify described page generation module; Described server download request is sent to identify corresponding compression/de-compression plug-in unit to ask described server to send with described plug-in unit;
Described page generation module, for generating downloading page according to described plug-in unit mark;
Described user interface, generates download request for the plug-in unit mark selected in described downloading page according to requestor and sends to described data interaction interface.
Preferably, in one embodiment of this invention, described data interaction interface, also for receiving the compression/de-compression plug-in unit of the renewal of described server push and notifying described page generation module;
Described page generation module, when generating downloading page according to the compression/de-compression plug-in unit preserved in described server, also reminds in described downloading page according to the title of the compression/de-compression plug-in unit of the renewal of described server push.
Preferably, in one embodiment of this invention, in described compression/de-compression plug-in unit, be packaged with the compression/de-compression engine independent of operating environment, and described compression/de-compression engine is used for downloading or upgrading configuration.
According to an aspect of the present invention, provide a kind of system configuring compression/de-compression plug-in unit, it comprises: the first client, the second client and server, wherein,
Described first client, for sending the first access request to server thus accessing described server, the data standard of described server environment support and the calling interface for loading the compression/de-compression engine configured in described server is obtained from described server, relevant information according to described data standard and calling interface generates the exploitation page, receive data adapted with described data standard that requestor inputs in the described exploitation page and the calling interface corresponding to compression/de-compression engine selected in the described exploitation page of requestor, and described data and calling interface are uploaded in described server generate compression/de-compression plug-in unit and preserve,
Described second client, for sending the second access request to described server thus accessing described server, generate downloading page according to the compression/de-compression plug-in unit preserved in described server, generate download request according to the compression/de-compression plug-in unit that requestor is selected in described downloading page and send to described server to send described compression/de-compression plug-in unit to ask described server;
Described server, is configured with the data standard of described server environment support and the calling interface for loading the compression/de-compression engine configured in described server; The data adapted with described data standard sent according to described first client and the calling interface corresponding to selected compression/de-compression engine generate compression/de-compression plug-in unit and preserve, and the download request sent according to described second client sends the described compression/de-compression plug-in unit of its request to described second client.
In the present invention, during the compression/de-compression plug-in unit of corresponding data specification and data-interface is uploaded onto the server by plug-in card configuration client by the calling interface of the compression/de-compression engine configured in the data standard supported based on server and server, download for obtaining the client of plug-in unit, thus make to complete efficiently between developer and user the task such as exploitation, maintenance, control and download will gone separately plug-in unit.
Accompanying drawing explanation
Accompanying drawing described herein is used to provide a further understanding of the present invention, forms a part of the present invention, and schematic description and description of the present invention, for explaining the present invention, does not form inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is a kind of method flow diagram configuring compression/de-compression plug-in unit described in one embodiment of the invention;
Fig. 2 is the flow chart tested based on virtual environment configuration compression/de-compression plug-in unit and debug described in one embodiment of the invention;
Fig. 3 is the flow chart tested based on true environment configuration compression/de-compression plug-in unit and debug described in one embodiment of the invention;
Fig. 4 is the client terminal structure block diagram of the configuration compression/de-compression plug-in unit described in one embodiment of the invention;
Fig. 5 is another structured flowchart of client configuring compression/de-compression plug-in unit described in one embodiment of the invention;
Fig. 6 is the client terminal structure block diagram obtaining compression/de-compression plug-in unit described in one embodiment of the invention;
Fig. 7 is the system architecture diagram obtaining configuration compression/de-compression plug-in unit described in one embodiment of the invention.
Embodiment
Graphic and embodiment below will be coordinated to describe embodiments of the present invention in detail, by this to the present invention how application technology means solve technical problem and the implementation procedure reaching technology effect can fully understand and implement according to this.
In following embodiment of the present invention, during the compression/de-compression plug-in unit of corresponding data specification and data-interface is uploaded onto the server by plug-in card configuration client by the calling interface of the compression/de-compression engine configured in the data standard supported based on server and server, download for obtaining the client of plug-in unit, thus make to complete efficiently between developer and user the task such as exploitation, maintenance, control and download will gone separately plug-in unit.
As shown in Figure 1, be a kind of method flow diagram configuring compression/de-compression plug-in unit described in one embodiment of the invention, it can comprise:
Step S11, server receive the first access request of the first client transmission thus make described first client access described server, and send the data standard of the Environmental Support of described server and the calling interface for loading the compression/de-compression engine configured in described server to described first client;
In the present embodiment, so-called data standard is predefined semanteme (semantic) in the server, such as can pre-define the semanteme that canunload=0 or 1 etc. is similar, be used for representing that specific plug-in can unload at any time.Certainly, the present invention is not limited to this.Described data standard can comprise and instructs developer to write all data towards developer such as code that can be able to be identified by plug-in card configuration system, thus the decompression ability of expanded configuration system, deacclimatize more decompression algorithm under the prerequisite that software code need not be revised.
The environment of described server refers to the environment for various semanteme predefined in decryption specification, and the semanteme meeting data standard in described environment can be identified operation.
In the present embodiment, described calling interface can be, but not limited to: the query interface of initialization interface and anti-initialization interface, compression/de-compression ability, control to comprise startups, stoppings, suspending and the Operation control interface of continuation, compression/decompression parameters interface is set, input need the file destination carrying out compression/de-compression arrange interface, output file path interface is set, collision detection interface, abnormality detection interface, bundling arrange interface etc.
In step S11, in order to can developer corresponding to the compression/de-compression plug-in unit that is downloaded of real-time statistics, described server receives the first access request that described first client sends thus when making described first client access described server, can also carry the account information of described first client in described first access request, this account information can be the login name of requestor, the mailbox, requestor's cell-phone number etc. of requestor.
Step S12, the first client generate the exploitation page according to the relevant information of described data standard and calling interface;
In the present embodiment, the relevant information of described calling interface can be, but not limited to: the quantity of the quantity of calling interface, the name of calling interface, method of calling, calling interface parameter, the type of calling interface parameter, the return value type called.By the relevant information of calling interface, thus facilitate the compatibility of developing plug system, facilitate our upgrading later to plug-in card configuration system simultaneously, such as whole property name of variables, account for several byte, whether have symbol etc.
In order to effectively define calling interface, the backward compatibility of accomplishing plug-in unit as far as possible, ensure that developer is unlikely to through amendment plug-in unit and the backward compatibility and the elasticity that ensure plug-in system, extensibility, COM (Component Object Model) can be adopted to build relation between configuration-system and plug-in unit, thus realize the strong version forward direction of retractility, backwards compatibility is good, configuration-system across development language, the not language that uses of Limit exploitation person, as long as any language conforming to com specification can realize.
The data adapted with described data standard that step S13, described server receive that the requestor of described first client upload inputs in the described exploitation page, obtain the calling interface corresponding to compression/de-compression engine that the requestor of described first client notice is selected in the described exploitation page;
Step S14, described server generate compression/de-compression plug-in unit according to described data and calling interface and preserve;
In the present embodiment, when data described in described server and calling interface generate compression/de-compression plug-in unit, the account information that described first client is sent can also be received, and the described account information of corresponding preservation and described compression/de-compression plug-in unit.
In step S14, based on the consideration of Information Security, security test and the debugging of fixing a breakdown property can also be carried out to the compression/de-compression plug-in unit generated, such as in order to not damage server, a Virtual Space can be marked off separately, carry out testing and debugging in the virtual environment of this Virtual Space; Or carry out testing and debugging in direct real environment on the server, refer to the description of following embodiment two and three.
In addition, can also be packaged with the compression/de-compression engine independent of operating environment in described compression/de-compression plug-in unit, the operation of described like this compression/de-compression plug-in unit relies on the engine of encapsulation, can depart from the platform environment generating described plug-in unit and run; In addition, be also packaged with for the configuration file downloaded or upgrade in described compression/de-compression plug-in unit, described compression/de-compression plug-in unit still independently can be configured upgrading after departing from the platform environment generating described plug-in unit.The exploitation plug-in unit can also being convenient to different developer by above-mentioned two kinds of modes can work in identical platform, some interface abstraction, type is simple, interaction data amount is few question and answer class interface can be configured time simultaneously cross-platform, such as use the counterfoil agent model of com uniqueness, make plug-in unit and plug-in card configuration system can not operate on same computer, multicomputer collaborative work can be expanded to easily.
Certainly, the present invention is not limited to this, and described compression/de-compression plug-in unit also can not encapsulate described compression/de-compression engine and configuration file, but now described compression/de-compression plug-in unit operation and upgrading need rely on the platform environment generating described plug-in unit.
Step S15, described server receive the second access request of the second client transmission thus make described second client access described server;
Step S16, described server send compression/de-compression plug-in unit to described second client to generate downloading page in described second client;
In the present embodiment, server described in step S16 can also be sent as plug-in unit mark extremely described second client that its compression/de-compression plug-in unit preserved configures, and makes described second client generate downloading page according to described plug-in unit mark.
It should be noted that, be convenient to the attribute information understood in time about compression/de-compression plug-in unit, when described second client generates downloading page according to the compression/de-compression plug-in unit sent, can also remind in described downloading page according to the title of the compression/de-compression plug-in unit of the renewal of described server push, thus alert requests person's compression/de-compression plug-in unit has renewal.
Step S17, server receive the download request of the compression/de-compression plug-in unit generation selected in described downloading page according to requestor that described second client is sent, and send described compression/de-compression plug-in unit to described second client.
In the present embodiment, in step S17, described server can receive the download request that the second client generates according to the plug-in unit mark that requestor is selected in described downloading page, and identifies corresponding compression/de-compression plug-in unit to described second client transmission with described plug-in unit.
This plug-in unit mark distributes to corresponding compression/de-compression plug-in unit, for the uniqueness of identification plug, such as represents by 16 bytes, is such as global unique identification (global universal identification is called for short guid).
In an other embodiment of the present invention, on above-mentioned basis embodiment illustrated in fig. 1, in order to the quantity that the compression/de-compression plug-in unit of real-time statistics exploitation is also downloaded by other requester accesses, the method of described configuration compression/de-compression plug-in unit can also comprise: described server can the first client sends described in real-time reception the browse request carrying described account information, sends the relevant information of described compression/de-compression plug-in unit corresponding to described account information and described compression/de-compression plug-in unit and generate browsing pages to described first client in the first client; Particularly, the relevant information of described compression/de-compression plug-in unit can be, but not limited to: download time, date of formation, current version information etc.
The relevant information recorded under any account information is added up, can know that the self-developing plug-in unit of first client upload with this account information is by the situation using other requestors of the second client to download, and be further processed for statistics.Situation about such as being downloaded by other requestors according to plug-in unit calculate the requestor that pay exploitation plug-in unit expense, collect expense that other requestors download etc., thus the splitting glass opaque of plug-in unit is carried out to management and the guiding of specification according to account information and relevant information.
As shown in Figure 2, it is flow chart configuration compression/de-compression plug-in unit tested and debugged based on virtual environment described in one embodiment of the invention, in the present embodiment, based on the consideration of Server Security, isolate separately a Virtual Space, the developer being convenient to plug-in unit tests the compression/de-compression plug-in unit of its exploitation voluntarily, and it can specifically comprise:
Step S21, described server send verification tool to the first client of testing to described compression/de-compression plug-in unit based on virtual operation environment and debugging;
Step S22, described first client according to described verification tool to generate in described server and the described compression/de-compression plug-in unit preserved carries out test based on virtual operation environment and debugging;
Step S23, described server receive the notice of described first client, preserve described compression/de-compression plug-in unit after knowing the test based on virtual operation environment that described compression/de-compression plug-in unit is undertaken by described verification tool and debugging.
In embodiment shown in above-mentioned Fig. 2, the test carried out in virtual environment and debugging can comprise basic functional test, logic testing etc., belong to the channel of add-in developer self testing.
As shown in Figure 3, it is flow chart configuration compression/de-compression plug-in unit tested and debugged based on true environment described in one embodiment of the invention, after plug-in unit have passed the test based on virtual environment shown in Fig. 2 and debugging, the true environment of server is carried out actual test and debugging, and it can specifically comprise:
Step S31, described server receive the request that sends of described first client, carry out test based on real running environment and debugging to described compression/de-compression plug-in unit;
Step S32, to the described compression/de-compression plug-in unit by the described test based on real running environment and debugging arrange checking mark.
This checking mark is legal plug-in unit by testing and debugging for indicating compression/de-compression plug-in unit.Checking mark can be MD5 code (Message Digest Algorithm MD5; Message Digest Algorithm 5); thus the integrity protection of message is provided; breath is transmitted unanimously complete; it should be noted that; this checking identification code is also not limited to MD5, and other identification codes that can play same purpose all can realize the present invention.
When by the real world testing shown in Fig. 3 and debugging, the plug-in unit of test passes is issued in time in developing plug system, and for the plug-in unit of test failure, then test report is issued developer and carry out related amendments.
As shown in Figure 4, it is the client terminal structure block diagram of the configuration compression/de-compression plug-in unit described in one embodiment of the invention, the client 40 of configuration compression/de-compression plug-in unit can specifically comprise: data interaction interface 401, page generation module 402 and user interface 403, wherein
Described data interaction interface 401 is for sending the first access request to server 42 thus accessing described server, from described server, obtain the data standard of described server 42 Environmental Support and notify described page generation module for the calling interface that loads the compression/de-compression engine configured in described server, calling interface corresponding to the compression/de-compression engine that the data adapted with described data standard requestor inputted in the described exploitation page and requestor are selected in the described exploitation page uploads in described server and generates compression/de-compression plug-in unit and preserve,
As previously mentioned, specific aim for the ease of compression/de-compression plug-in unit and corresponding exploitation requestor thereof is added up, when described data interaction interface 401 sends the first access request to described server thus accesses described server, in described first access request, account information can be carried; Meanwhile, when described data and calling interface information upload in described server and generate compression/de-compression plug-in unit by described data interaction interface 401, also described account information is also uploaded to corresponding with described compression/de-compression plug-in unit in described server 42 preservation; Also for sending the browse request carrying described account information to described server 42, receive the relevant information of described compression/de-compression plug-in unit corresponding to the described account information of described server 42 feedback and described compression/de-compression plug-in unit; This relevant information can but be not limited to: download time, date of formation, current version information etc.
In order to use single platform and the cross-platform operation of plug-in unit, the compression/de-compression engine independent of operating environment is packaged with in described compression/de-compression plug-in unit, the operation of described like this compression/de-compression plug-in unit relies on the engine of encapsulation, can depart from the platform environment generating described plug-in unit and run; In addition, be also packaged with for the configuration file downloaded or upgrade in described compression/de-compression plug-in unit, described compression/de-compression plug-in unit still independently can be configured upgrading after departing from the platform environment generating described plug-in unit.Certainly, the present invention is not limited to this, and described compression/de-compression plug-in unit also can not encapsulate described compression/de-compression engine and configuration file, but now described compression/de-compression plug-in unit operation and upgrading need rely on the platform environment generating described plug-in unit.
Described page generation module 402 is for generating the exploitation page according to the relevant information of described data standard and calling interface;
Described user interface 403 is for the calling interface corresponding to the data adapted with described data standard that receive that requestor inputs in the described exploitation page and the compression/de-compression engine selected in the described exploitation page of requestor and notify described data interaction interface 401.
As shown in Figure 5, it is another structured flowchart of client configuring compression/de-compression plug-in unit described in one embodiment of the invention, the client 50 of configuration compression/de-compression plug-in unit can specifically comprise: data interaction interface 501, page generation module 502 and user interface 503, unlike, on above-mentioned basis embodiment illustrated in fig. 4, described data interaction interface 501 can also be used for obtaining from described server 52 verification tool testing to described compression/de-compression plug-in unit and debug based on virtual operation environment and send to checking Executive Module 504; Described checking Executive Module 504 for according to described verification tool to generate in described server 52 and the described compression/de-compression plug-in unit preserved carries out test based on virtual operation environment and debugging.
Whether the verification tool of described test has run-time error for checking compression/de-compression plug-in unit; The verification tool of described debugging for locating the position of described mistake, and analyzes error reason, and prompting is revised thus revised described mistake, continues regression test after correcting mistakes.
In another embodiment of the invention, namely on above-mentioned Fig. 5 basis, in the test and debugging basis of virtual operation environment, increase the test based on true environment and debugging, now, described data interaction interface 501 can also send request to carry out test based on real running environment and debugging to described compression/de-compression plug-in unit to described server, wherein, is set up checking mark by the described compression/de-compression plug-in unit of the described test based on real running environment and debugging.
As shown in Figure 6, it is the client terminal structure block diagram obtaining compression/de-compression plug-in unit described in one embodiment of the invention, the client 60 obtaining compression/de-compression plug-in unit can specifically comprise: data interaction interface 601, page generation module 602 and user interface 603, wherein
Described data interaction interface 601, for sending the second access request to server 62 thus accessing described server, obtains the compression/de-compression plug-in unit of preservation in described server 62 and notifies described page generation module 602; Described server 62 download request is sent to send described compression/de-compression plug-in unit to ask described server.
Described page generation module 602 is for generating downloading page according to the compression/de-compression plug-in unit preserved in described server 62;
Described user interface 603 generates described download request for the compression/de-compression plug-in unit selected in described downloading page according to requestor and sends to described data interaction interface.
On basis embodiment illustrated in fig. 6, in another embodiment of the invention, described data interaction interface 61 is further used for receiving from described server the plug-in unit that described server configures for compression/de-compression plug-in unit that it is preserved and identifies and notify described page generation module; Described server download request is sent to identify corresponding compression/de-compression plug-in unit to ask described server to send with described plug-in unit;
Described page generation module 62 is further used for generating downloading page according to described plug-in unit mark;
The plug-in unit mark that described user interface 63 is further used for according to requestor is selected in described downloading page generates download request and sends to described data interaction interface.
On basis embodiment illustrated in fig. 6, in another embodiment of the invention, described data interaction interface 61 is also for receiving the compression/de-compression plug-in unit of the renewal of described server push and notifying described page generation module; When described page generation module 62 is further used for generating downloading page according to the compression/de-compression plug-in unit preserved in described server, the renewal information of the compression/de-compression plug-in unit also upgraded according to the generation of described server push is reminded in described downloading page; Described renewal information, includes but not limited to: the plug-in unit mark configured for described compression/de-compression plug-in unit and/or the title of described compression/de-compression plug-in unit and/or the performance specification of described compression/de-compression plug-in unit.
As shown in Figure 7, be the system architecture diagram obtaining configuration compression/de-compression plug-in unit described in one embodiment of the invention, it can comprise: the first client 71, second client 72 and server 73, wherein,
Described first client 71 is for sending the first access request to server thus accessing described server, the data standard of described server environment support and the calling interface for loading the compression/de-compression engine configured in described server is obtained from described server, relevant information according to described data standard and calling interface generates the exploitation page, receive data adapted with described data standard that requestor inputs in the described exploitation page and the calling interface corresponding to compression/de-compression engine selected in the described exploitation page of requestor, and described data and calling interface are uploaded in described server generate compression/de-compression plug-in unit and preserve,
Described second client 72 is for sending the second access request to described server 73 thus accessing described server, generate downloading page according to the compression/de-compression plug-in unit preserved in described server 73, generate download request according to the compression/de-compression plug-in unit that requestor is selected in described downloading page and send to described server to send described compression/de-compression plug-in unit to ask described server 73;
Described server 73 is configured with the data standard of described server environment support and the calling interface for loading the compression/de-compression engine configured in described server; The data adapted with described data standard sent according to described first client 71 and the calling interface corresponding to selected compression/de-compression engine generate compression/de-compression plug-in unit and preserve, and the download request sent according to described second client 72 sends the described compression/de-compression plug-in unit of its request to described second client 72.
All parts embodiment of the present invention with hardware implementing, or can realize with the software module run on one or more processor, or realizes with their combination.It will be understood by those of skill in the art that the some or all functions that microprocessor or digital signal processor (DSP) can be used in practice to realize some or all parts according to the above embodiment of the present invention.The present invention can also be embodied as part or all equipment for performing method as described herein or device program (such as, computer program and computer program).Realizing program of the present invention and can store on a computer-readable medium like this, or the form of one or more signal can be had.Such signal can be downloaded from internet website and obtain, or provides on carrier signal, or provides with any other form.
Alleged herein " embodiment ", " embodiment " or " one or more embodiment " means, the special characteristic in conjunction with the embodiments described, structure or characteristic comprise at least one embodiment of the present invention.In addition, note that the word example of " in one embodiment " here not necessarily refers to same embodiment entirely.
In specification provided herein, describe a large amount of detail.But can understand, embodiments of the invention can be put into practice when not having these details.In some instances, be not shown specifically known method, structure and technology, so that not fuzzy understanding of this description.
The present invention will be described instead of limit the invention to it should be noted above-described embodiment, and those skilled in the art can design alternative embodiment when not departing from the scope of claims.In the claims, any reference symbol between bracket should be configured to limitations on claims.Word " comprises " not to be got rid of existence and does not arrange element in the claims or step.Word "a" or "an" before being positioned at element is not got rid of and be there is multiple such element.The present invention can by means of including the hardware of some different elements and realizing by means of the computer of suitably programming.In the unit claim listing some devices, several in these devices can be carry out imbody by same hardware branch.Word first, second and third-class use do not represent any order.Can be title by these word explanations.
In addition, shall also be noted that the language used in this specification is mainly in order to object that is readable and instruction is selected, instead of select to explain or limiting theme of the present invention.Therefore, when not departing from the scope and spirit of appended claims, many modifications and changes are all apparent for those skilled in the art.For scope of the present invention, be illustrative to disclosing of doing of the present invention, and nonrestrictive, and scope of the present invention is defined by the appended claims.

Claims (18)

1. configure a method for compression/de-compression plug-in unit, it is characterized in that, comprising:
Server sends the data standard of the Environmental Support of described server to the first client and the calling interface for loading the compression/de-compression engine configured in described server generates the exploitation page to make the first client according to the relevant information of described data standard and calling interface, the data adapted with described data standard that described server receives that the requestor of described first client upload inputs in the described exploitation page, and the calling interface corresponding to compression/de-compression engine that the requestor obtaining described first client notice is selected in the described exploitation page, generate compression/de-compression plug-in unit according to described data and calling interface and preserve,
Described server sends compression/de-compression plug-in unit to generate downloading page in described second client to the second client, described server receives the download request of the compression/de-compression plug-in unit generation selected in described downloading page according to requestor that described second client is sent, and sends described compression/de-compression plug-in unit to described second client.
2. the method for claim 1, is characterized in that,
Described calling interface, comprises one or more combination following: the query interface of initialization interface and anti-initialization interface, compression/de-compression ability, control to comprise startups, stoppings, suspending and the Operation control interface of continuation, compression/decompression parameters interface is set, input need the file destination carrying out compression/de-compression arrange interface, output file path interface is set, collision detection interface, abnormality detection interface, bundling arrange interface;
The relevant information of described calling interface, comprises one or more combination following: the quantity of the quantity of calling interface, the name of calling interface, method of calling, calling interface parameter, the type of calling interface parameter, the return value type called.
3. the method for claim 1, it is characterized in that, the data adapted with described data standard that described server receives that the requestor of described first client upload inputs in the described exploitation page, and the calling interface corresponding to compression/de-compression engine that the requestor obtaining described first client notice is selected in the described exploitation page, generate compression/de-compression plug-in unit according to described data and calling interface and preserve, comprising further:
After described server generates compression/de-compression plug-in unit according to described data and calling interface, verification tool that described compression/de-compression plug-in unit is tested and debugged based on virtual operation environment is sent to make described first client according to described verification tool to generate in described server and the described compression/de-compression plug-in unit preserved carries out test based on virtual operation environment and debugging to described first client, described server receives the notice of described first client, described compression/de-compression plug-in unit is preserved after knowing the test based on virtual operation environment that described compression/de-compression plug-in unit is undertaken by described verification tool and debugging.
4. method as claimed in claim 3, is characterized in that,
After described server preserves described compression/de-compression plug-in unit, also receive the request that the first client sends, test based on real running environment and debugging are carried out to described compression/de-compression plug-in unit, wherein, checking mark is set up by the described compression/de-compression plug-in unit of the described test based on real running environment and debugging.
5. the method for claim 1, is characterized in that,
Described server receives the first access request of described first client transmission thus when making described first client access described server, carries the account information of described first client in described first access request;
When described server generates compression/de-compression plug-in unit according to described data and calling interface, also receive the account information also described account information of corresponding preservation and the described compression/de-compression plug-in unit of described first client upload;
Described server receives the browse request carrying described account information that described first client sends, and the described compression/de-compression plug-in unit corresponding to account information described in described first client feedback and the relevant information of described compression/de-compression plug-in unit also generate browsing pages in the first client; Described relevant information, comprises following one or more combination: download time, date of formation, current version information.
6. the method for claim 1, is characterized in that,
The plug-in unit mark that the compression/de-compression plug-in unit that described server is sent as preservation to described second client configures generates downloading page to make described second client according to described plug-in unit mark, described server receives the download request that the second client generates according to the plug-in unit mark that requestor is selected in described downloading page, and identifies corresponding compression/de-compression plug-in unit to described second client transmission with described plug-in unit.
7. the method for claim 1, is characterized in that,
When described server sends compression/de-compression plug-in unit to generate downloading page in described second client to described second client, also push there is the compression/de-compression plug-in unit upgraded renewal information to described second client to remind in described downloading page;
Described renewal information, comprising: the plug-in unit mark configured for described compression/de-compression plug-in unit and/or the title of described compression/de-compression plug-in unit and/or the performance specification of described compression/de-compression plug-in unit.
8. the method according to any one of claim 1-7, is characterized in that,
The compression/de-compression engine independent of operating environment is packaged with in described compression/de-compression plug-in unit; And/or,
Also be packaged with for the configuration file downloaded or upgrade in described compression/de-compression plug-in unit.
9. configure a client for compression/de-compression plug-in unit, it is characterized in that, comprising: data interaction interface, page generation module and user interface, wherein,
Described data interaction interface, for obtaining the data standard of described server environment support and notify described page generation module for the calling interface that loads the compression/de-compression engine configured in described server from server, the data adapted with described data standard requestor to be inputted in the exploitation page and the calling interface corresponding to compression/de-compression engine selected in the described exploitation page of requestor upload in described server and generate compression/de-compression plug-in unit and preserve;
Described page generation module, for generating the exploitation page according to the relevant information of described data standard and calling interface;
Described user interface, notifies described data interaction interface for the calling interface corresponding to the data adapted with described data standard that receive that requestor inputs in the described exploitation page and the compression/de-compression engine selected in the described exploitation page of requestor.
10. client as claimed in claim 9, is characterized in that,
Described data interaction interface, also for obtaining the verification tool testing to described compression/de-compression plug-in unit and debug based on virtual operation environment and send to checking Executive Module from described server;
Described checking Executive Module, for according to described verification tool to generate in described server and the described compression/de-compression plug-in unit preserved carries out test based on virtual operation environment and debugging.
11. clients as claimed in claim 10, is characterized in that,
Described data interaction interface, also send request to carry out test based on real running environment and debugging to described compression/de-compression plug-in unit to described server, wherein, checking mark is set up by the described compression/de-compression plug-in unit of the described test based on real running environment and debugging.
12. clients as claimed in claim 9, is characterized in that,
Described data interaction interface, sends the first access request to described server thus accesses described server, carries account information in described first access request; Described data and calling interface information are uploaded in described server when generating compression/de-compression plug-in unit, also described account information is also uploaded to corresponding with described compression/de-compression plug-in unit in described server preservation; Also for sending the browse request carrying described account information to described server, receive the relevant information of described compression/de-compression plug-in unit corresponding to the described account information of described server feedback and described compression/de-compression plug-in unit; Described relevant information, comprises following one or more combination: download time, date of formation, current version information.
13. clients as claimed in claim 9, is characterized in that,
Described calling interface, comprises one or more combination following: the query interface of initialization interface and anti-initialization interface, compression/de-compression ability, control to comprise startups, stoppings, suspending and the Operation control interface of continuation, compression/decompression parameters interface is set, input need the file destination carrying out compression/de-compression arrange interface, output file path interface is set, collision detection interface, abnormality detection interface, bundling arrange interface;
The relevant information of described calling interface, comprises one or more combination following: the quantity of the quantity of calling interface, the name of calling interface, method of calling, calling interface parameter, the type of calling interface parameter, the return value type called;
The compression/de-compression engine independent of operating environment is packaged with in described compression/de-compression plug-in unit; And/or, be also packaged with for the configuration file downloaded or upgrade in described compression/de-compression plug-in unit.
14. 1 kinds of clients obtaining compression/de-compression plug-in unit, is characterized in that, comprising: data interaction interface, page generation module and user interface, wherein,
Described data interaction interface, for obtaining the compression/de-compression plug-in unit preserved in server and notifying described page generation module; Described server download request is sent to send described compression/de-compression plug-in unit to ask described server;
Described page generation module, for generating downloading page according to the compression/de-compression plug-in unit preserved in described server;
Described user interface, generates described download request for the compression/de-compression plug-in unit selected in described downloading page according to requestor and sends to described data interaction interface.
15. clients as claimed in claim 14, is characterized in that,
Described data interaction interface, is further used for receiving from described server the plug-in unit that described server configures for compression/de-compression plug-in unit that it is preserved and identifies and notify described page generation module; Described server download request is sent to identify corresponding compression/de-compression plug-in unit to ask described server to send with described plug-in unit;
Described page generation module, for generating downloading page according to described plug-in unit mark;
Described user interface, generates download request for the plug-in unit mark selected in described downloading page according to requestor and sends to described data interaction interface.
16. clients as claimed in claim 14, is characterized in that,
Described data interaction interface, also for receiving the compression/de-compression plug-in unit of the renewal of described server push and notifying described page generation module;
Described page generation module, when generating downloading page according to the compression/de-compression plug-in unit preserved in described server, the renewal information title of the compression/de-compression plug-in unit also upgraded according to the generation of described server push is reminded in described downloading page; Described renewal information, comprising: the plug-in unit mark configured for described compression/de-compression plug-in unit and/or the title of described compression/de-compression plug-in unit and/or the performance specification of described compression/de-compression plug-in unit.
17. clients as claimed in claim 14, is characterized in that,
The compression/de-compression engine independent of operating environment is packaged with in described compression/de-compression plug-in unit; And/or,
Also be packaged with for the configuration file downloaded or upgrade in described compression/de-compression plug-in unit.
18. 1 kinds of systems configuring compression/de-compression plug-in unit, is characterized in that, comprising: the first client, the second client and server, wherein,
Described first client, comprises the client of the configuration compression/de-compression plug-in unit according to any one of claim 9-13;
Described second client, comprises the client of the acquisition compression/de-compression plug-in unit according to any one of claim 14-17;
Described server, is configured with the data standard of described server environment support and the calling interface for loading the compression/de-compression engine configured in described server; The data adapted with described data standard sent according to described first client and the calling interface corresponding to selected compression/de-compression engine generate compression/de-compression plug-in unit and preserve, and the download request sent according to described second client sends the described compression/de-compression plug-in unit of its request to described second client.
CN201310042232.9A 2013-02-01 2013-02-01 A kind of method, client and system configuring compression/de-compression plug-in unit Active CN103152327B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310042232.9A CN103152327B (en) 2013-02-01 2013-02-01 A kind of method, client and system configuring compression/de-compression plug-in unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310042232.9A CN103152327B (en) 2013-02-01 2013-02-01 A kind of method, client and system configuring compression/de-compression plug-in unit

Publications (2)

Publication Number Publication Date
CN103152327A CN103152327A (en) 2013-06-12
CN103152327B true CN103152327B (en) 2015-08-05

Family

ID=48550190

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310042232.9A Active CN103152327B (en) 2013-02-01 2013-02-01 A kind of method, client and system configuring compression/de-compression plug-in unit

Country Status (1)

Country Link
CN (1) CN103152327B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103607702B (en) * 2013-11-15 2018-09-07 上海大汉三通通信股份有限公司 A kind of method and system communicated between different platform in short message service
CN103607468A (en) * 2013-11-29 2014-02-26 深圳市金立通信设备有限公司 Method and terminal for uploading files
CN105260206B (en) * 2015-10-10 2018-10-16 北京京东尚科信息技术有限公司 Data source plug-in implementation method and server
CN108153779B (en) * 2016-12-05 2022-04-05 阿里巴巴集团控股有限公司 Page data delivery information processing method and device
CN106790302B (en) * 2017-03-22 2019-08-20 无锡紫光存储***有限公司 Data ciphering method, data decryption method and system
CN108833355B (en) * 2018-05-21 2020-12-29 深圳云之家网络有限公司 Data processing method, data processing device, computer equipment and computer readable storage medium
CN113094419A (en) * 2021-04-13 2021-07-09 上海携宁计算机科技股份有限公司 Data analysis system, method, client and storage medium
CN114422637B (en) * 2021-12-20 2023-12-29 阿里巴巴(中国)有限公司 Media request processing method and cross-platform engine system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5557749A (en) * 1992-10-15 1996-09-17 Intel Corporation System for automatically compressing and decompressing data for sender and receiver processes upon determination of a common compression/decompression method understood by both sender and receiver processes
US9061207B2 (en) * 2002-12-10 2015-06-23 Sony Computer Entertainment America Llc Temporary decoder apparatus and method
US7809820B2 (en) * 2007-07-17 2010-10-05 Microsoft Corporation Optimizing encrypted wide area network traffic

Also Published As

Publication number Publication date
CN103152327A (en) 2013-06-12

Similar Documents

Publication Publication Date Title
CN103152327B (en) A kind of method, client and system configuring compression/de-compression plug-in unit
CN107450941B (en) Automatic packaging method, device, storage medium and computer equipment
US10268570B2 (en) Methods, systems, and computer readable media for automated generation of test files and testing network equipment using same
CN106294102B (en) Application program testing method, client, server and system
CN105357323A (en) HTML5 page debugging method and device in APP
CN108229112A (en) A kind of operation method and device for protecting application program, application program
CN104536890A (en) Testing system, method and device
CN107797887B (en) Data backup and recovery method and device, storage medium and electronic equipment
US20140298107A1 (en) Dynamic Near Real-Time Diagnostic Data Capture
WO2021164462A1 (en) Data encryption method, data decryption method, computer device, and medium
US20190188010A1 (en) Remote Component Loader
CN104036194A (en) Vulnerability detection method and device for revealing private data in application program
US20190163610A1 (en) Networked digital data processor log file viewer
CN111221546B (en) Map data and map updating method and device, terminal equipment and server
CN113395287B (en) Method and system for recording network attack IP and command execution echo
Cook et al. A survey on industrial control system digital forensics: challenges, advances and future directions
CN113449330B (en) Method for transmitting Javascript encrypted file
JP2013045277A (en) Program obfuscation method and remote debug system
Ye et al. Component failure mitigation according to failure type
US10146529B2 (en) Monitoring rules declaration and automatic configuration of the monitoring rules
CN111107143B (en) Network file transmission detection method, device and system
KR20180047196A (en) Electronic device and method for tracing the history of debugging
KR100975508B1 (en) Method and System for Dynamically Changing Module of Program
CN111061627B (en) Webpage embedding method and device, electronic equipment and storage medium
CN113469740A (en) Advertisement data acquisition method, device, equipment and storage medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20220725

Address after: Room 801, 8th floor, No. 104, floors 1-19, building 2, yard 6, Jiuxianqiao Road, Chaoyang District, Beijing 100015

Patentee after: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Address before: 100088 room 112, block D, 28 new street, new street, Xicheng District, Beijing (Desheng Park)

Patentee before: BEIJING QIHOO TECHNOLOGY Co.,Ltd.

Patentee before: Qizhi software (Beijing) Co.,Ltd.

TR01 Transfer of patent right