CN104598263A - Application program operation method and configuration file generating method and device - Google Patents

Application program operation method and configuration file generating method and device Download PDF

Info

Publication number
CN104598263A
CN104598263A CN201410737647.2A CN201410737647A CN104598263A CN 104598263 A CN104598263 A CN 104598263A CN 201410737647 A CN201410737647 A CN 201410737647A CN 104598263 A CN104598263 A CN 104598263A
Authority
CN
China
Prior art keywords
file
configuration data
binary profile
profile file
binary
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201410737647.2A
Other languages
Chinese (zh)
Other versions
CN104598263B (en
Inventor
刘鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201410737647.2A priority Critical patent/CN104598263B/en
Publication of CN104598263A publication Critical patent/CN104598263A/en
Application granted granted Critical
Publication of CN104598263B publication Critical patent/CN104598263B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an application program operation method and a configuration file generating method and device, and belongs to the technical field of computers. The application program operation method comprises the steps that a binary configuration file corresponding to an application program is loaded from a server, and the binary configuration file is the binary file which corresponds to configuration data and is generated by the server; the configuration data carried in the binary configuration file are acquired; the application program is operated according to the configuration data. The problem that a configuration file which is complied by XML in the prior art contains label content, so that the time for loading the configuration file by the application program is long is solved, and the effects of reducing the size of the configuration file and further shortening the duration for the application program to load the configuration file are achieved.

Description

Application program operation method, configuration file generation method and device
Technical field
The present invention relates to field of computer technology, particularly a kind of application program operation method, configuration file generation method and device.
Background technology
When configuration file refers to user's opening application program, application program needs to read and the set of the file loaded.This configuration file is the file that obtains after using XML (Extensible Markup Language, extend markup language) to programme to configuration data of developer normally.
Realizing in process of the present invention; inventor finds that above-mentioned technology at least exists following problem: use XML to write in the configuration file obtained and usually can comprise label substance; so this just causes configuration file comparatively large, consuming time longer during application program loading configuration file.
Summary of the invention
Longer problem consuming time during in order to solve application program loading configuration file in prior art, embodiments provides a kind of application program operation method, configuration file generation method and device.Described technical scheme is as follows:
First aspect, provide a kind of application program operation method, described method comprises:
Binary profile file from server corresponding to loading application programs, described binary profile file generate for described server with the binary file corresponding to configuration data;
Obtain described configuration data entrained in described binary profile file;
Described application program is run according to described configuration data.
Alternatively, configuration data entrained in the described binary profile file of described acquisition, comprising:
Resolve described binary profile file according to predetermined storage format, analysis result is defined as configuration data entrained in described binary profile file; And/or,
According to default decipherment algorithm, described binary profile file is decrypted, decrypted result is defined as configuration data entrained in described binary profile file.
Alternatively, described binary profile file from server corresponding to loading application programs, comprising:
Send file acquisition request to described server, described file acquisition request is used for the binary profile file described in acquisition request corresponding to application program;
Receive the described binary profile file that described server returns.
Second aspect, provides a kind of configuration file generation method, and described method comprises:
Obtain the configuration data of application program;
Generate the binary profile file corresponding to described configuration data;
Described binary profile file is provided to client.
Alternatively, the binary profile file corresponding to the described configuration data of described generation, comprising:
Described configuration data is stored with predetermined storage format;
Generate the binary profile file corresponding to described configuration data stored.
Alternatively, the binary profile file corresponding to the described configuration data of described generation, comprising:
Predetermined encryption algorithm is adopted to be encrypted described configuration data;
Generate the binary profile file corresponding to described configuration data after encryption.
Alternatively, describedly described binary profile file is provided to client.Comprise:
Receive the file acquisition request that described client sends, described file acquisition request is used for the binary profile file described in acquisition request corresponding to application program;
Return described binary profile file to described client.
The third aspect, provide a kind of application program running gear, described device comprises:
File load module, for the binary profile file from server corresponding to loading application programs, described binary profile file generate for described server with the binary file corresponding to configuration data;
Data acquisition module, for obtaining described configuration data entrained in the described binary profile file of described file load module loading;
Program runs module, runs described application program for the described configuration data got according to described data acquisition module.
Alternatively, described data acquisition module, comprising:
First acquiring unit, for resolving described binary profile file according to predetermined storage format, is defined as configuration data entrained in described binary profile file by analysis result; And/or,
Second acquisition unit, for being decrypted described binary profile file according to presetting decipherment algorithm, is defined as configuration data entrained in described binary profile file by decrypted result.
Alternatively, described file load module, comprising:
Request transmitting unit, for sending file acquisition request to described server, described file acquisition request is used for the binary profile file described in acquisition request corresponding to application program;
File reception unit, for receiving the described binary profile file that described server returns.
Fourth aspect, provide a kind of configuration file generating apparatus, described device comprises:
Data acquisition module, for obtaining the configuration data of application program;
File generating module, for generating the binary profile file corresponding to described configuration data that described data acquisition module gets;
File provides module, the described binary profile file generated for providing described file generating module to client.
Alternatively, described file generating module, comprising:
Data storage cell, for storing described configuration data with predetermined storage format;
First generation unit, for generate described data storage cell store described configuration data corresponding to binary file.
Alternatively, described file generating module, comprising:
DEU data encryption unit, is encrypted described configuration data for adopting predetermined encryption algorithm;
Second generation unit, for generating the binary profile file corresponding to the described configuration data after the encryption of described DEU data encryption unit.
Alternatively, described file provides module, comprising:
Request reception unit, for receiving the file acquisition request that described client sends, described file acquisition request is used for the binary profile file described in acquisition request corresponding to application program;
File returns unit, for returning described binary profile file to described client.
The beneficial effect of the technical scheme that the embodiment of the present invention provides is:
By obtaining the configuration data in binary profile file, the configuration data according to getting runs application, and this binary profile file is the binary file corresponding to configuration data that server generates; Solve in prior art and comprise label substance owing to using in the configuration file write of XML, and the application program loading configuration file caused longer problem consuming time; Reach the size that can reduce configuration file, and then the effect of the duration of shortening application program loading configuration file.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the structural representation of a kind of implementation environment involved by each embodiment of the present invention;
Fig. 2 is the method flow diagram of the application program operation method that one embodiment of the invention provides;
Fig. 3 is the method flow diagram of the configuration file generation method that one embodiment of the invention provides;
Fig. 4 is the method flow diagram of the application program operation method that another embodiment of the present invention provides;
Fig. 5 is the block diagram of the application program running gear that one embodiment of the invention provides;
Fig. 6 is the block diagram of the application program running gear that another embodiment of the present invention provides;
Fig. 7 is the block diagram of the configuration file generating apparatus that one embodiment of the invention provides;
Fig. 8 is the block diagram of the configuration file generating apparatus that another embodiment of the present invention provides;
Fig. 9 is the block diagram of the terminal that one embodiment of the invention provides;
Figure 10 is the block diagram of the server that one embodiment of the invention provides.
Embodiment
In order to make the object, technical solutions and advantages of the present invention clearly, below in conjunction with accompanying drawing, the present invention is described in further detail, and obviously, described embodiment is only a part of embodiment of the present invention, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
Please refer to Fig. 1, it illustrates the structural representation of the implementation environment involved by each embodiment of the present invention, as shown in Figure 1, this implementation environment can comprise: client 110 and server 120.
Client 110 be run in the terminal, the client that provided by service provider; When actual realization, client 110 can be connected with server 120 by wired or wireless network.
Server 120 is background servers that service provider provides, for being combined the service for user provides service provider to provide with client 110.
Please refer to Fig. 2, it illustrates the method flow diagram of the application program operation method that one embodiment of the invention provides, the present embodiment is used for illustrating in the client 110 shown in Fig. 1 with this application program operation method.As shown in Figure 1, this application program operation method can comprise:
Step 201, the binary profile file from server corresponding to loading application programs, binary profile file generate for server with the binary file corresponding to configuration data.
Step 202, obtains configuration data entrained in binary profile file.
Step 203, runs application according to configuration data.
In sum, the application program operation method that the present embodiment provides, by obtaining the configuration data in binary profile file, the configuration data according to getting runs application, and this binary profile file is the binary file corresponding to configuration data that server generates; Solve in prior art and comprise label substance owing to using in the configuration file write of XML, and the application program loading configuration file caused longer problem consuming time; Reach the size that can reduce configuration file, and then the effect of the duration of shortening application program loading configuration file.
Please refer to Fig. 3, it illustrates the method flow diagram of the configuration file generation method that one embodiment of the invention provides, the present embodiment is used for illustrating in the server 120 shown in Fig. 1 with this configuration file generation method.As shown in Figure 3, this configuration file generation method can comprise:
Step 301, obtains the configuration data of application program.
Step 302, generates the binary profile file corresponding to configuration data.
Step 303, provides binary profile file to client.
In sum, the configuration file generation method that the present embodiment provides, by providing the binary profile file corresponding to configuration data to client, makes client can be loaded into this binary profile file; Solve in prior art and comprise label substance owing to using in the configuration file write of XML, and the application program loading configuration file caused longer problem consuming time; Reach the size that can reduce configuration file, and then the effect of the duration of shortening application program loading configuration file.
Please refer to Fig. 4, it illustrates the method flow diagram of the application program operation method that another embodiment of the present invention provides, the present embodiment is used for illustrating in the application scenarios shown in Fig. 1 with this application program operation method.As shown in Figure 4, this application program operation method can comprise:
Step 401, server obtains the configuration data of application program.
The configuration data of application program can store in a database, and server can read the configuration data of application program from database.
Alternatively, server can by the configuration data in file generating unit reading database.This file generating unit is adopt the unit preset programming language and write.Alternatively, this default programming language can be AS3 (Action Script, Object-Oriented Programming Language), and the present embodiment does not limit this.
Alternatively, application program can be weblication, air application program or mobile platform application program, and the present embodiment does not limit this.
Step 402, server generates the binary profile file corresponding to configuration data.
Alternatively, the generating mode of server generation binary profile file can comprise two kinds:
The first, this step can comprise:
The first, server is with predetermined storage format store configuration data.
After server gets configuration data, the configuration data that server can get with predetermined storage format storage.
Alternatively, the configuration data that server can be got with predetermined storage format storage by file generating unit, the present embodiment does not limit this.
The second, server generates the binary profile file corresponding to configuration data stored.
The binary profile file of generation can be stored as the binary profile file corresponding to application program by server.
The second, this step can comprise:
The first, server adopts predetermined encryption algorithm to be encrypted configuration data;
In order to avoid binary profile file intercepted and captured by lawless person time, the configuration data carried in binary profile file is revealed, and server can first adopt predetermined encryption algorithm to be encrypted configuration data.
Alternatively, this predetermined encryption algorithm comprises MD5 algorithm (Message Digest Algorithm, Message Digest Algorithm 5), DES (Data Encryption Standard, symmetry algorithm), 3DES, RC2 (symmetric encipherment algorithm), RC4, IDEA (International Data Encryption Algorithm, IDEA) and RSA Algorithm at least one, the present embodiment does not limit this.
The second, server generates the binary profile file corresponding to configuration data after encryption.
After configuration data encryption, server can generate the binary profile file corresponding to the configuration data after encryption, the binary profile file of this binary profile file corresponding to application program.
It should be noted that, the present embodiment just generates binary profile file for above-mentioned two kinds of generating modes respectively with server, alternatively, server can also with predetermined storage format store configuration data, then the configuration data stored is encrypted, generate the binary file corresponding to configuration data after encryption, the binary file of generation is defined as the binary file corresponding to application program.The present embodiment does not limit this.
Step 403, client sends file acquisition request to server, and file acquisition request is used for the binary profile file corresponding to acquisition request application program.
When client needs loading configuration file, client can send file acquisition request to server.Wherein, this file acquisition request is used for the binary profile file corresponding to acquisition request application program.
Alternatively, client can Real-Time Monitoring the need of loading configuration file, if monitoring result is needs loading configuration file, then client can send file acquisition request to server.
Such as, when client monitors is unlocked to client, client can send file acquisition request to server.
Step 404, the file acquisition request that server receives client sends, file acquisition request is used for the binary profile file corresponding to acquisition request application program.
Accordingly, server can receive the file acquisition request that client sends.
Step 405, server returns binary profile file to client.
After server receives file acquisition request, server can binary profile file from each binary profile file stored corresponding to inquiry application, and the binary profile file inquired is back to client.
Step 406, the binary profile file that client reception server returns.
Step 407, client obtains configuration data entrained in binary profile file.
After client receives the binary profile file that server returns, client can obtain configuration data entrained in binary profile file.
Alternatively, client obtains configuration data entrained in binary profile file and can comprise: client resolves binary profile file according to predetermined storage format, and analysis result is defined as configuration data entrained in binary profile file.
Alternatively, client obtains configuration data entrained in binary profile file and can comprise: client is decrypted binary profile file according to default decipherment algorithm, decrypted result is defined as configuration data entrained in binary profile file.
Alternatively, client obtains configuration data entrained in binary profile file and can comprise: client can adopt default decipherment algorithm to be decrypted the binary profile file got, then according to predetermined storage format, the binary profile file after deciphering is resolved, analysis result is defined as configuration data entrained in binary profile file.
Step 408, client runs application according to configuration data.
Get the configuration data in binary profile file in client after, client can run application according to configuration data.
In sum, the application program operation method that the present embodiment provides, by obtaining the configuration data in binary profile file, the configuration data according to getting runs application, and this binary profile file is the binary file corresponding to configuration data that server generates; Solve in prior art and comprise label substance owing to using in the configuration file write of XML, and the application program loading configuration file caused longer problem consuming time; Reach the size that can reduce configuration file, and then the effect of the duration of shortening application program loading configuration file.
In the present embodiment, the binary profile file of application program can be the binary file corresponding to configuration data stored with predetermined storage format, even if make lawless person intercept and capture binary profile file, but also can because of the storage format of not knowing configuration data in binary profile file, and the configuration data carried in binary profile file cannot be known, improve the security of configuration data.
In the present embodiment, the binary file of application program can also be the binary profile file corresponding to configuration data after adopting predetermined encryption algorithm for encryption, make client when obtaining configuration data entrained in binary profile file, need first to adopt the default decipherment algorithm corresponding with predetermined encryption algorithm could to binary profile file successful decryption, also configuration data entrained in binary profile file can namely just be got, avoid after binary profile file obtained by lawless person, there is the problem revealed or configuration data is distorted by lawless person in configuration data entrained in binary profile file, improve the security of configuration data.
In the present embodiment, client obtains the configuration file corresponding to application program from server, when needing to upgrade the binary profile file corresponding to application program, only needs the configuration file stored in update server.Like this, client also directly can get the binary profile file after renewal from server.
It should be added that, when the present embodiment just needs loading configuration file with client, from server, obtain binary profile file is example, alternatively, binary profile file corresponding to application program can also be set directly in the installation kit of application program, after client is mounted, client can get this binary profile file.After this, when needs load binary profile file, client directly can read the local binary profile file stored, and the present embodiment does not limit this.
Please refer to Fig. 5, it illustrates the block diagram of the application program running gear that one embodiment of the invention provides, the present embodiment is used for illustrating in the client shown in Fig. 1 with this application program running gear.As shown in Figure 5, this application program running gear can comprise: file load module 510, data acquisition module 520 and program run module 530.
File load module 510, for the binary profile file from server corresponding to loading application programs, binary profile file generate for server with the binary file corresponding to configuration data;
Data acquisition module 520, for obtaining configuration data entrained in the binary profile file of file load module 510 loading;
Program runs module 530, runs application for the configuration data got according to data acquisition module 520.
In sum, the application program running gear that the present embodiment provides, by obtaining the configuration data in binary profile file, the configuration data according to getting runs application, and this binary profile file is the binary file corresponding to configuration data that server generates; Solve in prior art and comprise label substance owing to using in the configuration file write of XML, and the application program loading configuration file caused longer problem consuming time; Reach the size that can reduce configuration file, and then the effect of the duration of shortening application program loading configuration file.
Please refer to Fig. 6, it illustrates the block diagram of the application program running gear that one embodiment of the invention provides, the present embodiment is used for illustrating in the client shown in Fig. 1 with this application program running gear.As shown in Figure 6, this application program running gear can comprise: file load module 610, data acquisition module 620 and program run module 630.
File load module 610, for the binary profile file from server corresponding to loading application programs, binary profile file generate for server with the binary file corresponding to configuration data;
Data acquisition module 620, for obtaining configuration data entrained in the binary profile file of file load module 610 loading;
Program runs module 630, runs application for the configuration data got according to data acquisition module 620.
Alternatively, this data acquisition module 620, comprising:
First acquiring unit 621, for resolving binary profile file according to predetermined storage format, is defined as configuration data entrained in binary profile file by analysis result; And/or,
Second acquisition unit 622, for being decrypted binary profile file according to presetting decipherment algorithm, is defined as configuration data entrained in binary profile file by decrypted result.
Alternatively, this file load module 610, comprising:
Request transmitting unit 611, for sending file acquisition request to server, file acquisition request is used for the binary profile file corresponding to acquisition request application program;
File reception unit 612, for the binary profile file that reception server returns.
In sum, the application program running gear that the present embodiment provides, by obtaining the configuration data in binary profile file, the configuration data according to getting runs application, and this binary profile file is the binary file corresponding to configuration data that server generates; Solve in prior art and comprise label substance owing to using in the configuration file write of XML, and the application program loading configuration file caused longer problem consuming time; Reach the size that can reduce configuration file, and then the effect of the duration of shortening application program loading configuration file.
In the present embodiment, the binary profile file of application program is the binary file corresponding to configuration data stored with predetermined storage format, even if make lawless person intercept and capture binary profile file, but also can because of the storage format of not knowing configuration data in binary profile file, and the configuration data carried in binary profile file cannot be known, improve the security of configuration data.
In addition, only have in the present embodiment and adopt default decipherment algorithm could be decrypted binary profile file, and then the configuration data in acquisition binary profile file, avoid binary profile file when being intercepted and captured by lawless person, there is the problem of leaking or configuration data is distorted by lawless person in the configuration data in binary profile file, further ensures the safety of configuration data.
Please refer to Fig. 7, it illustrates the block diagram of the configuration file generating apparatus that one embodiment of the invention provides, the present embodiment is used for illustrating in the server 120 shown in Fig. 1 with this configuration file generating apparatus.As shown in Figure 7, this configuration file generating apparatus can comprise: data acquisition module 710, file generating module 720 and file provide module 730.
Data acquisition module 710, for obtaining the configuration data of application program;
File generating module 720, for generating the binary profile file corresponding to configuration data that data acquisition module 710 gets;
File provides module 730, the binary profile file generated for providing file generating module 720 to client.
In sum, the configuration file generating apparatus that the present embodiment provides, by providing the binary profile file corresponding to configuration data to client, makes client can be loaded into this binary profile file; Solve in prior art and comprise label substance owing to using in the configuration file write of XML, and the application program loading configuration file caused longer problem consuming time; Reach the size that can reduce configuration file, and then the effect of the duration of shortening application program loading configuration file.
Please refer to Fig. 8, it illustrates the block diagram of the configuration file generating apparatus that one embodiment of the invention provides, the present embodiment is used for illustrating in the server 120 shown in Fig. 1 with this configuration file generating apparatus.As shown in Figure 8, this configuration file generating apparatus can comprise: data acquisition module 810, file generating module 820 and file provide module 830.
Data acquisition module 810, for obtaining the configuration data of application program;
File generating module 820, for generating the binary profile file corresponding to configuration data that data acquisition module 810 gets;
File provides module 830, the binary profile file generated for providing file generating module 820 to client.
Alternatively, this file generating module 820, comprising:
Data storage cell 821, for predetermined storage format store configuration data;
First generation unit 822, for generate data storage cell store configuration data corresponding to binary file.
Alternatively, this file generating module 820, comprising:
DEU data encryption unit 823, is encrypted configuration data for adopting predetermined encryption algorithm;
Second generation unit 824, for generating the binary profile file corresponding to the configuration data after DEU data encryption unit 823 encryption.
Alternatively, this file provides module 830, comprising:
Request reception unit 831, for receiving the file acquisition request that client sends, file acquisition request is used for the binary profile file corresponding to acquisition request application program;
File returns unit 832, for returning binary profile file to client.
In sum, the configuration file generating apparatus that the present embodiment provides, by providing the binary profile file corresponding to configuration data to client, makes client can be loaded into this binary profile file; Solve in prior art and comprise label substance owing to using in the configuration file write of XML, and the application program loading configuration file caused longer problem consuming time; Reach the size that can reduce configuration file, and then the effect of the duration of shortening application program loading configuration file.
In the present embodiment, the binary file corresponding to the configuration data stored with predetermined storage format is defined as the binary profile file of application program, make when binary profile file is intercepted and captured, lawless person also can cannot know the content of configuration data because of the storage format cannot knowing configuration data, improves the security of configuration data.
In addition, the present embodiment can also adopt predetermined encryption algorithm to be encrypted configuration data, and then using the binary file corresponding to the configuration data after encryption as binary profile file, avoid binary profile file when being intercepted and captured by lawless person, the problem that the configuration data carried in binary profile file may be revealed or configuration data is distorted by lawless person, further ensures the safety of configuration data.
Please refer to Fig. 9, it illustrates the structural representation of the terminal that one embodiment of the invention provides.This terminal operating has client, and this client provides application program operation method for implementing above-described embodiment.Specifically:
Terminal 900 can comprise RF (Radio Frequency, radio frequency) circuit 910, the storer 920 including one or more computer-readable recording mediums, input block 930, display unit 940, sensor 950, voicefrequency circuit 960, WiFi (wireless fidelity, Wireless Fidelity) module 970, include the parts such as processor 980 and power supply 990 that more than or processes core.It will be understood by those skilled in the art that the restriction of the not structure paired terminal of the terminal structure shown in Fig. 9, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.Wherein:
RF circuit 910 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, transfer to more than one or one processor 980 to process; In addition, base station is sent to by relating to up data.Usually, RF circuit 910 includes but not limited to antenna, at least one amplifier, tuner, one or more oscillator, subscriber identity module (SIM) card, transceiver, coupling mechanism, LNA (Low Noise Amplifier, low noise amplifier), diplexer etc.In addition, RF circuit 910 can also by radio communication and network and other devices communicatings.Described radio communication can use arbitrary communication standard or agreement, include but not limited to GSM (Global System of Mobile communication, global system for mobile communications), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code Division Multiple Access, CDMA), WCDMA (Wideband CodeDivision Multiple Access, Wideband Code Division Multiple Access (WCDMA)), LTE (Long Term Evolution, Long Term Evolution), Email, SMS (Short Messaging Service, Short Message Service) etc.
Storer 920 can be used for storing software program and module, and processor 980 is stored in software program and the module of storer 920 by running, thus performs the application of various function and data processing.Storer 920 mainly can comprise storage program district and store data field, and wherein, storage program district can store operating system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of terminal 900.In addition, storer 920 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.Correspondingly, storer 920 can also comprise Memory Controller, to provide the access of processor 980 and input block 930 pairs of storeies 920.
Input block 930 can be used for the numeral or the character information that receive input, and produces and to arrange with user and function controls relevant keyboard, mouse, control lever, optics or trace ball signal and inputs.Particularly, input block 930 can comprise image input device 931 and other input equipments 932.Image input device 931 can be camera, also can be photoelectric scanning device.Except image input device 931, input block 930 can also comprise other input equipments 932.Particularly, other input equipments 932 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, control lever etc.
Display unit 940 can be used for the various graphical user interface showing information or the information being supplied to user and the terminal 900 inputted by user, and these graphical user interface can be made up of figure, text, icon, video and its combination in any.Display unit 940 can comprise display panel 941, optionally, the form such as LCD (Liquid Crystal Display, liquid crystal display), OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) can be adopted to configure display panel 941.
Terminal 900 also can comprise at least one sensor 950, such as optical sensor, motion sensor and other sensors.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display panel 941, proximity transducer when terminal 900 moves in one's ear, can cut out display panel 941 and/or backlight.As the one of motion sensor, Gravity accelerometer can detect the size of all directions (are generally three axles) acceleration, size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as passometer, knock) etc.; As for terminal 900 also other sensors such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 960, loudspeaker 961, microphone 962 can provide the audio interface between user and terminal 900.Voicefrequency circuit 960 can by receive voice data conversion after electric signal, be transferred to loudspeaker 961, by loudspeaker 961 be converted to voice signal export; On the other hand, the voice signal of collection is converted to electric signal by microphone 962, voice data is converted to after being received by voicefrequency circuit 960, after again voice data output processor 980 being processed, through RF circuit 910 to send to such as another terminal, or export voice data to storer 920 to process further.Voicefrequency circuit 960 also may comprise earphone jack, to provide the communication of peripheral hardware earphone and terminal 900.
WiFi belongs to short range wireless transmission technology, and terminal 900 can help user to send and receive e-mail by WiFi module 970, browse webpage and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although Fig. 9 shows WiFi module 970, be understandable that, it does not belong to must forming of terminal 900, can omit in the scope of essence not changing invention as required completely.
Processor 980 is control centers of terminal 900, utilize the various piece of various interface and the whole mobile phone of connection, software program in storer 920 and/or module is stored in by running or performing, and call the data be stored in storer 920, perform various function and the process data of terminal 900, thus integral monitoring is carried out to mobile phone.Optionally, processor 980 can comprise one or more process core; Preferably, processor 980 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 980.
Terminal 900 also comprises the power supply 990 (such as battery) of powering to all parts, preferably, power supply can be connected with processor 980 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.Power supply 990 can also comprise one or more direct current or AC power, recharging system, power failure detection circuit, power supply changeover device or the random component such as inverter, power supply status indicator.
Although not shown, terminal 900 can also comprise bluetooth module etc., does not repeat them here.
Concrete terminal 900 also includes storer, and one or more than one program, and one of them or more than one program are stored in storer in the present embodiment, and is configured to be performed by more than one or one processor.The application program operation method that above-mentioned more than one or one program provides for performing above-described embodiment.
Please refer to Figure 10, it illustrates the structural representation of the server that one embodiment of the invention provides.Described server 1000 comprises CPU (central processing unit) (CPU) 1001, comprises the system storage 1004 of random access memory (RAM) 1002 and ROM (read-only memory) (ROM) 1003, and the system bus 1005 of connected system storer 1004 and CPU (central processing unit) 1001.Described server 1000 also comprises the basic input/output (I/O system) 1006 of transmission information between each device in help computing machine, and for storing the mass-memory unit 1007 of operating system 1013, application program 1014 and other program modules 1015.
Described basic input/output 1006 includes the input equipment 1009 of the display 1008 for showing information and the such as mouse, keyboard and so on for user's input information.Wherein said display 1008 and input equipment 1009 are all connected to CPU (central processing unit) 1001 by the input/output control unit 1010 being connected to system bus 1005.Described basic input/output 1006 can also comprise input/output control unit 1010 for receiving and processing the input from other equipment multiple such as keyboard, mouse or electronic touch pens.Similarly, input/output control unit 1010 also provides the output device outputting to display screen, printer or other types.
Described mass-memory unit 1007 is connected to CPU (central processing unit) 1001 by the bulk memory controller (not shown) being connected to system bus 1005.Described mass-memory unit 1007 and the computer-readable medium that is associated thereof provide non-volatile memories for server 1000.That is, described mass-memory unit 1007 can comprise the computer-readable medium (not shown) of such as hard disk or CD-ROM drive and so on.
Without loss of generality, described computer-readable medium can comprise computer-readable storage medium and communication media.Computer-readable storage medium comprises the volatibility and non-volatile, removable and irremovable medium that realize for any method or technology that store the information such as such as computer-readable instruction, data structure, program module or other data.Computer-readable storage medium comprises RAM, ROM, EPROM, EEPROM, flash memory or its technology of other solid-state storage, CD-ROM, DVD or other optical memory, tape cassete, tape, disk storage or other magnetic storage apparatus.Certainly, the known described computer-readable storage medium of those skilled in the art is not limited to above-mentioned several.Above-mentioned system storage 1004 and mass-memory unit 1007 can be referred to as storer.
According to various embodiments of the present invention, the remote computer that described server 1000 can also be connected on network by networks such as such as the Internets runs.Also namely server 1000 can be connected to network 1012 by the network interface unit 1011 be connected on described system bus 1005, in other words, network interface unit 1011 also can be used to be connected to network or the remote computer system (not shown) of other types.
Described storer also comprises one or more than one program, and described more than one or one program is stored in storer, the configuration file generation method that described more than one or one program provides for performing above-described embodiment.
The invention described above embodiment sequence number, just to describing, does not represent the quality of embodiment.
One of ordinary skill in the art will appreciate that all or part of step realizing above-described embodiment can have been come by hardware, the hardware that also can carry out instruction relevant by program completes, described program can be stored in a kind of computer-readable recording medium, the above-mentioned storage medium mentioned can be ROM (read-only memory), disk or CD etc.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (14)

1. an application program operation method, is characterized in that, described method comprises:
Binary profile file from server corresponding to loading application programs, described binary profile file generate for described server with the binary file corresponding to configuration data;
Obtain described configuration data entrained in described binary profile file;
Described application program is run according to described configuration data.
2. method according to claim 1, is characterized in that, configuration data entrained in the described binary profile file of described acquisition, comprising:
Resolve described binary profile file according to predetermined storage format, analysis result is defined as configuration data entrained in described binary profile file; And/or,
According to default decipherment algorithm, described binary profile file is decrypted, decrypted result is defined as configuration data entrained in described binary profile file.
3. method according to claim 1 and 2, is characterized in that, described binary profile file from server corresponding to loading application programs, comprising:
Send file acquisition request to described server, described file acquisition request is used for the binary profile file described in acquisition request corresponding to application program;
Receive the described binary profile file that described server returns.
4. a configuration file generation method, is characterized in that, described method comprises:
Obtain the configuration data of application program;
Generate the binary profile file corresponding to described configuration data;
Described binary profile file is provided to client.
5. method according to claim 4, is characterized in that, the binary profile file corresponding to the described configuration data of described generation, comprising:
Described configuration data is stored with predetermined storage format;
Generate the binary profile file corresponding to described configuration data stored.
6. method according to claim 4, is characterized in that, the binary profile file corresponding to the described configuration data of described generation, comprising:
Predetermined encryption algorithm is adopted to be encrypted described configuration data;
Generate the binary profile file corresponding to described configuration data after encryption.
7. according to the arbitrary described method of claim 4 to 6, it is characterized in that, describedly provide described binary profile file to client, comprising:
Receive the file acquisition request that described client sends, described file acquisition request is used for the binary profile file described in acquisition request corresponding to application program;
Return described binary profile file to described client.
8. an application program running gear, is characterized in that, described device comprises:
File load module, for the binary profile file from server corresponding to loading application programs, described binary profile file generate for described server with the binary file corresponding to configuration data;
Data acquisition module, for obtaining described configuration data entrained in the described binary profile file of described file load module loading;
Program runs module, runs described application program for the described configuration data got according to described data acquisition module.
9. device according to claim 8, is characterized in that, described data acquisition module, comprising:
First acquiring unit, for resolving described binary profile file according to predetermined storage format, is defined as configuration data entrained in described binary profile file by analysis result; And/or,
Second acquisition unit, for being decrypted described binary profile file according to presetting decipherment algorithm, is defined as configuration data entrained in described binary profile file by decrypted result.
10. device according to claim 8 or claim 9, it is characterized in that, described file load module, comprising:
Request transmitting unit, for sending file acquisition request to described server, described file acquisition request is used for the binary profile file described in acquisition request corresponding to application program;
File reception unit, for receiving the described binary profile file that described server returns.
11. 1 kinds of configuration file generating apparatus, is characterized in that, described device comprises:
Data acquisition module, for obtaining the configuration data of application program;
File generating module, for generating the binary profile file corresponding to described configuration data that described data acquisition module gets;
File provides module, the described binary profile file generated for providing described file generating module to client.
12. devices according to claim 11, is characterized in that, described file generating module, comprising:
Data storage cell, for storing described configuration data with predetermined storage format;
First generation unit, for generate described data storage cell store described configuration data corresponding to binary profile file.
13. devices according to claim 11, is characterized in that, described file generating module, comprising:
DEU data encryption unit, is encrypted described configuration data for adopting predetermined encryption algorithm;
Second generation unit, for generating the binary profile file corresponding to the described configuration data after the encryption of described DEU data encryption unit.
14. according to claim 11 to 13 arbitrary described devices, and it is characterized in that, described file provides module, comprising:
Request reception unit, for receiving the file acquisition request that described client sends, described file acquisition request is used for the binary profile file described in acquisition request corresponding to application program;
File returns unit, for returning described binary profile file to described client.
CN201410737647.2A 2014-12-04 2014-12-04 Application program operation method, configuration file generation method and device Active CN104598263B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410737647.2A CN104598263B (en) 2014-12-04 2014-12-04 Application program operation method, configuration file generation method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410737647.2A CN104598263B (en) 2014-12-04 2014-12-04 Application program operation method, configuration file generation method and device

Publications (2)

Publication Number Publication Date
CN104598263A true CN104598263A (en) 2015-05-06
CN104598263B CN104598263B (en) 2017-12-08

Family

ID=53124081

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410737647.2A Active CN104598263B (en) 2014-12-04 2014-12-04 Application program operation method, configuration file generation method and device

Country Status (1)

Country Link
CN (1) CN104598263B (en)

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512102A (en) * 2015-12-01 2016-04-20 北京交控科技股份有限公司 Data parse method and system
CN106095488A (en) * 2016-05-31 2016-11-09 四川秘无痕信息安全技术有限责任公司 A kind of mobile phone behavioural information collocation method based on cloud template way
CN106371766A (en) * 2016-08-29 2017-02-01 北京像素软件科技股份有限公司 Method and device for storing grid data of electronic game
CN109147747A (en) * 2018-09-27 2019-01-04 歌尔股份有限公司 A kind of method, playback equipment, server and system loading tuning parameter
CN109582390A (en) * 2018-11-29 2019-04-05 上海哔哩哔哩科技有限公司 Game data generation method, device and storage medium based on exploitation allocation list
CN109800563A (en) * 2018-12-29 2019-05-24 联想(北京)有限公司 Cipher set-up method and device, computer readable storage medium and computer system
CN110474758A (en) * 2018-05-10 2019-11-19 杭州涂鸦信息技术有限公司 One kind is read based on python dynamic, enciphering configuration method is written
CN110705215A (en) * 2019-09-24 2020-01-17 昆山龙腾光电股份有限公司 Encoding method, encoding device and display device of MIPI configuration file
CN110989487A (en) * 2019-12-23 2020-04-10 北京东土科技股份有限公司 PLC initialization method and device for industrial server and readable storage medium
CN111045748A (en) * 2019-12-04 2020-04-21 方正株式(武汉)科技开发有限公司 Method and system for rapidly reading configuration file, server and medium
CN111679867A (en) * 2020-05-29 2020-09-18 中国航空工业集团公司西安航空计算技术研究所 Embedded system configuration data generation method
CN111858524A (en) * 2020-07-27 2020-10-30 北京百川盈孚科技有限公司 Data synchronization method and device
CN112073232A (en) * 2020-08-31 2020-12-11 北京健康之家科技有限公司 Distribution method and device of public resource configuration information and computer equipment
CN113905277A (en) * 2021-12-09 2022-01-07 北京新片场传媒股份有限公司 Method and device for playing video by browser and electronic equipment

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1394036A (en) * 2001-06-21 2003-01-29 华为技术有限公司 Network management system based on strategy
CN1614557A (en) * 2003-11-04 2005-05-11 西门子公司 Method and system for dynamically generating user interfaces
CN101533345A (en) * 2008-03-13 2009-09-16 中兴通讯股份有限公司 Device for configuring information based on extensible markup language (XML) and method thereof.
US20100088689A1 (en) * 2008-10-03 2010-04-08 Microsoft Corporation Branding binary modules using resource patching
CN102799755A (en) * 2011-05-25 2012-11-28 霍尼韦尔国际公司 Systems and methods to configure condition based health maintenance systems
CN103412742A (en) * 2013-07-01 2013-11-27 深圳Tcl新技术有限公司 Method and device for application program to be configured with UI

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1394036A (en) * 2001-06-21 2003-01-29 华为技术有限公司 Network management system based on strategy
CN1614557A (en) * 2003-11-04 2005-05-11 西门子公司 Method and system for dynamically generating user interfaces
CN101533345A (en) * 2008-03-13 2009-09-16 中兴通讯股份有限公司 Device for configuring information based on extensible markup language (XML) and method thereof.
US20100088689A1 (en) * 2008-10-03 2010-04-08 Microsoft Corporation Branding binary modules using resource patching
CN102799755A (en) * 2011-05-25 2012-11-28 霍尼韦尔国际公司 Systems and methods to configure condition based health maintenance systems
CN103412742A (en) * 2013-07-01 2013-11-27 深圳Tcl新技术有限公司 Method and device for application program to be configured with UI

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512102A (en) * 2015-12-01 2016-04-20 北京交控科技股份有限公司 Data parse method and system
CN106095488A (en) * 2016-05-31 2016-11-09 四川秘无痕信息安全技术有限责任公司 A kind of mobile phone behavioural information collocation method based on cloud template way
CN106371766A (en) * 2016-08-29 2017-02-01 北京像素软件科技股份有限公司 Method and device for storing grid data of electronic game
CN110474758A (en) * 2018-05-10 2019-11-19 杭州涂鸦信息技术有限公司 One kind is read based on python dynamic, enciphering configuration method is written
CN109147747A (en) * 2018-09-27 2019-01-04 歌尔股份有限公司 A kind of method, playback equipment, server and system loading tuning parameter
CN109582390A (en) * 2018-11-29 2019-04-05 上海哔哩哔哩科技有限公司 Game data generation method, device and storage medium based on exploitation allocation list
CN109800563A (en) * 2018-12-29 2019-05-24 联想(北京)有限公司 Cipher set-up method and device, computer readable storage medium and computer system
CN110705215A (en) * 2019-09-24 2020-01-17 昆山龙腾光电股份有限公司 Encoding method, encoding device and display device of MIPI configuration file
CN110705215B (en) * 2019-09-24 2023-10-03 昆山龙腾光电股份有限公司 MIPI configuration file encoding method, MIPI configuration file encoding device and MIPI configuration file display device
CN111045748B (en) * 2019-12-04 2023-06-30 方正株式(武汉)科技开发有限公司 Method and system for quickly reading configuration file, server and medium
CN111045748A (en) * 2019-12-04 2020-04-21 方正株式(武汉)科技开发有限公司 Method and system for rapidly reading configuration file, server and medium
CN110989487A (en) * 2019-12-23 2020-04-10 北京东土科技股份有限公司 PLC initialization method and device for industrial server and readable storage medium
CN110989487B (en) * 2019-12-23 2021-05-18 北京东土科技股份有限公司 PLC initialization method and device for industrial server and readable storage medium
CN111679867A (en) * 2020-05-29 2020-09-18 中国航空工业集团公司西安航空计算技术研究所 Embedded system configuration data generation method
CN111679867B (en) * 2020-05-29 2024-02-27 中国航空工业集团公司西安航空计算技术研究所 Method for generating configuration data of embedded system
CN111858524A (en) * 2020-07-27 2020-10-30 北京百川盈孚科技有限公司 Data synchronization method and device
CN112073232A (en) * 2020-08-31 2020-12-11 北京健康之家科技有限公司 Distribution method and device of public resource configuration information and computer equipment
CN113905277A (en) * 2021-12-09 2022-01-07 北京新片场传媒股份有限公司 Method and device for playing video by browser and electronic equipment
CN113905277B (en) * 2021-12-09 2022-03-22 北京新片场传媒股份有限公司 Method and device for playing video by browser and electronic equipment

Also Published As

Publication number Publication date
CN104598263B (en) 2017-12-08

Similar Documents

Publication Publication Date Title
CN104598263A (en) Application program operation method and configuration file generating method and device
EP3200487B1 (en) Message processing method and apparatus
CN104978176B (en) Application programming interfaces call method, device and computer readable storage medium
CN104376353A (en) Two-dimension code generating method, terminal and server and two-dimension code reading method, terminal and server
CN105005909A (en) Method and device for predicting lost users
CN105278937A (en) Method and device for displaying pop-up box messages
CN104580167A (en) Data transmission method, device and system
CN104519197A (en) User login method, user login device and terminal devices
CN104580177B (en) Resource provider method, device and system
CN104238893A (en) Video preview image displaying method and device
CN104935955A (en) Live video stream transmission method, device and system
CN105162591A (en) Equipment registration method and device
CN104965722A (en) Method and apparatus for displaying information
CN104954233A (en) Information push method, device and system
CN103177217B (en) A kind of file scanning method, system and client and server
CN104679381A (en) Method and device for switching chat box
CN104065693A (en) Method, device and system for accessing network data in webpage applications
CN104536782A (en) Guide content display method, and file generation method and device
CN105049470A (en) Event confirming method, apparatus and system
CN104539571A (en) Information interaction method, identity authentication method, server and terminal
CN105389259A (en) Method, apparatus and system for performing application testing
CN104735657A (en) Security terminal verification method, device and system and wireless access point binding method
CN103607431B (en) Mobile terminal resource processing method, device and equipment
CN103607377B (en) Information sharing method, Apparatus and system
CN105530222A (en) Method for establishing connection among terminals, and device and system

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: 510660 Guangzhou City, Guangzhou, Guangdong, Whampoa Avenue, No. 315, self - made 1-17

Patentee after: Guangzhou KuGou Networks Co., Ltd.

Address before: 510000 B1, building, No. 16, rhyme Road, Guangzhou, Guangdong, China 13F

Patentee before: Guangzhou KuGou Networks Co., Ltd.