CN108829582A - The method and apparatus of program compatibility - Google Patents
The method and apparatus of program compatibility Download PDFInfo
- Publication number
- CN108829582A CN108829582A CN201810508424.7A CN201810508424A CN108829582A CN 108829582 A CN108829582 A CN 108829582A CN 201810508424 A CN201810508424 A CN 201810508424A CN 108829582 A CN108829582 A CN 108829582A
- Authority
- CN
- China
- Prior art keywords
- application program
- version number
- version
- updated
- terminal
- 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.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3604—Software analysis for verifying properties of programs
- G06F11/3612—Software analysis for verifying properties of programs by runtime analysis
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/70—Software maintenance or management
- G06F8/71—Version control; Configuration management
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Computer Security & Cryptography (AREA)
- Stored Programmes (AREA)
Abstract
The disclosure is directed to a kind of method and apparatus of program compatibility, belong to electronic technology field.The method includes:Receive the first version number of the first application program of the first terminal installation that first terminal is sent;In at least one version number of pre-stored first application program mutually compatible with the current version number of the second locally-installed application program, first version number is searched;If not including first version number at least one version number of the first application program mutually compatible with the current version number of the second locally-installed application program, version updating prompt information is issued.Using the disclosure, in the embodiments of the present disclosure, it can detect whether the second application program installed in the first application program and second terminal installed in first terminal is compatible with automatically.Can to avoid due to application program it is incompatible caused by abnormal phenomenon cannot get effective solution the problem of generation.
Description
Technical field
The disclosure is directed to electronic technology fields, especially with respect to a kind of method and apparatus of program compatibility.
Background technique
With the development of science and technology, live streaming application program gradually enters into people's lives.Main broadcaster can apply journey by live streaming
The performance of talent and art of oneself is used the spectators of the live streaming application program to other by sequence.It sings, selects if main broadcaster wants performance
The singing effect sung using the sound card of computer is better than the singing effect for using mobile phone to be sung.Because existing at present
Sound card can not be also integrated in mobile phone, can integrate sound card in a computer, and sound card has modification to song, so that the song of people
Sound more full mellow and full.However simultaneously, main broadcaster wants to shoot the video image of oneself with mobile phone, because of the view of mobile phone shooting
The display scale for the mobile phone that the ratio of frequency image is held with spectators more matches.
In order to allow spectators to can receive the audio by computer acquisition and the video image by mobile phone shooting,
Main broadcaster can application program and live streaming HELPER APPLICATIONS be broadcast live in installation respectively in computer and mobile phone, and above-mentioned mesh can be realized
's.Mobile phone can send computer for the video image of shooting by live streaming HELPER APPLICATIONS, pass through live streaming by computer
Application program synthesizes the audio of acquisition and the video image received, then uploads onto the server.
In implementing the present disclosure, inventor's discovery has at least the following problems:
It is mounted with live streaming application program respectively in computer and mobile phone and HELPER APPLICATIONS is broadcast live, application program is broadcast live
It is developed and is issued respectively with live streaming HELPER APPLICATIONS.If the live streaming application program and mobile phone installed in computer
The live streaming HELPER APPLICATIONS of middle installation is incompatible, then the function of application program can not be normally carried out use, it may appear that abnormal existing
As such as blank screen, image and sound are asynchronous etc..But user can not learn this is because caused by what reason, it is in turn, abnormal
Phenomenon can not be effectively handled.
Summary of the invention
In order to overcome the problems, such as that present in the relevant technologies, present disclose provides following technical schemes:
According to the first aspect of the embodiments of the present disclosure, a kind of method of program compatibility is provided, the method includes:
Receive the first version number of the first application program of the first terminal installation that first terminal is sent;
In pre-stored first application program mutually compatible with the current version number of the second locally-installed application program
At least one version number in, search the first version number;
If at least the one of first application program mutually compatible with the current version number of the second locally-installed application program
Do not include the first version number in a version number, then issues version updating prompt information.
Optionally, the sending version updating prompt information, including:
Compare the size of the first version number He the current version number;
If the first version number is less than the current version number, send to the first terminal for prompting to institute
It states the first version that the first application program is updated and updates prompt information, so that the first terminal shows the first version
Update prompt information.
Optionally, the method also includes:
If the first version number is greater than the current version number, it is being locally displayed for prompting to answer described second
Prompt information is updated with the second edition that program is updated.
Optionally, the method also includes:
When detect operation is updated to second application program when, with updated second application program more
New version number mutually at least one version number of the first application program of compatibility, searches the first version number;
If at least one of first application program mutually compatible with the more new version number of updated second application program
Do not include the first version number in version number, then to the first terminal send for prompt to first application program into
The first version that row updates updates prompt information, so that the first terminal shows that the first version updates prompt information.
Optionally, the method also includes:
Receive the third edition of updated first application program for the first terminal installation that the first terminal is sent
This number;
In at least one of first application program mutually compatible with the current version number of the second locally-installed application program
In version number, the third version number is searched;
If at least the one of first application program mutually compatible with the current version number of the second locally-installed application program
Do not include the third version number in a version number, is then being locally displayed for prompting to be updated second application program
The second edition update prompt information.
Optionally, the sending version updating prompt information, including:
Detect first application program whether be the latest edition currently issued in server the first application program, and
Second application program whether be the latest edition currently issued in the server the second application program;
If first application program is not the first application program of the latest edition currently issued in server, and institute
Stating the second application program not is the second application program of the latest edition currently issued in the server, then use is being locally displayed
Prompt information is updated to the second edition that second application program is updated in prompt, and is sent to the first terminal
For prompting the first version being updated to first application program to update prompt information, so that the first terminal is shown
The first version updates prompt information.
According to the second aspect of an embodiment of the present disclosure, a kind of device of program compatibility is provided, described device includes:
Receiving module, the first edition of the first application program of the first terminal installation for receiving first terminal transmission
This number;
First searching module, for pre-stored mutually simultaneous with the current version of the second locally-installed application program
In at least one version number for the first application program held, the first version number is searched;
First sending module is answered for working as mutually compatible with the current version number of the second locally-installed application program first
When with not including the first version at least one version number of program, version updating prompt information is issued.
Optionally, first sending module includes:
Comparing unit, the size for the first version number and the current version number;
First transmission unit is used for when the first version number is less than the current version, to the first terminal
It sends for prompting the first version being updated to first application program to update prompt information, so that the first terminal
Show that the first version updates prompt information.
Optionally, described device further includes:
First display module, for being used for being locally displayed when the first version number is greater than the current version
The second edition being updated to second application program is prompted to update prompt information.
Optionally, described device further includes:
Second searching module, for when detect operation is updated to second application program when, with after update
The second application program more new version number mutually at least one version number of compatible the first application program, search described first
Version number;
Second sending module, for when first application mutually compatible with the more new version number of updated second application program
When not including the first version at least one version number of program, send to the first terminal for prompting to described
The first version that first application program is updated updates prompt information, so that the first terminal shows the first version more
New prompt information.
Optionally, described device further includes:
Receiving module, for receiving updated first application for the first terminal installation that the first terminal is sent
The third version number of program;
Third searching module, for being answered mutually compatible with the current version number of the second locally-installed application program first
With at least one version number of program, the third version number is searched;
Second display module is answered for working as mutually compatible with the current version number of the second locally-installed application program first
When with not including the third version number at least one version number of program, it is being locally displayed for prompting to answer described second
Prompt information is updated with the second edition that program is updated.
Optionally, first sending module includes:
Detection unit, for detecting whether first application program is the of the latest edition currently issued in server
One application program, and whether second application program is the latest edition currently issued in the server second using journey
Sequence;
Second transmission unit, for not being the of the latest edition currently issued in server when first application program
One application program, and second application program is not the second application program of the latest edition currently issued in the server
When, be locally displayed for prompt the second edition that second application program is updated update prompt information, and to
The first terminal is sent for prompting the first version being updated to first application program to update prompt information, so that
The first terminal shows that the first version updates prompt information.
According to the third aspect of an embodiment of the present disclosure, a kind of computer equipment is provided, the computer equipment includes processing
Device, communication interface, memory and communication bus, wherein:
The processor, the communication interface and the memory complete mutual communication by the communication bus;
The memory, for storing computer program;
The processor, for executing the program stored on the memory, to realize the compatible method of above procedure.
According to a fourth aspect of embodiments of the present disclosure, a kind of computer readable storage medium is provided, it is described computer-readable
It is stored with computer program in storage medium, above procedure compatible side is realized when the computer program is executed by processor
Method.
The technical scheme provided by this disclosed embodiment can include the following benefits:
In the embodiments of the present disclosure, it can detect automatically in the first application program and second terminal installed in first terminal
Whether the second application program of installation is compatible with.When installed in the first application program and second terminal installed in first terminal
When two application programs are incompatible, it can be automatically based upon the problem of detecting, user is prompted.In turn, can to avoid due to
The problem of abnormal phenomenon caused by application program is incompatible cannot get effective solution generation.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not
The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure
Example, and together with specification for explaining the principles of this disclosure.In the accompanying drawings:
Fig. 1 is a kind of flow diagram of the method for program compatibility shown according to an exemplary embodiment;
Fig. 2 is a kind of schematic diagram of the method for program compatibility shown according to an exemplary embodiment;
Fig. 3 is a kind of flow diagram of the method for program compatibility shown according to an exemplary embodiment;
Fig. 4 is a kind of structural schematic diagram of the device of program compatibility shown according to an exemplary embodiment;
Fig. 5 is a kind of structural schematic diagram of computer equipment shown according to an exemplary embodiment.
Through the above attached drawings, it has been shown that the specific embodiment of the disclosure will be hereinafter described in more detail.These attached drawings
It is not intended to limit the scope of this disclosure concept by any means with verbal description, but is by referring to specific embodiments
Those skilled in the art illustrate the concept of the disclosure.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to
When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment
Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended
The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
The embodiment of the present disclosure provides a kind of method of program compatibility, and this method can be realized with different terminals.Its
In, terminal can be mobile phone, tablet computer, desktop computer, notebook computer etc..
Terminal may include the components such as processor, memory.Processor can be CPU (Central Processing
Unit, central processing unit) etc., it can be used in the pre-stored current version number with the second locally-installed application program
Mutually at least one version number of the first compatible application program, first version number is searched, processing is waited.Memory can be RAM
(Random Access Memory, random access memory), Flash (flash memory) etc., can be used for store receive data,
Data needed for treatment process, the data generated in treatment process etc., such as current version with the second locally-installed application program
This number at least one version number of the first application program etc. being mutually compatible with.
Terminal can also include transceiver, input part, display unit, audio output part etc..Transceiver can be used for
Carry out data transmission with other terminals, transceiver may include bluetooth component, WiFi (Wireless-Fidelity, wireless high guarantor
True technology) component, antenna, match circuit, modem etc..Input part can be touch screen, keyboard, mouse etc..Audio
Output block can be speaker, earphone etc..
System program and application program can be installed in terminal.User during using terminal, based on oneself
Different demands will use various application programs.The application program for having direct broadcast function can be installed in terminal, other
Above-mentioned live streaming application program corresponding live streaming HELPER APPLICATIONS can be installed accordingly in terminal, HELPER APPLICATIONS is broadcast live
Above-mentioned live streaming application program can be assisted to realize certain functions.
An exemplary embodiment of the present disclosure provides a kind of methods of program compatibility, as shown in Figure 1, the processing stream of this method
Journey may include following step:
Step S110, second terminal receive the first edition of the first application program of the first terminal installation that first terminal is sent
This number.
In an implementation, as shown in Fig. 2, first terminal can be mobile phone, second terminal can be computer.
It sings if main broadcaster wants performance, selects the singing effect sung using the sound card of computer than using
The singing effect that mobile phone is sung is good.Because can not also integrate sound card in mobile phone at present, sound can integrate in a computer
Card, sound card has modification to song, so that the song of people sounds more full mellow and full.However simultaneously, main broadcaster wants to use hand
Machine shoots the video image of oneself, because the display scale for the mobile phone that the ratio of the video image of mobile phone shooting and spectators are held is more
Add matching.
In order to allow spectators to can receive the audio by computer acquisition and the video image by mobile phone shooting,
Main broadcaster can application program and live streaming HELPER APPLICATIONS be broadcast live in installation respectively in computer and mobile phone, and above-mentioned mesh can be realized
's.Mobile phone can send computer for the video image of shooting by live streaming HELPER APPLICATIONS, pass through live streaming by computer
Application program synthesizes the audio of acquisition and the video image received.
Other than the corresponding mobile phone of a computer, a computer can also correspond to multiple mobile phones.It can will count
Data transmission central of the calculation machine as multiple mobile phones all sends computer for the data that multiple mobile phones acquire, is united by computer
These a pair of data are handled.As shown in figure 3, the data of acquisition are sent to calculating by mobile phone 1, mobile phone 2, mobile phone 3, mobile phone 4
Machine.For example, mobile phone 1, mobile phone 2, mobile phone 3, mobile phone 4 are individually positioned in the surrounding of main broadcaster, or main broadcaster is carried out with different angle
Shooting, is the video image of multi-angle by the video image that 4 mobile phones take in this way.4 mobile phones are respectively by multi-angle
Video image is sent to computer, these video images are further processed by computer.In this way, subsequent audiences can be with
The performance of main broadcaster is watched from different perspectives.
Since the processing capacity of computer is stronger, it is thereby possible to select centered on computer, to the acquisition of multiple mobile phones
Data are handled.The system program installed in multiple mobile phones can be Android program, iOS (the mobile behaviour of Apple Inc.'s exploitation
Make system) programs such as program.Since the system program installed in different mobile phones may be different, pacify on system program
Even if the application program of dress has the function of same or similar, but application program itself may be also different.Mobile phone installation
There is also differences for application program and the application program of computer installation, therefore, are being mounted on answering between different mobile phones, computer
When being in communication with each other with program, it there is a problem that incompatible.
That installs on computers can be the second application program, and that installs on mobile phone can be the first application program.
Second application program can be primary application program or HELPER APPLICATIONS, the first application program can be HELPER APPLICATIONS or
Person's primary application program.The general Dou Huiyou version number of application program, for distinguishing with the application continuously improved in a application program
Program.Second terminal can receive the first version number of the first application program of the first terminal installation of first terminal transmission such as
8.9.0.2223。
Step S120, second terminal is pre-stored mutually simultaneous with the current version of the second locally-installed application program
In at least one version number for the first application program held, first version number is searched.
In an implementation, second terminal can be equipped with the second application program, and the second application program has its version number.With second
The first compatible application program of application program may have it is multiple, such as with the second application issued time more similar first
Application program can be compatible with the second application program.Which the first application program can have been counted in advance with second using journey
Sequence is mutually compatible with, at least one version number of first application program mutually compatible with the second application program is recorded in compatible list
In.Later first version number such as 8.9.0.2223 can be searched in compatible list.A kind of example of compatible list is as follows:
(1)8.9.0.2225
(2)8.9.0.2228
(3)9.1.0.1000
(4)8.9.0.2223
(5)8.8.0.7849
It is mutually compatible with the current version number of the second locally-installed application program there are 5 in above-mentioned compatible list
The version number of first application program, wherein the 4th version number and first version number are consistent, indicate that the second application program can be with
It is compatible with the first application program.
Step S130, if first application program mutually compatible with the current version number of the second locally-installed application program
At least one version number in do not include first version number, second terminal then issues version updating prompt information.
In an implementation, if first application program mutually compatible with the current version number of the second locally-installed application program
At least one version number in do not include first version number, then it represents that the second application program and the first application program are incompatible.No
Compatible reason may be because an application version is excessively high, and an application version is too low.Therefore, version can be issued
This update prompt information.
Optionally, the step of sending version updating prompt information may include:Compare first version number and current version number
Size;If first version number be less than current version number, to first terminal send for prompt to the first application program into
The first version that row updates updates prompt information, so that first terminal shows that first version updates prompt information.
In an implementation, since the first application program and the second application program belong to primary application program and HELPER APPLICATIONS,
Therefore, their version number can be associated.First application program of same time publication and the version of the second application program
This number consistent.Thus, it is possible to compare the size of first version number He current version number.If first version number is less than current version
Number, then it represents that the version of the first application program in first terminal is too low, can send to first terminal for prompting to first
The first version that application program is updated updates prompt information.When first terminal is received for prompting to the first application program
After the first version being updated updates prompt information, display reminding information, instruction user is updated the first application program
Operation.Alternatively, directly downloading the first application program of update.
Optionally, the method for embodiment of the present disclosure offer further includes:If first version number is greater than current version number,
It is locally displayed for prompting the second edition being updated to the second application program to update prompt information.
In an implementation, the size of first version number He current version number can be compared.If first version number is greater than current
Version number, then it represents that the version of the second application program in second terminal is too low, can be locally displayed for prompting to second
The second edition that application program is updated updates prompt information.
Optionally, the method for embodiment of the present disclosure offer further includes:Behaviour is updated to the second application program when detecting
When making, at least one version number of first application program mutually compatible with the more new version number of updated second application program
In, search first version number;If first application program mutually compatible with the more new version number of updated second application program
At least one version number in do not include first version number, then to first terminal send for prompt to the first application program carry out
The first version of update updates prompt information, so that first terminal shows that first version updates prompt information.
It in an implementation, be to the first application program and second in the first application program and incompatible the second application program
An application program in application program is updated.First that the latest edition currently issued can be downloaded from server answers
With program or the second application program.If before update, the version number of the first application program is A, the version of the second application program
Number it is B, the second application program is updated.After update, the version number of the second application program is C.
After the second application program update finishes, since the second application program is changed, and it is updated
At least one version number for the first application program that the more new version number of second application program is mutually compatible with also no longer is pervious version
This number.Second terminal can be in first application program mutually compatible with the more new version number of updated second application program
In at least one version number, first version number is searched.If mutually compatible with the more new version number of updated second application program
The first application program at least one version number in do not include first version number, then send to first terminal for prompting to the
The first version that one application program is updated updates prompt information, so that first terminal shows that first version updates prompt information
Namely update after the second application program version C than the version A for the first application program not updated also than
Newly, the second application program after updating and the first application program not updated still cannot be compatible with, and therefore, it is necessary to answer first
Operation is updated with program.It is all from clothes if all having carried out updating operation to the first application program and the second application program
The first application program and the second application program for the latest edition of business device downloading currently issued, they should be compatible.
Optionally, the method for embodiment of the present disclosure offer further includes:Receive the first terminal installation that first terminal is sent
The third version number of updated first application program;Mutually compatible with the current version number of the second locally-installed application program
The first application program at least one version number in, search third version number;If with the second locally-installed application program
Current version number do not include mutually third version number at least one version number of compatible the first application program, then locally aobvious
Show for prompting the second edition being updated to the second application program to update prompt information.
It in an implementation, be to the first application program and second in the first application program and incompatible the second application program
An application program in application program is updated.First that the latest edition currently issued can be downloaded from server answers
With program or the second application program.If be to be updated to the first application program, update finish the first application program it
Afterwards, first terminal can send the third version number of updated first application program to second terminal, and second terminal can be with
Receive the third version number of updated first application program.It can be in the current version with the second locally-installed application program
In at least one version number of this number the first application program being mutually compatible with, third version number is searched.If with locally-installed
It does not include third version number at least one version number for the first application program that the current version number of two application programs is mutually compatible with,
Then it is being locally displayed for prompting the second edition being updated to the second application program to update prompt information.
Optionally, the step of sending version updating prompt information may include:Detect whether the first application program is service
First application program of the latest edition currently issued in device, and whether the second application program is currently to issue in server most
Second application program of new version;If the first application program is not the first application of the latest edition currently issued in server
Program, and the second application program is not the second application program of the latest edition currently issued in server, then is being locally displayed
It sends for prompting the second edition being updated to the second application program to update prompt information, and to first terminal for mentioning
Show and prompt information is updated to the first version that the first application program is updated, so that first terminal shows that first version update mentions
Show information.
In an implementation, mode presented hereinbefore, in certain circumstances, it may be necessary to judge the first application program and twice
Whether two application programs are compatible with.In the disclosed embodiment, can also directly to the first application program and the second application program all into
Row updates, in this way, updated first application program can be mutually compatible with the second application program.However, it is desirable to detect first
Application program whether be the latest edition currently issued in server the first application program, and the second application program whether be clothes
Second application program of the latest edition currently issued in business device.If one of application program has been current in server
The application program of the latest edition of publication, then it is updated just nonsensical.
If the first application program is not the first application program of the latest edition currently issued in server, and second answers
It is not the second application program of the latest edition currently issued in server with program, then is locally displayed in second terminal for mentioning
Show that the second edition being updated to the second application program updates prompt information, and sends to first terminal for prompting to the
The first version that one application program is updated updates prompt information, so that first terminal shows that first version updates prompt letter
Breath.
In the embodiments of the present disclosure, it can detect automatically in the first application program and second terminal installed in first terminal
Whether the second application program of installation is compatible with.When installed in the first application program and second terminal installed in first terminal
When two application programs are incompatible, it can be automatically based upon the problem of detecting, user is prompted.In turn, can to avoid due to
The problem of abnormal phenomenon caused by application program is incompatible cannot get effective solution generation.
Disclosure another exemplary embodiment provides a kind of device of program compatibility, as shown in figure 4, the device includes:
Receiving module 310, the of the first application program of the first terminal installation for receiving first terminal transmission
One version number;
First searching module 320, in the pre-stored current version number with the second locally-installed application program
Mutually at least one version number of the first compatible application program, the first version number is searched;
First sending module 330, for when mutually compatible with the current version number of the second locally-installed application program the
When not including the first version at least one version number of one application program, version updating prompt information is issued.
Optionally, first sending module 330 includes:
Comparing unit, the size for the first version number and the current version number;
First transmission unit is used for when the first version number is less than the current version, to the first terminal
It sends for prompting the first version being updated to first application program to update prompt information, so that the first terminal
Show that the first version updates prompt information.
Optionally, described device further includes:
First display module, for being used for being locally displayed when the first version number is greater than the current version
The second edition being updated to second application program is prompted to update prompt information.
Optionally, described device further includes:
Second searching module, for when detect operation is updated to second application program when, with after update
The second application program more new version number mutually at least one version number of compatible the first application program, search described first
Version number;
Second sending module, for when first application mutually compatible with the more new version number of updated second application program
When not including the first version at least one version number of program, send to the first terminal for prompting to described
The first version that first application program is updated updates prompt information, so that the first terminal shows the first version more
New prompt information.
Optionally, described device further includes:
Receiving module, for receiving updated first application for the first terminal installation that the first terminal is sent
The third version number of program;
Third searching module, for being answered mutually compatible with the current version number of the second locally-installed application program first
With at least one version number of program, the third version number is searched;
Second display module is answered for working as mutually compatible with the current version number of the second locally-installed application program first
When with not including the third version number at least one version number of program, it is being locally displayed for prompting to answer described second
Prompt information is updated with the second edition that program is updated.
Optionally, first sending module 330 includes:
Detection unit, for detecting whether first application program is the of the latest edition currently issued in server
One application program, and whether second application program is the latest edition currently issued in the server second using journey
Sequence;
Second transmission unit, for not being the of the latest edition currently issued in server when first application program
One application program, and second application program is not the second application program of the latest edition currently issued in the server
When, be locally displayed for prompt the second edition that second application program is updated update prompt information, and to
The first terminal is sent for prompting the first version being updated to first application program to update prompt information, so that
The first terminal shows that the first version updates prompt information.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method
Embodiment in be described in detail, no detailed explanation will be given here.
In the embodiments of the present disclosure, it can detect automatically in the first application program and second terminal installed in first terminal
Whether the second application program of installation is compatible with.When installed in the first application program and second terminal installed in first terminal
When two application programs are incompatible, it can be automatically based upon the problem of detecting, user is prompted.In turn, can to avoid due to
The problem of abnormal phenomenon caused by application program is incompatible cannot get effective solution generation.
It should be noted that:The device of program compatibility provided by the above embodiment when carrying out program compatibility operation, only with
The division progress of above-mentioned each functional module can according to need and for example, in practical application by above-mentioned function distribution by not
Same functional module is completed, i.e., the internal structure of terminal is divided into different functional modules, to complete whole described above
Or partial function.In addition, the device of program compatibility provided by the above embodiment and the embodiment of the method for program compatibility belong to together
One design, specific implementation process are detailed in embodiment of the method, and which is not described herein again.
Fig. 5 shows the structural schematic diagram of the computer equipment 1800 of one exemplary embodiment of disclosure offer.The meter
Calculating machine equipment 1800 can be:Smart phone, tablet computer, MP3 player (Moving Picture Experts Group
Audio Layer III, dynamic image expert's compression standard audio level 3), MP4 (Moving Picture Experts
Group Audio Layer IV, dynamic image expert's compression standard audio level 4) player, laptop or desktop
Brain.Computer equipment 1800 is also possible to referred to as other names such as user equipment, portable terminal, laptop terminal, terminal console
Claim.
In general, computer equipment 1800 includes:Processor 1801 and memory 1802.
Processor 1801 may include one or more processing cores, such as 4 core processors, 8 core processors etc..Place
Reason device 1801 can use DSP (Digital Signal Processing, Digital Signal Processing), FPGA (Field-
Programmable Gate Array, field programmable gate array), PLA (Programmable Logic Array, may be programmed
Logic array) at least one of example, in hardware realize.Processor 1801 also may include primary processor and coprocessor, master
Processor is the processor for being handled data in the awake state, also referred to as CPU (Central Processing
Unit, central processing unit);Coprocessor is the low power processor for being handled data in the standby state.?
In some embodiments, processor 1801 can be integrated with GPU (Graphics Processing Unit, image processor),
GPU is used to be responsible for the rendering and drafting of content to be shown needed for display screen.In some embodiments, processor 1801 can also be wrapped
AI (Artificial Intelligence, artificial intelligence) processor is included, the AI processor is for handling related machine learning
Calculating operation.
Memory 1802 may include one or more computer readable storage mediums, which can
To be non-transient.Memory 1802 may also include high-speed random access memory and nonvolatile memory, such as one
Or multiple disk storage equipments, flash memory device.In some embodiments, the non-transient computer in memory 1802 can
Storage medium is read for storing at least one instruction, at least one instruction performed by processor 1801 for realizing this Shen
Please in embodiment of the method provide program compatibility method.
In some embodiments, computer equipment 1800 is also optional includes:Peripheral device interface 1803 and at least one
Peripheral equipment.It can be connected by bus or signal wire between processor 1801, memory 1802 and peripheral device interface 1803.
Each peripheral equipment can be connected by bus, signal wire or circuit board with peripheral device interface 1803.Specifically, peripheral equipment
Including:Radio circuit 1804, touch display screen 1805, camera 1806, voicefrequency circuit 1807, positioning component 1808 and power supply
At least one of 1809.
Peripheral device interface 1803 can be used for I/O (Input/Output, input/output) is relevant outside at least one
Peripheral equipment is connected to processor 1801 and memory 1802.In some embodiments, processor 1801, memory 1802 and periphery
Equipment interface 1803 is integrated on same chip or circuit board;In some other embodiments, processor 1801, memory
1802 and peripheral device interface 1803 in any one or two can be realized on individual chip or circuit board, this implementation
Example is not limited this.
Radio circuit 1804 is for receiving and emitting RF (Radio Frequency, radio frequency) signal, also referred to as electromagnetic signal.
Radio circuit 1804 is communicated by electromagnetic signal with communication network and other communication equipments.Radio circuit 1804 is by telecommunications
Number being converted to electromagnetic signal is sent, alternatively, the electromagnetic signal received is converted to electric signal.Optionally, radio circuit
1804 include:Antenna system, one or more amplifiers, tuner, oscillator, digital signal processor, compiles solution at RF transceiver
Code chipset, user identity module card etc..Radio circuit 1804 can by least one wireless communication protocol come with it is other
Computer equipment is communicated.The wireless communication protocol includes but is not limited to:In WWW, Metropolitan Area Network (MAN), Intranet, each generation, are mobile logical
Communication network (2G, 3G, 4G and 5G), WLAN and/or WiFi (Wireless Fidelity, Wireless Fidelity) network.One
In a little embodiments, radio circuit 1804 can also include NFC (Near Field Communication, wireless near field communication)
Related circuit, the application are not limited this.
Display screen 1805 is for showing UI (User Interface, user interface).The UI may include figure, text,
Icon, video and its their any combination.When display screen 1805 is touch display screen, display screen 1805 also there is acquisition to exist
The ability of the touch signal on the surface or surface of display screen 1805.The touch signal can be used as control signal and be input to place
Reason device 1801 is handled.At this point, display screen 1805 can be also used for providing virtual push button and/or dummy keyboard, it is also referred to as soft to press
Button and/or soft keyboard.In some embodiments, display screen 1805 can be one, and the front panel of computer equipment 1800 is arranged;
In further embodiments, display screen 1805 can be at least two, be separately positioned on the different surfaces of computer equipment 1800
It or is in foldover design;In still other embodiments, display screen 1805 can be flexible display screen, be arranged in computer equipment 1800
Curved surface on or fold plane on.Even, display screen 1805 can also be arranged to non-rectangle irregular figure, namely abnormity
Screen.Display screen 1805 can use LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic
Light-Emitting Diode, Organic Light Emitting Diode) etc. materials preparation.
CCD camera assembly 1806 is for acquiring image or video.Optionally, CCD camera assembly 1806 includes front camera
And rear camera.In general, the front panel of computer equipment is arranged in front camera, rear camera setting is set in computer
The standby back side.In some embodiments, rear camera at least two are that main camera, depth of field camera, wide-angle are taken the photograph respectively
As any one in head, focal length camera, to realize that main camera and the fusion of depth of field camera realize background blurring function, master
Camera and wide-angle camera fusion realize pan-shot and VR (Virtual Reality, virtual reality) shooting function or
The other fusion shooting functions of person.In some embodiments, CCD camera assembly 1806 can also include flash lamp.Flash lamp can be
Monochromatic temperature flash lamp, is also possible to double-colored temperature flash lamp.Double-colored temperature flash lamp refers to the group of warm light flash lamp and cold light flash lamp
It closes, can be used for the light compensation under different-colour.
Voicefrequency circuit 1807 may include microphone and loudspeaker.Microphone is used to acquire the sound wave of user and environment, and
It converts sound waves into electric signal and is input to processor 1801 and handled, or be input to radio circuit 1804 to realize that voice is logical
Letter.For stereo acquisition or the purpose of noise reduction, microphone can be separately positioned on the difference of computer equipment 1800 to be multiple
Position.Microphone can also be array microphone or omnidirectional's acquisition type microphone.Loudspeaker is then used to that processor 1801 will to be come from
Or the electric signal of radio circuit 1804 is converted to sound wave.Loudspeaker can be traditional wafer speaker, be also possible to piezoelectricity pottery
Porcelain loudspeaker.When loudspeaker is piezoelectric ceramic loudspeaker, the audible sound wave of the mankind can be not only converted electrical signals to,
The sound wave that the mankind do not hear can be converted electrical signals to carry out the purposes such as ranging.In some embodiments, voicefrequency circuit
1807 can also include earphone jack.
Positioning component 1808 is used for the current geographic position of location Calculation machine equipment 1800, to realize navigation or LBS
(Location Based Service, location based service).Positioning component 1808 can be the GPS based on the U.S.
The Galileo system of the dipper system or Russia of (Global Positioning System, global positioning system), China
Positioning component.
Power supply 1809 is used to be powered for the various components in computer equipment 1800.Power supply 1809 can be exchange
Electricity, direct current, disposable battery or rechargeable battery.When power supply 1809 includes rechargeable battery, which can be with
It is wired charging battery or wireless charging battery.Wired charging battery is the battery to be charged by Wireline, wireless charging electricity
Pond is the battery to be charged by wireless coil.The rechargeable battery can be also used for supporting fast charge technology.
In some embodiments, computer equipment 1800 further includes having one or more sensors 1810.This or more
A sensor 1810 includes but is not limited to:Acceleration transducer 1811, pressure sensor 1813, refers to gyro sensor 1812
Line sensor 1814, optical sensor 1815 and proximity sensor 1816.
Acceleration transducer 1811 can detecte in three reference axis of the coordinate system established with computer equipment 1800
Acceleration magnitude.For example, acceleration transducer 1811 can be used for detecting component of the acceleration of gravity in three reference axis.Place
The acceleration of gravity signal that device 1801 can be acquired according to acceleration transducer 1811 is managed, controls touch display screen 1805 with transverse direction
View or longitudinal view carry out the display of user interface.Acceleration transducer 1811 can be also used for game or the movement of user
The acquisition of data.
Gyro sensor 1812 can detecte body direction and the rotational angle of computer equipment 1800, gyro sensors
Device 1812 can cooperate with acquisition user to act the 3D of computer equipment 1800 with acceleration transducer 1811.Processor 1801
According to the data that gyro sensor 1812 acquires, following function may be implemented:Action induction (such as the tilt operation according to user
To change UI), shooting when image stabilization, game control and inertial navigation.
Pressure sensor 1813 can be set under the side frame of computer equipment 1800 and/or touch display screen 1805
Layer.When the side frame of computer equipment 1800 is arranged in pressure sensor 1813, user can detecte to computer equipment
1800 gripping signal, the gripping signal acquired by processor 1801 according to pressure sensor 1813 carry out right-hand man's identification or fast
Victory operation.When the lower layer of touch display screen 1805 is arranged in pressure sensor 1813, by processor 1801 according to user to touching
The pressure operation of display screen 1805 is touched, realization controls the operability control on the interface UI.Operability control includes
At least one of button control, scroll bar control, icon control, menu control.
Fingerprint sensor 1814 is used to acquire the fingerprint of user, is collected by processor 1801 according to fingerprint sensor 1814
Fingerprint recognition user identity, alternatively, by fingerprint sensor 1814 according to the identity of collected fingerprint recognition user.Knowing
Not Chu the identity of user when being trusted identity, authorize the user to execute relevant sensitive operation by processor 1801, which grasps
Make to include solving lock screen, checking encryption information, downloading software, payment and change setting etc..Fingerprint sensor 1814 can be set
Set the front, the back side or side of computer equipment 1800.When being provided with physical button or manufacturer Logo in computer equipment 1800
When, fingerprint sensor 1814 can be integrated with physical button or manufacturer Logo.
Optical sensor 1815 is for acquiring ambient light intensity.In one embodiment, processor 1801 can be according to light
The ambient light intensity that sensor 1815 acquires is learned, the display brightness of touch display screen 1805 is controlled.Specifically, work as ambient light intensity
When higher, the display brightness of touch display screen 1805 is turned up;When ambient light intensity is lower, the aobvious of touch display screen 1805 is turned down
Show brightness.In another embodiment, the ambient light intensity that processor 1801 can also be acquired according to optical sensor 1815, is moved
The acquisition parameters of state adjustment CCD camera assembly 1806.
Proximity sensor 1816, also referred to as range sensor are generally arranged at the front panel of computer equipment 1800.Close to biography
Sensor 1816 is used to acquire the distance between the front of user Yu computer equipment 1800.In one embodiment, it is passed when close
When sensor 1816 detects that the distance between the front of user and computer equipment 1800 gradually becomes smaller, controlled by processor 1801
Touch display screen 1805 is switched to breath screen state from bright screen state;When proximity sensor 1816 detects user and computer equipment
When the distance between 1800 front becomes larger, touch display screen 1805 is controlled by processor 1801 and is switched to from breath screen state
Bright screen state.
It will be understood by those skilled in the art that structure shown in Fig. 5 does not constitute the restriction to computer equipment 1800,
It may include perhaps combining certain components than illustrating more or fewer components or being arranged using different components.
Those skilled in the art will readily occur to its of the disclosure after considering specification and practicing disclosure disclosed herein
Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or
Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure
Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are wanted by right
It asks and points out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and
And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.
Claims (14)
1. a kind of method of program compatibility, which is characterized in that the method includes:
Receive the first version number of the first application program of the first terminal installation that first terminal is sent;
Pre-stored first application program mutually compatible with the current version number of the second locally-installed application program extremely
In a few version number, the first version number is searched;
If at least one version of first application program mutually compatible with the current version number of the second locally-installed application program
Do not include the first version number in this number, then issues version updating prompt information.
2. the method according to claim 1, wherein the sending version updating prompt information, including:
Compare the size of the first version number He the current version number;
If the first version number is less than the current version number, send to the first terminal for prompting to described the
The first version that one application program is updated updates prompt information, so that the first terminal shows that the first version updates
Prompt information.
3. according to the method described in claim 2, it is characterized in that, the method also includes:
If the first version number is greater than the current version number, it is being locally displayed for prompting to described second using journey
The second edition that sequence is updated updates prompt information.
4. according to the method described in claim 3, it is characterized in that, the method also includes:
When detect operation is updated to second application program when, in the more new edition with updated second application program
In at least one version number of this number the first application program being mutually compatible with, the first version number is searched;
If at least one version of first application program mutually compatible with the more new version number of updated second application program
Do not include the first version number in number, then sends to the first terminal for prompting to carry out more first application program
New first version updates prompt information, so that the first terminal shows that the first version updates prompt information.
5. according to the method described in claim 2, it is characterized in that, the method also includes:
Receive the third version number of updated first application program for the first terminal installation that the first terminal is sent;
In at least one version of first application program mutually compatible with the current version number of the second locally-installed application program
In number, the third version number is searched;
If at least one version of first application program mutually compatible with the current version number of the second locally-installed application program
Do not include the third version number in this number, is then being locally displayed for prompting be updated to second application program
Two version updating prompt informations.
6. the method according to claim 1, wherein the sending version updating prompt information, including:
Detect first application program whether be the latest edition currently issued in server the first application program, and it is described
Second application program whether be the latest edition currently issued in the server the second application program;
If first application program is not the first application program of the latest edition currently issued in server, and described
Two application programs are not the second application programs of the latest edition currently issued in the server, then are being locally displayed for mentioning
Show and prompt information is updated to the second edition that second application program is updated, and is used for first terminal transmission
The first version being updated to first application program is prompted to update prompt information, so that described in the first terminal shows
First version updates prompt information.
7. a kind of device of program compatibility, which is characterized in that described device includes:
Receiving module, the first version of the first application program of the first terminal installation for receiving first terminal transmission
Number;
First searching module, for pre-stored mutually compatible with the current version number of the second locally-installed application program
In at least one version number of first application program, the first version number is searched;
First sending module, for when mutually compatible with the current version number of the second locally-installed application program first using journey
When not including the first version at least one version number of sequence, version updating prompt information is issued.
8. device according to claim 7, which is characterized in that first sending module includes:
Comparing unit, the size for the first version number and the current version number;
First transmission unit, for being sent to the first terminal when the first version number is less than the current version
For prompting the first version being updated to first application program to update prompt information, so that the first terminal is shown
The first version updates prompt information.
9. device according to claim 8, which is characterized in that described device further includes:
First display module, for being locally displayed for prompting when the first version number is greater than the current version
Prompt information is updated to the second edition that second application program is updated.
10. device according to claim 9, which is characterized in that described device further includes:
Second searching module, for when detect operation is updated to second application program when, with updated
The more new version number of two application programs mutually at least one version number of the first application program of compatibility, searches the first version
Number;
Second sending module, for when first application program mutually compatible with the more new version number of updated second application program
At least one version number in when not including the first version, send to the first terminal for prompting to described first
The first version that application program is updated updates prompt information, so that the first terminal shows that the first version update mentions
Show information.
11. device according to claim 8, which is characterized in that described device further includes:
Receiving module, for receiving updated first application program for the first terminal installation that the first terminal is sent
Third version number;
Third searching module, for applying journey mutually compatible with the current version number of the second locally-installed application program first
In at least one version number of sequence, the third version number is searched;
Second display module, for when mutually compatible with the current version number of the second locally-installed application program first using journey
When not including the third version number at least one version number of sequence, it is being locally displayed for prompting to described second using journey
The second edition that sequence is updated updates prompt information.
12. device according to claim 7, which is characterized in that first sending module includes:
Detection unit, for detecting whether first application program is the first of the latest edition currently issued in server to answer
With program, and second application program whether be the latest edition currently issued in the server the second application program;
Second transmission unit, for not being the first of the latest edition currently issued in server to answer when first application program
With program, and when second application program is not the second application program of the latest edition currently issued in the server,
It is being locally displayed for prompting the second edition being updated to second application program to update prompt information, and to described
First terminal is sent for prompting the first version being updated to first application program to update prompt information, so that described
First terminal shows that the first version updates prompt information.
13. a kind of computer equipment, which is characterized in that the computer equipment includes processor, communication interface, memory and leads to
Believe bus, wherein:
The processor, the communication interface and the memory complete mutual communication by the communication bus;
The memory, for storing computer program;
The processor, for executing the program stored on the memory, to realize any side claim 1-6
Method step.
14. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium
Program realizes claim 1-6 any method and step when the computer program is executed by processor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810508424.7A CN108829582A (en) | 2018-05-24 | 2018-05-24 | The method and apparatus of program compatibility |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810508424.7A CN108829582A (en) | 2018-05-24 | 2018-05-24 | The method and apparatus of program compatibility |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108829582A true CN108829582A (en) | 2018-11-16 |
Family
ID=64149103
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810508424.7A Pending CN108829582A (en) | 2018-05-24 | 2018-05-24 | The method and apparatus of program compatibility |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108829582A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109582348A (en) * | 2018-11-22 | 2019-04-05 | Tcl移动通信科技(宁波)有限公司 | Processing method, mobile terminal and storage medium is arranged in mobile terminal radio frequency |
CN111414189A (en) * | 2020-03-20 | 2020-07-14 | 深圳前海微众银行股份有限公司 | Method and device for determining version compatibility |
CN112613915A (en) * | 2020-12-29 | 2021-04-06 | 上海触乐信息科技有限公司 | Method and device for supporting switching of double-version advertisement plug-in and electronic equipment |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020129338A1 (en) * | 2001-03-07 | 2002-09-12 | Macdonell Kevin | Method and system for on-line submission and debug of software code for a portable computer system or electronic device |
CN103092702A (en) * | 2011-11-01 | 2013-05-08 | 宏碁股份有限公司 | Data synchronization method and data synchronization system applying same |
CN105117250A (en) * | 2015-08-24 | 2015-12-02 | 联想(北京)有限公司 | Compatibility processing method and electronic device |
CN105278957A (en) * | 2015-10-08 | 2016-01-27 | 南京南瑞继保电气有限公司 | Version matching identification method for software and drive packet |
CN105446868A (en) * | 2014-08-25 | 2016-03-30 | 阿里巴巴集团控股有限公司 | System compatibility testing method, test case management method and related devices |
-
2018
- 2018-05-24 CN CN201810508424.7A patent/CN108829582A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020129338A1 (en) * | 2001-03-07 | 2002-09-12 | Macdonell Kevin | Method and system for on-line submission and debug of software code for a portable computer system or electronic device |
CN103092702A (en) * | 2011-11-01 | 2013-05-08 | 宏碁股份有限公司 | Data synchronization method and data synchronization system applying same |
CN105446868A (en) * | 2014-08-25 | 2016-03-30 | 阿里巴巴集团控股有限公司 | System compatibility testing method, test case management method and related devices |
CN105117250A (en) * | 2015-08-24 | 2015-12-02 | 联想(北京)有限公司 | Compatibility processing method and electronic device |
CN105278957A (en) * | 2015-10-08 | 2016-01-27 | 南京南瑞继保电气有限公司 | Version matching identification method for software and drive packet |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109582348A (en) * | 2018-11-22 | 2019-04-05 | Tcl移动通信科技(宁波)有限公司 | Processing method, mobile terminal and storage medium is arranged in mobile terminal radio frequency |
CN111414189A (en) * | 2020-03-20 | 2020-07-14 | 深圳前海微众银行股份有限公司 | Method and device for determining version compatibility |
CN112613915A (en) * | 2020-12-29 | 2021-04-06 | 上海触乐信息科技有限公司 | Method and device for supporting switching of double-version advertisement plug-in and electronic equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107959860B (en) | The method and apparatus of display live streaming list | |
CN110992493B (en) | Image processing method, device, electronic equipment and storage medium | |
CN108401124B (en) | Video recording method and device | |
CN109982102A (en) | The interface display method and system and direct broadcast server of direct broadcasting room and main broadcaster end | |
CN108710496A (en) | Configuration update method, device, equipment and the storage medium of application program | |
CN109618212A (en) | Information display method, device, terminal and storage medium | |
CN109348247A (en) | Determine the method, apparatus and storage medium of audio and video playing timestamp | |
CN109151044B (en) | Information pushing method and device, electronic equipment and storage medium | |
CN109522863B (en) | Ear key point detection method and device and storage medium | |
CN110278464A (en) | The method and apparatus for showing list | |
CN110213608A (en) | Show method, apparatus, equipment and the readable storage medium storing program for executing of virtual present | |
CN108897597A (en) | The method and apparatus of guidance configuration live streaming template | |
CN107959893A (en) | The method and apparatus for showing account head portrait | |
CN110166786A (en) | Virtual objects transfer method and device | |
CN108900925A (en) | The method and apparatus of live streaming template are set | |
CN111142838A (en) | Audio playing method and device, computer equipment and storage medium | |
CN109688461A (en) | Video broadcasting method and device | |
CN108717365A (en) | The method and apparatus for executing function in the application | |
CN109922356A (en) | Video recommendation method, device and computer readable storage medium | |
CN110288689A (en) | The method and apparatus that electronic map is rendered | |
CN109218751A (en) | The method, apparatus and system of recommendation of audio | |
CN108829582A (en) | The method and apparatus of program compatibility | |
CN110290191B (en) | Resource transfer result processing method, device, server, terminal and storage medium | |
CN108319712A (en) | The method and apparatus for obtaining lyrics data | |
CN111192072A (en) | User grouping method and device 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181116 |
|
RJ01 | Rejection of invention patent application after publication |