CN109901831A - The multi-platform compatibility operation method and compatibility operation device of software - Google Patents

The multi-platform compatibility operation method and compatibility operation device of software Download PDF

Info

Publication number
CN109901831A
CN109901831A CN201910059163.XA CN201910059163A CN109901831A CN 109901831 A CN109901831 A CN 109901831A CN 201910059163 A CN201910059163 A CN 201910059163A CN 109901831 A CN109901831 A CN 109901831A
Authority
CN
China
Prior art keywords
software
program
platform
alpha
test
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
CN201910059163.XA
Other languages
Chinese (zh)
Other versions
CN109901831B (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.)
Chengdu Suian Security Network Technology Co Ltd
Original Assignee
Chengdu Suian Security Network Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Chengdu Suian Security Network Technology Co Ltd filed Critical Chengdu Suian Security Network Technology Co Ltd
Priority to CN201910059163.XA priority Critical patent/CN109901831B/en
Publication of CN109901831A publication Critical patent/CN109901831A/en
Application granted granted Critical
Publication of CN109901831B publication Critical patent/CN109901831B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

The invention discloses the multi-platform compatibility operation method and compatibility operation mode of a kind of software, the compatibility operation method includes: the alpha software for obtaining and writing according to preset requirement;It carries out the test of multiple and different platforms to the alpha software, and obtains test result corresponding with each platform;Incompatible program of the alpha software in the multiple different platform is obtained based on the test result;Replacement program corresponding with the incompatible program is obtained, and based on the replacement Program Generating compliant Version software;Run the compliant Version software.The invention also discloses a kind of multi-platform compatibility operation devices of software.By the replacement program that incompatible program is added in existing software package, so that the software of exploitation can be compatible with all application platforms, overlapping development work is effectively prevented, the development amount of technical staff is greatly reduced, it improves work efficiency, improves the performance of enterprises and enterprise competitiveness.

Description

The multi-platform compatibility operation method and compatibility operation device of software
Technical field
The present invention relates to software compatibility fields, the multi-platform compatibility operation method and software more particularly to a kind of software Multi-platform compatibility operation device.
Background technique
With the continuous development of the network information technology, the software requirement applied to different technologies field is developed, by This further promotes constantly bringing forth new ideas and developing for software development technique, wherein just including constantly bringing forth new ideas and sending out for development language Exhibition.
Development language is C language by initial machine language development, and develop in turn applied to different technologies field with And the development language that different coding requires, and correspond to and produce different exploitation environment.Such as the common browsing in life Device just includes a variety of browser kernels, and the corresponding browser rendering mode of every kind of browser kernel is all different, therefore causes not It can not be shared in different browser kernels with development language, if the software application that will directly be developed in a certain application platform To other different application platforms, then software can be caused to be unable to operate normally because of there are compatibility issue.
In order to solve the above-mentioned technical problem, traditional Internet company is often to be directed to different application platform development differences Software so that can use in different application platforms with the software of said function, but will cause a large amount of people in this way The consumption of power material resources, while a large amount of repeated work is generated, working efficiency is greatly reduced, operation cost of enterprises is increased.And If not developing different software, the market share that can lose corresponding platform (such as only develops Android system software without holding Send out apple system software), the competitiveness of enterprise is greatly reduced, the performance of enterprises is reduced.
Summary of the invention
It is led to overcome the software developed on single application platform in the prior art that can not be compatible with other application platform The technical problem that development efficiency is low, development cost is high and the market competitiveness is low is caused, the embodiment of the present invention provides a kind of soft The multi-platform compatibility operation method of part and a kind of multi-platform compatibility operation device of software, by being added not in existing software package The replacement program of compatible program effectively prevents repeating to open so that the software of exploitation can be compatible with all application platforms Work is sent out, the development amount of technical staff is greatly reduced, improves work efficiency, improve the performance of enterprises and competition among enterprises Power.
To achieve the goals above, the embodiment of the present invention provides a kind of multi-platform compatibility operation method of software, described simultaneous Holding operation method includes: the alpha software for obtaining and writing according to preset requirement;Multiple and different platforms are carried out to the alpha software Test, and obtain test result corresponding with each platform;The alpha software is obtained based on the test result to exist Incompatible program in the multiple different platform;Replacement program corresponding with the incompatible program is obtained, and described in being based on Replace Program Generating compliant Version software;Run the compliant Version software.
Preferably, the test that multiple platforms are carried out to the alpha software, and obtain corresponding with each platform Test result, comprising: obtain the test platform type of current platform;The alpha software is tested on current platform Operation, and obtain test run result;If the test run result is normal operation, it is determined that the alpha software is current On platform can compatibility operation, and by compatible test result of the operation as current platform;If the test run result is It is operating abnormally, then obtains the abnormal function module that the alpha software is operating abnormally on current platform, and by non-compatible operation Test result as current platform.
It is preferably, described that based on the test result to obtain the alpha software not simultaneous in the multiple different platform Hold program, comprising: if the test result is non-compatible operation, judge that the current of program is write in the abnormal function module Whether method meets the specific write method of program in the test platform type;If the current write method meets the spy It delimits the organizational structure write method, it is determined that the corresponding program of the abnormal function module is general abnormal program;If the current write method The specific write method is not met, it is determined that the corresponding program of the abnormal function module is incompatible program.
Preferably, acquisition replacement program corresponding with the incompatible program, and based on the replacement Program Generating Compliant Version software, comprising: corresponding replacement program is obtained based on the incompatible program, the replacement program is according to the spy The program that write method of delimiting the organizational structure is write;The replacement program is packaged with the alpha software, and generates compliant Version software.
Preferably, the operation compliant Version software, comprising: obtain the actual platform type of current platform;Judge institute Whether state in compliant Version software includes replacement program corresponding with the actual platform type;If not wrapped in the compliant Version software Replacement program corresponding with the actual platform type is included, then directly runs the compliant Version software;If the compliant Version software In include that replacement program corresponding with the actual platform type will be run then during running the compliant Version software The abnormal function module replaces with the operation replacement program.
Correspondingly, the present invention also provides a kind of multi-platform compatibility operation device of software, the compatibility operation device includes: Processor is used for: obtaining the alpha software write according to preset requirement;The survey of multiple and different platforms is carried out to the alpha software Examination, and obtain test result corresponding with each platform;The alpha software is obtained described based on the test result Incompatible program in multiple and different platforms;Replacement program corresponding with the incompatible program is obtained, and based on the replacement Program Generating compliant Version software;Run the compliant Version software.
Preferably, the test that multiple platforms are carried out to the alpha software, and obtain corresponding with each platform Test result, comprising: obtain the test platform type of current platform;The alpha software is tested on current platform Operation, and obtain test run result;If the test run result is normal operation, it is determined that the alpha software is current On platform can compatibility operation, and by compatible test result of the operation as current platform;If the test run result is It is operating abnormally, then obtains the abnormal function module that the alpha software is operating abnormally on current platform, and by non-compatible operation Test result as current platform.
It is preferably, described that based on the test result to obtain the alpha software not simultaneous in the multiple different platform Hold program, comprising: if the test result is non-compatible operation, judge that the current of program is write in the abnormal function module Whether method meets the specific write method of program in the test platform type;If the current write method meets the spy It delimits the organizational structure write method, it is determined that the corresponding program of the abnormal function module is general abnormal program;If the current write method The specific write method is not met, it is determined that the corresponding program of the abnormal function module is incompatible program.
Preferably, acquisition replacement program corresponding with the incompatible program, and based on the replacement Program Generating Compliant Version software, comprising: corresponding replacement program is obtained based on the incompatible program, the replacement program is according to the spy The program that write method of delimiting the organizational structure is write;The replacement program is packaged with the alpha software, and generates compliant Version software.
Preferably, the operation compliant Version software, comprising: obtain the actual platform type of current platform;Judge institute Whether state in compliant Version software includes replacement program corresponding with the actual platform type;If not wrapped in the compliant Version software Replacement program corresponding with the actual platform type is included, then directly runs the compliant Version software;If the compliant Version software In include that replacement program corresponding with the actual platform type will be run then during running the compliant Version software The abnormal function module replaces with the operation replacement program.
The technical solution provided through the invention, the present invention at least have the following technical effect that
By carrying out compatibility test to software first, and according to test result existing in the development process of software The replacement program of incompatible program is added in software package, so that the software developed on single application platform can be also compatible with All application platforms develop corresponding software version to each application platform without technical staff, thus effectively Overlapping development work is avoided, the development amount of technical staff is greatly reduced, improves work efficiency, improve enterprise Benefit and enterprise competitiveness.
The other feature and advantage of the embodiment of the present invention will the following detailed description will be given in the detailed implementation section.
Detailed description of the invention
Attached drawing is to further understand for providing to the embodiment of the present invention, and constitute part of specification, under The specific embodiment in face is used to explain the present invention embodiment together, but does not constitute the limitation to the embodiment of the present invention.Attached In figure:
Fig. 1 is the specific implementation flow chart of the multi-platform compatibility operation method of software provided in an embodiment of the present invention.
Specific embodiment
It is led to overcome the software developed on single application platform in the prior art that can not be compatible with other application platform The technical problem that development efficiency is low, development cost is high and the market competitiveness is low is caused, the embodiment of the present invention provides a kind of soft The multi-platform compatibility operation method of part and a kind of multi-platform compatibility operation device of software, by being added not in existing software package The replacement program of compatible program effectively prevents repeating to open so that the software of exploitation can be compatible with all application platforms Work is sent out, the development amount of technical staff is greatly reduced, improves work efficiency, improve the performance of enterprises and competition among enterprises Power.
It is described in detail below in conjunction with specific embodiment of the attached drawing to the embodiment of the present invention.It should be understood that this Locate described specific embodiment and be merely to illustrate and explain the present invention embodiment, is not intended to restrict the invention embodiment.
Term " system " and " network " in the embodiment of the present invention can be used interchangeably." multiple " refer to two or two with On, in consideration of it, " multiple " can also be interpreted as " at least two " in the embodiment of the present invention."and/or" describes affiliated partner Incidence relation indicates may exist three kinds of relationships, for example, A and/or B, can indicate: individualism A exists simultaneously A and B, single Solely there are these three situations of B.In addition, character "/", unless otherwise specified, typicallying represent forward-backward correlation object is a kind of "or" Relationship.In addition, it is necessary to understand, in the description of the embodiment of the present invention, the vocabulary such as " first ", " second " are only used for distinguishing The purpose of description, is not understood to indicate or imply relative importance, can not be interpreted as indication or suggestion sequence.
Referring to Figure 1, the embodiment of the present invention provides a kind of multi-platform compatibility operation method of software, the compatibility operation side Method includes:
S10 the alpha software write according to preset requirement) is obtained;
S20 it) carries out the test of multiple and different platforms to the alpha software, and obtains survey corresponding with each platform Test result;
S30 incompatible program of the alpha software in the multiple different platform) is obtained based on the test result;
S40 replacement program corresponding with the incompatible program) is obtained, and it is soft to be based on the replacement Program Generating compliant Version Part;
S50 the compliant Version software) is run.
In a kind of possible embodiment, technical staff needs to have developed a software according to market, and at Corresponding alpha software, it is preferable that in embodiments of the present invention, the alpha software is first to be write using JavaScript language Version software, after the completion of exploitation, technical staff tests the alpha software in different platform, such as technical staff is a Some software is had developed with JavaScript language on people's computer, then using Android system as the mobile terminal of operating system On browser in tested, and obtain operating condition of the alpha software on Android system, such as in the process of running Technical staff has found there are the abnormal conditions that are unable to operate normally, therefore records all abnormal conditions and as test result, Then technical staff checks alpha software according to the test result, and to the corresponding program code of each abnormal conditions into Row is verified and is compared, and when discovery, some abnormal conditions is caused by the program incompatible with Android system, then immediately according to Android The programming method of system writes replacement program corresponding with the incompatible program, and PC is according to the replacement program at this time Compliant Version software is generated with alpha software, then runs the compliant Version software on the mobile terminal using Android system, with Ensure that the software can operate normally on the mobile terminal of PC and use Android system.
It should be noted that in embodiments of the present invention, the platform includes but is not limited to PC development platform (example Development platform such as based on windows, the development platform based on Linux) in browser, with Android system be Browser in the mobile terminal on basis and the browser in the mobile terminal based on apple system.
In embodiments of the present invention, by carrying out different application platforms to the software during software is developed Test, and corresponding replacement program is pointedly write to incompatible program according to test result, then according to the replacement Program and alpha software obtain the compliant Version software that can be operated in multiple application platforms, since technical staff is for different Application platform only needs that few workload is spent to can be achieved with same software application effect, without being each different Application platform all develops independent application software again, therefore greatly reduces the workload of technical staff, improves technology people The working efficiency of member, while the compatibility of the software of exploitation is substantially increased, enterprise competitiveness is improved, enterprise is improved Benefit.
In embodiments of the present invention, the test that multiple platforms are carried out to the alpha software, and obtain and each institute State the corresponding test result of platform, comprising: obtain the test platform type of current platform;By the alpha software in current platform Upper carry out test run, and obtain test run result;If the test run result is normal operation, it is determined that the first edition Software on current platform can compatibility operation, and by compatible test result of the operation as current platform;If the test Operation result is to be operating abnormally, then obtains the abnormal function module that the alpha software is operating abnormally on current platform, and will Test result of the non-compatible operation as current platform.
In a kind of possible embodiment, technical staff is after developing alpha software, by the alpha software with apple It is tested on mobile terminal based on fruit system, during the test, which obtains the survey of current platform first Try Platform Type, such as obtain current browser browser kernel type (such as the browser be apple system in use The Safari browser of Webkit kernel), the alpha software is run in Safari browser at this time, and technical staff is soft in first edition Part monitors the operation conditions of the alpha software in real time during running, such as passes through the apple system simulator on PC The dry run alpha software, and real time inspection is carried out to the operational process of the alpha software, it can also be straight by the alpha software It connects and operates on the mobile terminal with apple system to be tested.
If the alpha software can operate normally in Safari browser, it is determined that the alpha software is browsed in Safari On device can compatibility operation, and feed back the compatible operation of Safari browser test result;If the alpha software exists Exist during being run on Safari browser and be operating abnormally situation, such as program crashing, program are crashed, can not be shown normally Inside perhaps can not normal jump page situations such as, then technical staff records and saves the alpha software and transports on Safari browser Row corresponding abnormal function module when abnormal, such as corresponding programming plate or functional unit are recorded, and feed back clear in Safari The test result of the non-compatible operation of device of looking at.
Further, in embodiments of the present invention, described that the alpha software is obtained described based on the test result Incompatible program in multiple and different platforms, comprising: if the test result is non-compatible operation, judge the abnormal function Whether the current write method of program meets the specific write method of program in the test platform type in module;If described work as Preceding write method meets the specific write method, it is determined that the corresponding program of the abnormal function module is general abnormal journey Sequence;If the current write method does not meet the specific write method, it is determined that the corresponding program of the abnormal function module For incompatible program.
In a kind of possible embodiment, technical staff is by alpha software test run on other application platform Afterwards, the test result of non-compatible operation is obtained, and has recorded 3 abnormal function modules, technical staff is on PC at this time The corresponding program of 3 abnormal function modules is checked and checked, to judge currently writing for each abnormal function module Whether method meets the identification write method of program in other application platform, such as technical staff will when developing on PC Some page jump of the alpha software jumps after being set as the click of response mouse, however when the alpha software is clear in Safari Look at operation in device when can not get mouse click, therefore cannot achieve normal page turn function, technical staff is different to this The write method of normal functional module finds that the write method does not meet the specific write method in apple system when being checked, because This determines that the corresponding program of abnormal function module is incompatible program;And other two abnormal function module is examined through technical staff Find that the write method of program meets the write method of apple system after looking into, it is thus determined that other two above-mentioned abnormal function module Corresponding program is general abnormal program, for example, technical staff when developing the alpha software on PC by the default of software Text code mode is set as GB2312, and uses UTF-8 in Safari browser, therefore software interface is caused messy code occur Abnormal conditions, and the abnormal conditions are in Safari browser that write mode unrelated for program specific.
In embodiments of the present invention, by the development process of software to software carry out different application platforms compatibility It checks, to find incompatible program of the software in different application platforms, consequently facilitating technical staff carries out corresponding adjustment, and It does not need to develop different program versions when technical staff runs each software in each different application platform, thus The workload for greatly optimizing technical staff, reduces repeated work, improves the working efficiency of technical staff.
In embodiments of the present invention, acquisition replacement program corresponding with the incompatible program, and replace described in being based on Change Program Generating compliant Version software, comprising: corresponding replacement program is obtained based on the incompatible program, the replacement program is The program write according to the specific write method;The replacement program is packaged with the alpha software, and is generated simultaneous Hold version software.
In a kind of possible embodiment, technical staff after checking incompatible program present in alpha software, Such as technical staff has found after the browser for operating in alpha software in browser and apple system in Android system Incompatible program, thus technical staff to the incompatible program in Android system according to the programming method of Android system Rewrite corresponding replacement program;Simultaneously to the incompatible program in apple system also again according to the volume in apple system Write method rewrites corresponding replacement program.Different application platforms that technical staff writes are corresponding to be replaced computer getting After changing program, all replacement programs are all packaged with alpha software, to generate compliant Version software.
In embodiments of the present invention, technical staff is just for program weight incompatible with different application platforms in alpha software Corresponding replacement program newly developed, and the replacement program and alpha software are packaged with to form the software of compliant Version, from And in the case where only needing to pay few workload, enable compliant Version software in each different application platform all Can compatibility operation, effectively prevent the overlapping development of technical staff, greatly reduce the workload of technical staff, improve skill The working efficiency of art personnel.
In embodiments of the present invention, the operation compliant Version software, comprising: obtain the actual platform class of current platform Type;Judge in the compliant Version software whether to include replacement program corresponding with the actual platform type;If the compliant Version Do not include replacement program corresponding with the actual platform type in software, then directly runs the compliant Version software;If described It include replacement program corresponding with the actual platform type in compliant Version software, then in the process for running the compliant Version software In, the abnormal function module will be run and replace with the operation replacement program.
In a kind of possible embodiment, after the publication of compliant Version software, user is by the compliant Version software installation in having The mobile terminal of Android system, after being installed, compliant Version software is initialized on the mobile terminal first, and initial The browser kernel type of the browser of mobile terminal is detected after change first, such as the browser of the mobile terminal is to use 360 browsers of Chrome kernel, at this time compliant Version software judged according to the browser kernel type be in compliant Version software No includes replacement program corresponding with Chrome kernel, has been packaged in concurrent compliant Version software now corresponding with Chrome kernel Replace program, therefore (such as open command is according to the clicking operation of user to the open command of compliant Version software supervision user The open command of generation), and the compliant Version software is run after the open command for getting user, in the process of running, When needing to run original program code corresponding with replacement program, the automatic code for executing replacement program is without executing original program generation Code, to be operated normally on the mobile terminal.
In embodiments of the present invention, the mobile terminal includes but is not limited to intelligent movable mobile phone, tablet computer, intelligent hand The terminals such as ring, intelligent appliance (such as intelligent sweeping robot etc.).
In embodiments of the present invention, technical staff in the alpha software developed on single application platform by being added to not There is the replacement program of compatibility with application platform, and when running compliant Version software on not having to application platform automatically according to current The type of application platform executes corresponding replacement program, so that the compatibility operation in different application platforms is realized, thus significantly The compatibility for improving software improves the competitiveness of enterprise, ensure that enterprise has enough occupation rates of market, improves enterprise Industry benefit.
The multi-platform compatibility operation device for being provided for the embodiments of the invention software below is illustrated.
Based on the same inventive concept, the embodiment of the present invention provides a kind of multi-platform compatibility operation device of software, described simultaneous Holding running gear includes: processor, is used for: obtaining the alpha software write according to preset requirement;The alpha software is carried out The test of multiple and different platforms, and obtain test result corresponding with each platform;Institute is obtained based on the test result State incompatible program of the alpha software in the multiple different platform;Obtain replacement journey corresponding with the incompatible program Sequence, and it is based on the replacement Program Generating compliant Version software;Run the compliant Version software.
In embodiments of the present invention, the test that multiple platforms are carried out to the alpha software, and obtain and each institute State the corresponding test result of platform, comprising: obtain the test platform type of current platform;By the alpha software in current platform Upper carry out test run, and obtain test run result;If the test run result is normal operation, it is determined that the first edition Software on current platform can compatibility operation, and by compatible test result of the operation as current platform;If the test Operation result is to be operating abnormally, then obtains the abnormal function module that the alpha software is operating abnormally on current platform, and will Test result of the non-compatible operation as current platform.
In embodiments of the present invention, described that the alpha software is obtained the multiple different flat based on the test result Incompatible program in platform, comprising: if the test result is non-compatible operation, judge program in the abnormal function module Current write method whether meet the specific write method of program in the test platform type;If the current write method Meet the specific write method, it is determined that the corresponding program of the abnormal function module is general abnormal program;If described work as Preceding write method does not meet the specific write method, it is determined that the corresponding program of the abnormal function module is incompatible journey Sequence.
In embodiments of the present invention, acquisition replacement program corresponding with the incompatible program, and replace described in being based on Change Program Generating compliant Version software, comprising: corresponding replacement program is obtained based on the incompatible program, the replacement program is The program write according to the specific write method;The replacement program is packaged with the alpha software, and is generated simultaneous Hold version software.
In embodiments of the present invention, the operation compliant Version software, comprising: obtain the actual platform class of current platform Type;Judge in the compliant Version software whether to include replacement program corresponding with the actual platform type;If the compliant Version Do not include replacement program corresponding with the actual platform type in software, then directly runs the compliant Version software;If described It include replacement program corresponding with the actual platform type in compliant Version software, then in the process for running the compliant Version software In, the abnormal function module will be run and replace with the operation replacement program.
The optional embodiment of the embodiment of the present invention is described in detail in conjunction with attached drawing above, still, the embodiment of the present invention is simultaneously The detail being not limited in above embodiment can be to of the invention real in the range of the technology design of the embodiment of the present invention The technical solution for applying example carries out a variety of simple variants, these simple variants belong to the protection scope of the embodiment of the present invention.
It is further to note that specific technical features described in the above specific embodiments, in not lance In the case where shield, it can be combined in any appropriate way.In order to avoid unnecessary repetition, the embodiment of the present invention pair No further explanation will be given for various combinations of possible ways.
It will be appreciated by those skilled in the art that implementing the method for the above embodiments is that can pass through Program is completed to instruct relevant hardware, which is stored in a storage medium, including some instructions are used so that single Piece machine, chip or processor (processor) execute all or part of the steps of each embodiment the method for the application.And it is preceding The storage medium stated includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, RandomAccess Memory), magnetic or disk.
In addition, any combination can also be carried out between a variety of different embodiments of the embodiment of the present invention, as long as it is not The thought of the embodiment of the present invention is violated, equally should be considered as disclosure of that of the embodiment of the present invention.

Claims (10)

1. a kind of multi-platform compatibility operation method of software, which is characterized in that the compatibility operation method includes:
Obtain the alpha software write according to preset requirement;
It carries out the test of multiple and different platforms to the alpha software, and obtains test result corresponding with each platform;
Incompatible program of the alpha software in the multiple different platform is obtained based on the test result;
Replacement program corresponding with the incompatible program is obtained, and based on the replacement Program Generating compliant Version software;
Run the compliant Version software.
2. compatibility operation method according to claim 1, which is characterized in that described to carry out multiple put down to the alpha software The test of platform, and obtain test result corresponding with each platform, comprising:
Obtain the test platform type of current platform;
The alpha software is subjected to test run on current platform, and obtains test run result;
If the test run result be normal operation, it is determined that the alpha software on current platform can compatibility operation, And the test result by compatible operation as current platform;
If the test run result is to be operating abnormally, the exception that the alpha software is operating abnormally on current platform is obtained Functional module, and the test result by non-compatible operation as current platform.
3. compatibility operation method according to claim 2, which is characterized in that described based on described in test result acquisition Incompatible program of the alpha software in the multiple different platform, comprising:
If the test result be non-compatible operation, judge program in the abnormal function module current write method whether Meet the specific write method of program in the test platform type;
If the current write method meets the specific write method, it is determined that the corresponding program of the abnormal function module is General exception program;
If the current write method does not meet the specific write method, it is determined that the corresponding program of the abnormal function module For incompatible program.
4. compatibility operation method according to claim 3, which is characterized in that the acquisition is corresponding with the incompatible program Replacement program, and be based on the replacement Program Generating compliant Version software, comprising:
Corresponding replacement program is obtained based on the incompatible program, the replacement program is to compile according to the specific write method The program write;
The replacement program is packaged with the alpha software, and generates compliant Version software.
5. compatibility operation method according to claim 4, which is characterized in that the operation compliant Version software, comprising:
Obtain the actual platform type of current platform;
Judge in the compliant Version software whether to include replacement program corresponding with the actual platform type;
If not including replacement program corresponding with the actual platform type in the compliant Version software, directly run described simultaneous Hold version software;
If in the compliant Version software including replacement program corresponding with the actual platform type, the compliant Version is being run During software, the abnormal function module will be run and replace with the operation replacement program.
6. a kind of multi-platform compatibility operation device of software, which is characterized in that the compatibility operation device includes:
Processor is used for:
Obtain the alpha software write according to preset requirement;
It carries out the test of multiple and different platforms to the alpha software, and obtains test result corresponding with each platform;
Incompatible program of the alpha software in the multiple different platform is obtained based on the test result;
Replacement program corresponding with the incompatible program is obtained, and based on the replacement Program Generating compliant Version software;
Run the compliant Version software.
7. compatibility operation device according to claim 6, which is characterized in that described to carry out multiple put down to the alpha software The test of platform, and obtain test result corresponding with each platform, comprising:
Obtain the test platform type of current platform;
The alpha software is subjected to test run on current platform, and obtains test run result;
If the test run result be normal operation, it is determined that the alpha software on current platform can compatibility operation, And the test result by compatible operation as current platform;
If the test run result is to be operating abnormally, the exception that the alpha software is operating abnormally on current platform is obtained Functional module, and the test result by non-compatible operation as current platform.
8. compatibility operation device according to claim 7, which is characterized in that described based on described in test result acquisition Incompatible program of the alpha software in the multiple different platform, comprising:
If the test result be non-compatible operation, judge program in the abnormal function module current write method whether Meet the specific write method of program in the test platform type;
If the current write method meets the specific write method, it is determined that the corresponding program of the abnormal function module is General exception program;
If the current write method does not meet the specific write method, it is determined that the corresponding program of the abnormal function module For incompatible program.
9. compatibility operation device according to claim 8, which is characterized in that the acquisition is corresponding with the incompatible program Replacement program, and be based on the replacement Program Generating compliant Version software, comprising:
Corresponding replacement program is obtained based on the incompatible program, the replacement program is to compile according to the specific write method The program write;
The replacement program is packaged with the alpha software, and generates compliant Version software.
10. compatibility operation device according to claim 9, which is characterized in that the operation compliant Version software, packet It includes:
Obtain the actual platform type of current platform;
Judge in the compliant Version software whether to include replacement program corresponding with the actual platform type;
If not including replacement program corresponding with the actual platform type in the compliant Version software, directly run described simultaneous Hold version software;
If in the compliant Version software including replacement program corresponding with the actual platform type, the compliant Version is being run During software, the abnormal function module will be run and replace with the operation replacement program.
CN201910059163.XA 2019-01-22 2019-01-22 Multi-platform compatible operation method and compatible operation device of software Active CN109901831B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910059163.XA CN109901831B (en) 2019-01-22 2019-01-22 Multi-platform compatible operation method and compatible operation device of software

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910059163.XA CN109901831B (en) 2019-01-22 2019-01-22 Multi-platform compatible operation method and compatible operation device of software

Publications (2)

Publication Number Publication Date
CN109901831A true CN109901831A (en) 2019-06-18
CN109901831B CN109901831B (en) 2022-06-21

Family

ID=66944034

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910059163.XA Active CN109901831B (en) 2019-01-22 2019-01-22 Multi-platform compatible operation method and compatible operation device of software

Country Status (1)

Country Link
CN (1) CN109901831B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377503A (en) * 2019-06-19 2019-10-25 平安银行股份有限公司 Method for testing pressure, device, computer equipment and storage medium
CN115994098A (en) * 2023-03-22 2023-04-21 成都大前研软件开发有限公司 Analysis method and system for software operation abnormality based on artificial intelligence

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040158577A1 (en) * 2003-02-07 2004-08-12 Sun Microsystems, Inc System and method for cross platform and configuration build system
CN104035861A (en) * 2013-03-07 2014-09-10 腾讯科技(深圳)有限公司 Method, device and system for obtaining intelligent terminal software
CN106445518A (en) * 2016-09-22 2017-02-22 中国传媒大学 Method and system for developing cross-platform mobile terminal application
CN106528415A (en) * 2016-10-27 2017-03-22 广东浪潮大数据研究有限公司 Software compatibility test method, business platform and system
CN107018022A (en) * 2017-03-31 2017-08-04 广东欧珀移动通信有限公司 Processing method, device and the terminal of software upgrading
CN107577477A (en) * 2017-09-06 2018-01-12 武汉虹信通信技术有限责任公司 A kind of multi-platform software version adaptive approach and system based on DTB files
CN108459962A (en) * 2018-01-23 2018-08-28 平安普惠企业管理有限公司 Code specification detection method, device, terminal device and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040158577A1 (en) * 2003-02-07 2004-08-12 Sun Microsystems, Inc System and method for cross platform and configuration build system
CN104035861A (en) * 2013-03-07 2014-09-10 腾讯科技(深圳)有限公司 Method, device and system for obtaining intelligent terminal software
CN106445518A (en) * 2016-09-22 2017-02-22 中国传媒大学 Method and system for developing cross-platform mobile terminal application
CN106528415A (en) * 2016-10-27 2017-03-22 广东浪潮大数据研究有限公司 Software compatibility test method, business platform and system
CN107018022A (en) * 2017-03-31 2017-08-04 广东欧珀移动通信有限公司 Processing method, device and the terminal of software upgrading
CN107577477A (en) * 2017-09-06 2018-01-12 武汉虹信通信技术有限责任公司 A kind of multi-platform software version adaptive approach and system based on DTB files
CN108459962A (en) * 2018-01-23 2018-08-28 平安普惠企业管理有限公司 Code specification detection method, device, terminal device and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110377503A (en) * 2019-06-19 2019-10-25 平安银行股份有限公司 Method for testing pressure, device, computer equipment and storage medium
CN115994098A (en) * 2023-03-22 2023-04-21 成都大前研软件开发有限公司 Analysis method and system for software operation abnormality based on artificial intelligence
CN115994098B (en) * 2023-03-22 2024-01-16 天翼安全科技有限公司 Analysis method and system for software operation abnormality based on artificial intelligence

Also Published As

Publication number Publication date
CN109901831B (en) 2022-06-21

Similar Documents

Publication Publication Date Title
US6539501B1 (en) Method, system, and program for logging statements to monitor execution of a program
US8370816B2 (en) Device, method and computer program product for evaluating a debugger script
EP3619611B1 (en) Conditional debugging of server-side production code
US8336032B2 (en) Implementing enhanced template debug
CN106325970A (en) Compiling method and compiling system
CN110046479B (en) Link library file anti-debugging method and device based on android operating system
US7900198B2 (en) Method and system for parameter profile compiling
KR101438990B1 (en) System testing method
US20080276129A1 (en) Software tracing
US10042658B1 (en) Automatically adding bytecode to a software application to determine network communication information
US20220138069A1 (en) Agent profiler to monitor activities and performance of software agents
US10698805B1 (en) Method and system for profiling performance of a system on chip
US9792402B1 (en) Method and system for debugging a system on chip under test
CN111258913A (en) Automatic algorithm testing method and device, computer system and readable storage medium
EP2972828B1 (en) Operating system support for contracts
CN114765051A (en) Memory test method and device, readable storage medium and electronic equipment
US8826236B2 (en) Step granularity selection in a software debugger
CN109901831A (en) The multi-platform compatibility operation method and compatibility operation device of software
US9195562B2 (en) Recording external processes
Mooney Issues in the specification and measurement of software portability
CA2811617A1 (en) Commit sensitive tests
US9710360B2 (en) Optimizing error parsing in an integrated development environment
CN112560041B (en) Method, apparatus and computer storage medium for automated quality verification detection
CN111045891B (en) Monitoring method, device, equipment and storage medium based on java multithreading
US20060070042A1 (en) Automatic clocking in shared-memory co-simulation

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