CN109408132A - A kind of configuration file processing method and server, user terminal, storage medium - Google Patents
A kind of configuration file processing method and server, user terminal, storage medium Download PDFInfo
- Publication number
- CN109408132A CN109408132A CN201710698131.5A CN201710698131A CN109408132A CN 109408132 A CN109408132 A CN 109408132A CN 201710698131 A CN201710698131 A CN 201710698131A CN 109408132 A CN109408132 A CN 109408132A
- Authority
- CN
- China
- Prior art keywords
- configuration file
- server
- user terminal
- target
- file set
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
- G06F9/4451—User profiles; Roaming
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The embodiment of the present invention discloses a kind of configuration file processing method and server, user terminal, storage medium.Wherein method and step includes that server receives the acquisition request that user terminal is sent, and the acquisition request is used to obtain the configuration file of target application, and the acquisition request includes the target terminal type of the user terminal and the target application mark of the target application;The server searches the first configuration file set for being uniquely corresponding to the target terminal type and target application mark;If the server finds the first configuration file set, the server sends the first configuration file set to the user terminal.Using the present invention, the occupied memory space of extraneous data is saved for user terminal and improves the treatment effeciency of configuration file furthermore it is possible to provide corresponding configuration file in time for user terminal.
Description
Technical field
The present invention relates to field of computer technology more particularly to a kind of configuration file processing method and servers, user's end
End, storage medium.
Background technique
With the fast development of Internet technology, all kinds of interactive application (examples in the user terminals such as mobile phone, tablet computer
Such as, game, video and shopping etc.) also increasingly go deep into people's lives.Wherein, most of application is come according to system
Exploitation, for example, there are Android (Android) version and iOS system versions for wechat.However in practical applications, due to user
The manufacturer of terminal is numerous, and different vendor, different brands, without model user terminal camera, microphone, loudspeaker,
Central processing unit (CPU, Central Processing Unit), graphics processor (Graphics Processing Unit,
) etc. GPU all had differences on hardware, be both that the application software of Android system needs the user to different manufacturers, model therefore
Terminal is adapted to, and multiple adaptation processing codes corresponding with multiple manufacturers, model are usually integrated into the peace of application
In dress packet, such user terminal, which uses, can obtain corresponding adaptation processing generation according to the manufacturer of itself, model when the application
Code, for example, one contains the corresponding adaptation of different screen size using corresponding installation kit for the adaptation of Android screen
Code is handled, the screen parameter of this mobile phone can be collected when this, which is applied, runs in a certain mobile phone, and then is obtained corresponding suitable
Data are handled with processing code and are shown.
But in the way of above-mentioned setting adaptation processing, had in the installation kit of a certain application largely whole with this user
Hold unrelated adaptation processing code, so that unrelated data occupy the too many memory space of this user terminal.In addition, above-mentioned
Mode can only be to the corresponding adaptation processing of existing hardware setting, when discovery has type of hardware to omit or have new type of hardware hair
When cloth, can only could be perfect when issuing next application version, timeliness is poor.
Summary of the invention
The embodiment of the present invention provides a kind of configuration file processing method and server, user terminal, storage medium, Ke Yiwei
User terminal saves the occupied memory space of extraneous data, furthermore it is possible to provide corresponding configuration text in time for user terminal
Part improves the treatment effeciency of configuration file.
In a first aspect, for the embodiment of the invention provides a kind of configuration file processing methods, comprising:
Server receives the acquisition request that user terminal is sent, and the acquisition request is used to obtain the configuration text of target application
Part, the acquisition request include the target terminal type of the user terminal and the target application mark of the target application;
The server searches the first configuration for being uniquely corresponding to the target terminal type and target application mark
File set;
If the server finds the first configuration file set, the server is sent to the user terminal
The first configuration file set.
In an optional implementation manner, this method further include:
If the server does not find the first configuration file set, the server lookup is answered with the target
With mark and the corresponding second configuration file set of multiple terminal types, the multiple terminal type includes the target terminal
Type;
If the server finds the second configuration file set, the server is sent to the user terminal
The second configuration file set.
In an optional implementation manner, this method comprises:
If the server does not find the second configuration file set, the server is searched whole with the target
Type and the corresponding third configuration file set of multiple application identities are held, the multiple application identities include the target application
Mark;
If the server finds the third configuration file set, the server is sent to the user terminal
The third configuration file set.
In an optional implementation manner, the acquisition request further includes the configuration text that the user terminal has been got
The file identification of part;
The server searches the first configuration for being uniquely corresponding to the target terminal type and target application mark
File set, comprising: the server search be uniquely corresponding to the target terminal type and target application mark to
Option and installment file set, and by the configuration file set to be selected except the file identification instruction configuration file in addition to
Multiple configuration files be determined as the first configuration file set.
In an optional implementation manner, this method further include:
If the server, which receives, is uniquely corresponding to the newly-increased of the target terminal type and target application mark
Configuration file, then the newly-increased configuration file is added in the first configuration file set by the server, is updated
The first configuration file set afterwards, in order to which the subsequent server retransmits updated first configuration file set.
In an optional implementation manner, the target application is generated based on Software Development Kit SDK, described
The configuration file that first configuration file set includes is generated based on the SDK.
Second aspect, for the embodiment of the invention provides a kind of configuration file processing methods, comprising:
User terminal sends acquisition request to server, and the acquisition request is used to obtain the configuration file of target application,
The acquisition request includes the target terminal type of user terminal and the target application mark of the target application;
What the user terminal received that the server sends is uniquely corresponding to the target terminal type and the target
First configuration file set of application identities.
In an optional implementation manner, this method further include:
When what the user terminal received that the server sends is uniquely corresponding to the target terminal type and described
4th configuration file set of target application mark, the user terminal delete the first configuration file set, and described
The 4th configuration file set is stored in target application;
The 4th configuration file set is the upgraded version of the first configuration file set.
In an optional implementation manner, the target application is generated based on Software Development Kit SDK, described
The configuration file that first configuration file set includes is generated based on the SDK.
The third aspect, for the embodiment of the invention provides servers, comprising:
Receiving unit, for receiving the acquisition request of user terminal transmission, the acquisition request is for obtaining target application
Configuration file, the acquisition request includes the target terminal type of the user terminal and the target application of the target application
Mark;
Searching unit is uniquely corresponding to first matching for the target terminal type and target application mark for searching
Set file set;
Transmission unit, it is whole to the user if finding the first configuration file set for the searching unit
End sends the first configuration file set.
In an optional implementation manner, the searching unit, if be also used to the searching unit do not find it is described
First configuration file set is then searched and target application mark and the corresponding second configuration file collection of multiple terminal types
It closes, the multiple terminal type includes the target terminal type;
The transmission unit, if being also used to the searching unit finds the second configuration file set, Xiang Suoshu
User terminal sends the second configuration file set.
In an optional implementation manner, the searching unit, if be also used to the searching unit do not find it is described
Second configuration file set is then searched and the target terminal type and the corresponding third configuration file collection of multiple application identities
It closes, the multiple application identities are identified comprising the target application;
The transmission unit, if being also used to the searching unit finds the third configuration file set, Xiang Suoshu
User terminal sends the third configuration file set.
In an optional implementation manner, the acquisition request further includes the configuration text that the user terminal has been got
The file identification of part;Searching the first configuration file for being uniquely corresponding to the target terminal type and target application mark
Set aspect, the searching unit, which is specifically used for searching, is uniquely corresponding to the target terminal type and target application mark
Configuration file set to be selected, and will in the configuration file set be selected except the file identification instruction configuration file
Except multiple configuration files be determined as the first configuration file set.
In an optional implementation manner, the receiving unit is uniquely corresponding to the target if being also used to receive
The newly-increased configuration file of terminal type and target application mark, then be added to described first for the newly-increased configuration file and match
It sets in file set, obtains updated first configuration file set, retransmit updated first configuration in order to subsequent
File set.
In an optional implementation manner, the target application is generated based on Software Development Kit SDK, described
The configuration file that first configuration file set includes is generated based on the SDK.
Fourth aspect, for the embodiment of the invention provides a kind of user terminals, comprising:
Transmission unit, for sending acquisition request to server, the acquisition request is used to obtain the configuration of target application
File, the acquisition request include the target terminal type of user terminal and the target application mark of the target application;
Receiving unit is uniquely corresponding to the target terminal type and the target for receive that the server sends
First configuration file set of application identities.
In an optional implementation manner, the user terminal further include:
Delete unit, for when the user terminal receive that the server sends to be uniquely corresponding to the target whole
The 4th configuration file set for holding type and target application mark, deletes the first configuration file set, and described
The 4th configuration file set is stored in target application;
The 4th configuration file set is the upgraded version of the first configuration file set.
In an optional implementation manner, the target application is generated based on Software Development Kit SDK, described
The configuration file that first configuration file set includes is generated based on the SDK.
The 5th aspect of the embodiment of the present invention provides a kind of computer storage medium, and the computer storage medium is stored with
A plurality of instruction, described instruction are suitable for being loaded by processor and executing method as described in relation to the first aspect.
The 6th aspect of the embodiment of the present invention provides a kind of server, comprising: processor, memory and communication interface;
Wherein, the memory is stored with computer program, and the processor realizes such as first aspect when executing the computer program
The method.
The 7th aspect of the embodiment of the present invention provides a kind of computer storage medium, and the computer storage medium is stored with
A plurality of instruction, described instruction are suitable for being loaded by processor and being executed such as second aspect the method.
Eighth aspect of the embodiment of the present invention provides a kind of user terminal, comprising: processor, memory and communication connect
Mouthful;Wherein, the memory is stored with computer program, and the processor realizes such as second party when executing the computer program
Face the method.
The 9th aspect of the embodiment of the present invention provides a kind of configuration file processing system, the configuration file processing system packet
Server and user terminal are included, the server includes processor, memory and communication interface, and the memory is for storing
Program code, the processor call the program code stored in the memory to execute method described in first aspect;It is described
User terminal includes processor, memory and communication interface, and the memory is for storing program code, the processor tune
The method described in the program code execution second aspect stored in the memory.
In embodiments of the present invention, what server received user terminal transmission includes target terminal type and target application
The acquisition request of target application mark, acquisition request are used to obtain the configuration file of target application;Server is searched unique corresponding
In the first configuration file set that target terminal type and target application identify;If server finds the first configuration file collection
It closes, then server sends the first configuration file set to user terminal.In such a way that server sends configuration file, Neng Goushi
It is existing targetedly to provide the configuration file of suitability for user terminal, in such user terminal without storage and target application without
The configuration file of pass saves the occupied memory space of extraneous data for user terminal, in addition, when discovery has type of hardware something lost
When leaking or having new type of hardware publication, configuration file can be also issued in time and is sent to the user terminal to be used, is improved
The treatment effeciency of configuration file.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
Some embodiments of invention for those of ordinary skill in the art without creative efforts, can be with
It obtains other drawings based on these drawings.
Fig. 1 is a kind of schematic diagram of configuration file processing system provided in an embodiment of the present invention;
Fig. 2 is a kind of flow diagram of configuration file processing method provided in an embodiment of the present invention;
Fig. 3 is the flow diagram of another configuration file processing method provided in an embodiment of the present invention;
Fig. 4 is the flow diagram of another configuration file processing method provided in an embodiment of the present invention;
Fig. 5 is a kind of modified example figure of configuration file provided in an embodiment of the present invention;
Fig. 6 is a kind of exemplary diagram of configuration file provided in an embodiment of the present invention;
Fig. 7 is a kind of exemplary diagram of configuration file provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram of server provided in an embodiment of the present invention;
Fig. 9 is the structural schematic diagram of another server provided in an embodiment of the present invention;
Figure 10 is a kind of structural schematic diagram of user terminal provided in an embodiment of the present invention;
Figure 11 is the structural schematic diagram of another user terminal provided in an embodiment of the present invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
Referring to Figure 1, for the embodiment of the invention provides a kind of configuration file processing systems.As shown in Figure 1, the configuration
Document handling system includes server and user terminal.Wherein, the server is for providing configuration file to user terminal
Background devices.The scheme of the embodiment of the present invention can apply the configuration file for obtaining target application to server with user terminal,
For example, sending in user terminal to server includes the target terminal type of user terminal and the target application mark of target application
Acquisition request, user terminal receive the target terminal type and the first of target application mark that is uniquely corresponding to that server is sent and match
Set file set.Server receives the acquisition request that user terminal is sent, and searches and be uniquely corresponding to target terminal type and mesh
Mark the first configuration file set of application identities;If server finds the first configuration file set, server is whole to user
End sends the first configuration file set.In such a way that server sends configuration file, it can be realized targetedly as user
Terminal provides the configuration file of suitability, without storing the configuration file unrelated with target application in such user terminal, for
Family terminal saves the occupied memory space of extraneous data, in addition, when discovery has type of hardware to omit or have new hardware classes
When type is issued, configuration file can be also issued in time and is sent to the user terminal the processing effect for improving configuration file to be used
Rate.
The present embodiments relate to server can be the background devices for having translation profile.Optionally, it services
The storage etc. of configuration file may be implemented in device;Alternatively, further including that can be communicated with server in configuration file processing system
Database, database for realizing configuration file storage, wherein server execute lookup movement be to search in the database
's.Further alternative, server, which can also have, provides the service platform of operation for user, such as may be implemented to check, repair
Change, delete stored configuration file etc..
The present embodiments relate to user terminal can be the equipment for having display, communication function, such as: plate electricity
Brain, mobile phone, electronic reader, personal computer (Personal Computer, PC), laptop, mobile unit, network
The equipment such as TV, wearable device.
Below in conjunction with attached drawing 1- attached drawing 7, it is situated between in detail to configuration file processing method provided in an embodiment of the present invention
It continues.
Fig. 2 is referred to, for the embodiment of the invention provides a kind of flow diagrams of configuration file processing method.Such as Fig. 2
Shown, the configuration file processing method of the embodiment of the present invention is executed by server, may comprise steps of 201- step
203。
201, server receives the acquisition request that user terminal is sent, and the acquisition request is for obtaining matching for target application
Set file.
Specifically, user terminal sends acquisition request to server, correspondingly, server receives the acquisition request.Wherein,
The acquisition request is the configuration file for obtaining target application.
Optionally, configuration file may include the file being turned on or off about a certain function, for example, suspended window is
Switch that whether switch, the not wireless fidelity (Wireless Fidelity, WIFI) of no unlatching Load Image, whether open from
The function etc. of dynamic positioning.
Optionally, configuration file can also include hardware-related adaptation or adjustment file, for example, the exhibition of target application
Show being adapted to for region and the screen of user terminal, since the type of user terminal is more and more, the screen ruler of different user terminals
Very little difference, the screen size which may be implemented display area and user terminal in target application match.For another example,
Target application uses the volume adjustment in the case where the loudspeaker in user terminal, and target application is using loudspeaker
Higher or lower volume is needed, then can configure the configuration file of the speaker volume of a change user terminal.For another example,
The configuration file of configuration correction camera angle, calling the camera in user terminal for target application, there are deviation needs to repair
In the case where just, this kind of configuration files can be configured.The above is only citing, the embodiment of the present invention to the type of configuration file with
The aspect being related to is without limitation.
Further, the acquisition request includes the target terminal type of the user terminal and the mesh of the target application
Mark application identities.Server can determine the manufacturer of user terminal, model etc. according to target terminal type, for example, target terminal
Type is Huawei p10, millet 6, OPPO R11 etc., and server can determine screen ruler according to the target terminal type of user terminal
Very little, screen resolution, screen pixels density, Screen Technology, processor model and quantity, core number, ROM capacity, with
Machine accesses memory capacity, audio support format, video and format, picture is supported to support at least one in format etc..
Optionally, ROM capacity, random access memory can also be increased in the target terminal model of the example above
Device capacity, for example, Huawei p10 (4g+64g), millet 6 (6GB+64GB), so that server is can not be directly according to manufacturer and type
It, can be by acquisition request in the case where number determining the ROM capacity of user terminal, random access memory capacity
Including information determine.
Optionally, application identities may include Apply Names, using in pointing character, application icon at least one of carry out table
Show.
Optionally, since the system version of user terminal changes, user terminal can be increased in acquisition request and worked as
Preceding system version number this so that the configuration suitable for the user terminal based on the system is determined more accurately in server
File.
202, the server, which is searched, is uniquely corresponding to the first of the target terminal type and target application mark
Configuration file set.
Specifically, the server is stored with the corresponding configuration file set of multiple terminal types, multiple application identities.
The server according in the acquisition request received target terminal type and target application mark come obtain the first configuration text
Part set.It may include wherein one or more configuration file in the first configuration file set, and each configuration file is unique
It is identified corresponding to target terminal type and target application.
In embodiments of the present invention, configuration file, which is uniquely corresponding to target terminal type and target application mark, indicates that this is matched
Setting file cannot be in corresponding to other terminal types and application identities.For example, terminal type includes A1, A2, application
Mark includes B1, B2;Target terminal type in acquisition request is A2, and target application is identified as B1.
As it can be seen from table 1 configuration file corresponding with A2 and B1 has configuration file 1 and configuration file 3.Wherein, it configures
File 1 can correspond to A1 and B1, A1 and B2, A2 and B1;Accordingly, it is determined that configuration file 1 is not uniquely corresponding to A2's and B1;
Configuration file 3 corresponds only to A2 and B1, therefore the first configuration file set includes configuration file 3.
The corresponding relationship of 1 terminal type of table, application identities and configuration file mark
Terminal type | Application identities | Configuration file mark |
A1 | B1 | Configuration file 1, configuration file 2 |
A1 | B2 | Configuration file 1, |
A2 | B1 | Configuration file 1, configuration file 3 |
A2 | B2 | Configuration file 2 |
As can be seen that the configuration file for being uniquely corresponding to the target terminal type and target application mark is for the user
The configuration file of target application customization in terminal, can preferably match the user terminal.
203, if the server finds the first configuration file set, the server is to the user terminal
Send the first configuration file set.
Specifically, if the server is literary to first configuration according to target terminal mark and target application identifier lookup
Part set, then the server sends the first configuration file set to the user terminal, so that the user terminal solution
Each configuration file in the first configuration file set is analysed, and executes corresponding processing according to configuration file.
Optionally, the target application is based on Software Development Kit (Software Development Kit, SDK)
It generates, the configuration file that the first configuration file set includes is generated based on the SDK.In this way due to configuration file
Be based on identical kit with target application, can parse the configuration file in order to target application, and according to the configuration file into
The corresponding processing of row, so that being configured to the target application that file is preferably adapted in user terminal.
In embodiments of the present invention, what server received user terminal transmission includes target terminal type and target application
The acquisition request of target application mark, acquisition request are used to obtain the configuration file of target application;Server is searched unique corresponding
In the first configuration file set that target terminal type and target application identify;If server finds the first configuration file collection
It closes, then server sends the first configuration file set to user terminal.In such a way that server sends configuration file, Neng Goushi
It is existing targetedly to provide the configuration file of suitability for user terminal, in such user terminal without storage and target application without
The configuration file of pass saves the occupied memory space of extraneous data for user terminal, in addition, when discovery has type of hardware something lost
When leaking or having new type of hardware publication, configuration file can be also issued in time and is sent to the user terminal to be used, is improved
The treatment effeciency of configuration file.
Fig. 3 is referred to, for the embodiment of the invention provides the flow diagrams of another configuration file processing method.Such as figure
Shown in 3, the configuration file processing method of the embodiment of the present invention is executed by user terminal, may comprise steps of 301- step
Rapid 302.
301, user terminal sends acquisition request to server.
Specifically, the acquisition request is used to obtain the configuration file of the target application, the acquisition request includes institute
State the target terminal type of user terminal and the target application mark of the target application.Target terminal type is determined for
Manufacturer, model of user terminal etc. can be used for really for example, target terminal type is Huawei p10, millet 6, OPPO R11 etc.
Determine screen size, screen resolution, screen pixels density, Screen Technology, processor model and quantity, core number, read-only storage
Device capacity, random access memory capacity, audio support format, video that format, picture is supported to support at least one in format etc.
?.
Optionally, ROM capacity, random access memory can also be increased in the target terminal model of the example above
Device capacity, for example, Huawei p10 (4g+64g), millet 6 (6GB+64GB), are determined for the read-only memory of user terminal
Capacity, random access memory capacity.
Optionally, application identities may include Apply Names, using in pointing character, application icon at least one of carry out table
Show.
Optionally, the current system version number of user terminal can be increased in acquisition request, can be used for it is more accurate really
The fixed configuration file suitable for the user terminal based on the system.
Optionally, in the case where detecting operational order corresponding with target application in user terminal, the user is whole
It holds to server and sends acquisition request.Operational order corresponding with target application may include but be not limited to open in user terminal
Operational order, the data acquisition request associated with target application etc. of moving-target application.For example, soft for social communication
For part (e.g., QQ, wechat, Skype), in the case where voice-enabled chat or Video chat, user terminal can be sent out to server
Acquisition request is sent, so that server searches whether the first configuration file set to match.
302, the target terminal type that the user terminal received that the server sends be uniquely corresponding to and described
First configuration file set of target application mark.
Specifically, the user terminal receives the first configuration file set that the server is sent.Wherein the first configuration
May include one or more configuration file in file set, and each configuration file be uniquely corresponding to target terminal type and
Target application mark.
In embodiments of the present invention, configuration file, which is uniquely corresponding to target terminal type and target application mark, indicates that this is matched
Setting file cannot be in corresponding to other terminal types and application identities.Specifically it may refer to first in embodiment illustrated in fig. 2
The detailed description of configuration file set, details are not described herein.
Optionally, the target application is generated based on SDK, the configuration file that the first configuration file set includes
It is to be generated based on the SDK.In this way since configuration file and target application are based on identical kit, can be answered in order to target
With the configuration file is parsed, and performed corresponding processing according to the configuration file, so that being configured to file is preferably adapted to user
Target application in terminal.
In embodiments of the present invention, user terminal sends acquisition request to server, and acquisition request is answered for obtaining target
Configuration file, acquisition request include the target terminal type of user terminal and the target application mark of target application;User
Terminal receives the first configuration file set for being uniquely corresponding to target terminal type and target application mark that server is sent.It is logical
The mode for receiving configuration file is crossed, is not necessarily to store the configuration file unrelated with target application in such user terminal, is that user is whole
End saves the occupied memory space of extraneous data, in addition, since server can provide in time for user terminal and target
Terminal type and target application identify the configuration file to match, improve the treatment effeciency of configuration file.
Fig. 4 is referred to, for the embodiment of the invention provides the flow diagrams of another configuration file processing method.Such as figure
Shown in 4, the configuration file processing method of the embodiment of the present invention be by user terminal and server interaction realize, may include with
Lower step 401- step 409.
401, user terminal sends acquisition request to server.
Wherein, step 401 may refer to the specific introduction of step 301 in embodiment illustrated in fig. 3, and details are not described herein.
Correspondingly, server receives the acquisition request that user terminal is sent.
402, the server, which judges whether to find, is uniquely corresponding to the target terminal type and the target is answered
With the first configuration file set of mark.
Specifically, the server is stored with the corresponding configuration file set of multiple terminal types, multiple application identities.
The server according in the acquisition request received target terminal type and target application mark search whether that there are the
One configuration file set.It wherein may include one or more configuration file in the first configuration file set, and each configuration is literary
Part is uniquely corresponding to target terminal type and target application mark.
In embodiments of the present invention, configuration file, which is uniquely corresponding to target terminal type and target application mark, indicates that this is matched
Setting file cannot be in corresponding to other terminal types and application identities.
In optional scheme, the acquisition request further includes the files-designated for the configuration file that the user terminal has been got
Know;The server described in this way searches the first configuration file set: first searching and is uniquely corresponding to the target terminal type
The configuration file set to be selected identified with the target application, and the file will be removed in the configuration file set to be selected
It identifies multiple configuration files except the configuration file of instruction and is determined as the first configuration file set.
Further, if server finds the first configuration file set, 403 are thened follow the steps, if not finding first
Configuration file set, thens follow the steps 404.
For example, if the configuration file collection to be selected that server is found is combined into P, P include configuration file p1, p2, p3,
p4;The file identification for the configuration file got for including in acquisition request is p1, p3, then server can determine that first matches
Setting file set includes p2 and p4.
Again for example, if the configuration file collection to be selected that server is found is combined into P, P include configuration file p1, p2,
p3,p4;The file identification for the configuration file got for including in acquisition request is p1, p2, p3, p4, then server can be with
Determination does not find the first configuration file set, thens follow the steps 404.
Again for example, if server does not find configuration file set to be selected;Acquisition request is not carried and has been got
Configuration file file identification, then server, which can determine, does not find the first configuration file set, thens follow the steps 404.
403, if the server finds the first configuration file set, the server is to the user terminal
Send the first configuration file set.
Specifically, if in the case that server finds the first configuration file set after executing step 402, the service
The the first configuration file set found is sent to the user terminal by device, so that user terminal parsing the first configuration text
Each configuration file in part set, and corresponding processing is executed according to configuration file.
Correspondingly, user terminal receives the first configuration file set that server is sent.
404, if the server does not find the first configuration file set, the server judges whether to look into
It finds and target application mark and the corresponding second configuration file set of multiple terminal types, the multiple terminal type
Include the target terminal type.
Specifically, the server is sentenced if server does not find the first configuration file set after executing step 402
It is disconnected whether can find with target application mark and the corresponding second configuration file set of multiple terminal types, it is described more
A terminal type includes the target terminal type.
Optionally, the server can set a type identification to multiple terminal types, for example, target terminal
Type is A2, and target application is identified as B1, and storing multiple terminal types corresponding with B1 includes M1, M2, M3, wherein in M1 and M2
Including A2, therefore, the configuration file corresponding to B1 and M1 be may belong in the second configuration file set, corresponding to matching for B1 and M2
It sets file also and may belong to the second configuration file set.As can be seen that equal with target application mark and multiple terminal types
Corresponding second configuration file set includes configuration file 4 and configuration file 5.
The corresponding relationship of a terminal type of table more than 2, application identities and configuration file mark
Multiple terminal types | Application identities | Configuration file mark |
M1(A1、A2、A3) | B1 | Configuration file 4 |
M2(A2、A3) | B1 | Configuration file 5, |
M3(A1、A4、A5) | B1 | Configuration file 6, configuration file 7 |
Can for example, in server be related to many terminal types again, thus server by there is currently all eventually
End type set is multiple terminal types, and searches the second configuration corresponding with the terminal type of target application mark and whole
File set.Such as whole terminal types is set as identifying ALL by server, can select in the option of input terminal type
This mark of ALL is selected, the input target application mark in the option of input application identities, and then obtain lookup result.
Further, if finding the second file configuration set, the server executes step 405, if not finding
Second file configuration set, then the server executes step 406.
405, if the server finds the second configuration file set, the server is to the user terminal
Send the second configuration file set.
Specifically, if server finds the second configuration file set, the server after executing step 404
The second configuration file set is sent to the user terminal.
Correspondingly, user terminal receives the first configuration file set that server is sent.
406, if the server does not find the second configuration file set, the server judges whether to look into
It finds and the target terminal type and the corresponding third configuration file set of multiple application identities, the multiple application identities
It is identified comprising the target application.
Specifically, if server does not find the second configuration file set, the service after executing step 404
Device judges whether that third configuration file set can be found, and wherein third configuration file set contains and the target terminal
Type and the corresponding configuration file of multiple application identities, and multiple application identities contain the target carried in acquisition request and answer
With mark.
Optionally, the server can set a mark to multiple application identities, for example, target terminal type
For A2, target application is identified as B1, and storage multiple application identities corresponding with A2, which include in N1, N2, N3, wherein N1 and N3, includes
B1, therefore, the configuration file corresponding to A2 and N1 may belong in the second configuration file set, the configuration text corresponding to A2 and N3
Part also may belong to the second configuration file set.As can be seen that corresponding with the target terminal type and multiple application identities
The second configuration file set include configuration file 10, configuration file 12 and configuration file 13.
The corresponding relationship of a application identities of table more than 3, target terminal type and configuration file mark
Target terminal type | Multiple application identities | Configuration file mark |
A2 | N1(B1、B2、B3) | Configuration file 10 |
A2 | N2(B2、B4) | Configuration file 11, |
A2 | N3(B1、B5) | Configuration file 12, configuration file 13 |
Can for example, in server be related to many application identities again, thus server by there is currently whole answer
It is multiple application identities with flag, and searches the second configuration corresponding with the application identities of target terminal type and whole
File set.Such as whole application identities are set as identifying open SDK by server, in the option of input application identities
It can choose this mark of open SDK, target terminal type inputted in the option of input terminal type, and then searched
As a result.
Further, if finding third file configuration set, the server executes step 407, if not finding
Third file configuration set, then the server executes step 408.
407, if the server finds the third configuration file set, the server is to the user terminal
Send the third configuration file set.
Specifically, if server finds the third configuration file set, the server after executing step 406
The third configuration file set is sent to the user terminal.
Correspondingly, user terminal receives the third configuration file set that server is sent.
408, if the server does not find the third configuration file set, the server is not to the user
Terminal sends data.
Specifically, the server is not to described if the server does not find the third configuration file set
User terminal sends data.
It should be noted that in embodiments of the present invention, not looked into after executing the step 402, and in the server
In the case where finding the first configuration file set, the server, which can execute the judgement of server described in step 406, is
It is no to find and the movement of the target terminal type and the corresponding third configuration file set of multiple application identities.It connects
, step 407 is executed, if the server finds the third configuration file set, the server is to the user
Terminal sends the third configuration file set.Alternatively, being held if the server does not find the third configuration file set
Server described in row step 404 judges whether to find corresponding with target application mark and multiple terminal types
The movement of second configuration file set.Finally, step 405 is executed, if the server finds the second configuration file collection
It closes, then the server sends the second configuration file set to the user terminal.Alternatively, if the server is not searched
To the second configuration file set, the movement that server described in step 408 does not send data to the user terminal is executed.
409, if the server receive be uniquely corresponding to the target terminal type and the target application mark
Newly-increased configuration file, then the newly-increased configuration file is added in the first configuration file set by the server, is obtained
Updated first configuration file set, in order to which the subsequent server retransmits updated first configuration file collection
It closes.
Specifically, if the server, which receives, is uniquely corresponding to the target terminal type and target application mark
Newly-increased configuration file, then the newly-increased configuration file is added in the first configuration file set by the server, is obtained
To updated first configuration file set, in order to which the subsequent server retransmits updated first configuration file collection
It closes.
Optionally, the server can also receive deletion to any one configuration file, change operation, realize to matching
Set the intelligent processing of file.
For example, as shown in figure 5, for the embodiment of the invention provides a kind of modified example figures of configuration file.User
Can on the corresponding processing platform of server, select terminal type (for example, manufacturer's information, task type, machine models) and
After application identities (appropriate products), increased configuration file is wanted in addition, for example, the configuration file added shown in Fig. 5 is
The configuration file of hardware compression test, the configuration file of loudspeaker earpiece switching will can be added by search.Wherein, it fits
It is open SDK with product is the mark for indicating all to apply.
Optionally, for the second newly-increased configuration file corresponding to target terminal type and multiple application identities, the clothes
Described second newly-increased configuration file is added in the second configuration file set by business device, obtains updated second configuration text
Part set, in order to which the subsequent server retransmits updated second configuration file set.
Optionally, the third identified corresponding to multiple terminal types and target application increases configuration file, the server newly
It increases the third newly configuration file to be added in the third configuration file set, obtains updated third configuration file collection
It closes, in order to which the subsequent server retransmits updated third configuration file set.
Optionally, when what the user terminal received that the server sends is uniquely corresponding to the target terminal type
With the 4th configuration file set of target application mark, the user terminal deletes the first configuration file set, and
The 4th configuration file set is stored in the target application.The 4th configuration file set is the first configuration text
The upgraded version of part set.For example, the 4th configuration file set and the first configuration file set are to be uniquely corresponding to target end
The configuration file of the loudspeaker of type and target application mark is held, then is calling matching for loudspeaker in the target application of user terminal
In the case where setting file, since the 4th configuration file set is the upgraded version of the first configuration file, user terminal can be with
Loudspeaker is called according to the 4th configuration file, optionally, the user terminal is receiving the 4th configuration file set for
One configuration file set is deleted, to save the memory space of user terminal.
Optionally, the 4th configuration file set and the first configuration file set can be determined whether by file identification for
Configuration file in terms of identical, and increase version identifier to determine whether for upgraded version.For example, the first configuration file
Collection is combined into profile 1_v1.1, and the second configuration file collection is combined into profile 1_v1.2, wherein profile 1 is for indicating
Which speaker volume setting, v1.1 and v1.2 can determine by the size of version number here for indicating two different editions
A configuration file be upgraded version, such as by version number greatly be set as upgraded version, it is not limited in the embodiment of the present invention.
It should be noted that user terminal receives the first configuration file set in the embodiment of the present invention, the second file is matched
Set or third configuration file set are set, then user terminal can store each configuration file, and solve to it
Analysis is to realize corresponding processing.
Based on Fig. 2, embodiment illustrated in fig. 4, it is flat next to illustrate a kind of configuration file management suitable for the application
Platform leads to as shown in fig. 6, can show multiple terminal types, the corresponding configuration file of multiple application identities in task list
Corresponding configuration file set can be determined by crossing the corresponding terminal type of this platform selecting and application identities.Further,
Fig. 7 is referred to, for the embodiment of the invention provides configuration file example figures, for example, to point on the action-item in Fig. 6 in certain a line
" checking operation " is hit, can show concrete configuration file set as shown in Figure 7.
Optionally, target application involved in the embodiment of the present invention is generated based on SDK, related first configuration text
The configuration file that part set, the second configuration file set, third configuration file set are included is generated based on the SDK.
In this way since configuration file and target application are based on identical kit, the configuration file can be parsed in order to target application, and
It is performed corresponding processing according to the configuration file, so that being configured to the target application that file is preferably adapted in user terminal.
In embodiments of the present invention, what server received user terminal transmission includes target terminal type and target application
The acquisition request of target application mark, acquisition request are used to obtain the configuration file of target application;Server is searched unique corresponding
In the first configuration file set that target terminal type and target application identify;If server finds the first configuration file collection
It closes, then server sends the first configuration file set to user terminal.In such a way that server sends configuration file, Neng Goushi
It is existing targetedly to provide the configuration file of suitability for user terminal, in such user terminal without storage and target application without
The configuration file of pass saves the occupied memory space of extraneous data for user terminal.When discovery have type of hardware omit or
When having new type of hardware publication, configuration file can be also issued in time and is sent to the user terminal to be used, configuration is improved
The treatment effeciency of file.
Below in conjunction with attached drawing 8 to attached drawing 11, server provided in an embodiment of the present invention and user terminal are carried out detailed
It introduces.It should be noted that attached drawing 8 and attached server shown in Fig. 9, for executing in Fig. 2 of the present invention and embodiment illustrated in fig. 4
User terminal shown in step performed by server, attached drawing 10 and attached drawing 11, it is real shown in Fig. 3 and Fig. 4 of the present invention for executing
Step performed by user terminal in example is applied, for ease of description, only parts related to embodiments of the present invention are shown, specifically
What technical detail did not disclosed, Fig. 2 of the present invention is please referred to embodiment shown in Fig. 4.
Fig. 8 is referred to, for the embodiment of the invention provides a kind of structural schematic diagrams of server.As shown in figure 8, of the invention
The server 1 of embodiment may include: receiving unit 11, searching unit 12 and transmission unit 13.
Receiving unit 11, for receiving the acquisition request of user terminal transmission, the acquisition request is answered for obtaining target
Configuration file, the acquisition request include that the target terminal type of the user terminal and the target of the target application are answered
With mark.
Searching unit 12 is uniquely corresponding to the first of the target terminal type and target application mark for searching
Configuration file set.
Transmission unit 13, if finding the first configuration file set for the searching unit 12, to the use
Family terminal sends the first configuration file set.
In an alternative embodiment, the searching unit 12, if being also used to the searching unit 12 does not find institute
The first configuration file set is stated, then is searched and target application mark and corresponding second configuration file of multiple terminal types
Set, the multiple terminal type include the target terminal type;
The transmission unit 13, if being also used to the searching unit 12 finds the second configuration file set, to
The user terminal sends the second configuration file set.
In an alternative embodiment, the searching unit 12, if being also used to the searching unit 12 does not find institute
The second configuration file set is stated, then is searched and the target terminal type and the corresponding third configuration file of multiple application identities
Set, the multiple application identities are identified comprising the target application;
The transmission unit 13, if being also used to the searching unit 12 finds the third configuration file set, to
The user terminal sends the third configuration file set.
In an alternative embodiment, the acquisition request further includes the configuration file that the user terminal has been got
File identification;
Searching the first configuration file set for being uniquely corresponding to the target terminal type and target application mark
Aspect, the searching unit 12 be specifically used for search be uniquely corresponding to the target terminal type and the target application mark
Configuration file set to be selected, and by the configuration file set to be selected remove the file identification instruction configuration file it
Outer multiple configuration files are determined as the first configuration file set.
In an alternative embodiment, the receiving unit 11 is uniquely corresponding to the target if being also used to receive
The newly-increased configuration file of terminal type and target application mark, then be added to described first for the newly-increased configuration file and match
It sets in file set, obtains updated first configuration file set, retransmit updated first configuration in order to subsequent
File set.
In an alternative embodiment, the target application is generated based on Software Development Kit SDK, described
The configuration file that one configuration file set includes is generated based on the SDK.
It should be noted that unit performed by server 1 described in the embodiment of the present invention and bring beneficial effect
Can in the embodiment of the method according to above-mentioned Fig. 2 and Fig. 4 step performed by server specific implementation, details are not described herein again.
The embodiment of the invention also provides a kind of computer storage medium, the computer storage medium can store more
Item instruction, described instruction are suitable for being loaded as processor and being executed as performed by server in above-mentioned Fig. 2 and embodiment illustrated in fig. 4
Method and step, specific implementation procedure may refer to illustrating for Fig. 2 and embodiment illustrated in fig. 4, herein without repeating.
Fig. 9 is referred to, for the embodiment of the invention provides the structural schematic diagrams of another server.As shown in figure 9, described
Server 1000 may include: at least one processor 1001, such as CPU, communication interface, such as communication interface include at least one
A network interface 1004 and user interface 1003, memory 1005, at least one communication bus 1002.Wherein, communication bus
1002 for realizing the connection communication between these components.Wherein, user interface 1003 may include display screen (Display),
Keyboard (Keyboard), optional user interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004
It may include optionally standard wireline interface and wireless interface (such as WI-FI interface).Memory 1005 can be high-speed RAM and deposit
Reservoir is also possible to non-labile memory (non-volatile memory), for example, at least a magnetic disk storage.It deposits
Reservoir 1005 optionally can also be that at least one is located remotely from the storage device of aforementioned processor 1001.As shown in figure 9, conduct
May include in a kind of memory 1005 of computer storage medium operating system, network communication module, Subscriber Interface Module SIM with
And configuration file handles application program.
In server 1000 shown in Fig. 9, user interface 1003 is mainly used for providing the interface of input, example for user
Such as, user is obtained to the operational order etc. of configuration file;Network interface 1004 is mainly used for carrying out data communication with user terminal;
And processor 1001 can be used for that the configuration file stored in memory 1005 is called to handle application program, and specifically execute following
Operation:
The acquisition request that user terminal is sent is received, the acquisition request is used to obtain the configuration file of target application, institute
State the target application mark of target terminal type and the target application that acquisition request includes the user terminal;
The server searches the first configuration for being uniquely corresponding to the target terminal type and target application mark
File set;
If the server finds the first configuration file set, the server is sent to the user terminal
The first configuration file set.
In a possible embodiment, the processor 1001 also executes:
If the server does not find the first configuration file set, the server lookup is answered with the target
With mark and the corresponding second configuration file set of multiple terminal types, the multiple terminal type includes the target terminal
Type;
If the server finds the second configuration file set, the server is sent to the user terminal
The second configuration file set.
In a possible embodiment, the processor 1001 also executes:
If the server does not find the second configuration file set, the server is searched whole with the target
Type and the corresponding third configuration file set of multiple application identities are held, the multiple application identities include the target application
Mark;
If the server finds the third configuration file set, the server is sent to the user terminal
The third configuration file set.
In a possible embodiment, the acquisition request further includes the configuration file that the user terminal has been got
File identification;
The processor 1001 is searched in execution and is uniquely corresponding to the target terminal type and target application mark
The first configuration file set in terms of specific execute: lookup is uniquely corresponding to the target terminal type and the target application mark
The configuration file set to be selected known, and the configuration text for file identification instruction being removed in the configuration file set to be selected
Multiple configuration files except part are determined as the first configuration file set.
In a possible embodiment, the processor 1001 also executes:
If the server, which receives, is uniquely corresponding to the newly-increased of the target terminal type and target application mark
Configuration file, then the newly-increased configuration file is added in the first configuration file set by the server, is updated
The first configuration file set afterwards, in order to which the subsequent server retransmits updated first configuration file set.
In a possible embodiment, the target application is generated based on Software Development Kit SDK, described
The configuration file that one configuration file set includes is generated based on the SDK.
In embodiments of the present invention, what server received user terminal transmission includes target terminal type and target application
The acquisition request of target application mark, acquisition request are used to obtain the configuration file of target application;Server is searched unique corresponding
In the first configuration file set that target terminal type and target application identify;If server finds the first configuration file collection
It closes, then server sends the first configuration file set to user terminal.In such a way that server sends configuration file, Neng Goushi
It is existing targetedly to provide the configuration file of suitability for user terminal, in such user terminal without storage and target application without
The configuration file of pass saves the occupied memory space of extraneous data for user terminal, in addition, when discovery has type of hardware something lost
When leaking or having new type of hardware publication, configuration file can be also issued in time and is sent to the user terminal to be used, is improved
The treatment effeciency of configuration file.
Referring to Figure 10, for the embodiment of the invention provides a kind of structural schematic diagrams of user terminal.As shown in Figure 10, originally
The user terminal 2 of inventive embodiments may include transmission unit 21 and receiving unit 22.Optionally, the user terminal 2
It further include deleting unit 23.
Transmission unit 21, for sending acquisition request to server, the acquisition request is for obtaining matching for target application
File is set, the acquisition request includes the target terminal type of user terminal and the target application mark of the target application;
Receiving unit 22 is uniquely corresponding to the target terminal type and the mesh for receive that the server sends
Mark the first configuration file set of application identities.
In a possible embodiment, the user terminal 2 further include:
Unit 23 is deleted, for being uniquely corresponding to the target when what the user terminal received that the server sends
4th configuration file set of terminal type and target application mark, deletes the first configuration file set, and in institute
It states and stores the 4th configuration file set in target application;
The 4th configuration file set is the upgraded version of the first configuration file set.
In a possible embodiment, the target application is generated based on Software Development Kit SDK, described
The configuration file that one configuration file set includes is generated based on the SDK.
It should be noted that unit performed by user terminal 2 described in the embodiment of the present invention and bring are beneficial to effect
Fruit can in the embodiment of the method according to above-mentioned Fig. 3 and Fig. 4 step performed by user terminal specific implementation, it is no longer superfluous herein
It states.
The embodiment of the invention also provides a kind of computer storage medium, the computer storage medium can store more
Item instruction, described instruction are suitable for being loaded as processor and being executed as performed by user terminal in above-mentioned Fig. 3 and embodiment illustrated in fig. 4
Method and step, specific implementation procedure may refer to illustrating for Fig. 3 and embodiment illustrated in fig. 4, herein without repeating.
Referring to Figure 11, for the embodiment of the invention provides the structural schematic diagrams of another user terminal.As shown in figure 11,
The user terminal 2000 may include: at least one processor 2001, such as CPU, communication interface, such as communication interface include
At least one network interface 2004 and user interface 2003, memory 2005, at least one communication bus 2002.Wherein, lead to
Believe bus 2002 for realizing the connection communication between these components.Wherein, user interface 2003 may include display screen
(Display), keyboard (Keyboard), optional user interface 2003 can also include standard wireline interface and wireless interface.Net
Network interface 2004 optionally may include standard wireline interface and wireless interface (such as WI-FI interface).Memory 2005 can be
High speed RAM memory is also possible to non-labile memory (non-volatile memory), for example, at least a disk
Memory.Memory 2005 optionally can also be that at least one is located remotely from the storage device of aforementioned processor 2001.Such as figure
Shown in 11, as may include operating system, network communication module, user in a kind of memory 2005 of computer storage medium
Interface module and configuration file handle application program.
In the user terminal 2000 shown in Figure 11, user interface 2003 is mainly used for providing the interface of input for user,
Such as user is obtained to the operational order etc. of target application;Network interface 2004 is mainly used for carrying out data communication with server;
And processor 2001 can be used for that the configuration file stored in memory 2005 is called to handle application program, and specifically execute following
Operation:
Acquisition request is sent to server, the acquisition request is used to obtain the configuration file of target application, the acquisition
Request includes the target terminal type of user terminal and the target application mark of the target application;
Receive that the server sends is uniquely corresponding to the of the target terminal type and target application mark
One configuration file set.
In a possible embodiment, the processor 2001 also executes:
When what the user terminal received that the server sends is uniquely corresponding to the target terminal type and described
4th configuration file set of target application mark, the user terminal delete the first configuration file set, and described
The 4th configuration file set is stored in target application;
The 4th configuration file set is the upgraded version of the first configuration file set.
In a possible embodiment, the target application is generated based on Software Development Kit SDK, described
The configuration file that one configuration file set includes is generated based on the SDK.
In embodiments of the present invention, user terminal sends acquisition request to server, and acquisition request is answered for obtaining target
Configuration file, acquisition request include the target terminal type of user terminal and the target application mark of target application;User
Terminal receives the first configuration file set for being uniquely corresponding to target terminal type and target application mark that server is sent.It is logical
The mode for receiving configuration file is crossed, is not necessarily to store the configuration file unrelated with target application in such user terminal, is that user is whole
End saves the occupied memory space of extraneous data, in addition, since server can provide in time for user terminal and target
Terminal type and target application identify the configuration file to match, improve the treatment effeciency of configuration file.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with
Relevant hardware is instructed to complete by computer program, the program can be stored in computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.
Claims (14)
1. a kind of configuration file processing method, which is characterized in that
Server receives the acquisition request that user terminal is sent, and the acquisition request is used to obtain the configuration file of target application,
The acquisition request includes the target terminal type of the user terminal and the target application mark of the target application;
The server searches the first configuration file for being uniquely corresponding to the target terminal type and target application mark
Set;
If the server finds the first configuration file set, the server is to described in user terminal transmission
First configuration file set.
2. the method according to claim 1, wherein further include:
If the server does not find the first configuration file set, the server is searched and the target application mark
Know and the corresponding second configuration file set of multiple terminal types, the multiple terminal type include the target terminal class
Type;
If the server finds the second configuration file set, the server is to described in user terminal transmission
Second configuration file set.
3. according to the method described in claim 2, it is characterized by further comprising:
If the server does not find the second configuration file set, the server is searched and the target terminal class
Type and the corresponding third configuration file set of multiple application identities, the multiple application identities include the target application mark
Know;
If the server finds the third configuration file set, the server is to described in user terminal transmission
Third configuration file set.
4. method according to claim 1-3, which is characterized in that the acquisition request further includes that the user is whole
Hold the file identification of the configuration file got;
The server searches the first configuration file for being uniquely corresponding to the target terminal type and target application mark
Set, comprising:
The server search be uniquely corresponding to the target terminal type and target application mark to option and installment text
Part set, and by the configuration file set to be selected except the file identification instruction configuration file in addition to multiple configurations
File is determined as the first configuration file set.
5. the method according to claim 1, wherein further include:
If the server receives the newly-increased configuration for being uniquely corresponding to the target terminal type and target application mark
File, then the newly-increased configuration file is added in the first configuration file set by the server, is obtained updated
First configuration file set, in order to which the subsequent server retransmits updated first configuration file set.
6. the method according to claim 1, wherein the target application is based on Software Development Kit SDK
It generates, the configuration file that the first configuration file set includes is generated based on the SDK.
7. a kind of processing method of configuration file characterized by comprising
User terminal sends acquisition request to server, and the acquisition request is used to obtain the configuration file of target application, described
Acquisition request includes the target terminal type of user terminal and the target application mark of the target application;
What the user terminal received that the server sends is uniquely corresponding to the target terminal type and the target application
First configuration file set of mark.
8. the method according to the description of claim 7 is characterized in that further include:
When what the user terminal received that the server sends is uniquely corresponding to the target terminal type and the target
4th configuration file set of application identities, the user terminal delete the first configuration file set, and in the target
The 4th configuration file set is stored in;
The 4th configuration file set is the upgraded version of the first configuration file set.
9. method according to claim 7 or 8, which is characterized in that the target application is based on Software Development Kit
What SDK was generated, the configuration file that the first configuration file set includes is generated based on the SDK.
10. a kind of computer storage medium, which is characterized in that the computer storage medium is stored with a plurality of instruction, the finger
It enables and is suitable for being loaded by processor and being executed such as any one of claim 1 to 6 the method.
11. a kind of server characterized by comprising processor, memory and communication interface;Wherein, the memory is deposited
Computer program is contained, the processor realizes the side as described in any one of claim 1 to 6 when executing the computer program
Method.
12. a kind of computer storage medium, which is characterized in that the computer storage medium is stored with a plurality of instruction, the finger
It enables and is suitable for being loaded by processor and being executed such as any one of claim 7 to 9 the method.
13. a kind of user terminal characterized by comprising processor, memory and communication interface;Wherein, the memory
It is stored with computer program, the processor realizes the side as described in any one of claim 7 to 9 when executing the computer program
Method.
14. a kind of configuration file processing system, which is characterized in that the configuration file processing system includes that server and user are whole
End, the server include processor, memory and communication interface, and the memory is for storing program code, the place
Reason device calls the program code perform claim stored in the memory requirement 1 to any method of claim 6;It is described
User terminal includes processor, memory and communication interface, and the memory is for storing program code, the processor tune
With the program code perform claim requirement 7 stored in the memory to any method of claim 9.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710698131.5A CN109408132A (en) | 2017-08-15 | 2017-08-15 | A kind of configuration file processing method and server, user terminal, storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710698131.5A CN109408132A (en) | 2017-08-15 | 2017-08-15 | A kind of configuration file processing method and server, user terminal, storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109408132A true CN109408132A (en) | 2019-03-01 |
Family
ID=65454199
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710698131.5A Pending CN109408132A (en) | 2017-08-15 | 2017-08-15 | A kind of configuration file processing method and server, user terminal, storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109408132A (en) |
Cited By (18)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109068311A (en) * | 2018-07-31 | 2018-12-21 | Oppo广东移动通信有限公司 | A kind of display methods, terminal and storage medium |
CN110399026A (en) * | 2019-06-28 | 2019-11-01 | 苏州浪潮智能科技有限公司 | Multi-source list output repositioning method, device and relevant device based on FPGA |
CN110764835A (en) * | 2019-09-18 | 2020-02-07 | 平安科技(深圳)有限公司 | File configuration method and device of application environment, computer equipment and storage medium |
CN110941460A (en) * | 2019-11-22 | 2020-03-31 | 北京金山云网络技术有限公司 | Application program starting method and device, electronic equipment, system and storage medium |
CN111144135A (en) * | 2019-11-19 | 2020-05-12 | 珠海格力电器股份有限公司 | Entry conversion method, device, equipment and readable medium |
CN111882293A (en) * | 2020-07-06 | 2020-11-03 | 珠海格力电器股份有限公司 | Application software checking method and device, computer equipment and storage medium |
CN112073447A (en) * | 2019-06-11 | 2020-12-11 | 北京字节跳动网络技术有限公司 | Model file issuing method, platform, system, terminal and readable storage medium |
CN112561619A (en) * | 2019-09-25 | 2021-03-26 | 百度在线网络技术(北京)有限公司 | Device customization method, device and storage medium |
CN112653564A (en) * | 2019-10-10 | 2021-04-13 | 中盈优创资讯科技有限公司 | Equipment opening configuration method and device |
CN112667321A (en) * | 2021-01-25 | 2021-04-16 | 深圳市欢太科技有限公司 | Quick application starting method and device, storage medium and electronic equipment |
CN113110892A (en) * | 2021-05-12 | 2021-07-13 | 湖南快乐阳光互动娱乐传媒有限公司 | Configuration method and device |
CN113127099A (en) * | 2021-05-12 | 2021-07-16 | 北京奇艺世纪科技有限公司 | Server configuration method, device, equipment and storage medium |
CN113177171A (en) * | 2021-04-16 | 2021-07-27 | 百果园技术(新加坡)有限公司 | Chart display method and device, terminal device and storage medium |
CN113282349A (en) * | 2021-05-26 | 2021-08-20 | 广州市百果园网络科技有限公司 | Configuration object processing method and device, electronic equipment and readable storage medium |
CN113296831A (en) * | 2021-06-11 | 2021-08-24 | 恒安嘉新(北京)科技股份公司 | Application identifier extraction method and device, computer equipment and storage medium |
CN114090127A (en) * | 2021-11-24 | 2022-02-25 | 中国建设银行股份有限公司 | Electronic device, loading method and medium of configuration file of electronic device |
CN114257584A (en) * | 2021-12-24 | 2022-03-29 | 北京深思数盾科技股份有限公司 | Method and device for generating configuration file of Internet of things equipment |
CN115134408A (en) * | 2021-03-19 | 2022-09-30 | 百果园技术(新加坡)有限公司 | Application service implementation method, device, system, medium and equipment |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103973899A (en) * | 2014-05-23 | 2014-08-06 | 深圳市中兴移动通信有限公司 | Mobile terminal and configuration sharing method thereof |
CN104378694A (en) * | 2014-11-13 | 2015-02-25 | 康佳集团股份有限公司 | Parameter configuration method and system of smart televisions |
CN105187480A (en) * | 2015-06-29 | 2015-12-23 | 小米科技有限责任公司 | Configuration file acquisition method, configuration file acquisition device and configuration file acquisition system |
US20160350097A1 (en) * | 2015-06-01 | 2016-12-01 | Wipro Limited | Method for updating firmware and configuration file and a firmware-configuration file management system therefor |
CN106215418A (en) * | 2016-07-06 | 2016-12-14 | 深圳超多维科技有限公司 | The display control method of a kind of application and device, terminal |
CN106598633A (en) * | 2015-10-19 | 2017-04-26 | 北京国双科技有限公司 | Configuration file update method, client and server |
CN106648725A (en) * | 2016-09-07 | 2017-05-10 | 努比亚技术有限公司 | Terminal, server and configuration file upgrading method |
CN106713471A (en) * | 2016-12-29 | 2017-05-24 | 北京奇艺世纪科技有限公司 | Method and device for acquiring configuration file |
-
2017
- 2017-08-15 CN CN201710698131.5A patent/CN109408132A/en active Pending
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103973899A (en) * | 2014-05-23 | 2014-08-06 | 深圳市中兴移动通信有限公司 | Mobile terminal and configuration sharing method thereof |
CN104378694A (en) * | 2014-11-13 | 2015-02-25 | 康佳集团股份有限公司 | Parameter configuration method and system of smart televisions |
US20160350097A1 (en) * | 2015-06-01 | 2016-12-01 | Wipro Limited | Method for updating firmware and configuration file and a firmware-configuration file management system therefor |
CN105187480A (en) * | 2015-06-29 | 2015-12-23 | 小米科技有限责任公司 | Configuration file acquisition method, configuration file acquisition device and configuration file acquisition system |
CN106598633A (en) * | 2015-10-19 | 2017-04-26 | 北京国双科技有限公司 | Configuration file update method, client and server |
CN106215418A (en) * | 2016-07-06 | 2016-12-14 | 深圳超多维科技有限公司 | The display control method of a kind of application and device, terminal |
CN106648725A (en) * | 2016-09-07 | 2017-05-10 | 努比亚技术有限公司 | Terminal, server and configuration file upgrading method |
CN106713471A (en) * | 2016-12-29 | 2017-05-24 | 北京奇艺世纪科技有限公司 | Method and device for acquiring configuration file |
Cited By (31)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109068311A (en) * | 2018-07-31 | 2018-12-21 | Oppo广东移动通信有限公司 | A kind of display methods, terminal and storage medium |
CN112073447A (en) * | 2019-06-11 | 2020-12-11 | 北京字节跳动网络技术有限公司 | Model file issuing method, platform, system, terminal and readable storage medium |
CN112073447B (en) * | 2019-06-11 | 2022-05-17 | 北京字节跳动网络技术有限公司 | Model file issuing method, platform, system, terminal and readable storage medium |
WO2020248801A1 (en) * | 2019-06-11 | 2020-12-17 | 北京字节跳动网络技术有限公司 | Model file issuing method, platform, system, terminal, and readable storage medium |
CN110399026A (en) * | 2019-06-28 | 2019-11-01 | 苏州浪潮智能科技有限公司 | Multi-source list output repositioning method, device and relevant device based on FPGA |
CN110399026B (en) * | 2019-06-28 | 2021-12-03 | 苏州浪潮智能科技有限公司 | Multi-source single-output reset method and device based on FPGA and related equipment |
CN110764835A (en) * | 2019-09-18 | 2020-02-07 | 平安科技(深圳)有限公司 | File configuration method and device of application environment, computer equipment and storage medium |
CN110764835B (en) * | 2019-09-18 | 2024-01-26 | 平安科技(深圳)有限公司 | File configuration method and device for application environment, computer equipment and storage medium |
WO2021051590A1 (en) * | 2019-09-18 | 2021-03-25 | 平安科技(深圳)有限公司 | Application environment file configuration method and apparatus, computer device, and storage medium |
CN112561619A (en) * | 2019-09-25 | 2021-03-26 | 百度在线网络技术(北京)有限公司 | Device customization method, device and storage medium |
CN112561619B (en) * | 2019-09-25 | 2023-10-27 | 百度在线网络技术(北京)有限公司 | Equipment customization method, device, equipment and storage medium |
CN112653564A (en) * | 2019-10-10 | 2021-04-13 | 中盈优创资讯科技有限公司 | Equipment opening configuration method and device |
CN112653564B (en) * | 2019-10-10 | 2023-04-18 | 中盈优创资讯科技有限公司 | Equipment opening configuration method and device |
CN111144135A (en) * | 2019-11-19 | 2020-05-12 | 珠海格力电器股份有限公司 | Entry conversion method, device, equipment and readable medium |
CN110941460B (en) * | 2019-11-22 | 2023-09-01 | 北京金山云网络技术有限公司 | Application program starting method and device, electronic equipment, system and storage medium |
CN110941460A (en) * | 2019-11-22 | 2020-03-31 | 北京金山云网络技术有限公司 | Application program starting method and device, electronic equipment, system and storage medium |
CN111882293B (en) * | 2020-07-06 | 2024-06-07 | 珠海格力电器股份有限公司 | Application software signing and checking method and device, computer equipment and storage medium |
CN111882293A (en) * | 2020-07-06 | 2020-11-03 | 珠海格力电器股份有限公司 | Application software checking method and device, computer equipment and storage medium |
CN112667321A (en) * | 2021-01-25 | 2021-04-16 | 深圳市欢太科技有限公司 | Quick application starting method and device, storage medium and electronic equipment |
CN115134408A (en) * | 2021-03-19 | 2022-09-30 | 百果园技术(新加坡)有限公司 | Application service implementation method, device, system, medium and equipment |
CN115134408B (en) * | 2021-03-19 | 2024-01-05 | 百果园技术(新加坡)有限公司 | Application service realization method, device, system, medium and equipment |
CN113177171A (en) * | 2021-04-16 | 2021-07-27 | 百果园技术(新加坡)有限公司 | Chart display method and device, terminal device and storage medium |
CN113177171B (en) * | 2021-04-16 | 2024-05-28 | 百果园技术(新加坡)有限公司 | Graph display method, device, terminal equipment and storage medium |
CN113127099A (en) * | 2021-05-12 | 2021-07-16 | 北京奇艺世纪科技有限公司 | Server configuration method, device, equipment and storage medium |
CN113127099B (en) * | 2021-05-12 | 2024-04-12 | 北京奇艺世纪科技有限公司 | Server configuration method, device, equipment and storage medium |
CN113110892A (en) * | 2021-05-12 | 2021-07-13 | 湖南快乐阳光互动娱乐传媒有限公司 | Configuration method and device |
CN113282349A (en) * | 2021-05-26 | 2021-08-20 | 广州市百果园网络科技有限公司 | Configuration object processing method and device, electronic equipment and readable storage medium |
CN113296831A (en) * | 2021-06-11 | 2021-08-24 | 恒安嘉新(北京)科技股份公司 | Application identifier extraction method and device, computer equipment and storage medium |
CN113296831B (en) * | 2021-06-11 | 2023-08-25 | 恒安嘉新(北京)科技股份公司 | Application identifier extraction method and device, computer equipment and storage medium |
CN114090127A (en) * | 2021-11-24 | 2022-02-25 | 中国建设银行股份有限公司 | Electronic device, loading method and medium of configuration file of electronic device |
CN114257584A (en) * | 2021-12-24 | 2022-03-29 | 北京深思数盾科技股份有限公司 | Method and device for generating configuration file of Internet of things equipment |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109408132A (en) | A kind of configuration file processing method and server, user terminal, storage medium | |
CN108510389B (en) | Intelligent contract calling method and device based on block chain and readable storage medium | |
WO2017028779A1 (en) | Configuration method and apparatus for internet of things protocol conversion function, nonvolatile computer storage medium and electronic device | |
CN104935744A (en) | Verification code display method, verification code display device and mobile terminal | |
US20110191764A1 (en) | Systems, methods, and apparatuses for facilitating distribution of firmware updates | |
CN107872534B (en) | Information pushing method and device, server and readable storage medium | |
CN104462570B (en) | Web page contents acquisition methods and device | |
CN109618176B (en) | Processing method, equipment and storage medium for live broadcast service | |
CN104780209A (en) | Portable equipment and server for realizing sharing interface scenario | |
CN104965848A (en) | Front-end resource loading method and apparatus | |
CN112231690A (en) | Authority management method and related device | |
CN102163197A (en) | Skin changing method, system and device | |
CN105704106B (en) | A kind of visualization IVR implementation method and mobile terminal | |
CN104113620A (en) | Contact list updating method, updating device and user terminal | |
CN104158899A (en) | Mobile terminal information pushing method, device and system based on service-oriented architecture (SOA) | |
CN109391658B (en) | Account data synchronization method and equipment, storage medium and terminal thereof | |
CN104506616A (en) | Method, device and system for sending information by browser client side | |
JP2019512984A (en) | Method, apparatus and system for checking change of telephone number | |
CN107463524A (en) | A kind of method and relevant device for accessing data | |
CN102904935A (en) | Downloading method, downloading device and downloading system based on home gateway | |
CN110324432A (en) | Applied to the data processing method of terminal, device, medium and calculate equipment | |
CN105812178A (en) | Terminal upgrade method and terminal | |
CN104735643A (en) | Information processing method and data server | |
CN109002321A (en) | Software function reminding method, device and computer readable storage medium | |
CN111880996B (en) | Bare metal data acquisition method, device, equipment and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |