CN107632817A - A kind of Mobile solution efficient iterative Spark frameworks - Google Patents
A kind of Mobile solution efficient iterative Spark frameworks Download PDFInfo
- Publication number
- CN107632817A CN107632817A CN201710897973.3A CN201710897973A CN107632817A CN 107632817 A CN107632817 A CN 107632817A CN 201710897973 A CN201710897973 A CN 201710897973A CN 107632817 A CN107632817 A CN 107632817A
- Authority
- CN
- China
- Prior art keywords
- interface
- spark
- component
- file
- 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.)
- Pending
Links
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
A kind of Mobile solution efficient iterative framework, the iteration framework includes Spark interface systems, Spark data management module and Spark mixed-media network modules mixed-medias, interface system includes interface assembly, interface management, export module these three modules, in Spark interface managing system, interface base class is responsible for the life cycle at interface, supports the various patterns at interface:Mode, superposition, ejection, top set.The opening record of administration interface simultaneously, is easy to return to preposition historical record at follow-up interface;Spark data management module supports the data management and importing of multiple format, and Spark mixed-media network modules mixed-medias contain three submodules:Long connection component, short connection component and protocol component, Spark mixed-media network modules mixed-medias further comprises protocol component, and protocol component has done further encapsulation to conventional procotol, such as json, protobuf.
Description
Technical field
The present invention is the Mobile solution efficient iterative framework key technology transformation project using C# and lua language developments, this
Invention is applied to mobile Internet application and development, and the present invention is based on Unity and Lua, has perfect resource management, static data
Management, UI interface management and network communication mechanism, while the functions such as resource heat renewal are supported, the code frame of the present invention can be passed through
Frame Efficient Development Mobile solution.
Background technology
In recent years, China's mobile intelligent terminal explosive growth, by July, 2016, Chinese mobile interchange network users
Number has reached 8.72 hundred million.With the popularization of mobile Internet, mobile Internet is applied and the exploitation demand of game application is also got over
Come stronger.At present, the higher corporate boss of moving game engine occupation rate of market to have Cocos2d-x, Unity3D,
FlashAIR, Unreal, Corona etc..The data that different statistics sides provides slightly have difference, but generally speaking, industry first choice
Game engine is concentrated mainly on Cocos2d-x and Unity3D.
Unity3D (hereinafter referred to as Unity) is the user of a cross-platform comprehensive instrument, at present Unity engines
Group is very huge, is counted according to official of Apple Inc. using shop, Unity engines are up to 70% in the occupation rate of market of new game.
Tencent's exploitation《King's honor》, Blizzard exploitation《Hearthstone legend》, PlayRix companies exploitation《Dreamlike garden》
Developed with Rovio companies《The bird 2 of indignation》All made using Unity engines.
But presence some defects that the Development Framework of these game is all more or less, or resource updates are only supported, or
Person does not support to internationalize, or is developed using primary interface Development Framework.And I takes charge of the Kunlun Spark frameworks of self-service research and development
It is the current game framework of a set of lightweight, is all made that in terms of interface development framework, resource management, heat renewal and internationalization
Significant improvement.I, which takes charge of the functional module provided in the Kunlun Spark frameworks of self-service research and development, is passed through by multiple project developments
Test and sum up what is come, can effectively lift development efficiency, shorten the production time of project, can allow and newly established enterprise and independently open
Originator is concentrated in service logic and product quality.
The content of the invention
The present invention is in order to overcome the shortcomings of above-mentioned technology and defect, there is provided a kind of Mobile solution efficient iterative Spark frames
Frame.
The iteration framework includes Spark interface systems, Spark data management module and Spark mixed-media network modules mixed-medias, interface
System includes interface assembly, interface management, export module these three modules, in Spark interface managing system, interface base class
The life cycle at interface is responsible for, supports the various patterns at interface:Mode, superposition, ejection, top set.While administration interface
Record is opened, is easy to return to preposition historical record at follow-up interface;Spark data management module supports the number of multiple format
According to management and import, original state data file is required that file defines according to form by Spark data managements and import modul
The field description of data, field type support the multiple format including character string, integer, floating number, Boolean, array;Spark
Mixed-media network modules mixed-media contains three submodules:Long connection component, short connection component and protocol component, Spark mixed-media network modules mixed-medias also include
Protocol component, protocol component have done further encapsulation to conventional procotol, such as json, protobuf.
The interface assembly module is the basic module at interface, and this module provides the component and component base class at interface,
Developer can form graphical interfaces by combining these interface assemblies, and its median surface base class, i.e. UIView, are Spark
The core of interface system, it provides the primary interface needed for interface, is the parent of other interface assemblies, commonly uses interface group
Part is in addition to the picture component listed by upper figure, list element, also text component, shape component, tab component, rolling
What the components such as view component needed specified otherwise is list element in addition to the List View of routine, also table view, net
The other two kinds of forms of lattice view, by this several different view, can form abundant form, list interface;
Interface manager module mainly realizes Object Management group, life cycle management, context management and the style management at interface
Function, interface manager module additionally provide state modulator function, and many kinds of parameters, including but not limited to style are provided for interface assembly
Parameter, the variation at interface can be realized in the case where not changing code and only changing parameter by changing these parameters, so as to
Development cost is reduced, lifts development efficiency;
Interface export module is last important component of Spark interface systems, and one of core, it
Predominantly developer provides convenient output, storage mode, and by shirtsleeve operation, the data persistence at interface is stored
For two kinds of files of prefabricated component and code.
Original static lasting data is turned to data description file and data file two parts by Spark data modules, persistently
Changing module can be according to the multiple format needed to export to including C# or lua of program or application.
The Spark frameworks provide the support to long connection and short connection simultaneously, and the connected mode supported at present includes:
TCPSocket, HTTPSocket, HTTPRequest, HTTPLoader, these modules can handle long and short connection network data
Transmission and the acceptance action, while support " push " technology of HTTP aspects, C# of the short link block based on HTTP is realized, can be with
HTTP request and the response of short connection are handled, download of the download module based on HTTP is realized, various HTTPStatus are sealed
Dress, it is possible to achieve the function such as download function, storage, breakpoint transmission, Spark mixed-media network modules mixed-medias further comprises protocol component, protocol groups
Part has done further encapsulation to conventional procotol, such as json, protobuf, and Spark network systems are real existing
The morphology resolver and syntax analyzer of ProtoBuf protocol formats, ProtoBuf document of agreement is exported into program structure, often
Individual message both provides coding and decoding methods, while is transmission agreement by the information to be communicated with service end export form
Method, only need in project development to call corresponding communication protocol method can to enter row data communication with service end.
Kunlun Spark frameworks are the current game frameworks directed entirely to a set of lightweight of Unity engines exploitation, and
Specially treated is not done for the project in company.The functional module provided in framework is all total by multiple project development experiences
Bear what is come, can effectively lift development efficiency, shorten the production time of project, can allow newly established enterprise and independent developer
Concentrate in service logic and game.And Kunlun Spark Mobile solution efficient iteratives framework is based on exploitation
Unity and Lua language is developed known to person, and transition difficulty is relatively low, and the superelevation development efficiency of framework in itself, Ke Yibang
Help enterprise to lift product development speed, strengthen enterprise competitiveness.
The product developed using Kunlun Spark Mobile solution Efficient Developments framework technology can save R&D costs, carry
Consumer's Experience is risen, creates economic benefit.
《Ai Erzhan remembers》Reached the standard grade at home in December, 2015, in May, 2016 reaches the standard grade in Southeast Asia, in December, 2016 South Korea
Reach the standard grade.The exploitation advantages brought by Kunlun Spark Mobile solution Efficient Development framework technologies,《Ai Erzhan remembers》Reaching the standard grade
After continue to optimize version, Product Experience is improved, after 13 version updatings.With outstanding game quality,《Ai Erzhan
Note》The double lists for obtaining apple and Google repeatly in various countries are recommended, and not only market manifestation is excellent at home, and goes abroad, distribution
Overseas version, Taiwan, South Korea, Southeast Asia, European & American Market occupy one seat for its excellent showing.Cut-off
In April, 2017,《Ai Erzhan remembers》1.4 hundred million yuan of incomes and 0.3 hundred million yuan of profits are created in the world.
《The refreshing holy domain of evil spirit》In in August, 2016 line in the domestic market, in September, 2016 is reached the standard grade in Southeast Asia and South Korea, after 8
Secondary great version updating, global range create 3.7 hundred million yuan of incomes and nearly 100,000,000 yuan of profits.
20%-40% development efficiency can be lifted by Kunlun Spark Mobile solution efficient iterative framework technologies, contracted
The short construction cycle, product thinking can be more rapidly verified, save R&D costs.
The data reference provided according to operation, each whole bag renewals of App can all cause 10%-20% customer loss.And
Using the hot more module of Kunlun Spark Mobile solution efficient iterative frameworks, without update complete App programs can be more
New business logical sum increases New function.And project team can quickly repair the logic of mistake to version on line, avoid user big
Amount is lost in, and causes wholesale economic loss.Meanwhile the function in terms of internationalization is supported to be advantageous to products export and extra earning, each
Individual area can be carried out good brand promotion.
Using Kunlun Spark Mobile solution Efficient Development frameworks, research staff's level can be lifted, lifting product is competing
Power is striven, enterprise image, there is extensive promotional value and meaning.Kunlun Spark Mobile solution efficient iterative frameworks pair
Interface development, mixed-media network modules mixed-media exploitation, the conservation of resources both provide the interface of standardization.Should by using Kunlun Spark movements
With efficient iterative framework, the correct coding custom and exploitation that can cultivate research staff are accustomed to, and lift the coding of research staff
Horizontal and design level.And the ease for use of Kunlun Spark Mobile solution efficient iterative frameworks so that other work posts of part
Personnel are also assisted in the exploitation of client end interface function, and can quick Fabrication go out available function blank.
The R&D costs of mobile Internet application can be greatly reduced in Kunlun Spark Mobile solution efficient iterative frameworks,
The entry threshold of mobile Internet application and development can be effectively reduced, allowing more medium-sized and small enterprises to participate in mobile Internet should
The intention of oneself is converted into product, done one's bit for the construction of " internet+", while can also provide more with exploitation
More excellent culture intention and high quality content, enrich internet cultural industry and the market in China, Kunlun Spark movements
Effectively product can also be helped to be internationalized using efficient iterative framework, can make product in the international market with more competing
Power is striven, enterprise competitiveness can be strengthened, while is also beneficial to cultural export, lifts the culture image in China.Coordinate country in text
The construction in change field, while traditional Chinese culture is carried forward to domestic and overseas subscriber, national literature creates the healthy and orderly hair of industry in promotion
Exhibition.Because this item purpose is innovative, it can effectively accelerate the development efficiency of mobile Internet application by this framework, so as to carry
The hierarchy of skill of high industry, accelerate the survival of the fittest, embody cluster comparative advantages and competitive advantage, be favorably improved correlation
The innovation ability of Cultural and Creative Industries cluster, so as to be further driven to improve the technical merit of text wound industry cluster, management ability,
And managerial ability.Be advantageous to the benign ecology of Cultural and Creative Industries System forming, keep competitiveness, vigor and vitality.
Brief description of the drawings
Accompanying drawing 1 is the structure chart of Spark interface systems.
Accompanying drawing 2 is Spark data management module structure chart.
Embodiment
The present invention is described in further detail below.
Embodiment 1
A kind of Mobile solution efficient iterative Spark frameworks, it is characterised in that:The iteration framework includes Spark interfaces system
System, Spark data management module and Spark mixed-media network modules mixed-medias, interface system include interface assembly, interface management, export module
These three modules, in Spark interface managing system, interface base class is responsible for the life cycle at interface, supports interface
Various patterns:Mode, superposition, ejection, top set.The opening record of administration interface simultaneously, is easy to return at follow-up interface preposition
Historical record;Spark data management module supports the data management and importing of multiple format, Spark data managements and importing
Module defines original state data file requirement file according to form the field description of data, and field type supports character
Multiple format including string, integer, floating number, Boolean, array;Spark mixed-media network modules mixed-medias contain three submodules:Long connection
Component, short connection component and protocol component, Spark mixed-media network modules mixed-medias further comprises protocol component, and protocol component is to conventional network
Agreement, such as json, protobuf have done further encapsulation.
The interface assembly module is the basic module at interface, and this module provides the component and component base class at interface,
Developer can form graphical interfaces by combining these interface assemblies, and its median surface base class, i.e. UIView, are Spark
The core of interface system, it provides the primary interface needed for interface, is the parent of other interface assemblies, commonly uses interface group
Part is in addition to the picture component listed by upper figure, list element, also text component, shape component, tab component, rolling
What the components such as view component needed specified otherwise is list element in addition to the List View of routine, also table view, net
The other two kinds of forms of lattice view, by this several different view, can form abundant form, list interface;
Interface manager module mainly realizes Object Management group, life cycle management, context management and the style management at interface
Function, interface manager module additionally provide state modulator function, and many kinds of parameters, including but not limited to style are provided for interface assembly
Parameter, the variation at interface can be realized in the case where not changing code and only changing parameter by changing these parameters, so as to
Development cost is reduced, lifts development efficiency;
Interface export module is last important component of Spark interface systems, and one of core, it
Predominantly developer provides convenient output, storage mode, and by shirtsleeve operation, the data persistence at interface is stored
For two kinds of files of prefabricated component and code.
Original static lasting data is turned to data description file and data file two parts by Spark data modules, persistently
Changing module can be according to the multiple format needed to export to including C# or lua of program or application.
Spark mixed-media network modules mixed-medias contain three submodules:Long connection component, short connection component and protocol component.It is mobile mutual
Working application has various scenes to the demand of network, the requirement of docking port have a lot, in order to simplify this case we in network
The various scenes of module team encapsulate.In view of the actual conditions of the every group of company and research and development department, Spark frameworks carry simultaneously
The support to long connection and short connection is supplied.The connected mode supported at present includes:TCPSocket (connection of TCP length),
HTTPSocket (connection of Polling length), HTTPRequest (short connection request), HTTPLoader (download class).These modules
Transmission and the acceptance action of long and short connection network data can be handled, while supports " push " technology of HTTP aspects.Short connection
C# of the module based on HTTP is realized, can handle HTTP request and the response of short connection.Download of the download module based on HTTP is real
It is existing, various HTTPStatus are encapsulated, it is possible to achieve the function such as download function, storage, breakpoint transmission.
Spark mixed-media network modules mixed-medias further comprises protocol component, protocol component to conventional procotol, such as json,
Protobuf has done further encapsulation.The real morphology resolver and grammer of existing ProtoBuf protocol formats of Spark network systems
Analyzer, ProtoBuf document of agreement is exported into program structure, each message both provides coding and decoding methods, simultaneously will
The information export form to be communicated with service end only needs to call corresponding communication to send the method for agreement in project development
Protocol method can enters row data communication with service end.
Spark interface system re-starts according to the Interfacial Characteristics that mobile Internet is applied to the life cycle at interface
Design.With reference to the experience of mobile Internet application and development before when we design, Spark life cycle of interface is formulated:Create,
Open, focus changes, closes, destroys, in operation.Pass through the life cycle of interface of the system, the exploitation of mobile Internet application
Person can easily carry out interface management, and can realize the diversity at interface.
In Spark interface managing system, interface base class is responsible for the life cycle at interface, supports the various of interface
Pattern:Mode, superposition, ejection, top set.The opening record of administration interface simultaneously, is easy to return to preposition history at follow-up interface
Record.
The method that UIViewRoot is mainly provided has:Interface is opened, interface is closed, exits the interfaces such as interface.
Exported by interface and simplify workload
Conventional development process is after interface is completed, it is necessary to interface object be stated in code, to obtain interface pair
As that then could carry out interface event binding, control logic is added to interface.Binding event behaviour in this development process
Make, compilation operation logic this 2 steps are repeated workloads, developer often spends the very big time in this 2 steps.
Spark interface systems optimize to interface development link, and interface object is obtained in code and binding interface event all can be by
The Spark interface systems of Spark frameworks are helped to complete automatically, and developer need to only complete remaining flow, subtract so as to reach
Few workload, reduces development cost, lifts the purpose of development efficiency.
Interface layout is completed using Unity itself editing machine, and the interface provided by Spark exports instrument and exports interface
For editor when prefabricated component, operation when prefabricated component and interface layout code.Prefabricated component is used for the subsequent modification at interface, operation during editor
When prefabricated component middle use upon execution, interface layout code be interface present basis.Spark interfaces guiding system is on export circle
Can be automatically by all component in interface during face, export definition and event are into code.Control subsequently so is write to the interface
During logic, it can directly invoke, improve productivity.
Unified resource management interface
There is two spike-type cultivars way to manage in traditional Unity projects:Directly obtain the money of resource and AssetBundle modes
Source.Both modes have used different application programs to become interface and administrative mechanism, apply the difference in project development respectively
Stage:Product development initial stage, resource updates needed to use after product is reached the standard grade using the mode for directly obtaining resource
AssetBundle.Directly following problem can be caused using primary resource management:1) different application programming interfaces, lead
Cause loading resource language logic disunity;2) dependence be present between AssetBundle files, it is necessary to loading when by
Loaded successively according to relying on, add the complexity of resource load logic.
Unified resource management interface is provided in Spark frameworks, the resource obtained by unified loading function.Avoid
Above mentioned problem.The realization mechanism of Spark resource management module is divided into two parts:
1) resource file compression module:Resource strapping tool is realized, resource is packaged into different resource Bao Wen respectively
Part, while the resource package informatin belonging to each resource file is recorded, and the dependence between resource file, and these are configured
Information stores hereof.
2) resource load-on module:Resource pipe load-on module can be made not by above-mentioned configuration information when loading resource
Same loading strategy:If resource in resource APMB package, is not loaded directly into file;If resource in resource bag, adds successively
The resource file of resource bag dependence is carried, then loads resource from resource bag again.
Spark resource load-on module provides multiple resources object loading interface to upper strata, for different types of money
Source can all be loaded with unified interface, not distinguished for resource type on method of calling.
Resource heat renewal is provided based on above-mentioned resource management architecture to support
All quickly, for extraneous demand, we need for mobile Internet epoch, various application scenarios and service logic change
Accomplish to timely respond to.But for user, updating our application needs to re-download client, to user and server
For be all a kind of burden.So we have developed hot update module, can accomplish that whole application need not be re-downloaded can
To accomplish to update service logic.
Spark hot update module includes heat renewal strapping tool, heat renewal deployment tool and heat renewal management assembly.Heat
Updating strapping tool, mainly responsible file packing, compression to heat renewal is handled, while can be according to packing and compression situation to heat
Update listed files generation index file.The compression function of the hot update modules of Spark supports GZIP, LZMA, ZLIB, brotli etc.
A variety of main flow compression algorithms, application layer can select suitable compression algorithm according to being actually needed.
The hot update modules of Spark also achieve a kind of algorithm, can be automatically according to the dependence pair between hot more new file
File carries out packet packing, so reduces the dependence and coupling of hot more new file, can effectively reduce using run-time memory
Consumption.Hot update module also supports the function by configuration file production Re Gengbao, and application developer can pass through this side
Formula realizes the function of rapid build heat more file.
Heat renewal deployment tool mainly provides the function of automatic upper heat transfer more server.The upload work(of heat renewal deployment tool
Also increment can be supported to upload, and support to upload, be distributed to different CDN servers.Meanwhile heat updates not yet done instrument and carried
For the function of the Resources list inspection, local file list and file details and server listed files and in detail can be contrasted automatically
Feelings.
Heat renewal management assembly provides heat renewal file edition management function, can contrast client local file automatically
List and server listed files, the file that a download server exists but is locally not present.This mode is effectively reduced
The flow consumption of user, decreases the traffic overhead of server, has reached cost-effective purpose.Heat renewal management assembly
Can also be according to the network condition of user, such as the various situations such as wireless network, mobile cellular network, offline mode, make it special
Processing.In the case of correctly can not parse domain name, the default addresses for use that Spark also provides acquiescence is supported.
Internationalizationmodule module and multilingual support
It is multilingual that Spark internationalizationmodule module supports a code to support simultaneously, except including application internal interface, code
Outside the management of resource, supporting language setting, supporting language handoff functionality are gone back.
Spark internationalizationmodule modules require that application layer provides resource file of the language pack file as multiple language characters.Language
APMB package stores text according to key, value form, and Spark internationalizationmodule module can add automatically according to the language that user selects
The language pack file of corresponding language is carried to show correct language.
The picture word used in can merge into different atlas according to language, and Spark internationalizationmodule module can basis
The atlas of the corresponding language of user language selection.
Meanwhile Spark internationalizationmodule module additionally provides contrast and merges instrument, developer can pass through these instruments pair
Language pack is developed and safeguarded.
Claims (5)
- A kind of 1. Mobile solution efficient iterative Spark frameworks, it is characterised in that:The iteration framework include Spark interface systems, Spark data management module and Spark mixed-media network modules mixed-medias, interface system include interface assembly, interface management, export module this three Individual module, in Spark interface managing system, interface base class is responsible for the life cycle at interface, supports the various of interface Pattern:Mode, superposition, ejection, top set.The opening record of administration interface simultaneously, is easy to return to preposition history at follow-up interface Record;Spark data management module supports the data management and importing of multiple format, Spark data managements and import modul Original state data file is required that file defines according to form the field description of data, field type supports character string, whole Multiple format including number, floating number, Boolean, array;Spark mixed-media network modules mixed-medias contain three submodules:Long connection component, Short connection component and protocol component, Spark mixed-media network modules mixed-medias further comprises protocol component, protocol component to conventional procotol, For example json, protobuf have done further encapsulation.
- 2. Mobile solution efficient iterative Spark frameworks according to claim 1, it is characterised in that iteration framework also includes Spark hot update module, including heat renewal strapping tool, heat renewal deployment tool and heat renewal management assembly, heat renewal are beaten Main responsible file packing, the compression to heat renewal of job contract tool is handled, while can be according to packing and compression situation to heat renewal text Part list generates index file, and the compression function of the hot update modules of Spark supports more kinds of main flows of GZIP, LZMA, ZLIB, brotli Compression algorithm, application layer can select suitable compression algorithm according to being actually needed;The hot update modules of Spark also achieve a kind of algorithm, can be automatically according to the dependence between hot more new file to file Packet packing is carried out, the dependence and coupling of hot more new file is so reduced, can effectively reduce and be consumed using run-time memory, Hot update module also supports the function by configuration file production Re Gengbao, and application developer can realize in this way The function of rapid build heat more file;Heat renewal deployment tool mainly provides the function of automatic upper heat transfer more server.The upload function of heat renewal deployment tool is also Support increment to upload, and support to upload, be distributed to different CDN servers, meanwhile, heat updates not yet done instrument and provides money The function of source list inspection, local file list and file details and server listed files and details can be contrasted automatically;Heat renewal management assembly provides heat renewal file edition management function, can contrast client local file list automatically The file for existing but being locally not present with server listed files, a download server, this mode are effectively reduced use The flow consumption at family, the traffic overhead of server is decreased, reached cost-effective purpose, heat renewal management assembly can also According to the network condition of user, such as the various situations such as wireless network, mobile cellular network, offline mode, specially treated has been done. In the case of correctly can not parse domain name, the default addresses for use that Spark also provides acquiescence is supported.
- 3. Mobile solution efficient iterative Spark frameworks according to claim 1, it is characterised in that the interface assembly mould Block is the basic module at interface, and this module provides the component and component base class at interface, and developer can be by combining this A little interface assemblies form graphical interfaces, its median surface base class, i.e. UIView, are the cores of Spark interface systems, it is carried The primary interface needed for interface has been supplied, has been the parent of other interface assemblies, has commonly used picture of the interface assembly listed by except upper figure Outside component, list element, also the component such as text component, shape component, tab component, rolling view component needs special What is illustrated is list element in addition to the List View of routine, also the other two kinds of forms of table view, grid view, is passed through This several different view, can form abundant form, list interface;Interface manager module mainly realizes Object Management group, life cycle management, context management and the style management function at interface, Interface manager module additionally provides state modulator function, and many kinds of parameters, including but not limited to genre parameters are provided for interface assembly, The variation at interface can be realized in the case where not changing code and only changing parameter by changing these parameters, so as to reduce Development cost, lift development efficiency;Interface export module is last important component of Spark interface systems, and one of core, and it is main Convenient output, storage mode are provided for developer, by shirtsleeve operation, the data persistence at interface is stored as pre- Two kinds of files of product and code.
- 4. Mobile solution efficient iterative framework according to claim 1, it is characterised in that Spark data modules will be original Static data is persisted as data description file and data file two parts, and persistence module can be according to program or the need of application Export to the multiple format including C# or lua.
- 5. Mobile solution efficient iterative Spark frameworks according to claim 1, it is characterised in that Spark frameworks carry simultaneously The support to long connection and short connection is supplied, the connected mode supported at present includes:TCPSocket、HTTPSocket、 HTTPRequest, HTTPLoader, these modules can handle transmission and the acceptance action of long and short connection network data, simultaneously " push " technology of HTTP aspects is supported, C# of the short link block based on HTTP is realized, can handle the HTTP request of short connection And response, download of the download module based on HTTP is realized, various HTTPStatus are encapsulated, it is possible to achieve download function, The functions such as storage, breakpoint transmission, Spark mixed-media network modules mixed-medias further comprises protocol component, protocol component to conventional procotol, than As json, protobuf have done further encapsulation, the real morphology resolver of existing ProtoBuf protocol formats of Spark network systems And syntax analyzer, ProtoBuf document of agreement is exported into program structure, each message both provides coding and decoding methods, It is the method for sending agreement by the information to be communicated with service end export form simultaneously, only needs to call accordingly in project development Communication protocol method can and service end enter row data communication.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710897973.3A CN107632817A (en) | 2017-09-28 | 2017-09-28 | A kind of Mobile solution efficient iterative Spark frameworks |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710897973.3A CN107632817A (en) | 2017-09-28 | 2017-09-28 | A kind of Mobile solution efficient iterative Spark frameworks |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107632817A true CN107632817A (en) | 2018-01-26 |
Family
ID=61101733
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710897973.3A Pending CN107632817A (en) | 2017-09-28 | 2017-09-28 | A kind of Mobile solution efficient iterative Spark frameworks |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107632817A (en) |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108536431A (en) * | 2018-04-04 | 2018-09-14 | 浙江小泰科技有限公司 | A kind of global command's row creates front end project approach and system |
CN109086038A (en) * | 2018-07-10 | 2018-12-25 | 千寻位置网络有限公司 | Big data development approach and device, terminal based on Spark |
CN109766203A (en) * | 2019-01-24 | 2019-05-17 | 重庆爱奇艺智能科技有限公司 | A kind of method and apparatus for realizing Unified Communication between joint end and Android end |
CN110045949A (en) * | 2019-05-10 | 2019-07-23 | 上海紫翊网络科技有限公司 | The prefabricated component merging method and device of a kind of same project difference branch engineering |
CN110995725A (en) * | 2019-12-11 | 2020-04-10 | 北京明略软件***有限公司 | Data processing method and device, electronic equipment and computer readable storage medium |
CN112860645A (en) * | 2021-02-09 | 2021-05-28 | 恒安嘉新(北京)科技股份公司 | Processing method and device for offline compressed file, computer equipment and medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103605516A (en) * | 2013-11-12 | 2014-02-26 | 国家电网公司 | Flexible Web display frame model architecture designing method |
CN105893014A (en) * | 2015-12-08 | 2016-08-24 | 乐视云计算有限公司 | Project development method and system for front end |
CN106951233A (en) * | 2017-03-02 | 2017-07-14 | 广州天高软件科技有限公司 | Mixed mode smart mobile phone application development framework |
-
2017
- 2017-09-28 CN CN201710897973.3A patent/CN107632817A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103605516A (en) * | 2013-11-12 | 2014-02-26 | 国家电网公司 | Flexible Web display frame model architecture designing method |
CN105893014A (en) * | 2015-12-08 | 2016-08-24 | 乐视云计算有限公司 | Project development method and system for front end |
CN106951233A (en) * | 2017-03-02 | 2017-07-14 | 广州天高软件科技有限公司 | Mixed mode smart mobile phone application development framework |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108536431A (en) * | 2018-04-04 | 2018-09-14 | 浙江小泰科技有限公司 | A kind of global command's row creates front end project approach and system |
CN109086038A (en) * | 2018-07-10 | 2018-12-25 | 千寻位置网络有限公司 | Big data development approach and device, terminal based on Spark |
CN109766203A (en) * | 2019-01-24 | 2019-05-17 | 重庆爱奇艺智能科技有限公司 | A kind of method and apparatus for realizing Unified Communication between joint end and Android end |
CN110045949A (en) * | 2019-05-10 | 2019-07-23 | 上海紫翊网络科技有限公司 | The prefabricated component merging method and device of a kind of same project difference branch engineering |
CN110995725A (en) * | 2019-12-11 | 2020-04-10 | 北京明略软件***有限公司 | Data processing method and device, electronic equipment and computer readable storage medium |
CN110995725B (en) * | 2019-12-11 | 2021-12-07 | 北京明略软件***有限公司 | Data processing method and device, electronic equipment and computer readable storage medium |
CN112860645A (en) * | 2021-02-09 | 2021-05-28 | 恒安嘉新(北京)科技股份公司 | Processing method and device for offline compressed file, computer equipment and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107632817A (en) | A kind of Mobile solution efficient iterative Spark frameworks | |
CN108519952B (en) | A kind of distributed WEB automatization test system and method | |
CN102169500B (en) | Dynamic service flow display method and device | |
CN106302442B (en) | A kind of network communication resolve packet method based on Java language | |
CN102708213B (en) | Method for realizing BOM (Bill of Material) information transmission between PDM (Product Data Management) system and ERP (Enterprise Resource Planning) system | |
CN106371825A (en) | Dynamic form generation method and apparatus for mobile end application interface | |
CN106874388A (en) | A kind of heterogeneous system data cascade operation method for auto constructing based on relevant database | |
CN102508722B (en) | Inter-process communication method under embedded environment | |
CN110427385A (en) | Block chain data-updating method, interdependent node and block chain | |
CN112035090B (en) | Intelligent contract intelligent management system and method based on containerization technology | |
CN108509193A (en) | A kind of system using visualization component encapsulation function | |
CN115640045B (en) | Low-code development platform based on domain-driven design and business system creation method | |
CN103399895B (en) | A kind of monitoring display processing system based on SVG and method | |
CN102236709A (en) | Flex-based monitoring page display method and system | |
CN101640694A (en) | Method for generating simple object access protocol messages and process engine | |
CN110858356A (en) | Manufacturing execution system based on micro-service architecture | |
CN103729742B (en) | A kind of Data Resources Management System based on SOA framework and executing model drive structure | |
CN107729561A (en) | The method that the table handling of paired data storehouse is reversely given birth to based on database table structure | |
WO2024146267A1 (en) | Microservices-architecture-based full-lifecycle management system for new-energy power generation devices | |
CN102999371B (en) | Interface Development method and system based on Lua script | |
CN107943455A (en) | A kind of list rendering system based on JSON data formats | |
CN109003429A (en) | A kind of meter register method and device in task based access control pond | |
CN108111578A (en) | The method of distribution terminal data acquisition platform access terminal equipment based on NIO | |
CN105207215B (en) | A kind of electric load dispatch control method | |
CN106990965A (en) | A kind of software platform and its development approach |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20180126 |