The SDK processing method and processing devices of Periodical Reading application
Technical field
The present invention relates to network technology, more particularly to a kind of SDK processing method and processing devices of Periodical Reading application.
Background technology
Software development kit (Software Development Kit, hereinafter referred to as:SDK) provide one be cased with certain structure and
The external development interface of logic, encapsulates internal service logic.Developer only needs to use according to explanation document corresponding external
Development interface can realize expected function, simplify application and development flow, improve application and development speed, and in certain journey
It ensure that the development quality of application on degree.
Internet changes this world, also changes traditional publishing way and the reading habit of people.And in movement
Today that internet flourishes, E-book reader, smart mobile phone, tablet computer etc., new digital publishing carrier gushed one after another
It is existing, traditional publishing industry has even more greatly been overturned, has changed traditional reading method of people, has been digital technology provider
Provide unprecedented development business opportunity.
In face of the exploitation demand of growing digital reading related application, developer mostly reads in existing digital journals
Read to carry out subsequent development on relevant SDK, but existing SDK, mostly just for the exploitation of page level, there is certain
Limitation so that developer requires a great deal of time in follow-up development process and energy, after being unfavorable for developer
Continuous exploitation.
The content of the invention
The present invention provides a kind of SDK processing method and processing devices of Periodical Reading application, to solve existing SDK mostly only
For the exploitation of page level, there is certain limitation so that developer needs to spend big in follow-up development process
The time and efforts of amount, the defects of being unfavorable for the subsequent development of developer.
The present invention provides a kind of SDK processing methods of Periodical Reading application, it is characterised in that including:
The exploitation request that user equipment is sent is received, SDK marks are carried in the exploitation request;
Transferred from SDK library with the SDK corresponding SDK of mark, include the first SDK and the 2nd SDK in the SDK library,
First SDK has the function of following at least one:Single page renders function, display function, interactive function, and the 2nd SDK is used
In calling the first SDK, and there is following at least one:Typesetting function, page concatenation function;
User equipment will be back to the corresponding SDK of SDK marks, so that user is in the obtained enterprising departure date periodicals of SDK
Read the subsequent development of application.
The present invention also provides a kind of SDK processing units of Periodical Reading application, it is characterised in that including:
Receiving module, for receiving the exploitation request of user equipment transmission, SDK marks are carried in the exploitation request;
Transfer module, for transferred from SDK library with the SDK corresponding SDK of mark, first is included in the SDK library
SDK and the 2nd SDK, the first SDK have the function of following at least one:Single page renders function, display function, interactive function,
2nd SDK is used to call the first SDK, and has the function of following at least one:Typesetting function, page concatenation function;
Module is returned to, for user equipment will to be back to the corresponding SDK of SDK marks, so that user is obtaining
The subsequent development of Periodical Reading application is carried out on SDK.
The present invention is transferred and SDK by receiving the exploitation request that the carryings SDK that user equipment is sent is identified from SDK library
Identify corresponding SDK and return to user, required Periodical Reading application SDK can be provided to the user so that user is follow-up
Required Periodical Reading application SDK can be targetedly selected in Periodical Reading application development process according to the wish of oneself
Developed, therefore, the present invention is conducive to the subsequent development of user.
Brief description of the drawings
Fig. 1 is the SDK processing method embodiment flow diagrams of Periodical Reading provided by the invention application;
Fig. 2 is the SDK processing device structure diagrams of Periodical Reading provided by the invention application.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
All other embodiments obtained without creative efforts, belong to the scope of protection of the invention.
Embodiment one
As shown in Figure 1, being the SDK processing method embodiment flow diagrams of Periodical Reading provided by the invention application, have
Body includes the following steps:
S101, receive the exploitation request that user equipment is sent, and SDK marks are carried in the exploitation request;
It should be noted that the user equipment can be mobile terminal device, such as smart mobile phone, Ipad etc., also may be used
Think fixed terminal equipment, such as desktop computer etc..If user has Periodical Reading application and development demand, can use above-mentioned
The exploitation request that any terminal device is sent carries exploitation to the SDK processing units of Periodical Reading application in exploitation is asked
During required Periodical Reading application SDK SDK mark.
S102, transfer from SDK library with the SDK corresponding SDK of mark, include the first SDK and second in the SDK library
SDK, the first SDK have the function of following at least one:Single page renders function, display function, interactive function, and described second
SDK is used to call the first SDK, and has the function of following at least one:Typesetting function, page concatenation function;
It should be noted that Periodical Reading application SDK processing units receive exploitation request after, according to SDK mark
Knowledge transferred from SDK library with the SDK corresponding SDK of mark, prestored the first SDK and the 2nd SDK in the SDK library,
First SDK has the function of following at least one:Single page renders function, display function, interactive function, and the 2nd SDK is used
In calling the first SDK, and there is following at least one:Typesetting function, page concatenation function.
In addition, it is necessary to illustrate, the 3rd SDK, the 4th SDK can also be included in the SDK library, the 3rd SDK is used
In calling the 2nd SDK, and there is following at least one:Digital bookmarks function, digital function of notepaper, page navigation work(
Energy, social sharing function.4th SDK is used to call the 3rd SDK, and has the function of following at least one:Periodical is sent out
Row function, management of magazine function.
Specifically, the first SDK, the 2nd SDK, the 3rd SDK and the 4th SDK can be included in SDK library at the same time.Wherein first
SDK can be the SDK for page-level, can be using the first SDK as most basic encapsulation unit, and the first SDK is as minimum one
Layer, can be supplied to the single page of number periodical to render, show and interactive function, if after user selects the first SDK to carry out
Continuous exploitation, then can be such that user is rendered again to single page, show and interactive function etc. carries out development, but need user
Other work such as series connection (page turning), the tissue of periodical, digital journals allomeric function between completion every page, use this level-one
SDK is smaller to the constraint of the final products of user oneself, user can determine except single page renders, show and the function such as interaction in addition to
All product appearance forms, flexibility ratio is higher.2nd SDK can be the SDK for periodical level, and the 2nd SDK is with the first SDK
Based on, the first SDK can be called, has the function of that the first SDK is all, in addition, also with page series connection (page turning), phase
The functions such as tissue are printed, if user selects the 2nd SDK to carry out subsequent development, the page string of whole periodical of redevelopment can not had to
Join the functions such as (page turning), periodical tissue, the basic read function of whole digital journals, the work subsequently done can be directly obtained
Amount then greatly reduces relative to the first SDK.3rd SDK can correspond to periodical extension level, and digital publication compares traditional publication
For thing, there is the Rich Media's property, interactivity and feature of higher, except that can meet that the most basic content of reader is read
Outside reading demand, digital bookmarks can be carried toward contact, function is shared etc. in digital note, page navigation, social activity, this grade of SDK is with the
Based on two SDK, there are the first SDK, all functions of the 2nd SDK, while by more above-mentioned basic common expanded function
It has been encapsulated among this grade of SDK, work is realized in the exploitation that this grade of SDK assume responsibility for most of basic sexual function for user, meanwhile, should
Level SDK further accounts for the Function Extension demand of user, and more perfect development interface is provided for user, facilitates developer to do
Further Function Extension and exploitation.4th SDK can correspond to platform class, to the 3rd SDK, can meet this single number substantially
The presentation of word publication, reading requirement, the function of the 4th SDK encapsulation mainly for the distribution in digital content and management function,
Such as the encapsulation of the function such as online digital bookstore (store), local bookshelf, can directly it be obtained using the exploitation user of this grade of SDK
It must online issue and (sell) from digital journals, the business demand reality of the local digital management of magazine to single issue reading complete set
It is existing, the relevant holonomic system of a set of digital journals can simply, be quickly set up, and this grade of SDK is using the 3rd SDK as base
Plinth, has all functions of the first SDK, the 2nd SDK and the 3rd SDK.Therefore, the SDK processing units of Periodical Reading application can
To transfer corresponding SDK from SDK library according to the actual demand of user,
S103, will be back to user equipment with the corresponding SDK of SDK marks, so that user carries out on obtained SDK
The subsequent development of Periodical Reading application.
The present embodiment present invention is asked by receiving the exploitation that the carrying SDK that user equipment is sent is identified, and is adjusted from SDK library
Take and return to user with the corresponding SDK of SDK marks, required Periodical Reading application SDK can be provided to the user so that Yong Hu
Required Periodical Reading can targetedly be selected according to the wish of oneself in follow-up Periodical Reading application development process
Developed using SDK, also, as the raising of SDK levels, the development cost of user can also reduce, therefore, be conducive to user
Subsequent development.
Embodiment two
As shown in Fig. 2, for the SDK processing device structure diagrams of Periodical Reading provided by the invention application, specifically include:
Receiving module 21, transfer module 22 and return to module 23.
Receiving module 21, for receiving the exploitation request of user equipment transmission, SDK marks are carried in the exploitation request;
Transfer module 22, for transferred from SDK library with the SDK corresponding SDK of mark, comprising the in the SDK library
One SDK and the 2nd SDK, the first SDK have the function of following at least one:Single page renders function, display function, interaction work(
Can, the 2nd SDK is used to call the first SDK, and has the function of following at least one:Typesetting function, page series connection work(
Energy;
Module 23 is returned to, for user equipment will to be back to the corresponding SDK of SDK marks, so that user is obtaining
SDK on carry out Periodical Reading application subsequent development.
Further, the 3rd SDK is further included in the SDK library;
3rd SDK is used to call the 2nd SDK, and has the function of following at least one:Digital bookmarks function, number
Word function of notepaper, page navigation function, social sharing function.
Further, the 4th SDK is further included in the SDK library;
4th SDK is used to call the 3rd SDK, and has the function of following at least one:Periodical distribution functions, phase
Print management function.
Device described in the present embodiment is used to performing the method and step described in embodiment one, its technical principle and generation
Technique effect is similar, is described again here.
It should be noted that:For foregoing each method embodiment, in order to be briefly described, therefore it is all expressed as a series of
Combination of actions, but those skilled in the art should know, the present invention and from the limitation of described sequence of movement because
According to the present invention, some steps can use other orders or be carried out at the same time.Secondly, those skilled in the art should also know
Know, embodiment described in this description belongs to preferred embodiment, and involved action and module are not necessarily of the invention
It is necessary.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
The relevant hardware of programmed instruction is completed, and foregoing program can be stored in a computer read/write memory medium, the program
Upon execution, the step of execution includes above method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although
The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that:It still may be used
To modify to the technical solution described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic;
And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical solution spirit and
Scope.