CN109245928A - Setting method and device, the terminal management system of configuration information - Google Patents

Setting method and device, the terminal management system of configuration information Download PDF

Info

Publication number
CN109245928A
CN109245928A CN201811061224.8A CN201811061224A CN109245928A CN 109245928 A CN109245928 A CN 109245928A CN 201811061224 A CN201811061224 A CN 201811061224A CN 109245928 A CN109245928 A CN 109245928A
Authority
CN
China
Prior art keywords
key
value pair
configuration information
terminal
configuration
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201811061224.8A
Other languages
Chinese (zh)
Other versions
CN109245928B (en
Inventor
邱科奕
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shirui Electronics Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shirui Electronics Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201811061224.8A priority Critical patent/CN109245928B/en
Publication of CN109245928A publication Critical patent/CN109245928A/en
Application granted granted Critical
Publication of CN109245928B publication Critical patent/CN109245928B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention relates to a kind of setting methods of configuration information, device, terminal management system, computer equipment and storage medium, the method comprising the steps of: terminal to server sends the mark of configuration object, so that server is inquired from key-value pair data library according to the mark obtains the key-value pair to match with the mark, and the key-value pair is returned into terminal, terminal is after receiving the key-value pair, it is configured according to configuration information of the key-value pair to configuration object, so that user is when terminal logs in or equipment connects network, the terminal is obtained accordingly by the key-value pair data library of server for the key-value pair of the configuration information of user or equipment to be arranged, to which the setting of configuration information be rapidly completed, even if user logs in other terminals, the configuration information of itself is reset without user, improve the setting efficiency of configuration information, it is also convenient for Administrator is managed each terminal by server, improves the efficiency of management of terminal.

Description

Setting method and device, the terminal management system of configuration information
Technical field
The present invention relates to Internet technical field, more particularly to the setting method of configuration information a kind of, configuration information Device, terminal management system, computer equipment and computer readable storage medium are set.
Background technique
With the rapid development of Internet technology, in a large amount of terminal applies to people's lives, user can pass through Application program in such as laptop terminal surf the web webpage and recording learning notes etc..And in terminal use process In, administrator can be managed by background server to terminal itself and using the user of the terminal, such as administrator can To carry out the operation such as the unused time of limiting terminal and the web page access permission of setting user in background server.
In traditional technology, administrator is after relevant configuration information is arranged in background server, by background server to terminal The configuration information is pushed, the service of terminal will respond operation according to the configuration information of setting.However, set by this mode Configuration information be it is of short duration, when user, which exits this terminal, logs in other terminals, these configuration informations can't be applied Onto other equipment, administrator is caused to reset the configuration information of the terminal device, and user is logging in other terminals Shi Tongchang will also the configuration information again to user itself be configured, reduce the setting efficiency of configuration information, also reduce pair The efficiency that terminal is managed.
Summary of the invention
Based on this, it is necessary to for traditional technology configuration information setting low efficiency the technical issues of, a kind of configuration is provided Setting device, terminal management system, computer equipment and the computer-readable storage medium of the setting method of information, configuration information Matter.
A kind of setting method of configuration information, comprising steps of
The mark of configuration object is sent to server;The mark is for triggering the server from key-value pair data library It obtains and the key-value pair for identifying and matching;
Receive the key-value pair that the server returns;
The configuration information of the configuration object is set according to the key-value pair.
A kind of setting method of configuration information, comprising steps of
Receive the mark for the configuration object that terminal is sent;
The key-value pair to match with the mark is obtained from key-value pair data library according to the mark;
The key-value pair is sent to the terminal;The key-value pair is arranged for triggering the terminal according to the key-value pair The configuration information of the configuration object.
A kind of setting device of configuration information, comprising:
Sending module is identified, for sending the mark of configuration object to server;The mark is for triggering the service Device obtains and the key-value pair for identifying and matching from key-value pair data library;
Key-value pair receiving module, the key-value pair returned for receiving the server;
Information setup module, for the configuration information of the configuration object to be arranged according to the key-value pair.
A kind of setting device of configuration information, comprising:
Receiving module is identified, the mark of the configuration object for receiving terminal transmission;
Key-value pair obtains module, for obtaining the key to match with the mark from key-value pair data library according to the mark Value pair;
Key-value pair sending module, for the key-value pair to be sent to the terminal;The key-value pair is described for triggering The configuration information of the configuration object is arranged according to the key-value pair for terminal.
A kind of terminal management system, including terminal, and the server with terminal communication connection;Wherein,
The terminal, for sending the mark of user or equipment to server;
The server, the mark sent for receiving the terminal are identified according to described from key-value pair data library The key-value pair that middle acquisition matches with the mark, and the key-value pair is sent to the terminal;
The terminal is also used to receive the key-value pair, and the configuration of the user or equipment is arranged according to the key-value pair Information;Service of the configuration information for the terminal is managed the user or equipment according to the configuration information.
A kind of computer equipment can be run on a memory and on a processor including memory, processor and storage Computer program, the processor realize following steps when executing the computer program:
The mark of configuration object is sent to server;The mark is for triggering the server from key-value pair data library It obtains and the key-value pair for identifying and matching;
Receive the key-value pair that the server returns;
The configuration information of the configuration object is set according to the key-value pair.
A kind of computer equipment can be run on a memory and on a processor including memory, processor and storage Computer program, the processor realize following steps when executing the computer program:
Receive the mark for the configuration object that terminal is sent;
The key-value pair to match with the mark is obtained from key-value pair data library according to the mark;
The key-value pair is sent to the terminal;The key-value pair is arranged for triggering the terminal according to the key-value pair The configuration information of the configuration object.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor Following steps are realized when row:
The mark of configuration object is sent to server;The mark is for triggering the server from key-value pair data library It obtains and the key-value pair for identifying and matching;
Receive the key-value pair that the server returns;
The configuration information of the configuration object is set according to the key-value pair.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor Following steps are realized when row:
Receive the mark for the configuration object that terminal is sent;
The key-value pair to match with the mark is obtained from key-value pair data library according to the mark;
The key-value pair is sent to the terminal;The key-value pair is arranged for triggering the terminal according to the key-value pair The configuration information of the configuration object.
Setting method, device, terminal management system, computer equipment and the computer-readable storage medium of above-mentioned configuration information Matter, terminal to server sends the mark of configuration object, so that server is inquired from key-value pair data library according to the mark Terminal is returned to the key-value pair to match with the mark, and by the key-value pair, terminal is after receiving the key-value pair, according to this Key-value pair to configuration object configuration information be configured so that user terminal log in or equipment connection network when, the terminal It is obtained by the key-value pair data library of server accordingly for the key-value pair of the configuration information of user or equipment to be arranged, thus fastly The setting that speed completes configuration information resets the configuration information of itself without user, mentions even if user logs in other terminals The high setting efficiency of configuration information, is also convenient for administrator and is managed by server to each terminal, improve the pipe of terminal Manage efficiency.
Detailed description of the invention
Fig. 1 is the applied environment figure of the setting method of configuration information in one embodiment;
Fig. 2 is the flow diagram of the setting method of configuration information in one embodiment;
Fig. 3 is the block schematic illustration of server in one embodiment;
Fig. 4 is the block schematic illustration of terminal in one embodiment;
Fig. 5 is the schematic diagram of the configuration information file of user in one embodiment;
Fig. 6 is the flow diagram of the setting method of configuration information in another embodiment;
Fig. 7 is the structural block diagram of the setting device of configuration information in one embodiment;
Fig. 8 is the structural block diagram of the setting device of configuration information in another embodiment;
Fig. 9 is the structural schematic diagram of terminal management system in one embodiment;
Figure 10 is the timing diagram of the setting method of configuration information in one embodiment;
Figure 11 is the internal structure chart of computer equipment in one embodiment;
Figure 12 is the internal structure chart of computer equipment in another embodiment.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right The present invention is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the present invention, not For limiting the present invention.It should be noted that term involved in the embodiment of the present invention " first second " be only be difference class As object, do not represent the particular sorted for object, it is possible to understand that ground, " first second " can be mutual in the case where permission Change specific sequence or precedence.It should be understood that the object that " first second " is distinguished is interchangeable under appropriate circumstances, so that The embodiment of the present invention described herein can be performed in other sequences than those illustrated or described herein.
The setting method of configuration information provided by the invention, can be applied in application environment as shown in Figure 1, and Fig. 1 is The applied environment figure of the setting method of configuration information in one embodiment, including terminal 100 and server 200, terminal 100 can be with It is communicated to connect by network and server 200, key-value pair data library, the accessible server of terminal 100 is equipped in server 200 200 key-value pair data library simultaneously obtains key-value pair for configuration information to be arranged.
Specifically, terminal 100 can send the mark of configuration object with server 200, and then server 200 can be according to this Mark obtains corresponding key-value pair from key-value pair data library and returns to terminal 100, and terminal 100 is receiving the key-value pair Afterwards, the configuration information of configuration object can be set according to the key-value pair.It should be noted that terminal 100 can be, but not limited to be Personal computer, laptop, smart phone, tablet computer or portable wearable device, server 200 can be with independently The server cluster of server either multiple servers composition realize.
In one embodiment, a kind of setting method of configuration information is provided, the terminal being applied in Fig. 1 in this way It is illustrated for 100, with reference to Fig. 2, Fig. 2 is the flow diagram of the setting method of configuration information in one embodiment, this is matched The setting method of confidence breath may comprise steps of:
Step S101 sends the mark of configuration object to server.
Wherein, configuration object can be, but not limited to be using terminal user or equipment itself, configure the mark master of object It is used to identify the information of the configuration object, if the configuration object is user, which can be the letter such as account of the user Breath, if the configuration object is equipment, which can be exclusive identification code such as No. SN (sequence number, the Serial of the equipment Number)。
In this step, the marks such as the account of such as user or equipment Serial Number can be sent to server 200 by terminal 100, So that server 200 carries out subsequent operation according to the mark, and since the mark of configuration object can carry out standard to configuration object Really mark, so server 200 can accurately operate specific configuration object according to the mark.
After server 200 receives the mark, which can make server inquire from key-value pair data library To the key-value pair to match with the mark.Wherein, key-value pair (key-value) includes key (key) and value (value), is used for table Show the mapping relations of key and value, such as " gender: male " can be used as a key-value pair, is i.e. key is " gender ", and corresponding value is " male ", in actual application, key and value can be expressed by character string.
It is the block schematic illustration of server in one embodiment with reference to Fig. 3, Fig. 3, key-value pair data library, which refers to, to be stored with greatly The database of key-value pair is measured, i.e. server 200 can store a large amount of key-value pair by local data, which permits Many a terminals are communicatively coupled, and are inquired from the database when terminal is accessed by mark and are returned to corresponding key Value pair.Wherein, these key-value pairs can be administrative staff and preset and be stored in the database in server 200, Being stored in key-value pair in the database can be corresponding with the mark that terminal 100 is sent, a mark can correspond to 1 or Multiple key-value pairs, the database can be set in server 200, and server 200 can be according to the mark received from database In index out one or more key-value pairs to match with the mark.
Step S102 receives the key-value pair that server returns.
In this step, terminal 100 can receive the clothes after the inquiry of server 200 obtains key-value pair corresponding with mark The key-value pair that business device 200 returns, the quantity of key-value pair can be multiple.It is the frame of terminal in one embodiment with reference to Fig. 4, Fig. 4 Key-value pair can be stored in local database, such as terminal 100 by frame schematic diagram after terminal 100 receives key-value pair Key-value pair can be stored on local disk in the form of a file.
The configuration information of configuration object is arranged according to key-value pair by step S103.
This step is mainly user and the equipment configuration object itself that such as using terminal is arranged according to key-value pair for terminal 100 Configuration information, can directly using server return key-value pair as the configuration information of the configuration object.It is with reference to Fig. 4, Fig. 4 The block schematic illustration of terminal in one embodiment, configuration information refer to that the service being used to indicate in terminal (Service) carries out phase The configuration information can be read or are written to the information that should be operated, the service in terminal, and then influence the specific of configuration object, such as The device service of terminal can carry out shutdown processing to terminal according to the configuration information, to influence the characteristic of equipment;For another example eventually The browsing service at end is to be present in the upper layer application of Browser, provides user and carries out the operation such as logon, and browsing service can be with Allow which webpage active user accesses according to configuration information, to influence the characteristic of user.This step is according to the key assignments of acquisition To can be rapidly completed to configuration object configuration information setting operation, for terminal 100 related service set user and The configuration information of equipment executes corresponding operation according to the configuration information convenient for serve future.
The setting method of above-mentioned configuration information, terminal to server send configuration object mark so that server according to The mark inquires from key-value pair data library and obtains the key-value pair to match with the mark, and the key-value pair is returned to terminal, Terminal is configured according to configuration information of the key-value pair to configuration object after receiving the key-value pair, enables to user When terminal logs in or equipment connects network, which is obtained by the key-value pair data library of server and is used accordingly for setting The key-value pair of the configuration information of family or equipment, so that the setting of configuration information is rapidly completed, even if user logs in other terminals, The configuration information that itself is reset without user improves the setting efficiency of configuration information, is also convenient for administrator and passes through service Device is managed each terminal, improves the efficiency of management of terminal.
In one embodiment, after the step of receiving the key-value pair that server returns, can also include the following steps:
Key-value pair is parsed to obtain the key and value of the key-value pair;Object corresponding with key is inquired from service, and is obtained Take the predefined value of the object;Value is verified using predefined value.
The present embodiment is mainly parsed and is verified to received key-value pair.This can be obtained by parsing to key-value pair The key of key-value pair value corresponding with the key verifies key-value pair primarily to the corresponding value of the key for verifying the key-value pair is It is no for reasonable value, such as verify the value whether the key can value within the scope of.
In general, in the service of terminal 100 association attributes predefined the corresponding value of each key can value, Such as key " BluetoothAllowed (bluetooth permission) " can value can only be true or false, corresponding other of the key take Value, which is all returned, is considered as verification failure, the value of the key " BluetoothAllowed (bluetooth permissions) " even parsed in addition to Other values other than true and false all think verification failure.
Specifically, the key-value pair that terminal 100 can will acquire is converted into a json object, i.e., turns a string of character strings Json object is turned to, each key of this object is then traversed, and finds the corresponding object of the key in the service of terminal 100, Then it gives the corresponding value of the key to the object to verify, check results can be obtained, it, can be by the key if verification passes through Value is subsequently used for the processing such as setting configuration information into local database to storage can give up if verification does not pass through The key-value pair is abandoned, the problem for preventing from leading to setting inaccuracy with the key-value pair setting configuration information of mistake.
In one embodiment, can also include the following steps:
Key-value pair is stored;The more new information of key-value pair is obtained by server;According to more new information to key-value pair It is updated.
The present embodiment is mainly that terminal 100 can be updated key-value pair.In the present embodiment, terminal 100 can will be obtained The key-value pair taken is stored in local database, when needing to be updated key-value pair, is obtained by server corresponding More new information, and key-value pair is updated according to the more new information, such as the updated value of some available key, by the key Original value replaces with the updated value.
Optionally, terminal 100 can be with the more new information of timing request key-value pair.One can be set in the service of terminal 100 Timer requests newest key-value pair to server 200 according to period regular time such as each 3 hours, to complete key assignments Pair update.The service of terminal 100 can also establish the connection of Chief Web Officer, for receiving the key-value pair of urgent property, such as Terminal 100 can receive the related key-value pair that the request of the transmission of background server 200 is shut down at once, then the service of terminal 100 exists Power-off operation is carried out at once after receiving the key-value pair.The present embodiment terminal 100 request periodically or in real time to key-value pair It updates, it is ensured that the configuration information of terminal 100 can be arranged in timely and efficient manner.
In one embodiment, in step S103 can be with the step of according to key-value pair, the configuration information of configuration object is set Include:
The first configuration information of configuration object is generated according to key-value pair;Read locally predefined configuration object second is matched Confidence breath;First configuration information and the second configuration information are merged into generation configuration information.
The locally predefined configuration object of the key-value pair and terminal 100 that the present embodiment is obtained mainly in conjunction with server 200 Configuration information generate configuration information.Wherein, the first configuration information refers to the key-value pair that terminal 100 is returned according to server 200 The configuration information of generation, and the second configuration information refers to the configuration information of the locally predefined configuration object of the terminal 100, such as The configuration information of the system prepackage of terminal 100 allows using configuration informations such as all users logins of the terminal 100.
As shown in figure 5, Fig. 5 is the schematic diagram of the configuration information file of user in one embodiment, and in the present embodiment, terminal 100 can pull key-value pair the first configuration information of generation and local the second preset configuration information from server 200 merges The various configurations information for generating user, ensure that the integrality of the configuration information of user, in the specific application process, " match confidence Breath A:a " can be able to be that " last login time: XX ", " configuration information C:c " can be with for " gender: male ", " configuration information B:b " It can be " website_blacklist:XXXXX " etc. for " access token:XXX " and " grade: XXXX ";It can also incite somebody to action The configuration information is stored on the disk of terminal 100 in the form of configuration file, and the service of terminal 100 then can be from the disk The configuration information that configuration file is recorded is read, the control of not managed member when preventing the offline registration terminal 100 of user, convenient for management Management of the member to terminal.
In one embodiment, it after the step of configuration information of configuration object is set according to key-value pair, can also wrap Include following steps:
Notice service reads the configuration information of configuration object and executes corresponding operation according to the configuration information.
The present embodiment is mainly the configuration information that the service of terminal 100 can read configuration object, and matches confidence according to this Breath executes corresponding operation.Wherein, the service which is mainly used for terminal 100 executes related behaviour according to the configuration information Make.In general, be from the received key-value pair of server 200 it is relevant to certain configuration parameters of the service discipline of terminal 100, Such as service discipline power_off is shutdown, when the key (key) that server 200 is sent is " power_off ", and terminal 100 The key for receiving key-value pair is power_off, when corresponding value is the power_off corresponding value of service discipline, terminal 100 Service carries out power-off operation.
The present embodiment is notified that current after terminal 100 obtains related key-value pair and set configuration information from server The relevant service of configuration information so that the service according to the configuration information execute corresponding operation, such as allow user access Which website, relevant service can block request when user accesses other specific websites, thus reach control user behavior or The purpose of equipment.
In one embodiment, further, configuration object may include user and equipment;Notice service, which is read, matches confidence It ceases and may include: the step of executing corresponding operation according to the configuration information
The configuration information of user and the configuration information of equipment are read in notice service respectively;If the configuration information and equipment of user Configuration information there are conflict items, then indicate service execution operation corresponding with the configuration information of equipment.
For the present embodiment mainly when the configuration information of user and equipment clash, preferential relevant device matches confidence Breath.Wherein, the configuration information of equipment and the configuration information of user can be individually stored in terminal 100, when user does not have When logging device, the configuration information of equipment still is able to provide relevant operation response for service, however the configuration information of equipment and The configuration information of user can also exist simultaneously, terminal 100 can notify related service read respectively user configuration information and The configuration information of equipment, and when the configuration information of user and the configuration information of equipment are there are when conflict item, indicate relevant service Execute operation corresponding with the configuration information of the equipment.For example, the corresponding key-value pair of configuration information when equipment has been set Unavailable for bluetooth, then when user logs in, and server allows the user using bluetooth, the service of terminal 100 can first The corresponding key-value pair of the configuration information of detection device, if the key-value pair expression of equipment is forbidden to use bluetooth, but the key of user Value to expression allow to be forbidden to use bluetooth at this time using bluetooth, and if the key-value pair of equipment is not provided with the control item of bluetooth, that The key-value pair of user comes into force at this time.The technical solution of the present embodiment is in the case where different user logs on to the terminal, still The certain functions that can forbid user's using terminal carry out phase by the terminal device to each student in the application in classroom The control answered, such as forbid student using the terminal log-on webpage etc., effectively terminal effectively can be managed.
In one embodiment, server also obtains the control information to configuration object setting;Determine the service rule of terminal Fixed configuration parameter;Key-value pair is converted by information is controlled according to configuration parameter;Key-value pair is stored.
The present embodiment be mainly server 200 can by configuration object control information be converted into corresponding key-value pair into Row storage.Wherein, the control item to user or terminal device can be arranged in administrator in server 200, such as allows user Which webpage or device power-up or shutdown etc. are accessed, and key-value pair is usually certain configurations ginseng with the service discipline of terminal 100 Number is relevant, such as service discipline power_off is shutdown, and corresponding value is 1 or 0, then server can be according to the terminal 100 Service discipline configuration parameter, convert key-value pair for the control information of administrator setting, such as by device power-up or shutdown Key-value pair " power_off=1 " or " power_off=0 " etc. are converted to, and the key-value pair converted is stored to local key Value is effectively arranged configuration information so that requesting related key assignments clock synchronization to be realized in terminal 100 in database.
In one embodiment, a kind of setting method of configuration information is provided, the service being applied in Fig. 1 in this way It is illustrated for device 200, is the flow diagram of the setting method of configuration information in another embodiment with reference to Fig. 6, Fig. 6, The setting method of the configuration information may comprise steps of:
Step S401 receives the mark for the configuration object that terminal is sent.
This step is mainly the mark that server 200 receives the configuration object that terminal 100 is sent.Wherein, configuration object can With but be not limited to user or the equipment of using terminal 100 itself, the mark for configuring object is mainly used for identifying the configuration object Information, if the configuration object is user, which can be the information such as the account of the user, if the configuration object is to set Standby, then the mark can be the exclusive identification code such as No. SN (sequence number, Serial Number) of the equipment.
In this step, the marks such as the account of such as user or equipment Serial Number can be sent to server 200 by terminal 100, Server 200 can carry out subsequent operation according to the mark, and since the mark of configuration object can carry out standard to configuration object Really mark, so server 200 can accurately operate specific configuration object according to the mark.
Step S402 obtains the key-value pair to match with the mark according to mark from key-value pair data library.
After server 200 receives the mark, server can be inquired from key-value pair data library according to the mark and be obtained The key-value pair to match with the mark.Wherein, key-value pair (key-value) includes key (key) and value (value), for indicating The mapping relations of key and value, such as " gender: male " can be used as a key-value pair, i.e. key is " gender ", and corresponding value is " male ", in actual application, key and value can be expressed by character string.
It is the block schematic illustration of server in one embodiment with reference to Fig. 3, Fig. 3, key-value pair data library, which refers to, to be stored with greatly The database of key-value pair is measured, i.e. server 200 can store a large amount of key-value pair by local data, which permits Many a terminals are communicatively coupled, and are inquired from the database when terminal is accessed by mark and are returned to corresponding key Value pair.Wherein, these key-value pairs can be administrative staff and preset and be stored in the database in server 200, Being stored in key-value pair in the database can be corresponding with the mark that terminal 100 is sent, a mark can correspond to 1 or Multiple key-value pairs, the database can be set in server 200, and server 200 can be according to the mark received from database In index out one or more key-value pairs to match with the mark.
Key-value pair is sent to terminal by step S403;The key-value pair, which is arranged for triggering terminal according to the key-value pair, to be configured The configuration information of object.
Inquiry can be obtained one or more key-value pairs corresponding with mark and be sent to terminal by this step, server 200 100, with reference to Fig. 4, Fig. 4 is the block schematic illustration of terminal in one embodiment, and terminal 100 can be by it after receiving key-value pair It is stored in local database, such as key-value pair is stored on local disk in the form of a file.
Terminal 100 can be arranged according to key-value pair such as using terminal user and equipment itself configure object with confidence Breath, such as the key-value pair for directly returning to server is as the configuration information of the configuration object.As shown in figure 4, configuration information is Refer to that the service (Service) being used to indicate in terminal carries out the information of corresponding operating, the service in terminal can read or be written The configuration information, and then the specific of configuration object is influenced, such as the device service of terminal can be according to the configuration information to terminal Shutdown processing is carried out, to influence the characteristic of equipment;For another example the browsing service of terminal is to be present in the upper layer application of Browser, User is provided and carries out the operation such as logon, browsing service can allow which webpage active user accesses according to configuration information, To influence the characteristic of user.Setting to the configuration information of configuration object can be rapidly completed according to the key-value pair of acquisition in this step Operation is set, the configuration information of user and equipment is set for the related service of terminal 100, confidence is matched according to this convenient for serve future Breath executes corresponding operation.
The setting method of above-mentioned configuration information, terminal to server send configuration object mark so that server according to The mark inquires from key-value pair data library and obtains the key-value pair to match with the mark, and the key-value pair is returned to terminal, Terminal is configured according to configuration information of the key-value pair to configuration object after receiving the key-value pair, enables to user When terminal logs in or equipment connects network, which is obtained by the key-value pair data library of server and is used accordingly for setting The key-value pair of the configuration information of family or equipment, so that the setting of configuration information is rapidly completed, even if user logs in other terminals, The configuration information that itself is reset without user improves the setting efficiency of configuration information, is also convenient for administrator and passes through service Device is managed each terminal, improves the efficiency of management of terminal.
In one embodiment, key-value pair can also be further used for: triggering terminal generates configuration object according to key-value pair The first configuration information, read the second configuration information of locally predefined configuration object, the first configuration information and second matched Confidence breath merges generation configuration information.
The locally predefined configuration object of the key-value pair and terminal 100 that the present embodiment is obtained mainly in conjunction with server 200 Configuration information generate setting information.Wherein, the first configuration information refers to the key-value pair that terminal 100 is returned according to server 200 The configuration information of generation, and the second configuration information refers to the configuration information of the locally predefined configuration object of the terminal 100, such as The configuration information of the system prepackage of terminal 100 allows using configuration informations such as all users logins of the terminal 100.
As shown in figure 5, Fig. 5 is the schematic diagram of the configuration information file of user in one embodiment, and in the present embodiment, terminal 100 can pull key-value pair the first configuration information of generation and local the second preset configuration information from server 200 merges The various configurations information for generating user, ensure that the integrality of the configuration information of user, in the specific application process, " match confidence Breath A:a " can be able to be that " last login time: XX ", " configuration information C:c " can be with for " gender: male ", " configuration information B:b " It can be " website_blacklist:XXXXX " etc. for " access token:XXX " and " grade: XXXX ";It can also incite somebody to action The configuration information is stored on the disk of terminal 100 in the form of configuration file, and the service of terminal 100 then can be from the disk The configuration information that configuration file is recorded is read, the control of not managed member when preventing the offline registration terminal 100 of user, convenient for management Management of the member to terminal.
In one embodiment, configuration information can be used for so that the configuration information of configuration object is read in terminal notification service And corresponding operation is executed according to the configuration information.
The present embodiment is mainly the service reading configuration object that configuration information can be used for notifying terminal 100 with confidence Breath, and corresponding operation is executed according to the configuration information.Wherein, which is mainly used for the service of terminal 100 according to this Configuration information executes relevant operation.In general, from the service discipline that the received key-value pair of server 200 is with terminal 100 Certain configuration parameters are relevant, such as service discipline power_off is shutdown, when the key (key) that server 200 is sent is " power_off ", and it is power_off that terminal 100, which receives the key of key-value pair, and corresponding value is the power_ of service discipline When the corresponding value of off, the service of terminal 100 carries out power-off operation.
The present embodiment is notified that current after terminal 100 obtains related key-value pair and set configuration information from server The relevant service of configuration information so that the service according to the configuration information execute corresponding operation, such as allow user access Which website, relevant service can block request when user accesses other specific websites, thus reach control user behavior or The purpose of equipment.
In one embodiment, configuration object may include user and equipment;Configuration information can be further used for so that The configuration information of user and the configuration information of equipment are read in terminal notification service respectively;If the configuration information of user and matching for equipment There are conflict items for confidence breath, then indicate service execution operation corresponding with the configuration information of equipment.
The present embodiment is mainly that configuration information can be further used for when the configuration information of user and equipment clash, So that the configuration information of the service priority relevant device of terminal 100.Wherein, the configuration information of equipment and the configuration information of user can To be individually stored in terminal 100, when user is not logged on equipment, the configuration information of equipment still is able to mention for service It is responded for relevant operation, however the configuration information of equipment and the configuration information of user can also exist simultaneously, terminal 100 can lead to Know that the configuration information of user and the configuration information of equipment are read in related service respectively, and works as the configuration information of user and matching for equipment There are when conflict item, indicate the operation corresponding with the configuration information of the equipment of relevant service execution for confidence breath.For example, when setting It is unavailable that the corresponding key-value pair of standby configuration information has been arranged to bluetooth, then when user logs in, and server allows the use When family uses bluetooth, the corresponding key-value pair of configuration information of the service meeting detection device first of terminal 100, if the key assignments of equipment Bluetooth is forbidden to use to expression, but the expression of the key-value pair of user allows to be forbidden to use bluetooth at this time using bluetooth, and if it sets Standby key-value pair is not provided with the control item of bluetooth, then the key-value pair of user comes into force at this time.The technical solution of the present embodiment is not In the case where logging on to the terminal with user, it still can forbid certain functions of user's using terminal, in the application in classroom, It is controlled accordingly by the terminal device to each student, such as forbids student using the terminal log-on webpage etc., it can Effectively terminal is effectively managed.
In one embodiment, can with comprising steps of
Obtain the more new information of key-value pair;More new information is sent to terminal;The more new information for triggering terminal according to The more new information is updated the key-value pair of the terminal storage.
In the present embodiment, the more new information for the key-value pair that the available user of server 200 is arranged in the server 200, And the more new information is sent to terminal 100 so that terminal 100 according to the more new information being locally stored to the terminal 100 Key-value pair is updated.Wherein, the key-value pair that terminal 100 can will acquire is stored in local database, is being needed to key When value is to being updated, corresponding more new information is obtained by server, and be updated to key-value pair according to the more new information, Such as the updated value of some available key, the original value of the key is replaced with into the updated value.
Optionally, terminal 100 can be with the more new information of timing request key-value pair.One can be set in the service of terminal 100 Timer requests newest key-value pair to server 200 according to period regular time such as each 3 hours, to complete key assignments Pair update.The service of terminal 100 can also establish the connection of Chief Web Officer, for receiving the key-value pair of urgent property, such as Terminal 100 can receive the related key-value pair that the request of the transmission of background server 200 is shut down at once, then the service of terminal 100 exists Power-off operation is carried out at once after receiving the key-value pair.The present embodiment terminal 100 request periodically or in real time to key-value pair It updates, it is ensured that the configuration information of terminal 100 can be arranged in timely and efficient manner.
In one embodiment, can with comprising steps of
Obtain the control information to configuration object setting;Determine the configuration parameter of the service discipline of terminal;Joined according to configuration Control information is converted key-value pair by number;Key-value pair is stored.
The present embodiment be mainly server 200 can by configuration object control information be converted into corresponding key-value pair into Row storage.Wherein, the control item to user or terminal device can be arranged in administrator in server 200, such as allows user Which webpage or device power-up or shutdown etc. are accessed, and key-value pair is usually certain configurations ginseng with the service discipline of terminal 100 Number is relevant, such as service discipline power_off is shutdown, and corresponding value is 1 or 0, then server can be according to the terminal 100 Service discipline configuration parameter, convert key-value pair for the control information of administrator setting, such as by device power-up or shutdown Key-value pair " power_off=1 " or " power_off=0 " etc. are converted to, and the key-value pair converted is stored to local key Value is effectively arranged configuration information so that requesting related key assignments clock synchronization to be realized in terminal 100 in database.
In one embodiment, terminal is after the step of receiving the key-value pair of the return of server 200, also by key-value pair It is parsed to obtain the key and value of the key-value pair;Object corresponding with key is inquired from service, and obtains the predefined of the object Value;Value is verified using predefined value.
The present embodiment is mainly that terminal 100 is parsed and verified to received key-value pair.Parsing energy is carried out to key-value pair The key value corresponding with the key for enough obtaining the key-value pair, verifies key-value pair primarily to verifying the key pair of the key-value pair The value answered whether be reasonably be worth, such as verify the value whether the key can value within the scope of.
In general, in the service of terminal 100 association attributes predefined the corresponding value of each key can value, Such as key " BluetoothAllowed (bluetooth permission) " can value can only be true or false, corresponding other of the key take Value, which is all returned, is considered as verification failure, the value of the key " BluetoothAllowed (bluetooth permissions) " even parsed in addition to Other values other than true and false all think verification failure.
Specifically, the key-value pair that terminal 100 can will acquire is converted into a json object, i.e., turns a string of character strings Json object is turned to, each key of this object is then traversed, and finds the corresponding object of the key in the service of terminal 100, Then it gives the corresponding value of the key to the object to verify, check results can be obtained, it, can be by the key if verification passes through Value is subsequently used for the processing such as setting configuration information into local database to storage can give up if verification does not pass through The key-value pair is abandoned, the problem for preventing from leading to setting inaccuracy with the key-value pair setting configuration information of mistake.
In one embodiment, a kind of setting device of configuration information is provided, is in one embodiment with reference to Fig. 7, Fig. 7 The structural block diagram of the setting device of configuration information, the setting device of the configuration information may include:
Sending module 101 is identified, for sending the mark of configuration object to server;Mark is used for trigger the server from key Value is to the key-value pair obtained in database and mark matches;
Key-value pair receiving module 102, for receiving the key-value pair of server return;
Information setup module 103, for the configuration information of configuration object to be arranged according to key-value pair.
In one embodiment, can also include:
First storage unit, for storing key-value pair;
Information acquisition unit is updated, for obtaining the more new information of key-value pair by server;
Key-value pair updating unit, for being updated according to more new information to key-value pair.
In one embodiment, can also include:
Key-value pair resolution unit obtains the key and value of the key-value pair for being parsed key-value pair;
Predefined value acquiring unit for inquiring object corresponding with key from service, and obtains the predefined of the object Value;
It is worth verification unit, for verifying using predefined value to value.
In one embodiment, information setup module 103 is further used for:
The first configuration information of configuration object is generated according to key-value pair;Read locally predefined configuration object second is matched Confidence breath;First configuration information and the second configuration information are merged into generation configuration information.
In one embodiment, can also include:
Service Notification unit, for notifying service to read the configuration information of configuration object and executing phase according to the configuration information The operation answered.
In one embodiment, configuration object includes user and equipment;Service Notification unit can be further used for:
The configuration information of user and the configuration information of equipment are read in notice service respectively;If the configuration information and equipment of user Configuration information there are conflict items, then indicate service execution operation corresponding with the configuration information of equipment.
In one embodiment, a kind of setting device of configuration information is provided, is another embodiment with reference to Fig. 8, Fig. 8 The structural block diagram of the setting device of middle configuration information, the setting device of the configuration information may include:
Receiving module 401 is identified, the mark of the configuration object for receiving terminal transmission;
Key-value pair obtains module 402, for obtaining the key to match with the mark from key-value pair data library according to mark Value pair;
Key-value pair sending module 403, for key-value pair to be sent to terminal;Key-value pair is for triggering terminal according to the key assignments To the configuration information of setting configuration object.
In one embodiment, can also include:
Information acquisition unit is updated, for obtaining the more new information of key-value pair;
Information transmitting unit is updated, for more terminal will to be sent to by new information;More new information is for triggering terminal according to this More new information is updated the key-value pair of the terminal storage.
In one embodiment, key-value pair can be further used for:
Triggering terminal generates the first configuration information of configuration object according to the key-value pair, reads locally predefined described The second configuration information for configuring object, merges generation configuration information for the first configuration information and the second configuration information.
In one embodiment, can also include:
Information acquisition unit is controlled, for obtaining the control information to configuration object setting;
Configuration parameter determination unit, the configuration parameter of the service discipline for determining terminal;
Information conversion unit is controlled, for being converted into key-value pair for information is controlled according to configuration parameter;
Second storage unit, for storing key-value pair.
The setting device of configuration information of the invention and the setting method of configuration information of the invention correspond, about matching The specific of the setting device of confidence breath limits the restriction that may refer to the setting method above for configuration information, matches above-mentioned Technical characteristic and its advantages that the embodiment of the setting method of confidence breath illustrates are suitable for the setting device of configuration information Embodiment in, details are not described herein.Modules in the setting device of above-mentioned configuration information can be fully or partially through soft Part, hardware and combinations thereof are realized.Above-mentioned each module can be embedded in the form of hardware or independently of the processing in computer equipment It in device, can also be stored in a software form in the memory in computer equipment, in order to which processor calls execution above each The corresponding operation of a module.
In one embodiment, a kind of terminal management system is provided, is terminal conduit in one embodiment with reference to Fig. 9, Fig. 9 The structural schematic diagram of reason system, the terminal management system can be used for being managed multiple terminals, which may include: end End 300, and the server 200 communicated to connect with terminal 300;Wherein,
The quantity of terminal 300 can be it is multiple, each terminal can be used for server 200 send user or equipment etc. match Set the mark of object;
Server 200 can be used for receiving the mark that each terminal is sent, be obtained from key-value pair data library according to mark The key-value pair to match with the mark, and the key-value pair is sent to corresponding terminal;
Terminal 300, can be also used for receive server 200 return key-value pair, and according to the key-value pair be arranged user or The configuration information of the configuration object such as equipment;Wherein, the service which can be used for each terminal 100 matches confidence according to this Breath is managed user or equipment.
Based on above-mentioned terminal management system, a kind of setting method of configuration information is provided, is one with reference to Figure 10, Figure 10 The timing diagram of the setting method of configuration information in embodiment, the setting method of the configuration information may include steps of:
Step S1001, terminal 300 send the setting request of configuration information to server 200.
In this step, user can open a terminal 300, and be connected to network.Terminal 300 can be with timing request service Device 200, No. SN of equipment can be attached in request by terminal 300 at this time, wherein No. SN unique identification for the terminal, It is set when usually terminal is dispatched from the factory.
Step S1002, the corresponding key-value pair of identifier lookup that server 200 is carried according to the request.
Wherein, server 200 is after the request for receiving terminal 100, can parse current request be device request or User request, if it is device request, then parse No. SN, according to this No. SN in key-value pair data library inquire it is corresponding with this No. SN Equipment key-value pair (such as power_offer_delay:1).
Key-value pair is sent to terminal 100 by step S1003, server 200.
Step S1004, terminal 100 are configured according to the key-value pair configuration information.
In this step, after terminal 100 receives the key-value pair of the return of server 200, it is parsed and is verified, is verified It is saved in local data base, can be stored in the key-value pair as configuration information in configuration information library, and notify after Related service (such as power-service, i.e. power service) is loaded into corresponding key-value pair (such as power_ from local database Offer_delay:1), power-service is detecting that administrator requires the terminal to shut down after 1 minute at this time, then starts One timer, the API of calling system controls terminal closing after 1 minute.
Technical solution provided in this embodiment allows administrator to control certain terminal in server background and closes Machine, and the plan of establishment of this configuration information, can be not only used for controlling equipment, can be also used for the row to user To be controlled, the two does not conflict, and can be individually present, and the quantity of terminal can be it is multiple, administrator can To be grouped operation to each terminal in server, may be implemented such as to class, school grade or provincial or even wider array of control, only Need to return corresponding equipment or the key-value pair of user when terminal to server sends and requests, specific professional ability can be with The related service of notice terminal is operated, and then is realized more extensive to user behavior and equipment, more longlasting, wider and simpler Single control.
In one embodiment, a kind of computer equipment is provided, which can be terminal, internal structure Figure can be as shown in figure 11, and Figure 11 is the internal structure chart of computer equipment in one embodiment.The computer equipment includes logical Cross processor, memory, network interface, display screen and the input unit of system bus connection.Wherein, the place of the computer equipment Device is managed for providing calculating and control ability.The memory of the computer equipment includes non-volatile memory medium, built-in storage. The non-volatile memory medium is stored with operating system and computer program.The built-in storage is in non-volatile memory medium The operation of operating system and computer program provides environment.The network interface of the computer equipment is used to pass through with external terminal Network connection communication.A kind of setting method of configuration information is realized when the computer program is executed by processor.The computer The display screen of equipment can be liquid crystal display or electric ink display screen, and the input unit of the computer equipment can be aobvious The touch layer covered in display screen is also possible to the key being arranged on computer equipment shell, trace ball or Trackpad, can also be External keyboard, Trackpad or mouse etc..
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction Composition is shown in Fig.12, and Figure 12 is the internal structure chart of computer equipment in another embodiment.The computer equipment packet Include processor, memory, network interface and the database connected by system bus.Wherein, the processor of the computer equipment For providing calculating and control ability.The memory of the computer equipment includes non-volatile memory medium, built-in storage.This is non- Volatile storage medium is stored with operating system, computer program and database.The built-in storage is non-volatile memory medium In operating system and computer program operation provide environment.The database of the computer equipment is for storage configuration information Data involved in setting method.The network interface of the computer equipment is used to communicate with external terminal by network connection. A kind of setting method of configuration information is realized when the computer program is executed by processor.
It will be understood by those skilled in the art that structure shown in Figure 11 and Figure 12, only related to the present invention program Part-structure block diagram, do not constitute the restriction for the computer equipment being applied thereon to the present invention program, it is specific to count Calculating machine equipment may include perhaps combining certain components or with different portions than more or fewer components as shown in the figure Part arrangement.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory And the computer program that can be run on a processor, processor perform the steps of when executing computer program
The mark of configuration object is sent to server;Receive the key-value pair that server returns;It is arranged according to key-value pair and is configured The configuration information of object.
In one embodiment, it is also performed the steps of when processor executes computer program
Key-value pair is parsed to obtain the key and value of the key-value pair;Object corresponding with key is inquired from service, and is obtained Take the predefined value of the object;Value is verified using predefined value.
In one embodiment, it is also performed the steps of when processor executes computer program
Key-value pair is stored;The more new information of key-value pair is obtained by server;According to more new information to key-value pair It is updated.
In one embodiment, it is also performed the steps of when processor executes computer program
The first configuration information of configuration object is generated according to key-value pair;Read locally predefined configuration object second is matched Confidence breath;First configuration information and the second configuration information are merged into generation configuration information.
In one embodiment, it is also performed the steps of when processor executes computer program
Notice service reads the configuration information of configuration object and executes corresponding operation according to the configuration information.
In one embodiment, it is also performed the steps of when processor executes computer program
The configuration information of user and the configuration information of equipment are read in notice service respectively;If the configuration information and equipment of user Configuration information there are conflict items, then indicate service execution operation corresponding with the configuration information of equipment.
In one embodiment, a kind of computer equipment is provided, including memory, processor and storage are on a memory And the computer program that can be run on a processor, processor perform the steps of when executing computer program
Receive the mark for the configuration object that terminal is sent;It is obtained and the mark phase from key-value pair data library according to mark The key-value pair matched;Key-value pair is sent to terminal;Configuration object is arranged according to the key-value pair for triggering terminal in the key-value pair Configuration information.
In one embodiment, it is also performed the steps of when processor executes computer program
Obtain the more new information of key-value pair;More new information is sent to terminal;The more new information for triggering terminal according to The more new information is updated the key-value pair of the terminal storage.
In one embodiment, it is also performed the steps of when processor executes computer program
Obtain the control information to configuration object setting;Determine the configuration parameter of the service discipline of terminal;Joined according to configuration Control information is converted key-value pair by number;Key-value pair is stored.
Setting for configuration information is rapidly completed by the computer program run on the processor in above-mentioned computer equipment It sets, even if user logs in other terminals, the configuration information of itself is reset without user, improves the setting of configuration information Efficiency is also convenient for administrator and is managed by server to each terminal, improves the efficiency of management of terminal.
Those of ordinary skill in the art will appreciate that realizing the setting side of configuration information described in as above any one embodiment All or part of the process in method is relevant hardware can be instructed to complete by computer program, the computer Program can be stored in a non-volatile computer read/write memory medium, and the computer program is when being executed, it may include as above State the process of the embodiment of each method.Wherein, to memory, storage, number used in each embodiment provided by the present invention According to any reference of library or other media, non-volatile and/or volatile memory may each comprise.Nonvolatile memory can wrap Include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include random access memory (RAM) or external cache.Make To illustrate rather than limit to, RAM is available in many forms, such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) directly RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and Memory bus dynamic ram (RDRAM) etc..
Accordingly, a kind of computer readable storage medium is provided in one embodiment, is stored thereon with computer program, It is performed the steps of when computer program is executed by processor
The mark of configuration object is sent to server;Receive the key-value pair that server returns;It is arranged according to key-value pair and is configured The configuration information of object.
In one embodiment, it is also performed the steps of when computer program is executed by processor
Key-value pair is parsed to obtain the key and value of the key-value pair;Object corresponding with key is inquired from service, and is obtained Take the predefined value of the object;Value is verified using predefined value.
In one embodiment, it is also performed the steps of when computer program is executed by processor
Key-value pair is stored;The more new information of key-value pair is obtained by server;According to more new information to key-value pair It is updated.
In one embodiment, it is also performed the steps of when computer program is executed by processor
The first configuration information of configuration object is generated according to key-value pair;Read locally predefined configuration object second is matched Confidence breath;First configuration information and the second configuration information are merged into generation configuration information.
In one embodiment, it is also performed the steps of when computer program is executed by processor
Notice service reads the configuration information of configuration object and executes corresponding operation according to the configuration information.
In one embodiment, it is also performed the steps of when computer program is executed by processor
The configuration information of user and the configuration information of equipment are read in notice service respectively;If the configuration information and equipment of user Configuration information there are conflict items, then indicate service execution operation corresponding with the configuration information of equipment.
A kind of computer readable storage medium is provided in one embodiment, is stored thereon with computer program, is calculated Machine program performs the steps of when being executed by processor
Receive the mark for the configuration object that terminal is sent;It is obtained and the mark phase from key-value pair data library according to mark The key-value pair matched;Key-value pair is sent to terminal;Configuration object is arranged according to the key-value pair for triggering terminal in the key-value pair Configuration information.
In one embodiment, it is also performed the steps of when computer program is executed by processor
Obtain the more new information of key-value pair;More new information is sent to terminal;The more new information for triggering terminal according to The more new information is updated the key-value pair of the terminal storage.
In one embodiment, it is also performed the steps of when computer program is executed by processor
Obtain the control information to configuration object setting;Determine the configuration parameter of the service discipline of terminal;Joined according to configuration Control information is converted key-value pair by number;Key-value pair is stored.
The setting of configuration information is rapidly completed by the computer program that it is stored in above-mentioned computer readable storage medium, Even if user logs in other terminals, the configuration information of itself is reset without user, improves the setting effect of configuration information Rate is also convenient for administrator and is managed by server to each terminal, improves the efficiency of management of terminal.
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The embodiments described above only express several embodiments of the present invention, and the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the inventive concept of the premise, various modifications and improvements can be made, these belong to protection of the invention Range.Therefore, the scope of protection of the patent of the invention shall be subject to the appended claims.

Claims (15)

1. a kind of setting method of configuration information, which is characterized in that comprising steps of
The mark of configuration object is sent to server;The mark is obtained from key-value pair data library for triggering the server With the key-value pair for identifying and matching;
Receive the key-value pair that the server returns;
The configuration information of the configuration object is set according to the key-value pair.
2. the setting method of configuration information according to claim 1, which is characterized in that further comprise the steps of:
The key-value pair is stored;
The more new information of the key-value pair is obtained by the server;
The key-value pair is updated according to the more new information.
3. the setting method of configuration information according to claim 1, which is characterized in that returned in the reception server After the step of key-value pair returned, further includes:
The key-value pair is parsed to obtain the key and value of the key-value pair;
Object corresponding with the key is inquired from service, and obtains the predefined value of the object;
Described value is verified using the predefined value.
4. the setting method of configuration information according to claim 1, which is characterized in that described to be arranged according to the key-value pair It is described configuration object configuration information the step of include:
The first configuration information of the configuration object is generated according to the key-value pair;
Read the second configuration information of the locally predefined configuration object;
First configuration information and the second configuration information are merged and generate the configuration information.
5. the setting method of configuration information according to claim 1, which is characterized in that set described according to the key-value pair After the step of setting the configuration information of the configuration object, further includes:
Notice service reads the configuration information of the configuration object and executes corresponding operation according to the configuration information.
6. the setting method of configuration information according to claim 5, which is characterized in that the configuration object include user and Equipment;
The notice service reads the configuration information and includes: the step of executing corresponding operation according to the configuration information
The service is notified to read the configuration information of user and the configuration information of equipment respectively;
If the configuration information of the user and the configuration information of equipment indicate that the service execution is set with described there are conflict item The corresponding operation of standby configuration information.
7. a kind of setting method of configuration information, which is characterized in that comprising steps of
Receive the mark for the configuration object that terminal is sent;
The key-value pair to match with the mark is obtained from key-value pair data library according to the mark;
The key-value pair is sent to the terminal;The key-value pair is for triggering the terminal according to key-value pair setting Configure the configuration information of object.
8. the setting method of configuration information according to claim 7, which is characterized in that further comprise the steps of:
Obtain the more new information of the key-value pair;
The more new information is sent to the terminal;The more new information is for triggering the terminal according to the more new information pair The key-value pair of the terminal storage is updated.
9. the setting method of configuration information according to claim 7, which is characterized in that the key-value pair is further used for:
The first configuration information that the terminal generates the configuration object according to the key-value pair is triggered, is read locally predefined Second configuration information of the configuration object, first configuration information and the second configuration information are merged and matched described in generation Confidence breath.
10. the setting method of configuration information according to claim 7, which is characterized in that further comprise the steps of:
Obtain the control information to the configuration object setting;
Determine the configuration parameter of the service discipline of the terminal;
The key-value pair is converted by the control information according to the configuration parameter;
The key-value pair is stored.
11. a kind of setting device of configuration information characterized by comprising
Sending module is identified, for sending the mark of configuration object to server;It is described mark for trigger the server from It is obtained in key-value pair data library and the key-value pair for identifying and matching;
Key-value pair receiving module, the key-value pair returned for receiving the server;
Information setup module, for the configuration information of the configuration object to be arranged according to the key-value pair.
12. a kind of setting device of configuration information characterized by comprising
Receiving module is identified, the mark of the configuration object for receiving terminal transmission;
Key-value pair obtains module, for obtaining the key assignments to match with the mark from key-value pair data library according to the mark It is right;
Key-value pair sending module, for the key-value pair to be sent to the terminal;The key-value pair is for triggering the terminal The configuration information of the configuration object is set according to the key-value pair.
13. a kind of terminal management system, which is characterized in that including terminal, and the server with terminal communication connection;Its In,
The terminal, for sending the mark of user or equipment to server;
The server, the mark sent for receiving the terminal are obtained from key-value pair data library according to the mark The key-value pair to match with the mark is taken, and the key-value pair is sent to the terminal;
The terminal is also used to receive the key-value pair, and the configuration information of the user or equipment is arranged according to the key-value pair; Service of the configuration information for the terminal is managed the user or equipment according to the configuration information.
14. a kind of computer equipment including memory, processor and stores the meter that can be run on a memory and on a processor Calculation machine program, which is characterized in that the processor is realized described in any one of claims 1 to 10 when executing the computer program Configuration information setting method the step of.
15. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of setting method of the described in any item configuration informations of claims 1 to 10 is realized when being executed by processor.
CN201811061224.8A 2018-09-12 2018-09-12 Configuration information setting method and device and terminal management system Active CN109245928B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811061224.8A CN109245928B (en) 2018-09-12 2018-09-12 Configuration information setting method and device and terminal management system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811061224.8A CN109245928B (en) 2018-09-12 2018-09-12 Configuration information setting method and device and terminal management system

Publications (2)

Publication Number Publication Date
CN109245928A true CN109245928A (en) 2019-01-18
CN109245928B CN109245928B (en) 2021-08-31

Family

ID=65061035

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811061224.8A Active CN109245928B (en) 2018-09-12 2018-09-12 Configuration information setting method and device and terminal management system

Country Status (1)

Country Link
CN (1) CN109245928B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110769073A (en) * 2019-10-31 2020-02-07 海南电网有限责任公司 Electric energy meter zone attribution identification method and device, computer equipment and storage medium
CN110928598A (en) * 2019-11-11 2020-03-27 南方电网财务有限公司 System configuration method, device, computer equipment and storage medium
CN111224826A (en) * 2020-01-07 2020-06-02 深圳市网心科技有限公司 Configuration updating method, device, system and medium based on distributed system
CN111475190A (en) * 2020-04-02 2020-07-31 深圳创维-Rgb电子有限公司 Information updating method and device, electronic equipment and readable storage medium
CN111726236A (en) * 2019-03-18 2020-09-29 京东数字科技控股有限公司 State identification information generation method, system, device and storage medium thereof
CN113849373A (en) * 2021-09-27 2021-12-28 中国电信股份有限公司 Server supervision method and device and storage medium
CN114531493A (en) * 2020-11-23 2022-05-24 北京达佳互联信息技术有限公司 Request processing method and device, electronic equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160077980A1 (en) * 2014-09-13 2016-03-17 Agoraic, Inc. Methods, devices and systems for caching data items
CN105871584A (en) * 2015-12-02 2016-08-17 乐视体育文化产业发展(北京)有限公司 Method, device and system for updating client configuration in key value pair database
CN106534049A (en) * 2015-09-11 2017-03-22 腾讯科技(深圳)有限公司 Server-based data delivery method, client, server and system
CN107943542A (en) * 2017-11-28 2018-04-20 山东浪潮通软信息科技有限公司 A kind of configuration information management method, device, computer-readable recording medium and storage control

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160077980A1 (en) * 2014-09-13 2016-03-17 Agoraic, Inc. Methods, devices and systems for caching data items
CN106534049A (en) * 2015-09-11 2017-03-22 腾讯科技(深圳)有限公司 Server-based data delivery method, client, server and system
CN105871584A (en) * 2015-12-02 2016-08-17 乐视体育文化产业发展(北京)有限公司 Method, device and system for updating client configuration in key value pair database
CN107943542A (en) * 2017-11-28 2018-04-20 山东浪潮通软信息科技有限公司 A kind of configuration information management method, device, computer-readable recording medium and storage control

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111726236A (en) * 2019-03-18 2020-09-29 京东数字科技控股有限公司 State identification information generation method, system, device and storage medium thereof
CN110769073A (en) * 2019-10-31 2020-02-07 海南电网有限责任公司 Electric energy meter zone attribution identification method and device, computer equipment and storage medium
CN110928598A (en) * 2019-11-11 2020-03-27 南方电网财务有限公司 System configuration method, device, computer equipment and storage medium
CN110928598B (en) * 2019-11-11 2024-01-30 南方电网财务有限公司 System configuration method, device, computer equipment and storage medium
CN111224826A (en) * 2020-01-07 2020-06-02 深圳市网心科技有限公司 Configuration updating method, device, system and medium based on distributed system
CN111224826B (en) * 2020-01-07 2023-04-28 深圳市网心科技有限公司 Configuration updating method, device, system and medium based on distributed system
CN111475190A (en) * 2020-04-02 2020-07-31 深圳创维-Rgb电子有限公司 Information updating method and device, electronic equipment and readable storage medium
CN114531493A (en) * 2020-11-23 2022-05-24 北京达佳互联信息技术有限公司 Request processing method and device, electronic equipment and storage medium
CN114531493B (en) * 2020-11-23 2024-03-26 北京达佳互联信息技术有限公司 Request processing method and device, electronic equipment and storage medium
CN113849373A (en) * 2021-09-27 2021-12-28 中国电信股份有限公司 Server supervision method and device and storage medium

Also Published As

Publication number Publication date
CN109245928B (en) 2021-08-31

Similar Documents

Publication Publication Date Title
CN109245928A (en) Setting method and device, the terminal management system of configuration information
US10812284B2 (en) IoT provisioning service
US9836346B2 (en) Error troubleshooting using a correlated knowledge base
CN108234475B (en) Account management method, electronic equipment and computer storage medium
US20180322563A1 (en) Method for registering customized device, server, and terminal
US11425571B2 (en) Device configuration method, apparatus and system
US20160224530A1 (en) Mapping stored client data to requested data using metadata
US9294456B1 (en) Gaining access to an account through authentication
CN111767095A (en) Micro-service generation method and device, terminal equipment and storage medium
US20190268245A1 (en) Access control policy simulation and testing
CN109587233A (en) Cloudy Container Management method, equipment and computer readable storage medium
CN109088812A (en) Information processing method, device, computer equipment and storage medium
CN110324407B (en) Access control method and device for background server and storage medium
CN110149363A (en) A kind of information push method, device and storage medium
CN112437078A (en) File storage method, device, equipment and computer readable storage medium
CN103001934A (en) Terminal application login method and terminal application login system
CN104836777A (en) Identity verification method and system
CN107392560A (en) A kind of Excel list datas issue acquisition method and system based on internet
CN108551438A (en) X.509, Single Sign-On between different server, which uses, to be verified
CN111222153A (en) Application program authority management method and device and storage medium
US20190286678A1 (en) Resource distribution based upon search signals
CN109711656B (en) Multisystem association early warning method, device, equipment and computer readable storage medium
CN113515395A (en) Application access method and device based on multi-cloud management platform
US10866711B1 (en) Providing account information to applications
CN111460256A (en) Webpage data crawling method and device, computer equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant