CN108282445A - Tank real scale game technological system based on IOS - Google Patents
Tank real scale game technological system based on IOS Download PDFInfo
- Publication number
- CN108282445A CN108282445A CN201710010217.4A CN201710010217A CN108282445A CN 108282445 A CN108282445 A CN 108282445A CN 201710010217 A CN201710010217 A CN 201710010217A CN 108282445 A CN108282445 A CN 108282445A
- Authority
- CN
- China
- Prior art keywords
- tank
- ios
- game
- server
- module
- 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.)
- Withdrawn
Links
- 230000005540 biological transmission Effects 0.000 claims description 9
- 238000013461 design Methods 0.000 claims description 4
- 230000002452 interceptive effect Effects 0.000 claims description 4
- 238000012545 processing Methods 0.000 claims description 3
- 238000004458 analytical method Methods 0.000 claims description 2
- 230000003993 interaction Effects 0.000 abstract 1
- 238000004891 communication Methods 0.000 description 6
- 230000006870 function Effects 0.000 description 4
- 238000000034 method Methods 0.000 description 3
- 239000008186 active pharmaceutical agent Substances 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 206010063385 Intellectualisation Diseases 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000005314 correlation function Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000010025 steaming Methods 0.000 description 1
- 229910052717 sulfur Inorganic materials 0.000 description 1
- 239000011593 sulfur Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- WFKWXMTUELFFGS-UHFFFAOYSA-N tungsten Chemical group [W] WFKWXMTUELFFGS-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/131—Protocols for games, networked simulations or virtual reality
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/30—Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
- A63F13/32—Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers using local area network [LAN] connections
- A63F13/327—Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers using local area network [LAN] connections using wireless networks, e.g. Wi-Fi® or piconet
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/30—Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
- A63F13/35—Details of game servers
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/40—Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/45—Controlling the progress of the video game
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F13/00—Video games, i.e. games using an electronically generated display having two or more dimensions
- A63F13/80—Special adaptations for executing a specific game genre or game mode
- A63F13/803—Driving vehicles or craft, e.g. cars, airplanes, ships, robots or tanks
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/10—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by input arrangements for converting player-generated signals into game device control signals
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/40—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterised by details of platform network
- A63F2300/404—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterised by details of platform network characterized by a local network connection
- A63F2300/405—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterised by details of platform network characterized by a local network connection being a wireless ad hoc network, e.g. Bluetooth, Wi-Fi, Pico net
-
- A—HUMAN NECESSITIES
- A63—SPORTS; GAMES; AMUSEMENTS
- A63F—CARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
- A63F2300/00—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game
- A63F2300/50—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers
- A63F2300/53—Features of games using an electronically generated display having two or more dimensions, e.g. on a television screen, showing representations related to the game characterized by details of game servers details of basic data processing
Landscapes
- Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The present invention announces the tank real scale game technological system based on IOS, original games system is by model tank, server two parts form, new system replaces joystick to send control instruction using virtual push button in IOS clients, and define client and hardware tank subsystem interaction protocol, game control and part computing function are also transferred to IOS clients by original server, reduce server load;Create reliable digital real scale game environment so that participant in game can obtain player's equipment by IOS client game servers, and control the task that tank carries out true environment.
Description
Technical field
The present invention is a kind of IOS intelligent ends technical field, is related to Web technical fields.
Background technology
Outdoor scene numbers game refers to passing through the mechanical, electrical son of conformity calculation, communication, network, automatic control in true environment
System, human-computer intellectualization technology and Software for Design etc. build a real scale game environment jointly, and participant in game utilizes operation
The remote terminal that quotient provides, special electronics, the equipment such as clothes and electronic stage property are completed various based on true environment
True man's task, the glamour of experience role playing game and interactive game in true.
Invention content
System global analysis:
1. original tank fights model system:Original tank battle model system is made of two parts:Tank model and server,
WLAN is the prevailing transmission mode of information and data in tank fighting system;System uses a computer as service
Device, using traditional game bar as input equipment;It controls tank under this system to need to control by operating lever, game participates in
Person will stare at server interface in game process, it is difficult to generate sense on the spot in person, game effect is poor;It must in playing simultaneously
Must have a computer as server, limit the place of game in this way so that participant in game cannot anywhere or anytime into
Row game;
2. the tank based on ios platform fights model system:Portable tank fighting system is broadly divided into three parts after improvement:Clothes
Business device end, IOS clients, tank model, functions are as follows:
(1) server end:It is the important component in whole system, storage and the computing function of data, processing game is provided
Regular complicated algorithm rewards allocation algorithm, player levels upgrade algorithm etc. if player equips allocation algorithm after game over;
Compared with primal system, the server in this system no longer undertakes the work(of transmission control command, attack instruction and interface display
Can, these functions are realized by the IOS clients being added;In primal system all information interchanges all in a local network, with one
Wireless routing is as whole network AP;Server is connected with AP in a wired or wireless fashion, tank model by wirelessly with AP phases
Even, the communication of server and tank is realized by socket;By improved system, a remote server, IOS have been built
Client is interacted by 3G/4G networks with server info;
(2) tank model:It is the carrier in system, is the object of participant in game control, has been internally integrated a variety of components, wraps
The WiFi module interacted with IOS clients, microcontroller are included, infrared ray shell transmitting and receiving module moves drive module, ARM cores
Piece and USB camera;Compared with original system, improvement system increase video passback correlation function, increase a camera and
One ARM module writes acquisition with ARM, handles the program of video;
(3) IOS clients:It is the operating platform and display platform of whole system, is directly interacted with participant in game;It is all
Control information and attack information all by sending out here, participant in game can observe the institute of player's tank on mobile phone in real time
Stateful and video, this is that system improves the emphasis realized.
The structure of Web server:Server only undertakes the calculating of a part in improvement system, other calculating are all transferred to visitor
Family end;The relevant information of all registration players of server storage, when player is when IOS clients log in, IOS clients pass through
3G/4G networks send HTTP request, request player equipment information, that is, player levels Title to server, and server returns to JSON
Formatted data;After game over, client will summarize is uploaded onto the server by attack information, and server passes through following rules
Show that the reward that the player obtains, client ask to obtain prize outcome again to server.
The realization of tank model subsystem:Tank model system structure mainly realizes following four partial functions;
(1) tank receives control information and attack information by WiFi module, sends video flowing and by attack information;It is taken in system
A WiFi module has been carried, information is controlled, attack information shares a port, the transmission of video flowing with by the transmission of attack information
Another to open a port, IOS clients obtain information by two ports are monitored respectively;WiFi module believes the control received
Breath, attack information pass to microcontroller and are handled, and IOS client is sent to by treated video flowing and by attack information
End;
(2) this system uses 51 microcontrollers, shows a C language control program;Microcontroller believes the control obtained from WiFi module
Breath parsing generates driving instruction, driving tank movement, and controls infrared sending module according to the attack information received and receive mould
Block;
(3) realization of red infrared shooting system is to come from IOS clients when receiving by loading infrared emission sensor on tank
Attack instruction after, realize infrared coding and infrared emission under microcontroller control;Infrared receiver sensor is installed around tank,
After infrared shooting, realize that decoded information is beamed back IOS clients by infrared receiver and infrared decoding, last tank;
(4) this subsystem obtains original video using a USB camera, and the transmission of video flowing, this project are controlled with ARM
Mini2440 development boards are used, program is write with C language;Include mainly two parts program, a part is video drive
Program determines the operating mode of camera, video format etc.;Another part is test program, by video stream to WiFi moulds
Block port.
The realization of IOS clients:Writing for IOS clients is the Xcode platforms based on Apple Inc., according to MVC design
Pattern is write with Objective-C language;IOS clients are divided into four modules, and logic modeling module is interacted with server
Module, with tank interactive module, video processing module;
(1) logic modeling module corresponds to the M (i.e. model) in MVC design pattern in IOS exploitations, is established in this module
Player models realize game rule algorithm, it is specified that communication protocol;
Client rule:Player (Player) obtains player information after logging in, a client just corresponds to a player and is
Player;Player includes a series of attributes:Account name, password, game money, empirical value, the military rank value of player;The military rank system includes
Attribute determine the equipment that participant in game obtains, such as amount of gasoline, number of rounds, tank maximum vital values, between shooting time
Every etc.;After tank fires shells, itself shell number is reduced;Tank is received by after attack information, and vital values are reduced;With the time
Increase, amount of gasoline is reduced, and a series of game rule algorithms such as empirical value increase, which also program in this module, to be realized;
Logic modeling module alsies specify the binary data protocol communicated with tank, including tank advance agreement, retreats
Agreement, left-hand rotation agreement, right-hand rotation agreement, tower body left-hand rotation agreement, tower body right-hand rotation agreement, common armor-piercing bullet strike order, tungsten core armour-piercing
Play bidding protocol, high-sulfur shell bidding protocol, heartbeat message agreement, binding acknowledgement agreement;Now by taking advance bidding protocol as an example,
Agreement composition is discussed in detail;
(2) it is common one in Web service that the communication between IOS clients and server, which has used Http agreements, Http agreements,
Kind agreement;Client sends out network request to specified API, and server returns to the data of a JSON format, and client is to returning
Data carry out JSON parsings, be shown on interface by calculating;Realize that the third party that is used interchangeably of client and server opens
Source library AFNetworking, AFNet-working are suitable for IOS and MacOS X;It possesses good framework, abundant
API and built modular mode, by very easily in a manner of obtain JSON data from a URL;
(3) IOS clients carry WiFi module, it is communicated between tank by WiFi, control information and attack information
Transmission select Transmission Control Protocol, network program is write using socket Socket, in the present system between client and tank
Communication, which is realized, uses third party library AsynSocket;Client binds tank IP address, monitors the designated ends of tank WiFi module
Mouthful;Before clicking on client end interface, after, it is left, it is right that buttons, client is waited to be packaged data by the communication protocol appointed,
It sends;Realize a series of principal methods in AsynSocket libraries after client receives data, data be decoded, storage and
Display;
(4) transmission of video between IOS clients and tank is transmitted also by WiFi, and video steaming transfer has used RTSP agreements,
Data are divided into data packet by RTSP agreements using Flow Technique, and the size of data packet can be determined that user is not by the bandwidth of network
Broadcasting can be realized by needing to download entire media file;264 coding standards of H. are used to video flowing, H. 264 is all
It can continue to provide higher video quality under code check;In this system original video stream is realized using third party library FFmpeg
Decoding, conversion are finally shown on interface with the IOS UI-Image formats specified one by one.
Claims (2)
1. the tank real scale game technological system based on IOS, by the way that system global analysis, system uses the structure of Web server
It builds, the realization of tank model subsystem and the realization of IOS clients design to complete exploitation;Wherein IOS clients are divided into four
Module, logic modeling module, and server interactive module, with tank interactive module, video processing module.
2. the tank real scale game technological system based on IOS, is connected by WiFi with tank, the movement and transmission for controlling tank are attacked
Instruction is hit, receive and shows live video stream;When tank is dead or game over by the data summarized upload onto the server from
And obtain corresponding reward.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710010217.4A CN108282445A (en) | 2017-01-06 | 2017-01-06 | Tank real scale game technological system based on IOS |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201710010217.4A CN108282445A (en) | 2017-01-06 | 2017-01-06 | Tank real scale game technological system based on IOS |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN108282445A true CN108282445A (en) | 2018-07-13 |
Family
ID=62800852
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201710010217.4A Withdrawn CN108282445A (en) | 2017-01-06 | 2017-01-06 | Tank real scale game technological system based on IOS |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108282445A (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112354183A (en) * | 2020-10-21 | 2021-02-12 | 天津大学 | Tank control system and control method based on wireless local area network |
-
2017
- 2017-01-06 CN CN201710010217.4A patent/CN108282445A/en not_active Withdrawn
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112354183A (en) * | 2020-10-21 | 2021-02-12 | 天津大学 | Tank control system and control method based on wireless local area network |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104941181B (en) | A kind of method and apparatus for realizing real-time interactive of playing between different intelligent terminal | |
| KR102325311B1 (en) | Method and apparatus for synchronously displaying game content, and storage medium | |
| US6947761B2 (en) | Method and system for improving the efficiency of state information transfer over a wireless communications network | |
| CN109499068B (en) | Object control method and device, storage medium and electronic device | |
| US9814978B2 (en) | Method and system for improving the efficiency of state information transfer over a wireless communications network | |
| US9873045B2 (en) | Systems and methods for a unified game experience | |
| CN102202750B (en) | Method and apparatus for implementing a game in a communication network | |
| CN112870711B (en) | Cloud game processing method, device, equipment and storage medium | |
| CN113209632B (en) | Cloud game processing method, device, equipment and storage medium | |
| CN112316424A (en) | Game data processing method, device and storage medium | |
| US20160293134A1 (en) | Rendering system, control method and storage medium | |
| US20150367238A1 (en) | Game system, game apparatus, a method of controlling the same, a program, and a storage medium | |
| US9560131B2 (en) | Efficient synchronization of behavior trees using network significant nodes | |
| US10051084B2 (en) | Methods and systems for bandwidth-efficient remote procedure calls | |
| CN109005424A (en) | The control method of object, apparatus and system, storage medium, electronic device | |
| CN103166957A (en) | Data interaction method between virtual game and real environment game | |
| CN109600570A (en) | A kind of shared collaboration method and device | |
| CN108282445A (en) | Tank real scale game technological system based on IOS | |
| CN113893546A (en) | Object control method and device, storage medium and electronic equipment | |
| CN104778085A (en) | Method and device for processing game fight of hand-tour | |
| Suznjevic et al. | Analyzing the effect of TCP and server population on massively multiplayer games | |
| CN208337616U (en) | A kind of recreational machine remote control sports system | |
| CN114570016A (en) | Cloud game processing method, cloud game system and electronic equipment | |
| US20060281552A1 (en) | Method and apparatus for participating in a live event | |
| CN113713369B (en) | Function key mapping method, simulation control method, device and equipment for multiplayer game |
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 | ||
| WW01 | Invention patent application withdrawn after publication | ||
| WW01 | Invention patent application withdrawn after publication |
Application publication date: 20180713 |