Movatterモバイル変換


[0]ホーム

URL:


CN103559031A - Compatible method of application program and electronic equipment - Google Patents

Compatible method of application program and electronic equipment
Download PDF

Info

Publication number
CN103559031A
CN103559031ACN201310522189.6ACN201310522189ACN103559031ACN 103559031 ACN103559031 ACN 103559031ACN 201310522189 ACN201310522189 ACN 201310522189ACN 103559031 ACN103559031 ACN 103559031A
Authority
CN
China
Prior art keywords
network
application program
information
network information
electronic equipment
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
Application number
CN201310522189.6A
Other languages
Chinese (zh)
Inventor
陈国政
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Leshi Zhixin Electronic Technology Tianjin Co Ltd
Original Assignee
Leshi Zhixin Electronic Technology Tianjin 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 Leshi Zhixin Electronic Technology Tianjin Co LtdfiledCriticalLeshi Zhixin Electronic Technology Tianjin Co Ltd
Priority to CN201310522189.6ApriorityCriticalpatent/CN103559031A/en
Publication of CN103559031ApublicationCriticalpatent/CN103559031A/en
Pendinglegal-statusCriticalCurrent

Links

Images

Landscapes

Abstract

An embodiment of the invention provides a compatible method of an application program and electronic equipment and relates to the field of the electronic technique. The compatible method of the application program and the electronic equipment can improve compatibility between the application program and the electronic equipment, and further improve user experience. The compatible method includes acquiring first network information, wherein the first network information is acquired by copying network information of the current linked network and includes the network type; if the network type included in the first network information is incompatible with a first application program, correcting the network type included in the first network information to the network type compatible with the first application program; operating the first application program according to the corrected network type in the first network information.

Description

A kind of compatibility method of application program and electronic equipment
Technical field
The present invention relates to electronic technology field, relate in particular to a kind of compatibility method and electronic equipment of application program.
Background technology
Development along with electronic technology, has intelligent operating system, as Android(Android) use of the electronic product of system is also more and more extensive.
In prior art, Android system default is supported two kinds of network types, is respectively Mobile data (as GPRS(General Packet Radio Service, general packet radio service technology) mobile phone flow) and wireless network (as wifi).In using the process of Android system, the network data of using while moving due to some application program of installing in Android system is larger, therefore, Mobile data for fear of user is not enough, generally when user uses wireless network, Android system is just moved this some application program, the application program that this some application program is wireless network compatibility.
Yet, because Android system is just moved this some application program when user uses wireless network, therefore, for not supporting wireless network, but support the electronic equipment of wired network, Android system also cannot be moved this some application program, thereby has reduced the compatibility of application program and electronic equipment, and then makes user's experience sense poor.
Summary of the invention
Embodiments of the invention provide a kind of compatibility method and electronic equipment of application program, can strengthen the compatibility between application program and electronic equipment, thereby promote user's experience sense.
For achieving the above object, embodiments of the invention adopt following technical scheme:
First aspect, embodiments of the invention provide a kind of compatibility method of application program, comprising:
Obtain first network information, described first network information is the information after the network information of current interconnection network is copied, described first network packets of information includes network type;
If incompatible the first application program of network type in described first network information, is revised as the network type in described first network information the network type of compatible described the first application program;
Network type according in amended described first network information, moves described the first application program.
In the possible implementation of the first of first aspect, described in obtain first network information after, before the network type in described first network information being revised as to the network type of compatible described the first application program, described method also comprises:
Judge whether compatible described the first application program of network type in described first network information.
In conjunction with the possible implementation of the first of first aspect, in the possible implementation of the second, described first network information also comprises the connection status of described current interconnection network, whether described current interconnection network is effective and extraneous information;
Wherein, described in obtain first network information after, before the network type in described first network information being revised as to the network type of compatible described the first application program, described method also comprises:
Network type in described first network information is copied in the extraneous information in described first network information.
In conjunction with the possible implementation of the second of first aspect, in the third possible implementation, described according to the network type in amended described first network information, after moving described the first application program, described method also comprises:
Delete amended described first network information.
In conjunction with the third possible implementation of first aspect, in the 4th kind of possible implementation, described method also comprises:
If compatible described the first application program of the network type in described first network information, according to the network type in described first network information, moves described the first application program.
In conjunction with any implementation in the possible four kinds of possible implementations of implementation to the of the first of aforesaid first aspect or first aspect, in the 5th kind of possible implementation, if incompatible the first application program of network type in described first network information, the network type that network type in described first network information is revised as to compatible described the first application program, specifically comprises:
If the network type in described first network information is wired network, the network type in described first network information is revised as to wireless network, wherein, incompatible described the first application program of described wired network, compatible described the first application program of described wireless network.
Second aspect, embodiments of the invention provide a kind of electronic equipment, comprising:
Acquiring unit, for obtaining first network information, described first network information is the information after copied cells copies the network information of current interconnection network, described first network packets of information includes network type;
Revise unit, if incompatible the first application program of the network type of the described first network information of obtaining for described acquiring unit is revised as the network type in described first network information the network type of compatible described the first application program;
Running unit, for according to the network type of the amended described first network information in described modification unit, moves described the first application program.
In the possible implementation of the first of second aspect, described electronic equipment also comprises judging unit,
Described judging unit, for after described acquiring unit obtains first network information, before described modification unit is revised as the network type of compatible described the first application program by the network type in described first network information, judge whether compatible described the first application program of network type in the described first network information that described acquiring unit obtains.
In conjunction with the possible implementation of the first of second aspect, in the possible implementation of the second, the described first network information that described acquiring unit obtains also comprises the connection status of described current interconnection network, whether described current interconnection network is effective and extraneous information;
Wherein, described copied cells, also for after described acquiring unit obtains first network information, described modification unit copies to the network type in described first network information in the extraneous information in described first network information before the network type in described first network information is revised as to the network type of compatible described the first application program.
In conjunction with the possible implementation of the first of aforesaid second aspect or second aspect to any implementation in the possible implementation of the second, in the third possible implementation,
Described modification unit, if the network type in the described first network information of obtaining specifically for described acquiring unit is wired network, the network type in described first network information is revised as to wireless network, wherein, incompatible described the first application program of described wired network, compatible described the first application program of described wireless network.
Embodiments of the invention provide a kind of compatibility method and electronic equipment of application program, by obtaining first network information, this first network information is the information after the network information of current interconnection network is copied, this first network packets of information includes network type, if and incompatible the first application program of the network type in this first network information, the network type in this first network information is revised as to the network type of compatible this first application program, and according to the network type in amended this first network information, move this first application program.By this scheme, if the network type of the current interconnection network of electronic equipment cannot compatible the first application program, can modify by the network type in the network information of the backup to after copying, and make electronic equipment to move this first application program according to amended network type, by network type being revised with compatible this first application program, thereby can strengthen the compatibility between application program and electronic equipment, and then promote user's experience sense.
Accompanying drawing explanation
The process flow diagram one of the compatibility method of a kind of application program that Fig. 1 provides for the embodiment of the present invention;
The flowchart 2 of the compatibility method of a kind of application program that Fig. 2 provides for the embodiment of the present invention;
The flow chart 3 of the compatibility method of a kind of application program that Fig. 3 provides for the embodiment of the present invention;
The process flow diagram four of the compatibility method of a kind of application program that Fig. 4 provides for the embodiment of the present invention;
The structural representation one of a kind of electronic equipment that Fig. 5 provides for the embodiment of the present invention;
The structural representation two of a kind of electronic equipment that Fig. 6 provides for the embodiment of the present invention;
The structural representation three of a kind of electronic equipment that Fig. 7 provides for the embodiment of the present invention.
Embodiment
Compatibility method and the electronic equipment of a kind of application program embodiment of the present invention being provided below in conjunction with accompanying drawing are described in detail.
Embodiment mono-
Embodiments of the invention provide a kind of compatibility method of application program, and as shown in Figure 1, the method can comprise:
S101, electronic equipment obtain first network information, and first network information is the information after the network information of current interconnection network is copied, wherein, and first network packets of information includes network type.
The electronic equipment that the embodiment of the present invention provides can be for having intelligent operating system, as the electronic equipment of Android system.Android system is a kind of freedom based on Linux and the operating system of open source code, is mainly used in mobile electronic device, as smart mobile phone and panel computer.There is the Android system applies of power when mobile electronic device, installation and operation that can support application program.
Especially, along with the development of Android technology, Android system also can be applied to other electronic equipments except mobile electronic device, as intelligent television, Set Top Box, multimedia player etc.
Because Android system default can only be supported Mobile data (as mobile phone GPRS flow etc.) and two kinds of network types of wireless network (as wifi etc.), but consider that user is using mobile electronic device, the Mobile data that can use during as mobile phone is limited, therefore, Android system is when design, for some, use the larger application program of network data, the first application program only just can be moved when the wireless network providing compared with macroreticular data is provided mobile electronic device.Further, because wired network also can provide larger network data, but, because Android system default can only just can move this first application program when electronic equipment uses wireless network, therefore, for above-mentioned other electronic equipments, as intelligent television, Set Top Box, multimedia player etc., if these other electronic equipments are not supported wireless network, but support wired network, these other electronic equipments also cannot normally move this first application program.In order not support wireless network, but support normal this first application program of operation in the electronic equipment of wired network, a kind of possible implementation is write this first application program again for software developer, so that this application program can not supported wireless network, but support normally operation in the electronic equipment of wired network.Yet, this method needs the software developer of each the first application program special in not supporting wireless network, but the electronic equipment of supporting wired network is write this first application program again, so that this first application program can not supported wireless network, but support normally operation in the electronic equipment of wired network, waste manpower, financial resources and material resources, reduced work efficiency.
The embodiment of the present invention provides a kind of compatibility method of application program, without the first application program is re-started and write, but can be by the network type in the network information of the current interconnection network of modification, to realize, do not support wireless network, but support that the electronic equipment of wired network can compatible this first application program, can normally move this first application program.
Concrete, first electronic equipment obtains the network information of the current interconnection network of electronic equipment, i.e. primitive network information, and copy this primitive network information, to obtain first network information, electronic equipment obtains first network information, wherein, first network information can comprise network type.Because first network information is to the information after primitive network information reproduction, therefore, the content of the primitive network information that the content of first network information is obtained with electronic equipment is identical.
It should be noted that, the electronic equipment replicating original network information, to obtain first network information, is for after the network type of first network information being revised at electronic equipment, the network information that still can preserve the actual interconnection network of electronic equipment in electronic equipment.
If incompatible the first application program of network type in S102 first network information, electronic equipment is revised as the network type in first network information the network type of compatible the first application program.
After electronic equipment obtains first network information, electronic equipment can judge the network type in this first network information, if incompatible the first application program of network type in this first network information, electronic equipment can be revised as the network type in this first network information the network type of compatible the first application program.The network type of concrete compatibility and incompatible the first application program will be elaborated in subsequent implementation.
S103, electronic equipment, according to the network type in amended first network information, move the first application program.
After electronic equipment is revised the network type in first network information, electronic equipment can move the first application program according to amended network type.
Concrete, electronic equipment need judge that network type in first network information whether can compatible the first application program, whether can support the operation of this first application program.When electronic equipment the network type in first network information is revised as can the network type of compatible this first application program after, electronic equipment can be judged this amended network type can support this first application program operation, thereby electronic equipment can move this first application program according to this amended network type.
A kind of compatibility method of applying journey that the embodiment of the present invention provides, on software is realized, can be by increase a new software interface in the system software of electronic equipment, for indicating user according to the function of user's self demand opening and closing compatible application.The above-mentioned electronic equipment replicating original network information is to obtain the process of first network information simultaneously, equally also need the system software of electronic equipment to modify, so that when user opens the function of compatible application, electronic equipment can complete copying primitive network information automatically according to the design of amended system software.
The compatibility method of the application program that the embodiment of the present invention provides, can make the application program that can only just can move in prior art when electronic equipment uses wireless network, when using wired network, electronic equipment also can move, thereby the developer without application program writes these application programs again, save cost of development, strengthened the compatibility of application program and electronic equipment.
Embodiments of the invention provide a kind of compatibility method of application program, by obtaining first network information, this first network information is the information after the network information of current interconnection network is copied, this first network packets of information includes network type, if and incompatible the first application program of the network type in this first network information, the network type in this first network information is revised as to the network type of compatible this first application program, and according to the network type in amended this first network information, move this first application program.By this scheme, if the network type of the current interconnection network of electronic equipment cannot compatible the first application program, can modify by the network type in the network information of the backup to after copying, and make electronic equipment to move this first application program according to amended network type, by network type being revised with compatible this first application program, thereby can strengthen the compatibility between application program and electronic equipment, and then promote user's experience sense.
Embodiment bis-
Embodiments of the invention provide a kind of compatibility method of application program, and as shown in Figure 2, the method can comprise:
S201, electronic equipment obtain the network information of current interconnection network.
The electronic equipment that the embodiment of the present invention provides can be for having intelligent operating system, as the electronic equipment of Android system.Android system is a kind of freedom based on Linux and the operating system of open source code, is mainly used in mobile electronic device, as smart mobile phone and panel computer.There is the Android system applies of power when mobile electronic device, installation and operation that can support application program.
Especially, along with the development of Android technology, Android system also can be applied to other electronic equipments except mobile electronic device, as intelligent television, Set Top Box, multimedia player etc.
Because Android system default can only be supported Mobile data (as mobile phone GPRS flow etc.) and two kinds of network types of wireless network (as wifi etc.), but consider that user is using mobile electronic device, the Mobile data that can use during as mobile phone is limited, therefore, Android system is when design, for some, use the larger application program of network data, the first application program only just can be moved when the wireless network providing compared with macroreticular data is provided mobile electronic device.
Further, because wired network also can provide larger network data, but, because Android system default can only just can move this first application program when electronic equipment uses wireless network, therefore, for above-mentioned other electronic equipments, as intelligent television, Set Top Box, multimedia player etc., if these other electronic equipments are not supported wireless network, but support wired network, these other electronic equipments also cannot normally move this first application program.
In order not support wireless network, but support normal this first application program of operation in the electronic equipment of wired network, a kind of possible implementation is write this first application program again for software developer, so that this application program can not supported wireless network, but support normally operation in the electronic equipment of wired network.Yet, this method needs the software developer of each the first application program special in not supporting wireless network, but the electronic equipment of supporting wired network is write this first application program again, so that this first application program can not supported wireless network, but support normally operation in the electronic equipment of wired network, waste manpower, financial resources and material resources, reduced work efficiency.
The embodiment of the present invention provides a kind of compatibility method of application program, without the first application program is re-started and write, but can be by the network type in the network information of the current interconnection network of modification, to realize, do not support wireless network, but support that the electronic equipment of wired network can compatible this first application program, can normally move this first application program.
Concrete, electronic equipment starting up and network successfully after, first electronic equipment obtains the network information of the current interconnection network of electronic equipment, i.e. primitive network information.
S202, electronic equipment are opened the function of compatible application according to user's operational order.
After electronic equipment starting up, for the application program that guarantees to install in electronic equipment can normally be moved, user can indicate by operational order the function of compatible application in electronic equipment unlocking electronic equipment, thus the application program of installing in moving electronic equipment under the condition that electronic equipment can be opened in the function of compatible application.
Further, above-mentioned user's operational order can be sent to electronic equipment by telepilot for user, also can be for user is sent to electronic equipment by button integrated on electronic equipment, and the present invention does not limit.
It should be noted that, the present invention does not limit the execution sequence of S201 and S202, i.e. the present invention carries out S202 after can first carrying out S201; Also after S202 can first being carried out, carry out S201; Can also carry out S201 and S202 simultaneously.
S203, electronic equipment obtain first network information, and first network information is the information after the network information of current interconnection network is copied, wherein, and first network packets of information includes network type.
Electronic equipment obtains the network information of the current interconnection network of electronic equipment, and, after primitive network information, electronic equipment copies this primitive network information, to obtain first network information, be that electronic equipment gets first network information, wherein, first network information can comprise network type.Because first network information is to the information after primitive network information reproduction, therefore, the content of the primitive network information that the content of first network information is obtained with electronic equipment is identical.
It should be noted that, the electronic equipment replicating original network information, to obtain first network information, is for after the network type of first network information being revised at electronic equipment, the network information that still can preserve the actual interconnection network of electronic equipment in electronic equipment.
Whether the current interconnection network of connection status, electronic equipment that optionally, first network information can also comprise the current interconnection network of electronic equipment is effectively and extraneous information.Wherein, in extraneous information, can comprise the MAC(Media Access Control of electronic equipment, medium access control) address etc.
Further, whether the current interconnection network of connection status, electronic equipment of the current interconnection network of above-mentioned electronic equipment effectively can be used for indicating some information of the current interconnection network of electronic equipment, thereby electronic equipment can carry out corresponding network settings or other process relevant with the network information according to these information.Above-mentioned extraneous information some extraneous informations relevant to the current interconnection network of electronic equipment for preserving, so that the information that electronic equipment can need to back up some, as the network type of the actual interconnection network of electronic equipment, and the information that needs remarks etc. is kept in this extraneous information.
S204, electronic equipment copy to the network type in first network information in the extraneous information in first network information.
After electronic equipment obtains first network information, electronic equipment can copy to the network type in first network information in the extraneous information in first network information.This is for electronic equipment is when carrying out network settings to the system of electronic equipment, can arrange according to the network type in the extraneous information in first network information, thereby guarantee that the network type of the actual interconnection network of electronic equipment is correct.
S205, electronic equipment judge whether compatible the first application program of the network type in first network information.
After electronic equipment obtains first network information, electronic equipment can judge whether compatible the first application program of the network type in first network information.
It should be noted that, embodiments of the invention do not limit the execution sequence of S204 and S205, i.e. the present invention carries out S205 after can first carrying out S204; Also after S205 can first being carried out, carry out S204; Can also while S204 and S205.
If incompatible the first application program of network type in S206 first network information, electronic equipment is revised as the network type in first network information the network type of compatible the first application program.
After electronic equipment judges the network type in first network information, if incompatible the first application program of the network type in first network information, electronic equipment can be revised as the network type in first network information the network type of compatible the first application program.
For instance, suppose incompatible the first application program of wired network, compatible the first application program of wireless network.If the network type that electronic equipment is judged in first network information is wired network, i.e. incompatible the first application program of this network type (not supporting the operation of the first application program), electronic equipment can be revised as wireless network by the network type in first network information, so that amended network type can compatible the first application program, amended network type can be supported the operation of the first application program.
It should be noted that, above-mentionedly only take wired network and two kinds of network types of wireless network and carry out exemplary explanation as example, can compatible some application program for some other network types, and some network type cannot compatible this some application program situation, the compatibility method of a kind of application program that the embodiment of the present invention provides is applicable equally.For other, allly by revising network type or network related information, make the method that electronic equipment can be compatible to application program that before can not be compatible, within all belonging to protection scope of the present invention.
S207, electronic equipment, according to the network type in amended first network information, move the first application program.
After electronic equipment is revised the network type in first network information, electronic equipment can move the first application program according to amended network type.
Concrete, electronic equipment need judge that network type in first network information whether can compatible the first application program, whether can support the operation of this first application program.When electronic equipment the network type in first network information is revised as can the network type of compatible this first application program after, electronic equipment can be judged this amended network type can support this first application program operation, thereby electronic equipment can move this first application program according to this amended network type.
The compatibility method of a kind of application program that the embodiment of the present invention provides, on software is realized, can be by increase a new software interface in the system software of electronic equipment, for indicating user according to the function of user's self demand opening and closing compatible application.The above-mentioned electronic equipment replicating original network information is to obtain the process of first network information simultaneously, equally also need the system software of electronic equipment to modify, so that when user opens the function of compatible application, electronic equipment can complete copying primitive network information automatically according to the design of amended system software.
Further, referring to Fig. 2, at S207, electronic equipment is according to the network type in amended first network information, and after moving the first application program, as shown in Figure 3, the compatibility method of a kind of application program that the embodiment of the present invention provides can also comprise:
S208, electronic equipment are deleted amended first network information.
Electronic equipment is according to the network type in amended first network information, after moving the first application program, electronic equipment is just without the network type in amended first network information having been judged again, therefore, after electronic equipment moves this first application program, electronic equipment just can have been deleted amended first network information, this be for fear of electronic equipment in operation during other application programs, the network type of the actual interconnection network of electronic equipment obtaining is wrong network type.
Optionally, referring to Fig. 2 and Fig. 3, at S205, after electronic equipment judges whether compatible the first application program of network type in first network information, as shown in Figure 4, the compatibility method of a kind of application program that the embodiment of the present invention provides can also comprise:
If compatible the first application program of the network type in S209 first network information, electronic equipment, according to the network type in first network information, moves the first application program.
After whether compatible the first application program of the network type of electronic equipment in judging first network information, if the network type in this first network information can compatible this first application program, electronic equipment can, according to the network type in this first network information, move this first application program.
Be understandable that, if the network type in first network information can compatible the first application program, electronic equipment can be without the network type of revising in first network information, but can, directly according to the network type in first network information, move the first application program.Like this, can improve the efficiency that electronic equipment runs application.
The compatibility method of the application program that the embodiment of the present invention provides, can make the application program that can only just can move in prior art when electronic equipment uses wireless network, when using wired network, electronic equipment also can move, thereby the developer without application program writes these application programs again, save cost of development, strengthened the compatibility of application program and electronic equipment.
Embodiments of the invention provide a kind of compatibility method of application program, by obtaining first network information, this first network information is the information after the network information of current interconnection network is copied, this first network packets of information includes network type, if and incompatible the first application program of the network type in this first network information, the network type in this first network information is revised as to the network type of compatible this first application program, and according to the network type in amended this first network information, move this first application program.By this scheme, if the network type of the current interconnection network of electronic equipment cannot compatible the first application program, can modify by the network type in the network information of the backup to after copying, and make electronic equipment to move this first application program according to amended network type, by network type being revised with compatible this first application program, thereby can strengthen the compatibility between application program and electronic equipment, and then promote user's experience sense.
Embodiment tri-
As shown in Figure 5, the embodiment of the present invention provides a kind ofelectronic equipment 1, and thiselectronic equipment 1 can comprise:
Acquiringunit 10, for obtaining first network information, described first network information is the information after the network information of 11 pairs of current interconnection networks of copied cells copies, described first network packets of information includes network type.
Reviseunit 12, if incompatible the first application program of the network type of the described first network information of obtaining for described acquiringunit 10 is revised as the network type in described first network information the network type of compatible described the first application program.
Runningunit 13, for according to the network type of describedmodification unit 12 amended described first network information, moves described the first application program.
Optionally, describedmodification unit 12, if the network type in the described first network information of obtaining specifically for described acquiringunit 10 is wired network, the network type in described first network information is revised as to wireless network, wherein, incompatible described the first application program of described wired network, compatible described the first application program of described wireless network.
Optionally, as shown in Figure 6, describedelectronic equipment 1 can also comprise judgingunit 14,
Described judgingunit 14, for after described acquiringunit 10 obtains first network information, before describedmodification unit 12 is revised as the network type of compatible described the first application program by the network type in described first network information, judge whether compatible described the first application program of network type in the described first network information that described acquiringunit 10 obtains.
Optionally, the described first network information that described acquiringunit 10 obtains also comprises that whether effectively and extraneous information the connection status of described current interconnection network, described current interconnection network.
Optionally, described copiedcells 11, for after described acquiringunit 10 obtains first network information, describedmodification unit 12 copies to the network type in described first network information in the extraneous information in described first network information before the network type in described first network information is revised as to the network type of compatible described the first application program.
Optionally, describedmodification unit 12, also in described runningunit 13 according to the network type of describedmodification unit 12 amended described first network information, after moving described the first application program, delete amended described first network information.
Optionally, described runningunit 13, if compatible described the first application program of the network type of the described first network information of also obtaining for described acquiringunit 10, according to the network type in described first network information, is moved described the first application program.
The electronic equipment that the embodiment of the present invention provides can comprise intelligent television, Set Top Box, multimedia player etc.Further, this electronic equipment can be for not supporting wireless network, but support the electronic equipment of wired network.
Embodiments of the invention provide a kind of electronic equipment, this electronic equipment is by obtaining first network information, this first network information is the information after this electronic equipment copies the network information of current interconnection network, this first network packets of information includes network type, if and incompatible the first application program of the network type in this first network information, this electronic equipment is revised as the network type in this first network information the network type of compatible this first application program, and this electronic equipment is according to the network type in amended this first network information, move this first application program.By this scheme, if the network type of the current interconnection network of electronic equipment cannot compatible the first application program, can modify by the network type in the network information of the backup to after copying, and make electronic equipment to move this first application program according to amended network type, by network type being revised with compatible this first application program, thereby can strengthen the compatibility between application program and electronic equipment, and then promote user's experience sense.
Embodiment tetra-
As shown in Figure 7, the embodiment of the present invention provides a kind of electronic equipment, and this electronic equipment can compriseprocessor 20,storer 21,network interface 22 andsystem bus 23, wherein,
Betweenprocessor 20,storer 21 andnetwork interface 22, bysystem bus 23, connect and complete mutual communication.
Processor 20 may be monokaryon or multinuclear CPU (central processing unit), or is specific integrated circuit, or for being configured to implement one or more integrated circuit of the embodiment of the present invention.
Storer 21 can be high-speed RAM (Random Access Memory, random access memory) storer, can be also nonvolatile memory (non-volatile memory), for example at least one magnetic disk memory.
Storer 21 is for the execution instruction of store electrons equipment.Concrete, in the execution instruction of electronic equipment, can comprise software program and software code.
When electronic equipment moves, the execution instruction ofprocessor 20 operation electronic equipments, one ofcan execution graph 1 to Fig. 4 any described method flow, specifically comprises:
Describedprocessor 20 can be used for obtaining first network information by describedsystem bus 23, if and incompatible the first application program of the network type in described first network information, the network type in described first network information is revised as to the network type of compatible described the first application program, and according to the network type in amended described first network information, move described the first application program, described first network information is the information the network information of the current interconnection network that obtains from describednetwork interface 22 by describedsystem bus 23 of 20 pairs of describedprocessors 20 of described processor copies, described first network packets of information includes network type, describedstorer 21 can be used for storing the software code of the network information, the software code of the software code of described first network information, amended described first network information, described first application program of described current interconnection network and controlling the software program that described electronic equipment completes said process, thereby describedprocessor 20 can complete said process by carrying out above-mentioned software program and calling above-mentioned software code.
Optionally, describedprocessor 20, if be wired network specifically for the network type in described first network information, the network type in described first network information is revised as to wireless network, wherein, incompatible described the first application program of described wired network, compatible described the first application program of described wireless network.
Optionally, describedprocessor 20, also for described obtain first network information after, before network type in described first network information being revised as to the network type of compatible described the first application program, judge whether compatible described the first application program of network type in described first network information.
Optionally, the described first network information that describedprocessor 20 obtains also comprises that whether effectively and extraneous information the connection status of described current interconnection network, described current interconnection network.
Optionally, describedprocessor 20, also for after obtaining first network information, before network type in described first network information being revised as to the network type of compatible described the first application program, the network type in described first network information is copied in the extraneous information in described first network information.
Optionally, describedprocessor 20, also, for according to the network type of amended described first network information, after moving described the first application program, deletes amended described first network information.
Optionally, describedprocessor 20, if also for compatible described first application program of network type of described first network information, according to the network type in described first network information, move described the first application program.
Embodiments of the invention provide a kind of electronic equipment, this electronic equipment is by obtaining first network information, this first network information is the information after this electronic equipment copies the network information of current interconnection network, this first network packets of information includes network type, if and incompatible the first application program of the network type in this first network information, this electronic equipment is revised as the network type in this first network information the network type of compatible this first application program, and this electronic equipment is according to the network type in amended this first network information, move this first application program.By this scheme, if the network type of the current interconnection network of electronic equipment cannot compatible the first application program, can modify by the network type in the network information of the backup to after copying, and make electronic equipment to move this first application program according to amended network type, by network type being revised with compatible this first application program, thereby can strengthen the compatibility between application program and electronic equipment, and then promote user's experience sense.
Those skilled in the art can be well understood to, for convenience and simplicity of description, only the division with above-mentioned each functional module is illustrated, in practical application, can above-mentioned functions be distributed and by different functional modules, completed as required, the inner structure that is about to device is divided into different functional modules, to complete all or part of function described above.The specific works process of the device of foregoing description, can, with reference to the corresponding process in preceding method embodiment, not repeat them here.
In the several embodiment that provide in the application, should be understood that disclosed apparatus and method can realize by another way.For example, device embodiment described above is only schematic.
The described unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be a physical location or a plurality of physical location, can be positioned at a place, or also can be distributed to a plurality of different local.Can select according to the actual needs some or all of unit wherein to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can be also that the independent physics of unit exists, and also can be integrated in a unit two or more unit.Above-mentioned integrated unit both can adopt the form of hardware to realize, and also can adopt the form of SFU software functional unit to realize.
If the form of SFU software functional unit of usining described integrated unit realizes and during as production marketing independently or use, can be stored in a read/write memory medium.Understanding based on such, the all or part of of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this software product is stored in a storage medium, comprise that some instructions are with so that an equipment (can be single-chip microcomputer, chip etc.) or processor (processor) are carried out all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: various media that can be program code stored such as USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-Only Memory), random access memory, magnetic disc or CDs.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion by the described protection domain with claim.

Claims (10)

CN201310522189.6A2013-10-292013-10-29Compatible method of application program and electronic equipmentPendingCN103559031A (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201310522189.6ACN103559031A (en)2013-10-292013-10-29Compatible method of application program and electronic equipment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201310522189.6ACN103559031A (en)2013-10-292013-10-29Compatible method of application program and electronic equipment

Publications (1)

Publication NumberPublication Date
CN103559031Atrue CN103559031A (en)2014-02-05

Family

ID=50013287

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201310522189.6APendingCN103559031A (en)2013-10-292013-10-29Compatible method of application program and electronic equipment

Country Status (1)

CountryLink
CN (1)CN103559031A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111601301A (en)*2020-05-152020-08-28北京小米移动软件有限公司 Display method, storage method, device and storage medium of network type

Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101527951A (en)*2009-03-302009-09-09深圳华为通信技术有限公司Method for registering network at mobile terminal and mobile terminal
CN101699843A (en)*2009-11-042010-04-28中兴通讯股份有限公司Voice call method and device capable of automatically adapting camel network type
CN103220283A (en)*2013-04-082013-07-24北京小米科技有限责任公司Method, equipment and system for network sharing
EP2631789A1 (en)*2012-02-212013-08-28Samsung Electronics Co., LtdApparatus and method for grouping application program folders in electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101527951A (en)*2009-03-302009-09-09深圳华为通信技术有限公司Method for registering network at mobile terminal and mobile terminal
CN101699843A (en)*2009-11-042010-04-28中兴通讯股份有限公司Voice call method and device capable of automatically adapting camel network type
EP2631789A1 (en)*2012-02-212013-08-28Samsung Electronics Co., LtdApparatus and method for grouping application program folders in electronic device
CN103220283A (en)*2013-04-082013-07-24北京小米科技有限责任公司Method, equipment and system for network sharing

Cited By (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN111601301A (en)*2020-05-152020-08-28北京小米移动软件有限公司 Display method, storage method, device and storage medium of network type
CN111601301B (en)*2020-05-152023-08-29北京小米移动软件有限公司 Network type display method, storage method, device and storage medium

Similar Documents

PublicationPublication DateTitle
CN102360298B (en)Software upgrading method of terminal equipment
CN102591745B (en)Method and device for system recovery based on android system and intelligent equipment
CN105373419A (en)Background application operation method and system
CN111045714A (en)Firmware updating method and device, earphone and computer readable storage medium
CN104182255A (en)Method and terminal for upgrading library files of system application
CN103729210A (en)Method and device for supporting intelligent terminals of multiple sorts of modes with one flashing package
CN102082730B (en)Router upgrading method and router
CN101763418A (en)File resource access method and device
CN103383660A (en)Method and device for realizing functions of cache partition of Android system as well as terminal equipment
CN103049287A (en) Mobile terminal and method for installing mobile terminal applications
CN110716845B (en)Log information reading method of Android system
CN101833464A (en)Method and device for sectionally loading application programs by mobile terminal
CN103218428B (en)A kind of dynamic link method and system
CN102141926A (en)Application program management method, device and digital television set top box
CN105677180A (en)Application program icon processing method and device
CN108509215A (en)System software replacing method and device, terminal equipment and storage medium
CN103377079A (en)Terminal, device and method for terminal application running and application program running method
CN105591778A (en)Method and system for updating configuration file in distributed system
CN104503790B (en)The management method and system of a kind of application version, intelligent terminal
CN110753040B (en)Request processing method and device
CN102073541B (en)Data access method and mobile terminal
CN103617135B (en)The method and device of digital independent in a kind of storage device
CN108008970A (en)Application upgrade method and device
CN103516863A (en)Equipment capacity management method and mobile terminal
CN103559031A (en)Compatible method of application program and electronic equipment

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
RJ01Rejection of invention patent application after publication
RJ01Rejection of invention patent application after publication

Application publication date:20140205


[8]ページ先頭

©2009-2025 Movatter.jp