CN107145373A - A kind of method and device that Games Software is accessed to target channel SDK - Google Patents

A kind of method and device that Games Software is accessed to target channel SDK Download PDF

Info

Publication number
CN107145373A
CN107145373A CN201710327010.XA CN201710327010A CN107145373A CN 107145373 A CN107145373 A CN 107145373A CN 201710327010 A CN201710327010 A CN 201710327010A CN 107145373 A CN107145373 A CN 107145373A
Authority
CN
China
Prior art keywords
installation file
sdk
target channel
games software
file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710327010.XA
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.)
SHENZHEN CHUANGSHI INTERACTIVE TECHNOLOGY Co Ltd
Original Assignee
SHENZHEN CHUANGSHI INTERACTIVE 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 SHENZHEN CHUANGSHI INTERACTIVE TECHNOLOGY Co Ltd filed Critical SHENZHEN CHUANGSHI INTERACTIVE TECHNOLOGY Co Ltd
Priority to CN201710327010.XA priority Critical patent/CN107145373A/en
Publication of CN107145373A publication Critical patent/CN107145373A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of method and device that Games Software is accessed to target channel SDK, wherein, this method includes:Games Software is accessed into SDK abstraction frameworks, to generate the first installation file;First installation file is configured and packed according to target channel SDK parameter requirements, to generate the second installation file;And send second installation file to target channel server.The above-mentioned method and device that Games Software is accessed to target channel SDK, reduces the workload that developer accesses Games Software target channel SDK, improves Games Software access target channel SDK efficiency.

Description

A kind of method and device that Games Software is accessed to target channel SDK
Technical field
The present invention relates to SDK (Software Development Kit, SDK) access system, more specifically Ground is said, is related to a kind of method and device that Games Software is accessed to target channel SDK.
Background technology
With the popularization for the smart mobile phone for being equipped with Android operation system and continuing to develop for cell phone network environment, mobile phone There is fulminant growth in the quantity and usage frequency of Games Software, and mobile game distribution channel quantity is also rapidly rising. Because mobile game distribution channel has itself special SDK, so that mobile game uses distribution channel side itself Account and Payment System.It is traditional in mobile game code development, it is necessary to manually addition and access distribution channel SDK codes, such a mode workload is big, wastes time and energy, can not meet the Quick thread demand of developer.
The content of the invention
In view of this, it is an object of the invention to provide a kind of method and dress that Games Software is accessed to target channel SDK Put, reduce the workload that developer accesses Games Software target channel SDK.
In order to achieve the above object, an embodiment of the present invention provides a kind of by Games Software access target channel SDK Device, including processor and storage device, the storage device is suitable to store a plurality of instruction, and the processor is adapted for carrying out respectively Instruction.The instruction is suitable to be loaded and performed by the processor:Games Software is accessed into SDK abstraction frameworks, to generate first Installation file;First installation file is configured and packed according to target channel SDK parameter requirements, to generate second Installation file;And send second installation file to target channel server.
In order to achieve the above object, an embodiment of the present invention additionally provides a kind of by Games Software access target channel SDK method, comprises the following steps:Games Software is accessed into SDK abstraction frameworks, to generate the first installation file;According to target Channel SDK parameter requirements are configured and packed to first installation file, to generate the second installation file;And will be described Second installation file sends target channel server to.
The above-mentioned device and method that Games Software is accessed to target channel SDK, reduces developer and accesses Games Software Target channel SDK workload, while carrying out the reception and forwarding of game interaction data using intermediate server, improves game The stability and security of software data.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is the functional block diagram for the device that Games Software is accessed in an embodiment of the present invention target channel SDK.
Fig. 2 accesses Games Software to be realized in one embodiment of the invention mode in target channel SDK running environment figure.
Fig. 3 logs in the interaction schematic diagram of Games Software for game client in one embodiment of the invention mode.
Fig. 4 is a kind of flow chart for the method that Games Software is accessed to target channel SDK in one embodiment of the invention mode.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.It is based on Embodiment in the present invention, it is every other that those of ordinary skill in the art are obtained under the premise of creative work is not made Embodiment, belongs to the scope of protection of the invention.
Referring to Fig. 1, a kind of device 100 that Games Software is accessed to target channel SDK, for Games Software to be accessed into mesh Channel ((game publisher)) SDK is marked, to carry out game test or reach the standard grade.Device 100 includes processor 10 and storage device 20. Storage device 20 is suitable to storage one or more and instructed, and processor 10 is adapted for carrying out each instruction.The instruction that storage device 20 is stored Suitable for being loaded and being performed by processor 10.The instruction that storage device 20 is stored includes:Games Software is accessed into SDK abstraction frameworks, To generate the first installation file;First installation file is configured and packed according to target channel SDK parameter requirements, To generate the second installation file;And send second installation file to target channel server 30a.
In an embodiment of the present invention, Games Software is preferably operated in Android system (Android), and first installs text Part is preferably Android installation kits.
In an embodiment of the present invention, what storage device 20 was stored accesses SDK abstraction frameworks by Games Software, to generate The instruction of first installation file further comprises:Games Software is accessed into SDK abstraction frameworks;Determine the SDK needed for Games Software Abstraction framework interface;And call SDK abstraction frameworks interface to carry out parameter configuration to Games Software, to pack, text is installed in generation first Part.For example, the SDK abstraction frameworks interface needed for Games Software include with Games Software user's registration, log in, publish, prop up Pay, the corresponding interface of critical game data.Processor 10 calls those interfaces to match somebody with somebody Games Software progress parameter from the abstract frames of SDK Put, performing the Android installation kits that file pack under generation Android system after completing parameter configuration by packing again.
In an embodiment of the present invention, the parameter requirements according to target channel SDK that storage device 20 is stored are to described First installation file is configured and packed, and is further comprised with the instruction for generating the second installation file:To the first installation file Decompiling operation is carried out, interim installation file is obtained, interim installation file includes CONFIG.SYS;By target channel SDK's Realize that code is added to interim installation file;CONFIG.SYS is configured according to target channel SDK parameter requirements;And Amended interim installation file is packed and signed, to generate the second installation file, the second installation file is to meet The Android installation kits of target channel requirement.
Wherein, interim installation file can be that a code is smali intermediate language files.CONFIG.SYS can be (file is entitled for the Android configuration file of one xml form:AndroidManifest.xml).
It should be noted that the target channel SDK instruction for realizing code added to interim installation file is further wrapped Include:Obtain the abstraction framework interface of interim installation file;And according to the abstraction framework interface of the interim installation file by target Channel SDK's realizes that code is added to corresponding position in interim installation file, so as to realize being correctly inserted into for both codes Merge.
Please refer to Fig. 2, it is assumed that need to be reached the standard grade Games Software three kinds of target channels of access (the number of target channel Amount is not limited herein, can be more than three kinds or less than three kinds), each target channel is to that should have a target channel server 30a、30b、30c.Device 100 can be arranged in the server of developer's maintenance, such as intermediate server 40 or game services Device 60, game client 50 can be communicated with game server 60, to realize exchanging game data.Intermediate server 40 can To be communicated with game client 50, game server 60 and channel server 30a, 30b, 30c, so by Games Software with The data interaction carried out between channel server 30a, 30b, 30c is received, forwarded and stored.Even if channel server 30a, 30b, 30c are broken down, and because the backup of intermediate server 40 has user's intermediate data, Games Software also can normally be run.
It will be illustrated below by taking target channel server 30a as an example:Intermediate server 40 has a database, works as centre After the data that the Games Software that server 40 receives the operation of game client 50 is uploaded, intermediate server 40 deposits the data Storage meets formatted data required for target channel server 30a to database while handled the data and be packaged into, Packed data are uploaded to target channel server 30a by intermediate server 40 again;When intermediate server 40 receives target After channel server 30a results, then result is updated to database, and after-treatment is carried out to result data and beaten It is bundled into and meets formatted data required for Games Software, intermediate server 40 is again by packed data back to Games Software.
In an embodiment of the present invention, game client 50 can include such as mobile phone, tablet personal computer, notebook electricity Brain, palm PC, personal digital assistant (Personal Digital Assistant, PDA), portable media player The mobile terminal such as (Portable Media Player, PMP), guider, wearable device, Intelligent bracelet, pedometer, with And the fixed terminal such as numeral TV, desktop computer.
Please refer to Fig. 3, Fig. 3 gives the data interaction figure that game client 50 logs in Games Software.Step S301, Start the Games Software of game client 50, wake up target channel SDK login interface simultaneously inputs GID, password and stepped on GID, password are uploaded to target channel server 30a by the channel SDK codes in record, game client 50;
Step S302, target channel server 30a is retrieved to the GID, the password that receive, to search the trip Play account, the user profile corresponding to password, and generate channel token and transmit to game client 50;
Step S303, game client 50 is received after channel token, and channel token is uploaded into intermediate server 40;
Step S304, intermediate server 40 is received after channel token, is verified to target channel server 30a, and draw Take the channel account information at family;
Step S305, after verifying and pulling channel account information in channel server and succeed, intermediate server 40 According to channel account information, user account information is retrieved in own database, and the account information retrieved is transferred to game Client 50, if not retrieving relevant information, creates user account information corresponding with the channel account information;
Step S306, game client 50 is received after the account information that intermediate server 40 is transmitted, and logs in game server 60, and the account information received from intermediate server 40 is uploaded to game server 60;
Step S307, game server 60 is received after the account information, is verified to intermediate server 40;
Associated check result is returned to game server 60 by step S308, intermediate server 40;If verified successfully, Game server 60 retrieves game role account information corresponding with the account information in own database;
Step S309, game server 60 transmits game role account information to game client 50, returns and logs in letter Breath, completes game entry.
A kind of flow for method that Games Software is accessed to target channel SDK that Fig. 4 provides for an embodiment of the present invention Figure.This method can be used in the device 100 shown in Fig. 1.This method comprises the following steps:
Games Software is accessed SDK abstraction frameworks by step S400, processor 10, to generate the first installation file;
Step S402, processor 10 is configured according to target channel SDK parameter requirements to first installation file With packing, to generate the second installation file;And
Step S404, processor 10 sends second installation file to target channel server 30a.
Specifically, in step S400, Games Software is accessed SDK abstraction frameworks by processor 10, and determines Games Software Required SDK abstraction framework interfaces, and call SDK abstraction frameworks interface to carry out parameter configuration to Games Software, with generation of packing First installation file.
Specifically, in step S402,10 pair of first installation file of processor carries out decompiling operation and installed temporarily File, wherein interim installation file includes CONFIG.SYS;Processor 10 further obtains the abstract frame of interim installation file Bridge joint mouthful, and realize code added to interim target channel SDK according to the abstraction framework interface of the interim installation file Corresponding position in installation file, while being configured according to target channel SDK parameter requirements to CONFIG.SYS;Processing Device 10 is packed and signed to amended interim installation file again, and then generates the second installation file.
Specifically, in step s 404, processor 10 stores the second installation file to intermediate server 40 and in Between server 40 second installation file is forwarded to target channel server 30a.
The device and method that Games Software is accessed to target channel SDK that above-described embodiment is provided, reducing developer will Games Software access target channel SDK workload, while carrying out the reception of game interaction data using intermediate server and turning Hair, improves the stability and security of Games Software data.
It should be noted that herein, term " comprising ", "comprising" or its any other variant are intended to non-row His property is included, so that process, method, article or device including a series of key elements not only include those key elements, and And also including other key elements being not expressly set out, or also include for this process, method, article or device institute inherently Key element.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including this Also there is other identical element in process, method, article or the device of key element.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Understood based on such, technical scheme is substantially done to prior art in other words Going out the part of contribution can be embodied in the form of software product, and the computer software product is stored in a storage medium In (such as ROM/RAM, magnetic disc, CD), including some instructions are to cause a station terminal (can be mobile phone, computer, service Device, air conditioner, or network equipment etc.) perform method described in each of the invention embodiment.
Embodiments of the invention are described above in conjunction with accompanying drawing, but the invention is not limited in above-mentioned specific Embodiment, above-mentioned embodiment is only schematical, rather than restricted, one of ordinary skill in the art Under the enlightenment of the present invention, in the case of present inventive concept and scope of the claimed protection is not departed from, it can also make a lot Form, these are belonged within the protection of the present invention.

Claims (10)

1. a kind of method that Games Software is accessed to target channel SDK, it is characterised in that comprise the following steps:
Games Software is accessed into SDK abstraction frameworks, to generate the first installation file;
First installation file is configured and packed according to target channel SDK parameter requirements, to generate the second installation File;And
Send second installation file to target channel server.
2. according to the method described in claim 1, it is characterised in that described that Games Software is accessed into SDK abstraction frameworks, with generation The step of first installation file, includes:
The Games Software is accessed into the SDK abstraction frameworks;
Determine the SDK abstraction framework interfaces needed for the Games Software;And
The SDK abstraction frameworks interface is called to carry out parameter configuration to the Games Software, generation described first is installed to pack File.
3. according to the method described in claim 1, it is characterised in that the parameter requirements according to target channel SDK are to described First installation file is configured and packed, and is included the step of to generate the second installation file:
Decompiling operation is carried out to first installation file, interim installation file is obtained, the interim installation file is including being System configuration file;
The target channel SDK is realized that code is added to the interim installation file;
The CONFIG.SYS is configured according to the parameter requirements of the target channel SDK;And
Amended interim installation file is packed and signed, to generate second installation file.
4. method according to claim 3, it is characterised in that described that target channel SDK is realized that code is added to institute The step of stating interim installation file includes:
Obtain the abstraction framework interface of the interim installation file;And
Target channel SDK is realized that code is added to the interim peace according to the abstraction framework interface of the interim installation file Fill file.
5. according to the method described in claim 1, it is characterised in that described to send second installation file to target channel The step of server, includes:
Second installation file is stored to intermediate server and by the intermediate server by second installation file It is forwarded to target channel server.
6. a kind of device that Games Software is accessed to target channel SDK, including processor and storage device, the storage device are fitted In storing a plurality of instruction, the processor is adapted for carrying out each instruction, it is characterised in that the instruction is suitable to be added by the processor Carry and perform:
Games Software is accessed into SDK abstraction frameworks, to generate the first installation file;
First installation file is configured and packed according to target channel SDK parameter requirements, to generate the second installation File;And
Send second installation file to target channel server.
7. device according to claim 6, it is characterised in that described that Games Software is accessed into SDK abstraction frameworks, to generate The instruction of first installation file is suitable to be loaded and performed by the processor:
The Games Software is accessed into the SDK abstraction frameworks;
Determine the SDK abstraction framework interfaces needed for the Games Software;And
The SDK abstraction frameworks interface is called to carry out parameter configuration to the Games Software, generation described first is installed to pack File.
8. device according to claim 6, it is characterised in that the parameter requirements according to target channel SDK are to described First installation file is configured and packed, and the instruction to generate the second installation file is suitable to be loaded and held by the processor OK:
Decompiling operation is carried out to first installation file, interim installation file is obtained, the interim installation file is including being System configuration file;
The target channel SDK is realized that code is added to the interim installation file;
The CONFIG.SYS is configured according to the parameter requirements of the target channel SDK;And
Amended interim installation file is packed and signed, to generate second installation file.
9. device according to claim 8, it is characterised in that described that target channel SDK is realized that code is added to institute The instruction for stating interim installation file is suitable to be loaded and performed by the processor:
Obtain the abstraction framework interface of the interim installation file;And
Target channel SDK is realized that code is added to the interim peace according to the abstraction framework interface of the interim installation file Fill file.
10. device according to claim 6, it is characterised in that described to send second installation file to target canal The instruction of road server is suitable to be loaded and performed by the processor:
Second installation file is stored to intermediate server and by the intermediate server by second installation file It is forwarded to target channel server.
CN201710327010.XA 2017-05-10 2017-05-10 A kind of method and device that Games Software is accessed to target channel SDK Pending CN107145373A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710327010.XA CN107145373A (en) 2017-05-10 2017-05-10 A kind of method and device that Games Software is accessed to target channel SDK

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710327010.XA CN107145373A (en) 2017-05-10 2017-05-10 A kind of method and device that Games Software is accessed to target channel SDK

Publications (1)

Publication Number Publication Date
CN107145373A true CN107145373A (en) 2017-09-08

Family

ID=59776937

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710327010.XA Pending CN107145373A (en) 2017-05-10 2017-05-10 A kind of method and device that Games Software is accessed to target channel SDK

Country Status (1)

Country Link
CN (1) CN107145373A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108427552A (en) * 2018-03-01 2018-08-21 深圳市创梦天地科技有限公司 Android application installation package producing device, method, electronic equipment and storage medium
CN108595187A (en) * 2018-03-27 2018-09-28 北京美好人生伙伴信息技术有限公司 Method, device and the storage medium of Android installation kit integrated software development kit
CN111580853A (en) * 2019-02-19 2020-08-25 上海哔哩哔哩科技有限公司 Universal generation method for multi-channel software installation package
CN112905194A (en) * 2021-03-18 2021-06-04 北京字节跳动网络技术有限公司 Installation package generation method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104363264A (en) * 2014-10-22 2015-02-18 北京棱镜云桥科技有限公司 Multi-channel SDK (software development kit) access system and multi-channel SDK access system for mobile terminal software
CN104503780A (en) * 2014-12-09 2015-04-08 北京奇虎科技有限公司 Method and device for providing application channel packet
US20150249720A1 (en) * 2014-03-03 2015-09-03 Airpush, Inc. In-app content channel
CN104932901A (en) * 2015-07-08 2015-09-23 成都梦工厂网络信息有限公司 Cross-platform mobile SDK access method
CN106027517A (en) * 2016-05-19 2016-10-12 福建创意嘉和软件有限公司 Game pack distribution method and apparatus supporting multiple channels
CN106445509A (en) * 2016-09-09 2017-02-22 厦门雅基软件有限公司 SDK batch quick access tool

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150249720A1 (en) * 2014-03-03 2015-09-03 Airpush, Inc. In-app content channel
CN104363264A (en) * 2014-10-22 2015-02-18 北京棱镜云桥科技有限公司 Multi-channel SDK (software development kit) access system and multi-channel SDK access system for mobile terminal software
CN104503780A (en) * 2014-12-09 2015-04-08 北京奇虎科技有限公司 Method and device for providing application channel packet
CN104932901A (en) * 2015-07-08 2015-09-23 成都梦工厂网络信息有限公司 Cross-platform mobile SDK access method
CN106027517A (en) * 2016-05-19 2016-10-12 福建创意嘉和软件有限公司 Game pack distribution method and apparatus supporting multiple channels
CN106445509A (en) * 2016-09-09 2017-02-22 厦门雅基软件有限公司 SDK batch quick access tool

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
CHENJIE19891104: "教你快速高效接入SDK-打包工具的实现(反编译资源动态整合打渠道包", 《HTTPS://BLOG.CSDN.NET/CHENJIE19891104/ARTICLE/DETAILS/44279379》 *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108427552A (en) * 2018-03-01 2018-08-21 深圳市创梦天地科技有限公司 Android application installation package producing device, method, electronic equipment and storage medium
CN108595187A (en) * 2018-03-27 2018-09-28 北京美好人生伙伴信息技术有限公司 Method, device and the storage medium of Android installation kit integrated software development kit
CN111580853A (en) * 2019-02-19 2020-08-25 上海哔哩哔哩科技有限公司 Universal generation method for multi-channel software installation package
CN112905194A (en) * 2021-03-18 2021-06-04 北京字节跳动网络技术有限公司 Installation package generation method and device

Similar Documents

Publication Publication Date Title
CN107145373A (en) A kind of method and device that Games Software is accessed to target channel SDK
CN111414193A (en) Method for implementing service system based on micro-service framework and related device
CN109409030A (en) A kind of digital publishing rights generation method and device
CN106469414A (en) Mobile stock open platform device and method
CN102663545A (en) Power distribution network maintenance operation management system based on intelligent mobile phone
CN105426165B (en) A kind of processing method and processing device of wscript.exe
CN105101163B (en) The method and apparatus of air card-writing
CN101917441B (en) Mobile digital publishing system
CN109978629B (en) Advertisement putting method and device, electronic equipment and storage medium
CN103049383A (en) Development and testing cloud system
CN103988199A (en) Removal of data remanence in deduplicated storage clouds
WO2021227457A1 (en) Blockchain-based electronic data evidence preservation method and system, and storage medium and terminal
CN107634947A (en) Limitation malice logs in or the method and apparatus of registration
US10389685B2 (en) Systems and methods for securely transferring selective datasets between terminals
CN107682831A (en) Sharing method and device, the computer installation and storage medium of residual flow
CN103577180B (en) Data processing method and device
CN106547538A (en) A kind of intelligent operation management system based on Django
CN105976177A (en) NFC (near field communication)-oriented cloud payment method
CN110275727A (en) Mobile terminal application program updating method, system, equipment and storage medium
CN111062521B (en) Online prediction method, system and server
CN103885767A (en) System and method used for geographical area correlated websites
JP2002351297A (en) Material utilizing system and its method
CN112884442B (en) Audit monitoring data acquisition method and system based on audit model
CN116700907B (en) Service call demand document storage method, device, electronic equipment and readable medium
CN103841138B (en) The method of monitoring digital content download, the method and device of download digital content

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20170908

RJ01 Rejection of invention patent application after publication