CN104063225B - Screen locking theme development method and device - Google Patents
Screen locking theme development method and device Download PDFInfo
- Publication number
- CN104063225B CN104063225B CN201410300848.6A CN201410300848A CN104063225B CN 104063225 B CN104063225 B CN 104063225B CN 201410300848 A CN201410300848 A CN 201410300848A CN 104063225 B CN104063225 B CN 104063225B
- Authority
- CN
- China
- Prior art keywords
- script
- screen locking
- language
- locking theme
- file
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000011161 development Methods 0.000 title claims abstract description 153
- 238000000034 method Methods 0.000 title claims abstract description 37
- 238000013515 script Methods 0.000 claims abstract description 251
- 238000012545 processing Methods 0.000 claims abstract description 17
- 230000008569 process Effects 0.000 abstract description 10
- 238000010586 diagram Methods 0.000 description 8
- 230000006870 function Effects 0.000 description 6
- 238000004422 calculation algorithm Methods 0.000 description 4
- 238000006243 chemical reaction Methods 0.000 description 4
- 230000006835 compression Effects 0.000 description 2
- 238000007906 compression Methods 0.000 description 2
- 238000013461 design Methods 0.000 description 2
- OEBRKCOSUFCWJD-UHFFFAOYSA-N dichlorvos Chemical compound COP(=O)(OC)OC=C(Cl)Cl OEBRKCOSUFCWJD-UHFFFAOYSA-N 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000001681 protective effect Effects 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of screen locking theme development method and device, belong to field of terminal equipment.Methods described includes:According to the primary development language of mobile terminal operating system, it is determined that exploitation script, the language used when the primary development language is exploitation mobile terminal operating system;Obtain the corresponding script file of screen locking theme developed based on the exploitation script;Script file multimedia file corresponding with multimedia messages in the script file is compressed processing, screen locking theme bag is obtained.The present invention determines exploitation script by primary development language, and obtain the corresponding script file of screen locking theme developed based on the exploitation script, the script file can be directly by primary development language code call, screen locking theme is updated with this, used without the screen locking theme is integrated into the main application of screen locking, so as to simplify the development process of screen locking theme, the procurement cost and existing theme for greatly reducing new theme update cost.
Description
Technical field
The present invention relates to field of terminal equipment, more particularly to a kind of screen locking theme development method and device.
Background technology
With the fast development of mobile terminal, screen locking attracts tremendous attention as an important application in mobile terminal, and
Thus the exploitation of screen locking theme turns into focus of attention.
Generally, screen locking theme is developed by the primary development language of mobile terminal operating system, and will develop what is completed
Screen locking theme is integrated into the main application of screen locking, and mobile terminal is by downloading the main application of the screen locking, so as to obtain exploitation completion
Screen locking theme.
During the present invention is realized, inventor has found that prior art at least has problems with:
Because screen locking theme is developed by the primary development language of mobile terminal operating system, the screen locking completed is developed
Subject code is not in the case where being compiled, and the mobile terminal operating system can not be called to it, therefore, mobile terminal
Operating system also just can not the directly split screen locking theme distributed be downloaded renewal, and the screen locking theme can only be integrated into
Used in the main application of screen locking so that the development efficiency of screen locking theme is relatively low, obtain new theme or update existing theme into
Ben Taigao.
The content of the invention
In order to solve problem of the prior art, the embodiments of the invention provide a kind of screen locking theme development method and device.
The technical scheme is as follows:
First aspect includes there is provided a kind of screen locking theme development method, methods described:
According to the primary development language of mobile terminal operating system, it is determined that exploitation script, the primary development language
The language used during for exploitation mobile terminal operating system;
Obtain the corresponding script file of screen locking theme based on the exploitation script exploitation;
The corresponding multimedia file of multimedia messages in the script file and the script file is compressed processing,
Obtain screen locking theme bag.
Alternatively, the corresponding multimedia file of multimedia messages in the script file and the script file is pressed
Contracting is handled, and is obtained after screen locking theme bag, methods described also includes:
The screen locking theme bag is supplied to mobile terminal so that the mobile terminal receives the screen locking theme bag
When, the screen locking theme bag is decompressed, the script file is obtained.
Alternatively, according to the primary development language of mobile terminal operating system, it is determined that exploitation script includes:
Locally called according to the primary development language and primary development language of mobile terminal operating system, it is determined that with the original
Multiple scripts to be developed that raw development language matches;
Any of the multiple script to be developed script to be developed is defined as the exploitation script.
Alternatively, locally called according to the primary development language and primary development language of mobile terminal operating system, it is determined that
Include with multiple scripts to be developed that the primary development language matches:
Transformational relation between supported data type is locally called according to the primary development language, it is determined that with it is described
There is the data type of transformational relation in primary development language data type;
According to the data type of determination, it is determined that supporting multiple scripts to be developed of the data type of the determination.
Alternatively, the corresponding multimedia file of multimedia messages in the script file and the script file is pressed
Contracting is handled, and obtaining screen locking theme bag includes:
Script language code in the script file is encrypted, the script file after being encrypted;
The corresponding multimedia file of multimedia messages in script file after the encryption and the script file is carried out
Compression is handled, and obtains screen locking theme bag.
Second aspect includes there is provided a kind of screen locking theme development device, described device:
Script determining module is developed, for the primary development language according to mobile terminal operating system, it is determined that exploitation
Script, the language used when the primary development language is exploitation mobile terminal operating system;
Script file acquisition module, for obtaining the corresponding script of screen locking theme based on the exploitation script exploitation
File;
Screen locking theme bag acquisition module, for multimedia messages in the script file and the script file are corresponding
Multimedia file is compressed processing, obtains screen locking theme bag.
Alternatively, described device also includes:
Sending module, for the screen locking theme bag to be supplied into mobile terminal so that the mobile terminal receives institute
When stating screen locking theme bag, the screen locking theme bag is decompressed, the script file is obtained.
Alternatively, the exploitation script determining module includes:
Script determining unit to be developed, for the primary development language according to mobile terminal operating system and primary is opened
Hair language is locally called, it is determined that the multiple scripts to be developed matched with the primary development language;
Script determining unit is developed, for by any of the multiple script to be developed script language to be developed
Speech is defined as the exploitation script.
Alternatively, the script determining unit to be developed is additionally operable to locally call institute according to the primary development language
Transformational relation between the data type of support, it is determined that there are the data of transformational relation with the primary development language data type
Type;According to the data type of determination, it is determined that supporting multiple scripts to be developed of the data type of the determination.
Alternatively, the screen locking theme bag acquisition module is additionally operable to carry out the script language code in the script file
Encryption, the script file after being encrypted;By multimedia messages pair in the script file after the encryption and the script file
The multimedia file answered is compressed processing, obtains screen locking theme bag.
The beneficial effect that technical scheme provided in an embodiment of the present invention is brought is:
Exploitation script is determined by primary development language, and obtains the screen locking master developed based on the exploitation script
Corresponding script file is inscribed, due to the function that exploitation script can be provided by mobile terminal operating system, is opened with primary
Interacted between hair language, therefore the script file can be directly by primary development language code call, with this to screen locking theme
It is updated, is used without the screen locking theme is integrated into the main application of screen locking, so as to simplifies the exploitation of screen locking theme
Journey, improves the development efficiency of screen locking theme, and greatly reduces the procurement cost and existing theme renewal cost of new theme.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, makes required in being described below to embodiment
Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention, for
For those of ordinary skill in the art, on the premise of not paying creative work, other can also be obtained according to these accompanying drawings
Accompanying drawing.
Fig. 1 is a kind of screen locking theme development method flow diagram provided in an embodiment of the present invention;
Fig. 2 is a kind of screen locking theme development method flow diagram provided in an embodiment of the present invention;
Fig. 3 is that a kind of screen locking theme bag provided in an embodiment of the present invention downloads the flow chart used;
Fig. 4 is a kind of screen locking theme development apparatus structure schematic diagram provided in an embodiment of the present invention;
Fig. 5 is a kind of screen locking theme development device structure schematic diagram provided in an embodiment of the present invention.
Embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to embodiment party of the present invention
Formula is described in further detail.
Fig. 1 is a kind of screen locking theme development method flow diagram provided in an embodiment of the present invention.Referring to Fig. 1, the embodiment
Executive agent is screen locking theme development equipment, and this method includes:
101st, screen locking theme development equipment is according to the primary development language of mobile terminal operating system, it is determined that exploitation script language
Speech, the language used when the primary development language is exploitation mobile terminal operating system.
102nd, screen locking theme development equipment obtains the corresponding script text of screen locking theme developed based on the exploitation script
Part.
103rd, screen locking theme development equipment is by script file multimedia corresponding with multimedia messages in the script file
File is compressed processing, obtains screen locking theme bag.
Method provided in an embodiment of the present invention, exploitation script is determined by primary development language, and acquisition is based on being somebody's turn to do
The corresponding script file of screen locking theme of script exploitation is developed, because exploitation script can be operated by mobile terminal
The function that system is provided, is interacted between primary development language, therefore the script file can be directly by primary development language
Code call, is updated with this to screen locking theme, is used without the screen locking theme is integrated into the main application of screen locking, so that
Simplify the development process of screen locking theme, improve the development efficiency of screen locking theme, and greatly reduce the acquisition of new theme into
This and existing theme update cost.
Alternatively, script file multimedia file corresponding with multimedia messages in the script file is compressed place
Reason, is obtained after screen locking theme bag, this method also includes:
The screen locking theme bag is supplied to mobile terminal so that when the mobile terminal receives the screen locking theme bag, to this
Screen locking theme bag is decompressed, and obtains the script file.
Alternatively, according to the primary development language of mobile terminal operating system, it is determined that exploitation script includes:
Locally called according to the primary development language and primary development language of mobile terminal operating system, it is determined that primary with this
Multiple scripts to be developed that development language matches;
Any of the plurality of script to be developed script to be developed is defined as the exploitation script.
Alternatively, locally called according to the primary development language and primary development language of mobile terminal operating system, it is determined that
Include with multiple scripts to be developed that the primary development language matches:
Transformational relation between supported data type is locally called according to the primary development language, it is determined that primary with this
There is the data type of transformational relation in development language data type;
According to the data type of determination, it is determined that supporting multiple scripts to be developed of the data type of the determination.
Alternatively, script file multimedia file corresponding with multimedia messages in the script file is compressed place
Reason, obtaining screen locking theme bag includes:
Script language code in the script file is encrypted, the script file after being encrypted;
Script file multimedia file corresponding with multimedia messages in the script file after this is encrypted is compressed
Processing, obtains screen locking theme bag.
Fig. 2 is a kind of screen locking theme development method flow diagram provided in an embodiment of the present invention.Referring to Fig. 2, the embodiment
Executive agent is screen locking theme development equipment, and this method flow includes:
201st, screen locking theme development equipment is locally called between supported data type according to the primary development language
Transformational relation, it is determined that there is the data type of transformational relation with the primary development language data type, the primary development language is
The language used during exploitation mobile terminal operating system.
When exploitation mobile terminal is applied, it is optimal to be developed in principle using primary development language.But, for
For one mobile terminal application, if compiled using primary development language, it is necessary to which obtained code will be developed by further, then
Being embedded into operating system or application code to run, and under development frequent to whole operation system or application progress
Renewal is unfavorable for safeguarding, at this point it is possible to be write using other language, such as develops the renewal that mobile terminal is applied using script
The code of bag, is updated with this to mobile terminal application.
In order that the code that exploitation is obtained can be in running of mobile terminal, it is necessary to select one kind can be with primary development language
Between the language that calls mutually, it is thus necessary to determine that selected language can be parsed by mobile terminal, and according to parsing
The primary development language of call by result, that is to say, locally be called between supported data type according to the primary development language
Transformational relation, it is determined that there is the data type of transformational relation with the primary development language data type.For the lock of mobile terminal
Shield for theme, can be developed by script, due to the corresponding script of screen locking theme of scripting language
The process that code need not be compiled further, can be loaded directly into performing, so as to be in the script interpreter of the main application of screen locking
The renewal of screen locking theme is brought convenience.Wherein, the script can be Lua language, JavaScript language, Python languages
Speech, PHP (PHP:Hypertext Preprocessor, PHP:HyperText Preprocessor) language, Nuva language etc..
In the embodiment of the present invention, it is described in detail so that mobile terminal operating system is Android operation system as an example.Should
Step 201 is specially:Because the primary development language of Android operation system is Java language, then screen locking theme development equipment
The conversion between supported data type can be determined according to JNI (Java Native Interface, Java locally call)
Relation, it is determined that there is the data type of transformational relation with the Java language data type.
For example, the transformational relation between the data type that screen locking theme development equipment is supported according to JNI, such as Java language
Transformational relation between data type and C language data type, between Java language data type and C Plus Plus data type
Transformational relation etc., it is determined that the data type that there is transformational relation with the Java language data type is C language data type.
Wherein, the transformational relation between Java language data type and C language data type refers to that JNI can be by Java languages
Speech data type conversion is C language data type, can also be Java language data type by C language data type conversion.
Transformational relation between Java language data type and C Plus Plus data type similarly will not be repeated here.
202nd, screen locking theme development equipment is according to the data type of determination, it is determined that supporting the multiple of the data type of the determination
Script to be developed.
The step 202 is specially:Screen locking theme development equipment is selected according to the data type of determination from several scripts
The multiple scripts for the data type for supporting the determination are selected as script to be developed.
Example based on step 201, screen locking theme development equipment can be from Lua language, JavaScript language, Python
The script of selection support C language data type in the scripts such as language, PHP language, Nuva language, such as Lua language,
Python, PHP language are used as script to be developed.
203rd, screen locking theme development equipment determines any of the plurality of script to be developed script to be developed
For exploitation script.
Specifically, screen locking theme development equipment is according to obtained multiple scripts to be developed, from the plurality of pin to be developed
One or more scripts to be developed are arbitrarily selected in this language, and the script to be developed is defined as exploitation script language
Speech.
Example based on step 202, screen locking theme development equipment is selected from Lua language, Python, PHP language
One script to be developed, such as Lua language, are used as exploitation script.
204th, screen locking theme development equipment obtains the corresponding script text of screen locking theme developed based on the exploitation script
Part.
Specifically, because screen locking theme development equipment has been built between Java language and exploitation script according to JNI
Call bridge so that exploitation script can use the class, method, interface of all Java language codes offers, so as to obtain
All basic capacities of Java language, the exploitation script exploitation screen locking theme correspondence that now technical staff can be based on determination
Script file.
It should be noted that when selecting multiple scripts to be developed as exploitation script, technical staff can be with
Each had the special feature that and be used in conjunction with each other according to the plurality of script to be developed, for example, because Lua language has volume
Small, toggle speed is fast and is easy to be embedded in the features such as using in other Languages, it is possible to use Lua language carries out screen locking theme development,
And using the exploitation that screen locking theme is further carried out the features such as the network service of Python, graphics system, opened with this
Send out the corresponding script file of screen locking theme.
During screen locking theme development, JNI can provide Java language routine interface and C programmer interface, lead to
The interface of JNI offers is crossed, exploitation script can be by the conversion between Java language data type and C language data type
Relation is interacted with Java language, is finally completed the exploitation of screen locking theme.
In the embodiment of the present invention, exploitation script develops design to screen locking theme, due to exploitation script language
Speech can have multiple choices, therefore improve the flexibility of exploitation.
205th, the script language code in the script file is encrypted screen locking theme development equipment, after being encrypted
Script file.
For the rights and interests and the integrality of the script language code of protective development person, screen locking theme development equipment can be to obtaining
To script file be encrypted.The step 205 is specially:Screen locking theme development equipment is by the script in obtained script file
Language codes are encrypted using predetermined encryption algorithm, the script file after being encrypted so that other people can not obtain or repair
Change the script language code.
Wherein, predetermined encryption algorithm can be set by developer in exploitation, can also be by user in the process used
Middle adjustment, the embodiment of the present invention is not limited this.The predetermined encryption algorithm can be specifically AES (Advanced
Encryption Standard, Advanced Encryption Standard) algorithm etc..
206th, screen locking theme development equipment is corresponding with multimedia messages in the script file by the script file after encrypting
Multimedia file be compressed processing, obtain screen locking theme bag.
Specifically, due in addition to the script language code for including screen locking theme, also including many matchmakers in the script file
Body information, the multimedia messages are made up of the storing path of the multimedia files such as picture, audio, and screen locking theme development equipment should
The multimedia file corresponding to script file and multimedia messages after encryption is compressed processing, obtains screen locking theme bag.
In the embodiment of the present invention, the script file is a text-only file, and the script file can include script
Code, multimedia messages etc..Wherein, the multimedia messages can be the storing path of picture, the storing path of audio, and preserve
The mark of picture or audio, such as E can be included in path:Wenjian 1.jpg, it is seen that the picture identification is with picture name 1
Represent, the storing path is represented:The picture that picture name is 1 is stored in the file that E Disk names are wenjian;Again
Such as D:Yinpin 3.MP3, it is seen that the audio identification is represented with audio title 3, and the storing path is represented:Audio is entitled
3 audio file is stored in the file that D Disk names are yinpin.
207th, the screen locking theme bag is supplied to mobile terminal by screen locking theme development equipment so that the mobile terminal is received
During the screen locking theme bag, the screen locking theme bag is decompressed, the script file is obtained.
Specifically, the screen locking theme bag for developing completion is supplied to mobile terminal by screen locking theme development equipment, when the movement
When terminal receives the screen locking theme bag, the screen locking theme bag is decompressed, the script file of screen locking theme is obtained and is somebody's turn to do
The corresponding multimedia file of multimedia messages in script file, the script file of screen locking theme of the mobile terminal to obtaining is solved
It is close, obtain the script language code of the screen locking theme.The script language code of the screen locking theme is loaded into movement by mobile terminal
Performed in the script interpreter of the main application of terminal screen locking, obtain screen locking theme.
Wherein, screen locking theme development equipment will develop the screen locking theme bag that completes and be supplied to the process of mobile terminal, can be with
It is following any mode:
(1) when screen locking theme development equipment obtains the screen locking theme bag that exploitation is completed, screen locking theme development equipment is to movement
Terminal sends screen locking theme and updates request, when the mobile terminal, which receives screen locking theme, updates request, shows this more to user
New request, when user asks to determine to need to update the screen locking theme of mobile terminal according to the renewal, mobile terminal is from the screen locking
The screen locking theme bag is downloaded in theme development equipment.
(2) when screen locking theme development equipment obtains the screen locking theme bag that exploitation is completed, the screen locking theme is wrapped and reaches clothes
Business device, when server receives the screen locking theme bag, sends screen locking theme to mobile terminal and updates request, when the mobile terminal
When receiving screen locking theme renewal request, show that the renewal is asked to user, when user needs more according to request determination is updated
During the screen locking theme of new mobile terminal, mobile terminal downloads the screen locking theme bag from the server.Wherein, renewal request is used
There is new screen locking theme to download in prompting user, renewal request can include:The title of screen locking theme, screen locking theme
Content, styles of screen locking theme etc..
Certainly, screen locking theme development equipment can also be completed exploitation by the other modes in addition to above two mode
Screen locking theme bag be supplied to mobile terminal, the embodiment of the present invention is not limited this.
In order to preferably be illustrated to the process that the screen locking theme bag completed using exploitation is downloaded in the main application of screen locking, to lock
Exemplified by screen theme development equipment uploads onto the server the screen locking theme bag for developing completion, Fig. 3 is provided in an embodiment of the present invention
A kind of screen locking theme bag downloads the flow chart used.Referring to Fig. 3, when user needs to update mobile terminal according to request determination is updated
Screen locking theme when, mobile terminal downloads the screen locking theme bag from the server, and the screen locking theme bag is decompressed,
Obtain the script file multimedia file corresponding with multimedia messages in the script file of screen locking theme, and the screen locking to obtaining
The script file of theme is decrypted, and obtains the script language code of the screen locking theme.By the script generation of the screen locking theme
Code is loaded into the script interpreter of the main application of mobile terminal screen locking and performed, and obtains screen locking theme, so that mobile terminal is transported
The corresponding screen locking theme interface of the row screen locking theme.
Above-mentioned steps 201~207 are illustrated so that mobile terminal operating system is Android operation system as an example, and
For different mobile phone operating systems, its primary development language used and exploitation script can be and the embodiment of the present invention
Used in the primary development language that differs of language and exploitation script, it is possible to pass through the process of step 201~207
The purpose of exploitation screen locking theme is completed, which kind of programming language is the embodiment of the present invention be to primary development language and opened according to primary
Hair which kind of script of speech selection is not limited as exploitation script.
Method provided in an embodiment of the present invention, exploitation script is determined by primary development language, and acquisition is based on being somebody's turn to do
The corresponding script file of screen locking theme of script exploitation is developed, because exploitation script can be operated by mobile terminal
The function that system is provided, is interacted between primary development language, therefore the script file can be directly by primary development language
Code call, is updated with this to screen locking theme, is used without the screen locking theme is integrated into the main application of screen locking, so that
Simplify the development process of screen locking theme, improve the development efficiency of screen locking theme, and greatly reduce the acquisition of new theme into
This and existing theme update cost.Further, exploitation script exploitation screen locking theme, what is obtained is one section of script language
Say code, and the script language code data volume it is minimum and it is convenient download so that greatly reducing user updates screen locking theme
Time cost and flow cost, and exploitation script locally called by primary development language, obtains primary exploitation language
Having the ability for speech, possesses enough flexibilities during screen locking theme development, and without considering the screen locking that exploitation is completed
Theme and the compatibility issue of the main application of screen locking in mobile terminal.
Fig. 4 is a kind of screen locking theme development apparatus structure schematic diagram provided in an embodiment of the present invention.Referring to Fig. 4, the device
Including:Develop script determining module 401, script file acquisition module 402, screen locking theme bag acquisition module 403.Wherein,
Script determining module 401 is developed, for the primary development language according to mobile terminal operating system, it is determined that exploitation script language
Speech, the language used when the primary development language is exploitation mobile terminal operating system;Develop script determining module 401 with
Script file acquisition module 402 is connected, script file acquisition module 402, for obtaining based on exploitation script exploitation
The corresponding script file of screen locking theme;Script file acquisition module 402 is connected with screen locking theme bag acquisition module 403, lock
Shield theme bag acquisition module 403, for by script file multimedia file corresponding with multimedia messages in the script file
Processing is compressed, screen locking theme bag is obtained.
Alternatively, the device also includes:
Sending module, for the screen locking theme bag to be supplied into mobile terminal so that the mobile terminal receives the screen locking
During theme bag, the screen locking theme bag is decompressed, the script file is obtained.
Alternatively, the exploitation script determining module 401 includes:
Script determining unit to be developed, for the primary development language according to mobile terminal operating system and primary is opened
Hair language is locally called, it is determined that the multiple scripts to be developed matched with the primary development language;
Script determining unit is developed, for by any of the plurality of script to be developed script to be developed
It is defined as the exploitation script.
Alternatively, the script determining unit to be developed is additionally operable to locally be called according to the primary development language and supported
Data type between transformational relation, it is determined that there is the data type of transformational relation with the primary development language data type;
According to the data type of determination, it is determined that supporting multiple scripts to be developed of the data type of the determination.
Alternatively, the screen locking theme bag acquisition module 403 is additionally operable to carry out the script language code in the script file
Encryption, the script file after being encrypted;Script file after this is encrypted is corresponding with multimedia messages in the script file
Multimedia file is compressed processing, obtains screen locking theme bag.
In summary, device provided in an embodiment of the present invention, determines exploitation script, and obtain by primary development language
The corresponding script file of screen locking theme developed based on the exploitation script is taken, because exploitation script can pass through movement
The function that terminal operating system is provided, is interacted between primary development language, therefore the script file can be directly primary
Development language code call, is updated with this to screen locking theme, without the screen locking theme is integrated into the main application of screen locking
Use, so as to simplify the development process of screen locking theme, improve the development efficiency of screen locking theme, and greatly reduce new theme
Procurement cost and existing theme update cost.
It should be noted that:The screen locking theme development device that above-described embodiment is provided is when carrying out screen locking theme development, only
With the division progress of above-mentioned each functional module for example, in practical application, can as needed and by above-mentioned functions distribution by
Different functional modules is completed, i.e., the internal structure of screen locking theme development equipment is divided into different functional modules, to complete
All or part of function described above.In addition, the screen locking theme development device that above-described embodiment is provided is opened with screen locking theme
Forwarding method embodiment belongs to same design, and it implements process and refers to embodiment of the method, repeats no more here.
Fig. 5 is a kind of screen locking theme development device structure schematic diagram provided in an embodiment of the present invention.Referring to Fig. 5, the screen locking
Theme development equipment includes:Processor 501 and memory 502, the processor 501 are connected with the memory 502,
The processor 501, for the primary development language according to mobile terminal operating system, it is determined that script is developed,
The language used when the primary development language is exploitation mobile terminal operating system;
The processor 501 is additionally operable to obtain the corresponding script file of screen locking theme developed based on the exploitation script;
The processor 501 is additionally operable to script file multimedia file corresponding with multimedia messages in the script file
Processing is compressed, screen locking theme bag is obtained.
Alternatively, the screen locking theme development equipment also includes:
Transmitter, for the screen locking theme bag to be supplied into mobile terminal so that the mobile terminal receives screen locking master
During topic bag, the screen locking theme bag is decompressed, the script file is obtained.
Alternatively, the processor 501 is additionally operable to the primary development language according to mobile terminal operating system and primary exploitation
Language is locally called, it is determined that the multiple scripts to be developed matched with the primary development language;By the plurality of pin to be developed
Any of this language script to be developed is defined as the exploitation script.
Alternatively, the processor 501 be additionally operable to according to the primary development language locally call supported data type it
Between transformational relation, it is determined that there is the data type of transformational relation with the primary development language data type;According to the number of determination
According to type, it is determined that supporting multiple scripts to be developed of the data type of the determination.
Alternatively, the processor 501 is additionally operable to the script language code in the script file being encrypted, and is encrypted
Script file afterwards;Script file multimedia file corresponding with multimedia messages in the script file after this is encrypted is carried out
Compression is handled, and obtains screen locking theme bag.
One of ordinary skill in the art will appreciate that realizing that all or part of step of above-described embodiment can be by hardware
To complete, the hardware of correlation can also be instructed to complete by program, described program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent substitution and improvements made etc. should be included in the scope of the protection.
Claims (8)
1. a kind of screen locking theme development method, it is characterised in that methods described includes:
Locally called according to the primary development language and primary development language of mobile terminal operating system, it is determined that primary being opened with described
Multiple scripts to be developed that hair language matches, are used when the primary development language is exploitation mobile terminal operating system
Language, the multiple script to be developed supports can there is transformational relation with the primary development language data type
Data type;
Any of the multiple script to be developed script to be developed is defined as to develop script;
Obtain the corresponding script file of screen locking theme based on the exploitation script exploitation;
The corresponding multimedia file of multimedia messages in the script file and the script file is compressed processing, obtained
Screen locking theme bag.
2. according to the method described in claim 1, it is characterised in that by multimedia in the script file and the script file
The corresponding multimedia file of information is compressed processing, obtains after screen locking theme bag, methods described also includes:
The screen locking theme bag is supplied to mobile terminal so that right when the mobile terminal receives the screen locking theme bag
The screen locking theme bag is decompressed, and obtains the script file.
3. according to the method described in claim 1, it is characterised in that according to the primary development language of mobile terminal operating system and
Primary development language is locally called, it is determined that including with multiple scripts to be developed that the primary development language matches:
Transformational relation between supported data type is locally called according to the primary development language, it is determined that with it is described primary
There is the data type of transformational relation in development language data type;
According to the data type of determination, it is determined that supporting multiple scripts to be developed of the data type of the determination.
4. according to the method described in claim 1, it is characterised in that by multimedia in the script file and the script file
The corresponding multimedia file of information is compressed processing, and obtaining screen locking theme bag includes:
Script language code in the script file is encrypted, the script file after being encrypted;
The corresponding multimedia file of multimedia messages in script file after the encryption and the script file is compressed
Processing, obtains screen locking theme bag.
5. a kind of screen locking theme development device, it is characterised in that described device includes:
Script determining module is developed, including:Script determining unit to be developed, develops script determining unit,
The script determining unit to be developed, for the primary development language according to mobile terminal operating system and primary is opened
Hair language is locally called, it is determined that the multiple scripts to be developed matched with the primary development language, the primary exploitation
The language used when language is exploitation mobile terminal operating system, the multiple script to be developed is supported can be with the original
There is the data type of transformational relation in raw development language data type;
The exploitation script determining unit, for by any of the multiple script to be developed script language to be developed
Speech is defined as the exploitation script;
Script file acquisition module, for obtaining the corresponding script text of screen locking theme based on the exploitation script exploitation
Part;
Screen locking theme bag acquisition module, for by the corresponding many matchmakers of multimedia messages in the script file and the script file
Body file is compressed processing, obtains screen locking theme bag.
6. device according to claim 5, it is characterised in that described device also includes:
Sending module, for the screen locking theme bag to be supplied into mobile terminal so that the mobile terminal receives the lock
When shielding theme bag, the screen locking theme bag is decompressed, the script file is obtained.
7. device according to claim 6, it is characterised in that the script determining unit to be developed is additionally operable to basis
The primary development language locally calls the transformational relation between supported data type, it is determined that with the primary development language
There is the data type of transformational relation in data type;According to the data type of determination, it is determined that supporting the data type of the determination
Multiple scripts to be developed.
8. device according to claim 5, it is characterised in that the screen locking theme bag acquisition module is additionally operable to the pin
Script language code in this document is encrypted, the script file after being encrypted;By the script file after the encryption and
The corresponding multimedia file of multimedia messages is compressed processing in the script file, obtains screen locking theme bag.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410300848.6A CN104063225B (en) | 2014-06-27 | 2014-06-27 | Screen locking theme development method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410300848.6A CN104063225B (en) | 2014-06-27 | 2014-06-27 | Screen locking theme development method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104063225A CN104063225A (en) | 2014-09-24 |
CN104063225B true CN104063225B (en) | 2017-09-22 |
Family
ID=51550949
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410300848.6A Active CN104063225B (en) | 2014-06-27 | 2014-06-27 | Screen locking theme development method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104063225B (en) |
Families Citing this family (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106415486B (en) * | 2015-05-06 | 2019-09-13 | 上海欧拉网络技术有限公司 | A kind of method and device of mobile phone dynamic screen locking |
CN109213502B (en) * | 2017-06-30 | 2022-09-27 | 上海尚往网络科技有限公司 | Application updating method and device |
CN107517316A (en) * | 2017-08-24 | 2017-12-26 | 广东欧珀移动通信有限公司 | Image display method, image processing method and Related product |
CN107808101B (en) * | 2017-11-06 | 2020-11-06 | 上海金途信息科技有限公司 | Intellectual property protection system by encrypting Python plaintext source code token |
CN108920218B (en) * | 2018-05-23 | 2023-03-03 | 北京五八信息技术有限公司 | Reflection calling method, device, terminal and computer readable storage medium |
CN108829437B (en) * | 2018-06-29 | 2022-07-29 | 北京金山安全软件有限公司 | Product development method, system, device, computer equipment and storage medium |
CN110955440B (en) * | 2018-09-25 | 2023-06-09 | 中兴通讯股份有限公司 | Screen locking application separation upgrading method, device, equipment and computer readable medium |
CN114327424B (en) * | 2021-12-22 | 2022-11-01 | 深圳掌酷软件有限公司 | Method for making dynamic effect screen locking theme on mobile equipment and related equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102779012A (en) * | 2012-07-11 | 2012-11-14 | 广州市久邦数码科技有限公司 | Screen locking system for touch screen device and realizing method thereof |
CN102819432A (en) * | 2012-07-11 | 2012-12-12 | 广州市久邦数码科技有限公司 | Mobile phone screen locking interface achievement method based on scripts |
CN103513988A (en) * | 2013-09-18 | 2014-01-15 | 广州市久邦数码科技有限公司 | Screen locking system with screen locking theme interface updated and shared in real time and implementation method |
-
2014
- 2014-06-27 CN CN201410300848.6A patent/CN104063225B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102779012A (en) * | 2012-07-11 | 2012-11-14 | 广州市久邦数码科技有限公司 | Screen locking system for touch screen device and realizing method thereof |
CN102819432A (en) * | 2012-07-11 | 2012-12-12 | 广州市久邦数码科技有限公司 | Mobile phone screen locking interface achievement method based on scripts |
CN103513988A (en) * | 2013-09-18 | 2014-01-15 | 广州市久邦数码科技有限公司 | Screen locking system with screen locking theme interface updated and shared in real time and implementation method |
Non-Patent Citations (1)
Title |
---|
百变锁屏教程;MIUI主题文档;《http://designer.xiaomi.com/doc/?p=270》;20130802;全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN104063225A (en) | 2014-09-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104063225B (en) | Screen locking theme development method and device | |
US10936719B2 (en) | Preserving trust data during operating system updates of a secure element of an electronic device | |
CN104965712B (en) | Application program method for reinforcing and protecting, device and mobile terminal | |
CN105302587B (en) | Data-updating method and device | |
JP5650240B2 (en) | Technology for runtime provisioning of executable code using off-device services | |
CN108520059A (en) | Loading method, system, computer equipment and the storage medium of the client H5 pages | |
CN108279902B (en) | Lua script technology based multi-terminal sharing bottom layer framework generation and application method | |
CN107797818A (en) | Application program updating method and device | |
CN104503780A (en) | Method and device for providing application channel packet | |
JP2007528064A (en) | Running unverified programs in a wireless device operating environment | |
CN109891415B (en) | Securing a Web server for an unauthorized client application | |
CN106897587A (en) | The method and apparatus of reinforcement application, loading reinforcement application | |
CN107402792B (en) | Integration method, device, equipment and storage medium of application software installation package | |
CN109885990A (en) | Script management method | |
CN107608663A (en) | A kind of development approach and device of Mobile solution plug-in unit and Mobile solution | |
CN110928571A (en) | Business program development method and device | |
US20150113506A1 (en) | Method and system for adaptive loading of application | |
CN104866504B (en) | A kind of method and device that Function Extension is carried out to Android software | |
CN109857374B (en) | Development method and device of mobile application | |
CN112181366B (en) | Mobile application development framework based on cross-platform interaction | |
CN114329535A (en) | File encryption method and device, electronic equipment and computer readable medium | |
CN111417927A (en) | Resource authority processing method and device, storage medium and chip | |
CN112416395A (en) | Hot repair updating method and device | |
CN107786644A (en) | Method for down loading, device and the equipment of channel bag | |
CN101751258A (en) | Intelligent card and developing method, system and deployment method for intelligent card application |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP02 | Change in the address of a patent holder | ||
CP02 | Change in the address of a patent holder |
Address after: 511446 Guangzhou City, Guangdong Province, Panyu District, South Village, Huambo Business District Wanda Plaza, block B1, floor 28 Patentee after: Guangzhou Huaduo Network Technology Co., Ltd. Address before: 510655, Guangzhou, Whampoa Avenue, No. 2, creative industrial park, building 3-08, Patentee before: Guangzhou Huaduo Network Technology Co., Ltd. |