CN108039960B - Configuration information issuing method and server - Google Patents

Configuration information issuing method and server Download PDF

Info

Publication number
CN108039960B
CN108039960B CN201711237666.9A CN201711237666A CN108039960B CN 108039960 B CN108039960 B CN 108039960B CN 201711237666 A CN201711237666 A CN 201711237666A CN 108039960 B CN108039960 B CN 108039960B
Authority
CN
China
Prior art keywords
configuration information
pieces
sending
piece
sub
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201711237666.9A
Other languages
Chinese (zh)
Other versions
CN108039960A (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.)
Hisense Co Ltd
Original Assignee
Hisense 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 Hisense Co Ltd filed Critical Hisense Co Ltd
Priority to CN201711237666.9A priority Critical patent/CN108039960B/en
Publication of CN108039960A publication Critical patent/CN108039960A/en
Application granted granted Critical
Publication of CN108039960B publication Critical patent/CN108039960B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • 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
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/0816Configuration setting characterised by the conditions triggering a change of settings the condition being an adaptation, e.g. in response to network events
    • 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/0896Bandwidth or capacity management, i.e. automatically increasing or decreasing capacities
    • 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/50Network service management, e.g. ensuring proper service fulfilment according to agreements
    • H04L41/5003Managing SLA; Interaction between SLA and QoS

Abstract

The embodiment of the invention provides a configuration information issuing method and a server, wherein the method comprises the following steps: when detecting that NB-IOT equipment is on-line, acquiring at least two pieces of configuration information to be issued to the NB-IOT equipment; determining the sending priority of each piece of configuration information based on the information content of each piece of configuration information in the at least two pieces of configuration information, wherein the sending priority is positively correlated with the degree of susceptibility of the configuration information to the execution influence of other configuration information; and sending the at least two pieces of configuration information to the NB-IOT equipment based on the sending priority of each piece of configuration information in the at least two pieces of configuration information. The method and the server provided by the embodiment of the invention can solve the problem of configuration failure of the NB-IOT equipment caused by improper configuration information issuing sequence.

Description

Configuration information issuing method and server
Technical Field
The embodiment of the invention relates to the technical field of computers, in particular to a configuration information issuing method and a server.
Background
The Narrow-Band Internet of Things (NB-IoT) equipment based on the honeycomb is low-power-consumption Internet of Things equipment, and the NB-IoT equipment enters a dormant state when no service exists, and cannot receive information issued by a cloud server.
For the above-mentioned features of NB-IoT devices, the prior art solution is: the method comprises the steps that information such as configuration information and the like needing to be issued to NB-IoT equipment is stored in a cloud server, and when the NB-IoT equipment is detected by the cloud server, the stored information is issued to the NB-IoT equipment sequentially according to the sequence of the received information.
However, in some scenarios, the prior art has the following problems: first, when there is a configuration with mutually exclusive functions in the information stored in the cloud server, the NB-IoT device may be caused to perform only part of operations, for example, if a value is assigned to a certain non-default configuration attribute a (the attribute value is not stored by the NB-IoT device) and the two types of operations of upgrading are issued together, the NB-IoT device upgrades and restarts after returning a confirmation of receiving the message, the configuration information of the NB-IoT device is restored to the default setting, so that the configuration a issued together with the upgrade is invalid, and after receiving the confirmation of the NB-IoT device returning, the cloud server considers that the configuration information has been successfully sent, deletes or marks the configuration a as sent, and then does not send the configuration information again. Secondly, the configuration information issued first may affect the configuration result of the configuration information issued later, for example, before the NB-IoT device reports data next time, the cloud server accumulates multiple pieces of configuration information to be issued, at this time, the cloud server finds that the NB-IoT device is abnormal, and needs to read the current partial attribute of the NB-IoT device to locate the reason of the abnormality, at this time, if the cloud server issues the configuration information according to the time sequence of receiving the configuration information, and when the configuration information of reading the NB-IoT device attribute is issued, the state of the NB-IoT device has changed, so that the cloud server cannot locate the reason of the abnormality of the device.
Disclosure of Invention
The embodiment of the invention provides a configuration information issuing method and a server, which are used for solving the problem of NB-IOT equipment configuration failure caused by improper configuration information issuing sequence.
A first aspect of an embodiment of the present invention provides a method for issuing configuration information, where the method includes:
when detecting that NB-IOT equipment is on-line, acquiring at least two pieces of configuration information to be issued to the NB-IOT equipment;
determining the sending priority of each piece of configuration information based on the information content of each piece of configuration information in the at least two pieces of configuration information, wherein the sending priority is positively correlated with the degree of susceptibility of the configuration information to the execution influence of other configuration information;
and sending the at least two pieces of configuration information to the NB-IOT equipment based on the sending priority of each piece of configuration information in the at least two pieces of configuration information.
Optionally, before the sending of the at least two pieces of configuration information to the NB-IOT device based on the sending priority of each piece of configuration information in the at least two pieces of configuration information, the method further includes:
determining the information attribute of each piece of configuration information based on the content of each piece of configuration information in the at least two pieces of configuration information;
and carrying out deduplication processing on a plurality of pieces of configuration information with the same information attribute.
Optionally, the sending, based on the sending priority of each piece of configuration information in the at least two pieces of configuration information, the at least two pieces of configuration information to the NB-IOT device includes:
sequencing the at least two pieces of configuration information based on the sending priority of each piece of configuration information in the at least two pieces of configuration information;
dividing the sequence into a plurality of sub-sequences, so that each sub-sequence does not include configuration information influencing the execution of other configuration information in the sub-sequence;
and respectively merging the configuration information in each sub-sequence into one piece of configuration information, and sending the configuration information to the NB-IOT equipment based on the sequence between each sub-sequence.
Optionally, the dividing the ranking into a plurality of sub-rankings, so that each sub-ranking does not include configuration information that affects execution of other configuration information in the sub-rankings, includes:
and traversing and sorting the configuration information behind the first configuration information from the first configuration information at one sorting end as a starting point by taking each configuration information in the sorting as a base point, and when the configuration information influencing the execution of the configuration information is obtained in a traversing manner, dividing the configuration information in front of the configuration information until a plurality of sub-sorts are obtained after all the traversing is finished.
Optionally, the sending, based on the sending priority of each piece of configuration information in the at least two pieces of configuration information, the at least two pieces of configuration information to the NB-IOT device includes:
dividing the configuration information with the same priority in the at least two pieces of configuration information into a set;
dividing each set into a plurality of subsets, so that each subset does not include configuration information influencing the execution of other configuration information in the same subset;
and sequentially sending the configuration information in each set to the NB-IOT equipment based on the priority corresponding to each subset.
A second aspect of an embodiment of the present invention provides a server, including:
the device comprises an acquisition module and a processing module, wherein the acquisition module is used for acquiring at least two pieces of configuration information to be issued to NB-IOT equipment when the NB-IOT equipment is detected to be on line;
the determining module is used for determining the sending priority of each piece of configuration information based on the information content of each piece of configuration information in the at least two pieces of configuration information, wherein the sending priority is positively correlated with the degree of the configuration information which is easily influenced by the execution of other configuration information;
a first sending module, configured to send the at least two pieces of configuration information to the NB-IOT device based on a sending priority of each piece of configuration information in the at least two pieces of configuration information.
Optionally, the server further includes:
a deduplication module to:
determining the information attribute of each piece of configuration information based on the content of each piece of configuration information in the at least two pieces of configuration information;
and carrying out deduplication processing on a plurality of pieces of configuration information with the same information attribute.
Optionally, the first sending module includes:
the sequencing submodule is used for sequencing the at least two pieces of configuration information based on the sending priority of each piece of configuration information in the at least two pieces of configuration information;
the dividing submodule is used for dividing the sequence into a plurality of sub sequences, so that each sub sequence does not include configuration information influencing the execution of other configuration information in the sub sequence;
and the sending submodule is used for respectively merging the configuration information in each sub-sequence into one piece of configuration information and sending the configuration information to the NB-IOT equipment based on the sequence between each sub-sequence.
Optionally, the sub-module is specifically configured to:
and traversing and sorting the configuration information behind the first configuration information from the first configuration information at one sorting end as a starting point by taking each configuration information in the sorting as a base point, and when the configuration information influencing the execution of the configuration information is obtained in a traversing manner, dividing the configuration information in front of the configuration information until a plurality of sub-sorts are obtained after all the traversing is finished.
Optionally, the first sending module is specifically configured to:
dividing the configuration information with the same priority in the at least two pieces of configuration information into a set;
dividing each set into a plurality of subsets, so that each subset does not include configuration information influencing the execution of other configuration information in the same subset;
and sequentially sending the configuration information in each set to the NB-IOT equipment based on the priority corresponding to each subset.
According to the embodiment of the invention, when the NB-IOT equipment is detected to be on-line, at least two pieces of configuration information to be issued to the NB-IOT equipment are obtained, the configuration information which is easily affected by the execution of other configuration information is set to be a higher sending priority based on the information content of each piece of the obtained at least two pieces of configuration information, and the configuration information which is not easily affected by the execution of other configuration information is set to be a lower sending priority, so that the obtained configuration information is sent to the NB-IOT equipment based on the sending priority of each piece of configuration information. According to the embodiment of the invention, after the configuration information is acquired, the sending priority of the configuration information is determined according to the content of the configuration information, so that the configuration information which is easily affected by the execution of other configuration information is issued to the NB-IOT equipment in advance, and the problem of configuration failure of the NB-IOT equipment caused by improper issuing sequence of the configuration information is solved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart of a configuration information issuing method according to an embodiment of the present invention;
FIG. 2 is a flowchart of a method for performing step 103 according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a server according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of the first sending module 13 according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "comprises" and "comprising," and any variations thereof, in the description and claims of this invention, are intended to cover non-exclusive inclusions, e.g., a process or an apparatus that comprises a list of steps is not necessarily limited to those structures or steps expressly listed but may include other steps or structures not expressly listed or inherent to such process or apparatus.
The embodiment of the invention provides a configuration information issuing method. The method can be executed by a server of a network where the NB-IOT device is located, or can be executed by an access server or an application server connected with the NB-IOT device. Referring to fig. 1, fig. 1 is a flowchart of a configuration information issuing method according to an embodiment of the present invention, and as shown in fig. 1, the method includes:
step 101, when detecting that the NB-IOT equipment is on-line, acquiring at least two pieces of configuration information to be issued to the NB-IOT equipment.
Optionally, in this embodiment, the NB-IOT device includes a dormant state and an online state, and when the NB-IOT device is dormant, configuration information for configuring the NB-IOT device is stored in a server of a network where the NB-IOT device is located. When the NB-IOT equipment is on line, the server acquires at least two pieces of configuration information of the NB-IOT equipment which are stored currently.
Optionally, for each piece of configuration information stored in the server, in addition to the information content, the server may further store associated information of at least one of the following information:
the type information of the configuration information and the type of the configuration information may be divided as needed, for example, the type of the configuration information may be divided into a restart type and a parameter configuration type, where all the configuration information related to the restart of the NB-IOT device may be divided into the restart type, and all the configuration information related to the setting of the attribute parameters of the NB-IOT device may be divided into the parameter configuration type, which is, of course, only an example and not a specific limitation on the type of the configuration information.
Optionally, in this embodiment, the management of the server on the type information of the configuration information includes addition, editing, and deletion.
Optionally, the storage structure of the type information of the configuration information in the server may include the following fields:
the type name of the configuration information, the type identification (the type identification has uniqueness, such as a number which is increased from 0), the type description, the generation timestamp of the type information, and the update timestamp of the type information.
The attribute information of the configuration information refers to an attribute of a parameter configured by the configuration information, for example, when the configuration information is used for configuring a sleep time parameter of the NB-IOT device, the attribute of the configuration information is the sleep time parameter attribute.
Optionally, in this embodiment, the management of the server on the attribute information of the configuration information may include addition, editing, and deletion of the attribute information.
Optionally, the storage structure of the attribute information of the configuration information in the server may include the following fields:
configuring the attribute name of the information, the attribute value range, the type identification of the type, attribute meaning description and the update time stamp of the generation time stamp attribute information of the attribute information.
Mutual exclusion information of configuration information, which includes information of other configuration information (e.g., type information and attribute information, etc.) having an influence on execution of the configuration information.
Optionally, in this embodiment, the management of the mutual exclusion information of the configuration information by the server may include addition and deletion of the mutual exclusion information.
For example, the mutual exclusion information of the configuration information may be stored in the server through a mutual exclusion relationship array a in the following form, where a value of the mutual exclusion relationship is 1, and others are 0, for example, when the configuration information of type 1 and the configuration information of type 3 are mutually exclusive, in the mutual exclusion relationship array a, values corresponding to a [1] [3] and a [3] [1] are 1:
mutual exclusion relation array A
Figure BDA0001489292600000061
Optionally, if there are not many types of mutual exclusion relationships, that is, the mutual exclusion relationship array a is a sparse matrix, only the mutual exclusion relationship list of the configuration information having the mutual exclusion relationship may be stored, for example, the mutual exclusion relationship between the configuration information may be stored in the following storage form:
{ type identification of configuration information, mutual exclusion relationship list: [ type identification 1 corresponding to mutually exclusive configuration information, type identification 2 corresponding to mutually exclusive configuration information.
Taking the addition of the mutual exclusion relationship of the type 1 and the type 3 as an example, the server may modify the mutual exclusion relationship lists corresponding to the type identifier 1 and the type identifier 3 at the same time, and add the opposite type identifier to the respective mutual exclusion relationship lists, for example:
{ type identification: 1, record List: [4,6,3] }
{ type identification: 3, record List: [1] }
Of course, the foregoing is illustrative only and is not to be construed as the only limitation on the invention.
Optionally, in this embodiment, the mutual exclusion relationship between the configuration information may be determined by the following method:
firstly, carrying out sensitivity division on all configuration types to be issued, wherein the sensitivity refers to the degree of influence of execution results of other configuration information. For example, assuming that the sensitivity of the configuration information can be divided into three categories, the corresponding sensitivity values can be represented by 3, 2, and 1, respectively, where:
the sensitivity 3 is set to be high, the configuration information with the sensitivity 3 is greatly influenced by the execution results of other configuration information, and an operation which needs to be issued independently and preferentially, such as a debugging operation, needs to be issued preferentially under the condition that other operations are not performed, so that the current attribute value of the equipment is obtained, and the problem occurring in the NB-IOT equipment is positioned accurately.
The sensitivity 2 is set to be a medium sensitivity, the configuration information with the sensitivity 2 is mainly used for temporarily modifying the parameters of the NB-IOT device, the configuration information cannot be saved by the NB-IOT device, and the configuration information does not take effect after the NB-IOT device is restarted, so that the configuration information can be influenced by the restart of the NB-IOT device.
The sensitivity 1 is set to be low, the configuration information with the sensitivity 1 is basically not influenced by the execution result of other configuration information, the configuration information comprises upgrading, restarting and default configuration, wherein the default configuration refers to the configuration which is preserved by the NB-IOT equipment and can continuously take effect even if the NB-IOT equipment is restarted.
Therefore, the mutual exclusion relation among the configuration information can be obtained according to the sensitivity of the configuration information, namely the configuration information with high sensitivity and the configuration information of all other types are mutually exclusive; the configuration information of the medium sensitivity is mutually exclusive with all other configuration information which can cause the restart of the NB-IOT equipment; the configuration information with low sensitivity has no mutual exclusion relationship with other configuration information except the configuration which can cause the restart of the NB-IOT equipment.
Of course, the sensitivity classification is only an example and is not a specific limitation to the sensitivity classification, and in practical applications, those skilled in the art may classify the sensitivity of the configuration information according to the needs.
Optionally, in this embodiment, the server may further manage the state of the configuration information:
for example, in an actual scenario, the following fields may be used to manage the state of the configuration information:
the identifier of the NB-IOT equipment, the type identifier of the configuration information, the attribute name of the configuration information, the attribute value, the priority information, the information whether the information is acquired or not, the information whether the information is issued or not, the state generation timestamp and the state updating timestamp. It is understood that this is by way of illustration and not by way of limitation.
Optionally, in this embodiment, the number of the obtained configuration information may also be set, for example, the configuration information with the number not exceeding the preset number is obtained at one time, where the preset number may be set according to the processing capability of the server and the processing capability of the NB-IOT device, and this embodiment is not limited specifically.
102, determining a sending priority of each piece of configuration information based on the information content of each piece of configuration information in the at least two pieces of configuration information, wherein the sending priority is positively correlated with the degree that the configuration information is susceptible to the execution influence of other configuration information.
Optionally, in the embodiment of the present invention, the sensitivity is used to describe the degree that the configuration information is susceptible to the execution of other configuration information, the more susceptible the configuration information is to the execution of other configuration information, the higher the sensitivity corresponding to the configuration information is, otherwise, the lower the sensitivity is, and correspondingly, when the sensitivity of the configuration information is higher, the higher the transmission priority of the configuration information is.
Exemplary sensitivity values may be represented by a, b, c:
when the sensitivity of the configuration information is a, it indicates that the influence of the configuration information on the execution of other configuration information is large, and the configuration information needs to be issued separately and preferentially, and at this time, the priority of the configuration information is set to be high priority, so that the configuration information is sent first. For example, when performing a debugging operation, it is necessary to preferentially issue configuration information of the debugging operation without performing other operations, and then the current attribute value of the NB-IOT device can be acquired, and the problem occurring in the NB-IOT device is located according to the attribute value. It is understood that this is by way of illustration and not by way of limitation.
When the sensitivity of the configuration information is b, it indicates that the configuration information is mainly temporary modification of the attribute of the NB-IOT device, the configuration information is not stored by the NB-IOT device, and the configuration is not re-validated after the NB-IOT device is restarted, so the configuration information is affected by the restart of the NB-IOT device, but other operations have little effect on the configuration information.
When the sensitivity of the configuration information is c, it indicates that the configuration information is not affected by other operations, such as upgrading, restarting, configuration information of default configuration, and the like, and the configuration information NB-IOT device will keep, and will continuously take effect even if the NB-IOT device restarts.
Optionally, this embodiment may further include an operation of performing deduplication processing on the obtained at least one piece of configuration information, which is specifically as follows:
in a possible implementation manner, an information attribute of the configuration information is determined based on the content of each piece of configuration information in the at least two pieces of configuration information, further, multiple pieces of configuration information with the same information attribute are subjected to deduplication processing, the configuration information received last in the multiple pieces of configuration information with the same information attribute is reserved, and all pieces of configuration information before the configuration information and with the same information attribute of the configuration information are deleted. For example, if the plurality of pieces of configuration information configure the parameter a of the NB-IOT device, the last received configuration information of the parameter a is retained, and the previous configuration information of the parameter a is deleted. It is understood that this is by way of illustration and not by way of limitation.
In another possible implementation manner, the server deletes the configuration information whose information content is included in the other configuration information from the at least two pieces of acquired configuration information, for example, the NB-IOT device may restart in the upgrade process, and if the configuration information of the NB-IOT device includes the upgraded configuration information and the restarted configuration information, the restarted configuration information may be deleted and the upgraded configuration information may be retained. It is understood that this is by way of illustration and not by way of limitation.
Step 103, sending the at least two pieces of configuration information to the NB-IOT device based on the sending priority of each piece of configuration information in the at least two pieces of configuration information.
Optionally, in a possible sending manner, each piece of configuration information is sent to the NB-IOT device sequentially according to the order of priority from high to low.
In another possible transmission mode, further sorting division can be performed based on the current transmission priority sorting, and transmission is performed according to the divided order. Specifically, fig. 2 is a flowchart of an execution method of step 103 according to an embodiment of the present invention, and as shown in fig. 2, the method includes:
step 201, sorting the at least two pieces of configuration information based on the sending priority of each piece of configuration information in the at least two pieces of configuration information.
Optionally, the transmission priorities may be sorted from high to low, or sorted from low to high, which is not limited in this embodiment.
Step 202, dividing the sequence into a plurality of sub-sequences, so that each sub-sequence does not include configuration information influencing the execution of other configuration information in the sub-sequence.
In a first possible manner, the configuration information after the first configuration information in the sequence is traversed and sequenced from the first configuration information at one end of the sequence as a starting point, when the configuration information influencing the execution of the first configuration information is obtained by traversing, the traversing is stopped, the configuration information obtained by traversing is divided, and so on, a plurality of sub-sequences are finally obtained, and the configuration information influencing the execution of other configuration information in the sub-sequences where the configuration information is not included in each sub-sequence.
In a second possible manner, the configuration information with the same sending priority is divided into one sub-sequence, and further divided based on the first possible manner to obtain a plurality of sub-sequences.
Step 203, merging the configuration information in each sub-sequence into one piece of configuration information, and sending the configuration information to the NB-IOT device based on the sequence between each sub-sequence.
For example, assuming that the obtained configuration information 1,2,3,4,5,6 has type identifiers 11,12,13,14,15, 16, respectively, where the type 11 is mutually exclusive to the type 15, the type 13 is mutually exclusive to the type 16, and the type 14 is mutually exclusive to the type 16, and the respective configuration information is sorted from high to low according to the priority, where M is [3,4,6,1,5,2], then:
the first traversal, with the configuration information 3 as a starting point, backward traversal is performed to find whether configuration information mutually exclusive with the configuration information 3 exists, and if the configuration information 6 is found, M is split into another sub-sequence, where M1 is [3,4], and M2 is [6,1,5,2 ];
the second traversal is carried out, whether mutually exclusive configuration information exists is checked backwards from the configuration information 6 in the M2, if the result does not exist, the set is not changed, and the split is not carried out;
the third polling starts from the configuration information 1 in the M2, and searches backward whether there is mutually exclusive configuration information, and finds the configuration information 5, so that the split M2 is M21 ═ 6,1] and M22 ═ 5, 2;
polling for the fourth time, starting to inquire from the configuration information 5 in the M22, having no mutual exclusion and not splitting the set;
and in the fifth polling, the configuration information 2 is found to be the last record, and the polling is terminated.
Outputting a configuration result to be issued: m1 ═ 3,4] M21 ═ 6,1], M22 ═ 5, 2.
Further, the configuration information in M1, M21, and M22 is merged into one piece of information and sent to the NB-IOT device.
In another possible sending manner, the configuration information with the same priority in the at least two pieces of acquired configuration information may be divided into one set, and further, each set is divided into a plurality of subsets, so that each subset does not include configuration information that affects execution of other configuration information in the same subset; and then sequentially sending the configuration information in each set to the NB-IOT equipment based on the priority corresponding to each subset. The manner of dividing the subset is similar to the manner of dividing the molecular order by the traversal method, and is not described herein again.
Optionally, in this embodiment, the issuing waiting time of each piece of configuration information may also be monitored, and if a piece of configuration information is not yet sent within a preset time after the previous piece of configuration information is sent, the latter piece of configuration information and the subsequent pieces of configuration information are sent to the NB-IOT device after being reordered. Therefore, the new configuration information needing to be issued preferentially can be ensured not to be issued in a delayed manner due to the long-time waiting configuration information, and the issuing efficiency of the configuration information is improved.
In this embodiment, when detecting that the NB-IOT device is online, at least two pieces of configuration information to be issued to the NB-IOT device are acquired, and based on information content of each piece of configuration information in the acquired at least two pieces of configuration information, configuration information that is susceptible to execution of other configuration information is set to a higher transmission priority, and configuration information that is not susceptible to execution of other configuration information is set to a lower transmission priority, so that the acquired configuration information is transmitted to the NB-IOT device based on the transmission priority of each piece of configuration information. According to the embodiment, after the configuration information is acquired, the sending priority of the configuration information is determined according to the content of the configuration information, so that the configuration information which is easily affected by the execution of other configuration information is issued to the NB-IOT equipment in advance, and the problem of configuration failure of the NB-IOT equipment caused by improper issuing sequence of the configuration information is solved.
Fig. 3 is a schematic structural diagram of a server according to an embodiment of the present invention, and as shown in fig. 3, the server includes:
an obtaining module 11, configured to obtain at least two pieces of configuration information to be issued to an NB-IOT device when detecting that the NB-IOT device is online;
a determining module 12, configured to determine a sending priority of each piece of configuration information based on an information content of each piece of configuration information in the at least two pieces of configuration information, where the sending priority is positively correlated to a degree that the configuration information is susceptible to being affected by execution of other configuration information;
a first sending module 13, configured to send the at least two pieces of configuration information to the NB-IOT device based on a sending priority of each piece of configuration information in the at least two pieces of configuration information.
Optionally, the server further includes:
a deduplication module to: determining the information attribute of each piece of configuration information based on the content of each piece of configuration information in the at least two pieces of configuration information; and carrying out deduplication processing on a plurality of pieces of configuration information with the same information attribute.
Optionally, the first sending module 13 is specifically configured to:
dividing the configuration information with the same priority in the at least two pieces of configuration information into a set;
dividing each set into a plurality of subsets, so that each subset does not include configuration information influencing the execution of other configuration information in the same subset;
and sequentially sending the configuration information in each set to the NB-IOT equipment based on the priority corresponding to each subset.
The server provided in this embodiment can be used to execute the method in the embodiment in fig. 1, and the execution manner and the beneficial effects are similar, and are not described herein again.
Fig. 4 is a schematic structural diagram of the first sending module 13 according to an embodiment of the present invention, and as shown in fig. 4, the first sending module 13 includes:
a sorting submodule 131, configured to sort the at least two pieces of configuration information based on a sending priority of each piece of configuration information in the at least two pieces of configuration information;
a dividing sub-module 132, configured to divide the ranking into a plurality of sub-rankings, so that each sub-ranking does not include configuration information that affects execution of other configuration information in the sub-rankings;
the sending submodule 133 is configured to merge the configuration information in each sub-rank into one piece of configuration information, and send the configuration information to the NB-IOT device based on the rank between each sub-rank.
Optionally, the dividing sub-module 132 is specifically configured to:
and traversing and sorting the configuration information behind the first configuration information from the first configuration information at one sorting end as a starting point by taking each configuration information in the sorting as a base point, and when the configuration information influencing the execution of the configuration information is obtained in a traversing manner, dividing the configuration information in front of the configuration information until a plurality of sub-sorts are obtained after all the traversing is finished. The server provided in this embodiment can be used to execute the method in the embodiment of fig. 2, and the execution manner and the beneficial effect are similar, which are not described herein again.
An embodiment of the present invention further provides a server, where the server includes: a processor, a memory for storing executable instructions, the processor when executing the executable instructions in the memory performing the method of:
when detecting that NB-IOT equipment is on-line, acquiring at least two pieces of configuration information to be issued to the NB-IOT equipment;
determining the sending priority of each piece of configuration information based on the information content of each piece of configuration information in the at least two pieces of configuration information, wherein the sending priority is positively correlated with the degree of susceptibility of the configuration information to the execution influence of other configuration information;
and sending the at least two pieces of configuration information to the NB-IOT equipment based on the sending priority of each piece of configuration information in the at least two pieces of configuration information.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as a memory comprising instructions, executable by a processor of the server to perform the method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, instructions in the storage medium, when executed by a processor of a server, enable the server to perform a method of:
when detecting that NB-IOT equipment is on-line, acquiring at least two pieces of configuration information to be issued to the NB-IOT equipment;
determining the sending priority of each piece of configuration information based on the information content of each piece of configuration information in the at least two pieces of configuration information, wherein the sending priority is positively correlated with the degree of susceptibility of the configuration information to the execution influence of other configuration information;
and sending the at least two pieces of configuration information to the NB-IOT equipment based on the sending priority of each piece of configuration information in the at least two pieces of configuration information.
Finally, it should be noted that, as one of ordinary skill in the art will appreciate, all or part of the processes of the methods of the embodiments described above may be implemented by hardware related to instructions of a computer program, where the computer program may be stored in a computer-readable storage medium, and when executed, the computer program may include the processes of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), a Random Access Memory (RAM), or the like.
Each functional unit in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a separate product, may also be stored in a computer readable storage medium. The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc.
The above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for issuing configuration information is characterized by comprising the following steps:
when detecting that NB-IOT equipment is on-line, acquiring at least two pieces of configuration information to be issued to the NB-IOT equipment; determining the sending priority of each piece of configuration information based on the information content of each piece of configuration information in the at least two pieces of configuration information, wherein the sending priority is positively correlated with the sensitivity, the sensitivity is used for indicating the degree of susceptibility of the configuration information to the execution influence of other configuration information, and the sensitivity is obtained by dividing the type sensitivity of the configuration information to be issued;
and sending the at least two pieces of configuration information to the NB-IOT equipment based on the sending priority of each piece of configuration information in the at least two pieces of configuration information.
2. The method of claim 1, wherein before sending the at least two pieces of configuration information to the NB-IOT device based on the sending priority of each of the at least two pieces of configuration information, the method further comprises:
determining the information attribute of each piece of configuration information based on the content of each piece of configuration information in the at least two pieces of configuration information;
and carrying out deduplication processing on a plurality of pieces of configuration information with the same information attribute.
3. The method of claim 1, wherein the sending the at least two pieces of configuration information to the NB-IOT device based on the sending priority of each of the at least two pieces of configuration information comprises:
sequencing the at least two pieces of configuration information based on the sending priority of each piece of configuration information in the at least two pieces of configuration information;
dividing the sequence into a plurality of sub-sequences, so that each sub-sequence does not include configuration information influencing the execution of other configuration information in the sub-sequence;
and respectively merging the configuration information in each sub-sequence into one piece of configuration information, and sending the configuration information to the NB-IOT equipment based on the sequence between each sub-sequence.
4. The method of claim 3, wherein the dividing the ranking into sub-rankings such that configuration information that affects execution of other configuration information in the sub-rankings is not included in each sub-ranking comprises:
and traversing and sorting the configuration information behind the first configuration information from the first configuration information at one sorting end as a starting point by taking each configuration information in the sorting as a base point, and when the configuration information influencing the execution of the configuration information is obtained in a traversing manner, dividing the configuration information in front of the configuration information until a plurality of sub-sorts are obtained after all the traversing is finished.
5. The method of claim 1, wherein the sending the at least two pieces of configuration information to the NB-IOT device based on the sending priority of each of the at least two pieces of configuration information comprises:
dividing the configuration information with the same priority in the at least two pieces of configuration information into a set;
dividing each set into a plurality of subsets, so that each subset does not include configuration information influencing the execution of other configuration information in the same subset;
and sequentially sending the configuration information in each set to the NB-IOT equipment based on the priority corresponding to each subset.
6. A server, comprising:
the device comprises an acquisition module and a processing module, wherein the acquisition module is used for acquiring at least two pieces of configuration information to be issued to NB-IOT equipment when the NB-IOT equipment is detected to be on line;
the determining module is configured to determine a sending priority of each piece of configuration information based on information content of each piece of configuration information in the at least two pieces of configuration information, where the sending priority is positively correlated with a sensitivity, the sensitivity is used to indicate a degree that the configuration information is susceptible to being affected by execution of other pieces of configuration information, and the sensitivity is obtained by dividing a type sensitivity of the configuration information to be issued;
a first sending module, configured to send the at least two pieces of configuration information to the NB-IOT device based on a sending priority of each piece of configuration information in the at least two pieces of configuration information.
7. The server of claim 6, further comprising:
a deduplication module to:
determining the information attribute of each piece of configuration information based on the content of each piece of configuration information in the at least two pieces of configuration information;
and carrying out deduplication processing on a plurality of pieces of configuration information with the same information attribute.
8. The server according to claim 6, wherein the first sending module comprises:
the sequencing submodule is used for sequencing the at least two pieces of configuration information based on the sending priority of each piece of configuration information in the at least two pieces of configuration information;
the dividing submodule is used for dividing the sequence into a plurality of sub sequences, so that each sub sequence does not include configuration information influencing the execution of other configuration information in the sub sequence;
and the sending submodule is used for respectively merging the configuration information in each sub-sequence into one piece of configuration information and sending the configuration information to the NB-IOT equipment based on the sequence between each sub-sequence.
9. The server according to claim 8, wherein the partitioning submodule is specifically configured to:
and traversing and sorting the configuration information behind the first configuration information from the first configuration information at one sorting end as a starting point by taking each configuration information in the sorting as a base point, and when the configuration information influencing the execution of the configuration information is obtained in a traversing manner, dividing the configuration information in front of the configuration information until a plurality of sub-sorts are obtained after all the traversing is finished.
10. The server according to claim 6, wherein the first sending module is specifically configured to:
dividing the configuration information with the same priority in the at least two pieces of configuration information into a set;
dividing each set into a plurality of subsets, so that each subset does not include configuration information influencing the execution of other configuration information in the same subset;
and sequentially sending the configuration information in each set to the NB-IOT equipment based on the priority corresponding to each subset.
CN201711237666.9A 2017-11-30 2017-11-30 Configuration information issuing method and server Active CN108039960B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711237666.9A CN108039960B (en) 2017-11-30 2017-11-30 Configuration information issuing method and server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711237666.9A CN108039960B (en) 2017-11-30 2017-11-30 Configuration information issuing method and server

Publications (2)

Publication Number Publication Date
CN108039960A CN108039960A (en) 2018-05-15
CN108039960B true CN108039960B (en) 2021-04-20

Family

ID=62094682

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711237666.9A Active CN108039960B (en) 2017-11-30 2017-11-30 Configuration information issuing method and server

Country Status (1)

Country Link
CN (1) CN108039960B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109039726A (en) * 2018-07-24 2018-12-18 瓴泰科技(上海)有限公司 Configuration method based on NB-IOT intelligent terminal equipment
CN110740058B (en) * 2019-09-24 2023-04-28 中盈优创资讯科技有限公司 Equipment data extraction method and device for making network cut-over script
CN111309394A (en) * 2020-02-05 2020-06-19 联想(北京)有限公司 Configuration issuing method, device, system and storage medium
CN114449040B (en) * 2022-01-28 2023-12-05 杭州迪普科技股份有限公司 Configuration issuing method and device based on cloud platform

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035890A (en) * 2010-12-08 2011-04-27 中国科学院声学研究所 Web service concurrency control method and system based on IOT (Internet of Things)-oriented application
CN103532823A (en) * 2012-07-04 2014-01-22 中兴通讯股份有限公司 Message processing method, device and system for Internet of Things
CN103929732A (en) * 2013-01-11 2014-07-16 中兴通讯股份有限公司 Method for managing terminal peripheral and M2M gateway
CN106453473A (en) * 2016-07-15 2017-02-22 孙宝石 Method and system of solving internet of things multi-message channel control message conflict
CN106712987A (en) * 2015-08-12 2017-05-24 中兴通讯股份有限公司 Network control processing method and device, and software defined network system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102035890A (en) * 2010-12-08 2011-04-27 中国科学院声学研究所 Web service concurrency control method and system based on IOT (Internet of Things)-oriented application
CN103532823A (en) * 2012-07-04 2014-01-22 中兴通讯股份有限公司 Message processing method, device and system for Internet of Things
CN107317839A (en) * 2012-07-04 2017-11-03 中兴通讯股份有限公司 Internet of things information processing method, apparatus and system
CN103929732A (en) * 2013-01-11 2014-07-16 中兴通讯股份有限公司 Method for managing terminal peripheral and M2M gateway
CN106712987A (en) * 2015-08-12 2017-05-24 中兴通讯股份有限公司 Network control processing method and device, and software defined network system
CN106453473A (en) * 2016-07-15 2017-02-22 孙宝石 Method and system of solving internet of things multi-message channel control message conflict

Also Published As

Publication number Publication date
CN108039960A (en) 2018-05-15

Similar Documents

Publication Publication Date Title
CN108039960B (en) Configuration information issuing method and server
CN109345388B (en) Block chain intelligent contract verification method and device and storage medium
CN108089893B (en) Method and device for determining redundant resources, terminal equipment and storage medium
US20170031948A1 (en) File synchronization method, server, and terminal
CN111190962B (en) File synchronization method and device and local terminal
CN108228799B (en) Object index information storage method and device
CN110018996B (en) Snapshot rollback method and related device of distributed storage system
CN110968478A (en) Log collection method, server and computer storage medium
JP2020057416A (en) Method and device for processing data blocks in distributed database
CN105260639A (en) Face recognition system data update method and device
CN110737719A (en) Data synchronization method, device, equipment and computer readable storage medium
CN108063685B (en) Log analysis method and device
CN107239399B (en) Index generation method, device and system for testing and readable storage medium
CN111708763B (en) Data migration method and device of sliced cluster and sliced cluster system
CN106156210B (en) Method and device for determining application identifier matching list
CN113420081A (en) Data verification method and device, electronic equipment and computer storage medium
CN105653540B (en) Method and device for processing file attribute information
CN116303320A (en) Real-time task management method, device, equipment and medium based on log file
CN111092956A (en) Resource synchronization method, device, storage medium and equipment
CN113486025B (en) Data storage method, data query method and device
CN106708541A (en) Version upgrading processing method and apparatus
CN109739883B (en) Method and device for improving data query performance and electronic equipment
CN115269519A (en) Log detection method and device and electronic equipment
CN114138786A (en) Method, device, medium, product and equipment for duplicate removal of online transaction message
CN110503504B (en) Information identification method, device and equipment of network product

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