CN106874004A - The method and client and server of lowest version software compatibility highest version file - Google Patents

The method and client and server of lowest version software compatibility highest version file Download PDF

Info

Publication number
CN106874004A
CN106874004A CN201710093270.5A CN201710093270A CN106874004A CN 106874004 A CN106874004 A CN 106874004A CN 201710093270 A CN201710093270 A CN 201710093270A CN 106874004 A CN106874004 A CN 106874004A
Authority
CN
China
Prior art keywords
version
software
file
client
lowest
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710093270.5A
Other languages
Chinese (zh)
Other versions
CN106874004B (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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201710093270.5A priority Critical patent/CN106874004B/en
Publication of CN106874004A publication Critical patent/CN106874004A/en
Application granted granted Critical
Publication of CN106874004B publication Critical patent/CN106874004B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

A kind of method of lowest version software compatibility highest version file, including step:Server receives the highest version file that lowest version software client is sent, and recognizes the software version corresponding to the highest version file, and call the software of respective version;Resolver in server by utilizing respective version software parses received highest version file, generates new lowest version file;The lowest version file of generation is sent back the lowest version software client by server.The present invention is also claimed corresponding client, server and system.By the solution of the present invention so that software between different editions can be can realize the compatibility to highest version in compatibility, especially lowest version.

Description

The method and client and server of lowest version software compatibility highest version file
Technical field
The present invention relates to computer software edition compatibility technology, more particularly to a kind of lowest version software compatibility highest version file Method and client and server.
Background technology
With the development of computer software, many softwares are all inevitably constantly upgraded.Some are Little change is influenceed on file structure, the software that may then cause having occurs great variety.Due to personal like, network condition Etc. reason, it is possible to cause the software version between distinct device difference occur.Different versions can be thus caused to exist In user terminal, if user will use software product in multiple equipment, then software version on different devices will be deposited Inconsistent situation.
Difference between this different editions, produces the problem of file compatibility.For example, what lowest version software was preserved out File is lowest version file, and the file that highest version software is preserved out is highest version file, and lowest version software is difficult completely compatible height The file of version.Because the development phase of lowest version software, it is difficult to predict how file format will change, therefore lowest version software It is difficult to process highest version file.
In order to solve this problem, general scheme is that lowest version software chooses the part that can be recognized in highest version file (i.e. the relatively low version file form of highest version file format keeps constant part), abandons parsing can not knowing for highest version file Not part (part that i.e. the relatively low version file form of highest version file format changes).But, parsed in lowest version software high During version file, may lose compared with multi information.
A kind of scheme is provided accordingly, there exist demand so that the software between different editions can be with compatibility, especially low version The compatibility to highest version can be realized in sheet.
The content of the invention
A kind of method of lowest version software compatibility highest version file is the embodiment of the invention provides, for solving different editions Between softwarecompatible problem, comprise the following steps:
Step 1:Server receives the highest version file that lowest version software client is sent, and recognizes that highest version file institute is right The software version answered, and call the software of respective version;
Step 2:Resolver in server by utilizing respective version software parses received highest version file, generates new Lowest version file;
Step 3:The lowest version file of generation is sent back the lowest version software client by server.
Further, all released versions of software are stored on the server.
Further, the software of each version includes a document parser of this version, and all lowest versions text Part resolver.
Further, in step 1, server receives the version information of highest version file from client simultaneously.
The embodiment of the present invention also provides a kind of client for lowest version software compatibility highest version file, including judge and Reminding module, uploading module and receiver module, wherein,
Judge and reminding module is used to judge whether the software version of client to be less than the software version of current file, client When the software version at end is less than the software version of current file, point out to carry out the upload operation of highest version file;
Uploading module is used for highest version files passe to server;
Receiver module is used to receive the converted rear file matched with the client lowest version software from server.
Further, with the client lowest version software after receiver module according to methods described from server reception for changing The file of matching.
Further, the client also includes:
Version informs module, by the software version notification server of client.
The embodiment of the present invention also provides a kind of server for lowest version software compatibility highest version file, including:
Memory module, all released versions of its storage software, the software of wherein each version includes a sheet The document parser of version, and all lowest versions document parser;
Receiver module, receives the highest version file that client is sent;
Identification module, identifies the corresponding software version of this document;
Calling module, calls version software corresponding with the highest version file, using the resolver in the version software The received highest version file of parsing, generates new lowest version file, and the lowest version file for being generated can be by corresponding low version This software is opened;
Sending module, the lowest version software client is sent back by the lowest version file of generation.
Further, the server also includes:
Client software version determining module, it passes through the software version information that client is sended over, determines client Software version.
The system that the embodiment of the present invention also provides a kind of lowest version software compatibility highest version file, including above-mentioned client with And above-mentioned server.
The technical scheme of the embodiment of the present invention is the form set by client and server, using each on server Version software resolver, realizes opening highest version file in lowest version client.Thus, can be more complete by such scheme Ground makes lowest version software compatibility highest version file.
Brief description of the drawings
Fig. 1 is the method flow diagram of the lowest version software compatibility highest version file of the embodiment of the present invention;
Fig. 2 be the embodiment of the present invention method in the schematic diagram of each version software that is stored of server;
Fig. 3 is the system construction drawing of the lowest version software compatibility highest version file of the embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention become more apparent, below in conjunction with specific embodiment, and reference Accompanying drawing, the present invention is described in more detail.But those skilled in the art know, the invention is not limited in accompanying drawing and following reality Apply example.
Referring to the drawings 1,2, all released versions of software are stored on server.For example, in fig. 2, server includes Three issued versions, V1.0, V2.0 and V3.0.Wherein, V1.0 versions are legacy version, and V2.0 versions are time redaction, V3.0 versions are latest edition.The software of each version includes a document parser of this version, and all lowest versions Document parser.Document parser is used for opening the file of storage, the content of storage inside parsing, and according to the content of parsing The element of storage is reduced, user is finally be presented to.In fig. 2, V1.0 versions only include V1.0 resolvers, are included in V2.0 versions V1.0 resolvers and V2.0 resolvers, and V1.0 resolvers and V2.0 resolvers and V3.0 resolvers are included in V3.0 versions.
Then, reference picture 1, realizes the tool of lowest version software compatibility highest version document method during an embodiment of the present invention will be described Body flow.
Step 1:When a client for being provided with lowest version software needs to parse the highest version text of highest version software generation During part, client can be by highest version files passe to server, and by the software version notification server of client.
For example, in a particular embodiment, when the client of V1.0 version softwares needs to parse the file of V2.0 versions, generally In the case of, now because V1.0 versions are relatively low, the file content of the highest version cannot be opened or cannot partly shown to client.This When, during client uploads onto the server this document, meanwhile, inform that the version of current client is V1.0 to server.
Preferably, there can be reminding module in client, when identifying that active client version cannot open file, Prompting client carries out corresponding upload operation.
Step 2:Server receives the highest version file that lowest version software client is sent, and recognizes that highest version file institute is right The software version answered, and call the software of respective version.
Step 3:Resolver in server by utilizing respective version software parses received highest version file, generates new Lowest version file, the lowest version file for being generated can be opened by corresponding lowest version software;
Specifically, server receives transmitting file on the V1.0 versions from client.
After the file of the V2.0 that the client that server receives V1.0 is sent, identify that this document corresponds to V2.0 versions Software.Or, the version information that server is sended over by client, the version for determining client is V1.0.
Then, V2.0 version software of the server calls storage in server.As described above, in server V2.0 editions V1.0 resolvers and V2.0 resolvers are included in this software.Therefore, the software of V2.0 versions is by V2.0 resolvers solution therein The file that analysis is sent, and the file that the information for obtaining saves as V1.0 by the V1.0 resolvers of V2.0 softwares will be parsed.So, Server will just generate the V1.0 file corresponding with V1.0 version clients.
Step 4:The lowest version file of generation sends back server the client of the lowest version software, and client can be with Complete treatment this document.
Specifically, the file of V1.0 is sent to client by server, V1.0 clients can be opened to this document, The operation such as editor.
In a preferred embodiment of the invention, when the client for being provided with V1.0 version softwares needs parsing V3.0 editions During this file, because V1.0 versions are relatively low, so client cannot be opened or partly cannot shown in the file of the highest version Hold, during client need to upload onto the server this document.
Server receives the V3.0 highest version files that V1.0 version software clients are sent, and identifies the highest version file Corresponding software version V3.0, and call the software of V3.0 versions.
Resolver V1.0, resolver V2.0 and resolver V3.0 parsing in server by utilizing V3.0 version softwares is received V3.0 version files, generate new V1.0 version files, the V1.0 version files for being generated can be beaten by V1.0 version softwares Open.
The V1.0 version files of generation send back server the client of the V1.0 version softwares, and the client can be with Received file is opened using V1.0 version softwares, the loss of file content will not occur.
Reference picture 3, the embodiment of the present invention additionally provides a kind of client for lowest version software compatibility highest version file, Including judgement and reminding module, uploading module and receiver module, wherein:
Judge and reminding module is used to judge whether the software version of client to be less than the software version of current file, client When the software version at end is less than the software version of current file, point out to carry out the upload operation of highest version file;
Uploading module is used for highest version files passe to server;
Receiver module is used to receive the converted rear file matched with the client lowest version software from server.
Further, client also informs module including version, by the software version notification server of client.
By the client, the highest version file that user can will be unable to parsing is uploaded in time, by server to highest version File is parsed, the file that generation is matched with the lowest version software in client, client is returned to, so as to solve version high The problem that presents cannot all show in lowest version software, operate.
The embodiment of the present invention additionally provides a kind of server for lowest version software compatibility highest version file, including:
Memory module, all released versions of its storage software, the software of wherein each version includes a sheet The document parser of version, and all lowest versions document parser;
Receiver module, receives the highest version file that client is sent;
Identification module, identifies the corresponding software version of this document;
Client software version determining module, it passes through the software version information that client is sended over, determines client Version.
Calling module, calls version software corresponding with the highest version file, using the resolver in the version software The received highest version file of parsing, generates new lowest version file, and the lowest version file for being generated can be by corresponding low version This software is opened;
Sending module, the lowest version software client is sent back by the lowest version file of generation.
Additionally, above-mentioned client and server collectively forms a system, it can effectively realize lowest version software to height The compatibility of version file.
Represent in flow charts or logic and/or step described otherwise above herein, for example, being considered use In the order list of the executable instruction for realizing logic function, in may be embodied in any computer-readable medium, for Instruction execution system, device or equipment (such as computer based system, including the system of processor or other can be held from instruction The system of row system, device or equipment instruction fetch and execute instruction) use, or with reference to these instruction execution systems, device or set It is standby and use.For the purpose of this specification, " computer-readable medium " can any can be included, store, communicate, propagate or pass The dress that defeated program is used for instruction execution system, device or equipment or with reference to these instruction execution systems, device or equipment Put.
The more specifically example (non-exhaustive list) of computer-readable medium includes following:With one or more wirings Electrical connection section (electronic installation), portable computer diskette box (magnetic device), random access memory (RAM), read-only storage (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device, and portable optic disk is read-only deposits Reservoir (CDROM).In addition, computer-readable medium can even is that the paper that can thereon print described program or other are suitable Medium, because optical scanner for example can be carried out by paper or other media, then enters edlin, interpretation or if necessary with it His suitable method is processed electronically to obtain described program, is then stored in computer storage.
It should be appreciated that each several part of the invention can be realized with hardware, software, firmware or combinations thereof.Above-mentioned In implementation method, the software that multiple steps or method can in memory and by suitable instruction execution system be performed with storage Or firmware is realized.If for example, realized with hardware, and in another embodiment, can be with well known in the art Any one of row technology or their combination are realized:With the logic gates for realizing logic function to data-signal Discrete logic, the application specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA), scene Programmable gate array (FPGA) etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show The description of example " or " some examples " etc. means to combine specific features, structure, material or spy that the embodiment or example are described Point is contained at least one embodiment of the invention or example.In this manual, to the schematic representation of above-mentioned term not Necessarily refer to identical embodiment or example.And, the specific features of description, structure, material or feature can be any One or more embodiments or example in combine in an appropriate manner.
More than, embodiments of the present invention are illustrated.But, the present invention is not limited to above-mentioned implementation method.It is all Within the spirit and principles in the present invention, any modification, equivalent substitution and improvements done etc., should be included in guarantor of the invention Within the scope of shield.

Claims (10)

1. the method for a kind of lowest version software compatibility highest version file, it is characterised in that comprise the following steps:
Step 1:Server receives the highest version file that lowest version software client is sent, and recognizes corresponding to the highest version file Software version, and call the software of respective version;
Step 2:Resolver in server by utilizing respective version software parses received highest version file, generates new low version Presents;
Step 3:The lowest version file of generation is sent back the lowest version software client by server.
2. the method for claim 1, it is characterised in that:All released versions of software are stored on the server.
3. method as claimed in claim 2, it is characterised in that:The software of each version includes a file of this version Resolver, and all lowest versions document parser.
4. the method for claim 1, it is characterised in that:In step 1, server receives highest version text from client simultaneously The version information of part.
5. a kind of client for lowest version software compatibility highest version file, it is characterised in that:Including judge and reminding module, Uploading module and receiver module, wherein,
Judge and reminding module is used to judge whether the software version of client to be less than the software version of current file, client When software version is less than the software version of current file, point out to carry out the upload operation of highest version file;
Uploading module is used for highest version files passe to server;
Receiver module is used to receive the converted rear file matched with the client lowest version software from server.
6. client as claimed in claim 5, it is characterised in that receiver module is used to be received according to claim from server The file matched with the client lowest version software after the conversion of one of 1-4 methods describeds.
7. the client as described in claim 5 or 6, it is characterised in that also include:
Version informs module, by the software version notification server of client.
8. a kind of server for lowest version software compatibility highest version file, it is characterised in that including:
Memory module, all released versions of its storage software, the software of wherein each version includes this version Document parser, and all lowest versions document parser;
Receiver module, receives the highest version file that client is sent;
Identification module, identifies the corresponding software version of this document;
Calling module, calls version software corresponding with the highest version file, is parsed using the resolver in the version software The highest version file for being received, generates new lowest version file, and the lowest version file for being generated can be soft by corresponding lowest version Part is opened;
Sending module, the lowest version software client is sent back by the lowest version file of generation.
9. server as claimed in claim 8, it is characterised in that also include:
Client software version determining module, it passes through the software version information that client is sended over, and determines the soft of client Part version.
10. the system of a kind of lowest version software compatibility highest version file, it is characterised in that:Including such as one of claim 5-7 institutes The client stated and server as claimed in claim 8 or 9.
CN201710093270.5A 2017-02-21 2017-02-21 Method for enabling low-version software to be compatible with high-version file, client and server Active CN106874004B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710093270.5A CN106874004B (en) 2017-02-21 2017-02-21 Method for enabling low-version software to be compatible with high-version file, client and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710093270.5A CN106874004B (en) 2017-02-21 2017-02-21 Method for enabling low-version software to be compatible with high-version file, client and server

Publications (2)

Publication Number Publication Date
CN106874004A true CN106874004A (en) 2017-06-20
CN106874004B CN106874004B (en) 2020-08-21

Family

ID=59167524

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710093270.5A Active CN106874004B (en) 2017-02-21 2017-02-21 Method for enabling low-version software to be compatible with high-version file, client and server

Country Status (1)

Country Link
CN (1) CN106874004B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108897570A (en) * 2018-06-20 2018-11-27 大国创新智能科技(东莞)有限公司 Version compatibility method and robot system based on cloud computing and artificial intelligence
CN110119562A (en) * 2019-05-06 2019-08-13 广联达科技股份有限公司 A kind of management method, equipment and the system of model component file

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030182450A1 (en) * 2002-03-05 2003-09-25 Ong Herbert T. Generic Infrastructure for converting documents between formats with merge capabilities
US20040216133A1 (en) * 2002-09-27 2004-10-28 Roush Ellard T. Software upgrades with multiple version support
CN101165682A (en) * 2006-10-20 2008-04-23 北京北大方正电子有限公司 Document file processing method and system
CN101685394A (en) * 2008-09-26 2010-03-31 国际商业机器公司 Method and device for providing inter-version document compatibility
US20130047136A1 (en) * 2011-08-15 2013-02-21 International Business Machines Corporation Automatic Selection of Lowest Configuration Feature Level by Functionality Exploited

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030182450A1 (en) * 2002-03-05 2003-09-25 Ong Herbert T. Generic Infrastructure for converting documents between formats with merge capabilities
US20040216133A1 (en) * 2002-09-27 2004-10-28 Roush Ellard T. Software upgrades with multiple version support
CN101165682A (en) * 2006-10-20 2008-04-23 北京北大方正电子有限公司 Document file processing method and system
CN101685394A (en) * 2008-09-26 2010-03-31 国际商业机器公司 Method and device for providing inter-version document compatibility
US20130047136A1 (en) * 2011-08-15 2013-02-21 International Business Machines Corporation Automatic Selection of Lowest Configuration Feature Level by Functionality Exploited

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杨鑫芳: "搞定文档不兼容问题的三招式", 《电脑知识与技术》 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108897570A (en) * 2018-06-20 2018-11-27 大国创新智能科技(东莞)有限公司 Version compatibility method and robot system based on cloud computing and artificial intelligence
CN110119562A (en) * 2019-05-06 2019-08-13 广联达科技股份有限公司 A kind of management method, equipment and the system of model component file
CN110119562B (en) * 2019-05-06 2023-06-16 广联达科技股份有限公司 Method, equipment and system for managing model component files

Also Published As

Publication number Publication date
CN106874004B (en) 2020-08-21

Similar Documents

Publication Publication Date Title
CN109347934B (en) Message pushing method and system, server, storage medium and electronic device
CN104508689B (en) A kind of Quick Response Code processing method and terminal
CN104023021A (en) File transfer method and file transfer device
CN107342083B (en) Method and apparatus for providing voice service
US20160050128A1 (en) System and Method for Facilitating Communication with Network-Enabled Devices
CN109168091A (en) Company's wheat method, apparatus, equipment and storage medium in a kind of direct broadcasting room
CN102779071A (en) Method, device and system for calling software interface
CN109861904A (en) Nametags display methods and device
CN109660858A (en) Transmission method, device, terminal and the server of direct broadcasting room interaction data
CN106897153A (en) Call the method and system of API
CN107484016A (en) Video dubs switching method, television set and computer-readable recording medium
CN108989365B (en) Information processing method, server, terminal equipment and storage medium
CN106874004A (en) The method and client and server of lowest version software compatibility highest version file
US7086051B2 (en) Method and apparatus for just-in-time provisioning application-related information at a communication device
CN114816623A (en) Embedded interface rendering and communication system based on CEF kernel and UnrealEngine end
CN109787789B (en) Compatibility management method, device and equipment for software upgrading and storage medium
CN106454403A (en) Data display method, equipment and data display system
CN113282590A (en) Interface joint debugging method and device based on 5G message
CN110213310B (en) Method, device and storage medium for acquiring path of network service
CN107608722B (en) Application program downloading method and device
US20100161836A1 (en) Method port arrangement and configuration method thereof for robot software component
CN113114557B (en) Message sending method and device, electronic equipment and storage medium
CN111459819B (en) Software testing method and device, electronic equipment and computer readable medium
US20150242176A1 (en) Determining optimal rendering systems
CN114625458A (en) Page data processing method and device, electronic equipment and storage medium

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
GR01 Patent grant
GR01 Patent grant