CN109254793A - Engine partition method, relevant device and computer readable storage medium - Google Patents

Engine partition method, relevant device and computer readable storage medium Download PDF

Info

Publication number
CN109254793A
CN109254793A CN201811102003.0A CN201811102003A CN109254793A CN 109254793 A CN109254793 A CN 109254793A CN 201811102003 A CN201811102003 A CN 201811102003A CN 109254793 A CN109254793 A CN 109254793A
Authority
CN
China
Prior art keywords
game
layer
layers
engine
capability
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811102003.0A
Other languages
Chinese (zh)
Other versions
CN109254793B (en
Inventor
李森林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201811102003.0A priority Critical patent/CN109254793B/en
Publication of CN109254793A publication Critical patent/CN109254793A/en
Priority to PCT/CN2019/095120 priority patent/WO2020057234A1/en
Application granted granted Critical
Publication of CN109254793B publication Critical patent/CN109254793B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/76Adapting program code to run in a different environment; Porting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/545Interprogram communication where tasks reside in different layers, e.g. user- and kernel-space

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The embodiment of the present application discloses a kind of engine partition method, relevant device and computer readable storage medium, the engine partition method is applied to gaming platform, the gaming platform is run on mobile terminals, gaming platform includes system layer, bridge layer and JS layer, bridge layer connects system layer and JS layers, bridge layer is packaged with the system capability of system layer, this method comprises: bridge layer determines the corresponding JS engine of system layer according to the system type of system layer when the first game is run on gaming platform;Bridge layer calls JS engine corresponding with system layer to handle the game identification code for the first game for operating in JS layers, and bridge layer to the system capability after JS layers of exposure encapsulation, call for JS layers by the system capability after encapsulation.The embodiment of the present application increases bridge layer and JS layers is isolated with system layer, avoids JS layers from directly interacting with system layer, to reduce development of games cost.

Description

Engine partition method, relevant device and computer readable storage medium
Technical field
The present invention relates to technical field of mobile terminals, and in particular to a kind of engine partition method, mobile terminal and calculating Machine readable storage medium storing program for executing.
Background technique
Based on the trivial games of browser environment exploitation, such as H5 game (HTML5game), due to having without downloading, directly The advantages of connecing online object for appreciation is widely used on the mobile terminals such as mobile phone.
Currently, when game developer develops game identification code being developed based on browser kernel.H5 game is mobile whole It when being run on end, is limited by Development of Web Browser environment, needs to parse the JS file in game using browser kernel And execution.Game can generally use JS layers and system layer during running of mobile terminal, the JS layers of energy for calling directly system layer Power realizes the function of game.If system layer has update, JS layers can also do corresponding update, and corresponding game identification code needs weight New change, increases development of games cost.
Summary of the invention
The embodiment of the present application provides a kind of engine partition method, relevant device and computer readable storage medium, root Different JS engines is selected according to system type, can make full use of the engine capabilities built in system, reduces development of games cost.
The embodiment of the present application first aspect provides a kind of engine partition method, and the engine partition method is flat applied to game Platform, on mobile terminals, the gaming platform includes system layer, bridge layer and JS layer, the bridge joint for the gaming platform operation Layer connects the system layer and JS layers described, and the bridge layer is packaged with the system capability of the system layer, which comprises
When the first game is run on the gaming platform, the bridge layer is true according to the system type of the system layer Determine the corresponding JS engine of the system layer;
The bridge layer calls first game of the JS engine corresponding with the system layer to operating in described JS layers Game identification code handled;
For the bridge layer to the system capability after described JS layers exposure encapsulation, the system capability after the encapsulation supplies the JS Layer calls.
The embodiment of the present application second aspect provides a kind of engine isolating device, and the engine isolating device is flat applied to game Platform, on mobile terminals, the gaming platform includes system layer, bridge layer and JS layer, the bridge joint for the gaming platform operation Layer connects the system layer and JS layer described, and the bridge layer is packaged with the system capability of the system layer, and the engine is isolated Device includes determination unit and processing unit, in which:
The determination unit, for when the first game is run on the gaming platform, what it is according to the system layer is System type determines the corresponding JS engine of the system layer;
The processing unit, for call JS engine corresponding with the system layer to operate in described JS layers described The game identification code of one game is handled;
The processing unit, the system capability being also used to after described JS layers exposure encapsulation, the system energy after the encapsulation Power is for described JS layers calling.
The embodiment of the present application third aspect provides a kind of mobile terminal, including processor and memory, the memory For storing one or more programs, one or more of programs are configured to be executed by the processor, described program packet It includes for executing the step some or all of as described in the embodiment of the present application first aspect either method.
The embodiment of the present application fourth aspect provides a kind of computer readable storage medium, the computer readable storage medium For storing the computer program of electronic data interchange, wherein the computer program executes computer as the application is real Some or all of apply described in a first aspect either method step.
The 5th aspect of the embodiment of the present application provides a kind of computer program product, and the computer program product includes storage The non-transient computer readable storage medium of computer program, the computer program are operable to execute computer such as Step some or all of described in the embodiment of the present application first aspect either method.
In the embodiment of the present application, when the first game is run on gaming platform, bridge layer is according to the system class of system layer Type determines the corresponding JS engine of system layer;Bridge layer calls first game of the JS engine corresponding with system layer to operating in JS layers Game identification code handled, bridge layer is to the system capability after JS layers of exposure encapsulation, and system capability after encapsulation is for JS layer tune With.The embodiment of the present application can increase bridge layer and JS layers are isolated with system layer, and bridge layer can be with package system layer System ability, system capability after encapsulation can be called for JS layers, avoid JS layer from directly interacting with system layer, JS layers be not necessarily to System layer is adapted to, and is not necessarily to the system for being adapted to different types, Jin Erke in the game identification code for the first game that JS layers run To reduce development of games cost.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of flow diagram of engine partition method disclosed in the embodiment of the present application;
Fig. 2 is a kind of system layer, bridge layer disclosed in the embodiment of the present application and JS layers of distribution schematic diagram;
Fig. 3 is the flow diagram of another kind engine partition method disclosed in the embodiment of the present application;
Fig. 4 is the flow diagram of another kind engine partition method disclosed in the embodiment of the present application;
Fig. 5 is the flow diagram of another kind engine partition method disclosed in the embodiment of the present application;
Fig. 6 is the flow diagram of another kind engine partition method disclosed in the embodiment of the present application;
Fig. 7 is a kind of structural schematic diagram of engine isolating device disclosed in the embodiment of the present application;
Fig. 8 is a kind of structural schematic diagram of mobile terminal disclosed in the embodiment of the present application;
Fig. 9 is the structural schematic diagram of another mobile terminal disclosed in the embodiment of the present application.
Specific embodiment
In order to enable those skilled in the art to better understand the solution of the present invention, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Description and claims of this specification and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing Different objects, are not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, it is intended that It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap Include other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments Containing at least one embodiment of the present invention.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Mobile terminal involved by the embodiment of the present application may include the various handheld devices with wireless communication function, Mobile unit, wearable device calculate equipment or are connected to other processing equipments and various forms of radio modem User equipment (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal Device) etc..For convenience of description, apparatus mentioned above is referred to as mobile terminal.
It describes in detail below to the embodiment of the present application.
Referring to Fig. 1, Fig. 1 is a kind of flow diagram of engine partition method disclosed in the embodiment of the present application, such as Fig. 1 institute Show, which includes the following steps.
101, when the first game is run on gaming platform, bridge layer determines system layer according to the system type of system layer Corresponding JS engine.
In the embodiment of the present application, gaming platform is to may operate in mobile phone etc. for the software module of running game application On mobile terminal.Gaming platform includes system layer, bridge layer and JS (JavaScript) layer.As shown in Fig. 2, system layer can manage Solution is bottom, be responsible for providing relevant to mobile terminal bottom system capability, for example, accessing the ability of memory, making a phone call Ability etc..First game can be the trivial games based on browser environment exploitation, such as H5 game (HTML5game).JS layers can To be interpreted as upper layer, it is responsible for operation trivial games, the game identification code of trivial games can be run at JS layers, and JS layers are referred to as JavaScript layers.Bridge layer can be understood as middle layer, and for connecting system layer and JS layers, bridge layer can be by system layer Ability is packaged, and is packaged into the unified application programming interface (Application called directly for JS layers Programming Interface, API).System layer, bridge layer in the embodiment of the present application and JS layers can be understood as one Section code.For example, system layer can be the one section of program code write using assembler language;Bridge layer can be using C++ language Say that the one section of program code write, bridge layer are referred to as C++ layers;JS layers can be the one section of journey write using Java language Sequence code.
The engine partition method of the application can be applied to different gaming platforms, and the system type of different gaming platforms can Can be different, for example, the system of some gaming platforms is Android (Android) system, the system of some gaming platforms is IOS system System.Bridge layer determines the corresponding JS engine of system layer according to the system type of system layer.For example, the system type when system layer is When android system, the corresponding JS engine of system layer is V8;When the system type of system layer is IOS system, system layer is corresponding JS engine be JavaScriptCore.JS engine can be understood as one section of program, be formed by written in code.For example V8 is exactly to use What C/C++ write.JS engine parses JS code, it can be understood as one section of code parses another section of code.The engine of the application every Execution process from method can correspond to one section of program code, this section of program code can be run in android system, It can be run in IOS system, different types of system can be compatible with.The engine partition method of the application can be according to its operation The JS engine of parsing game identification code is determined in the system type of the system layer of application platform.For game developer, only A set of game identification code need to be write, can be used on different gaming platforms, reduces the workload of game developer, and then reduce Development of games cost.
It wherein, can using V8 in android system when the system type of the system layer of application platform is android system To make full use of the engine capabilities built in android system, the performance that JS code is run on V8 is improved.The system of application platform When the system type of layer is IOS system, it can be made full use of built in IOS system in IOS system using JavaScriptCore Engine capabilities improve the performance that JS code is run on JavaScriptCore.
It should be noted that the JS engine of JS engine and general Development of Web Browser quotient exploitation in the embodiment of the present application is not Together.Since browser is in addition to parsing game identification code, also to do a lot of other things, for example, the parsing page, the rendering page, Cookie management, historical record etc., therefore the JS engine of Development of Web Browser quotient exploitation is increasingly complex, the function of needing to realize is more It is more.JS engine in the embodiment of the present application is to be referred to as JS game exclusively for the JS engine for parsing game identification code and developing Dedicated engine.JS game-specific engine is the engine for game identification code parsing specially designed.JS game-specific engine with it is clear The JS engine of the device developer that lookes at exploitation is compared, and has been removed in browser with the incoherent some functions of game (for example, Cookie Management function).
102, bridge layer call corresponding with system layer JS engine to the game identification code of the first game for operating in JS layers into Row processing.
In the embodiment of the present application, the game identification code of the first game can be JS code.For example, if the system class of system layer Type is android system, and bridge layer calls V8 to handle to the game identification code for the first game for operating in JS layers.If being The system type of system layer is IOS system, and bridge layer calls JavaScriptCore to the trip to the first game for operating in JS layers Play code is handled.
103, bridge layer to the system capability after JS layers of exposure encapsulation, call for JS layers by the system capability after the encapsulation.
In the embodiment of the present application, the system capability that bridge layer can use game in system layer is packaged, and Ability after encapsulation is called for JS layers.Specifically, system capability can be injected into JS engine by bridge layer, JS engine is being executed When JS code in game the system capability injected in JS engine can be provided for JS layers.In the embodiment of the present application, system layer What system capability can be that trivial games can use has the ability.For example, system capability can be the ability of access memory.It is right It in the system capability that trivial games will not be used, then will not be packaged, JS engine will not be injected into.
Wherein, the system capability after encapsulation can be with application programming interface (Application Programming Interface, API) form exist.
In the embodiment of the present application, trivial games can directly utilize the bottom ability of system by bridge layer, improve small trip The runnability of play.
Optionally, system capability includes graphic plotting ability, sensor call capability, file download ability, file upload At least one of ability, ability to pay, short message reading capability, address list access ability, camera call capability.
For example, encapsulation after graphic plotting ability can for open graphic library (Open Graphics Library, OpenGL), the OpenGL mono- graphic package interface across programming language, the profession of cross-platform programming interface specification, is one Call convenient underlying graphics library.Sensor call capability can specifically include the call capability of infrared proximity transducer, light The call capability of sensor (alternatively referred to as ambient light sensor), the call capability of gravity sensor, 3-axis acceleration sensor, Call capability of three-axis gyroscope etc..
In the embodiment of the present application, JS layers are isolated with system layer by increasing bridge layer, bridge layer, which can encapsulate, is The system capability of system layer, the system capability after encapsulation can be called for JS layers, avoid JS layers from directly interacting with system layer, JS Without being adapted to system layer, the game identification code of the first game of the operation at JS layers is layer without be adapted to different types System, the game identification code of the first game need to be only adapted to bridge layer, and then can reduce development of games cost.Meanwhile Due to JS layers it is not direct interacted with system layer, the safety of system layer can be guaranteed by increasing bridge layer.
Referring to Fig. 3, Fig. 3 is the flow diagram of another kind engine partition method disclosed in the embodiment of the present application, such as Fig. 3 Shown, which includes the following steps.
301, when the first game is run on gaming platform, bridge layer determines system layer according to the system type of system layer Corresponding JS engine.
302, bridge layer call corresponding with system layer JS engine to the game identification code of the first game for operating in JS layers into Row processing.
303, bridge layer to the system capability after JS layers of exposure encapsulation, call for JS layers by the system capability after the encapsulation.
Step 301 to step 303 in the embodiment of the present application may refer to step 101 shown in FIG. 1 to step 103, this Place repeats no more.
304, when system layer detects the first system event, the first system event is converted to the first JS thing by bridge layer Part generates the first JS event handling function corresponding with the first JS event.
305, JS layers of the first JS event handling function of calling handle the first JS event.
In the embodiment of the present application, the first system event can be the event that system layer triggering generates.For example, in the first game In operational process, user touches the display screen of mobile terminal, then produces touch event, and system layer, which can detecte, touches thing Part.It is illustrated so that the first system event is touch event as an example below.The touch event that system layer will test gives bridge joint Touch event is converted to the JS layers of JS touch event that can be identified by layer processing, bridge layer, is generated corresponding with JS touch event JS touch event handles function, and JS layers can call directly JS touch event processing function and execute JS touch event.
Specifically, system layer, bridge layer, JS layer can be understood as one section of program code, and it is different programming language Say the program code write.For example, system layer can be the one section of program code write using assembler language;Bridge layer can be The one section of program code write using C Plus Plus;JS layers can be the one section of program code write using Java language.System layer When the touch event that will test gives bridge layer processing, since system layer is write using assembler language, touch event pair What is answered is a paragraph assembly language codes, and JS layers obviously can not directly be handled touch event, then bridge layer will touch at this time Event is converted to the JS layers of JS touch event that can be identified, and generates corresponding JS event handling function.Each JS event is most One or more JS functions are all converted to eventually, JS layers can call directly JS function and be handled.
Wherein, as middle layer, the assembler language code of touch event can be converted to JS layers can identify bridge layer JS code.It avoids system layer execution and the first system event is converted into the first JS event, generate corresponding with the first JS event The first JS event handling function the step of, alleviate the burden of system layer, improve the response speed of touch event, Jin Erti High game experiencing.
Wherein, JS layers call JS touch event processing function before, game service initialization, addition event can be carried out Monitor, registration touch event handle function, execute JS touch event to call the JS touch event of bridge layer to handle function. The event that bridge layer in the embodiment of the present application can detect system layer as the JS layers of bridge between system layer, bridge layer The JS layers of JS touch event that can be called directly processing function are converted to, is handled convenient for JS layers, reduces the trip of JS layers of operation The difficulty of play code development.
In the embodiment of the present application, JS layers are isolated with system layer by increasing bridge layer, bridge layer, which can encapsulate, is The system capability of system layer, the system capability after encapsulation can be called for JS layers, avoid JS layers from directly interacting with system layer, JS Without being adapted to system layer, the game identification code of the first game of the operation at JS layers is layer without be adapted to different types System, the game identification code of the first game need to be only adapted to bridge layer, and then can reduce development of games cost.Meanwhile Due to JS layers it is not direct interacted with system layer, the safety of system layer can be guaranteed by increasing bridge layer.Bridge layer can will be The event of system layer detection is converted to the JS layers of S touch event that can be called directly processing function, is handled, is reduced convenient for JS layers The difficulty of the game identification code exploitation of JS layers of operation.
Referring to Fig. 4, Fig. 4 is the flow diagram of another kind engine partition method disclosed in the embodiment of the present application, such as Fig. 4 Shown, which includes the following steps.
401, when the first game is run on gaming platform, bridge layer determines system layer according to the system type of system layer Corresponding JS engine.
402, bridge layer call corresponding with system layer JS engine to the game identification code of the first game for operating in JS layers into Row processing.
403, bridge layer to the system capability after JS layers of exposure encapsulation, call for JS layers by the system capability after the encapsulation.
Step 401 to step 403 in the embodiment of the present application may refer to step 101 shown in FIG. 1 to step 103, this Place repeats no more.
404, when the corresponding JS engine upgrade of system layer, bridge layer adaption system layer is upgraded accordingly.
In the embodiment of the present application, when the JS engine upgrade of system layer, it is corresponding that bridge layer needs adaption system layer to carry out Upgrading, so that bridge layer can be adapted to system layer.And for JS layers, then without being upgraded, JS layers are not necessarily to and system Layer is adapted to, and is not necessarily to be adapted to the system layer of bottom in the game identification code for the first game that JS layers run, and then can reduce trip Play development cost.
Optionally, the embodiment of the present application can also include the following steps:
When system layer has the ability to update, the ability that system layer updates is packaged by bridge layer, after being encapsulated more The system capability of new system capability, the update after encapsulation is called for JS layers.
In the embodiment of the present application, when system layer has the ability to update, the ability that system layer updates is packaged by bridge layer, The system capability of the system capability of update after being encapsulated, the update after encapsulation is called for JS layers.For JS layers, then without It need to be adapted to system layer, be not necessarily to be adapted to the system layer of bottom, Jin Erke in the game identification code for the first game that JS layers run To reduce development of games cost.
In the embodiment of the present application, JS layers are isolated with system layer by increasing bridge layer, bridge layer, which can encapsulate, is The system capability of system layer, the system capability after encapsulation can be called for JS layers, avoid JS layers from directly interacting with system layer, JS Without being adapted to system layer, the game identification code of the first game of the operation at JS layers is layer without be adapted to different types System, the game identification code of the first game need to be only adapted to bridge layer, and then can reduce development of games cost.Meanwhile First game can use the bottom ability of system, improve the runnability of trivial games.
Referring to Fig. 5, Fig. 5 is the flow diagram of another kind engine partition method disclosed in the embodiment of the present application, such as Fig. 5 Shown, which includes the following steps.
501, when the first game is run on gaming platform, bridge layer determines system layer according to the system type of system layer Corresponding JS engine.
502, bridge layer call corresponding with system layer JS engine to the game identification code of the first game for operating in JS layers into Row processing.
503, bridge layer to the system capability after JS layers of exposure encapsulation, call for JS layers by the system capability after the encapsulation.
Step 501 to step 503 in the embodiment of the present application may refer to step 501 shown in FIG. 1 to step 503, this Place repeats no more.
504, the system capability that bridge layer obtains the first game calls permission set.
505, call the system capability except permission set to be called to beyond system capability when receiving the first game When, bridge layer executes the purview certification operation for the system capability called except permission set beyond system capability.
506, after calling the purview certification operation of the system capability except permission set to pass through beyond system capability, it will surpass The system capability that system capability calls the system capability except permission set that the first game is added out calls permission set.
In the embodiment of the present application, the system capability of different types of game calls permission generally not identical.For example, gravity-feed tank Answer class game that there is the ability for calling gravity sensor;The game for ranking function with good friend has file upload ability and communication Record access ability.Generally, for the stronger system capability of some privacy (for example, address list access ability, short message are read Ability, camera call capability etc.), when game is run for the first time on gaming platform, the opinion of general meeting counsel user, user It can choose whether to assign the game these system capabilities.Therefore, the system capability of different types of game calls permission general It is not identical.
Wherein, bridge layer can obtain the system capability of the first game when running on gaming platform for the first time in the first game Call permission set.
When user is in the first game play, if user needs to call the first game for the operation of the first game System capability call permission set except ability can realize, then can ask for consumers' opinions decide whether operation will The system capability that the system capability of first game calls the ability except permission set that the first game is added calls permission set.
Specifically, bridge layer is executed for the purview certification for calling the system capability except permission set beyond system capability Operation may include steps of:
Verify subscriber identity information;
It exports the calling advantage for calling the system capability except permission set beyond system capability and calls disadvantage;
User's touch operation is received to determine whether to operate by purview certification.
In the embodiment of the present application, for trivial games, it can be carried out when the system capability that it is used calls permission beyond it Real-time system ability purview certification avoids beating for a long time without re-starting system capability priority assignation again after exiting game Disconnected game, so as to improve user's game experiencing.
Referring to Fig. 6, Fig. 6 is the flow diagram of another kind engine partition method disclosed in the embodiment of the present application, such as Fig. 6 Shown, which includes the following steps.
601, when the first game is run on gaming platform, bridge layer determines system layer according to the system type of system layer Corresponding JS engine.
602, bridge layer call corresponding with system layer JS engine to the game identification code of the first game for operating in JS layers into Row processing.
603, bridge layer to the system capability after JS layers of exposure encapsulation, call for JS layers by the system capability after the encapsulation.
Step 601 to step 603 in the embodiment of the present application may refer to step 601 shown in FIG. 1 to step 603, this Place repeats no more.
604, when the first game and the second game are run on gaming platform simultaneously, if operating in JS layers of the first game The first system ability of bridge layer encapsulation is called simultaneously with the second game, bridge layer obtains the first game and the second game Priority, and confirm the game of highest priority in the first game and the second game, and the first system ability of encapsulation is excellent First the game to highest priority in the first game and the second game uses.
In the embodiment of the present application, when two game are run on gaming platform simultaneously, if two game are simultaneously to same One system capability is called, then will appear conflict.At this point, bridge layer can be determined according to the priority of the two game by The first system ability preferentially gives the game of highest priority in the first game and the second game to use.
Wherein, the scene that two game are run on gaming platform simultaneously can be split screen multitask scene.For example, two When game is simultaneously called system ability to pay, for the safety guaranteed payment, the same time only allows two game In a progress system ability to pay calling.The priority of first game and the second game can be based on the first game and second Game is determined in the operation information of gaming platform, user's evaluation information, calling frequency of the first system ability etc..
Optionally, bridge layer obtains the priority of the first game and the second game, can specifically include following steps:
The first game that bridge layer receives JS layers of transmission is flat in game in the operation information of gaming platform and the second game The operation information of platform, based on the first game gaming platform operation information and the second game gaming platform operation information Determine the priority of the first game and the priority of the second game.
Wherein, game the operation information of gaming platform may include the game gaming platform accumulative online time, The game is in the liveness of gaming platform, the game in information such as the ranking lists of gaming platform.In general, accumulative online time The priority of game longer, liveness is higher, temperature ranking list is more forward is higher.
For example, if the priority of the first game is higher than the priority of the second game, it can be in the first system that will be encapsulated After system ability has been used to the first game, which is used to the second game.
The embodiment of the present application can pass through two when two game are called same system ability conflict simultaneously The system capability is preferentially given the game of highest priority in two game to use by the priority of a game, is solved at two There is the problem of system mistake when same system ability being called and conflicted simultaneously in game.
It is above-mentioned that mainly the scheme of the embodiment of the present application is described from the angle of method side implementation procedure.It is understood that , in order to realize the above functions, it comprises execute the corresponding hardware configuration of each function and/or software mould for mobile terminal Block.Those skilled in the art should be readily appreciated that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, the present invention can be realized with the combining form of hardware or hardware and computer software.Some function actually with Hardware or computer software drive the mode of hardware to execute, the specific application and design constraint item depending on technical solution Part.Professional technician can specifically realize described function to each using distinct methods, but this reality Now it should not be considered as beyond the scope of the present invention.
The embodiment of the present application can carry out the division of functional unit according to above method example to mobile terminal, for example, can With each functional unit of each function division of correspondence, two or more functions can also be integrated in a processing unit In.Above-mentioned integrated unit both can take the form of hardware realization, can also realize in the form of software functional units.It needs It is noted that be schematical, only a kind of logical function partition to the division of unit in the embodiment of the present application, it is practical real It is current that there may be another division manner.
Referring to Fig. 7, Fig. 7 is a kind of structural schematic diagram of engine isolating device disclosed in the embodiment of the present application.The engine Isolating device 700 is applied to gaming platform, and gaming platform is run on mobile terminals, and gaming platform includes system layer, bridge layer With JS layers, bridge layer is packaged with the system capability of system layer, and bridge layer connects system layer and JS layers, as shown in fig. 7, the engine every It include determination unit 701 and processing unit 702 from device 700, in which:
Determination unit 701, for being determined according to the system type of system layer when the first game is run on gaming platform The corresponding JS engine of system layer;
Processing unit 702, for calling game of the JS engine corresponding with system layer to the first game for operating in JS layers Code is handled;
Processing unit 702, the system capability being also used to after JS layers of exposure encapsulation, the system capability after encapsulation are adjusted for JS layers With.
Optionally, which further includes converting unit 703 and generation unit 704, in which:
Converting unit 703, for when system layer detects the first system event, the first system event to be converted to first JS event;
Generation unit 704, for generating the first JS event handling function corresponding with the first JS event;JS layers for calling First JS event handling function handles the first JS event.
Optionally, which further includes adaptation unit 705, in which:
Adaptation unit 705, for when the corresponding JS engine upgrade of system layer, adaption system layer to be upgraded accordingly.
Optionally, processing unit 702, the ability for being also used to update system layer when system layer has the ability to update carry out The system capability of encapsulation, the system capability of the update after being encapsulated, the update after encapsulation is called for JS layers.
Optionally, which further includes acquiring unit 706;
Acquiring unit 706, the system capability for obtaining the first game call permission set;
Processing unit 702, be also used to when receive the first game to beyond system capability call permission set except be When system ability is called, the purview certification behaviour for the system capability called except permission set beyond system capability is executed Make;
Processing unit 702 is also used to when the purview certification for calling the system capability except permission set beyond system capability After operation passes through, it will exceed the system capability that system capability calls the system capability except permission set that the first game is added and call Permission set.
Optionally, acquiring unit 706 are also used to when the first game and the second game are run on gaming platform simultaneously, If the first game and the second game that operate in JS layers are simultaneously called the first system ability of bridge layer encapsulation, obtain The priority of first game and the second game;
Processing unit 702, is also used to confirm the game of highest priority in the first game and the second game, and by encapsulation The first system ability preferentially gives the game of highest priority in the first game and the second game to use.
Optionally, acquiring unit 706 obtains the priority of the first game and the second game, specifically:
The first game that acquiring unit 706 receives JS layers of transmission is being swum in the operation information of gaming platform and the second game Play platform operation information, based on the first game gaming platform operation information and the second game gaming platform operation Information determines the priority of the first game and the priority of the second game.
Implement engine isolating device shown in Fig. 7, JS layers is isolated with system layer by increasing bridge layer, bridge layer Can be with the system capability of package system layer, system capability after encapsulation can be called for JS layers, avoid JS layers directly and system layer It interacts, JS layers, without being adapted to system layer, are not necessarily to be adapted to different in the game identification code for the first game that JS layers run Type system, the game identification code of the first game need to be only adapted to bridge layer, and then can reduce development of games Cost.Simultaneously as JS layers it is not direct interacted with system layer, the safety of system layer can be guaranteed by increasing bridge layer.
Referring to Fig. 8, Fig. 8 is a kind of structural schematic diagram of mobile terminal disclosed in the embodiment of the present application.As shown in figure 8, The mobile terminal 800 includes processor 801 and memory 802, wherein mobile terminal 800 can also include bus 803, processing Device 801 and memory 802 can be connected with each other by bus 803, and bus 803 can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, abbreviation PCI) bus or expanding the industrial standard structure (Extended Industry Standard Architecture, abbreviation EISA) bus etc..It is total that bus 803 can be divided into address bus, data Line, control bus etc..Only to be indicated with a thick line in Fig. 8, it is not intended that an only bus or a type convenient for indicating The bus of type.Wherein, mobile terminal 800 can also include input-output equipment 804, and input-output equipment 804 may include showing Display screen, such as liquid crystal display.Memory 802 is used to store one or more programs comprising instruction;Processor 801 is for adjusting With the above-mentioned Fig. 1 of the instruction execution being stored in memory 802 method and step some or all of into Fig. 6.
Implement mobile terminal shown in Fig. 8, JS layers be isolated with system layer by increasing bridge layer, bridge layer can be with The system capability of package system layer, the system capability after encapsulation can be called for JS layers, avoid JS layers from directly carrying out with system layer Interaction, JS layers, without being adapted to system layer, are not necessarily to be adapted to different classes in the game identification code for the first game that JS layers run The system of type, the game identification code of the first game need to be only adapted to bridge layer, and then can reduce development of games cost. Simultaneously as JS layers it is not direct interacted with system layer, the safety of system layer can be guaranteed by increasing bridge layer.
The embodiment of the present application also provides another mobile terminals, as shown in figure 9, for ease of description, illustrate only with The relevant part of the embodiment of the present application, it is disclosed by specific technical details, please refer to the embodiment of the present application method part.The movement Terminal can be include mobile phone, tablet computer, PDA (Personal Digital Assistant, personal digital assistant), POS Any terminal device such as (Point of Sales, point-of-sale terminal), vehicle-mounted computer, by taking mobile terminal is mobile phone as an example:
Fig. 9 shows the block diagram of the part-structure of mobile phone relevant to mobile terminal provided by the embodiments of the present application.Ginseng Fig. 9 is examined, mobile phone includes: radio frequency (Radio Frequency, RF) circuit 910, memory 920, input unit 930, display unit 940, sensor 950, voicefrequency circuit 960, Wireless Fidelity (Wireless Fidelity, WiFi) module 970, processor 980, And the equal components of power supply 990.It will be understood by those skilled in the art that handset structure shown in Fig. 9 is not constituted to mobile phone It limits, may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
It is specifically introduced below with reference to each component parts of the Fig. 9 to mobile phone:
RF circuit 910 can be used for sending and receiving for information.In general, RF circuit 910 includes but is not limited to antenna, at least one A amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..In addition, RF circuit 910 can also be communicated with network and other equipment by wireless communication.Any communication can be used in above-mentioned wireless communication Standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile Communication, GSM), general packet radio service (General Packet Radio Service, GPRS), code it is point more Location (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), Email, short message service (Short Messaging Service, SMS) etc..
Memory 920 can be used for storing software program and module, and processor 980 is stored in memory 920 by operation Software program and module, thereby executing the various function application and data processing of mobile phone.Memory 920 can mainly include Storing program area and storage data area, wherein storing program area can application journey needed for storage program area, at least one function Sequence etc.;Storage data area, which can be stored, uses created data etc. according to mobile phone.In addition, memory 920 may include high speed Random access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or Other volatile solid-state parts.
Input unit 930 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone with And the related key signals input of function control.Specifically, input unit 930 may include fingerprint recognition mould group 931 and other are defeated Enter equipment 932.Fingerprint recognition mould group 931 can acquire the finger print data of user on it.In addition to fingerprint recognition mould group 931, input Unit 930 can also include other input equipments 932.Specifically, other input equipments 932 can include but is not limited to touch-control One of screen, physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. Or it is a variety of.
Display unit 940 can be used for showing information input by user or be supplied to user information and mobile phone it is various Menu.Display unit 940 may include display screen 941, optionally, can use liquid crystal display (Liquid Crystal Display, LCD), the forms such as organic or inorganic light emitting diode (Organic Light-Emitting Diode, OLED) come Configure display screen 941.
Mobile phone may also include at least one sensor 950, such as optical sensor, motion sensor, pressure sensor, temperature Sensor and other sensors.Specifically, optical sensor may include ambient light sensor (also referred to as light sensor) and connect Nearly sensor, wherein ambient light sensor can adjust the backlight illumination of mobile phone according to the light and shade of ambient light, and then adjust aobvious The brightness of display screen 941, proximity sensor can close display screen 941 and/or backlight when mobile phone is moved in one's ear.As movement One kind of sensor, accelerometer sensor can detect the size of (generally three axis) acceleration in all directions, can examine when static Size and the direction for measuring gravity, can be used to identify mobile phone posture application (such as horizontal/vertical screen switching, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion) etc.;Gyroscope, barometer, the hygrometer, temperature that can also configure as mobile phone The other sensors such as meter, infrared sensor are spent, details are not described herein.
Voicefrequency circuit 960, loudspeaker 961, microphone 962 can provide the audio interface between user and mobile phone.Audio-frequency electric Electric signal after the audio data received conversion can be transferred to loudspeaker 961, be converted to sound by loudspeaker 961 by road 960 Signal plays;On the other hand, the voice signal of collection is converted to electric signal by microphone 962, is turned after being received by voicefrequency circuit 960 It is changed to audio data, then by after the processing of audio data playback process device 980, such as another mobile phone is sent to through RF circuit 910, Or audio data is played to memory 920 to be further processed.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 970 Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 9 is shown WiFi module 970, but it is understood that, and it is not belonging to must be configured into for mobile phone, it can according to need do not changing completely Become in the range of the essence of invention and omits.
Processor 980 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, is led to It crosses operation or executes the software program and/or module being stored in memory 920, and call and be stored in memory 920 Data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor 980 can wrap Include one or more processing units;Preferably, processor 980 can integrate application processor and modem processor, wherein answer With the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication. It is understood that above-mentioned modem processor can not also be integrated into processor 980.
Mobile phone further includes the power supply 990 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe Reason system and processor 980 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management system Etc. functions.
Mobile phone can also include camera 9100, and camera 9100 is for shooting image and video, and by the image of shooting It is handled with transmission of video to processor 980.
Mobile phone can be with bluetooth module etc., and details are not described herein.
In earlier figures 1~embodiment shown in fig. 6, each step method process can be realized based on the structure of the mobile phone.
The embodiment of the present application also provides a kind of computer storage medium, wherein computer storage medium storage is for electricity The computer program of subdata exchange, it is as any in recorded in above method embodiment which execute computer A kind of some or all of engine partition method step.
The embodiment of the present application also provides a kind of computer program product, and the computer program product includes storing calculating The non-transient computer readable storage medium of machine program, the computer program are operable to that computer is made to execute such as above-mentioned side Some or all of any engine partition method recorded in method embodiment step.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the present invention is not limited by the sequence of acts described because According to the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, and related actions and modules is not necessarily of the invention It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of the unit, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical 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.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If the integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer-readable access to memory.Based on this understanding, technical solution of the present invention substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of each embodiment the method for the present invention Step.And memory above-mentioned includes: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory May include: flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the present invention and Embodiment is expounded, and the above description of the embodiment is only used to help understand the method for the present invention and its core ideas; At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the present invention There is change place, in conclusion the contents of this specification are not to be construed as limiting the invention.

Claims (10)

1. a kind of engine partition method, which is characterized in that the engine partition method is applied to gaming platform, the gaming platform On mobile terminals, the gaming platform includes system layer, bridge layer and JS layer for operation, and the bridge layer connects the system layer With it is JS layers described, the bridge layer is packaged with the system capability of the system layer, which comprises
When the first game is run on the gaming platform, the bridge layer determines institute according to the system type of the system layer State the corresponding JS engine of system layer;
The bridge layer calls trip of the JS engine corresponding with the system layer to first game for operating in described JS layers Play code is handled;
The bridge layer is to the system capability after described JS layers exposure encapsulation, and the system capability after the encapsulation is for described JS layers tune With.
2. the method according to claim 1, wherein the described method includes:
When the system layer detects the first system event, the first system event is converted to the first JS by the bridge layer Event generates the first JS event handling function corresponding with the first JS event;Described JS layers for calling the first JS Event handling function handles the first JS event.
3. method according to claim 1 or 2, which is characterized in that the described method includes:
When the corresponding JS engine upgrade of the system layer, the bridge layer is adapted to the system layer and is upgraded accordingly.
4. method according to claim 1-3, which is characterized in that the described method includes:
When the system layer has the ability to update, the ability that the system layer updates is packaged by the bridge layer, is sealed The system capability of update after dress, the system capability of the update after the encapsulation is for described JS layers calling.
5. method according to claim 1-4, which is characterized in that the described method includes:
The system capability that the bridge layer obtains first game calls permission set;
The system capability except permission set is called to be called to beyond the system capability when receiving first game When, the bridge layer executes the purview certification for the system capability except the calling permission set beyond the system capability Operation;
After the purview certification operation of system capability except the calling permission set beyond the system capability passes through, by institute It states the system capability for calling the system capability except permission set that first game is added beyond the system capability and calls power Limit set.
6. method according to claim 1-4, which is characterized in that the described method includes:
When first game and the second game are run on the gaming platform simultaneously, if operating in the first of described JS layers Game and second game are simultaneously called the first system ability of bridge layer encapsulation, and the bridge layer obtains institute The priority of the first game and second game is stated, and confirms highest priority in first game and second game Game, and preferentially give the first system ability of the encapsulation to highest priority in first game and second game Game use.
7. according to the method described in claim 6, it is characterized in that, the bridge layer obtains first game and described second The priority of game, comprising:
The bridge layer receives first game of the JS layers of transmission in the operation information of the gaming platform and described Second game the gaming platform operation information, based on first game in the operation information of the gaming platform and Second game determines the priority and second game of first game in the operation information of the gaming platform Priority.
8. a kind of engine isolating device, which is characterized in that the engine isolating device is applied to gaming platform, the gaming platform On mobile terminals, the gaming platform includes system layer, bridge layer and JS layer for operation, and the bridge layer connects the system layer With it is JS layers described, the bridge layer is packaged with the system capability of the system layer, and the engine isolating device includes determination unit And processing unit, in which:
The determination unit, for when the first game is run on the gaming platform, according to the system class of the system layer Type determines the corresponding JS engine of the system layer;
The processing unit, for calling first trip of the JS engine corresponding with the system layer to operating in described JS layers The game identification code of play is handled;
The processing unit, the system capability being also used to after described JS layers exposure encapsulation, the system capability after the encapsulation supply The JS layers of calling.
9. a kind of mobile terminal, which is characterized in that including processor and memory, the memory is for storing one or more A program, one or more of programs are configured to be executed by the processor, and described program includes for executing such as right It is required that the described in any item methods of 1-7.
10. a kind of computer readable storage medium, which is characterized in that the computer readable storage medium is for storing electron number According to the computer program of exchange, wherein the computer program executes computer as claim 1-7 is described in any item Method.
CN201811102003.0A 2018-09-20 2018-09-20 Engine isolation method, related device and computer readable storage medium Active CN109254793B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811102003.0A CN109254793B (en) 2018-09-20 2018-09-20 Engine isolation method, related device and computer readable storage medium
PCT/CN2019/095120 WO2020057234A1 (en) 2018-09-20 2019-07-08 Engine isolation method, related device, and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811102003.0A CN109254793B (en) 2018-09-20 2018-09-20 Engine isolation method, related device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN109254793A true CN109254793A (en) 2019-01-22
CN109254793B CN109254793B (en) 2022-02-15

Family

ID=65048054

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811102003.0A Active CN109254793B (en) 2018-09-20 2018-09-20 Engine isolation method, related device and computer readable storage medium

Country Status (2)

Country Link
CN (1) CN109254793B (en)
WO (1) WO2020057234A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110543370A (en) * 2019-08-07 2019-12-06 江苏艾佳家居用品有限公司 method for rewriting UE4 rendering engine bottom layer and communication mechanism thereof
WO2020057234A1 (en) * 2018-09-20 2020-03-26 Oppo广东移动通信有限公司 Engine isolation method, related device, and computer-readable storage medium
CN113037814A (en) * 2021-02-25 2021-06-25 平安壹钱包电子商务有限公司 Web container injection implementation method and device, computer equipment and storage medium
CN113360200A (en) * 2020-03-05 2021-09-07 北京沃东天骏信息技术有限公司 Method and device for running target program embedded page
CN113625997A (en) * 2021-07-20 2021-11-09 青岛小鸟看看科技有限公司 XR software development framework, application method and electronic equipment
CN116966539A (en) * 2023-07-25 2023-10-31 广州三七极梦网络技术有限公司 Game processing method, device, equipment and storage medium based on elastic design
CN117762391A (en) * 2024-02-22 2024-03-26 欢乐互娱(上海)科技股份有限公司 Service logic code operation method for multiple platforms

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130045803A1 (en) * 2011-08-21 2013-02-21 Digital Harmony Games, Inc. Cross-platform gaming between multiple devices of multiple types
US20130061212A1 (en) * 2011-09-06 2013-03-07 Microsoft Corporation Modern Application Tracing
CN103970966A (en) * 2014-05-27 2014-08-06 武汉兆图科技有限公司 Method for constructing three-dimensional rendering engine crossing embedded platforms
US20160182485A1 (en) * 2014-12-17 2016-06-23 Hisense Electric Co., Ltd. Method and device for controlling web page to invoke system function, and storage medium thereof
CN106512396A (en) * 2016-12-06 2017-03-22 网易(杭州)网络有限公司 Interactive processing method and device in game and server system
CN106997433A (en) * 2017-03-22 2017-08-01 西安电子科技大学 A kind of Android system authority management method
CN107092473A (en) * 2016-10-31 2017-08-25 北京小度信息科技有限公司 Desktop application development approach and equipment

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110289419A1 (en) * 2010-05-18 2011-11-24 Yu Chi Sum Sam Browser integration for a content system
CN103425491B (en) * 2013-07-30 2016-10-12 广州爱九游信息技术有限公司 A kind of game engine
CN104572042B (en) * 2013-10-15 2019-02-12 航天信息股份有限公司 The cross-platform middleware device and its implementation of mobile terminal device
CN106502809B (en) * 2016-11-08 2019-10-08 上海基连网络科技有限公司 A kind of multi-platform application program adaptation method, device and terminal device
CN107908426A (en) * 2017-12-21 2018-04-13 江苏国泰新点软件有限公司 Design method, device, mobile terminal and the storage medium of cross-platform program
CN109254793B (en) * 2018-09-20 2022-02-15 Oppo广东移动通信有限公司 Engine isolation method, related device and computer readable storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130045803A1 (en) * 2011-08-21 2013-02-21 Digital Harmony Games, Inc. Cross-platform gaming between multiple devices of multiple types
US20130061212A1 (en) * 2011-09-06 2013-03-07 Microsoft Corporation Modern Application Tracing
CN103970966A (en) * 2014-05-27 2014-08-06 武汉兆图科技有限公司 Method for constructing three-dimensional rendering engine crossing embedded platforms
US20160182485A1 (en) * 2014-12-17 2016-06-23 Hisense Electric Co., Ltd. Method and device for controlling web page to invoke system function, and storage medium thereof
CN107092473A (en) * 2016-10-31 2017-08-25 北京小度信息科技有限公司 Desktop application development approach and equipment
CN106512396A (en) * 2016-12-06 2017-03-22 网易(杭州)网络有限公司 Interactive processing method and device in game and server system
CN106997433A (en) * 2017-03-22 2017-08-01 西安电子科技大学 A kind of Android system authority management method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
江柳: "跟着这五步 从 0 开始搭建你的第一款小程序", 《HTTPS://WWW.INFOQ.CN/ARTICLE/5-STEPS-BUILD-YOUR-FIRST-MINI-PROGRAM》 *

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020057234A1 (en) * 2018-09-20 2020-03-26 Oppo广东移动通信有限公司 Engine isolation method, related device, and computer-readable storage medium
CN110543370A (en) * 2019-08-07 2019-12-06 江苏艾佳家居用品有限公司 method for rewriting UE4 rendering engine bottom layer and communication mechanism thereof
CN110543370B (en) * 2019-08-07 2022-07-08 江苏艾佳家居用品有限公司 Method for rewriting UE4 rendering engine bottom layer and communication mechanism thereof
CN113360200A (en) * 2020-03-05 2021-09-07 北京沃东天骏信息技术有限公司 Method and device for running target program embedded page
CN113037814A (en) * 2021-02-25 2021-06-25 平安壹钱包电子商务有限公司 Web container injection implementation method and device, computer equipment and storage medium
CN113625997A (en) * 2021-07-20 2021-11-09 青岛小鸟看看科技有限公司 XR software development framework, application method and electronic equipment
CN113625997B (en) * 2021-07-20 2024-03-12 青岛小鸟看看科技有限公司 XR software development architecture, application method and electronic equipment
CN116966539A (en) * 2023-07-25 2023-10-31 广州三七极梦网络技术有限公司 Game processing method, device, equipment and storage medium based on elastic design
CN117762391A (en) * 2024-02-22 2024-03-26 欢乐互娱(上海)科技股份有限公司 Service logic code operation method for multiple platforms

Also Published As

Publication number Publication date
CN109254793B (en) 2022-02-15
WO2020057234A1 (en) 2020-03-26

Similar Documents

Publication Publication Date Title
CN109254793A (en) Engine partition method, relevant device and computer readable storage medium
CN110515626B (en) Code compiling method of deep learning calculation framework and related product
CN107943683B (en) Test script generation method and device, electronic equipment and storage medium
CN108595203A (en) Application function executes method, mobile terminal and computer readable storage medium
CN110489344A (en) Engine test method and Related product
CN107766139B (en) Application management method and device
CN112245903B (en) Network state indication method, operating system, device and storage medium in cloud application
CN109126124A (en) Engine adaptation method, relevant device and computer readable storage medium
CN108920220B (en) Function calling method, device and terminal
CN111931102A (en) Method, device and system for constructing page
CN110210605A (en) Hardware operator matching process and Related product
CN107273139A (en) A kind of method for updating system, equipment and computer-readable recording medium
CN110035181A (en) It is a kind of to apply card theme setting method and terminal fastly
CN108320148A (en) A kind of resource transfers method and relevant device
CN106919458B (en) Method and device for Hook target kernel function
CN110147186A (en) A kind of control method and terminal device of application
CN107465646B (en) A kind of application method for down loading, system and relevant device
CN104102560B (en) The method and device of system performance testing
CN108037874B (en) Screenshotss method and Related product
CN106933636A (en) Start method, device and the terminal device of plug-in services
CN110012152A (en) A kind of interface display method and terminal device
CN109344035A (en) A kind of progress control method of application program, device, equipment and storage medium
CN109684011A (en) Interface display control method, electronic device and computer readable storage medium
CN109144721A (en) Resource ordering method, resource display method, relevant apparatus and storage medium
CN109316751A (en) Game adaptation method, relevant device and computer readable storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant