Console version compatibility method, device and electronic equipment
Technical field
The present invention relates to field of computer technology, more particularly, to a kind of console version compatibility method, device and electronics
Equipment.
Background technique
Console is for controlling user in IDC (Internet Data Center, Internet data center) computer room
Resource, such as adjustment computer room bandwidth.Wherein, IDC is telecommunication department using existing internet communication route, bandwidth resources, is built
Standardized telecommunication field grade building environment is found, provides trust server, rental and related increment etc. for enterprise, government
All-around service.
With the development of science and technology, the application environment of IDC computer room is just gradually by BASIC (Beginners'All-purpose
Symbolic Instruction Code, beginners all-purpose symbolic instruction code) environment is to VPC (Virtual Private
Cloud, virtual private cloud) nvironment transition.Therefore, network product line, main computer boxes line, safety product line etc. are compared
Old product line, in order to meet the needs of different user, console all has new and old two versions of both corresponding running environment
This console application program, wherein BASIC environment corresponds to the console application program of early version, and VPC environment corresponds to new version
Console application program.Since the console application program of new early version is two sets of different, independent programs, console pair
The operation of VPC computer room (the IDC computer room under VPC environment) and the operation of BASIC computer room (the IDC computer room under BASIC environment) are not
The same, there have been the compatibling problems of the console application program of new early version for this.
For the compatibling problem of the console application program of new early version, traditional way is to modify the front end of console,
By hard coded by the page of the console front-end application of early version embedded in the console front-end application of new version
In the page, i.e., the interface of existing early version also has the interface of new version in front end page, is write in a program using if/else sentence
Enter the corresponding service logic of each interface, by judging that Client-initiated requests corresponding interface type, executes corresponding control
Platform backend applications.
Since the front end page of console has a interfaces up to a hundred, it is therefore desirable to write hundred if/else sentences, such side
Face will affect beauty, new program bug (loophole) on the other hand can be introduced, to have an impact to existing business.In addition, due to
The corresponding page style of new early version is completely different, and the operation feeling of user can be completely different, i.e. the operating experience of user
Consistency is poor.Therefore it is poor to will lead to user experience for existing console version compatibility method.
Summary of the invention
In view of this, the purpose of the present invention is to provide a kind of console version compatibility method, device and electronic equipment, with
The influence to existing business is reduced, the consistency of user's operating experience in different console versions is improved, to improve user
Experience Degree.
In a first aspect, the embodiment of the invention provides a kind of console version compatibility methods, comprising:
Obtain the accessing page request that console front-end application is sent;
The accessing page request is parsed, analytically after data in obtain application environment mark and request in
Hold;
Based on the application environment mark and default corresponding relationship, the control to match with the application environment mark is obtained
Platform backend applications information;Wherein, the default corresponding relationship is that application environment mark and console backend applications are believed
The corresponding relationship of breath;
Based on the console backend applications information being matched to, the control that the request content is sent to and is matched to
The corresponding console backend applications of platform backend applications information.
With reference to first aspect, the embodiment of the invention provides the first possible embodiments of first aspect, wherein institute
Stating default corresponding relationship includes:
The corresponding relationship of first application environment mark and the first console backend applications information;And
The corresponding relationship of second application environment mark and the second console backend applications information;
Wherein, the corresponding first console backend applications of the first console backend applications information;Described
Two console backend applications information correspond to the second console backend applications.
The possible embodiment of with reference to first aspect the first, the embodiment of the invention provides second of first aspect
Possible embodiment, wherein if the console front-end application is the first console front-end application, and described answer
It is the first application environment mark with environmental mark, then:
The console backend applications information to match with the application environment mark is the first console rear end
Application information.
The possible embodiment of second with reference to first aspect, the embodiment of the invention provides the third of first aspect
Possible embodiment, wherein if the console front-end application is the first console front-end application, and described answer
It is the second application environment mark with environmental mark, then:
The console backend applications information to match with the application environment mark is the second console rear end
Application information.
With reference to first aspect the first to any possible embodiment in the third, the embodiment of the present invention provides
4th kind of possible embodiment of first aspect, wherein the first application environment mark is for indicating VPC environment, institute
Stating the first console backend applications is the console backend applications applied under VPC environment;
The second application environment mark indicates BASIC environment, and the second console backend applications are in BASIC
The console backend applications applied under environment;
The console backend applications information includes unique identifier, port and the IP of console backend applications
Address.
With reference to the above first aspect or its first to any possible embodiment in the third, the present invention is implemented
Example provides the 5th kind of possible embodiment of first aspect, wherein the control that the request content is sent to and is matched to
After the corresponding console backend applications of platform backend applications information processed, the method also includes:
Receive the access result that console backend applications return;
The access console backend applications of result and answering for the console front-end application are fed back in judgement
It is whether identical with environment;
If they are the same, then the access result is fed back into the console front-end application;
If it is different, the access result is then converted into the format to match with the console front-end application, and
Access result after conversion is sent to the console front-end application.
Second aspect, the embodiment of the present invention also provide a kind of console edition compatibility device, comprising:
Module is obtained, for obtaining the accessing page request of console front-end application transmission;
Parsing module, for being parsed to the accessing page request, analytically after data in obtain application environment
Mark and request content;
Determining module obtains and the application environment mark for being based on the application environment mark and default corresponding relationship
The console backend applications information that will matches;Wherein, the default corresponding relationship is application environment mark and console
The corresponding relationship of backend applications information;
First sending module, for based on the console backend applications information being matched to, the request content to be sent out
It send to console backend applications corresponding with the console backend applications information being matched to.
In conjunction with second aspect, the embodiment of the invention provides the first possible embodiments of second aspect, wherein institute
Stating default corresponding relationship includes:
The corresponding relationship of first application environment mark and the first console backend applications information;And
The corresponding relationship of second application environment mark and the second console backend applications information;
Wherein, the corresponding first console backend applications of the first console backend applications information;Described
Two console backend applications information correspond to the second console backend applications.
In conjunction with the first possible embodiment of second aspect, the embodiment of the invention provides second of second aspect
Possible embodiment, wherein if the console front-end application is the first console front-end application, and described answer
It is the first application environment mark with environmental mark, then:
The console backend applications information to match with the application environment mark is the first console rear end
Application information.
In conjunction with second of possible embodiment of second aspect, the embodiment of the invention provides the third of second aspect
Possible embodiment, wherein if the console front-end application is the first console front-end application, and described answer
It is the second application environment mark with environmental mark, then:
The console backend applications information to match with the application environment mark is the second console rear end
Application information.
In conjunction with second aspect the first to any possible embodiment in the third, the embodiment of the present invention provides
4th kind of possible embodiment of second aspect, wherein the first application environment mark is for indicating VPC environment, institute
Stating the first console backend applications is the console backend applications applied under VPC environment;
The second application environment mark indicates BASIC environment, and the second console backend applications are in BASIC
The console backend applications applied under environment;
The console backend applications information includes unique identifier, port and the IP of console backend applications
Address.
In conjunction with above-mentioned second aspect or its first to any possible embodiment in the third, the present invention is implemented
Example provides the 5th kind of possible embodiment of second aspect, wherein described device further include:
Receiving module, for receiving the access result of console backend applications return;
Judgment module feeds back the console backend applications for accessing result and the console front end for judging
Whether the application environment of application program is identical;
Second sending module, if for the judgment module judging result be it is identical, by the access result feedback
To the console front-end application;If the judging result of the judgment module is difference, the access result is converted
For the format to match with the console front-end application, and before the access result after conversion is sent to the console
Hold application program.
The third aspect, the embodiment of the present invention also provide a kind of electronic equipment, including memory, processor, the memory
In be stored with the computer program that can be run on the processor, the processor is realized when executing the computer program
State method described in first aspect or its any possible embodiment.
Fourth aspect, the embodiment of the present invention also provide a kind of meter of non-volatile program code that can be performed with processor
Calculation machine readable medium, said program code make the processor execute above-mentioned first aspect or its any possible embodiment
The method.
The embodiment of the present invention bring it is following the utility model has the advantages that
In the embodiment of the present invention, the accessing page request that console front-end application is sent is obtained;Page access is asked
Ask and parsed, analytically after data in obtain application environment mark and request content;Based on application environment mark and preset
Corresponding relationship obtains the console backend applications information to match with application environment mark;Wherein, default corresponding relationship is
The corresponding relationship of application environment mark and console backend applications information;Based on the console backend applications being matched to
Request content is sent to console backend application journey corresponding with the console backend applications information being matched to by information
Sequence.By being adapted to the request of user in the rear end of console, the console backend applications of request call are determined, to realize
The fusions of multiple console versions neither influences existing business in this way, and with save the cost, can improve the operation speed of system
Degree;In addition user experience is determined by front end, and front end only retains a console front-end application, therefore improves user not
With the consistency of operating experience in console version, to improve the Experience Degree of user.
Other features and advantages of the present invention will illustrate in the following description, also, partly become from specification
It obtains it is clear that understand through the implementation of the invention.The objectives and other advantages of the invention are in specification and attached drawing
Specifically noted structure is achieved and obtained.
To enable the above objects, features and advantages of the present invention to be clearer and more comprehensible, preferred embodiment is cited below particularly, and cooperate
Appended attached drawing, is described in detail below.
Detailed description of the invention
It, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical solution in the prior art
Embodiment or attached drawing needed to be used in the description of the prior art be briefly described, it should be apparent that, it is described below
Attached drawing is some embodiments of the present invention, for those of ordinary skill in the art, before not making the creative labor
It puts, is also possible to obtain other drawings based on these drawings.
Fig. 1 is the frame structure signal that a kind of console version compatibility method provided in an embodiment of the present invention realizes environment
Figure;
Fig. 2 is a kind of flow diagram of console version compatibility method provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of another console version compatibility method provided in an embodiment of the present invention;
Fig. 4 is the flow diagram of another console version compatibility method provided in an embodiment of the present invention;
Fig. 5 is a kind of structural schematic diagram of console edition compatibility device provided in an embodiment of the present invention;
Fig. 6 is the structural schematic diagram of another console edition compatibility device provided in an embodiment of the present invention;
Fig. 7 is the structural schematic diagram of a kind of electronic equipment provided in an embodiment of the present invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with attached drawing to the present invention
Technical solution be clearly and completely described, it is clear that described embodiments are some of the embodiments of the present invention, rather than
Whole embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Under every other embodiment obtained, shall fall within the protection scope of the present invention.
Way traditional when the console application program fusion of new early version is modification front end at present, will lead to user in this way
It experiences poor.Based on this, a kind of console version compatibility method, device and electronic equipment provided in an embodiment of the present invention.At this
In invention, the console front-end application of latest edition can be run on headend equipment, runs new and old two in rear end equipment
The console backend applications and fore-lying device of a version.The accessing page request meeting sent from console front-end application
It is first intercepted by fore-lying device, if fore-lying device identifies that the accessing page request belongs to the console backend applications of new version, meeting
The accessing page request is sent to the console backend applications of new version, if fore-lying device identifies the accessing page request
Belong to the console backend applications of early version, which can be sent to the console backend application of early version
Program.The present invention can only to retain newest console front-end application on headend equipment, compared with the existing technology in
The front-end application that two versions of the old and new are run on headend equipment, brings the experience of unification to user, to improve
The Experience Degree of user, reduces the influence to existing business.
For convenient for understanding the present embodiment, first to a kind of console edition compatibility disclosed in the embodiment of the present invention
Method describes in detail.
Embodiment one:
As shown in Figure 1, realizing environment packet in one embodiment of console version compatibility method provided by the invention
It includes: headend equipment and rear end equipment.Wherein, headend equipment can be PC equipment (personal computer), and rear end equipment can
To be server.Operation has the first console front-end application on headend equipment, and operation has the first console in rear end equipment
Backend applications and the second console backend applications.The present invention increases an application program (i.e. in rear end equipment
Fore-lying device shown in Fig. 1).It should be noted that the first console front-end application is the control of new version in the present embodiment
Platform front-end application processed, the first console backend applications are the console backend applications of new version, the second control
Platform backend applications are front-end application after the control of early version, and but the scope of the present invention is not limited thereto, according to need
It wants, the first console front-end application may be the console front-end application of early version.In addition, provided by the invention
Console version compatibility method is not limited to only for two console versions.
Fig. 2 is a kind of flow diagram of console version compatibility method provided in an embodiment of the present invention, and this method is by Fig. 1
In fore-lying device execute.As shown in Fig. 2, the console version compatibility method including the following steps:
Step S202 obtains the accessing page request that console front-end application is sent.
In the present embodiment, console front-end application is new version console front-end application (i.e. in VPC environment
The console backend applications of lower application).User is after the front end page of new version console carries out corresponding operating, new version
Console front-end application can to the back-end send accessing page request, the accessing page request reach console rear end answer
Before program, fore-lying device can first intercept the accessing page request.It include application environment mark and asking in the accessing page request
Seek content.Wherein, the application environment of computer room where application environment mark is used to indicate user.Optionally, application environment mark is
The regional information (region) indicated by computer room title.
For example, user will adjust EIP (Enterprise Information Portal, Enterprise Information Portal) bandwidth, need
The control page of new version console front end is first opened in certain equipment of its computer room, the EIP in the selection control page is filled out
EIP bandwidth setting information is write, is filled in after finishing and sending, the application ring of these EIP bandwidth setting informations and user place computer room
The corresponding application environment mark in border is formed together an accessing page request, sends to the back-end through console front-end application,
And it is intercepted by fore-lying device.
Step S204 parses above-mentioned accessing page request, analytically after data in obtain application environment mark
And request content.
After fore-lying device is by intercepting acquisition accessing page request, accessing page request is parsed.It should be noted that
The detailed process parsed to accessing page request is referred to the correlated process of the prior art, referring for example to web request
Resolving, which is not described herein again.
Step S206 is based on application environment mark and default corresponding relationship, obtains matching with the application environment mark
Console backend applications information;Wherein, presetting corresponding relationship is that application environment mark and console backend applications are believed
The corresponding relationship of breath.
Console backend applications information is used for the corresponding console backend applications of unique identification.In some possibility
Embodiment in, above-mentioned default corresponding relationship includes: the first application environment mark and the first console backend applications information
Corresponding relationship;And second application environment mark and the second console backend applications information corresponding relationship;Wherein,
One console backend applications information corresponds to the first console backend applications;Second console backend applications information
Corresponding second console backend applications.
Based on this, if above-mentioned console front-end application is the first console front-end application, and above-mentioned using ring
Border mark is the first application environment mark, then: the console backend applications information to match with the application environment mark is
First console backend applications information.If above-mentioned console front-end application is the first console front-end application,
And above-mentioned application environment mark is the second application environment mark, then: answering the console rear end to match with the application environment mark
It is the second console backend applications information with program information.
In a kind of possible application scenarios, the first application environment mark is for indicating VPC environment, the first console rear end
Application program is the console backend applications applied under VPC environment;Second application environment mark indicates BASIC environment,
Second console backend applications are the console backend applications applied under BASIC environment;Console backend application
Program information include the unique identifiers of console backend applications, port and IP (Internet Protocol, network it
Between the agreement that interconnects) address.
Step S208, based on the console backend applications information being matched to, by above-mentioned request content be sent to
The corresponding console backend applications of console backend applications information being fitted on.
In some possible embodiments, if above-mentioned console front-end application is the first control applied under VPC environment
Platform front-end application processed, and above-mentioned application environment mark is the second application environment mark for indicating BASIC environment, i.e. VPC ring
What the accessing page request that the first console front-end application applied under border is sent was actually subjected to call is answered under BASIC environment
The interface of second console backend applications, then after fore-lying device switches to the second console using dynamic section technology automatically
End application program goes to access.
Specifically, above-mentioned fore-lying device is the dynamic code technology using java, is established in the code runtime using AspectJ
Section agency, this section wrap outside the interface of the first console front-end application.The proxy interface of section agency
It connect and interacts with the interface of the interface of the first console backend applications and the second console backend applications respectively, from
And realize the compatibility of different editions console application program.
In the embodiment of the present invention, the accessing page request that console front-end application is sent is obtained;Page access is asked
Ask and parsed, analytically after data in obtain application environment mark and request content;Based on application environment mark and preset
Corresponding relationship obtains the console backend applications information to match with application environment mark;Wherein, default corresponding relationship is
The corresponding relationship of application environment mark and console backend applications information;Based on the console backend applications being matched to
Request content is sent to console backend application journey corresponding with the console backend applications information being matched to by information
Sequence.By being adapted to the request of user in the rear end of console, the console backend applications of request call are determined, to realize
The fusions of multiple console versions neither influences existing business in this way, and with save the cost, can improve the operation speed of system
Degree;In addition user experience is determined by front end, and front end only retains a console front-end application, therefore improves user not
With the consistency of operating experience in console version, to improve the Experience Degree of user.
Fig. 3 is the flow diagram of another console version compatibility method provided in an embodiment of the present invention, first in Fig. 3
Console application program is the new version console application program applied under VPC environment, and the second console application program is BASIC
The early version console application program applied under environment, application environment mark are the regional information indicated by computer room title.In order to
Guarantee that user obtains consistent experience, a fusion, console front end after fusion are done to the old and new's Version Control platform application program
The external page is the page of new version console front-end application, and what is adjusted for front end is all new version console front end
The interface of application program, front end develop the interface for only using new version console front-end application, new version console are answered
Primary upgrading is done with the back-end code of program, new version console front-end application is allow to operate early version console rear end
Application program.
As shown in figure 3, for calling early version console backend applications, this method including the following steps:
Step S302 receives the accessing page request that new version console front-end application is sent.
Step S304 parses above-mentioned accessing page request, obtains regional information and request content.
Step S306, according to above-mentioned regional information and default corresponding relationship, determining match with the regional information is old
Version Control platform backend applications information.
Wherein, early version console backend applications information corresponds to early version console backend applications.
Above-mentioned request content is sent to early version console backend applications by step S308.
Fig. 4 is the flow diagram of another console version compatibility method provided in an embodiment of the present invention, and Fig. 4 is Fig. 2
Follow-up process, also by Fig. 1 fore-lying device execute.As shown in figure 4, this method further includes following on the basis of Fig. 2
Step:
Step S402 receives the access result that console backend applications return.
Step S404 judges the console backend applications for feeding back above-mentioned access result and console front-end application
Application environment it is whether identical.If identical, step S406 is executed;If it is not the same, executing step S408.
Specifically, it accesses and carries console backend applications information in result, therefore by being carried out to access result
Parsing, available console backend applications information, and then it is based on above-mentioned default corresponding relationship, the available and control
The application environment mark that platform backend applications information matches, the application environment mark that finally will match to and console front end
The application environment mark of application program compares, and application environment is identical if consistent, if inconsistent application environment is not identical.
Above-mentioned access result is fed back to above-mentioned console front-end application by step S406.
Above-mentioned access result is converted to the format to match with above-mentioned console front-end application by step S408.
Since front end only retains a console front-end application, there are at least two console backend application journeys in rear end
Sequence, different console backend applications are the two sets of independent programs (code segment) write in different classes, and this two sets of generations
The data format of code section is discrepant, namely the data format of access result that different console backend applications return is not
Together, therefore when the console backend applications of feedback access result are not identical as the application environment of console front-end application
When, it needs first to format access result.
For example, when the console backend applications of feedback access result are the second console applied under BASIC environment
Backend applications need when console front-end application is the first console front-end application applied under VPC environment
Access result is converted into the format to match with the first console front-end application applied under VPC environment.
Access result after conversion is sent to above-mentioned console front-end application by step S410.
Above-described embodiment has the advantage that it is not necessary to modify do not write any if/else, directly with (1) front end page code
Walk existing first console front-end application interface;(2) code logic of VPC computer room will not introduce new in this way without adjustment
Bug, i.e., will not change the structure of existing code, existing business will not be had an impact;(3) proxy interface (fore-lying device)
It is the conversion for doing the calling and data format of the second console backend applications interface, is not related to service logic, improvement cost
It is low.
Embodiment two:
Corresponding to the console version compatibility method of above-described embodiment one, the embodiment of the invention also provides a kind of consoles
Edition compatibility device.Fig. 5 is a kind of structural schematic diagram of console edition compatibility device provided in an embodiment of the present invention, such as Fig. 5
Shown, which includes:
Module 52 is obtained, for obtaining the accessing page request of console front-end application transmission;
Parsing module 54, for being parsed to above-mentioned accessing page request, analytically after data in obtain apply ring
Border mark and request content;
Determining module 56 obtains and the application environment mark for being based on above-mentioned application environment mark and default corresponding relationship
The console backend applications information that will matches;Wherein, presetting corresponding relationship is application environment mark and console rear end
The corresponding relationship of application information;
First sending module 58, for based on the console backend applications information being matched to, by above-mentioned request content
It is sent to console backend applications corresponding with the console backend applications information being matched to.
Optionally, above-mentioned default corresponding relationship includes:
The corresponding relationship of first application environment mark and the first console backend applications information;And
The corresponding relationship of second application environment mark and the second console backend applications information;
Wherein, the corresponding first console backend applications of the first console backend applications information;Second console
Backend applications information corresponds to the second console backend applications.
Still optionally further, if above-mentioned console front-end application is the first console front-end application, and it is above-mentioned
Application environment mark is the first application environment mark, then:
The console backend applications information to match with above-mentioned application environment mark is the first console backend application
Program information.
Still optionally further, if above-mentioned console front-end application is the first console front-end application, and it is above-mentioned
Application environment mark is the second application environment mark, then:
The console backend applications information to match with above-mentioned application environment mark is the second console backend application
Program information.
Optionally, above-mentioned first application environment mark is for indicating VPC environment, above-mentioned first console backend applications
For the console backend applications applied under VPC environment;
Above-mentioned second application environment mark indicates BASIC environment, and above-mentioned second console backend applications are in BASIC
The console backend applications applied under environment;
Above-mentioned console backend applications information includes unique identifier, port and the IP of console backend applications
Address.
In the embodiment of the present invention, obtains module 52 and obtain the accessing page request that console front-end application is sent;Solution
Analysis module 54 parses accessing page request, analytically after data in obtain application environment mark and request content;Really
Cover half block 56 is based on application environment mark and default corresponding relationship, and the console rear end for obtaining matching with application environment mark is answered
Use program information;Wherein, the corresponding relationship that corresponding relationship is application environment mark and console backend applications information is preset;
First sending module 58 is based on the console backend applications information being matched to, the control that request content is sent to and is matched to
The corresponding console backend applications of platform backend applications information processed.By being adapted to asking for user in the rear end of console
It asks, determines the console backend applications of request call, to realize the fusion of multiple console versions, neither shadow in this way
Existing business is rung, and the speed of service of system can be improved with save the cost;In addition user experience is determined by front end, and front end is only protected
A console front-end application is stayed, therefore improves the consistency of user's operating experience in different console versions, from
And improve the Experience Degree of user.
Fig. 6 is the structural schematic diagram of another console edition compatibility device provided in an embodiment of the present invention, such as Fig. 6 institute
Show, on the basis of Fig. 5, above-mentioned apparatus further include:
Receiving module 62, for receiving the access result of console backend applications return;
Judgment module 64, for judging that the console backend applications for feeding back above-mentioned access result are answered with console front end
It is whether identical with the application environment of program;
Second sending module 66, if for judgment module 64 judging result be it is identical, by above-mentioned access result feed back
To console front-end application;If the judging result of judgment module 64 is difference, which is converted to and is controlled
The format that platform front-end application matches, and the access result after conversion is sent to the console front-end application.
Embodiment three:
Referring to Fig. 7, the embodiment of the present invention also provides a kind of electronic equipment 100, comprising: processor 70, memory 71, bus
72 and communication interface 73, the processor 70, communication interface 73 and memory 71 are connected by bus 72;Processor 70 is for holding
The executable module stored in line storage 71, such as computer program.
Wherein, memory 71 may include high-speed random access memory (RAM, RandomAccessMemory), can also
It can further include nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.Pass through at least one
A communication interface 73 (can be wired or wireless) realizes the communication link between the system network element and at least one other network element
It connects, internet, wide area network, local network, Metropolitan Area Network (MAN) etc. can be used.
Bus 72 can be isa bus, pci bus or eisa bus etc..The bus can be divided into address bus, data
Bus, control bus etc..Only to be indicated with a four-headed arrow convenient for indicating, in Fig. 7, it is not intended that an only bus or
A type of bus.
Wherein, memory 71 is for storing program, and the processor 70 executes the journey after receiving and executing instruction
Sequence, method performed by the device that the stream process that aforementioned any embodiment of the embodiment of the present invention discloses defines can be applied to handle
In device 70, or realized by processor 70.
Processor 70 may be a kind of IC chip, the processing capacity with signal.During realization, above-mentioned side
Each step of method can be completed by the integrated logic circuit of the hardware in processor 70 or the instruction of software form.Above-mentioned
Processor 70 can be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network
Processor (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (Digital Signal
Processing, abbreviation DSP), specific integrated circuit (Application Specific Integrated Circuit, referred to as
ASIC), ready-made programmable gate array (Field-Programmable Gate Array, abbreviation FPGA) or other are programmable
Logical device, discrete gate or transistor logic, discrete hardware components.It may be implemented or execute in the embodiment of the present invention
Disclosed each method, step and logic diagram.General processor can be microprocessor or the processor is also possible to appoint
What conventional processor etc..The step of method in conjunction with disclosed in the embodiment of the present invention, can be embodied directly in hardware decoding processing
Device executes completion, or in decoding processor hardware and software module combination execute completion.Software module can be located at
Machine memory, flash memory, read-only memory, programmable read only memory or electrically erasable programmable memory, register etc. are originally
In the storage medium of field maturation.The storage medium is located at memory 71, and processor 70 reads the information in memory 71, in conjunction with
Its hardware completes the step of above method.
Console edition compatibility device provided in an embodiment of the present invention and electronic equipment, with control provided by the above embodiment
Platform version compatibility method technical characteristic having the same reaches identical technology effect so also can solve identical technical problem
Fruit.
It is apparent to those skilled in the art that for convenience and simplicity of description, the device of foregoing description
Specific work process, can refer to corresponding processes in the foregoing method embodiment, details are not described herein.
Unless specifically stated otherwise, the opposite step of the component and step that otherwise illustrate in these embodiments, digital table
It is not limit the scope of the invention up to formula and numerical value.
In all examples being illustrated and described herein, any occurrence should be construed as merely illustratively, without
It is as limitation, therefore, other examples of exemplary embodiment can have different values.
The flow chart and block diagram in the drawings show the productions of the method and computer program of multiple embodiments according to the present invention
The architecture, function and operation in the cards of product.In this regard, each box in flowchart or block diagram can represent one
A part of a module, section or code, a part of the module, section or code include one or more for real
The executable instruction of logic function as defined in existing.It should also be noted that in some implementations as replacements, it is marked in the box
Function can also occur in a different order than that indicated in the drawings.For example, two continuous boxes can actually substantially simultaneously
It executes capablely, they can also be executed in the opposite order sometimes, and this depends on the function involved.It is also noted that frame
The combination of figure and/or each box in flow chart and the box in block diagram and or flow chart, can be as defined in executing
Function or the dedicated hardware based system of movement are realized, or can be come using a combination of dedicated hardware and computer instructions
It realizes.
In the description of the present invention, it should be noted that term " center ", "upper", "lower", "left", "right", "vertical",
The orientation or positional relationship of the instructions such as "horizontal", "inner", "outside" be based on the orientation or positional relationship shown in the drawings, merely to
Convenient for description the present invention and simplify description, rather than the device or element of indication or suggestion meaning must have a particular orientation,
It is constructed and operated in a specific orientation, therefore is not considered as limiting the invention.In addition, term " first ", " second ",
" third " is used for descriptive purposes only and cannot be understood as indicating or suggesting relative importance.
The computer program product of console version compatibility method is carried out provided by the embodiment of the present invention, including is stored
The computer readable storage medium of the executable non-volatile program code of processor, the instruction that said program code includes are available
In executing previous methods method as described in the examples, specific implementation can be found in embodiment of the method, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed device and method can pass through it
Its mode is realized.The apparatus embodiments described above are merely exemplary, for example, the division of the unit, only
A kind of logical function partition, there may be another division manner in actual implementation, in another example, multiple units or components can combine
Or it is desirably integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed phase
Coupling, direct-coupling or communication connection between mutually can be through some communication interfaces, the INDIRECT COUPLING of device or unit or
Communication connection can be electrical property, mechanical or other forms.
The unit as illustrated by the separation member may or may not be physically separated, aobvious as unit
The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple
In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme
's.
It, can also be in addition, the functional units in various embodiments of the present invention may be integrated into one processing unit
It is that each unit physically exists alone, can also be integrated in one unit with two or more units.
It, can be with if the function is realized in the form of SFU software functional unit and when sold or used as an independent product
It is stored in the executable non-volatile computer-readable storage medium of a processor.Based on this understanding, of the invention
Technical solution substantially the part of the part that contributes to existing technology or the technical solution can be with software in other words
The form of product embodies, which is stored in a storage medium, including some instructions use so that
One computer equipment (can be personal computer, server or the network equipment etc.) executes each embodiment institute of the present invention
State all or part of the steps of method.And storage medium above-mentioned includes: USB flash disk, mobile hard disk, read-only memory (ROM, Read-
Only Memory), random access memory (RAM, Random Access Memory), magnetic or disk etc. are various can be with
Store the medium of program code.
Finally, it should be noted that embodiment described above, only a specific embodiment of the invention, to illustrate the present invention
Technical solution, rather than its limitations, scope of protection of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair
It is bright to be described in detail, those skilled in the art should understand that: anyone skilled in the art
In the technical scope disclosed by the present invention, it can still modify to technical solution documented by previous embodiment or can be light
It is readily conceivable that variation or equivalent replacement of some of the technical features;And these modifications, variation or replacement, do not make
The essence of corresponding technical solution is detached from the spirit and scope of technical solution of the embodiment of the present invention, should all cover in protection of the invention
Within the scope of.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.