CN106685777A - Ethernet connection method adaptive to Android game - Google Patents

Ethernet connection method adaptive to Android game Download PDF

Info

Publication number
CN106685777A
CN106685777A CN201710146173.8A CN201710146173A CN106685777A CN 106685777 A CN106685777 A CN 106685777A CN 201710146173 A CN201710146173 A CN 201710146173A CN 106685777 A CN106685777 A CN 106685777A
Authority
CN
China
Prior art keywords
ethernet
android game
intelligent terminal
game
android
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
CN201710146173.8A
Other languages
Chinese (zh)
Other versions
CN106685777B (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.)
Suzhou Snail Digital Technology Co Ltd
Original Assignee
Suzhou Snail Digital 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 Suzhou Snail Digital Technology Co Ltd filed Critical Suzhou Snail Digital Technology Co Ltd
Priority to CN201710146173.8A priority Critical patent/CN106685777B/en
Publication of CN106685777A publication Critical patent/CN106685777A/en
Application granted granted Critical
Publication of CN106685777B publication Critical patent/CN106685777B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2854Wide area networks, e.g. public data networks
    • H04L12/2856Access arrangements, e.g. Internet access
    • H04L12/2869Operational details of access network equipments
    • H04L12/2878Access multiplexer, e.g. DSLAM
    • H04L12/2879Access multiplexer, e.g. DSLAM characterised by the network type on the uplink side, i.e. towards the service provider network
    • H04L12/2881IP/Ethernet DSLAM

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

An Ethernet connection method adaptive to an Android game includes the steps of detecting a current network connection state of an intelligent terminal; disguising an Ethernet connection mode as a WiFi connection mode; running the Android game on the intelligent terminal. The Ethernet connection method adaptive to the Android game has the advantages that the Ethernet connection method enables the Android game to run in an Ethernet environment, and a user can use Ethernet connection to make the network running environment of the intelligent terminal more stable.

Description

A kind of Ethernet method of attachment of adaptation Android game
Technical field
The present invention relates to a kind of method for connecting network of Internet technical field, more particularly to Android game.
Background technology
In prior art, Android game great majority are operated in the intelligent terminal such as mobile phone or flat board, network connection Mode only supports WiFi and 2G/3G/4G data cube computations, does not support Ethernet, sets with the Intelligent set top box of Ethernet is supported Standby more and more, this has also resulted in partial game and cannot run on Intelligent set top box equipment, have impact on Intelligent set top box and sets Standby Consumer's Experience.
The content of the invention
In order to solve the deficiency of prior art presence, it is an object of the invention to provide a kind of adaptation Android game Ethernet method of attachment so that all Android game can be connected using Ethernet, improve the user's body of Android game Test.
For achieving the above object, the Ethernet method of attachment of the adaptation Android game that the present invention is provided, including following step Suddenly:
(1)The current network connection state of detection intelligent terminal;
(2)Ethernet connected mode is disguised oneself as WiFi connected modes;
(3)Android game is run on intelligent terminal.
Further, step(1)The current network connection state of the detection intelligent terminal, is to pass through The current network connection state of ConnectivityService module check intelligent terminal.
Further, in the step(1)With(2)Between further include to judge whether network connection is Ethernet connection The step of.
Further, it is described to judge whether network connection is Ethernet connection, it is by ConnectivityService moulds MActiveDefaultNetwork in block determines whether that Ethernet connects.
Further, step(2)It is described that Ethernet connected mode disguises oneself as WiFi connected modes, be by The NetworkInfo of the application call interface API getNetworkInfo of ConnectivityService modules by with Too net connected mode disguises oneself as WiFi connected modes.
The Ethernet method of attachment of the adaptation Android game of the present invention so that Android game can be in Ethernet ring Run under border, user can be connected using Ethernet, make the networking operational environment of intelligent terminal more stable.
Other features and advantages of the present invention will be illustrated in the following description, also, the partly change from description Obtain it is clear that or being understood by implementing the present invention.
Description of the drawings
Accompanying drawing is used for providing a further understanding of the present invention, and constitutes a part for description, and with the present invention's Embodiment together, for explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the Ethernet method of attachment flow chart of the adaptation Android game according to the present invention.
Specific embodiment
The preferred embodiments of the present invention are illustrated below in conjunction with accompanying drawing, it will be appreciated that preferred reality described herein Apply example and be merely to illustrate and explain the present invention, be not intended to limit the present invention.
Fig. 1 is the Ethernet method of attachment flow chart of the adaptation Android game according to the present invention, below with reference to Fig. 1, Ethernet method of attachment to the adaptation Android game of the present invention is described in detail.
First, in step 101, intelligent terminal is by the Connection Service module under ARIXTRA framework(Android Framework ConnectivityService modules)Check current network connection status.
In step 102, Ethernet connected mode is determined whether, be, carry out next step;Otherwise go to step 104. In the step, intelligent terminal judges network by the mActiveDefaultNetwork in ConnectivityService modules Whether connection is Ethernet connected mode.The mode of network connection includes that Ethernet, three kinds of WiFi, 2G/3G/4G network connect Mode.
In step 103, disguised oneself as WiFi connected modes by Ethernet connected mode, avoidance system detection.In this step, Intelligent terminal is by the application call interface API getNetworkInfo's of ConnectivityService modules NetworkInfo is disguised oneself as WiFi connected modes by Ethernet connected mode.
In step 104, game player is using intelligent terminal in Ethernet connected mode running game.
The present invention will only support that the Android online games of WiFi and 2G/3G/4G internetwork connection modes expand to Ethernet Connected mode, provides the user with more networks mode and selects, and solves the problems, such as that partial game does not support Ethernet, comes to game cartridge Preferably network experience.
One of ordinary skill in the art will appreciate that:The foregoing is only the preferred embodiments of the present invention, and without In the present invention is limited, although being described in detail to the present invention with reference to the foregoing embodiments, for those skilled in the art For, it still can modify to the technical scheme that foregoing embodiments are recorded, or which part technical characteristic is entered Row equivalent.All any modification, equivalent substitution and improvements within the spirit and principles in the present invention, made etc., all should include Within protection scope of the present invention.

Claims (6)

1. a kind of Ethernet method of attachment of adaptation Android game, comprises the following steps:
(1)The current network connection state of detection intelligent terminal;
(2)Ethernet connected mode is disguised oneself as WiFi connected modes;
(3)Android game is run on intelligent terminal.
2. the Ethernet method of attachment of Android game is adapted to according to claim 1, it is characterised in that step(1)It is described The current network connection state of detection intelligent terminal, is current by ConnectivityService module check intelligent terminal Network connection state.
3. the Ethernet method of attachment of Android game is adapted to according to claim 1, it is characterised in that in the step (1)With(2)Between further include to judge whether network connection is the step of Ethernet connects.
4. the Ethernet method of attachment of Android game is adapted to according to claim 3, it is characterised in that the judgement net Whether network connection is Ethernet connection, is by the mActiveDefaultNetwork in ConnectivityService modules Determine whether that Ethernet connects.
5. the Ethernet method of attachment of Android game is adapted to according to claim 1, it is characterised in that step(2)It is described Ethernet connected mode is disguised oneself as WiFi connected modes, is by the application call of ConnectivityService modules The NetworkInfo of interface API getNetworkInfo is disguised oneself as WiFi connected modes by Ethernet connected mode.
6. a kind of intelligent terminal, it is characterised in that using the method described in any one of claim 1-5 by Ethernet connected mode The WiFi connected modes that disguise oneself as operation Android game.
CN201710146173.8A 2017-03-13 2017-03-13 Ethernet connection method adaptive to Android game Active CN106685777B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710146173.8A CN106685777B (en) 2017-03-13 2017-03-13 Ethernet connection method adaptive to Android game

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710146173.8A CN106685777B (en) 2017-03-13 2017-03-13 Ethernet connection method adaptive to Android game

Publications (2)

Publication Number Publication Date
CN106685777A true CN106685777A (en) 2017-05-17
CN106685777B CN106685777B (en) 2021-03-05

Family

ID=58826155

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710146173.8A Active CN106685777B (en) 2017-03-13 2017-03-13 Ethernet connection method adaptive to Android game

Country Status (1)

Country Link
CN (1) CN106685777B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102098558A (en) * 2011-01-29 2011-06-15 广州杰赛科技股份有限公司 Three-network convergence digital television (TV) set top box and implementation method thereof
EP2416586A2 (en) * 2010-08-02 2012-02-08 Vodafone Holding GmbH Feed of audio and/or video signals to at least one external device for outputting audio and/or video signals
CN103170136A (en) * 2013-03-26 2013-06-26 深圳市九洲电器有限公司 Method and system of achieving game control through set top box
CN103973800A (en) * 2014-05-19 2014-08-06 普天信息技术有限公司 Android-based double-network-card concurrence implementation method
CN103986948A (en) * 2014-05-15 2014-08-13 广西师范大学 Three-network integrated dual-mode intelligent set top box
CN105376357A (en) * 2015-09-30 2016-03-02 青岛海信移动通信技术股份有限公司 An antenna setting method and device for a mobile device
CN105744367A (en) * 2016-03-08 2016-07-06 四川长虹电器股份有限公司 Rapid wireless networking method on Android TV

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2416586A2 (en) * 2010-08-02 2012-02-08 Vodafone Holding GmbH Feed of audio and/or video signals to at least one external device for outputting audio and/or video signals
CN102098558A (en) * 2011-01-29 2011-06-15 广州杰赛科技股份有限公司 Three-network convergence digital television (TV) set top box and implementation method thereof
CN103170136A (en) * 2013-03-26 2013-06-26 深圳市九洲电器有限公司 Method and system of achieving game control through set top box
CN103986948A (en) * 2014-05-15 2014-08-13 广西师范大学 Three-network integrated dual-mode intelligent set top box
CN103973800A (en) * 2014-05-19 2014-08-06 普天信息技术有限公司 Android-based double-network-card concurrence implementation method
CN105376357A (en) * 2015-09-30 2016-03-02 青岛海信移动通信技术股份有限公司 An antenna setting method and device for a mobile device
CN105744367A (en) * 2016-03-08 2016-07-06 四川长虹电器股份有限公司 Rapid wireless networking method on Android TV

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王明亮: "基于Android的机顶盒关键技术研究", 《中国优秀硕士学位论文全文数据库信息科技辑》 *

Also Published As

Publication number Publication date
CN106685777B (en) 2021-03-05

Similar Documents

Publication Publication Date Title
CN112291816B (en) Data transmission method, device, storage medium and electronic equipment
CN106455139B (en) WiFi module works at the same time the method, apparatus and system in double mode
CN104575503B (en) Audio recognition method and device
CN109587747A (en) SIM card method for handover control, terminal and computer storage medium
CN109474528A (en) Communication connecting method, device, terminal device and computer-readable storage medium
CN106211311B (en) A kind of method and apparatus of user equipment registration to network
CN110290599A (en) Radio circuit, electronic equipment and radio circuit control method
CN103281346A (en) Disconnection reconnection method, network system and proxy server
CN105940720B (en) It is a kind of to trigger the method for register machine protocol interaction, access point, website
CN108879842A (en) Charge control method, mobile terminal and computer readable storage medium
CN103581197B (en) Cross-server realizes the method and system of team's data processing
CN106992893A (en) The management method and device of router
CN107786557B (en) Team game acceleration method and related product
CN107786965B (en) Team game communication method and related product
CN107770381B (en) Network management method and related product
CN110099165A (en) A kind of notification message replys control method, terminal and computer readable storage medium
CN106685777A (en) Ethernet connection method adaptive to Android game
CN108449736A (en) A kind of data transmission method, terminal and computer readable storage medium
CN103781138B (en) Method, apparatus and system for connecting WiMo sending terminal to WLAN
CN107666667B (en) A kind of data transmission method, the first equipment and the second equipment
CN108200145A (en) Account sharing method, device and computer readable storage medium
CN108063863A (en) A kind of information browsing method, terminal, server and computer readable storage medium
CN112492340A (en) Live broadcast audio acquisition method, mobile terminal and computer readable storage medium
CN105743879B (en) Smart television personal identification method and system
CN109743469B (en) VOLTE-based communication method and mobile terminal

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