CN108984181A - A kind of method of mobile phone games and web game intercommunication - Google Patents

A kind of method of mobile phone games and web game intercommunication Download PDF

Info

Publication number
CN108984181A
CN108984181A CN201810820418.5A CN201810820418A CN108984181A CN 108984181 A CN108984181 A CN 108984181A CN 201810820418 A CN201810820418 A CN 201810820418A CN 108984181 A CN108984181 A CN 108984181A
Authority
CN
China
Prior art keywords
code
mobile phone
game
phone games
web
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201810820418.5A
Other languages
Chinese (zh)
Inventor
张明明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hefei Ai Fun Animation Co Ltd
Original Assignee
Hefei Ai Fun Animation Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hefei Ai Fun Animation Co Ltd filed Critical Hefei Ai Fun Animation Co Ltd
Priority to CN201810820418.5A priority Critical patent/CN108984181A/en
Publication of CN108984181A publication Critical patent/CN108984181A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/44Encoding

Landscapes

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

Abstract

The invention discloses a kind of methods of mobile phone games and web game intercommunication, the interoperability methods include: compiling mobile phone games code, the operational effect of mobile phone games code is obtained, mobile phone games code is obtained, isolates skeleton code and logical code from mobile phone games code;Skeleton code is converted into web page frame code, and logic compiler code building page script file, is that web game executes file by web page frame code and page script integrating documents;Game intercommunication server is set, and is separately operable mobile phone games code and web game execution file on game intercommunication server.The present invention solves conventional mobile phone game and the drawbacks of web game is unable to intercommunication, and mobile phone games code by conversion, is reduced the dependence of game logic code by the application, enables mobile phone games and web game intercommunication.

Description

A kind of method of mobile phone games and web game intercommunication
Technical field
The present invention relates to web game field, the method for especially a kind of mobile phone games and web game intercommunication.
Background technique
As all requirements of game are also being continuously improved in electronic game culture and the development of technology, user, such as Show that user wishes on webpage and mobile phone while playing different to same game progress to then just having with a game The demand of platform transplantation.The game that one of mode of platform transplantation is run on mobile phone aiming at script supports it in net It is run on page.For this purpose, current common technology is will to be rewritten on mobile phone with the source code that C++ writes The source code of ActionScript can support FlashPlayer finally to run on webpage.
Summary of the invention
It is an object of the invention to overcome the deficiencies of the prior art and provide the sides of a kind of mobile phone games and web game intercommunication Method, the present invention solve conventional mobile phone game and the drawbacks of web game are unable to intercommunication, and the application passes through mobile phone games code Conversion reduces the dependence of game logic code, enables mobile phone games and web game intercommunication.
The purpose of the present invention is achieved through the following technical solutions:
A kind of method of mobile phone games and web game intercommunication, the interoperability methods include:
Mobile phone games code is compiled, the operational effect of mobile phone games code is obtained, mobile phone games code is obtained, from mobile phone games generation Skeleton code and logical code are isolated in code;
Skeleton code is converted into web page frame code, and logic compiler code building page script file, by web page frame generation Code and page script integrating documents are that web game executes file;
Game intercommunication server is set, and is separately operable mobile phone games code and web game execution on game intercommunication server File.
Preferably, it skeleton code is converted into web page frame code is specifically included on web game platform and use FlashCC or Flex compiles web page frame code, and generates executable file.
Preferably, page script file is arranged in the predetermined directory of website on web game platform.
Preferably, setting operation on game intercommunication server has mobile phone games code and web game to execute file.
The invention has the benefit that
The present invention solves conventional mobile phone game and the drawbacks of web game is unable to intercommunication, and the application passes through mobile phone games code Conversion reduces the dependence of game logic code, enables mobile phone games and web game intercommunication.
Detailed description of the invention
Fig. 1 is method flow schematic diagram of the invention.
Specific embodiment
Technical solution of the present invention is described in further detail with reference to the accompanying drawing, but protection scope of the present invention is not limited to It is as described below.
Embodiment:
A kind of method of mobile phone games and web game intercommunication, please refers to shown in attached drawing 1, and the interoperability methods include:
S1, compiling mobile phone games code, obtain the operational effect of mobile phone games code, obtain mobile phone games code, swim from mobile phone Skeleton code and logical code are isolated in play code;
S2, skeleton code is converted to web page frame code, and logic compiler code building page script file, by web page frame Code and page script integrating documents are that web game executes file;
S3, setting game intercommunication server, and mobile phone games code and web game are separately operable on game intercommunication server Execute file.
Preferably, it skeleton code is converted into web page frame code is specifically included on web game platform and use FlashCC or Flex compiles web page frame code, and generates executable file.
Preferably, page script file is arranged in the predetermined directory of website on web game platform.
Preferably, setting operation on game intercommunication server has mobile phone games code and web game to execute file.
The present invention solves conventional mobile phone game and the drawbacks of web game is unable to intercommunication, and the application is by mobile phone games code By conversion, the dependence of game logic code is reduced, enables mobile phone games and web game intercommunication.
A specific embodiment of the invention above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously Limitations on the scope of the patent of the present invention therefore cannot be interpreted as.It should be pointed out that for those of ordinary skill in the art For, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to guarantor of the invention Protect range.

Claims (4)

1. a kind of method of mobile phone games and web game intercommunication, which is characterized in that the interoperability methods include:
Mobile phone games code is compiled, the operational effect of mobile phone games code is obtained, mobile phone games code is obtained, from mobile phone games generation Skeleton code and logical code are isolated in code;
Skeleton code is converted into web page frame code, and logic compiler code building page script file, by web page frame generation Code and page script integrating documents are that web game executes file;
Game intercommunication server is set, and is separately operable mobile phone games code and web game execution on game intercommunication server File.
2. a kind of method of mobile phone games and web game intercommunication according to claim 1, which is characterized in that by skeleton code Web page frame code is converted to be specifically included on web game platform using FlashCC or Flex compiling web page frame code, And generate executable file.
3. a kind of method of mobile phone games and web game intercommunication according to claim 1, which is characterized in that in web game Page script file is arranged in the predetermined directory of website on platform.
4. a kind of method of mobile phone games and web game intercommunication according to claim 1, which is characterized in that setting game is mutual Operation has mobile phone games code and web game to execute file on logical server.
CN201810820418.5A 2018-07-24 2018-07-24 A kind of method of mobile phone games and web game intercommunication Pending CN108984181A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810820418.5A CN108984181A (en) 2018-07-24 2018-07-24 A kind of method of mobile phone games and web game intercommunication

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810820418.5A CN108984181A (en) 2018-07-24 2018-07-24 A kind of method of mobile phone games and web game intercommunication

Publications (1)

Publication Number Publication Date
CN108984181A true CN108984181A (en) 2018-12-11

Family

ID=64550498

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810820418.5A Pending CN108984181A (en) 2018-07-24 2018-07-24 A kind of method of mobile phone games and web game intercommunication

Country Status (1)

Country Link
CN (1) CN108984181A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112163177A (en) * 2020-09-10 2021-01-01 上海连尚网络科技有限公司 Processing method of web game, electronic device and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104090765A (en) * 2014-07-16 2014-10-08 福建天晴数码有限公司 Method and device for switching from mobile game to webgame
CN104699484A (en) * 2015-03-17 2015-06-10 上海斐讯数据通信技术有限公司 Method for transplanting Flash game to Android platform
KR20180001174A (en) * 2016-06-27 2018-01-04 이종훈 Server and method for transcoding

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104090765A (en) * 2014-07-16 2014-10-08 福建天晴数码有限公司 Method and device for switching from mobile game to webgame
CN104699484A (en) * 2015-03-17 2015-06-10 上海斐讯数据通信技术有限公司 Method for transplanting Flash game to Android platform
KR20180001174A (en) * 2016-06-27 2018-01-04 이종훈 Server and method for transcoding

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112163177A (en) * 2020-09-10 2021-01-01 上海连尚网络科技有限公司 Processing method of web game, electronic device and computer readable storage medium

Similar Documents

Publication Publication Date Title
GB2442495B (en) Method and apparatus for handling dynamically linked function cells with respect to program code conversion
MY181735A (en) Generating native code from intermediate language code for an application
GB2520853A (en) Read and write masks update instruction for vectorization of recursive computations over independent data
TW200636581A (en) Methods and apparatus for instruction set emulation
CN104090765A (en) Method and device for switching from mobile game to webgame
WO2015157135A3 (en) Region-of-interest based video coding using hints, in particular for video games
WO2010045569A3 (en) Interactive design environments to visually model, debug and execute resource oriented programs
CN102364442B (en) Method for transplanting Wine from x86 to advanced risc machine (ARM) platform
CN108984181A (en) A kind of method of mobile phone games and web game intercommunication
RU2004106717A (en) COMPUTER EMULATION OF DIRECT CONVERSION TEAMS
TW200703142A (en) Methods and apparatus for improving processing performance by controlling latch points
RU2012125616A (en) RENDERING A WEB PAGE CONTAINING CONTENT OF THE CONNECTED MODULE
JP2004272922A5 (en)
CN106681703A (en) Reusable interface component construction system and reusable interface component construction method
WO2011129989A3 (en) Platform independent presentation composition
CN103309690A (en) Data processing method and electronic equipment
CN103218527B (en) A kind of batch adds the method for game material
CN104008316B (en) The method and system of Information hiding is carried out based on change script environment
CN109857386B (en) Page skipping method and device
CN102789391B (en) A kind of computer game logic generation method
CN104492081A (en) Method for realizing curve track in mobile games and curve track equation setting device
KR20110080558A (en) Method for processing application
Son et al. Design and implementation of the smart virtual machine on iOS platform for the mobile game portability
Huang et al. Web application development approach supporting multi-target-frameworks.
CN102945187A (en) QtWebKit optimization method based on set top box middleware

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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20181211

WD01 Invention patent application deemed withdrawn after publication