CN107977344A - Date storage method, acquisition methods and server - Google Patents

Date storage method, acquisition methods and server Download PDF

Info

Publication number
CN107977344A
CN107977344A CN201711072186.1A CN201711072186A CN107977344A CN 107977344 A CN107977344 A CN 107977344A CN 201711072186 A CN201711072186 A CN 201711072186A CN 107977344 A CN107977344 A CN 107977344A
Authority
CN
China
Prior art keywords
parameter
combination parameter
server
programming language
systematic
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201711072186.1A
Other languages
Chinese (zh)
Inventor
林福东
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Wangsu Science and Technology Co Ltd
Original Assignee
Wangsu Science and 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 Wangsu Science and Technology Co Ltd filed Critical Wangsu Science and Technology Co Ltd
Priority to CN201711072186.1A priority Critical patent/CN107977344A/en
Publication of CN107977344A publication Critical patent/CN107977344A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/22Indexing; Data structures therefor; Storage structures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/25Integrating or interfacing systems involving database management systems
    • G06F16/258Data format conversion from or to a database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/14Tree-structured documents
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/31Programming languages or programming paradigms
    • G06F8/315Object-oriented languages

Abstract

The present embodiments relate to field of data access technology, discloses a kind of date storage method, acquisition methods and server.Date storage method in the present invention, default programming language is supported applied to server and the server, the described method includes:At least two systematic parameters of selected operation system are obtained as combination parameter;The combination parameter is packaged into the default programming language form;By the combination parameter by the default programming language format conversion into JSON forms;The combination parameter of the JSON forms of the operation system is stored to database.Data capture method and server are additionally provided in the present invention.Technical scheme can make it that access of the server to systematic parameter is more flexible, and management is more convenient, while reduces redundant data.

Description

Date storage method, acquisition methods and server
Technical field
The present embodiments relate to field of data access technology, more particularly to date storage method, acquisition methods and service Device.
Background technology
With the continuous development of Internet technology, terminal device can be various by the various websites of server access, acquisition Resource;Use of the function of service platform to terminal device, which embodies, very big influence.Server can access database with Access data;Wherein, the species of the data stored in database is varied, such as has:The various systematic parameters of server, Shared data, personal record etc..
Current server is typically based on the operation of JAVA platforms, and such server is in storage system parameter, corresponding to every A business, can individually build an allocation list in the database, and include a plurality of data record with table, correspond respectively to multiple System data.It is as shown in table 1 below
Table 1:
id description key value
245 Company information company China Netcenter
246 Copyright information copyright Copyright2015-2020
In table 1, the title of key row correspondence system parameters, the actual value of value row correspondence system parameters, id row correspondences The identity code of systematic parameter, the description of description row correspondence system parameters.Each systematic parameter corresponds to one Data record, and record all includes key and value per data;In practical business scene, pass through key-value Mode obtains systematic parameter, wherein really effectively the corresponding values of value, key have no actual meaning in practical business scene Justice, is intended only as the intermediate data of access.
Inventor has found that at least there are the following problems in the prior art:In practical business scene, often multiple phase relations System parameter uses at the same time, as the two systems parameter (company information and copyright information) of table 1 often uses at the same time, is taken to mark The copyright information of business device;And the mode of above-mentioned key-value is utilized, a value can only be obtained by a key, to be obtained Multiple systematic parameters must be obtained several times by multiple key;As soon as also, often increase a systematic parameter, must multi-configuration one A key, will have more a redundant data.
The content of the invention
The purpose of embodiment of the present invention is to provide a kind of date storage method, acquisition methods and server so that clothes Being engaged in, access of the device to systematic parameter is more flexible, and management is more convenient, while reduces redundant data.
In order to solve the above technical problems, embodiments of the present invention provide a kind of date storage method, applied to service Device and the server support default programming language, the described method includes:Obtain at least two systems of selected operation system Parameter is as combination parameter;The combination parameter is packaged into the default programming language form;By the combination parameter by institute Default programming language format conversion is stated into JSON forms;The combination parameter of the JSON forms of the operation system is stored To database.
Embodiments of the present invention additionally provide a kind of data capture method, are supported applied to server and the server Default programming language, the described method includes:When the acquisition order for the combination parameter for detecting operation system, obtained from database Take the combination parameter of the JSON forms of the operation system;Wherein, the combination parameter is joined including at least two systems Number;By the combination parameter of acquisition by JSON format conversions into the default programming language form;From the default programming language Say in the combination parameter of form and extract each systematic parameter.
Embodiments of the present invention additionally provide a kind of server, and the server includes:At least one processor;With And the memory being connected with least one processor communication;Wherein, have can be by described at least one for the memory storage The instruction that a processor performs, described instruction is performed by least one processor, so that at least one processor energy It is enough to perform the date storage method.
Embodiments of the present invention additionally provide a kind of server, and the server includes:At least one processor;With And the memory being connected with least one processor communication;Wherein, have can be by described at least one for the memory storage The instruction that a processor performs, described instruction is performed by least one processor, so that at least one processor energy It is enough to perform the data capture method.
In terms of existing technologies, at least two systematic parameters of selecting business system are as group for embodiment of the present invention Parameter is closed, combination parameter into JSON forms and is stored into database by the default programming language format conversion, and is being needed The combination parameter of JSON forms is obtained when obtaining from database;At least two systematic parameters that will be selected are as one A entirety is into line access so that access of the server to systematic parameter is more flexible, and management is more convenient, while reduces redundancy Data.
In addition, the default programming language is JAVA, the combination ginseng of the JSON forms by the operation system Number is stored to database, is specifically included:Create a JAVA object;The attribute of the JAVA object includes at least keyword and reality Actual value;Obtain the distinguishing mark for characterizing the combination parameter;The distinguishing mark is assigned to the keyword, and by JSON The combination parameter of form is assigned to the actual value;The JAVA object after assignment is stored to the database.This Embodiment provides a kind of concrete mode of the combination parameter of storage JSON forms.
In addition, it is described the combination parameter is packaged into the default programming language form before, the method is also wrapped Include:The configuration interface of the combination parameter is provided, to configure the combination parameter by the configuration interface.The present embodiment carries The collocation method of the combination parameter is supplied.
In addition, selected at least two systematic parameter is constant parameter.Since constant parameter will not relate to repair Change operation, therefore select multiple constant parameters to form combination parameter to access jointly, can be to avoid when a certain in combination parameter The inconvenience that systematic parameter is needed to change and caused in access.
In addition, the combination parameter of the JSON forms that the operation system is obtained from database, specifically includes:Obtain Take the distinguishing mark for characterizing the combination parameter;The institute of the corresponding JSON forms of the distinguishing mark is obtained from the database State combination parameter.Present embodiments provide the specific storage mode of the combination parameter of JSON forms.Present embodiments provide Obtain a kind of concrete mode of the combination parameter of JSON forms.
Brief description of the drawings
One or more embodiments are illustrative by the picture in corresponding attached drawing, these exemplary theorys The bright restriction not formed to embodiment, the element for having same reference numbers label in attached drawing are expressed as similar element, remove Non- have a special statement, and composition does not limit the figure in attached drawing.
Fig. 1 is the flow chart of date storage method according to the first embodiment of the invention;
Fig. 2 is the particular flow sheet of step 104 according to the first embodiment of the invention;
Fig. 3 is flow chart second embodiment of the invention;
Fig. 4 is the schematic diagram of an example of the configuration interface of the combination parameter of second embodiment of the present invention;
Fig. 5 is the flow chart of the date storage method of the 3rd embodiment according to the present invention;
Fig. 6 is the block diagram of the server of the 4th embodiment according to the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with attached drawing to the present invention Each embodiment be explained in detail.However, it will be understood by those skilled in the art that in each implementation of the invention In mode, many ins and outs are proposed in order to make reader more fully understand the application.But even if without these technologies Details and many variations based on following embodiment and modification, can also realize the application technical side claimed Case.
The first embodiment of the present invention is related to a kind of date storage method, supports to preset applied to server and server Programming language, is the flow chart of the method for present embodiment as shown in Figure 1, comprises the following steps:
Step 101:At least two systematic parameters of selected operation system are obtained as combination parameter;
Step 102:Combination parameter is packaged into default programming language form;
Step 103:By combination parameter by presetting programming language format conversion into JSON forms;
Step 104:The combination parameter of the JSON forms of operation system is stored to database.
Wherein, JSON (JavaScript Object Notation, JS object tag), is that a kind of data of lightweight are handed over Form is changed, it, which is used, is totally independent of the text formatting of programming language to store and represent data.
In terms of existing technologies, at least two systematic parameters of selecting business system are as group for embodiment of the present invention Parameter is closed, combination parameter into JSON forms and is stored into database by default programming language format conversion, and needing to obtain The combination parameter of JSON forms is obtained when taking from database;At least two systematic parameters that will be selected are whole as one Body is into line access so that access of the server to systematic parameter is more flexible, and management is more convenient, while reduces redundant data.
Details, which is specifically described, to be realized to the date storage method of present embodiment below, herein below is only side Just understand that what is provided realizes details, not implement the necessary of this programme.
In the present embodiment, it is JAVA to preset programming language, then it is JAVA object to preset programming language form;Below with Illustrated exemplified by JAVA, right present embodiment is not intended to be limited in any the species for presetting programming language.
In a step 101, at least two systematic parameters of selecting business system are obtained as combination parameter.
Specifically, at least two systematic parameters can be selected as combination parameter according to practical business system.Each industry Business system generally includes multiple systematic parameters, can preselect selected at least two systematic parameter, be used as combination parameter and deposit jointly Take.The selected of combination parameter can be based on the demand only with systematic parameter related service.In general, in an operation system, It is relatively fixed to only relate to the business of systematic parameter, such as initial configuration, copyright information etc., and systematic parameter is initially being assigned The probability being updated afterwards is less, therefore relevant systematic parameter can be selected previously according to practical business demand and forms a group Close, for performing this business.Corresponding combination parameter is obtained consequently, it is possible to can directly be inquired about when performing this generic task i.e. It can meet execution demand, not only improve parameter query speed, moreover it is possible to lift business processing efficiency.
Preferably, change multiple systematic parameters that frequency is very low, the degree of coupling is higher can be selected as combination parameter;Wherein, Each systematic parameter includes parameter name and parameter value, change frequency here very it is low refer to parameter value change frequency it is very low, It will not even change;Here the probability that the degree of coupling is higher to refer to that multiple systematic parameters access jointly is higher.It is preferably, selected Systematic parameter be constant parameter (i.e. parameter value will not change).
In a step 102, combination parameter is packaged into JAVA object.Specifically, a JAVA object is created, it includes Multiple attributes, specific attribute-name then correspond to the parameter name of each systematic parameter in combination parameter, and corresponding property value is then The parameter value of each systematic parameter.It should be noted that when default programming language is other programming languages, can be according to other The intended manner of programming language carries out format analysis processing.
In step 103:The JAVA object is converted into JSON forms.Specifically, JSON can be turned using JAVA Correlation function carry out format conversion.Specifically, by the attribute-name and property value in JAVA object, JSON forms are converted into Afterwards, actually it is converted into a character string, that is to say, that by combination parameter title and corresponding parameter value according to JSON lattice Formula is converted into a character string.Consequently, it is possible to original a plurality of parameter name and parameter value record combination are converted into a word Symbol string, may be such that record data become lightweight.
At step 104:The combination parameter of the JSON forms of operation system is stored to database.That is, by JSON forms Combination parameter as a global storage in the database.Specifically, as shown in Fig. 2, step 104 can include it is as follows Sub-step:
Sub-step 1041:Create a JAVA object;The attribute of the JAVA object includes at least keyword (key) and reality It is worth (value).
Sub-step 1042:Obtain the distinguishing mark of characterization combination parameter.Specifically, the distinguishing mark of combination parameter is characterized Usually preset by developer and be stored in server, right not limited to this, distinguishing mark can also be random by server Generation.
Sub-step 1043:Distinguishing mark is assigned to keyword, and the combination parameter of JSON forms is assigned to actual value. That is, property value of the distinguishing mark as key attribute in this JAVA object of combination parameter will be characterized, by the group of JSON forms Close property value of the parameter (being actually a character string) as actual value attribute.
Sub-step 1044:JAVA object after assignment is stored to database.Wherein, the data used in the present embodiment Storehouse is key-value databases, correspondingly, the storage mode of JAVA object is key-value modes, characterizes combination parameter Distinguishing mark (value of key) and the combination parameter (value of value) of JSON forms store in the database as a data, Based on this, the correspondence of the combination parameter (value of value) of distinguishing mark (value of key) and JSON forms can be established, from And cause by searching for key values, you can obtain corresponding value values.
Further, the attribute of JAVA object can also include identity code (id) and description (description), That is, identity code (id) and description (description) can also be included in data record.
It can be seen from the above that the method provided through this embodiment, which can be based on business actual demand, chooses corresponding systematic parameter Combination parameter is formed, and creates corresponding JAVA object, is stored in key-value databases with JSON forms, not only saved Data space, easier operation to database, so that computer disposal efficiency is lifted, further, When performing this business, only corresponding value values need to be obtained by key value searching datas storehouse, due to the character string of JSON forms Corresponding content is a JAVA object, then then can therefrom obtain business by the way that value values are converted into JAVA object Whole systematic parameters needed for processing, not only operation reduces the reading times to database in traditional approach, but also passes through One key can obtain whole systematic parameters needed for business processing, and then improve the speed of business processing.
Come below with the application scenarios of specific operation system illustrative.
Example 1
Game management system (hereinafter referred to as gms), in the business of display game configuration, is related to three systematic parameters:Energy Measure the upper limit, backfill time and url blacklists, it should be noted that three parameters are as systematic parameter, in system or game During initialization, with regard to carrying out assignment to the value of three systematic parameters and preserving, it is however generally that, in subsequent use process In, seldom it is related to the modification to three systematic parameters.
When business, that is, the player or administrator of the display game configuration need to understand game configuration, inquiry is submitted Request, system will show those systematic parameters according to the request.In this example, institute in game configuration business is selected All systematic parameters needed are combination parameter.
Using in conventional process mode, the JAVA object 1 of systematic parameter is as follows:
Each systematic parameter corresponds to a JAVA object, and parameter name is assigned to key, and parameter value is assigned to value.
Each systematic parameter is in the database separately as a data record storage.That is, one is built in the database to match somebody with somebody Table is put, it is necessary to three systematic parameters are stored in data by three self-defined key in the form of key-value, as shown in table 2, wherein, Four attributes of the first behavior JAVA object in table 2, the second row, the third line, fourth line are respectively that a data records, table Show a systematic parameter.It should be noted that the data in table in the application are exemplary illustrations, it is not limited thereto.
Table 2
id description key value
260 Upper energy limit maxEnergy 100
261 Backfill the time recoverTime 30
262 Url blacklists urlBlackList http://h.7k7k.com/
Wherein, upper energy limit and backfill time are numeric types, and url blacklists are character string types.Due to upper energy limit, Backfill time and url black list types difference, the operation for needing type to change when reading and writing database.Be stored in database before, need by Upper energy limit and backfill time are converted into character string type;After reading database, upper energy limit and backfill time need to be converted into Numeric type.
In the conventional process mode, when performing the business for showing game configuration, this need to be read out respectively from database Three records, consequently, it is possible to need to know upper energy limit, backfill time and three, url blacklists during business performs The corresponding key values of value values, could read out corresponding value values, and changed and shown from database.
Using in the technical solution of the present embodiment, after combination parameter is packaged into JAVA object, the following institute of its JAVA object 2 Show:
Combination parameter is converted into JSON forms by JAVA object, and the combination of the JSON forms of game management system is joined Number is stored to database;Three systematic parameters of game management system are merged into by a data record using JSON forms, A self-defined key is only needed, as shown in table 3.
Table 3
Wherein, the corresponding values { " maxEnergy " of value in table 3:100,"recoverTime":30," urlBlackList": "http://h.7k7k.com " }, be JSON forms combination parameter.
In the technical solution of the present embodiment, according to display game configuration business demand, first choose be related to be Parameter of uniting forms parameter combination, which is packaged into JAVA object, and JAVA object is converted into JSON forms, and It is stored in a manner of one records in database, consequently, it is possible to when performing the business for showing game configuration, only need to be according to this Bar, which records corresponding key values, can get all required systematic parameter.
From the foregoing, it will be observed that the contrast using the technical solution of the present embodiment is understood, it is effective using the technical solution of the present embodiment Reduce by key number, reduce data redundancy;Type conversion is not required at the same time, read-write operation is flexible.
The flow chart of second embodiment of the present invention is illustrated in figure 3, wherein, step 201 to step 204 is real with first Apply the step 101 in example and corresponded to respectively to step 104 similar, increased step 200 newly, be specially:
Step 200:The configuration interface of combination parameter is provided, to configure combination parameter by configuration interface.
Specifically, configuration interface includes each systematic parameter in combination parameter, each systematic parameter includes parameter name And the parameter value with input;Designer can in the configuration interface input parameter value, so as to fulfill to systematic parameter Configuration.Wherein, which can provide when systematic parameter Initialize installation, can also need to change parameter There is provided during value.It is illustrated in figure 4 the configuration interface corresponding to the example 1 in first embodiment;Wherein, the interface in Fig. 4 is set Mode is merely illustrative, and is not limited thereto.
The step of various methods divide above, be intended merely to describe it is clear, can be merged into when realizing a step or Some steps are split, are decomposed into multiple steps, as long as including identical logical relation, all the protection model in this patent In enclosing;To either adding inessential modification in algorithm in flow or introducing inessential design, but its calculation is not changed The core design of method and flow is all in the protection domain of the patent.
Third embodiment of the invention is related to a kind of data capture method, and default compile is supported applied to server and server Cheng Yuyan.In the present embodiment, it is JAVA to preset programming language, then it is JAVA forms to preset programming language form;Below with Illustrated exemplified by JAVA, right present embodiment is not intended to be limited in any the species for presetting programming language.
The flow chart of the method for present embodiment is illustrated in figure 5, is comprised the following steps:
Step 301:Judge whether to detect the acquisition order of the combination parameter of operation system;If so, then enter step 302, if it is not, then terminating.
Wherein, the acquisition order of the combination parameter of operation system, can by the request for the client that server receives and Generation, can also be performed and generated by the operation system of server internal.For example, sent when server receives client Game management system game configuration systematic parameter acquisition request when, server can generate game configuration systematic parameter Obtain request;Alternatively, when the system for managing video of server needs to configure a certain office point, server can be generated and regarded The acquisition request of the office point configuration systematic parameter of frequency management system.
Step 302:The combination parameter of the JSON forms of operation system is obtained from database;Wherein, combination parameter is included extremely Few two systems parameter.
Specifically, step 302 includes following sub-step:
Sub-step 3021:Obtain the distinguishing mark of characterization combination parameter.
Server internal is stored with the correspondence of combination parameter (value) and distinguishing mark (key), such as is stored with group Close parameter-distinguishing mark table of comparisons.When the acquisition order for the combination parameter for detecting operation system, the correspondence is inquired about, To obtain the distinguishing mark of the combination parameter.
Sub-step 3022:The combination parameter of the corresponding JSON forms of distinguishing mark is obtained from database.
Wherein, the correspondence of database purchase having identification mark and the combination parameter of JSON forms.Marked per a pair of of identification The combination parameter of will and JSON forms is contained in a data record, wherein, combination parameter is joined including at least two systems Number.Preferably, identity code and the description of the combination parameter are further included, in first embodiment in record per data Shown in table 3.
Step 303:By the combination parameter of acquisition by JSON format conversions into default programming language form.
In the present embodiment, into JAVA forms JSON can be used to turn the phase of JAVA by JSON format conversions combination parameter Close function and carry out format conversion.The combination parameter of JSON forms is actually a JAVA object after being converted into JAVA forms, And the JAVA object includes the parameter name of each systematic parameter in combination parameter and its corresponding parameter value;The JAVA object Form refer to the JAVA object 2 (parameter name that each systematic parameter is only included in JAVA object 2) in first embodiment.
Step 304:Each systematic parameter is extracted from the combination parameter of default programming language form.
In the present embodiment, each systematic parameter is extracted from JAVA object;That is, each systematic parameter is extracted from JAVA object Parameter name and corresponding parameter value, and operation system is configured using parameter value.
In some operation systems, it is also necessary to each systematic parameter of acquisition is shown, will each systematic parameter ginseng Several titles and corresponding parameter value are shown respectively.For example, it is necessary in net in some Web page system shown on server Page the page on show the server " version information " (" version information " can be understood as the description of a combination parameter, belong to In the corresponding data record of the combination parameter), then, after server obtains the combination parameter, it can be shown on Webpage Come.
Wherein, when the acquisition order of combination parameter is that server receives the request of client and when generating, usually represent Client needs the combination parameter, therefore, after server extracts each systematic parameter from the combination parameter, can join each system Number is sent to client, so that client is according at least to each systematic parameter configuration operation system.
It is not difficult to find that present embodiment is and first or the corresponding embodiment of second embodiment, i.e. in the present embodiment Database in operation system JSON forms combination parameter, actually according to described in first or second embodiments What date storage method was stored, therefore the process of the combination parameter is taken out from database to store the combination parameter Reverse process.First or second embodiment in the relevant technical details mentioned in the present embodiment still effectively, in order to subtract Few to repeat, which is not described herein again.Correspondingly, the relevant technical details mentioned in present embodiment are also applicable in the first implementation In mode.
Four embodiment of the invention is related to a kind of server, as shown in fig. 6, the server 1 includes at least one processing Device 10;And the memory 11 being connected with least one processor communication;Wherein, have can be by least one place for memory storage Manage the instruction that device performs, described instruction performed by least one processor so that at least one processor be able to carry out first or Date storage method described in second embodiment.Only said in Fig. 6 by taking a server 10 and a memory 11 as an example It is bright, it is not restricted so.
Further, which further includes communications connector 12, for being communicated to connect with database 2.Wherein, communicate Connector can be wired connector or wireless connector.
Fifth embodiment of the invention is related to a kind of server, refer to shown in Fig. 6, which includes at least one place Manage device;And the memory being connected with least one processor communication;Wherein, have can be by least one processing for memory storage The instruction that device performs, described instruction are performed by least one processor, so that at least one processor is able to carry out the 3rd implementation Data capture method described in example.
Preferably, the server described in fifth embodiment of the invention is also able to carry out described in first or second embodiments Date storage method.
Wherein, memory is connected with processor using bus mode, and bus can include the bus of any number of interconnection And one or more processors and the various of memory are electrically connected to together by bridge, bus.Bus can also will be such as peripheral The various other of equipment, voltage-stablizer and management circuit or the like are electrically connected to together, these are all well known in the art , therefore, no longer it is described further herein.Bus interface provides interface between bus and transceiver.Transceiver Can be an element or multiple element, such as multiple receivers and transmitter, there is provided for over a transmission medium The unit to communicate with various other devices.The data handled through processor are transmitted on the radio medium by antenna, into one Step, antenna also receive data and transfer data to processor.
Processor is responsible for bus and common processing, can also provide various functions, including periodically, peripheral interface, Voltage adjusting, power management and other control functions.And memory can be used to store processor in execution operation when institute The data used.
Sixth embodiment of the invention is related to a kind of computer-readable recording medium, is stored with computer program.Computer Above method embodiment is realized when program is executed by processor.
That is, it will be understood by those skilled in the art that realize that all or part of step in above-described embodiment method is can be with Relevant hardware is instructed to complete by program, the program storage is in a storage medium, including some instructions are making Obtain an equipment (can be microcontroller, chip etc.) or processor (processor) performs side described in each embodiment of the application The all or part of step of method.And foregoing storage medium includes:USB flash disk, mobile hard disk, read-only storage (ROM, Read- Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with The medium of store program codes.
It will be understood by those skilled in the art that the respective embodiments described above are to realize the specific embodiment of the present invention, And in practical applications, can to it, various changes can be made in the form and details, without departing from the present invention spirit and model Enclose.

Claims (12)

1. a kind of date storage method, it is characterised in that support default programming language, institute applied to server and the server The method of stating includes:
At least two systematic parameters of selected operation system are obtained as combination parameter;
The combination parameter is packaged into the default programming language form;
By the combination parameter by the default programming language format conversion into JSON forms;
The combination parameter of the JSON forms of the operation system is stored to database.
2. date storage method according to claim 1, it is characterised in that the default programming language is JAVA;It is described The combination parameter of the JSON forms of the operation system is stored to database, is specifically included:
Create a JAVA object;The attribute of the JAVA object includes at least keyword and actual value;
Obtain the distinguishing mark for characterizing the combination parameter;
The distinguishing mark is assigned to the keyword, and the combination parameter of JSON forms is assigned to the reality Value;
The JAVA object after assignment is stored to the database.
3. date storage method according to claim 1, it is characterised in that the combination parameter is packaged into institute described Before stating default programming language form, the method further includes:
The configuration interface of the combination parameter is provided, to configure the combination parameter by the configuration interface.
4. date storage method according to claim 1, it is characterised in that selected at least two systematic parameter is equal For constant parameter.
5. a kind of data capture method, it is characterised in that support default programming language, institute applied to server and the server The method of stating includes:
When the acquisition order for the combination parameter for detecting operation system, the JSON forms of the operation system are obtained from database The combination parameter;Wherein, the combination parameter includes at least two systematic parameters;
By the combination parameter of acquisition by JSON format conversions into the default programming language form;
Each systematic parameter is extracted from the combination parameter of the default programming language form.
6. data capture method according to claim 5, it is characterised in that described to obtain the operation system from database JSON forms the combination parameter, specifically include:
Obtain the distinguishing mark for characterizing the combination parameter;
The combination parameter of the corresponding JSON forms of the distinguishing mark is obtained from the database.
7. data capture method according to claim 5, it is characterised in that the parameter acquisition command of the operation system is The acquisition order of the combination parameter of the operation system received from client;
It is described extract each systematic parameter from the combination parameter of the default programming language form after, also wrap Include:
Each systematic parameter is sent to the client, so that the client is according at least to each systematic parameter configuration The operation system.
8. data capture method according to claim 6, it is characterised in that the default programming language is JAVA.
A kind of 9. server, it is characterised in that including:
At least one processor;And
The memory being connected with least one processor communication;Wherein,
The memory storage has the instruction that can be performed by least one processor, and described instruction is by least one place Manage device to perform, so that at least one processor is able to carry out the data storage side as described in any in Claims 1-4 Method.
A kind of 10. server, it is characterised in that including:
At least one processor;And
The memory being connected with least one processor communication;Wherein,
The memory storage has the instruction that can be performed by least one processor, and described instruction is by least one place Manage device to perform, so that at least one processor is able to carry out the data recipient as described in any in claim 5 to 8 Method.
11. a kind of computer-readable recording medium, is stored with computer program, it is characterised in that the computer program is located Reason device realizes the date storage method described in any one of claims 1 to 4 when performing.
12. a kind of computer-readable recording medium, is stored with computer program, it is characterised in that the computer program is located Reason device realizes the date storage method any one of claim 5 to 8 when performing.
CN201711072186.1A 2017-11-03 2017-11-03 Date storage method, acquisition methods and server Pending CN107977344A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711072186.1A CN107977344A (en) 2017-11-03 2017-11-03 Date storage method, acquisition methods and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711072186.1A CN107977344A (en) 2017-11-03 2017-11-03 Date storage method, acquisition methods and server

Publications (1)

Publication Number Publication Date
CN107977344A true CN107977344A (en) 2018-05-01

Family

ID=62013015

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711072186.1A Pending CN107977344A (en) 2017-11-03 2017-11-03 Date storage method, acquisition methods and server

Country Status (1)

Country Link
CN (1) CN107977344A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110347696A (en) * 2019-05-28 2019-10-18 平安科技(深圳)有限公司 Data transfer device, device, computer equipment and storage medium
CN110971974A (en) * 2019-12-06 2020-04-07 北京小米移动软件有限公司 Configuration parameter creating method, device, terminal and storage medium
CN112202591A (en) * 2020-08-28 2021-01-08 网宿科技股份有限公司 Configuration management system, method and storage medium
CN113836177A (en) * 2020-06-23 2021-12-24 易保网络技术(上海)有限公司 Cache management of consumable business data

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488677A (en) * 2013-07-22 2014-01-01 广州唯品会信息科技有限公司 Project configuration method and device
US9053117B2 (en) * 2012-04-11 2015-06-09 4Clicks Solutions, LLC Storing application data with a unique ID
CN105930390A (en) * 2016-04-14 2016-09-07 北京三快在线科技有限公司 Relation-type database expansion method and relation-type database expansion system
US20170185662A1 (en) * 2015-12-29 2017-06-29 International Business Machines Corporation Means to process hierarchical json data for use in a flat structure data system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9053117B2 (en) * 2012-04-11 2015-06-09 4Clicks Solutions, LLC Storing application data with a unique ID
CN103488677A (en) * 2013-07-22 2014-01-01 广州唯品会信息科技有限公司 Project configuration method and device
US20170185662A1 (en) * 2015-12-29 2017-06-29 International Business Machines Corporation Means to process hierarchical json data for use in a flat structure data system
CN105930390A (en) * 2016-04-14 2016-09-07 北京三快在线科技有限公司 Relation-type database expansion method and relation-type database expansion system

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110347696A (en) * 2019-05-28 2019-10-18 平安科技(深圳)有限公司 Data transfer device, device, computer equipment and storage medium
CN110347696B (en) * 2019-05-28 2024-03-26 平安科技(深圳)有限公司 Data conversion method, device, computer equipment and storage medium
CN110971974A (en) * 2019-12-06 2020-04-07 北京小米移动软件有限公司 Configuration parameter creating method, device, terminal and storage medium
CN110971974B (en) * 2019-12-06 2022-02-15 北京小米移动软件有限公司 Configuration parameter creating method, device, terminal and storage medium
CN113836177A (en) * 2020-06-23 2021-12-24 易保网络技术(上海)有限公司 Cache management of consumable business data
CN113836177B (en) * 2020-06-23 2023-05-05 易保网络技术(上海)有限公司 Cache management of consumable business data
CN112202591A (en) * 2020-08-28 2021-01-08 网宿科技股份有限公司 Configuration management system, method and storage medium

Similar Documents

Publication Publication Date Title
CN102385594B (en) The kernel control method of multi-core browser and device
CN103502983B (en) Memoizing Web-browsing computation with DOM-based isomorphism
CN107977344A (en) Date storage method, acquisition methods and server
CN107749861A (en) Information-pushing method, device, terminal device and storage medium
CN104185845A (en) System and method for providing a binary representation of a web page
CN103020207B (en) Browser label page grouping management method and device
CN104731589A (en) Automatic generation method and device of user interface (UI)
CN106875303A (en) The method and apparatus for realizing electronic protocol signing
CN102567485B (en) The special parsing of provider for content retrieval
CN104750754A (en) Website industry classification method and server
US10372980B2 (en) Electronic form identification using spatial information
CN105843800A (en) DOI-based language information display method and device
CN108427731A (en) Processing method, device, terminal device and the medium of page code
CN105763543A (en) Phishing site identification method and device
CN110096626A (en) Processing method, device, equipment and the storage medium of contract text data
CN103870583A (en) Relational-database-based online and controllable browsing method for PDF document
CN103744896A (en) Method and device for data processing
CN102880679B (en) A kind of info web storage means and device
CN103064989A (en) Webpage storing and opening method and device
CN106055375A (en) Application program installation method and device
CN104462590A (en) Information searching method and device
CN108664471A (en) Text region error correction method, device, equipment and computer readable storage medium
CN107844519A (en) Electronic installation, data base querying scenario generation method and storage medium
CN105391593A (en) Message transmission method and equipment
CN101251799A (en) Apparatus and method for implementing management

Legal Events

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

Application publication date: 20180501