CN111198682A - Television game application software development engine and implementation method - Google Patents

Television game application software development engine and implementation method Download PDF

Info

Publication number
CN111198682A
CN111198682A CN201811380272.3A CN201811380272A CN111198682A CN 111198682 A CN111198682 A CN 111198682A CN 201811380272 A CN201811380272 A CN 201811380272A CN 111198682 A CN111198682 A CN 111198682A
Authority
CN
China
Prior art keywords
game
module
music
control module
data
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
CN201811380272.3A
Other languages
Chinese (zh)
Other versions
CN111198682B (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.)
Shanghai Yiqi Information Technology Co Ltd
Original Assignee
Shanghai Yiqi Information Technology 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 Shanghai Yiqi Information Technology Co Ltd filed Critical Shanghai Yiqi Information Technology Co Ltd
Priority to CN201811380272.3A priority Critical patent/CN111198682B/en
Publication of CN111198682A publication Critical patent/CN111198682A/en
Application granted granted Critical
Publication of CN111198682B publication Critical patent/CN111198682B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/35Creation or generation of source code model driven
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F13/00Video games, i.e. games using an electronically generated display having two or more dimensions
    • A63F13/60Generating or modifying game content before or while executing the game program, e.g. authoring tools specially adapted for game development or game-integrated level editor
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/458Scheduling content for creating a personalised stream, e.g. by combining a locally stored advertisement with an incoming stream; Updating operations, e.g. for OS modules ; time-related management operations
    • H04N21/4586Content update operation triggered locally, e.g. by comparing the version of software modules in a DVB carousel to the version stored locally
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/47End-user applications
    • H04N21/478Supplemental services, e.g. displaying phone caller identification, shopping application
    • H04N21/4781Games
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Software Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Stored Programmes (AREA)

Abstract

The invention provides a television game application software development engine and an implementation method thereof, and belongs to the field of application software development engines. The problem of the development of TV game class application software in the prior art have not had complete technical framework, do not perfect each functional module and interface, lead to software development work load big is solved.

Description

Television game application software development engine and implementation method
Technical Field
The invention relates to the field of application software development engines, in particular to a television game application software development engine and an implementation method.
Background
At present, a home television is subjected to signal transmission broadband networking, and in the era of system intelligence, the television is not only a video display terminal but also an interactive intelligent internet terminal, so that various application software, system software, value-added services and the like based on a television screen terminal have wide and continuous requirements.
Most of application software, system software and value-added services of the existing television are simply transplanted or modified application software and contents on a mobile phone and a computer and then are used on the television. There is no mature technical standard and development framework for tv application software, especially game application software, and no tv game development engine for commercial development. The TV application software, especially the game software, uses remote controller and household broadband network as carrier, and has different man-machine interface, display characteristics, network and system environment with mobile phone and computer. Therefore, various software on the mobile phone and the computer is modified and then is suitable for the television, only the environment and the characteristics of the television content development are simply aimed at, the development and debugging test is simply configured with adaptability, different project development processes cannot be adapted and guided, and the software development workload is large.
Disclosure of Invention
In view of the above disadvantages of the prior art, an object of the present invention is to provide a tv game application development engine and an implementation method thereof, for solving the problem that the development of tv game application in the prior art has no complete technical framework and is not perfected on each functional module and interface, which results in a large software development workload.
The invention provides a TV game application software development engine, which comprises
AudioManager music module: controls for music in the game;
a NetHander data module: the data in the game are saved;
activity display module: for display of a game page;
the utils tool class module: for assisting in game development;
a Canvas control module: jump control for game pages;
an ottpop bullet frame control module: used for controlling the game internal frame control;
keyvalue key control module: the method is used for key operation control of the set top box;
the Graphics brush pen conversion module: drawing pictures;
a Bitmap image conversion module: format conversion for drawing pictures;
an Iview control module: for game page display control;
the AudioManager music module, the NetHander data module, the Activity display module and the utils tool module are respectively connected with the Canvas control module, the ottpop bullet frame control module, the Keyvalue key control module, the Graphics painting brush conversion module and the Bitmap picture conversion module are respectively connected with the Iview control module, and the Canvas control module is also connected with the Iview control module.
Furthermore, the AudioManager music control module supports two modes of music playing, one mode is repeated playing of background music, and the other mode is single playing of key-press music or short-duration music.
Furthermore, the NetHander data processing module supports two storage modes, one is to store data locally, and the other is to store data in a server.
Furthermore, the ottopping bullet frame control module supports two bullet frame controls, one is a charging prompt bullet frame control, and the other is a pause bullet frame control.
A method for realizing the development of application software of video games comprises the following steps:
step 1: starting the master Activity, reading and storing the configuration parameters;
step 2: acquiring music switch parameters set by a game;
and step 3: initializing to obtain page picture resources, and opening a game starting page;
and 4, step 4: drawing a picture and displaying the picture;
and 5: and updating the game page.
Further, the step 1 comprises the following specific steps:
step 1.1: starting the main Activity, reading the starting parameters of the game from the configuration file and storing the starting parameters;
step 1.2: acquiring game storage data, and if null is returned, indicating that the game storage data is empty and needing to be acquired and stored again; and returning json, indicating that the game data is acquired, and analyzing and using the acquired data.
Further, the step 2 comprises the following specific steps:
step 2.1: carrying out operation of acquiring music switch parameters set by the game, and starting to play music if yes is returned; if no, no music is played.
As described above, the tv game application software development engine and the implementation method of the invention have the following beneficial effects: the invention solves the problem of how to realize fast coding of various parameter indexes, technical framework models and various functional modules in the development of television application software, clearly unified parameters and method are set to form various television set-top box terminals with standards corresponding to hundreds of different manufacturers and models, a set of framework for developing game application software is set according to the running environment and interaction characteristics of network televisions, and developers can directly develop the game application software without setting up the framework by themselves; and various common functional modules and interfaces are optimized and packaged, developers can directly call the functions without specially adapting to various terminals, and the development of the game software of the television can be rapidly and efficiently started.
Drawings
FIG. 1 is a block diagram of a TV game application development engine disclosed in an embodiment of the present invention;
fig. 2 is a flowchart of a method for implementing the development of application software of video games according to an embodiment of the present invention.
Detailed Description
The embodiments of the present invention are described below with reference to specific embodiments, and other advantages and effects of the present invention will be easily understood by those skilled in the art from the disclosure of the present specification. The invention is capable of other and different embodiments and of being practiced or of being carried out in various ways, and its several details are capable of modification in various respects, all without departing from the spirit and scope of the present invention. It is to be noted that the features in the following embodiments and examples may be combined with each other without conflict.
It should be noted that the drawings provided in the following embodiments are only for illustrating the basic idea of the present invention, and the components related to the present invention are only shown in the drawings rather than drawn according to the number, shape and size of the components in actual implementation, and the type, quantity and proportion of the components in actual implementation may be changed freely, and the layout of the components may be more complicated.
As shown in FIG. 1, the present invention provides a TV game application software development engine, which comprises
AudioManager music module: the method is used for controlling music in a game, and supports two modes of music playing, wherein one mode is repeated playing of background music, and the other mode is single playing of key music or short-time music, and the two modes of music playing can solve the problem of processing sound in the game.
A NetHander data module: the game data storage method is used for storing data in a game, and supports two storage modes, one mode is to store the data in the local place, namely in a client side, the storage mode does not need networking operation when storing the data, and can quickly acquire and store the data, and the other mode is to store the data in a server, so that the data is prevented from being deleted by mistake;
by combining the two storage modes, namely, the data are stored in the local and the server at the same time, the data are obtained from the local when being obtained, and if the local data are empty, the data are obtained from the server, so that the safety of data storage and the real-time property of data acquisition are ensured.
The utils tool class module: the method is used for assisting game development and integrates a large number of development and use methods (such as time class, character string segmentation, character string splicing, file uploading, file downloading, digital cutting, random number acquisition, md5 encryption algorithm and the like).
An ottpop bullet frame control module: the method is used for controlling the game internal bullet frame control and supporting two bullet frame controls, wherein one bullet frame is a charging prompt bullet frame, and the other bullet frame is a pause bullet frame;
the method needed by the game cartridge frame is integrated in the ottpopping cartridge frame control module, so that the uniform management of the cartridge frame is realized, and different types of cartridge frames can be popped out by calling the ottpopping cartridge frame control module and inputting different parameters at the place where the cartridge frame is needed, so that the direct calling of software developers is facilitated; meanwhile, when the bullet frame is called, the bullet frame resources are loaded, and when the bullet frame is removed, the resources are released, so that the reasonable use of the memory is realized.
Keyvalue key control module: the key operation of the set top box is integrated, the differences of various buttons, key values and response events are caused due to the difference of manufacturers and models of the set top box, and the normal operation of most set top boxes can be met through a large amount of key operation integration;
the keys comprise a home key, a setting key and the like, and in addition, corresponding key values are integrated for different browsers aiming at key response events of the web pages.
The Graphics brush pen conversion module: drawing pictures;
a Bitmap image conversion module: format conversion for drawing pictures;
the graph painting brush conversion module and the Bitmap picture conversion module are core modules of an engine, TV game application software can be rapidly developed through java codes, picture drawing is carried out through a Canvas control module in original android game development, picture creation is carried out through the Bitmap picture conversion module, the engine of the invention converts Canvas drawing into graph painting through the java codes, pictures are created through a Bitmap, and the pictures are created through images, so that a person developing java can rapidly realize development of TV games through the engine.
Activity display module: for display of a game page;
a Canvas control module: the method is used for realizing the jump of the game page under the condition of not changing the Activity component;
an Iview control module: display control for a game page;
the Canvas control module is connected with the Iview control module, and the final display of each page of the game is realized under the condition that the Activity component of the Activity display module is not changed.
The AudioManager music module, the NetHander data module, the Activity display module and the utils tool module are respectively connected with the Canvas control module, the ottpop bullet frame control module, the Keyvalue key control module, the Graphics painting brush conversion module and the Bitmap picture conversion module are respectively connected with the Iview control module, and the Canvas control module is also connected with the Iview control module.
As shown in fig. 2, a method for implementing application software development of video games, the method includes the following steps:
step 1: starting the main Activity through an Activity display module, reading configuration parameters and storing the parameters in a NetHander data module;
firstly, calling an onCreate method integrated with an Activity display module to start a main Activity, reading starting parameters (such as configuration parameters of game starting types, horizontal screens, vertical screens and the like) of a game from a configuration file android Mainifest (xml), and storing the parameters in a NetHander data module;
calling a getData method to acquire data saved by the game, and if null is returned, indicating that the saved data is empty and needing to be acquired and saved again; if json is returned, the data is acquired, and the acquired data only needs to be analyzed and used.
Step 2: calling a getType method integrated by an AudioManager music module to acquire a music switch parameter set by the game, and starting to play music if yes is returned; if no, no music is played.
And step 3: initializing to obtain page picture resources, and opening a game starting page through an Iview control module;
firstly, local picture resources are obtained through a local method integrated by the utils tool class module, and the method can automatically detect whether the picture resources needing to be obtained are stored locally or not; or acquiring the picture resource stored in the server by a loader method, wherein the method downloads the required picture resource through the set server path;
and then opening a game starting page through the Iview control module, controlling page jumping inside the game and releasing picture resources, and realizing switching between different pages under the condition of single Activity.
And 4, step 4: drawing a picture through a Graphics painting brush conversion module and a Bitmap picture conversion module and displaying the picture;
firstly, drawing a picture through a Graphics painting brush conversion module, and converting the drawn picture into an Image in java through a Bitmap picture conversion module;
and finally, displaying the drawn picture on the set top box terminal through the Activity display module.
And 5: and updating the game page.
The Update of the game page is realized through the Update of the Keyvalue key control module, the game can be kept to operate near the same frame rate on different set top boxes, the stability of game operation is ensured, and meanwhile, the use of a set top box remote controller is controlled through the Keyvalue of the Keyvalue key control module, so that the game can be suitable for the set top boxes of most models.
In conclusion, the invention solves the problem of how to realize fast coding of various parameter indexes, technical framework models and various functional modules in the development of television application software, clearly uniform parameters and method are set to form various television set top box terminals with standards corresponding to hundreds of different manufacturers and models, a set of framework for developing game application software is set according to the running environment and interaction characteristics of network televisions, and developers can directly develop the game application software without setting up the framework by themselves; and various common functional modules and interfaces are optimized and packaged, developers can directly call the functions without specially adapting to various terminals, and the development of the game software of the television can be rapidly and efficiently started. Therefore, the invention effectively overcomes various defects in the prior art and has high industrial utilization value.
The foregoing embodiments are merely illustrative of the principles and utilities of the present invention and are not intended to limit the invention. Any person skilled in the art can modify or change the above-mentioned embodiments without departing from the spirit and scope of the present invention. Accordingly, it is intended that all equivalent modifications or changes which can be made by those skilled in the art without departing from the spirit and technical spirit of the present invention be covered by the claims of the present invention.

Claims (7)

1. A TV game application software development engine is characterized in that the engine comprises
AudioManager music module: controls for music in the game;
a NetHander data module: the data in the game are saved;
activity display module: for display of a game page;
the utils tool class module: for assisting in game development;
a Canvas control module: jump control for game pages;
an ottpop bullet frame control module: used for controlling the game internal frame control;
keyvalue key control module: the method is used for key operation control of the set top box;
the Graphics brush pen conversion module: drawing pictures;
a Bitmap image conversion module: format conversion for drawing pictures;
an Iview control module: for game page display control;
the AudioManager music module, the NetHander data module, the Activity display module and the utils tool module are respectively connected with the Canvas control module, the ottpop bullet frame control module, the Keyvalue key control module, the Graphics painting brush conversion module and the Bitmap picture conversion module are respectively connected with the Iview control module, and the Canvas control module is also connected with the Iview control module.
2. The video game application development engine of claim 1, wherein: the AudioManager music control module supports two modes of music playing, one mode is repeated playing of background music, and the other mode is single playing of key-press music or short-duration music.
3. The video game application development engine of claim 1, wherein: the NetHander data processing module supports two storage modes, one is to store data locally, and the other is to store data in a server.
4. The video game application development engine of claim 1, wherein: the ottopping bullet frame control module supports two bullet frame controls, one is a charging prompt bullet frame control, and the other is a pause bullet frame control.
5. A method for realizing the development of application software of video games is characterized by comprising the following steps:
step 1: starting the master Activity, reading and storing the configuration parameters;
step 2: acquiring music switch parameters set by a game;
and step 3: initializing to obtain page picture resources, and opening a game starting page;
and 4, step 4: drawing a picture and displaying the picture;
and 5: and updating the game page.
6. The method for implementing video game application software development according to claim 5, wherein the specific steps in the step 1 are as follows:
step 1.1: starting the main Activity, reading the starting parameters of the game from the configuration file and storing the starting parameters;
step 1.2: acquiring game storage data, and if null is returned, indicating that the game storage data is empty and needing to be acquired and stored again; and returning json, indicating that the game data is acquired, and analyzing and using the acquired data.
7. The method for implementing video game application software development according to claim 5, wherein the step 2 comprises the following steps:
step 2.1: carrying out operation of acquiring music switch parameters set by the game, and starting to play music if yes is returned; if no, no music is played.
CN201811380272.3A 2018-11-19 2018-11-19 Video game application software development engine and implementation method Active CN111198682B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811380272.3A CN111198682B (en) 2018-11-19 2018-11-19 Video game application software development engine and implementation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811380272.3A CN111198682B (en) 2018-11-19 2018-11-19 Video game application software development engine and implementation method

Publications (2)

Publication Number Publication Date
CN111198682A true CN111198682A (en) 2020-05-26
CN111198682B CN111198682B (en) 2023-06-09

Family

ID=70743875

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811380272.3A Active CN111198682B (en) 2018-11-19 2018-11-19 Video game application software development engine and implementation method

Country Status (1)

Country Link
CN (1) CN111198682B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001083055A2 (en) * 2000-05-02 2001-11-08 Choice Game Music Llc Real time audio in video game
CN101335916A (en) * 2008-07-22 2008-12-31 中山大学 General mobile phone role playing network game engine
US20120028712A1 (en) * 2010-07-30 2012-02-02 Britesmart Llc Distributed cloud gaming method and system where interactivity and resources are securely shared among multiple users and networks
CN102419708A (en) * 2011-12-19 2012-04-18 广州杰赛科技股份有限公司 Method and device for operating Java 2 micro edition (J2ME) games
CN103425491A (en) * 2013-07-30 2013-12-04 广州市动景计算机科技有限公司 Game engine
WO2014067323A1 (en) * 2012-10-31 2014-05-08 中兴通讯股份有限公司 Iptv advertisement distribution method and system
WO2016197863A1 (en) * 2015-06-11 2016-12-15 阿里巴巴集团控股有限公司 Client, smart television system, and corresponding data transmission method
CN107305492A (en) * 2016-04-18 2017-10-31 广东石油化工学院 Gse2D game engines

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001083055A2 (en) * 2000-05-02 2001-11-08 Choice Game Music Llc Real time audio in video game
CN101335916A (en) * 2008-07-22 2008-12-31 中山大学 General mobile phone role playing network game engine
US20120028712A1 (en) * 2010-07-30 2012-02-02 Britesmart Llc Distributed cloud gaming method and system where interactivity and resources are securely shared among multiple users and networks
CN102419708A (en) * 2011-12-19 2012-04-18 广州杰赛科技股份有限公司 Method and device for operating Java 2 micro edition (J2ME) games
WO2014067323A1 (en) * 2012-10-31 2014-05-08 中兴通讯股份有限公司 Iptv advertisement distribution method and system
CN103425491A (en) * 2013-07-30 2013-12-04 广州市动景计算机科技有限公司 Game engine
WO2016197863A1 (en) * 2015-06-11 2016-12-15 阿里巴巴集团控股有限公司 Client, smart television system, and corresponding data transmission method
CN107305492A (en) * 2016-04-18 2017-10-31 广东石油化工学院 Gse2D game engines

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张卫山,刘伟: "基于J2ME的手机网络RPG游戏引擎" *

Also Published As

Publication number Publication date
CN111198682B (en) 2023-06-09

Similar Documents

Publication Publication Date Title
US8635521B2 (en) Customizing applications in a discovery interface
WO2008024940A1 (en) System for development of 3d content used in embedded devices
CN103634592A (en) Automatic test method and system for intelligent televisions
CN111722885B (en) Program running method and device and electronic equipment
CN109683949A (en) Pre-installed applications management method, device and storage medium
CN112799891A (en) iOS device test method, device, system, storage medium and computer device
CN114494024B (en) Image rendering method, device and equipment and storage medium
CN107426588B (en) Method, system and storage device for acquiring television set configuration information
CN112445545A (en) Starting method of webpage application and display equipment
CN114143371A (en) Screen projection method and device, storage medium and electronic equipment
CN112044061B (en) Game picture processing method and device, electronic equipment and storage medium
CN111198682B (en) Video game application software development engine and implementation method
CN111506393A (en) ARM-based virtualization device and use method thereof
CN104333806A (en) Set top box parameter operation method and device
CN103297516A (en) Multi-type providing method, multi-type providing system and multi-type providing device of applications
CN113282268B (en) Sound effect configuration method and device, storage medium and electronic equipment
CN107133046B (en) Page construction method and device and electronic terminal
CN112487322B (en) Third party application Loading page loading method and display device
CN114860333A (en) Service arranging method and electronic equipment
CN113822777A (en) Virtual teaching resource aggregation system based on 5G cloud rendering and working method thereof
CN102081517A (en) User interface display method and apparatus
CN112307383A (en) Page loading method and device
CN114363679B (en) Display equipment, server and media asset playing method
WO2024099353A1 (en) Video processing method and apparatus, electronic device, and storage medium
CN117806617B (en) Interactive assembly for page building and building method

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