+

CN109446796A - Application control method and device, mobile terminal and storage medium - Google Patents

Application control method and device, mobile terminal and storage medium Download PDF

Info

Publication number
CN109446796A
CN109446796A CN201811095841.XA CN201811095841A CN109446796A CN 109446796 A CN109446796 A CN 109446796A CN 201811095841 A CN201811095841 A CN 201811095841A CN 109446796 A CN109446796 A CN 109446796A
Authority
CN
China
Prior art keywords
language
packet
installation kit
pack
object language
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811095841.XA
Other languages
Chinese (zh)
Inventor
邓生金
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Dajia Internet Information Technology Co Ltd
Original Assignee
Beijing Dajia Internet 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 Beijing Dajia Internet Information Technology Co Ltd filed Critical Beijing Dajia Internet Information Technology Co Ltd
Priority to CN201811095841.XA priority Critical patent/CN109446796A/en
Publication of CN109446796A publication Critical patent/CN109446796A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/50Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems
    • G06F21/51Monitoring users, programs or devices to maintain the integrity of platforms, e.g. of processors, firmware or operating systems at application loading time, e.g. accepting, rejecting, starting or inhibiting executable software based on integrity or source reliability
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/03Indexing scheme relating to G06F21/50, monitoring users, programs or devices to maintain the integrity of platforms
    • G06F2221/033Test or assess software

Landscapes

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

Abstract

The disclosure is directed to a kind of application control methods and device, mobile terminal and storage medium, the method comprise the steps that the installation kit of downloading and installation targets application program;During operational objective application program, when the second language in addition to preset language need to be used, the corresponding object language packet of the second language is loaded from the distribution platform of the installation kit;It installs and calls the object language packet.Pass through the application control method of the disclosure, the corresponding language pack of preset language is only added in application program installation kit, the second language in addition to preset language is if desired used in application program operational process, from the corresponding language pack of dynamically load second language on application issued platform, it is not necessary that the corresponding language pack of whole language is added in application program installation kit, therefore the volume of application program installation kit can be effectively reduced, the installation speed of application program installation kit is promoted.

Description

Application control method and device, mobile terminal and storage medium
Technical field
This disclosure relates to application-development technologies field more particularly to a kind of application control method and device, shifting Dynamic terminal and storage medium.
Background technique
Application developer makes application program installation kit, by made installation kit in development and application program It is distributed to line upper mounting plate, user downloads application program installation kit from line upper mounting plate, and what installation was downloaded on the terminal device answers With the application program can be used after program installation kit on the terminal device.
By largely counting it is found that the volume of application program installation kit is to influence the key factor of application program download. Such as: for application program installation kit volume within 10M, the user for having 80% downloads installation;If application program installation kit volume In 10M-20M, then the user that the application program is installed in downloading may drop to 70%.
As it can be seen that there is an urgent need to those skilled in the art to seek one kind effectively in order to promote the downloading installation rate of application program Reduce the method for application program installation kit volume.
Summary of the invention
To overcome the problems in correlation technique, present disclose provides a kind of application control methods and device, shifting Dynamic terminal and storage medium.
According to the first aspect of the embodiments of the present disclosure, a kind of application control method is provided, wherein the method packet It includes: downloading the installation kit of simultaneously installation targets application program, wherein include the corresponding language pack of preset language in the installation kit; During running the destination application, when the second language in addition to the preset language need to be used, from the peace It fills and loads the corresponding object language packet of the second language on the distribution platform of packet;It installs and calls the object language packet.
It is optionally, described that the corresponding object language packet of the second language is loaded from the distribution platform of the installation kit, It include: to send the downloading request of object language packet to the distribution platform, wherein the target application journey is carried in the request The mark of the version number identifier of sequence and the second language;Receive the object language packet that the distribution platform returns;To described Object language packet carries out validation verification;If the object language is surrounded by effect, executes the installation and call the target language The step of speech packet.
Optionally, described that validation verification is carried out to the object language packet, comprising: according to MD5 algorithm to the target Language pack is encrypted, and obtains the first MD5 value;Described second will prestored in the first MD5 value and the installation kit The corresponding MD5 value of language is compared;If the two is identical, determine that the object language is surrounded by effect;If the two is different, described in determination Object language packet is invalid.
Optionally, described to install and call the object language packet, comprising: the object language packet is added to system money In the index file path of source manager;Described in the system loads when second language resource, from the index file path Call the respective resources in the object language packet.
Optionally, the destination application supports multilingual, in the multilingual in addition to the preset language Each second language respectively corresponds a language pack, and each language pack is released to respectively on the distribution platform.
According to the second aspect of an embodiment of the present disclosure, a kind of application program controlling device is provided, wherein described device packet Include: installation module is configured as the installation kit of downloading and installation targets application program, wherein comprising default in the installation kit The corresponding language pack of language;Loading module is configured as during running the destination application, when need to use except institute When stating the second language outside preset language, the corresponding target language of the second language is loaded from the distribution platform of the installation kit Speech packet;Language pack installs module, is configured as installing and calls the object language packet.
Optionally, the loading module includes: sending submodule, is configured as in the mistake for running the destination application Cheng Zhong, when that need to use the second language in addition to the preset language, Xiang Suoshu distribution platform sends the downloading of object language packet and asks It asks, wherein the version number identifier of the destination application and the mark of the second language are carried in the request;It connects Submodule is received, is configured as receiving the object language packet that the distribution platform returns;Submodule is verified, is configured as to the mesh It marks language pack and carries out validation verification;Submodule is called to call described in execution if being configured as the object language is surrounded by effect Language pack installs module.
Optionally, the verifying submodule includes: encryption unit, is configured as according to MD5 algorithm to the object language Packet is encrypted, and obtains the first MD5 value;Comparing unit, being configured as will be pre- in the first MD5 value and the installation kit The corresponding MD5 value of the second language deposited is compared;As a result determination unit, if it is identical to be configured as the two, determine described in Object language is surrounded by effect;If the two is different, determine that the object language packet is invalid.
Optionally, the language pack installs module, comprising: addition submodule is configured as the object language Bao Tian It adds in the index file path of system resource managers;Submodule is called, the second language described in the system loads is configured as When saying resource, from the respective resources called in the index file path in the object language packet.
Optionally, the destination application supports multilingual, in the multilingual in addition to the preset language Each second language respectively corresponds a language pack, and each language pack is released to respectively on the distribution platform.
According to the third aspect of an embodiment of the present disclosure, a kind of mobile terminal is provided, comprising: processor;It is handled for storage The memory of device executable instruction;Wherein, the processor is configured to executing any of the above-described kind of application control method.
According to a fourth aspect of embodiments of the present disclosure, a kind of non-transitorycomputer readable storage medium is provided, when described When instruction in storage medium is executed by the processor of mobile terminal, so that any of the above-described kind of application program control of mobile terminal execution Method processed.
According to a fifth aspect of the embodiments of the present disclosure, it provides according to a kind of computer program product, when the computer journey When instruction in sequence product is executed by the processor of mobile terminal, so that any of the above-described kind of application program controlling of mobile terminal execution Method.
The technical scheme provided by this disclosed embodiment can include the following benefits:
The application program controlling scheme that embodiment of the disclosure provides downloads the installation kit of simultaneously installation targets application program, Only include the corresponding language pack of preset language in installation kit, during operational objective application program, is preset when that need to use to remove When second language outside language, the corresponding target language of second language is loaded from the distribution platform of the installation kit of destination application Speech packet;Simultaneously invocation target language pack is installed.By the application control method of the embodiment of the present disclosure, in application program installation kit It is only added with the corresponding language pack of preset language, second in addition to preset language is if desired used in application program operational process Language, from the corresponding language pack of dynamically load second language on application issued platform, it is not necessary that whole language are corresponding Language pack be added in application program installation kit, therefore the volume of application program installation kit can be effectively reduced, promotion is answered With the installation speed and downloading rate of program installation kit.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.
Fig. 1 is a kind of step flow chart of application control method shown according to an exemplary embodiment;
Fig. 2 is a kind of step flow chart of application control method shown according to an exemplary embodiment;
Fig. 3 is a kind of block diagram of application program controlling device shown according to an exemplary embodiment;
Fig. 4 is a kind of structural block diagram of mobile terminal shown according to an exemplary embodiment.
Specific embodiment
Example embodiments are described in detail here, and the example is illustrated in the accompanying drawings.Following description is related to When attached drawing, unless otherwise indicated, the same numbers in different drawings indicate the same or similar elements.Following exemplary embodiment Described in embodiment do not represent all implementations consistent with this disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
Fig. 1 is a kind of flow chart of application control method shown according to an exemplary embodiment, as shown in Figure 1 Application control method is in terminal device, comprising the following steps:
Step 101: downloading the installation kit of simultaneously installation targets application program.
It wherein, include the corresponding language pack of preset language in installation kit.Preset language can be one or more language, in advance If the specific languages of language can be configured according to actual needs by developer.Such as: Chinese, English are set by preset language Masses' languages such as text, preset language are referred to alternatively as necessary language again, the rare foreign languages such as Arabic, Spanish are then made For second language, second language is referred to alternatively as inessential language again.
Developer is divided into two parts in the installation kit of development goal application program, for language pack, and one It is divided into necessary language pack, another part is inessential language pack, and necessary language pack is only packed into target application journey by developer In the installation kit of sequence, and inessential language pack then can be individually distributed on distribution platform, be packaged compared to by whole language packs Mode into the installation kit of destination application can greatly reduce the volume of the installation kit of destination application.Due to mesh The installation kit for marking application program is small in size, memory space that is time-consuming short and can saving storage installation kit when user installation, more by User's favor.
Step 102: during operational objective application program, when the second language in addition to preset language need to be used, The corresponding object language packet of second language is loaded from the distribution platform of the installation kit of destination application.
If preset language is Chinese in the installation kit of destination application, and the terminal device of installation targets application program In the case that system is English, determines year during operational objective application program, need using second language, then from publication The corresponding object language packet of English is loaded on platform.
Publication has the corresponding language pack of each second language on distribution platform, in actual use, according to there is target to answer It can be to the corresponding language of the supported each second language of distribution platform request of loading destination application with the terminal device of program Packet.
Step 103: simultaneously invocation target language pack is installed.
Terminal device is locally-installed have object language packet after, system can by resource corresponding in object language packet dynamic plus It is downloaded on destination application, second language is shown in destination application.
Application control method shown in the present exemplary embodiment downloads the installation kit of simultaneously installation targets application program, Only include the corresponding language pack of preset language in installation kit, during operational objective application program, is preset when that need to use to remove When second language outside language, the corresponding object language packet of second language is loaded from the distribution platform of installation kit;It installs and adjusts With object language packet.It is only added with by the application control method of the embodiment of the present disclosure, in application program installation kit default If desired the corresponding language pack of language, uses the second language in addition to preset language in application program operational process, from application The corresponding language pack of dynamically load second language on program distribution platform, without adding the corresponding language pack of whole language It adds in application program installation kit, therefore the volume of application program installation kit can be effectively reduced, promote application program installation kit Installation speed.
Fig. 2 is a kind of flow chart of application control method shown according to an exemplary embodiment, as shown in Figure 2 Application control method is for including the following steps in terminal device.
Step 201: downloading the installation kit of simultaneously installation targets application program.
Destination application supports multilingual, and each second language in multilingual in addition to preset language respectively corresponds one A language pack, each language pack are released on distribution platform respectively, only include preset language for language packet portion in installation kit Corresponding language pack.
Destination application developer, will be inessential after the installation kit progress resource to destination application has merged Language pack is removed from source resource file, and each language pack of removal is passed through APPT (Android Asset Packaging Tool manages the tool of resource file) independent language pack is generated, and each independent language pack is published on distribution platform. Wherein, inessential language pack, that is, corresponding voice packet of each second language, the corresponding language pack of necessary language pack, that is, preset language.
Optionally implementation is one kind, independently by each inessential language pack, that is, corresponding language pack of each second language A language pack is generated, this kind of mode only loads the corresponding language of a certain second language in load object language Bao Shike specific aim Packet can reduce load burden.But not limited to this, it can also be by the corresponding language pack of two or more second language It is issued after integration.
Step 202: during operational objective application program, when the second language in addition to preset language need to be used, The downloading request of object language packet is sent to distribution platform.
It only include the corresponding language pack of preset language in the destination application installation kit that terminal device is installed, therefore It when system language is the second language outside preset language, then needs using second language, therefore obtains the second language of downloading to publication Say the downloading request of corresponding object language packet.
Wherein, the version number identifier of destination application and the mark of second language are carried in request.
Step 203: receiving the object language packet that distribution platform returns.
Distribution platform can navigate to object language packet, and target language by each mark entrained in downloading request Speech packet is back to terminal device, and terminal device receives the object language packet that distribution platform returns.
Step 204: validation verification is carried out to object language packet.
A method of validation verification optionally being carried out to object language packet are as follows:
Firstly, object language packet is encrypted according to MD5 algorithm, the first MD5 value is obtained;
Secondly, the corresponding MD5 value of the second language prestored in the first MD5 value and installation kit is compared;If the two It is identical, determine that object language is surrounded by effect;If the two is different, determine that object language packet is invalid.
It is that each second language is correspondingly arranged on MD5 value in the installation kit of destination application, each MD5 value is by right It is generated after the corresponding language pack foundation MD5 algorithm for encryption of second language.The MD5 value prestored in the installation kit of destination application, For the object language packet whether effective judgment basis downloaded as judgement.
Step 205: if object language is surrounded by effect, simultaneously invocation target language pack being installed.
In the embodiment of the present disclosure, just it is installed after determining that object language is surrounded by effect, can be avoided terminal device The set-up time of invalid targets language pack consumption is installed.
When simultaneously invocation target language pack is installed, object language packet can be added to the index file road of system resource managers In diameter;When system loads second language resource, from the respective resources in index file path in invocation target language pack, target language Resource in speech packet can be dynamically loaded on destination application, and the interior of corresponding language can be shown in destination application Hold.
Application control method shown in the present exemplary embodiment, except with application program controlling side shown in Fig. 1 Outside beneficial effect possessed by method, also the object language packet downloaded from distribution platform is effectively verified, can be avoided by Invalid targets language pack is installed to the local consumption set-up time.
Fig. 3 is a kind of block diagram of application program controlling device shown according to an exemplary embodiment, referring to Fig. 3 device It include: installation module 301, loading module 302 and language pack installation module 303.
Module 301 is installed, is configured as the installation kit of downloading and installation targets application program, wherein in the installation kit Include the corresponding language pack of preset language;Loading module 302 is configured as during running the destination application, When the second language in addition to the preset language need to be used, the second language is loaded from the distribution platform of the installation kit Corresponding object language packet;Language pack installs module 303, is configured as installing and calls the object language packet.
Optionally, the loading module 302 may include: sending submodule 3021, be configured as running the target During application program, when that need to use the second language in addition to the preset language, Xiang Suoshu distribution platform sends target Language pack downloading request, wherein the version number identifier and described second of the destination application is carried in the request The mark of language;Receiving submodule 3022 is configured as receiving the object language packet that the distribution platform returns;Verify submodule 3023, it is configured as carrying out validation verification to the object language packet;Submodule 3024 is called, if being configured as the target Language pack is effective, then calls and execute the language pack installation module.
Optionally, the verifying submodule 3023 may include: encryption unit, be configured as according to MD5 algorithm to described Object language packet is encrypted, and obtains the first MD5 value;Comparing unit is configured as the first MD5 value and the peace The corresponding MD5 value of the second language prestored in dress packet is compared;As a result determination unit, if it is identical to be configured as the two, Determine that the object language is surrounded by effect;If the two is different, determine that the object language packet is invalid.
Optionally, the language pack installation module 303 may include: addition submodule 3031, be configured as the mesh Mark language pack is added in the index file path of system resource managers;Submodule 3032 is called, the system is configured as When loading the second language resource, from the respective resources called in the index file path in the object language packet.
Optionally, the destination application supports multilingual, in the multilingual in addition to the preset language Each second language respectively corresponds a language pack, and each language pack is released to respectively on the distribution platform.
About the device in above-described embodiment, wherein modules execute the concrete mode of operation in related this method Embodiment in be described in detail, no detailed explanation will be given here.
Fig. 4 is a kind of block diagram of mobile terminal 600 shown according to an exemplary embodiment.For example, mobile terminal 600 can To be mobile phone, computer, digital broadcasting terminal, messaging device, game console, tablet device, Medical Devices are good for Body equipment, personal digital assistant etc..
Referring to Fig. 4, mobile terminal 600 may include following one or more components: processing component 602, memory 604, Power supply module 606, multimedia component 608, audio component 610, the interface 612 of input/output (I/O), sensor module 614, And communication component 616.
The integrated operation of the usually control mobile terminal 600 of processing component 602, such as with display, call, data are logical Letter, camera operation and record operate associated operation.Processing component 602 may include one or more processors 620 to hold Row instruction, to perform all or part of the steps of the methods described above.In addition, processing component 602 may include one or more moulds Block, convenient for the interaction between processing component 602 and other assemblies.For example, processing component 602 may include multi-media module, with Facilitate the interaction between multimedia component 608 and processing component 602.
Memory 604 is configured as storing various types of data to support the operation in mobile terminal 600.These data Example include any application or method for being operated on mobile terminal 600 instruction, contact data, telephone directory Data, message, picture, video etc..Memory 604 can by any kind of volatibility or non-volatile memory device or it Combination realize, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM) is erasable Except programmable read only memory (EPROM), programmable read only memory (PROM), read-only memory (ROM), magnetic memory, fastly Flash memory, disk or CD.
Power supply module 606 provides electric power for the various assemblies of mobile terminal 600.Power supply module 606 may include power supply pipe Reason system, one or more power supplys and other with for mobile terminal 600 generate, manage, and distribute the associated component of electric power.
Multimedia component 608 includes the screen of one output interface of offer between mobile terminal 600 and user.One In a little embodiments, screen may include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive input signal from the user.Touch panel includes one or more touch sensings Device is to sense the gesture on touch, slide, and touch panel.The touch sensor can not only sense touch or sliding action Boundary, but also detect duration and pressure associated with the touch or slide operation.In some embodiments, more matchmakers Body component 608 includes a front camera and/or rear camera.When mobile terminal 600 is in operation mode, as shot mould When formula or video mode, front camera and/or rear camera can receive external multi-medium data.Each preposition camera shooting Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio component 610 is configured as output and/or input audio signal.For example, audio component 610 includes a Mike Wind (MIC), when mobile terminal 600 is in operation mode, when such as call mode, recording mode, and voice recognition mode, microphone It is configured as receiving external audio signal.The received audio signal can be further stored in memory 604 or via logical Believe that component 616 is sent.In some embodiments, audio component 610 further includes a loudspeaker, is used for output audio signal.
I/O interface 612 provides interface between processing component 602 and peripheral interface module, and above-mentioned peripheral interface module can To be keyboard, click wheel, button etc..These buttons may include, but are not limited to: home button, volume button, start button and lock Determine button.
Sensor module 614 includes one or more sensors, for providing the state of various aspects for mobile terminal 600 Assessment.For example, sensor module 614 can detecte the state that opens/closes of mobile terminal 600, the relative positioning of component, example As the component be mobile terminal 600 display and keypad, sensor module 614 can also detect mobile terminal 600 or The position change of 600 1 components of mobile terminal, the existence or non-existence that user contacts with mobile terminal 600, mobile terminal 600 The temperature change of orientation or acceleration/deceleration and mobile terminal 600.Sensor module 614 may include proximity sensor, be configured For detecting the presence of nearby objects without any physical contact.Sensor module 614 can also include optical sensor, Such as CMOS or ccd image sensor, for being used in imaging applications.In some embodiments, which may be used also To include acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 616 is configured to facilitate the communication of wired or wireless way between mobile terminal 600 and other equipment. Mobile terminal 600 can access the wireless network based on communication standard, such as WiFi, 2G or 3G or their combination.Show at one In example property embodiment, communication component 616 receives broadcast singal or broadcast from external broadcasting management system via broadcast channel Relevant information.In one exemplary embodiment, the communication component 616 further includes near-field communication (NFC) module, short to promote Cheng Tongxin.For example, radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra wide band can be based in NFC module (UWB) technology, bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, mobile terminal 600 can be by one or more application specific integrated circuit (ASIC), number Word signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for executing shown in above-mentioned Fig. 1 to Fig. 2 Application control method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided It such as include the memory 604 of instruction, above-metioned instruction can be executed by the processor 620 of mobile terminal 600 to complete above-mentioned Fig. 1 to figure Application control method shown in 2.For example, the non-transitorycomputer readable storage medium can be ROM, deposit at random Access to memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc..
In the exemplary embodiment, a kind of computer program product is additionally provided, when in the computer program product When instruction is executed by the processor 620 of mobile terminal 600, so that mobile terminal 600 is completed above-mentioned Fig. 1 and is answered to shown in Fig. 2 Use control method.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present invention is not limited to the precise structure already described above and shown in the accompanying drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present invention is limited only by the attached claims.

Claims (12)

1. a kind of application control method, which is characterized in that the described method includes:
Download the installation kit of simultaneously installation targets application program, wherein include the corresponding language pack of preset language in the installation kit;
During running the destination application, when the second language in addition to the preset language need to be used, from institute It states and loads the corresponding object language packet of the second language on the distribution platform of installation kit;
It installs and calls the object language packet.
2. the method according to claim 1, wherein it is described from the distribution platform of the installation kit load described in The corresponding object language packet of second language, comprising:
The downloading request of object language packet is sent to the distribution platform, wherein the target application journey is carried in the request The mark of the version number identifier of sequence and the second language;
Receive the object language packet that the distribution platform returns;
Validation verification is carried out to the object language packet;
If the object language is surrounded by effect, the step of executing the installation and call the object language packet.
3. according to the method described in claim 2, it is characterized in that, it is described to the object language packet carry out validation verification, Include:
The object language packet is encrypted according to MD5 algorithm, obtains the first MD5 value;
The corresponding MD5 value of the second language prestored in the first MD5 value and the installation kit is compared;
If the two is identical, determine that the object language is surrounded by effect;
If the two is different, determine that the object language packet is invalid.
4. the method according to claim 1, wherein described install and call the object language packet, comprising:
The object language packet is added in the index file path of system resource managers;
Described in the system loads when second language resource, called in the object language packet from the index file path Respective resources.
5. the method according to claim 1, wherein destination application support multilingual, described more Each second language in kind language in addition to the preset language respectively corresponds a language pack, and each language pack is published respectively On to the distribution platform.
6. a kind of application program controlling device, which is characterized in that described device includes:
Module is installed, the installation kit of downloading and installation targets application program is configured as, wherein comprising default in the installation kit The corresponding language pack of language;
Loading module is configured as during running the destination application, when need to use in addition to the preset language Second language when, the corresponding object language packet of the second language is loaded from the distribution platform of the installation kit;
Language pack installs module, is configured as installing and calls the object language packet.
7. device according to claim 6, which is characterized in that the loading module includes:
Sending submodule is configured as during running the destination application, when need to use except the preset language When outer second language, Xiang Suoshu distribution platform sends the downloading request of object language packet, wherein carries in the request described The mark of the version number identifier of destination application and the second language;
Receiving submodule is configured as receiving the object language packet that the distribution platform returns;
Submodule is verified, is configured as carrying out validation verification to the object language packet;
Submodule is called, if being configured as the object language is surrounded by effect, calls and executes the language pack installation module.
8. device according to claim 7, which is characterized in that the verifying submodule includes:
Encryption unit is configured as that the object language packet is encrypted according to MD5 algorithm, obtains the first MD5 value;
Comparing unit is configured as the corresponding MD5 of the second language that will be prestored in the first MD5 value and the installation kit Value is compared;
As a result determination unit determines that the object language is surrounded by effect if it is identical to be configured as the two;If the two is different, institute is determined It is invalid to state object language packet.
9. device according to claim 6, which is characterized in that the language pack installs module, comprising:
Submodule is added, is configured as the object language packet being added in the index file path of system resource managers;
Submodule is called, when being configured as second language resource described in the system loads, is adjusted from the index file path With the respective resources in the object language packet.
10. device according to claim 6, which is characterized in that the destination application supports multilingual, described more Each second language in kind language in addition to the preset language respectively corresponds a language pack, and each language pack is published respectively On to the distribution platform.
11. a kind of mobile terminal characterized by comprising
Processor;
Memory for storage processor executable instruction;
Wherein, the processor is configured to executing application control method according to any one of claims 1 to 5.
12. a kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal When device executes, so that mobile terminal is able to carry out application control method as described in any one in claim 1-5.
CN201811095841.XA 2018-09-19 2018-09-19 Application control method and device, mobile terminal and storage medium Pending CN109446796A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811095841.XA CN109446796A (en) 2018-09-19 2018-09-19 Application control method and device, mobile terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811095841.XA CN109446796A (en) 2018-09-19 2018-09-19 Application control method and device, mobile terminal and storage medium

Publications (1)

Publication Number Publication Date
CN109446796A true CN109446796A (en) 2019-03-08

Family

ID=65533027

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811095841.XA Pending CN109446796A (en) 2018-09-19 2018-09-19 Application control method and device, mobile terminal and storage medium

Country Status (1)

Country Link
CN (1) CN109446796A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795192A (en) * 2019-10-29 2020-02-14 青岛海信传媒网络技术有限公司 Language switching method and device and terminal equipment
CN111241852A (en) * 2020-01-07 2020-06-05 北京字节跳动网络技术有限公司 File translation method, device, terminal and storage medium
CN111736824A (en) * 2020-02-13 2020-10-02 北京京东尚科信息技术有限公司 Data processing method and device for application program, electronic equipment and storage medium
CN116155725A (en) * 2023-03-03 2023-05-23 广州盈风网络科技有限公司 Application program installation method, device, equipment and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508678A (en) * 2011-10-17 2012-06-20 李建成 Method and system for replacing skins
CN104020991A (en) * 2014-05-16 2014-09-03 可牛网络技术(北京)有限公司 Method and device for multi-language switching of application program
CN105824633A (en) * 2016-03-16 2016-08-03 北京小米移动软件有限公司 Multi-language resource switching method and device of application program
CN106227512A (en) * 2016-07-07 2016-12-14 网易(杭州)网络有限公司 The replacing skins method and device of application software display interface
CN106843986A (en) * 2017-02-15 2017-06-13 福建天晴在线互动科技有限公司 The language collocation method and system of a kind of mobile terminal

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102508678A (en) * 2011-10-17 2012-06-20 李建成 Method and system for replacing skins
CN104020991A (en) * 2014-05-16 2014-09-03 可牛网络技术(北京)有限公司 Method and device for multi-language switching of application program
CN105824633A (en) * 2016-03-16 2016-08-03 北京小米移动软件有限公司 Multi-language resource switching method and device of application program
CN106227512A (en) * 2016-07-07 2016-12-14 网易(杭州)网络有限公司 The replacing skins method and device of application software display interface
CN106843986A (en) * 2017-02-15 2017-06-13 福建天晴在线互动科技有限公司 The language collocation method and system of a kind of mobile terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110795192A (en) * 2019-10-29 2020-02-14 青岛海信传媒网络技术有限公司 Language switching method and device and terminal equipment
CN110795192B (en) * 2019-10-29 2023-08-25 Vidaa(荷兰)国际控股有限公司 Language switching method and device and terminal equipment
CN111241852A (en) * 2020-01-07 2020-06-05 北京字节跳动网络技术有限公司 File translation method, device, terminal and storage medium
CN111736824A (en) * 2020-02-13 2020-10-02 北京京东尚科信息技术有限公司 Data processing method and device for application program, electronic equipment and storage medium
CN116155725A (en) * 2023-03-03 2023-05-23 广州盈风网络科技有限公司 Application program installation method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104951335B (en) The processing method and processing device of application program installation kit
EP3418885B1 (en) Method and device for calling software development kit
CN104375828B (en) Memory Optimize Method and device
EP3151507A1 (en) Methods and apparatuses for controlling device
CN105553963B (en) The control method and device of positioning service
CN109446796A (en) Application control method and device, mobile terminal and storage medium
CN105512545B (en) Access rights management method and device
US20170185988A1 (en) Mpayment method and apparatus
CN104484200A (en) Method and device for updating firmware
EP3324662A1 (en) Identity verification method, apparatus and system, computer program and recording medium
CN105094830A (en) Method and device for executing target functions
CN109669730A (en) A kind of process keepalive method, device, electronic equipment and medium
CN109358933A (en) Method and device for creating quick application
CN105183571A (en) Function calling method and device
CN106775903B (en) Security policy file updating method and device
CN104899059B (en) Operating system update method and device
CN104461358B (en) Light the method and device of screen
EP4132052A1 (en) Network connection method and device and readable storage medium
CN106598665A (en) Application installation method and device
CN106062762B (en) Application encryption method and device
CN104391742B (en) Optimizing application method and apparatus
CN105630548B (en) Method for updating system and device
CN112804589A (en) System configuration method, device and storage medium of digital television
CN110888822B (en) Memory processing method, device and storage medium
CN115951944A (en) Shortcut key setting method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20190308

RJ01 Rejection of invention patent application after publication
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载