CN107203397A - The operation method and device of Mobile solution - Google Patents

The operation method and device of Mobile solution Download PDF

Info

Publication number
CN107203397A
CN107203397A CN201710375986.4A CN201710375986A CN107203397A CN 107203397 A CN107203397 A CN 107203397A CN 201710375986 A CN201710375986 A CN 201710375986A CN 107203397 A CN107203397 A CN 107203397A
Authority
CN
China
Prior art keywords
configuration data
mobile solution
configuration
differentiation
native functions
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
CN201710375986.4A
Other languages
Chinese (zh)
Other versions
CN107203397B (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.)
Guangzhou Sisanjiujiu Information Technology Co Ltd
Original Assignee
Guangzhou Sisanjiujiu Information 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 Guangzhou Sisanjiujiu Information Technology Co Ltd filed Critical Guangzhou Sisanjiujiu Information Technology Co Ltd
Priority to CN201710375986.4A priority Critical patent/CN107203397B/en
Publication of CN107203397A publication Critical patent/CN107203397A/en
Application granted granted Critical
Publication of CN107203397B publication Critical patent/CN107203397B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/60Software deployment
    • G06F8/65Updates

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)
  • Telephone Function (AREA)

Abstract

The invention provides a kind of operation method of Mobile solution and device, it is related to Mobile solution technical field, this method is applied to the Mobile solution of terminal, including:When Mobile solution startup optimization, judge to whether there is configuration data in the server of Mobile solution connection;If it is, obtaining above-mentioned configuration data, and Native functions are built according to the configuration data;If not, the default configuration data stored according to Mobile solution builds Native functions;Above-mentioned Mobile solution is run using the Native functions after structure.The operation method and device of Mobile solution provided in an embodiment of the present invention, differentiation configuration data is built in advance for the application of different editions in server, reach not update and can also realize the purpose of function renewal using itself, channel bag need not be developed respectively for multiple platforms, channel or the application in region, development cost and maintenance cost are effectively reduced, the realization of sophisticated functions and good Consumer's Experience is can guarantee that.

Description

The operation method and device of Mobile solution
Technical field
The present invention relates to Mobile solution technical field, more particularly, to the operation method and device of a kind of Mobile solution.
Background technology
The domestic distribution channel of current Mobile solution is numerous and overseas subscriber wide material sources, for different channels and user Source, Mobile solution needs to provide the product function of differentiation.The Normal practice that Mobile solution provides differentiation function is to beat many Channel bag, the application of customization version is developed for each channel or different user region, the shortcoming of above-mentioned way is to develop into respectively This height and the product O&M for being unfavorable for release maintenance and later stage.Mobile solution provide differentiation function another way be Realized by way of embedded Webview opens Web page, i.e., function differenceization is all realized by Web page.Above-mentioned way Having the disadvantage the function Web page of complexity can not realize, for example, need the function of being interacted with hardware, and the user's body of web page Test also has larger deficiency compared to Native functions.
For above-mentioned Mobile solution in the prior art differentiation work(is provided by way of version is customized or embeds Webview The problem of existing, not yet proposes effective solution at present.
The content of the invention
In view of this, it is real with mobilism it is an object of the invention to provide a kind of operation method of Mobile solution and device Existing Native functions, effectively reduce development cost and maintenance cost, it is ensured that Consumer's Experience.
In a first aspect, the embodiments of the invention provide a kind of operation method of Mobile solution, the movement applied to terminal should With, including:When Mobile solution startup optimization, judge to whether there is configuration data in the server of Mobile solution connection;If It is to obtain above-mentioned configuration data, and Native functions is built according to the configuration data;If not, stored according to Mobile solution Default configuration data builds Native functions;Above-mentioned Mobile solution is run using the Native functions after structure.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of the first of first aspect, wherein, sentence Include in the server of disconnected Mobile solution connection with the presence or absence of configuration data:Obtain the corresponding version information of Mobile solution;Judge It whether there is the corresponding configuration data of version information in the server of Mobile solution connection.
With reference to the first possible embodiment of first aspect, the embodiments of the invention provide second of first aspect Possible embodiment, wherein, judge to whether there is the corresponding configuration data of version information in the server of Mobile solution connection Including:Whether using version information in the server that Mobile solution is connected, it is empty to search corresponding configuration data field;If It is no, determine there is the configuration data of Mobile solution in server.
With reference in a first aspect, the embodiments of the invention provide the possible embodiment of the third of first aspect, wherein, obtain Taking configuration data, and build Native functions according to configuration data includes:Read configuration data;Parsing configuration data obtains difference Change configuration information;Differentiation configuration information is preserved to the application catalogue of the internal memory of local device;Answered using catalogue to be mobile Use corresponding catalogue;Native functions are built according to the differentiation configuration information of storage.
With reference to the third possible embodiment of first aspect, the embodiments of the invention provide the 4th of first aspect kind Possible embodiment, wherein, after reading configuration data, in addition to:Security verification is carried out to configuration data, verification passes through Afterwards, the step of performing parsing configuration data.
With reference to the third possible embodiment of first aspect, the embodiments of the invention provide the 5th of first aspect kind Possible embodiment, wherein, building Native functions according to the differentiation configuration information of storage includes:Confidence is matched somebody with somebody to differentiation Breath is initialized, and obtains initial configuration information;According to initial configuration information architecture Native functions.
With reference to the third possible embodiment of first aspect, the embodiments of the invention provide the 6th of first aspect kind Possible embodiment, wherein, building Native functions according to the differentiation configuration information of storage includes:Configured according to differentiation The corresponding Native functions of information generation differentiation configuration information include the UI of Native functions.
Second aspect, the embodiment of the present invention also provides a kind of running gear of Mobile solution, and the movement applied to terminal should With, including:In configuration data judge module, the server for when Mobile solution startup optimization, judging Mobile solution connection With the presence or absence of configuration data;Configuration module is updated, for if it is, obtain above-mentioned configuration data, and according to the configuration data structure Build Native functions;Default configuration module, for if not, the default configuration data stored according to Mobile solution builds Native Function;Module is run, for running Mobile solution using the Native functions after building.
With reference to second aspect, the embodiments of the invention provide the possible embodiment of the first of second aspect, wherein, on Configuration data judge module is stated to be additionally operable to:Obtain the corresponding version information of Mobile solution;Judge the server of Mobile solution connection In whether there is the corresponding configuration data of version information.
With reference to second aspect, the embodiments of the invention provide the possible embodiment of second of second aspect, wherein, more New configuration module includes:Reading unit, for reading configuration data;Resolution unit, differentiation is obtained for parsing configuration data Configuration information;Storage unit, for differentiation configuration information to be preserved to the application catalogue of the internal memory of local device;Using mesh Record as the corresponding catalogue of Mobile solution;Native formation function units, for being built according to the differentiation configuration information of storage Native functions.
The embodiment of the present invention brings following beneficial effect:The operation method of Mobile solution provided in an embodiment of the present invention and Device, builds differentiation configuration data for the application of different editions in server, sentences in Mobile solution startup optimization in advance It whether there is configuration data in disconnected server, obtain and build Native functions according to the configuration data and run Mobile solution, It can realize that the mobilism of Native functions updates, the purpose of function renewal can also be realized using itself by reaching not update, and be not required to Channel bag is developed respectively for multiple platforms, channel or the application in region, effectively reduce development cost and maintenance cost, phase The realization of sophisticated functions and good Consumer's Experience are also ensured compared with Webview implementation Native functions.
Other features and advantages of the present invention will be illustrated in the following description, also, partly be become from specification Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages are in specification, claims And specifically noted structure is realized and obtained in accompanying drawing.
To enable the above objects, features and advantages of the present invention to become apparent, preferred embodiment cited below particularly, and coordinate Appended accompanying drawing, is described in detail below.
Brief description of the drawings
, below will be to specific in order to illustrate more clearly of the specific embodiment of the invention or technical scheme of the prior art The accompanying drawing used required in embodiment or description of the prior art is briefly described, it should be apparent that, in describing below Accompanying drawing is some embodiments of the present invention, for those of ordinary skill in the art, before creative work is not paid Put, other accompanying drawings can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of the operation method of Mobile solution provided in an embodiment of the present invention;
Fig. 2 be a kind of operation method of Mobile solution provided in an embodiment of the present invention in step S11 schematic flow sheet;
Fig. 3 be a kind of operation method of Mobile solution provided in an embodiment of the present invention in step S12 schematic flow sheet;
Fig. 4 is a kind of structural representation of the running gear of Mobile solution provided in an embodiment of the present invention;
Fig. 5 is the structural representation of the running gear of another Mobile solution provided in an embodiment of the present invention;
Fig. 6 is the structural representation of the running gear of another Mobile solution provided in an embodiment of the present invention;
Fig. 7 is a kind of structural representation of terminal provided in an embodiment of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with accompanying drawing to the present invention Technical scheme be clearly and completely described, it is clear that described embodiment is a part of embodiment of the invention, rather than Whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art are not making creative work premise Lower obtained every other embodiment, belongs to the scope of protection of the invention.
Current the multi-platform of Mobile solution, multizone, which are delivered, to be developed into by way of developing the application of customization version respectively This height and the product O&M for being unfavorable for release maintenance and later stage;By way of embedded Webview opens Web page then without Method realizes complicated function and presentation effect is poorer than Native function;Based on this, a kind of movement provided in an embodiment of the present invention should Operation method and device, above-mentioned Mobile solution can by all kinds of means be wrapped i.e. with differentiation dynamic implement Native functions without beating Multi-platform, multizone can be achieved to deliver, development cost and maintenance cost is effectively reduced, presentation effect and user's body is also ensure that Test.For ease of understanding the present embodiment, the operation method first to a kind of Mobile solution disclosed in the embodiment of the present invention Describe in detail.
Embodiment 1
The embodiment of the present invention 1 provides a kind of operation method of Mobile solution, applied to the Mobile solution of terminal, referring to figure The schematic flow sheet of the operation method of Mobile solution shown in 1, comprises the following steps:
Step S11, when Mobile solution startup optimization, judges in the server of Mobile solution connection with the presence or absence of configuration number According to.If it is, performing step S12;If not, performing step S13.
Specifically, the Native that above-mentioned Mobile solution refers in terminal applies (locally applied).When Mobile solution is opened The situation of dynamic operation includes:User click on terminal display interface on application icon open application when or Mobile solution certain During individual function on operation.Above-mentioned configuration data corresponds to a certain function or multiple functions of Mobile solution, for example log in, The function such as supplement with money, configuration data specifically includes the contents such as functional framework, functional parameter, logo or picture.By judging service It whether there is configuration data in device, it may be determined whether differentiation realizes the data of Native functions.Above-mentioned configuration data It is the differentiation configuration data that server is built in advance, the application for the different editions of different platform, region or channel has Different configuration datas.
Step S12, obtains configuration data, and build Native functions according to configuration data.
When there is configuration data in the server being connected with Mobile solution, i.e., this time starting needs to carry out Native functions Update, using the above-mentioned configuration data of acquisition and Native functions are built according to above-mentioned configuration data.Therefore Native functions can be with Dynamically updated according to the configuration data of service end, application (or some function of application) is opened every time, will all service end be obtained Configuration file, builds Native functions according to configuration file, it is possible to achieve the mobilism of Native functions, reaches and do not update application Also the purpose of function renewal can be realized.Mobile solution builds Native functions on backstage automatically according to above-mentioned configuration data, realizes The automatically configuring of Native functions, it is not necessary to which user, which authorizes, to be agreed to.
Step S13, the default configuration data stored according to Mobile solution builds Native functions.
When there is configuration data in the server being connected with Mobile solution, i.e., Native work(need not be carried out by this time starting It can update, Native functions are built according to the default configuration data stored in application.It is understood that default configuration data can Be apply the configuration data that is carried in initial download or before the configuration data that is obtained from server.
Step S14, Mobile solution is run using the Native functions after structure.
Build Native functions after, Mobile solution run according to above-mentioned Native functions, including display UI interfaces with A variety of embodiment modes such as the function of logic level are provided.
The operation method of Mobile solution provided in an embodiment of the present invention, the advance structure of application of different editions is directed in server Differentiation configuration data is built, judges to whether there is configuration data in server in Mobile solution startup optimization, obtains and foundation The configuration data builds Native functions and runs Mobile solution, it is possible to achieve the mobilism of Native functions updates, and reaches not Update to apply and itself can also realize the purpose of function renewal, it is not necessary to opened respectively for multiple platforms, channel or the application in region Channel bag is sent out, development cost and maintenance cost is effectively reduced, is also ensured compared to Webview implementation Native functions The realization of sophisticated functions and good Consumer's Experience.
As a kind of step S11 embodiment, configuration data is determined whether there is according to the version information of current application, Referring to Fig. 2, step S11 can include:
Step S21, obtains the corresponding version information of Mobile solution.
Above-mentioned version information not only includes the exploitation version number of application, includes customization operator, the country of Mobile solution Or the information such as area, system or platform, so as to distinguish the user from different channels or position, such as version is believed Breath can use channel ID mode.It is stored with the server and constructs different configurations in advance for different editions information Data, the function that user of different nature provides differentiation is directed to so as to realize.
Step S22, judges to whether there is the corresponding configuration data of version information in the server of Mobile solution connection.
Specifically, including:Using version information in the server that Mobile solution is connected, corresponding configuration data word is searched Whether section is empty, if not, determining there is the configuration data of Mobile solution in server.For example, configuration data is saved as ConfigData, if the content for not having configData fields or configData fields in server is empty, it is determined that Without configuration data;Otherwise the configuration data for having Mobile solution in server is determined.
As a kind of step S12 embodiment, referring to Fig. 3, step S12 can include:
Step S31, reads configuration data.
In the case of there is configuration data in the server, using reading or download the configuration data.Based on security Consider, after configuration data is read in application, security verification can be carried out to configuration data, it is therefore an objective to determine that the configuration data is It is safe to ensure that no certain server for application connection is sent.Perform the step of parsing configuration data again after verification passes through Suddenly.
Step S32, parsing configuration data obtains differentiation configuration information.
The analysis mode made an appointment according to application and server parses configuration data, for the ease of configuration data various Can successfully it be parsed in system or the terminal of platform, configuration data preferred generic good data format or type, such as SDK The form of bag, it is ensured that can be compatible in each system or platform.The difference obtained after configuration data configData is parsed Alienation configuration information is labeled as diffConfig.
Step S33, differentiation configuration information is preserved to the application catalogue of the internal memory of local device.
Specifically, above-mentioned application catalogue is the corresponding catalogue of Mobile solution.In view of the security of storage, preferably by difference Change configuration information to be stored under the catalogue of the application of this in internal memory, without selecting to be stored in storage card, other application can be avoided It is illegal to read.
Step S34, Native functions are built according to the differentiation configuration information of storage.
Specific building process includes:Differentiation configuration information diffConfig is initialized, initialization is obtained and matches somebody with somebody Confidence ceases;According to initial configuration information architecture Native functions.It can also further include being given birth to according to differentiation configuration information Into the corresponding Native functions of differentiation configuration information or include the UI of Native functions.
It is understood that differentiation configuration information to be preserved to same to the application catalogue of the internal memory of local device When, the configuration information in default configuration data is replaced using the differentiation configuration information, so as to start in next time and in server During without configuration data Native functions are built using this differentiation configuration information.
The operation method of Mobile solution provided in an embodiment of the present invention, judges to whether there is in server in startup optimization The corresponding configuration data of version information of Mobile solution, differentiation configuration is obtained if there is then reading the configuration data and parsing Information, and then Native functions are built according to the differentiation configuration information, it is possible to achieve the mobilism of Native functions updates, and reaches The purpose of function renewal can be also realized using itself, it is not necessary to not updating for multiple platforms, channel or the application in region point Not Kai Fa channel bag, effectively reduce development cost and maintenance cost, it is ensured that the realization of sophisticated functions and good Consumer's Experience.
Embodiment 2
The embodiment of the present invention 2 provides a kind of running gear of Mobile solution, applied to the Mobile solution of terminal, referring to figure Structural representation shown in 4, including with lower module:
Configuration data judge module 410, the server for when Mobile solution startup optimization, judging Mobile solution connection In whether there is configuration data;
Update configuration module 420, for if it is, obtain configuration data, and according to configuration data build Native functions;
Default configuration module 430, for if not, the default configuration data stored according to Mobile solution builds Native work( Energy;
Module 440 is run, for running Mobile solution using the Native functions after building.
Further, configuration data judge module 410 is additionally operable to:Obtain the corresponding version information of Mobile solution;Judge movement Using in the server of connection whether there is the corresponding configuration data of version information.It is in the server for judging Mobile solution connection No have the corresponding configuration data of version information and include:Using version information in the server that Mobile solution is connected, lookup pair Whether the configuration data field answered is empty, if not, determining there is the configuration data of Mobile solution in server.
Specifically, structural representation shown in Figure 5, updating configuration module 420 includes:
Reading unit 421, for reading configuration data;
Resolution unit 422, differentiation configuration information is obtained for parsing configuration data;
Storage unit 423, for differentiation configuration information to be preserved to the application catalogue of the internal memory of local device;Using Catalogue is the corresponding catalogue of Mobile solution;
Native formation functions unit 424, for building Native functions according to the differentiation configuration information of storage.
Further, structural representation shown in Figure 6, updating configuration module 420 also includes:Safety check unit 425, Security verification is carried out to configuration data, after verification passes through, the step of performing parsing configuration data.
Further, Native formation functions unit 424 is additionally operable to:Differentiation configuration information is initialized, obtained just Beginningization configuration information;According to initial configuration information architecture Native functions.
Further, Native formation functions unit 424 is additionally operable to:Differentiation is generated according to differentiation configuration information and matches somebody with somebody confidence Cease corresponding Native functions or include the UI of Native functions.
The running gear of Mobile solution provided in an embodiment of the present invention, judges to whether there is in server in startup optimization The corresponding configuration data of version information of Mobile solution, differentiation configuration is obtained if there is then reading the configuration data and parsing Information, and then Native functions are built according to the differentiation configuration information, it is possible to achieve the mobilism of Native functions updates, and reaches The purpose of function renewal can be also realized using itself, it is not necessary to not updating for multiple platforms, channel or the application in region point Not Kai Fa channel bag, effectively reduce development cost and maintenance cost, it is ensured that the realization of sophisticated functions and good Consumer's Experience.
The technique effect and preceding method embodiment phase of the device that the embodiment of the present invention is provided, its realization principle and generation Together, to briefly describe, device embodiment part does not refer to part, refers to corresponding contents in preceding method embodiment.
Unless specifically stated otherwise, part and the relative step of step, the digital table otherwise illustrated in these embodiments It is not limit the scope of the invention up to formula and numerical value.Flow chart and block diagram in accompanying drawing show multiple implementations according to the present invention The system of example, architectural framework in the cards, function and the operation of method and computer program product.At this point, flow chart Or each square frame in block diagram can represent a part for a module, program segment or code, above-mentioned module, program segment or code A part comprising it is one or more be used for realize as defined in logic function executable instructions.It should also be noted that in some works For in the realization of replacement, the function of being marked in square frame can also be with different from the order marked in accompanying drawing generation.For example, two Individual continuous square frame can essentially be performed substantially in parallel, and they can also be performed in the opposite order sometimes, and this is according to involved And function depending on.It is also noted that in each square frame and block diagram and/or flow chart in block diagram and/or flow chart The combination of square frame, can be realized, or can use with the special hardware based system of defined function or action is performed The combination of specialized hardware and computer instruction is realized.
Referring to Fig. 7, the embodiment of the present invention also provides a kind of terminal 100, including:Processor 70, memory 71, the He of bus 72 Communication interface 73, processor 70, communication interface 73 and memory 71 are connected by bus 72;Processor 70 is used to perform memory The executable module stored in 71, such as computer program.
Wherein, memory 71 may include high-speed random access memory (RAM, Random Access Memory), Non-labile memory (non-volatile memory), for example, at least one magnetic disk storage may also be included.By extremely A few communication interface 73 (can be wired or wireless) is realized logical between the system network element and at least one other network element Letter connection, can use internet, wide area network, LAN, Metropolitan Area Network (MAN) etc..
Bus 72 can be isa bus, pci bus or eisa bus etc..It is total that bus can be divided into address bus, data Line, controlling bus etc..For ease of representing, only represented in Fig. 7 with a four-headed arrow, it is not intended that only one bus or one The bus of type.
Wherein, memory 71 is used for storage program, and processor 70 is after execute instruction is received, and configuration processor 701 is foregoing The method performed by device that the stream process that any embodiment of the embodiment of the present invention is disclosed is defined can apply in processor 70, Or realized by processor 70.
Processor 70 is probably a kind of IC chip, the disposal ability with signal.In implementation process, above-mentioned side Each step of method can be completed by the integrated logic circuit of the hardware in processor 70 or the instruction of software form.Above-mentioned Processor 70 can be general processor, including central processing unit (Central Processing Unit, abbreviation CPU), network Processor (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (Digital Signal Processing, abbreviation DSP), application specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC), ready-made programmable gate array (Field-Programmable Gate Array, abbreviation FPGA) or other are programmable Logical device, discrete gate or transistor logic, discrete hardware components.It can realize or perform in the embodiment of the present invention Disclosed each method, step and logic diagram.General processor can be microprocessor or the processor can also be appointed What conventional processor etc..The step of method with reference to disclosed in the embodiment of the present invention, can be embodied directly in hardware decoding processing Device performs completion, or performs completion with the hardware in decoding processor and software module combination.Software module can be located at Machine memory, flash memory, read-only storage, programmable read only memory or electrically erasable programmable memory, register etc. are originally In the ripe storage medium in field.The storage medium is located at memory 71, and processor 70 reads the information in memory 71, with reference to The step of its hardware completes the above method.
What the embodiment of the present invention was provided moves the computer program product of the operation method of application, including stores The computer-readable recording medium of the executable non-volatile program code of processor, the instruction that described program code includes can use In performing the method described in previous methods embodiment, implement and can be found in embodiment of the method, will not be repeated here.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized using in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in the executable non-volatile computer read/write memory medium of a processor.Understood based on such, the present invention The part that is substantially contributed in other words to prior art of technical scheme or the part of the technical scheme can be with software The form of product is embodied, and the computer software product is stored in a storage medium, including some instructions are to cause One computer equipment (can be personal computer, server, or network equipment etc.) performs each embodiment institute of the invention State all or part of step of method.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read- Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with The medium of store program codes.
Finally it should be noted that:Embodiment described above, is only the embodiment of the present invention, to illustrate the present invention Technical scheme, rather than its limitations, protection scope of the present invention is not limited thereto, although with reference to the foregoing embodiments to this hair It is bright to be described in detail, it will be understood by those within the art that:Any one skilled in the art The invention discloses technical scope in, it can still modify to the technical scheme described in previous embodiment or can be light Change is readily conceivable that, or equivalent substitution is carried out to which part technical characteristic;And these modifications, change or replacement, do not make The essence of appropriate technical solution departs from the spirit and scope of technical scheme of the embodiment of the present invention, should all cover the protection in the present invention Within the scope of.Therefore, protection scope of the present invention described should be defined by scope of the claims.

Claims (10)

1. a kind of operation method of Mobile solution, it is characterised in that applied to the Mobile solution of terminal, including:
When the Mobile solution startup optimization, configuration data is whether there is in the server for judging the Mobile solution connection;
If it is, obtaining the configuration data, and Native functions are built according to the configuration data;
If not, the default configuration data stored according to the Mobile solution builds Native functions;
The Mobile solution is run using the Native functions after structure.
2. according to the method described in claim 1, it is characterised in that be in the server for judging the Mobile solution connection No have configuration data and include:
Obtain the corresponding version information of the Mobile solution;
It whether there is the corresponding configuration data of the version information in the server for judging the Mobile solution connection.
3. method according to claim 2, it is characterised in that whether deposited in the server for judging the Mobile solution connection Include in the corresponding configuration data of the version information:
Using the version information in the server that the Mobile solution is connected, search corresponding configuration data field whether be It is empty;If not, determining there is the configuration data of the Mobile solution in the server.
4. according to the method described in claim 1, it is characterised in that described to obtain the configuration data, and according to the configuration Data, which build Native functions, to be included:
Read the configuration data;
Parse the configuration data and obtain differentiation configuration information;
The differentiation configuration information is preserved to the application catalogue of the internal memory of local device;The application catalogue is moved to be described It is dynamic to apply corresponding catalogue;
Native functions are built according to the differentiation configuration information of storage.
5. method according to claim 4, it is characterised in that after the reading configuration data, in addition to:To institute State configuration data and carry out security verification, after verification passes through, the step of performing the parsing configuration data.
6. method according to claim 4, it is characterised in that described to be built according to the differentiation configuration information of storage Native functions include:
The differentiation configuration information is initialized, initial configuration information is obtained;
According to the initial configuration information architecture Native functions.
7. method according to claim 4, it is characterised in that described to be built according to the differentiation configuration information of storage Native functions include:
The corresponding Native functions of the differentiation configuration information are generated or including described according to the differentiation configuration information The UI of Native functions.
8. a kind of running gear of Mobile solution, it is characterised in that applied to the Mobile solution of terminal, including:
Configuration data judge module, the service for when the Mobile solution startup optimization, judging the Mobile solution connection It whether there is configuration data in device;
Configuration module is updated, for if it is, obtain the configuration data, and Native work(is built according to the configuration data Energy;
Default configuration module, for if not, the default configuration data stored according to the Mobile solution builds Native functions;
Module is run, for running the Mobile solution using the Native functions after building.
9. device according to claim 8, it is characterised in that the configuration data judge module is additionally operable to:
Obtain the corresponding version information of the Mobile solution;
It whether there is the corresponding configuration data of the version information in the server for judging the Mobile solution connection.
10. device according to claim 8, it is characterised in that the renewal configuration module includes:
Reading unit, for reading the configuration data;
Resolution unit, differentiation configuration information is obtained for parsing the configuration data;
Storage unit, for the differentiation configuration information to be preserved to the application catalogue of the internal memory of local device;It is described to answer It is the corresponding catalogue of the Mobile solution with catalogue;
Native formation function units, for building Native functions according to the differentiation configuration information of storage.
CN201710375986.4A 2017-05-24 2017-05-24 Method and device for running mobile application Active CN107203397B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710375986.4A CN107203397B (en) 2017-05-24 2017-05-24 Method and device for running mobile application

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710375986.4A CN107203397B (en) 2017-05-24 2017-05-24 Method and device for running mobile application

Publications (2)

Publication Number Publication Date
CN107203397A true CN107203397A (en) 2017-09-26
CN107203397B CN107203397B (en) 2021-02-05

Family

ID=59906396

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710375986.4A Active CN107203397B (en) 2017-05-24 2017-05-24 Method and device for running mobile application

Country Status (1)

Country Link
CN (1) CN107203397B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111857801A (en) * 2020-07-08 2020-10-30 广州云徙科技有限公司 Construction method of mobile application
CN112988177A (en) * 2021-04-16 2021-06-18 腾讯科技(深圳)有限公司 Application installation package issuing method, application program running method, server and terminal
CN114500718A (en) * 2021-12-27 2022-05-13 天翼云科技有限公司 Cloud mobile phone management method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102736946A (en) * 2011-04-11 2012-10-17 阿里巴巴集团控股有限公司 Batch application node deploying method and device
CN103745158A (en) * 2014-01-26 2014-04-23 北京奇虎科技有限公司 Method and device for repairing system bugs
CN104063239A (en) * 2013-03-22 2014-09-24 腾讯科技(深圳)有限公司 Application program update method of mobile terminal, server and client
CN104777771A (en) * 2014-01-09 2015-07-15 福特全球技术公司 Vehicle and system for updating configuration of module to support different function
US20150370812A1 (en) * 2014-06-24 2015-12-24 Google Inc. Search Results for Native Applications
CN105607895A (en) * 2014-11-21 2016-05-25 阿里巴巴集团控股有限公司 Operation method and device of application program on the basis of application program programming interface

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102736946A (en) * 2011-04-11 2012-10-17 阿里巴巴集团控股有限公司 Batch application node deploying method and device
CN104063239A (en) * 2013-03-22 2014-09-24 腾讯科技(深圳)有限公司 Application program update method of mobile terminal, server and client
CN104777771A (en) * 2014-01-09 2015-07-15 福特全球技术公司 Vehicle and system for updating configuration of module to support different function
CN103745158A (en) * 2014-01-26 2014-04-23 北京奇虎科技有限公司 Method and device for repairing system bugs
US20150370812A1 (en) * 2014-06-24 2015-12-24 Google Inc. Search Results for Native Applications
CN105607895A (en) * 2014-11-21 2016-05-25 阿里巴巴集团控股有限公司 Operation method and device of application program on the basis of application program programming interface

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111857801A (en) * 2020-07-08 2020-10-30 广州云徙科技有限公司 Construction method of mobile application
CN112988177A (en) * 2021-04-16 2021-06-18 腾讯科技(深圳)有限公司 Application installation package issuing method, application program running method, server and terminal
CN112988177B (en) * 2021-04-16 2023-08-01 腾讯科技(深圳)有限公司 Application installation package release method, application program operation method, server and terminal
CN114500718A (en) * 2021-12-27 2022-05-13 天翼云科技有限公司 Cloud mobile phone management method and device
CN114500718B (en) * 2021-12-27 2023-11-03 天翼云科技有限公司 Cloud mobile phone management method and device

Also Published As

Publication number Publication date
CN107203397B (en) 2021-02-05

Similar Documents

Publication Publication Date Title
US10558474B2 (en) Media information processing method, mobile terminal, and storage medium
CN105763602B (en) A kind of method of data request processing, server and system
CN104636139B (en) One kind visualizes cross-platform mobile application exploitation and generation system
CN106502725B (en) Upgrade method, equipment and the electronic equipment of application program
CN105511911B (en) The generation method and device of system firmware upgrade package
US9766870B2 (en) Bundle package generation
CN107577509A (en) A kind of method, terminal and computer-readable recording medium for loading application interface
US20110078667A1 (en) Static code analysis for packaged application customization
CN106843976B (en) Method and apparatus for generating image file
US20190295131A1 (en) Advertisement placement method, plug-in, browser, computing device, and storage medium
CN105554577B (en) A kind of method, apparatus and smart television of smart television OTA upgrading
CN107203397A (en) The operation method and device of Mobile solution
CN106802807A (en) Application delivery method, container platform and application delivery system based on container platform
US8607191B2 (en) Automated discovery of programmatic resources
CN107291759A (en) The treating method and apparatus of browser page resource
CN107844352A (en) A kind of application interface collocation method and device
CN108664294A (en) The method and apparatus and electronic equipment and storage medium of presentation masking-out figure
CN107463406A (en) Issue the method and electronic equipment of Mobile solution
CN109525584A (en) A method of the building cross-platform polymorphic type application container in mobile terminal
CN107402792A (en) Integrated approach, device, equipment and the storage medium of application software installation kit
CN110286903A (en) Construction method, device, equipment and the storage medium of user information list
CN108089870A (en) For repairing the method and apparatus of application
CN106293849A (en) A kind of application update method and terminal
US20080196009A1 (en) Apparatus and method for componentizing legacy system
CN107273172A (en) A kind of data handling system based on business packet, method and device

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