[go: up one dir, main page]

CN108282445A - Tank real scale game technological system based on IOS - Google Patents

Tank real scale game technological system based on IOS Download PDF

Info

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
Application number
CN201710010217.4A
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.)
Changsha Dry Network Technology Co Ltd
Original Assignee
Changsha Dry Network 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 Changsha Dry Network Technology Co Ltd filed Critical Changsha Dry Network Technology Co Ltd
Priority to CN201710010217.4A priority Critical patent/CN108282445A/en
Publication of CN108282445A publication Critical patent/CN108282445A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/131Protocols for games, networked simulations or virtual reality
    • 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/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/32Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers using local area network [LAN] connections
    • A63F13/327Interconnection 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
    • 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/30Interconnection arrangements between game servers and game devices; Interconnection arrangements between game devices; Interconnection arrangements between game servers
    • A63F13/35Details of game servers
    • 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/40Processing input control signals of video game devices, e.g. signals generated by the player or derived from the environment
    • 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/45Controlling the progress of the video game
    • 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/80Special adaptations for executing a specific game genre or game mode
    • A63F13/803Driving vehicles or craft, e.g. cars, airplanes, ships, robots or tanks
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features 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/10Features 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
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features 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/40Features 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/404Features 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/405Features 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
    • AHUMAN NECESSITIES
    • A63SPORTS; GAMES; AMUSEMENTS
    • A63FCARD, BOARD, OR ROULETTE GAMES; INDOOR GAMES USING SMALL MOVING PLAYING BODIES; VIDEO GAMES; GAMES NOT OTHERWISE PROVIDED FOR
    • A63F2300/00Features 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/50Features 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/53Features 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

Tank real scale game technological system based on IOS
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.
CN201710010217.4A 2017-01-06 2017-01-06 Tank real scale game technological system based on IOS Withdrawn CN108282445A (en)

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)

* Cited by examiner, † Cited by third party
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

Cited By (1)

* Cited by examiner, † Cited by third party
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