WO2020108326A1 - Information determination method, information judgment method, apparatus, and computing device - Google Patents

Information determination method, information judgment method, apparatus, and computing device Download PDF

Info

Publication number
WO2020108326A1
WO2020108326A1 PCT/CN2019/118681 CN2019118681W WO2020108326A1 WO 2020108326 A1 WO2020108326 A1 WO 2020108326A1 CN 2019118681 W CN2019118681 W CN 2019118681W WO 2020108326 A1 WO2020108326 A1 WO 2020108326A1
Authority
WO
WIPO (PCT)
Prior art keywords
time
terminal
response time
uplink data
data distribution
Prior art date
Application number
PCT/CN2019/118681
Other languages
French (fr)
Chinese (zh)
Inventor
陈东杰
王�华
李国银
谢玖实
Original Assignee
阿里巴巴集团控股有限公司
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 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2020108326A1 publication Critical patent/WO2020108326A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0023Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the signalling
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/0001Systems modifying transmission characteristics according to link quality, e.g. power backoff
    • H04L1/0015Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the adaptation strategy
    • H04L1/0017Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the adaptation strategy where the mode-switching is based on Quality of Service requirement
    • H04L1/0018Systems modifying transmission characteristics according to link quality, e.g. power backoff characterised by the adaptation strategy where the mode-switching is based on Quality of Service requirement based on latency requirement
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L1/00Arrangements for detecting or preventing errors in the information received
    • H04L1/12Arrangements for detecting or preventing errors in the information received by using return channel
    • H04L1/16Arrangements for detecting or preventing errors in the information received by using return channel in which the return channel carries supervisory signals, e.g. repetition request signals
    • H04L1/18Automatic repetition systems, e.g. Van Duuren systems
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Definitions

  • Embodiments of the present application relate to the field of computer application technology, and in particular, to an information determination method, information judgment method, device, and computing equipment.
  • LoRaWAN is a set of protocol specifications developed for the LoRa long-distance communication network based on the LoRa (Long Range Radio) alliance.
  • the LoRaWAN network architecture is mainly composed of LoRa terminals, gateways and servers. After the LoRa terminals are connected to the network, they can exchange data with the server through the gateway. Among them, the process of reporting data by the LoRa terminal to the server through the gateway is the upstream process.
  • the server The process of issuing commands through the gateway to the LoRa terminal is called the downlink process.
  • the LoRa terminal receives the downlink command from the server, it needs to respond and feed back to the server to respond to the command.
  • the LoRa terminal has two response modes: immediate response mode and business report mode.
  • the immediate response mode means that the terminal responds immediately after receiving the downlink command and feeds back the response command to the server.
  • the service reporting mode refers to the response command to the downlink command that needs to be carried when the terminal reports the next service.
  • the terminal can choose any one Response mode responds to downstream commands.
  • the server will use a timeout mechanism to set the command timeout time. If the response time of the downlink command exceeds the command timeout time, it can be considered that the execution of the downlink command fails, so that the downlink command can be retransmitted. Since the terminal can report services periodically or non-periodically, in order to adapt to the terminal with a longer reporting period, the command timeout time is usually set to be larger, but the command timeout time is larger. For downlink instructions that fail to execute, the Failure to retransmit in time will affect the efficiency of downlink instruction execution.
  • Embodiments of the present application provide an information determination method, information judgment method, device, and computing equipment.
  • an information determination method including:
  • the command timeout time of the terminal is set according to the response time of the multiple downlink commands and the first data distribution characteristics.
  • an information determination method including:
  • the command timeout period of the terminal is set according to the multiple uplink data reporting intervals and the second data distribution characteristics.
  • an information judgment method including:
  • the instruction timeout time is determined based on the terminal's response time for multiple downlink instructions and the first data distribution characteristics of the multiple downlink instruction response times, or based on Determining a plurality of uplink data reporting intervals of the terminal and second data distribution characteristics of the plurality of uplink data reporting intervals;
  • an information determination method including:
  • the command timeout time of the LoRa terminal is set according to the response time of the multiple downlink commands and the first data distribution characteristics.
  • an information determination method including:
  • the command timeout period of the LoRa terminal is set according to the multiple uplink data reporting intervals and the second data distribution characteristics.
  • an information judgment method including:
  • the command timeout time is determined based on the first data distribution characteristic of the response time of the LoRa terminal for multiple downlink commands and the response time of the multiple downlink commands, or The second data distribution characteristics based on the multiple uplink data reporting intervals of the LoRa terminal and the multiple uplink data reporting intervals are determined;
  • an information determination apparatus including:
  • Response time acquisition module used to obtain the response time of the terminal for multiple downlink commands
  • a first feature determining module configured to determine a first data distribution feature of the response time of the multiple downlink commands
  • the first time determining module is configured to set the command timeout time of the terminal according to the response time of the multiple downlink commands and the first data distribution characteristics.
  • an information determination apparatus including:
  • Interval time acquisition module used to acquire multiple uplink data reporting intervals of the terminal
  • a second feature determining module configured to determine a second data distribution feature of the multiple uplink data reporting intervals
  • the second time determining module is configured to set the command timeout time of the terminal according to the multiple uplink data reporting intervals and the second data distribution characteristics.
  • an information judgment device including:
  • Command issuing module used to send downlink commands to the terminal
  • a time obtaining module configured to obtain an instruction timeout time corresponding to the terminal; wherein the instruction timeout time is a first data distribution based on the terminal's response time for multiple downlink instructions and the response time of the multiple downlink instructions Feature determination, or based on the second data distribution feature of the multiple uplink data reporting intervals of the terminal and the multiple uplink data reporting intervals;
  • the timeout judgment module is configured to judge whether the execution of the downlink instruction fails based on the instruction timeout time.
  • an embodiment of the present application provides a computing device, including a processing component and a storage component;
  • the storage component stores one or more computer instructions; the one or more computer instructions are used to be executed by the processing component;
  • the processing component is used to:
  • the command timeout time of the terminal is set according to the response time of the multiple downlink commands and the first data distribution characteristics.
  • an embodiment of the present application provides a computing device, including a processing component and a storage component;
  • the storage component stores one or more computer instructions; the one or more computer instructions are used to be executed by the processing component;
  • the processing component is used to:
  • the command timeout period of the terminal is set according to the multiple uplink data reporting intervals and the second data distribution characteristics.
  • an embodiment of the present application provides a computing device, including a processing component and a storage component;
  • the storage component stores one or more computer instructions; the one or more computer instructions are used to be executed by the processing component;
  • the processing component is used to:
  • the instruction timeout time is determined based on the terminal's response time for multiple downlink instructions and the first data distribution characteristics of the multiple downlink instruction response times, or based on Determining a plurality of uplink data reporting intervals of the terminal and second data distribution characteristics of the plurality of uplink data reporting intervals;
  • the response time of the terminal for multiple downlink commands is obtained; the first data distribution characteristics of the multiple downlink command response times are determined; and the multiple downlink command response times and the first data distribution characteristics are determined ,
  • Set the command timeout time of the terminal that is, analyze the historical downlink command response time, determine the first data distribution characteristics of multiple downlink command response times, combine the first data distribution characteristics, and according to the history of multiple downlink
  • the instruction response time that is, the instruction timeout time of the matching terminal can be accurately obtained, and the accuracy of the instruction timeout time is ensured.
  • FIG. 1 shows a flowchart of an embodiment of an information determination method provided by this application
  • FIG. 3 shows a flowchart of another embodiment of an information determination method provided by this application.
  • FIG. 5 shows a flowchart of another embodiment of an information determination method provided by this application.
  • FIG. 6 shows a flowchart of another embodiment of an information determination method provided by this application.
  • FIG. 7 is a schematic structural diagram of an embodiment of an information determination device provided by this application.
  • FIG. 8 is a schematic structural diagram of an embodiment of a computing device provided by this application.
  • FIG. 9 shows a schematic structural diagram of yet another embodiment of an information determination device provided by this application.
  • FIG. 10 shows a schematic structural diagram of yet another embodiment of a computing device provided by this application.
  • FIG. 11 is a schematic structural diagram of yet another embodiment of an information judgment device provided by this application.
  • FIG. 12 shows a schematic structural diagram of yet another embodiment of a computing device provided by this application.
  • LoRaWAN technology is widely used in industrial, scientific and medical fields to achieve wide area communication.
  • the LoRaWAN network system is mainly composed of LoRa terminals (referred to as terminals in the corresponding explanation below), a gateway (Gateway), and a server. Of course, it may also include a user terminal. , For users to view, etc.
  • the data interaction between the terminal and the server is divided into uplink and downlink.
  • the content sent by the server to the terminal may be collectively referred to as a downlink command, and the content reported by the terminal to the server Collectively referred to as uplink data.
  • the terminal needs to respond to the downlink command and feed back a response command, and the response command is also reported to the server as an uplink data.
  • the server may include NS (Network server, core network server), AS (application server, application server), CS (Custom server, user server) and so on.
  • the terminal is a remote communication terminal, and in different application scenarios, it may be, for example, a remote sensor for collecting business data or a collection device such as an electric energy/electric meter.
  • NS is a server that communicates directly with the gateway. Therefore, the downlink command is transmitted from the NS to the terminal through the gateway, and the downlink command may be a generation command of NS or AS. In different application scenarios, the downlink command may be different.
  • the downlink command may be It is the start instruction for data collection, to start the business data collection with the control terminal.
  • the terminal can report uplink data periodically or non-periodically, for example, report the collected business data to the server.
  • the terminal has three working modes: A, B and C.
  • Working mode A means that the terminal sends first, and a receiving window is opened for a period of time after sending.
  • the terminal can only receive after sending. That is to say, there is no limit on the uplink, and the downlink command can only be received by the terminal when uplink data is sent.
  • Working mode B means that the terminal and the server agree on the opening time of the receiving window, and then only agree on the time to receive the downlink command.
  • Working mode C means that the terminal opens the receiving window at any time other than sending, and can receive downlink commands at any time.
  • the terminal response mode to the downlink command includes: immediate response mode and business report mode.
  • the immediate response mode means that the terminal responds immediately after receiving the downlink command and feeds back a response command to the server;
  • the service reporting mode means that the response instruction to the downlink instruction is carried in the uplink data reported by the terminal for the next service.
  • the downlink command response time refers to the elapsed time from sending the downlink command to receiving the response command.
  • the command timeout time is set based on the response time of the downlink command, and since the server cannot determine the reporting period of the terminal, in order to adapt to the terminal with a longer reporting period, in the prior art, the command timeout time is usually set to be large. However, for the terminal in the immediate response mode or the short reporting period, if the downlink command is lost during transmission, but the command timeout time has not yet been reached, the command cannot be retransmitted, which will affect the efficiency of downlink command execution. Therefore, the instruction timeout time in the prior art is not reasonable and accurate enough.
  • the distribution is discrete and the longest downlink command response time is close to the reporting period; if the terminal is in the business reporting mode and is not periodic When reporting, the response time of downlink commands is relatively long and the response time of different downlink commands varies greatly, and the distribution is discrete. That is, the terminal is in any working state composed of any response mode, any working mode, and any reporting mode, and the response time of the downlink command has its own characteristics.
  • the following table 1 lists a terminal in different working states The distribution of response time of downlink commands under
  • the inventor found that the response time of the downlink command is related to the terminal's response mode, the terminal's working mode, and the terminal's reporting mode (periodic or aperiodic), and is different in different response modes, different working modes, and different In the reporting mode, the distribution of the response time of the downlink command is different. Therefore, in order to set a reasonable and accurate command timeout time, the response mode, working mode and reporting mode of the terminal can be considered comprehensively, and an adaptive command timeout time can be set for different terminals, so that the server can respond to the command timeout time of different terminals.
  • the terminal's downlink command response process is monitored, and command execution efficiency can be improved on the premise of ensuring command reliability.
  • the inventor proposes the technical solutions of the embodiments of the present application, comprehensively considering the response mode, working mode and/or reporting mode of the terminal, and setting a suitable and accurate command timeout time for the terminal.
  • the response time of the terminal for multiple downlink commands is obtained; the first data distribution characteristics of the multiple downlink command response times are determined; and according to the multiple downlink command response times and the first data distribution characteristics, Set the command timeout time of the terminal, that is, analyze the historical downlink command response time, determine the first data distribution characteristics of multiple downlink command response times, combine the first data distribution characteristics, and according to the historical multiple downlink commands Response time, that is, the instruction timeout time suitable for the terminal can be accurately obtained, the accuracy of the instruction timeout time is ensured, and personalized settings for different terminals are realized.
  • FIG. 1 is a flowchart of an embodiment of an information determination method provided by an embodiment of the present application. The method may include the following steps:
  • the terminal may refer to the LoRa terminal in the LoRaWAN network system, and the downlink command is issued to the LoRa terminal by the server in the LoRaWAN network system.
  • the server may specifically refer to the NS, which is transferred to the LoRa terminal through the gateway.
  • the response time of multiple downlink commands recently issued to the terminal can be obtained to participate in the determination of the command timeout time.
  • the response time of the acquiring terminal for multiple downlink commands may include:
  • the first duration may be 10 days, that is, the response time of the downlink command issued within the last 10 days is selected.
  • the response time of the acquiring terminal for multiple downlink commands may include:
  • the first number may be, for example, 100, that is, select the response time of the last 100 downlink commands.
  • the preset duration and the preset number can be actually set in combination with the requirements on the timeliness and accuracy of the data, and this application does not specifically limit this.
  • the instruction timeout time is used by the server to determine whether the execution of the downlink instruction issued to the terminal has failed.
  • the first data distribution feature can reflect the distribution of the response time of the multiple downlink commands, and can indicate the working state of the terminal. Therefore, based on the first data distribution feature, based on the response time of the multiple downlink commands, it can be predicted Instruction timeout time.
  • the first data distribution feature can be expressed in various ways. In combination with how the first data distribution feature specifically measures the working state of the terminal and how to set the command timeout period, it will be described in detail in the following embodiments.
  • the corresponding command timeout time can be determined for different terminals, instead of using a uniform timeout time, the purpose of adaptively selecting the command timeout time for the terminal is achieved, and the execution efficiency and downlink of the downlink command in the terminal are ensured The reliability of the instruction, therefore, the instruction timeout time obtained by adopting the technical solution of this embodiment is more accurate.
  • the first data distribution feature may be represented by a distribution probability of response times of the multiple downlink commands in different time intervals. Therefore, in some embodiments, the first data distribution characteristic that determines the response time of the multiple downlink commands may include:
  • the setting the command timeout time of the terminal according to the response time of the multiple downlink commands and the first data distribution feature includes:
  • the first time range may be determined based on a preset minimum response time and a preset maximum response time.
  • the preset minimum response time may be, for example, 0 s (seconds). Of course, it may also refer to the response time of the multiple downlink commands.
  • the minimum time; the preset maximum response time may refer to the maximum time among the response times of the multiple downlink commands, and of course may also refer to a pre-configured time.
  • the first time duration can evenly divide the first time range into multiple response time intervals, for example, the first time range is 0s to 90s, and the first time duration can be 30s, then three response time intervals are obtained: 0s to 30s, 30s ⁇ 60s, 60s ⁇ 90s.
  • the first duration can be set in conjunction with the accuracy requirement of the instruction timeout time in practical applications, which is not specifically limited in this application.
  • the distribution probability of the response time of multiple downlink commands in the multiple response time intervals may be determined according to the ratio of the number of downlink command response times hit by each response time to the total number of response time of multiple downlink commands.
  • the first concentration requirement may mean that the distribution probability is greater than the first probability threshold. Therefore, optionally, the response time interval that satisfies the requirements in the first set according to the distribution probability, and setting the command timeout time may include:
  • the command timeout time is set.
  • the maximum boundary time of the response time interval whose distribution probability is greater than the first probability threshold or the corresponding maximum downlink command response time may be used as the command timeout time.
  • the distribution probability corresponding to the response time interval of 30s to 60s is greater than the first probability threshold, then 60s may be used as the command timeout time, or the maximum downlink command response time hit by the 30s to 60s response time interval may be used as the command timeout time.
  • the first probability threshold may be set to 95%, for example.
  • the instruction timeout time may be set according to the maximum response time interval therein.
  • the command timeout time may also be set according to the response time interval with the largest distribution probability.
  • the maximum boundary time of the maximum response time interval or the corresponding maximum downlink command response time is used as the command timeout time.
  • the predetermined timeout time may be used as the instruction timeout time.
  • the response time distribution of the downlink command corresponding to the terminal mainly includes two types: distributed concentration and distributed dispersion.
  • distributed concentration the response time of the corresponding downlink command of the terminal is close to the difference, and the difference is small.
  • the response time of the downlink command corresponding to the terminal is quite different.
  • the data distribution of the response time of the multiple downlink commands is concentrated, and the data is concentrated in the response time interval in which the distribution probability meets the requirements in the first set.
  • the response time interval can be used to set the command timeout time; if there is no response time interval whose distribution probability meets the requirements in the first set, the data distribution of the response time of the multiple downlink commands can be considered to be discrete. If the data distribution is discrete, the downlink command response time of the terminal in this working state differs greatly, and there is no regularity. At this time, the predetermined timeout time can be directly used as the command timeout time.
  • the predetermined timeout period may be set to be relatively large, such as 24 hours.
  • the uplink data may refer to service data, or it may refer to a response command to the downlink command; when the terminal is in the service reporting mode , The response instruction will be carried in the service data for reporting, so the uplink data may refer to the service data, and may also include the service data and the response instruction.
  • the uplink data reporting interval There is a time interval between the uplink data reported by the terminal, that is, the uplink data reporting interval.
  • the uplink data reporting interval also refers to the reporting period.
  • the uplink data reporting interval is equal to the downlink command response time. According to this, if the distribution probability of any response time interval does not meet the requirements of the first set, the inventor thinks that the command timeout time can also be predicted in conjunction with the uplink data reporting interval.
  • the method may further include:
  • the command timeout period of the terminal is set according to the multiple uplink data reporting intervals and the second data distribution characteristics.
  • the reporting interval for acquiring multiple uplink data of the terminal may be that if the distribution probability of any response time interval does not meet the first concentration requirement, obtain The most recent uplink data reporting interval of the terminal that is greater than the preset interval duration.
  • the upstream data reporting interval is filtered.
  • the upstream data reporting interval that is shorter than the preset interval can be considered to be caused by the terminal retransmission operation.
  • the terminal retransmission interval is usually small, for example, 10s.
  • the uplink data reporting interval generated by the transmission operation is unlikely to be the downlink command response time, so only the uplink data reporting interval greater than the preset interval duration can be selected to participate in determining the command timeout time.
  • the multiple uplink data reporting intervals may be multiple uplink data reporting intervals within a second preset duration from the current time, or the second number of uplink data reporting intervals generated recently.
  • the second data distribution feature may be represented by a distribution probability of the multiple uplink data reporting intervals in different time intervals. Therefore, in some embodiments, the second data distribution characteristic that determines the plurality of uplink data reporting intervals may include:
  • the command timeout period of the terminal is set according to the plurality of uplink data reporting intervals and the second data distribution characteristics.
  • the second duration example may be 200s, and the second time range may be evenly divided into multiple reporting time intervals.
  • the second time range may be determined based on a preset minimum interval time and a preset maximum interval time.
  • the preset minimum interval time may be, for example, 0 s, and of course, may also refer to the minimum interval time among the multiple uplink data reporting intervals;
  • the preset maximum interval time may refer to the maximum interval time among the multiple uplink data reporting intervals, and of course, may also refer to a pre-configured time.
  • the second concentration requirement may refer to a distribution probability greater than a second probability threshold. Therefore, optionally, the reporting time interval that meets the requirements in the second set according to the distribution probability, setting the instruction timeout time may include:
  • the maximum boundary time of the reporting time interval whose distribution probability is greater than the second probability threshold or the corresponding maximum uplink data reporting interval is used as the instruction timeout time.
  • the second probability threshold may be set to 70%, for example.
  • the instruction timeout time may be set according to the maximum reporting time interval therein.
  • the instruction timeout time may be set according to the reporting time interval with the largest distribution probability, and the maximum boundary time value of the maximum reporting time interval or the corresponding maximum uplink data reporting interval may be used as the instruction timeout time. .
  • the predetermined timeout time may be used as the instruction timeout time.
  • the uplink data reporting interval can be used as the downlink command response time, if there is a reporting time interval with a distribution probability that meets the requirements in the second set, the data distribution of the multiple uplink data reporting intervals can be considered to be concentrated, so this report can be used Time interval to set the command timeout time; if there is no reporting time interval with a distribution probability that meets the requirements in the second set, it can be considered that the data distribution of the multiple uplink data reporting intervals is discrete. In this case, the predetermined timeout time can be directly used as the Instruction timeout time.
  • FIG. 2 shows a flowchart of yet another embodiment of an information determination method provided by an embodiment of the present application.
  • the method may include the following steps:
  • step 204 Determine whether there is a response time interval whose distribution probability meets the requirements in the first set, and if so, perform step 205; if not, perform step 206;
  • step 209 Determine whether there is a reporting time interval whose distribution probability meets the requirements in the second set. If yes, perform step 210; if not, perform step 211.
  • the predetermined timeout time is used as the instruction timeout time.
  • the second data distribution feature may also be represented by a second degree of dispersion of multiple uplink data reporting intervals.
  • the second degree of dispersion may refer to, for example, the variance or standard deviation of the reporting interval of multiple uplink data.
  • determining the second data distribution characteristics of the multiple uplink data reporting intervals may include:
  • the second degree of dispersion also indicates the degree of deviation of the reporting interval of multiple upstream data from the average interval time.
  • the product of the second degree of dispersion and the expansion coefficient can be superimposed on the average interval time to obtain the instruction timeout time, the The expansion and contraction coefficient is greater than 1, and can be specifically set according to the actual application situation.
  • the average interval time for calculating the plurality of uplink data reporting intervals may be:
  • the second degree of dispersion may refer to the variance of a plurality of uplink data reporting intervals, and the second discrete condition may be, for example, that the variance of the multiple uplink data reporting intervals is greater than a second discrete threshold.
  • the second discrete degree does not satisfy the second discrete condition, it can be considered that the deviation of the multiple uplink data reporting intervals deviates from the average interval time, and the data distribution of the multiple uplink data reporting intervals is concentrated.
  • the second discrete Degree and average interval time to calculate the timeout period of obtaining instructions. It may be that the product of the second dispersion degree and the expansion and contraction coefficient is superimposed on the average interval time to obtain the instruction timeout time.
  • the expansion and contraction coefficient is greater than 1, which can be specifically set in conjunction with the actual application situation.
  • the method may further include:
  • the predetermined timeout time is used as the instruction timeout time.
  • the predetermined timeout can be directly overtime The time is used as the instruction timeout time.
  • the use of the second degree of dispersion to perform time compensation on the average interval time, and obtaining the instruction timeout time may be:
  • the second interval is used to perform time compensation on the average interval time to obtain an instruction timeout time.
  • the method may further include:
  • the average interval time is used as the instruction timeout time.
  • the second dispersion degree satisfies the second dispersion condition, it can be considered that the multiple uplink data reporting intervals deviate greatly from the average interval time, and the second dispersion degree can refer to the degree of deviation of the multiple uplink data reporting intervals from the average interval time Therefore, by compensating for this second degree of dispersion on the basis of the average interval time, the degree of deviation between the reporting interval of multiple upstream data and the average interval time can be balanced, and the obtained result can be used as the instruction timeout time.
  • the second dispersion degree does not satisfy the second dispersion condition, it can be considered that the deviation of the multiple uplink data reporting intervals deviates from the average interval time, the data distribution of the multiple uplink data reporting intervals is concentrated, and the second dispersion degree can be ignored, so , You can directly use the average interval time as the instruction timeout time.
  • the first data distribution feature may be represented by the discrete degree of response times of the multiple downlink commands. Therefore, in some embodiments, the first data distribution characteristic that determines the response time of the multiple downlink commands may include:
  • the setting the command timeout time of the terminal according to the response time of the multiple downlink commands and the first data distribution feature includes:
  • the first degree of dispersion may refer to the variance of the response time of the multiple downlink commands. Therefore, the first degree of dispersion may be calculated as follows:
  • ⁇ 2 is the variance, indicating the first degree of dispersion
  • X is the downlink command response time
  • is the average response time
  • N is the total number of the downlink quality response times.
  • the first degree of dispersion may also refer to the standard deviation and range of response times of multiple downlink commands.
  • the first degree of dispersion represents the degree of deviation of the response time of multiple downlink commands from the average response time.
  • the product of the first degree of dispersion and the expansion factor can be superimposed on the average response time to obtain the command timeout time, the The expansion and contraction coefficient is greater than 1, and can be specifically set according to the actual application situation. As described in the following formula:
  • M represents the instruction timeout time
  • is the expansion and contraction coefficient greater than 1.
  • calculating the average response time of the response time of the multiple downlink commands may include:
  • the first degree of dispersion includes the variance of the response time of the multiple downlink commands
  • the first discrete condition may be that the variance of the response time of the multiple downlink commands is greater than the first discrete threshold.
  • the first degree of dispersion meets the first discrete condition, it can be considered that the response time of the multiple downlink commands deviates from the average response time relatively small, and the data distribution of the response time of the multiple downlink commands is concentrated.
  • the first discrete The degree and average response time are used to calculate the timeout period for obtaining the command.
  • the method may further include:
  • the predetermined timeout can be directly overtime The time is used as the instruction timeout time.
  • the method may further include:
  • the command timeout period of the terminal is set according to the multiple uplink data reporting intervals and the second data distribution characteristics.
  • the uplink data reporting interval is equal to the downlink command response time. Therefore, when the first discrete degree meets the first discrete condition, the uplink data reporting interval can be combined to predict the command timeout time.
  • acquiring multiple uplink data reporting intervals of the terminal may be if the first dispersion degree satisfies the first dispersion condition, acquiring the terminal's most recent Multiple uplink data reporting intervals with preset intervals.
  • the second data distribution feature may be represented by a second degree of dispersion of multiple uplink data reporting intervals.
  • the second degree of dispersion may refer to, for example, the variance or standard deviation of the reporting interval of multiple uplink data.
  • the second data distribution characteristic that determines the plurality of uplink data reporting intervals may include:
  • the second degree of dispersion also indicates the degree of deviation of the reporting interval of multiple upstream data from the average interval time.
  • the product of the second degree of dispersion and the expansion coefficient can be superimposed on the average interval time to obtain the instruction timeout time, the The expansion and contraction coefficient is greater than 1, and can be specifically set according to the actual application situation.
  • the average interval time for calculating the plurality of uplink data reporting intervals may be:
  • the method may further include:
  • the predetermined timeout time is used as the instruction timeout time.
  • the average interval time for calculating the plurality of uplink data reporting intervals may be:
  • the method may further include:
  • the average interval time is used as the instruction timeout time.
  • FIG. 3 it is a flowchart of another embodiment of an information determination method provided by an embodiment of the present application.
  • the method may include the following steps:
  • step 303 Determine whether the first degree of dispersion meets the first dispersion condition, if not, perform step 304, and if so, perform step 306.
  • step 308 Determine whether the second dispersion degree meets the second dispersion condition. If not, perform step 309, and if yes, perform step 311.
  • the predetermined timeout time is used as the instruction timeout time.
  • the second interval can be used to perform time compensation on the average interval time to obtain an instruction timeout time.
  • the average interval time is directly used as the instruction timeout time.
  • using the first degree of dispersion to perform time compensation on the average response time, and obtaining an instruction timeout time includes:
  • first dispersion degree meets the first dispersion condition, use the first dispersion degree to perform time compensation on the average response time to obtain an instruction timeout time;
  • the method also includes:
  • the average response time is used as the instruction timeout time.
  • the first degree of dispersion meets the first discrete condition, it can be considered that the data distribution of multiple downlink command response times is discrete and deviates greatly from the average response time, and the first degree of dispersion refers to the response time of multiple downlink commands and the average response The degree of deviation of time, therefore, the first degree of dispersion is compensated on the basis of the average response time, which can balance the degree of deviation between the response time of multiple downlink commands and the average response time, and the result obtained can be used as the command timeout time.
  • the first degree of dispersion does not satisfy the first dispersion condition, it can be considered that the response time of the multiple downlink commands deviates from the average response time less, the data distribution of the response time of the multiple downlink commands is concentrated, and the first degree of dispersion can be ignored, so , You can directly use the average response time as the command timeout time.
  • the second data distribution feature may also be represented by a distribution probability of the multiple uplink data reporting intervals in different time intervals. Therefore, in some embodiments, the second data distribution characteristic that determines the plurality of uplink data reporting intervals may include:
  • the command timeout period of the terminal is set according to the plurality of uplink data reporting intervals and the second data distribution characteristics.
  • the second concentration requirement may refer to a distribution probability greater than a second probability threshold. Therefore, optionally, the reporting time interval that meets the requirements in the second set according to the distribution probability, setting the instruction timeout time may include:
  • the maximum boundary time of the reporting time interval whose distribution probability is greater than the second probability threshold or the corresponding maximum uplink data reporting interval is used as the instruction timeout time.
  • the predetermined timeout time may be used as the instruction timeout time.
  • the method may further include:
  • the command timeout period of the terminal is set according to the multiple uplink data reporting intervals and the second data distribution characteristics.
  • the uplink data reporting interval also refers to the reporting period.
  • the determining whether the terminal is in the immediate response mode based on the response time of the multiple downlink commands may include:
  • the response time distribution of the downlink commands corresponding to the terminal mainly includes two types: distributed concentration and distributed dispersion.
  • distributed concentration the response time of the downlink command corresponding to the terminal is close, and the difference is small;
  • discrete data distribution the response time of the downlink command corresponding to the terminal varies greatly.
  • the setting the command timeout time of the terminal according to the response time of the multiple downlink commands and the first data distribution feature may include:
  • the command timeout time may be set based on the response time of the multiple downlink commands
  • the predetermined timeout time may be used as the instruction timeout time.
  • the data distribution concentration indicates that the terminal may be in the immediate response mode, or the periodic service reporting mode and in the working mode A, the terminal is in the corresponding working state in the data distribution set, and the downlink command response time is close, so the historical Multiple downlink command response time to set command timeout time.
  • the discrete data distribution indicates that the terminal may be in the acyclic service reporting mode, or the periodic reporting mode and in the working mode B/C, the terminal is in the working state corresponding to the discrete data distribution, and the downlink command response time is not regular and the difference If it is large, you can directly select the predetermined timeout time as the instruction timeout time.
  • the predetermined timeout period may be set to be relatively large, such as 24 hours.
  • the data distribution concentration of the response time of the plurality of downlink commands is determined based on the first data distribution characteristics, based on the response time of the plurality of downlink commands, there may be multiple ways to set the command timeout time:
  • the average response time of multiple downlink command response times can be used as the command timeout time
  • the first discrete degree of response time of multiple downlink commands may be calculated first, and the average response time may be compensated based on the first discrete degree to obtain the command timeout time. Therefore, in some embodiments, the first data distribution feature may be represented by a first discrete degree of response time of multiple downlink commands, and the first data distribution feature that determines the response time of the multiple downlink commands may include:
  • setting the command timeout time may include:
  • the data set area of multiple downlink command responses may be analyzed, and the command timeout time may be set based on the time category corresponding to the data set area. Therefore, in some embodiments, the first data distribution feature may be represented by the distribution probability of multiple downlink command response times in different time intervals.
  • the first data distribution characteristic that determines the response time of the multiple downlink commands may include:
  • setting the command timeout time may include:
  • the first time range is divided according to the first duration to obtain multiple response time intervals
  • the historical uplink data reporting interval may also be used to predict the command determination time.
  • setting the command timeout time of the terminal includes:
  • an instruction timeout time is set
  • the command timeout period of the terminal is set according to the multiple uplink data reporting intervals and the second data distribution characteristics.
  • the method may include the following steps:
  • it may be the response time of the terminal for the latest multiple downlink commands.
  • the command timeout time is set based on the response time of the multiple downlink commands.
  • an instruction timeout period is set based on the multiple uplink data reporting intervals, for example, multiple uplink data reporting intervals may be set
  • the average interval time is used as the instruction timeout time
  • the second dispersion degree of the reporting interval of multiple uplink data may be calculated first, and the average interval time may be compensated based on the second dispersion degree to obtain the instruction timeout time.
  • a plurality of upstream data reporting intervals may be analyzed in the data set area, and the command timeout period may be set based on the time category corresponding to the data set area. Therefore, in some embodiments, if the data distribution set of the multiple uplink data reporting intervals is determined based on the second data distribution characteristics, based on the multiple uplink data reporting intervals, the instruction timeout period may be set include:
  • the maximum boundary time of the reporting time interval with a distribution probability greater than the second probability threshold or the corresponding maximum uplink data reporting interval may be used as the instruction timeout time.
  • FIG. 5 is a flowchart of still another embodiment of an information determination method provided by an embodiment of the present application. The method may include the following steps:
  • 503 Set an instruction timeout time of the terminal according to the multiple uplink data reporting intervals and the second data distribution characteristics.
  • the upstream data may refer to the business data, or it may be a pointer to the response command to the downstream command; when the terminal is in the business reporting mode, the response command will be carried in the business data Reporting in, so the uplink data can refer to business data, can also include business data and response instructions.
  • the uplink data reporting interval There is a time interval between the uplink data reported by the terminal, that is, the uplink data reporting interval.
  • the uplink data reporting interval also refers to the reporting period. It can be seen from the above analysis that when the terminal periodically reports and is in working mode A, the downlink command response time is close to the reporting cycle; when the terminal periodically reports and is in working mode B or C, the longest downlink command response time is close to the reporting cycle.
  • the uplink data reporting interval is equal to the downlink command response time, and in some scenarios, the uplink data reporting interval is equal to the reporting period. Therefore, the uplink data reporting interval can be used to predict the command timeout time. Ensure the accuracy of the instruction timeout time.
  • the method may further include:
  • the command timeout time of the terminal is set according to the response time of the multiple downlink commands and the first data distribution characteristics.
  • the response time of multiple downlink commands can be used to set the command timeout time.
  • the determining whether the terminal is in the service reporting mode based on the plurality of uplink data reporting intervals may include:
  • an embodiment of the present application also provides an information judgment method. As shown in FIG. 6, the method may include the following steps:
  • step 601 and step 602 are not limited to the execution steps of this embodiment.
  • Step 602 may be pre-instructed or may be executed simultaneously with step 601, which is not specifically limited in this application.
  • the technical solution of the present application can be applied to a communication scenario based on the LoRaWAN network system.
  • the terminal in the embodiment of the present application specifically refers to the LoRa terminal, and the downlink command is under the server Sent to the LoRa terminal,
  • an embodiment of the present application also provides a method for determining information.
  • the method may include:
  • the command timeout time of the LoRa terminal is set according to the response time of the multiple downlink commands and the first data distribution characteristics.
  • an embodiment of the present application also provides an information determination method.
  • FIG. 5 may include:
  • the command timeout period of the LoRa terminal is set according to the multiple uplink data reporting intervals and the second data distribution characteristics.
  • an embodiment of the present application also provides an information judgment method.
  • the method may include:
  • the command timeout time is determined based on the first data distribution characteristic of the response time of the LoRa terminal for multiple downlink commands and the response time of the multiple downlink commands, or The second data distribution characteristics based on the multiple uplink data reporting intervals of the LoRa terminal and the multiple uplink data reporting intervals are determined;
  • FIG. 7 is a schematic structural diagram of an embodiment of an information determination apparatus provided by an embodiment of the present application, and the apparatus may include:
  • the response time obtaining module 701 is used to obtain the response time of the terminal for multiple downlink commands
  • a first feature determination module 702 configured to determine a first data distribution feature of the response time of the multiple downlink commands
  • the first time determining module 703 is configured to set the command timeout time of the terminal according to the response time of the multiple downlink commands and the first data distribution characteristics.
  • the response time obtaining module specifically obtains the response time of the LoRa terminal for multiple downlink commands
  • the first time determining module may be specifically configured to determine the command timeout time of the LoRa terminal according to the response time of the multiple downlink commands and the first data distribution characteristics.
  • the first feature determination module is specifically configured to divide the first time range into multiple response time intervals according to the first duration; determine that the response time of the multiple downlink commands is within the multiple response times Distribution probability of the interval;
  • the first time determining module is specifically configured to set a command timeout time according to a response time interval that satisfies the first concentration requirement according to the distribution probability.
  • the first time determining module may specifically use the maximum boundary time of the response time interval whose distribution probability is greater than the first probability threshold or the corresponding maximum downlink command response time as the command timeout time.
  • the first time determining module is further configured to use a predetermined timeout time as the instruction timeout time if the distribution probability of any response time interval does not meet the first concentration requirement.
  • the device may further include:
  • a first time obtaining module configured to obtain a plurality of uplink data reporting intervals of the terminal if the distribution probability of any response time interval does not meet the concentration requirement
  • a second feature determining module configured to determine a second data distribution feature of the multiple uplink data reporting intervals
  • the second time determining module is configured to set the command timeout time of the terminal according to the multiple uplink data reporting intervals and the second data distribution characteristics.
  • the first time acquiring module may be specifically configured to acquire multiple terminals of the terminal that are more recent than the preset interval if the distribution probability of any response time interval does not meet the first concentration requirement. Upstream data reporting interval.
  • the second feature determination module may be specifically configured to divide the second time range into multiple reporting time intervals according to the second duration; determining that the response time of the multiple downlink commands is reported in the multiple Probability of distribution in the time interval;
  • the second time determination module is specifically configured to set an instruction timeout time according to the reporting time interval that the distribution probability meets the requirements of the second set.
  • the second time determining module may be the maximum boundary time of the reporting time interval whose distribution probability is greater than the second probability threshold or the corresponding maximum uplink data reporting interval as the instruction timeout time.
  • the second time determination module is further configured to use a predetermined timeout time as the instruction timeout time if the distribution of any reporting time interval does not meet the second concentration requirement.
  • the first feature determination module may be specifically used to determine the first discrete degree of response time of the multiple downlink commands
  • the first time determination module may be specifically used to calculate the average response time of the response time of the multiple downlink commands; use the first degree of dispersion to perform time compensation on the average response time to obtain the command timeout time.
  • the first time determination module calculates the average response time of the response time of the plurality of downlink commands may be calculated if the first discrete degree does not satisfy the first discrete condition, the plurality of downlink The average response time of the command response time.
  • the first time determining module is also used to use the predetermined timeout time as the instruction timeout time if the first dispersion degree meets the first dispersion condition.
  • the first time determining module uses the first degree of dispersion to perform time compensation on the average response time, and obtaining the instruction timeout time may specifically be:
  • first dispersion degree meets the first dispersion condition, use the first dispersion degree to perform time compensation on the average response time to obtain an instruction timeout time;
  • the average response time is used as the instruction timeout time.
  • the first discrete condition is that the variance of the response time of the multiple downlink commands is greater than the first discrete threshold.
  • the device may further include:
  • a second time obtaining module configured to obtain a plurality of uplink data reporting intervals of the terminal if the first degree of dispersion meets the first discrete condition
  • a second feature determining module configured to determine a second data distribution feature of the multiple uplink data reporting intervals
  • the second time determining module is configured to set the command timeout time of the terminal according to the multiple uplink data reporting intervals and the second data distribution characteristics.
  • the second feature determination module may be specifically configured to determine a second degree of dispersion of the plurality of uplink data reporting intervals
  • the second time determining module may be specifically used to calculate an average interval time of the plurality of uplink data reporting intervals; use the second degree of dispersion to perform time compensation on the average interval time to obtain an instruction timeout time.
  • the second time determination module may calculate the average interval time of the multiple uplink data reporting intervals if the second dispersion degree does not satisfy the second dispersion condition, and use the second The degree of dispersion compensates the average interval time to obtain an instruction timeout time.
  • the second time determining module is further configured to use the predetermined timeout time as the instruction timeout time if the second degree of dispersion meets the second dispersion condition.
  • the response time acquisition module may be specifically used to acquire the response time of the terminal for multiple downlink commands within the first time duration from the current time; or,
  • the device may further include:
  • the first mode judgment module is used to judge whether the terminal is in the immediate response mode based on the response time of the multiple downlink commands; if the judgment result is yes, trigger the first feature determination module to execute.
  • a third time obtaining module used to obtain a plurality of uplink data reporting intervals of the terminal when the first mode judgment module is NO;
  • a second feature determining module configured to determine a second data distribution feature of the multiple uplink data reporting intervals
  • the second time determining module is configured to set the command timeout time of the terminal according to the multiple uplink data reporting intervals and the second data distribution characteristics.
  • the first mode determination module may be specifically configured to determine whether the response times of the multiple downlink commands are all less than the first time threshold; wherein, if the response times of the multiple downlink commands are less than the first time threshold, It is determined that the terminal is in an immediate response mode.
  • the first time determination module may be specifically used to:
  • an instruction timeout time is set
  • the predetermined timeout time is used as the command timeout time.
  • the first time determination module may be specifically used to:
  • an instruction timeout time is set
  • the command timeout period of the terminal is set according to the multiple uplink data reporting intervals and the second data distribution characteristics.
  • the setting of the command timeout time of the terminal according to the plurality of uplink data reporting intervals and the second data distribution characteristics may include:
  • a command timeout period is set
  • the predetermined timeout time is used as the instruction timeout time.
  • the information determination device shown in FIG. 7 can execute the information determination method in any of the embodiments shown in FIG. 1 to FIG. 3 and FIG. 5, and the implementation principles and technical effects will not be described in detail.
  • the specific manner in which the various modules and units in the information determination apparatus in the above embodiments perform operations has been described in detail in the embodiments of the method, and will not be elaborated here.
  • the information determination apparatus of the embodiment shown in FIG. 7 may be implemented as a computing device.
  • the computing device may be NS, or of course it may be an independent device, and the instruction timeout time obtained It is used to send to NS, and NS will judge the downstream command accordingly.
  • the computing device may include a storage component 801 and a processing component 802;
  • the storage component 801 stores one or more computer instructions, wherein the one or more computer instructions are called and executed by the processing component 802.
  • the processing component 802 is used to:
  • the command timeout time of the terminal is set according to the response time of the multiple downlink commands and the first data distribution characteristics.
  • the processing component 802 may include one or more processors to execute computer instructions to complete all or part of the steps in the above method.
  • the processing component can also be one or more application specific integrated circuits (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA) , A controller, a microcontroller, a microprocessor or other electronic components to implement the above method.
  • ASIC application specific integrated circuits
  • DSP digital signal processor
  • DSPD digital signal processing device
  • PLD programmable logic device
  • FPGA field programmable gate array
  • a controller a microcontroller, a microprocessor or other electronic components to implement the above method.
  • the storage component 801 is configured to store various types of data to support operations in the computing device.
  • the storage component can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM erasable Programmable read only memory
  • PROM programmable read only memory
  • ROM read only memory
  • magnetic memory flash memory
  • flash memory magnetic disk or optical disk.
  • the computing device must also include other components, such as input/output interfaces, communication components, and so on, which will not be repeated here.
  • An embodiment of the present application further provides a computer-readable storage medium that stores a computer program, and when the computer program is executed by a computer, the information determination method in any of the embodiments shown in FIG. 1 to FIG. 3, and FIG. 5 described above can be implemented.
  • the apparatus may include:
  • the interval time obtaining module 901 is used to obtain a plurality of uplink data reporting intervals of the terminal;
  • a second feature determination module 902 configured to determine a second data distribution feature of the multiple uplink data reporting intervals
  • the second time determining module 903 is configured to set an instruction timeout time of the terminal according to the multiple uplink data reporting intervals and the second data distribution characteristics.
  • the interval time obtaining module specifically obtains multiple uplink data reporting intervals of the LoRa terminal
  • the second time determining module may be specifically configured to determine the instruction timeout time of the LoRa terminal according to the multiple uplink data reporting intervals and the second data distribution characteristics.
  • the second feature determination module is specifically configured to divide the second time range into multiple reporting time intervals according to the second duration; determining that the response time of the multiple downlink commands is within the multiple reporting times Distribution probability of the interval;
  • the second time determination module is specifically configured to set an instruction timeout time according to the reporting time interval that the distribution probability meets the requirements of the second set.
  • the second time determining module may be specifically configured to use the maximum boundary time of the reporting time interval whose distribution probability is greater than the second probability threshold or the corresponding maximum uplink data reporting interval as the instruction timeout time.
  • the second time determining module is further configured to use a predetermined time-out time as an instruction time-out time if the distribution of any reporting time interval does not meet the second concentration requirement.
  • the second feature determination module may be specifically configured to determine a second degree of dispersion of the plurality of uplink data reporting intervals
  • the second time determining module may be specifically used to calculate the average interval time of the plurality of uplink data reporting intervals; use the second degree of dispersion to perform time compensation on the average interval time to obtain Instruction timeout time.
  • the second time determination module calculating the average interval time of the plurality of uplink data reporting intervals may be if the second degree of dispersion does not satisfy the second dispersion condition, calculating the plurality of uplink data The average interval between reporting intervals.
  • the second time determining module is further configured to use the predetermined timeout time as the instruction timeout time if the second degree of dispersion meets the second dispersion condition.
  • the device may further include:
  • the second mode judgment module is used to judge whether the terminal is in the service reporting mode based on the plurality of uplink data reporting intervals; if the judgment result is yes, trigger the second feature determination module to execute;
  • a fourth time obtaining module configured to obtain the response time of the terminal for multiple downlink commands when the second mode judgment module is NO;
  • a first feature determining module configured to determine a first data distribution feature of the response time of the multiple downlink commands
  • the first time determining module is configured to set the command timeout time of the terminal according to the response time of the multiple downlink commands and the first data distribution characteristics.
  • the second mode judgment module may be specifically used to judge whether the plurality of uplink data reporting intervals are all greater than the second time threshold; wherein, if the plurality of uplink data reporting intervals are all greater than the second time The threshold determines that the terminal is in a service reporting mode.
  • the information determination apparatus shown in FIG. 9 can execute the information determination method of the embodiment shown in FIG. 5, and the implementation principles and technical effects are not described in detail.
  • the specific manner in which the various modules and units in the information determination apparatus in the above embodiments perform operations has been described in detail in the embodiments of the method, and will not be elaborated here.
  • the information determination apparatus of the embodiment shown in FIG. 9 may be implemented as a computing device.
  • the computing device may be NS, or it may be an independent device, and the instruction timeout time obtained It is used to send to NS, and NS will judge the downstream command accordingly.
  • the computing device may include a storage component 1001 and a processing component 1002;
  • the storage component 1001 stores one or more computer instructions, where the one or more computer instructions are used by the processing component 1002 for execution.
  • the command timeout period of the terminal is set according to the multiple uplink data reporting intervals and the second data distribution characteristics.
  • the processing component 1002 may include one or more processors to execute computer instructions to complete all or part of the steps in the above method.
  • the processing component can also be one or more application specific integrated circuits (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA) , A controller, a microcontroller, a microprocessor or other electronic components to implement the above method.
  • ASIC application specific integrated circuits
  • DSP digital signal processor
  • DSPD digital signal processing device
  • PLD programmable logic device
  • FPGA field programmable gate array
  • a controller a microcontroller, a microprocessor or other electronic components to implement the above method.
  • the storage component 1001 is configured to store various types of data to support operations in the computing device.
  • the storage component can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM erasable Programmable read only memory
  • PROM programmable read only memory
  • ROM read only memory
  • magnetic memory flash memory
  • flash memory magnetic disk or optical disk.
  • the computing device must also include other components, such as input/output interfaces, communication components, and so on, which will not be repeated here.
  • An embodiment of the present application further provides a computer-readable storage medium that stores a computer program, and when the computer program is executed by a computer, the information determination method in the embodiment shown in FIG. 5 may be implemented.
  • FIG. 11 is a schematic structural diagram of yet another embodiment of an information judgment apparatus provided by an embodiment of the present application.
  • the apparatus may include:
  • the instruction issuing module 1101 is used to send a downlink instruction to the terminal;
  • a time obtaining module 1102 configured to obtain an instruction timeout time corresponding to the terminal
  • the command timeout time may be determined based on the terminal's response time for multiple downlink commands and the first data distribution characteristics of the multiple downlink command response times, or based on the terminal's multiple uplink data reporting intervals and all The second data distribution characteristics of the multiple uplink data reporting intervals are determined.
  • the timeout judgment module 1103 is configured to judge whether the execution of the downlink instruction fails based on the instruction timeout time.
  • the instruction issuing module is specifically used to send a downlink instruction to the LoRa terminal.
  • the time obtaining module is specifically used to obtain the instruction timeout time corresponding to the LoRa terminal.
  • the information judgment apparatus of the embodiment shown in FIG. 11 may be implemented as a computing device.
  • the computing device may be an NS in the LoRaWAN system.
  • NS is a device that directly communicates with the gateway. The command is sent by NS.
  • the computing device may include a storage component 1201 and a processing component 1202;
  • the storage component 1201 stores one or more computer instructions, wherein the one or more computer instructions are called and executed by the processing component 1202.
  • the processing component 1202 is used to:
  • the processing component is used to:
  • the instruction timeout time may be determined based on the terminal's response time for multiple downlink instructions and the first data distribution characteristics of the multiple downlink instruction response times, or based on Determining a plurality of uplink data reporting intervals of the terminal and second data distribution characteristics of the plurality of uplink data reporting intervals;
  • the processing component 1202 may include one or more processors to execute computer instructions to complete all or part of the steps in the above method.
  • the processing component can also be one or more application specific integrated circuits (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA) , A controller, a microcontroller, a microprocessor or other electronic components to implement the above method.
  • ASIC application specific integrated circuits
  • DSP digital signal processor
  • DSPD digital signal processing device
  • PLD programmable logic device
  • FPGA field programmable gate array
  • a controller a microcontroller, a microprocessor or other electronic components to implement the above method.
  • the storage component 1201 is configured to store various types of data to support operations on the computing device.
  • the storage component can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read only memory
  • EPROM erasable Programmable read only memory
  • PROM programmable read only memory
  • ROM read only memory
  • magnetic memory flash memory
  • flash memory magnetic disk or optical disk.
  • the computing device must also include other components, such as input/output interfaces, communication components, and so on.
  • An embodiment of the present application also provides a computer-readable storage medium that stores a computer program, and when the computer program is executed by a computer, the information judgment method of the embodiment shown in FIG. 6 may be implemented.
  • the device embodiments described above are only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located One place, or can be distributed to multiple network elements. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement without paying creative labor.
  • each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware.
  • the above-mentioned technical solutions can be embodied in the form of software products in essence or to contribute to the existing technology, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic Discs, optical discs, etc., include several instructions to enable a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.

Abstract

The embodiments of the present application provide an information determination method, an information judgment method, an apparatus, and a computing device. The method comprises: obtaining response times of a terminal with respect to a plurality of downlink commands; determining a first data distribution characteristic of the response times to the plurality of downlink commands; and configuring a command timeout of the terminal according to the response times to the plurality of downlink commands and the first data distribution feature. The technical solution provided in the embodiments of the present application improves the accuracy of command timeouts.

Description

信息确定方法、信息判断方法、装置及计算设备Information determination method, information judgment method, device and computing equipment
本申请要求2018年11月29日递交的申请号为201811447701.4、发明名称为“信息确定方法、信息判断方法、装置及计算设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application requires the priority of the Chinese patent application submitted on November 29, 2018 with the application number 201811447701.4 and the invention titled "information determination method, information judgment method, device and computing equipment", the entire contents of which are incorporated by reference in.
技术领域Technical field
本申请实施例涉及计算机应用技术领域,尤其涉及一种信息确定方法、信息判断方法、装置及计算设备。Embodiments of the present application relate to the field of computer application technology, and in particular, to an information determination method, information judgment method, device, and computing equipment.
背景技术Background technique
LoRaWAN是一种基于LoRa(Long Range Radio,远距离无线电)联盟开发的,为LoRa远距离通信网络设计的一套协议规范。LoRaWAN is a set of protocol specifications developed for the LoRa long-distance communication network based on the LoRa (Long Range Radio) alliance.
LoRaWAN的网络架构主要由LoRa终端、网关及服务端构成,LoRa终端入网之后即可以通过网关与服务端进行数据交互,其中,LoRa终端通过网关中转向服务端上报数据的过程为上行过程,服务端通过网关中转向LoRa终端下发指令的过程称为下行过程。而LoRa终端接收到服务端的下行指令时,需要进行响应并反馈给服务端应答指令,在LoRaWAN的协议规范中,LoRa终端有两种响应模式:立即响应模式及业务上报模式。立即响应模式是指终端接收到下行指令之后即立即进行响应并向服务端反馈应答指令,业务上报模式是指针对下行指令的应答指令需要在终端下一次业务上报时携带,终端可以选择任意一种响应模式对下行指令进行响应。The LoRaWAN network architecture is mainly composed of LoRa terminals, gateways and servers. After the LoRa terminals are connected to the network, they can exchange data with the server through the gateway. Among them, the process of reporting data by the LoRa terminal to the server through the gateway is the upstream process. The server The process of issuing commands through the gateway to the LoRa terminal is called the downlink process. When the LoRa terminal receives the downlink command from the server, it needs to respond and feed back to the server to respond to the command. In the LoRaWAN protocol specification, the LoRa terminal has two response modes: immediate response mode and business report mode. The immediate response mode means that the terminal responds immediately after receiving the downlink command and feeds back the response command to the server. The service reporting mode refers to the response command to the downlink command that needs to be carried when the terminal reports the next service. The terminal can choose any one Response mode responds to downstream commands.
为了保证可靠性,服务端会采用超时机制设定指令超时时间,若下行指令响应时间超过指令超时时间,则可以认为下行指令执行失败,从而可以继续重传下行指令。由于终端可以周期性进行业务上报,也可以非周期性进行业务上报,为了适应上报周期较长的终端,指令超时时间通常设置较大,但是指令超时时间较大,对于执行失败的下行指令,将无法及时重传,就会影响下行指令执行效率。In order to ensure reliability, the server will use a timeout mechanism to set the command timeout time. If the response time of the downlink command exceeds the command timeout time, it can be considered that the execution of the downlink command fails, so that the downlink command can be retransmitted. Since the terminal can report services periodically or non-periodically, in order to adapt to the terminal with a longer reporting period, the command timeout time is usually set to be larger, but the command timeout time is larger. For downlink instructions that fail to execute, the Failure to retransmit in time will affect the efficiency of downlink instruction execution.
发明内容Summary of the invention
本申请实施例提供一种信息确定方法、信息判断方法、装置及计算设备。Embodiments of the present application provide an information determination method, information judgment method, device, and computing equipment.
第一方面,本申请实施例中提供了一种信息确定方法,包括:In a first aspect, an embodiment of the present application provides an information determination method, including:
获取终端针对多条下行指令的响应时间;Obtain the response time of the terminal for multiple downlink commands;
确定所述多条下行指令响应时间的第一数据分布特征;Determining the first data distribution characteristics of the response time of the multiple downlink commands;
根据所述多条下行指令响应时间及所述第一数据分布特征,设定所述终端的指令超时时间。The command timeout time of the terminal is set according to the response time of the multiple downlink commands and the first data distribution characteristics.
第二方面,本申请实施例中提供了一种信息确定方法,包括:In a second aspect, an embodiment of the present application provides an information determination method, including:
获取终端的多个上行数据上报间隔;Obtain multiple uplink data reporting intervals of the terminal;
确定所述多个上行数据上报间隔的第二数据分布特征;Determining the second data distribution characteristics of the plurality of uplink data reporting intervals;
根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述终端的指令超时时间。The command timeout period of the terminal is set according to the multiple uplink data reporting intervals and the second data distribution characteristics.
第三方面,本申请实施例中提供了一种信息判断方法,包括:In a third aspect, an embodiment of the present application provides an information judgment method, including:
向终端发送下行指令;Send a downlink command to the terminal;
获取所述终端对应的指令超时时间;其中,所述指令超时时间为基于所述终端针对多条下行指令的响应时间以及所述多条下行指令响应时间的第一数据分布特征确定,或者基于所述终端多个上行数据上报间隔及所述多个上行数据上报间隔的第二数据分布特征确定;Obtain the instruction timeout time corresponding to the terminal; wherein the instruction timeout time is determined based on the terminal's response time for multiple downlink instructions and the first data distribution characteristics of the multiple downlink instruction response times, or based on Determining a plurality of uplink data reporting intervals of the terminal and second data distribution characteristics of the plurality of uplink data reporting intervals;
基于所述指令超时时间判断所述下行指令是否执行失败。It is determined whether the execution of the downlink instruction fails based on the instruction timeout time.
第四方面,本申请实施例中提供了一种信息确定方法,包括:According to a fourth aspect, an embodiment of the present application provides an information determination method, including:
获取LoRa终端针对多条下行指令的响应时间;Obtain the response time of the LoRa terminal for multiple downlink commands;
确定所述多条下行指令响应时间的第一数据分布特征;Determining the first data distribution characteristics of the response time of the multiple downlink commands;
根据所述多条下行指令响应时间及所述第一数据分布特征,设定所述LoRa终端的指令超时时间。The command timeout time of the LoRa terminal is set according to the response time of the multiple downlink commands and the first data distribution characteristics.
第五方面,本申请实施例中提供了一种信息确定方法,包括:In a fifth aspect, an embodiment of the present application provides an information determination method, including:
获取LoRa终端的多个上行数据上报间隔;Obtain multiple uplink data reporting intervals of LoRa terminals;
确定所述多个上行数据上报间隔的第二数据分布特征;Determining the second data distribution characteristics of the plurality of uplink data reporting intervals;
根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述LoRa终端的指令超时时间。The command timeout period of the LoRa terminal is set according to the multiple uplink data reporting intervals and the second data distribution characteristics.
第六方面,本申请实施例中提供了一种信息判断方法,包括:In a sixth aspect, an embodiment of the present application provides an information judgment method, including:
向LoRa终端发送下行指令;Send a downlink command to the LoRa terminal;
获取所述LoRa终端对应的指令超时时间;其中,所述指令超时时间为基于所述LoRa终端针对多条下行指令的响应时间以及所述多条下行指令响应时间的第一数据分布特征确定,或者基于所述LoRa终端多个上行数据上报间隔及所述多个上行数据上报间隔的 第二数据分布特征确定;Obtain the command timeout time corresponding to the LoRa terminal; wherein the command timeout time is determined based on the first data distribution characteristic of the response time of the LoRa terminal for multiple downlink commands and the response time of the multiple downlink commands, or The second data distribution characteristics based on the multiple uplink data reporting intervals of the LoRa terminal and the multiple uplink data reporting intervals are determined;
基于所述指令超时时间判断所述下行指令是否执行失败。It is determined whether the execution of the downlink instruction fails based on the instruction timeout time.
第七方面,本申请实施例中提供了一种信息确定装置,包括:According to a seventh aspect, an embodiment of the present application provides an information determination apparatus, including:
响应时间获取模块,用于获取终端针对多条下行指令的响应时间;Response time acquisition module, used to obtain the response time of the terminal for multiple downlink commands;
第一特征确定模块,用于确定所述多条下行指令响应时间的第一数据分布特征;A first feature determining module, configured to determine a first data distribution feature of the response time of the multiple downlink commands;
第一时间确定模块,用于根据所述多条下行指令响应时间及所述第一数据分布特征,设定所述终端的指令超时时间。The first time determining module is configured to set the command timeout time of the terminal according to the response time of the multiple downlink commands and the first data distribution characteristics.
第八方面,本申请实施例中提供了一种信息确定装置,包括:In an eighth aspect, an embodiment of the present application provides an information determination apparatus, including:
间隔时间获取模块,用于获取终端的多个上行数据上报间隔;Interval time acquisition module, used to acquire multiple uplink data reporting intervals of the terminal;
第二特征确定模块,用于确定所述多个上行数据上报间隔的第二数据分布特征;A second feature determining module, configured to determine a second data distribution feature of the multiple uplink data reporting intervals;
第二时间确定模块,用于根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述终端的指令超时时间。The second time determining module is configured to set the command timeout time of the terminal according to the multiple uplink data reporting intervals and the second data distribution characteristics.
第九方面,本申请实施例中提供了一种信息判断装置,包括:In a ninth aspect, an embodiment of the present application provides an information judgment device, including:
指令下发模块,用于向终端发送下行指令;Command issuing module, used to send downlink commands to the terminal;
时间获取模块,用于获取所述终端对应的指令超时时间;其中,所述指令超时时间为基于所述终端针对多条下行指令的响应时间以及所述多条下行指令响应时间的第一数据分布特征确定,或者基于所述终端多个上行数据上报间隔及所述多个上行数据上报间隔的第二数据分布特征确定;A time obtaining module, configured to obtain an instruction timeout time corresponding to the terminal; wherein the instruction timeout time is a first data distribution based on the terminal's response time for multiple downlink instructions and the response time of the multiple downlink instructions Feature determination, or based on the second data distribution feature of the multiple uplink data reporting intervals of the terminal and the multiple uplink data reporting intervals;
超时判断模块,用于基于所述指令超时时间判断所述下行指令是否执行失败。The timeout judgment module is configured to judge whether the execution of the downlink instruction fails based on the instruction timeout time.
第十方面,本申请实施例中提供了一种计算设备,包括处理组件以及存储组件;According to a tenth aspect, an embodiment of the present application provides a computing device, including a processing component and a storage component;
所述存储组件存储一个或多个计算机指令;所述一个或多个计算机指令用以被所述处理组件调用执行;The storage component stores one or more computer instructions; the one or more computer instructions are used to be executed by the processing component;
所述处理组件用于:The processing component is used to:
获取终端针对多条下行指令的响应时间;Obtain the response time of the terminal for multiple downlink commands;
确定所述多条下行指令响应时间的第一数据分布特征;Determining the first data distribution characteristics of the response time of the multiple downlink commands;
根据所述多条下行指令响应时间及所述第一数据分布特征,设定所述终端的指令超时时间。The command timeout time of the terminal is set according to the response time of the multiple downlink commands and the first data distribution characteristics.
第十一方面,本申请实施例中提供了一种计算设备,包括处理组件以及存储组件;According to an eleventh aspect, an embodiment of the present application provides a computing device, including a processing component and a storage component;
所述存储组件存储一个或多个计算机指令;所述一个或多个计算机指令用以被所述处理组件调用执行;The storage component stores one or more computer instructions; the one or more computer instructions are used to be executed by the processing component;
所述处理组件用于:The processing component is used to:
获取终端的多个上行数据上报间隔;Obtain multiple uplink data reporting intervals of the terminal;
确定所述多个上行数据上报间隔的第二数据分布特征;Determining the second data distribution characteristics of the plurality of uplink data reporting intervals;
根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述终端的指令超时时间。The command timeout period of the terminal is set according to the multiple uplink data reporting intervals and the second data distribution characteristics.
第十一方面,本申请实施例中提供了一种计算设备,包括处理组件以及存储组件;According to an eleventh aspect, an embodiment of the present application provides a computing device, including a processing component and a storage component;
所述存储组件存储一个或多个计算机指令;所述一个或多个计算机指令用以被所述处理组件调用执行;The storage component stores one or more computer instructions; the one or more computer instructions are used to be executed by the processing component;
所述处理组件用于:The processing component is used to:
向终端发送下行指令;Send a downlink command to the terminal;
获取所述终端对应的指令超时时间;其中,所述指令超时时间为基于所述终端针对多条下行指令的响应时间以及所述多条下行指令响应时间的第一数据分布特征确定,或者基于所述终端多个上行数据上报间隔及所述多个上行数据上报间隔的第二数据分布特征确定;Obtain the instruction timeout time corresponding to the terminal; wherein the instruction timeout time is determined based on the terminal's response time for multiple downlink instructions and the first data distribution characteristics of the multiple downlink instruction response times, or based on Determining a plurality of uplink data reporting intervals of the terminal and second data distribution characteristics of the plurality of uplink data reporting intervals;
基于所述指令超时时间判断所述下行指令是否执行失败。It is determined whether the execution of the downlink instruction fails based on the instruction timeout time.
本申请实施例中,获取终端针对多条下行指令的响应时间;确定所述多条下行指令响应时间的第一数据分布特征;根据所述多条下行指令响应时间及所述第一数据分布特征,设定所述终端的指令超时时间,也即对历史下行指令响应时间进行分析,确定多条下行指令响应时间的第一数据分布特征,结合该第一数据分布特征,并根据历史多条下行指令响应时间,即可以准确获得匹配终端的指令超时时间,保证了指令超时时间的准确性。In an embodiment of the present application, the response time of the terminal for multiple downlink commands is obtained; the first data distribution characteristics of the multiple downlink command response times are determined; and the multiple downlink command response times and the first data distribution characteristics are determined , Set the command timeout time of the terminal, that is, analyze the historical downlink command response time, determine the first data distribution characteristics of multiple downlink command response times, combine the first data distribution characteristics, and according to the history of multiple downlink The instruction response time, that is, the instruction timeout time of the matching terminal can be accurately obtained, and the accuracy of the instruction timeout time is ensured.
本申请的这些方面或其他方面在以下实施例的描述中会更加简明易懂。These or other aspects of the present application will be more concise and understandable in the description of the following embodiments.
附图说明BRIEF DESCRIPTION
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly explain the embodiments of the present application or the technical solutions in the prior art, the following will briefly introduce the drawings required in the embodiments or the description of the prior art. Obviously, the drawings in the following description These are some embodiments of the present application. For those of ordinary skill in the art, without paying any creative work, other drawings can be obtained based on these drawings.
图1示出了本申请提供的一种信息确定方法一个实施例的流程图;FIG. 1 shows a flowchart of an embodiment of an information determination method provided by this application;
图2示出了本申请提供的一种信息确定方法又一个实施例的流程图;2 shows a flowchart of another embodiment of an information determination method provided by this application;
图3示出了本申请提供的一种信息确定方法又一个实施例的流程图;FIG. 3 shows a flowchart of another embodiment of an information determination method provided by this application;
图4示出了本申请提供的一种信息确定方法又一个实施例的流程图;4 shows a flowchart of another embodiment of an information determination method provided by this application;
图5示出了本申请提供的一种信息确定方法又一个实施例的流程图;FIG. 5 shows a flowchart of another embodiment of an information determination method provided by this application;
图6示出了本申请提供的一种信息确定方法又一个实施例的流程图;6 shows a flowchart of another embodiment of an information determination method provided by this application;
图7示出了本申请提供的一种信息确定装置一个实施例的结构示意图;7 is a schematic structural diagram of an embodiment of an information determination device provided by this application;
图8示出了本申请提供的一种计算设备一个实施例的结构示意图;8 is a schematic structural diagram of an embodiment of a computing device provided by this application;
图9示出了本申请提供的一种信息确定装置又一个实施例的结构示意图;9 shows a schematic structural diagram of yet another embodiment of an information determination device provided by this application;
图10示出了本申请提供的一种计算设备又一个实施例的结构示意图;10 shows a schematic structural diagram of yet another embodiment of a computing device provided by this application;
图11示出了本申请提供的一种信息判断装置又一个实施例的结构示意图;11 is a schematic structural diagram of yet another embodiment of an information judgment device provided by this application;
图12示出了本申请提供的一种计算设备又一个实施例的结构示意图。FIG. 12 shows a schematic structural diagram of yet another embodiment of a computing device provided by this application.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。In order to enable those skilled in the art to better understand the solution of the present application, the technical solutions in the embodiments of the present application will be described clearly and completely in conjunction with the drawings in the embodiments of the present application.
在本申请的说明书和权利要求书及上述附图中的描述的一些流程中,包含了按照特定顺序出现的多个操作,但是应该清楚了解,这些操作可以不按照其在本文中出现的顺序来执行或并行执行,操作的序号如101、102等,仅仅是用于区分开各个不同的操作,序号本身不代表任何的执行顺序。另外,这些流程可以包括更多或更少的操作,并且这些操作可以按顺序执行或并行执行。需要说明的是,本文中的“第一”、“第二”等描述,是用于区分不同的消息、设备、模块等,不代表先后顺序,也不限定“第一”和“第二”是不同的类型。Some processes described in the specification and claims of this application and the above drawings include multiple operations in a specific order, but it should be clearly understood that these operations may not be in the order in which they appear in this document Execution or parallel execution. The sequence numbers of operations such as 101 and 102 are only used to distinguish different operations. The sequence number itself does not represent any execution sequence. In addition, these processes may include more or fewer operations, and these operations may be performed sequentially or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., and do not represent a sequence, nor limit "first" and "second". Are different types.
本申请实施例的技术方案主要应用于基于LoRaWAN网络系统实现的通信场景中。LoRaWAN技术广泛应用在工业、科学和医疗等领域,实现广域通信。The technical solutions of the embodiments of the present application are mainly applied to communication scenarios based on the LoRaWAN network system. LoRaWAN technology is widely used in industrial, scientific and medical fields to achieve wide area communication.
LoRaWAN网络系统主要由LoRa终端(在下文相应解释中,简称为终端)、网关(Gateway)以及服务端构成,当然还可以包括用户端等,终端上报的数据可以通过网关及服务端发送至用户端,以供用户查看等。The LoRaWAN network system is mainly composed of LoRa terminals (referred to as terminals in the corresponding explanation below), a gateway (Gateway), and a server. Of course, it may also include a user terminal. , For users to view, etc.
由背景技术中描述可知,终端与服务端的数据交互分为上行以及下行,为了方便描述,本申请实施例中,将服务端向终端发送的内容可以统称为下行指令,终端上报至服务端的内容可以统称为上行数据。在LoRaWAN的协议规范中,终端对下行指令需要进行响应并反馈应答指令,该应答指令也即作为一种上行数据上报至服务端。It can be known from the description in the background art that the data interaction between the terminal and the server is divided into uplink and downlink. For convenience of description, in this embodiment of the present application, the content sent by the server to the terminal may be collectively referred to as a downlink command, and the content reported by the terminal to the server Collectively referred to as uplink data. In the LoRaWAN protocol specification, the terminal needs to respond to the downlink command and feed back a response command, and the response command is also reported to the server as an uplink data.
其中,服务端可以包括NS(Network server,核心网服务器)、AS(application server,应用服务器)、CS(Custom server、用户服务器)等。终端为远程通信端,在不同应用场景下,其可以例如是进行业务数据采集的远程传感器或者电能/电表等采集设备。NS为直接与网关通信的服务器,因此下行指令是由NS通过网关中转下发至终端,而下行指令可能是NS或者AS的生成指令,在不同应用场景下,下行指令可以不同,比如下行指令可以是进行数据采集的启动指令,以控制终端开始进行业务数据采集等。Among them, the server may include NS (Network server, core network server), AS (application server, application server), CS (Custom server, user server) and so on. The terminal is a remote communication terminal, and in different application scenarios, it may be, for example, a remote sensor for collecting business data or a collection device such as an electric energy/electric meter. NS is a server that communicates directly with the gateway. Therefore, the downlink command is transmitted from the NS to the terminal through the gateway, and the downlink command may be a generation command of NS or AS. In different application scenarios, the downlink command may be different. For example, the downlink command may be It is the start instruction for data collection, to start the business data collection with the control terminal.
而终端可以周期性或非周期性上报上行数据,比如将采集获得的业务数据上报至服务端等。The terminal can report uplink data periodically or non-periodically, for example, report the collected business data to the server.
其中,终端存在三种工作模式:A、B以及C。Among them, the terminal has three working modes: A, B and C.
工作模式A是指:终端先发送,在发送后开启一段时间的接收窗口,终端只有在发送后才可以接收。也就是说上行没有限制,下行指令只有在上行数据发送上来的时候终端才可以接收到。Working mode A means that the terminal sends first, and a receiving window is opened for a period of time after sending. The terminal can only receive after sending. That is to say, there is no limit on the uplink, and the downlink command can only be received by the terminal when uplink data is sent.
工作模式B是指:终端和服务器约定好接收窗口的开启时间,然后仅再约定时间接收下行指令。Working mode B means that the terminal and the server agree on the opening time of the receiving window, and then only agree on the time to receive the downlink command.
工作模式C是指:终端在发送以外的其他时间都开启接收窗口,可以随时接收下行指令。Working mode C means that the terminal opens the receiving window at any time other than sending, and can receive downlink commands at any time.
其中,终端对下行指令的响应模式包括:立即响应模式以及业务上报模式。Among them, the terminal response mode to the downlink command includes: immediate response mode and business report mode.
立即响应模式是指:终端接收到下行指令之后即立即进行响应并向服务端反馈应答指令;The immediate response mode means that the terminal responds immediately after receiving the downlink command and feeds back a response command to the server;
业务上报模式是指:针对下行指令的应答指令携带在终端下一次业务上报的上行数据中。The service reporting mode means that the response instruction to the downlink instruction is carried in the uplink data reported by the terminal for the next service.
本申请实施例中,下行指令响应时间是指从下行指令发送直至接收到应答指令的经过时间。指令超时时间即是基于下行指令响应时间来设定,而由于服务端对于终端的上报周期无法确定,因此为了适应上报周期较长的终端,现有技术中,指令超时时间通常设置的较大,但是这对于立即响应模式或者上报周期较短的终端,如果下行指令是在传输过程中丢失,但是当前还未到达指令超时时间时,将无法进行指令重传,从而就会影响下行指令执行效率。因此,现有技术中的指令超时时间设定的并不合理,也不够准确。In the embodiment of the present application, the downlink command response time refers to the elapsed time from sending the downlink command to receiving the response command. The command timeout time is set based on the response time of the downlink command, and since the server cannot determine the reporting period of the terminal, in order to adapt to the terminal with a longer reporting period, in the prior art, the command timeout time is usually set to be large. However, for the terminal in the immediate response mode or the short reporting period, if the downlink command is lost during transmission, but the command timeout time has not yet been reached, the command cannot be retransmitted, which will affect the efficiency of downlink command execution. Therefore, the instruction timeout time in the prior art is not reasonable and accurate enough.
发明人在研究中发现,终端处于立即响应模式下,下行指令响应时间比较短,通常即为网络延时时间,且不同下行指令响应时间均比较接近,分布较为集中;而若终端处于业务上报模式、周期性进行上报、且工作在工作模式A时,下行指令响应时间比较长, 且不同下行指令响应时间均接近上报周期,分布较为集中;而若终端处于业务上报模式、周期性上报、且工作在工作模式B或者工作模式C时,下行指令响应时间比较长且不同下行指令响应时间相差较大,分布离散、最长下行指令响应时间接近上报周期;而若终端处于业务上报模式且非周期性上报时,下行指令响应时间比较长且不同下行指令响应时间相差较大,分布离散。也即终端处于由任意响应模式、任意工作模式以及任意上报模式组成的任意工作状态下,下行指令响应时间各有各自的特征,为了方便清楚描述,下表1列出了一个终端处于不同工作状态下的下行指令响应时间分布情况。The inventor found in the research that the terminal is in the immediate response mode, and the downlink command response time is relatively short, which is usually the network delay time, and the response time of different downlink commands is relatively close, and the distribution is relatively concentrated; and if the terminal is in the service reporting mode 1. Periodic reporting and working in working mode A, the response time of downlink commands is relatively long, and the response time of different downlink commands is close to the reporting cycle, and the distribution is relatively concentrated; and if the terminal is in the business reporting mode, periodic reporting, and work In working mode B or working mode C, the downlink command response time is relatively long and the response time of different downlink commands differs greatly. The distribution is discrete and the longest downlink command response time is close to the reporting period; if the terminal is in the business reporting mode and is not periodic When reporting, the response time of downlink commands is relatively long and the response time of different downlink commands varies greatly, and the distribution is discrete. That is, the terminal is in any working state composed of any response mode, any working mode, and any reporting mode, and the response time of the downlink command has its own characteristics. For the convenience of clear description, the following table 1 lists a terminal in different working states The distribution of response time of downlink commands under
表1Table 1
Figure PCTCN2019118681-appb-000001
Figure PCTCN2019118681-appb-000001
结合表1的分析结果,发明人发现,下行指令响应时间与终端的响应模式、终端的工作模式、及终端的上报模式(周期或非周期)有关、且在不同响应模式、不同工作模式以及不同上报模式下,下行指令响应时间的分布情况不同。因此为了设定合理、准确的指令超时时间,可以综合考虑终端的响应模式、工作模式以及上报模式,为不同终端设定自适应的指令超时时间,使得服务端针对不同终端的指令超时时间,对终端的下行指令响应过程进行监控,在保证指令可靠性的前提下,可以提高指令执行效率。Combining the analysis results in Table 1, the inventor found that the response time of the downlink command is related to the terminal's response mode, the terminal's working mode, and the terminal's reporting mode (periodic or aperiodic), and is different in different response modes, different working modes, and different In the reporting mode, the distribution of the response time of the downlink command is different. Therefore, in order to set a reasonable and accurate command timeout time, the response mode, working mode and reporting mode of the terminal can be considered comprehensively, and an adaptive command timeout time can be set for different terminals, so that the server can respond to the command timeout time of different terminals. The terminal's downlink command response process is monitored, and command execution efficiency can be improved on the premise of ensuring command reliability.
因此,发明人经过进一步研究,提出了本申请实施例的技术方案,综合考虑了终端的响应模式、工作模式和/或上报模式,为终端设置相匹配的合适、准确的指令超时时间,在本申请实施例中,获取终端针对多条下行指令的响应时间;确定所述多条下行指令响应时间的第一数据分布特征;根据所述多条下行指令响应时间及所述第一数据分布特征,设定所述终端的指令超时时间,也即对历史下行指令响应时间进行分析,确定多条下行指令响应时间的第一数据分布特征,结合该第一数据分布特征,并根据历史多条下行指令响应时间,即可以准确获得适合终端的指令超时时间,保证了指令超时时间的准确性,实现了对不同终端的个性化设置。Therefore, after further research, the inventor proposes the technical solutions of the embodiments of the present application, comprehensively considering the response mode, working mode and/or reporting mode of the terminal, and setting a suitable and accurate command timeout time for the terminal. In an embodiment of the application, the response time of the terminal for multiple downlink commands is obtained; the first data distribution characteristics of the multiple downlink command response times are determined; and according to the multiple downlink command response times and the first data distribution characteristics, Set the command timeout time of the terminal, that is, analyze the historical downlink command response time, determine the first data distribution characteristics of multiple downlink command response times, combine the first data distribution characteristics, and according to the historical multiple downlink commands Response time, that is, the instruction timeout time suitable for the terminal can be accurately obtained, the accuracy of the instruction timeout time is ensured, and personalized settings for different terminals are realized.
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整 地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work fall within the protection scope of the present application.
图1为本申请实施例提供的一种信息确定方法一个实施例的流程图,该方法可以包括以下几个步骤:FIG. 1 is a flowchart of an embodiment of an information determination method provided by an embodiment of the present application. The method may include the following steps:
101:获取终端针对多条下行指令的响应时间。101: Obtain the response time of the terminal for multiple downlink commands.
可选地,可以是获取终端最近多条下行指令的响应时间。Alternatively, it may be to obtain the response time of the most recent downlink commands of the terminal.
该终端即可以是指LoRaWAN网络系统中的LoRa终端,下行指令由LoRaWAN网络系统中的服务端下发至LoRa终端,该服务端可以具体是指NS,NS通过网关中转下发至LoRa终端。The terminal may refer to the LoRa terminal in the LoRaWAN network system, and the downlink command is issued to the LoRa terminal by the server in the LoRaWAN network system. The server may specifically refer to the NS, which is transferred to the LoRa terminal through the gateway.
为了保证数据时效性,可以获取向终端最近下发的多条下行指令的响应时间,来参与指令超时时间的确定。In order to ensure the timeliness of data, the response time of multiple downlink commands recently issued to the terminal can be obtained to participate in the determination of the command timeout time.
作为一种可选方式,所述获取终端针对多条下行指令的响应时间可以包括:As an optional manner, the response time of the acquiring terminal for multiple downlink commands may include:
获取终端针对距离当前时间第一时长内的多条下行指令的响应时间。Obtain the response time of the terminal for multiple downlink commands within the first time period from the current time.
比如在实际应用中,第一时长可以为10天,也即选择最近10天内下发的下行指令的响应时间。For example, in practical applications, the first duration may be 10 days, that is, the response time of the downlink command issued within the last 10 days is selected.
作为另一种可选方式,所述获取终端针对多条下行指令的响应时间可以包括:As another optional manner, the response time of the acquiring terminal for multiple downlink commands may include:
获取终端针对最近下发的第一数量条下行指令的响应时间。Obtain the response time of the terminal for the first number of downlink commands issued recently.
该第一数量例如可以为100条等,也即选择最近100条下行指令的响应时间。The first number may be, for example, 100, that is, select the response time of the last 100 downlink commands.
其中,该预设时长以及该预设数量可以结合对数据时效性以及准确性的要求而进行实际设定,本申请不对此进行具体限制。Wherein, the preset duration and the preset number can be actually set in combination with the requirements on the timeliness and accuracy of the data, and this application does not specifically limit this.
102:确定所述多条下行指令响应时间的第一数据分布特征。102: Determine a first data distribution characteristic of the response time of the multiple downlink commands.
103:根据所述多条下行指令响应时间及所述第一数据分布特征,设定所述终端的指令超时时间。103: Set the command timeout time of the terminal according to the response time of the multiple downlink commands and the first data distribution characteristic.
该指令超时时间即用于服务端判断向所述终端下发的下行指令是否执行失败等。The instruction timeout time is used by the server to determine whether the execution of the downlink instruction issued to the terminal has failed.
该第一数据分布特征可以反映所述多条下行指令响应时间的分布情况,可以表明终端所处工作状态,因此,结合该第一数据分布特征,基于该多条下行指令响应时间,即可以预测指令超时时间。第一数据分布特征可以采用多种方式表示,结合第一数据分布特征具体如何衡量终端所处工作状态以及如何设定指令超时时间,在下面实施例中会进行详细描述。The first data distribution feature can reflect the distribution of the response time of the multiple downlink commands, and can indicate the working state of the terminal. Therefore, based on the first data distribution feature, based on the response time of the multiple downlink commands, it can be predicted Instruction timeout time. The first data distribution feature can be expressed in various ways. In combination with how the first data distribution feature specifically measures the working state of the terminal and how to set the command timeout period, it will be described in detail in the following embodiments.
本实施例,可以针对不同终端确定各自对应的指令超时时间,而不采用统一的超时时间,实现了为终端自适应选择指令超时时间的目的,保证了下行指令在该终端中的执行效率以及下行指令的可靠性,因此采用本实施例的技术方案获得的指令超时时间更加准确。In this embodiment, the corresponding command timeout time can be determined for different terminals, instead of using a uniform timeout time, the purpose of adaptively selecting the command timeout time for the terminal is achieved, and the execution efficiency and downlink of the downlink command in the terminal are ensured The reliability of the instruction, therefore, the instruction timeout time obtained by adopting the technical solution of this embodiment is more accurate.
在一个可能实现方式中,该第一数据分布特征可以采用该多条下行指令响应时间在不同时间区间的分布概率表示。因此在某些实施例中,所述确定所述多条下行指令响应时间的第一数据分布特征可以包括:In a possible implementation manner, the first data distribution feature may be represented by a distribution probability of response times of the multiple downlink commands in different time intervals. Therefore, in some embodiments, the first data distribution characteristic that determines the response time of the multiple downlink commands may include:
按照第一时长将第一时间范围划分得到多个响应时间区间;Divide the first time range into multiple response time intervals according to the first duration;
确定所述多条下行指令响应时间在所述多个响应时间区间的分布概率;Determining the distribution probability of the response time of the multiple downlink commands in the multiple response time intervals;
所述根据所述多条下行指令响应时间及所述第一数据分布特征,设定所述终端的指令超时时间包括:The setting the command timeout time of the terminal according to the response time of the multiple downlink commands and the first data distribution feature includes:
根据分布概率满足第一集中要求的响应时间区间,设定指令超时时间。According to the response time interval that the distribution probability meets the requirements in the first set, set the command timeout time.
其中,该第一时间范围可以基于预设最小响应时间以及预设最大响应时间确定,该预设最小响应时间例如可以为0s(秒),当然也可以是指该多条下行指令响应时间中的最小时间;该预设最大响应时间可以是指该多条下行指令响应时间中的最大时间,当然也可以是指一个预配置时间。The first time range may be determined based on a preset minimum response time and a preset maximum response time. The preset minimum response time may be, for example, 0 s (seconds). Of course, it may also refer to the response time of the multiple downlink commands The minimum time; the preset maximum response time may refer to the maximum time among the response times of the multiple downlink commands, and of course may also refer to a pre-configured time.
该第一时长可以将第一时间范围均匀划分为多个响应时间区间,例如第一时间范围为0s~90s,第一时长可以为30s,则划分得到3个响应时间区间:0s~30s、30s~60s、60s~90s。The first time duration can evenly divide the first time range into multiple response time intervals, for example, the first time range is 0s to 90s, and the first time duration can be 30s, then three response time intervals are obtained: 0s to 30s, 30s ~60s, 60s~90s.
该第一时长可以结合实际应用中对指令超时时间的准确度要求进行设定,本申请不对此进行具体限定。The first duration can be set in conjunction with the accuracy requirement of the instruction timeout time in practical applications, which is not specifically limited in this application.
多条下行指令响应时间在所述多个响应时间区间的分布概率,可以根据每个响应时间命中的下行指令响应时间的条数与多条下行指令响应时间的总条数的比值确定。The distribution probability of the response time of multiple downlink commands in the multiple response time intervals may be determined according to the ratio of the number of downlink command response times hit by each response time to the total number of response time of multiple downlink commands.
例如多条下行指令响应时间的总条数为100条,处于0s~30s响应时间区间的下行指令响应时间为3条,则该响应时间区间对应的分布概率为3/100=3%;处于30s~60s响应时间区间的下行指令响应时间为95条,则该响应时间区间对应的分布概率为95/100=95%;处于60s~90s s响应时间区间的下行指令响应时间为2条,则该响应时间区间对应的分布概率为2/100=2%。For example, the total number of response times of multiple downlink commands is 100, and the response time of downlink commands in the response time interval of 0s to 30s is 3, then the corresponding distribution probability of the response time interval is 3/100=3%; it is in 30s The response time of the downlink command in the ~60s response time interval is 95, then the corresponding probability of distribution in the response time interval is 95/100=95%; the response time of the downlink command in the 60s~90s response time interval is 2, then the The probability of distribution corresponding to the response time interval is 2/100=2%.
该第一集中要求作为一种可选方式可以是指分布概率大于第一概率阈值。因此,可选地,所述根据分布概率满足第一集中要求的响应时间区间,设定指令超时时间可以包 括:As an optional method, the first concentration requirement may mean that the distribution probability is greater than the first probability threshold. Therefore, optionally, the response time interval that satisfies the requirements in the first set according to the distribution probability, and setting the command timeout time may include:
根据分布概率大于第一概率阈值的响应时间区间,设定指令超时时间。According to the response time interval where the distribution probability is greater than the first probability threshold, the command timeout time is set.
可选地,可以是将分布概率大于第一概率阈值的响应时间区间的最大边界时间或者对应的最大下行指令响应时间,作为指令超时时间。Alternatively, the maximum boundary time of the response time interval whose distribution probability is greater than the first probability threshold or the corresponding maximum downlink command response time may be used as the command timeout time.
例如,若30s~60s响应时间区间对应的分布概率大于第一概率阈值,则可以将60s作为指令超时时间,也可以是将30s~60s响应时间区间命中的最大下行指令响应时间作为指令超时时间。For example, if the distribution probability corresponding to the response time interval of 30s to 60s is greater than the first probability threshold, then 60s may be used as the command timeout time, or the maximum downlink command response time hit by the 30s to 60s response time interval may be used as the command timeout time.
在实际应用中,该第一概率阈值例如可以设定为95%等。In practical applications, the first probability threshold may be set to 95%, for example.
若分布概率大于第一概率阈值的响应时间区间包括多个时,则可以根据其中的最大响应时间区间,来设定指令超时时间。If the response time interval with a distribution probability greater than the first probability threshold includes multiple times, the instruction timeout time may be set according to the maximum response time interval therein.
当然,作为其它可实现方式,还可以是根据分布概率最大的响应时间区间,设定指令超时时间。将最大响应时间区间的最大边界时间或者对应的最大下行指令响应时间,作为指令超时时间。Of course, as other achievable methods, the command timeout time may also be set according to the response time interval with the largest distribution probability. The maximum boundary time of the maximum response time interval or the corresponding maximum downlink command response time is used as the command timeout time.
作为一种可选方式,若任意响应时间区间的分布概率均不满足所述第一集中要求,则可以将预定超时时间作为指令超时时间。As an optional manner, if the distribution probability of any response time interval does not satisfy the first concentration requirement, the predetermined timeout time may be used as the instruction timeout time.
由上文分析可知,终端对应的下行指令响应时间分布情况主要包括分布集中以及分布离散两种,而在数据分布集中情况下,终端对应的下行指令响应时间接近,相差较小;而在数据分布离散情况下,终端对应的下行指令响应时间相差较大。From the above analysis, it can be seen that the response time distribution of the downlink command corresponding to the terminal mainly includes two types: distributed concentration and distributed dispersion. In the case of data distribution, the response time of the corresponding downlink command of the terminal is close to the difference, and the difference is small. In the discrete case, the response time of the downlink command corresponding to the terminal is quite different.
因此,若存在分布概率满足第一集中要求的响应时间区间,可以认为该多条下行指令响应时间的数据分布集中,且数据集中在该分布概率满足第一集中要求的响应时间区间,因此,即可以利用该响应时间区间来设定指令超时时间;而如果不存在分布概率满足第一集中要求的响应时间区间,则可以认为该多条下行指令响应时间的数据分布离散,结合上文分析可知,若数据分布离散,终端在该工作状态下的下行指令响应时间相差较大,不具有规律性,此时即可以直接采用预定超时时间作为指令超时时间。Therefore, if there is a response time interval in which the distribution probability meets the requirements in the first set, it can be considered that the data distribution of the response time of the multiple downlink commands is concentrated, and the data is concentrated in the response time interval in which the distribution probability meets the requirements in the first set. The response time interval can be used to set the command timeout time; if there is no response time interval whose distribution probability meets the requirements in the first set, the data distribution of the response time of the multiple downlink commands can be considered to be discrete. If the data distribution is discrete, the downlink command response time of the terminal in this working state differs greatly, and there is no regularity. At this time, the predetermined timeout time can be directly used as the command timeout time.
为了适应上报周期较长的终端,该预定超时时间可以设置的比较大,例如24小时等。In order to adapt to a terminal with a long reporting period, the predetermined timeout period may be set to be relatively large, such as 24 hours.
作为另一种可选方式,由于终端会向服务端上报上行数据,终端处于立即响应模式时,上行数据可以是指业务数据,也可以是指针对下行指令的应答指令;终端处于业务上报模式时,应答指令会携带在业务数据中进行上报,因此上行数据可以是指业务数据,也可以包括业务数据以及应答指令。As another optional method, since the terminal will report uplink data to the server, when the terminal is in the immediate response mode, the uplink data may refer to service data, or it may refer to a response command to the downlink command; when the terminal is in the service reporting mode , The response instruction will be carried in the service data for reporting, so the uplink data may refer to the service data, and may also include the service data and the response instruction.
终端上报的上行数据之间存在时间间隔,也即上行数据上报间隔,在终端处于业务 上报模式且周期性上报时,该上行数据上报间隔也即是指上报周期。There is a time interval between the uplink data reported by the terminal, that is, the uplink data reporting interval. When the terminal is in the service reporting mode and is periodically reported, the uplink data reporting interval also refers to the reporting period.
由上文分析可知,终端周期性上报且处于工作模式A时,下行指令响应时间与上报周期接近;终端周期性上报且处于工作模式B或C时,最长下行指令响应时间与上报周期接近。因此,在某些场景下,上行数据上报间隔也即等于下行指令响应时间。据此,若任意响应时间区间的分布概率均未满足所述第一集中要求,发明人想到,也可以结合上行数据上报间隔来预测指令超时时间。It can be seen from the above analysis that when the terminal periodically reports and is in working mode A, the downlink command response time is close to the reporting cycle; when the terminal periodically reports and is in working mode B or C, the longest downlink command response time is close to the reporting cycle. Therefore, in some scenarios, the uplink data reporting interval is equal to the downlink command response time. According to this, if the distribution probability of any response time interval does not meet the requirements of the first set, the inventor thinks that the command timeout time can also be predicted in conjunction with the uplink data reporting interval.
因此,在某些实施例中,所述方法还可以包括:Therefore, in some embodiments, the method may further include:
若任意响应时间区间的分布概率均未满足所述第一集中要求,获取所述终端的多个上行数据上报间隔;If the distribution probability of any response time interval does not meet the first concentration requirement, acquire multiple uplink data reporting intervals of the terminal;
确定所述多个上行数据上报间隔的第二数据分布特征;Determining the second data distribution characteristics of the plurality of uplink data reporting intervals;
根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述终端的指令超时时间。The command timeout period of the terminal is set according to the multiple uplink data reporting intervals and the second data distribution characteristics.
可选地,可以是获取所述终端的最近多个上行数据上报间隔。Optionally, it may be to obtain the latest multiple uplink data reporting intervals of the terminal.
其中,若任意响应时间区间的分布概率均未满足所述第一集中要求,获取所述终端的多个上行数据上报间隔可以是若任意响应时间区间的分布概率均未满足第一集中要求,获取所述终端的最近大于预设间隔时长的多个上行数据上报间隔。Wherein, if the distribution probability of any response time interval does not meet the first concentration requirement, the reporting interval for acquiring multiple uplink data of the terminal may be that if the distribution probability of any response time interval does not meet the first concentration requirement, obtain The most recent uplink data reporting interval of the terminal that is greater than the preset interval duration.
也即对上行数据上报间隔进行筛选,小于预设间隔时长的上行数据上报间隔可以认为是终端重传操作导致,在LoRaWAN的协议规范中,终端重传间隔通常较小,例如为10s,对于重传操作生成的上行数据上报间隔不太可能是下行指令响应时间,因此可以只选择大于预设间隔时长的上行数据上报间隔参与指令超时时间的确定。That is, the upstream data reporting interval is filtered. The upstream data reporting interval that is shorter than the preset interval can be considered to be caused by the terminal retransmission operation. In the LoRaWAN protocol specification, the terminal retransmission interval is usually small, for example, 10s. The uplink data reporting interval generated by the transmission operation is unlikely to be the downlink command response time, so only the uplink data reporting interval greater than the preset interval duration can be selected to participate in determining the command timeout time.
其中,该多个上行数据上报间隔可以是距离当前时间第二预设时长内的多个上行数据上报间隔,或者最近生成的第二数量个上行数据上报间隔。Wherein, the multiple uplink data reporting intervals may be multiple uplink data reporting intervals within a second preset duration from the current time, or the second number of uplink data reporting intervals generated recently.
可选地,该第二数据分布特征可以采用该多个上行数据上报间隔在不同时间区间的分布概率表示。因此,在某些实施例中,所述确定所述多个上行数据上报间隔的第二数据分布特征可以包括:Optionally, the second data distribution feature may be represented by a distribution probability of the multiple uplink data reporting intervals in different time intervals. Therefore, in some embodiments, the second data distribution characteristic that determines the plurality of uplink data reporting intervals may include:
按照第二时长将第二时间范围划分得到多个上报时间区间;Divide the second time range into multiple reporting time intervals according to the second duration;
确定所述多条下行指令响应时间在所述多个上报时间区间的分布概率;Determine the distribution probability of the response time of the multiple downlink commands in the multiple reporting time intervals;
所述根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述终端的指令超时时间。The command timeout period of the terminal is set according to the plurality of uplink data reporting intervals and the second data distribution characteristics.
根据分布概率满足第二集中要求的上报时间区间,设定指令超时时间。Set the instruction timeout time according to the reporting time interval where the distribution probability meets the requirements in the second set.
其中,该第二时长例可以为200s,可以将第二时间范围均匀划分为多个上报时间区间。The second duration example may be 200s, and the second time range may be evenly divided into multiple reporting time intervals.
该第二时间范围可以基于预设最小间隔时间以及预设最大间隔时间确定,该预设最小间隔时间例如可以为0s,当然也可以是指该多个上行数据上报间隔中的最小间隔时间;该预设最大间隔时间可以是指该多个上行数据上报间隔中的最大间隔时间,当然也可以是指预配置的一个时间。The second time range may be determined based on a preset minimum interval time and a preset maximum interval time. The preset minimum interval time may be, for example, 0 s, and of course, may also refer to the minimum interval time among the multiple uplink data reporting intervals; The preset maximum interval time may refer to the maximum interval time among the multiple uplink data reporting intervals, and of course, may also refer to a pre-configured time.
该第二集中要求作为一种可选方式可以是指分布概率大于第二概率阈值。因此,可选地,所述根据分布概率满足第二集中要求的上报时间区间,设定指令超时时间可以包括:As an optional method, the second concentration requirement may refer to a distribution probability greater than a second probability threshold. Therefore, optionally, the reporting time interval that meets the requirements in the second set according to the distribution probability, setting the instruction timeout time may include:
将分布概率大于第二概率阈值的上报时间区间的最大边界时间或者对应的最大上行数据上报间隔,作为指令超时时间。The maximum boundary time of the reporting time interval whose distribution probability is greater than the second probability threshold or the corresponding maximum uplink data reporting interval is used as the instruction timeout time.
在实际应用中,该第二概率阈值例如可以设定为70%。In practical applications, the second probability threshold may be set to 70%, for example.
若分布概率大于第二概率阈值的上报时间区间包括多个时,则可以根据其中的最大上报时间区间,来设定指令超时时间。If the reporting time interval with a distribution probability greater than the second probability threshold includes multiple times, the instruction timeout time may be set according to the maximum reporting time interval therein.
当然,作为其它可实现方式,还可以是根据分布概率最大的上报时间区间,设定指令超时时间,将该最大上报时间区间的最大边界时间值或者对应的最大上行数据上报间隔,作为指令超时时间。Of course, as other achievable methods, the instruction timeout time may be set according to the reporting time interval with the largest distribution probability, and the maximum boundary time value of the maximum reporting time interval or the corresponding maximum uplink data reporting interval may be used as the instruction timeout time. .
此外,在某些实施例中,若任意上报时间区间的分布概率均未满足所述第二集中要求,则可以将预定超时时间作为指令超时时间。In addition, in some embodiments, if the distribution probability of any reporting time interval does not meet the second concentration requirement, the predetermined timeout time may be used as the instruction timeout time.
由于可以将上行数据上报间隔作为下行指令响应时间使用,因此,若存在分布概率满足第二集中要求的上报时间区间,则可以认为该多个上行数据上报间隔的数据分布集中,因此可以利用该上报时间区间来设定指令超时时间;而如果不存在分布概率满足第二集中要求的上报时间区间,则可以认为该多个上行数据上报间隔的数据分布离散,此时即可以直接采用预定超时时间作为指令超时时间。Since the uplink data reporting interval can be used as the downlink command response time, if there is a reporting time interval with a distribution probability that meets the requirements in the second set, the data distribution of the multiple uplink data reporting intervals can be considered to be concentrated, so this report can be used Time interval to set the command timeout time; if there is no reporting time interval with a distribution probability that meets the requirements in the second set, it can be considered that the data distribution of the multiple uplink data reporting intervals is discrete. In this case, the predetermined timeout time can be directly used as the Instruction timeout time.
图2示出了本申请实施例提供的一种信息确定方法又一个实施例的流程图,该方法可以包括以下几个步骤:FIG. 2 shows a flowchart of yet another embodiment of an information determination method provided by an embodiment of the present application. The method may include the following steps:
201:获取终端针对最近多条下行指令的响应时间。201: Obtain the response time of the terminal for the latest multiple downlink commands.
202:按照第一时长将第一时间范围划分得到多个响应时间区间。202: Divide the first time range according to the first duration to obtain multiple response time intervals.
203:确定所述多条下行指令响应时间在所述多个响应时间区间的分布概率。203: Determine the distribution probability of the response time of the multiple downlink commands in the multiple response time intervals.
204:判断是否存在分布概率满足第一集中要求的响应时间区间,若是,执行步骤 205;若否,执行步骤206;204: Determine whether there is a response time interval whose distribution probability meets the requirements in the first set, and if so, perform step 205; if not, perform step 206;
205:根据分布概率满足第一集中要求的响应时间区间,设定指令超时时间。205: Set the command timeout time according to the response time interval where the distribution probability meets the requirements in the first set.
206:获取所述终端的最近多个上行数据上报间隔。206: Obtain the latest multiple uplink data reporting intervals of the terminal.
207:按照第二时长将第二时间范围划分得到多个上报时间区间。207: Divide the second time range according to the second duration to obtain multiple reporting time intervals.
208:确定所述多条下行指令响应时间在所述多个上报时间区间的分布概率。208: Determine the distribution probability of the response time of the multiple downlink commands in the multiple reporting time intervals.
209:判断是否存在分布概率满足第二集中要求的上报时间区间,若是,执行步骤210,若否,执行步骤211。209: Determine whether there is a reporting time interval whose distribution probability meets the requirements in the second set. If yes, perform step 210; if not, perform step 211.
210:根据分布概率满足第二集中要求的上报时间区间,设定指令超时时间。210: Set the instruction timeout time according to the reporting time interval where the distribution probability meets the requirements in the second set.
211:将预定超时时间作为指令超时时间。211: The predetermined timeout time is used as the instruction timeout time.
此外,作为又一个实施例,该第二数据分布特征也可以采用多个上行数据上报间隔的第二离散程度表示。该第二离散程度例如可以是指多个上行数据上报间隔的方差或者标准差。In addition, as yet another embodiment, the second data distribution feature may also be represented by a second degree of dispersion of multiple uplink data reporting intervals. The second degree of dispersion may refer to, for example, the variance or standard deviation of the reporting interval of multiple uplink data.
因此,在某些实施例中,确定所述多个上行数据上报间隔的第二数据分布特征可以包括:Therefore, in some embodiments, determining the second data distribution characteristics of the multiple uplink data reporting intervals may include:
确定所述多个上行数据上报间隔的第二离散程度;Determine a second degree of dispersion of the reporting interval of the plurality of uplink data;
所述结合所述多个上行数据上报间隔及所述第二数据分布特征,设定所述终端的指令超时时间可以包括:The combination of the multiple uplink data reporting intervals and the second data distribution characteristics to set the command timeout time of the terminal may include:
计算所述多个上行数据上报间隔的平均间隔时间;Calculating the average interval time of the reporting interval of the multiple uplink data;
利用所述第二离散程度对所述平均间隔时间进行时间补偿,获得指令超时时间。Use the second degree of dispersion to perform time compensation on the average interval time to obtain an instruction timeout time.
该第二离散程度也即表示多个上行数据上报间隔偏离平均间隔时间的偏离程度。The second degree of dispersion also indicates the degree of deviation of the reporting interval of multiple upstream data from the average interval time.
其中,利用所述第二离散程度对所述平均间隔时间进行时间补偿,获得指令超时时间,可以是将第二离散程度和伸缩系数的乘积,叠加在平均间隔时间上来获得该指令超时时间,该伸缩系数大于1,可以结合实际应用情况进行具体设定。Wherein, using the second degree of dispersion to perform time compensation on the average interval time to obtain the instruction timeout time, the product of the second degree of dispersion and the expansion coefficient can be superimposed on the average interval time to obtain the instruction timeout time, the The expansion and contraction coefficient is greater than 1, and can be specifically set according to the actual application situation.
在某些实施例中,所述计算所述多个上行数据上报间隔的平均间隔时间可以是:In some embodiments, the average interval time for calculating the plurality of uplink data reporting intervals may be:
如果所述第二离散程度未满足第二离散条件,计算所述多个上行数据上报间隔的平均间隔时间。If the second dispersion degree does not satisfy the second dispersion condition, calculate the average interval time of the multiple uplink data reporting intervals.
该第二离散程度可以是指多个上行数据上报间隔的方差,该第二离散条件例如可以是该多个上行数据上报间隔的方差大于第二离散阈值。The second degree of dispersion may refer to the variance of a plurality of uplink data reporting intervals, and the second discrete condition may be, for example, that the variance of the multiple uplink data reporting intervals is greater than a second discrete threshold.
若第二离散程度未满足第二离散条件,可以认为该多个上行数据上报间隔与平均间隔时间偏离较小,该多个上行数据上报间隔的数据分布集中,此时,即可以利用第二离 散程度以及平均间隔时间,来计算获得指令超时时间。可以是将第二离散程度和伸缩系数的乘积,叠加在平均间隔时间上来获得该指令超时时间,该伸缩系数大于1,可以结合实际应用情况进行具体设定。If the second discrete degree does not satisfy the second discrete condition, it can be considered that the deviation of the multiple uplink data reporting intervals deviates from the average interval time, and the data distribution of the multiple uplink data reporting intervals is concentrated. In this case, the second discrete Degree and average interval time to calculate the timeout period of obtaining instructions. It may be that the product of the second dispersion degree and the expansion and contraction coefficient is superimposed on the average interval time to obtain the instruction timeout time. The expansion and contraction coefficient is greater than 1, which can be specifically set in conjunction with the actual application situation.
则所述方法还可以包括:Then the method may further include:
如果所述第二离散程度满足所述第二离散条件,将预定超时时间作为指令超时时间。If the second discrete degree meets the second discrete condition, the predetermined timeout time is used as the instruction timeout time.
也即若第二离散程度满足第二离散条件,可以认为该多个上行数据上报间隔与平均间隔时间偏离较大,该多个上行数据上报间隔的数据分布离散,此时,可以直接将预定超时时间作为指令超时时间。That is, if the second discrete degree meets the second discrete condition, it can be considered that the multiple uplink data reporting intervals deviate greatly from the average interval time, and the data distribution of the multiple uplink data reporting intervals is discrete. In this case, the predetermined timeout can be directly overtime The time is used as the instruction timeout time.
此外,在某些实施例中,所述利用所述第二离散程度对所述平均间隔时间进行时间补偿,获得指令超时时间可以是:In addition, in some embodiments, the use of the second degree of dispersion to perform time compensation on the average interval time, and obtaining the instruction timeout time may be:
如果所述第二离散程度满足第二离散条件,利用所述第二离散程度对所述平均间隔时间进行时间补偿,获得指令超时时间。If the second dispersion degree satisfies the second dispersion condition, the second interval is used to perform time compensation on the average interval time to obtain an instruction timeout time.
所述方法还可以包括:The method may further include:
如果所述第二离散程度未满足第二离散条件,将所述平均间隔时间作为指令超时时间。If the second dispersion degree does not satisfy the second dispersion condition, the average interval time is used as the instruction timeout time.
由于第二离散程度满足第二离散条件,可以认为该多个上行数据上报间隔与平均间隔时间偏离较大,而第二离散程度即可以是指多个上行数据上报间隔与平均间隔时间的偏离程度,因此,在平均间隔时间基础上补偿上该第二离散程度,可以平衡多个上行数据上报间隔与平均间隔时间的偏离程度,获得结果即可以作为指令超时时间。Since the second dispersion degree satisfies the second dispersion condition, it can be considered that the multiple uplink data reporting intervals deviate greatly from the average interval time, and the second dispersion degree can refer to the degree of deviation of the multiple uplink data reporting intervals from the average interval time Therefore, by compensating for this second degree of dispersion on the basis of the average interval time, the degree of deviation between the reporting interval of multiple upstream data and the average interval time can be balanced, and the obtained result can be used as the instruction timeout time.
而第二离散程度未满足第二离散条件,可以认为该多个上行数据上报间隔与平均间隔时间偏离较小,该多个上行数据上报间隔的数据分布集中,第二离散程度可以忽略不计,因此,可以直接将平均间隔时间作为指令超时时间。However, the second dispersion degree does not satisfy the second dispersion condition, it can be considered that the deviation of the multiple uplink data reporting intervals deviates from the average interval time, the data distribution of the multiple uplink data reporting intervals is concentrated, and the second dispersion degree can be ignored, so , You can directly use the average interval time as the instruction timeout time.
在又一个可能实现方式中,该第一数据分布特征可以采用该多条下行指令响应时间的离散程度表示。因此在某些实施例中,所述确定所述多条下行指令响应时间的第一数据分布特征可以包括:In yet another possible implementation manner, the first data distribution feature may be represented by the discrete degree of response times of the multiple downlink commands. Therefore, in some embodiments, the first data distribution characteristic that determines the response time of the multiple downlink commands may include:
确定所述多条下行指令响应时间的第一离散程度;Determine the first discrete degree of response time of the multiple downlink commands;
所述根据所述多条下行指令响应时间及所述第一数据分布特征,设定所述终端的指令超时时间包括:The setting the command timeout time of the terminal according to the response time of the multiple downlink commands and the first data distribution feature includes:
计算所述多条下行指令响应时间的平均响应时间;Calculating the average response time of the response time of the multiple downlink commands;
利用所述第一离散程度对所述平均响应时间进行时间补偿,获得指令超时时间。Use the first degree of dispersion to perform time compensation on the average response time to obtain an instruction timeout time.
其中,该第一离散程度可以是指该多条下行指令响应时间的方差,因此,该第一离散程度可以按照如下方式计算获得:Wherein, the first degree of dispersion may refer to the variance of the response time of the multiple downlink commands. Therefore, the first degree of dispersion may be calculated as follows:
Figure PCTCN2019118681-appb-000002
Figure PCTCN2019118681-appb-000002
其中,σ 2为方差,表示第一离散程度,X为下行指令响应时间,μ为平均响应时间,N表示该多条下行质量响应时间的总条数。 Where σ 2 is the variance, indicating the first degree of dispersion, X is the downlink command response time, μ is the average response time, and N is the total number of the downlink quality response times.
当然,该第一离散程度还可以是指多个下行指令响应时间的标准差、极差等。该第一离散程度表示多个下行指令响应时间偏离平均响应时间的偏离程度。Of course, the first degree of dispersion may also refer to the standard deviation and range of response times of multiple downlink commands. The first degree of dispersion represents the degree of deviation of the response time of multiple downlink commands from the average response time.
其中,利用所述第一离散程度对所述平均响应时间进行时间补偿,获得指令超时时间,可以是将第一离散程度和伸缩系数的乘积,叠加至平均响应时间上来获得该指令超时时间,该伸缩系数大于1,可以结合实际应用情况进行具体设定。如下述公式所述:Wherein, using the first degree of dispersion to compensate the average response time to obtain the command timeout time, the product of the first degree of dispersion and the expansion factor can be superimposed on the average response time to obtain the command timeout time, the The expansion and contraction coefficient is greater than 1, and can be specifically set according to the actual application situation. As described in the following formula:
M=μ+α+σ 2M=μ+α+σ 2 ;
其中,M表示指令超时时间,α为大于1的伸缩系数。Among them, M represents the instruction timeout time, α is the expansion and contraction coefficient greater than 1.
其中,在某些实施例中,所述计算所述多条下行指令响应时间的平均响应时间可以包括:Wherein, in some embodiments, calculating the average response time of the response time of the multiple downlink commands may include:
如果所述第一离散程度未满足第一离散条件,计算所述多条下行指令响应时间的平均响应时间。If the first discrete degree does not satisfy the first discrete condition, calculate the average response time of the response time of the multiple downlink commands.
其中,所述第一离散程度包括所述多条下行指令响应时间的方差;Wherein, the first degree of dispersion includes the variance of the response time of the multiple downlink commands;
所述第一离散条件可以为所述多条下行指令响应时间的方差大于第一离散阈值。The first discrete condition may be that the variance of the response time of the multiple downlink commands is greater than the first discrete threshold.
若第一离散程度为满足第一离散条件,可以认为该多个下行指令响应时间与平均响应时间偏离较小,该多个下行指令响应时间的数据分布集中,此时,即可以利用第一离散程度以及平均响应时间,来计算获得指令超时时间。If the first degree of dispersion meets the first discrete condition, it can be considered that the response time of the multiple downlink commands deviates from the average response time relatively small, and the data distribution of the response time of the multiple downlink commands is concentrated. In this case, the first discrete The degree and average response time are used to calculate the timeout period for obtaining the command.
作为一种可选方式,如果所述第一离散程度满足第一离散条件,所述方法还可以包括:As an optional manner, if the first degree of dispersion meets the first discrete condition, the method may further include:
将预定超时时间作为指令超时时间。Take the predetermined timeout time as the instruction timeout time.
也即若第一离散程度满足第一离散条件,可以认为该多个下行指令响应时间与平均响应时间偏离较大,该多个上行数据上报间隔的数据分布离散,此时,可以直接将预定 超时时间作为指令超时时间。That is, if the first discrete degree meets the first discrete condition, it can be considered that the response time of the multiple downlink commands deviates greatly from the average response time, and the data distribution of the multiple uplink data reporting intervals is discrete. In this case, the predetermined timeout can be directly overtime The time is used as the instruction timeout time.
此外,作为又一种可选方式,如果所述第一离散程度满足第一离散条件,所述方法还可以包括:In addition, as yet another optional manner, if the first dispersion degree meets the first dispersion condition, the method may further include:
获取所述终端的多个上行数据上报间隔;Obtain multiple uplink data reporting intervals of the terminal;
确定所述多个上行数据上报间隔的第二数据分布特征;Determining the second data distribution characteristics of the plurality of uplink data reporting intervals;
根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述终端的指令超时时间。The command timeout period of the terminal is set according to the multiple uplink data reporting intervals and the second data distribution characteristics.
由上文分析可知,在某些场景下,上行数据上报间隔也即等于下行指令响应时间,因此,在第一离散程度满足第一离散条件时,可以结合上行数据上报间隔来预测指令超时时间。It can be seen from the above analysis that in some scenarios, the uplink data reporting interval is equal to the downlink command response time. Therefore, when the first discrete degree meets the first discrete condition, the uplink data reporting interval can be combined to predict the command timeout time.
可选地,如果所述第一离散程度满足第一离散条件,获取所述终端的多个上行数据上报间隔可以是如果所述第一离散程度满足第一离散条件,获取所述终端的最近大于预设间隔时长的多个上行数据上报间隔。Optionally, if the first dispersion degree satisfies the first dispersion condition, acquiring multiple uplink data reporting intervals of the terminal may be if the first dispersion degree satisfies the first dispersion condition, acquiring the terminal's most recent Multiple uplink data reporting intervals with preset intervals.
作为一种可选方式,该第二数据分布特征可以采用多个上行数据上报间隔的第二离散程度表示。该第二离散程度例如可以是指多个上行数据上报间隔的方差或者标准差。As an optional manner, the second data distribution feature may be represented by a second degree of dispersion of multiple uplink data reporting intervals. The second degree of dispersion may refer to, for example, the variance or standard deviation of the reporting interval of multiple uplink data.
因此,所述确定所述多个上行数据上报间隔的第二数据分布特征可以包括:Therefore, the second data distribution characteristic that determines the plurality of uplink data reporting intervals may include:
确定所述多个上行数据上报间隔的第二离散程度;Determine a second degree of dispersion of the reporting interval of the plurality of uplink data;
所述根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述终端的指令超时时间包括:The setting the command timeout period of the terminal according to the plurality of uplink data reporting intervals and the second data distribution characteristics includes:
计算所述多个上行数据上报间隔的平均间隔时间;Calculating the average interval time of the reporting interval of the multiple uplink data;
利用所述第二离散程度对所述平均间隔时间进行时间补偿,获得指令超时时间。Use the second degree of dispersion to perform time compensation on the average interval time to obtain an instruction timeout time.
该第二离散程度也即表示多个上行数据上报间隔偏离平均间隔时间的偏离程度。The second degree of dispersion also indicates the degree of deviation of the reporting interval of multiple upstream data from the average interval time.
其中,利用所述第二离散程度对所述平均间隔时间进行时间补偿,获得指令超时时间,可以是将第二离散程度和伸缩系数的乘积,叠加在平均间隔时间上来获得该指令超时时间,该伸缩系数大于1,可以结合实际应用情况进行具体设定。Wherein, using the second degree of dispersion to perform time compensation on the average interval time to obtain the instruction timeout time, the product of the second degree of dispersion and the expansion coefficient can be superimposed on the average interval time to obtain the instruction timeout time, the The expansion and contraction coefficient is greater than 1, and can be specifically set according to the actual application situation.
在某些实施例中,所述计算所述多个上行数据上报间隔的平均间隔时间可以是:In some embodiments, the average interval time for calculating the plurality of uplink data reporting intervals may be:
如果所述第二离散程度未满足第二离散条件,计算所述多个上行数据上报间隔的平均间隔时间。If the second dispersion degree does not satisfy the second dispersion condition, calculate the average interval time of the multiple uplink data reporting intervals.
则所述方法还可以包括:Then the method may further include:
如果所述第二离散程度满足所述第二离散条件,将预定超时时间作为指令超时时间。If the second discrete degree meets the second discrete condition, the predetermined timeout time is used as the instruction timeout time.
此外,在某些实施例中,所述计算所述多个上行数据上报间隔的平均间隔时间可以是:In addition, in some embodiments, the average interval time for calculating the plurality of uplink data reporting intervals may be:
如果所述第二离散程度满足第二离散条件,计算所述多个上行数据上报间隔的平均间隔时间。If the second dispersion degree satisfies the second dispersion condition, calculate the average interval time of the plurality of uplink data reporting intervals.
所述方法还可以包括:The method may further include:
如果所述第二离散程度未满足第二离散条件,将所述平均间隔时间作为指令超时时间。If the second dispersion degree does not satisfy the second dispersion condition, the average interval time is used as the instruction timeout time.
如图3所示,为本申请实施例提供的一种信息确定方法又一个实施例的流程图,该方法可以包括以下几个步骤:As shown in FIG. 3, it is a flowchart of another embodiment of an information determination method provided by an embodiment of the present application. The method may include the following steps:
301:获取终端针对最近多条下行指令的响应时间。301: Obtain the response time of the terminal for the latest multiple downlink commands.
302:确定所述多条下行指令响应时间的第一离散程度。302: Determine a first discrete degree of response time of the multiple downlink commands.
303:判断所述第一离散程度是否满足第一离散条件,若否,执行步骤304,若是,执行步骤306。303: Determine whether the first degree of dispersion meets the first dispersion condition, if not, perform step 304, and if so, perform step 306.
304:计算所述多条下行指令响应时间的平均响应时间。304: Calculate the average response time of the response time of the multiple downlink commands.
305:利用所述第一离散程度对所述平均响应时间进行时间补偿,获得指令超时时间。305: Use the first degree of dispersion to perform time compensation on the average response time to obtain an instruction timeout time.
306:获取所述终端的最近多个上行数据上报间隔。306: Obtain the latest multiple uplink data reporting intervals of the terminal.
307:确定所述多个上行数据上报间隔的第二离散程度。307: Determine a second degree of dispersion of the reporting interval of the multiple uplink data.
308:判断所述第二离散程度是否满足第二离散条件,若否,执行步骤309,若是,执行步骤311。308: Determine whether the second dispersion degree meets the second dispersion condition. If not, perform step 309, and if yes, perform step 311.
309:计算所述多个上行数据上报间隔的平均间隔时间。309: Calculate the average interval time of the multiple uplink data reporting intervals.
310:利用所述第二离散程度对所述平均间隔时间进行时间补偿,获得指令超时时间。310: Use the second degree of dispersion to perform time compensation on the average interval time to obtain an instruction timeout time.
311:将预定超时时间作为指令超时时间。311: The predetermined timeout time is used as the instruction timeout time.
当然,作为又一个实施例,也可以是在第二离散程度满足第二离散条件时,利用所述第二离散程度对所述平均间隔时间进行时间补偿,获得指令超时时间。而在第二离散程度不满足第二离散条件时,直接将平均间隔时间作为指令超时时间。Of course, as another embodiment, when the second dispersion degree meets the second dispersion condition, the second interval can be used to perform time compensation on the average interval time to obtain an instruction timeout time. When the second discrete degree does not satisfy the second discrete condition, the average interval time is directly used as the instruction timeout time.
作为又一个实施例,所述利用所述第一离散程度对所述平均响应时间进行时间补偿,获得指令超时时间包括:As yet another embodiment, using the first degree of dispersion to perform time compensation on the average response time, and obtaining an instruction timeout time includes:
如果所述第一离散程度满足第一离散条件,利用所述第一离散程度对所述平均响应时间进行时间补偿,获得指令超时时间;If the first dispersion degree meets the first dispersion condition, use the first dispersion degree to perform time compensation on the average response time to obtain an instruction timeout time;
所述方法还包括:The method also includes:
如果所述第一离散程度未满足所述第一离散条件,将平均响应时间作为指令超时时间。If the first discrete degree does not satisfy the first discrete condition, the average response time is used as the instruction timeout time.
由于第一离散程度满足第一离散条件,可以认为多个下行指令响应时间的数据分布离散,与平均响应时间的偏离较大,而第一离散程度即是指多个下行指令响应时间与平均响应时间的偏离程度,因此在平均响应时间的基础上补偿上该第一离散程度,可以平衡多个下行指令响应时间与平均响应时间的偏离程度,获得结果即可以作为指令超时时间。Since the first degree of dispersion meets the first discrete condition, it can be considered that the data distribution of multiple downlink command response times is discrete and deviates greatly from the average response time, and the first degree of dispersion refers to the response time of multiple downlink commands and the average response The degree of deviation of time, therefore, the first degree of dispersion is compensated on the basis of the average response time, which can balance the degree of deviation between the response time of multiple downlink commands and the average response time, and the result obtained can be used as the command timeout time.
而第一离散程度未满足第一离散条件,可以认为该多个下行指令响应时间与平均响应时间偏离较小,该多个下行指令响应时间的数据分布集中,第一离散程度可以忽略不计,因此,可以直接将平均响应时间作为指令超时时间。However, the first degree of dispersion does not satisfy the first dispersion condition, it can be considered that the response time of the multiple downlink commands deviates from the average response time less, the data distribution of the response time of the multiple downlink commands is concentrated, and the first degree of dispersion can be ignored, so , You can directly use the average response time as the command timeout time.
作为另一种可选方式,该第二数据分布特征也可以采用该多个上行数据上报间隔在不同时间区间的分布概率表示。因此,在某些实施例中,所述确定所述多个上行数据上报间隔的第二数据分布特征可以包括:As another optional manner, the second data distribution feature may also be represented by a distribution probability of the multiple uplink data reporting intervals in different time intervals. Therefore, in some embodiments, the second data distribution characteristic that determines the plurality of uplink data reporting intervals may include:
按照第二时长将第二时间范围划分得到多个上报时间区间;Divide the second time range into multiple reporting time intervals according to the second duration;
确定所述多条下行指令响应时间在所述多个上报时间区间的分布概率;Determine the distribution probability of the response time of the multiple downlink commands in the multiple reporting time intervals;
所述根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述终端的指令超时时间。The command timeout period of the terminal is set according to the plurality of uplink data reporting intervals and the second data distribution characteristics.
根据分布概率满足第二集中要求的上报时间区间,设定指令超时时间。Set the instruction timeout time according to the reporting time interval where the distribution probability meets the requirements in the second set.
该第二集中要求作为一种可选方式可以是指分布概率大于第二概率阈值。因此,可选地,所述根据分布概率满足第二集中要求的上报时间区间,设定指令超时时间可以包括:As an optional method, the second concentration requirement may refer to a distribution probability greater than a second probability threshold. Therefore, optionally, the reporting time interval that meets the requirements in the second set according to the distribution probability, setting the instruction timeout time may include:
将分布概率大于第二概率阈值的上报时间区间的最大边界时间或者对应的最大上行数据上报间隔,作为指令超时时间。The maximum boundary time of the reporting time interval whose distribution probability is greater than the second probability threshold or the corresponding maximum uplink data reporting interval is used as the instruction timeout time.
此外,在某些实施例中,若任意上报时间区间的分布概率均未满足所述第二集中要求,则可以将预定超时时间作为指令超时时间。In addition, in some embodiments, if the distribution probability of any reporting time interval does not meet the second concentration requirement, the predetermined timeout time may be used as the instruction timeout time.
其中,由上文分析可知,终端处于立即响应模式下时,下行指令响应时间较小,且不同下行指令的响应时间接近,下行指令响应时间分布比较集中。而终端处于业务上报模式下时,下行指令响应时间较大,而且与上报周期相关。It can be seen from the above analysis that when the terminal is in the immediate response mode, the response time of downlink commands is small, and the response time of different downlink commands is close, and the distribution of response time of downlink commands is relatively concentrated. When the terminal is in the service reporting mode, the response time of the downlink command is large, and it is related to the reporting period.
因此在某些实施例中,所述方法还可以包括:Therefore, in some embodiments, the method may further include:
基于所述多条下行指令响应时间,判断所述终端是否处于立即响应模式;Determine whether the terminal is in an immediate response mode based on the response time of the multiple downlink commands;
若是,执行所述确定所述多条下行指令响应时间的第一数据分布特征的步骤;If yes, execute the step of determining the first data distribution characteristics of the response time of the multiple downlink commands;
若否,获取所述终端的多个上行数据上报间隔;If not, obtain multiple uplink data reporting intervals of the terminal;
确定所述多个上行数据上报间隔的第二数据分布特征;Determining the second data distribution characteristics of the plurality of uplink data reporting intervals;
根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述终端的指令超时时间。The command timeout period of the terminal is set according to the multiple uplink data reporting intervals and the second data distribution characteristics.
其中,利用多个上行数据上报间隔预测指令超时时间的方式可以参见上文实施例中所述,在此不再赘述。For the method of using multiple uplink data reporting intervals to predict the command timeout time, reference may be made to the foregoing embodiment, and details are not described herein again.
如果终端处于周期上报模式,上行数据上报间隔也即是指上报周期。If the terminal is in the periodic reporting mode, the uplink data reporting interval also refers to the reporting period.
可选地,所述基于所述多条下行指令响应时间,判断所述终端是否处于立即响应模式可以包括:Optionally, the determining whether the terminal is in the immediate response mode based on the response time of the multiple downlink commands may include:
判断所述多条下行指令响应时间是否均小于第一时间阈值;其中,若所述多条下行指令响应时间均小于第一时间阈值,确定所述终端处于立即响应模式。Judging whether the response times of the multiple downlink commands are all less than the first time threshold; wherein, if the response times of the multiple downlink commands are less than the first time threshold, it is determined that the terminal is in the immediate response mode.
此外,由上文分析可知,终端对应的下行指令响应时间分布情况主要包括分布集中以及分布离散两种,而在数据分布集中情况下,终端对应的下行指令响应时间接近,相差较小;而在数据分布离散情况下,终端对应的下行指令响应时间相差较大。In addition, from the above analysis, we can see that the response time distribution of the downlink commands corresponding to the terminal mainly includes two types: distributed concentration and distributed dispersion. In the case of centralized data distribution, the response time of the downlink command corresponding to the terminal is close, and the difference is small; In the case of discrete data distribution, the response time of the downlink command corresponding to the terminal varies greatly.
因此,作为又一个实施例,所述根据所述多条下行指令响应时间及所述第一数据分布特征,设定所述终端的指令超时时间可以包括:Therefore, as yet another embodiment, the setting the command timeout time of the terminal according to the response time of the multiple downlink commands and the first data distribution feature may include:
如果基于所述第一数据分布特征确定所述多条下行指令响应时间的数据分布集中,则可以基于所述多条下行指令响应时间,设定指令超时时间;If the data distribution set of the response time of the multiple downlink commands is determined based on the first data distribution characteristics, the command timeout time may be set based on the response time of the multiple downlink commands;
如果基于所述第一数据分布特征确定所述多条下行指令响应时间的数据分布离散,则可以将预定超时时间作为指令超时时间。If it is determined that the data distribution of the response time of the plurality of downlink commands is discrete based on the first data distribution characteristic, the predetermined timeout time may be used as the instruction timeout time.
其中,数据分布集中表明终端可能处于立即响应模式,或者周期性业务上报模式且处于工作模式A下,终端处于数据分布集中对应的工作状态下,下行指令响应时间相接近,因此可以利用历史的该多条下行指令响应时间,来设定指令超时时间。Among them, the data distribution concentration indicates that the terminal may be in the immediate response mode, or the periodic service reporting mode and in the working mode A, the terminal is in the corresponding working state in the data distribution set, and the downlink command response time is close, so the historical Multiple downlink command response time to set command timeout time.
而数据分布离散表明终端可能处于非周期业务上报模式、或者周期上报模式且处于工作模式B/C下,终端处于数据分布离散对应的工作状态下,下行指令响应时间不具备规律性,且相差较大,此时则可以直接选择预定超时时间作为指令超时时间。The discrete data distribution indicates that the terminal may be in the acyclic service reporting mode, or the periodic reporting mode and in the working mode B/C, the terminal is in the working state corresponding to the discrete data distribution, and the downlink command response time is not regular and the difference If it is large, you can directly select the predetermined timeout time as the instruction timeout time.
为了适应上报周期较长的终端,该预定超时时间可以设置的比较大,例如24小时等。In order to adapt to a terminal with a long reporting period, the predetermined timeout period may be set to be relatively large, such as 24 hours.
其中,如果基于所述第一数据分布特征确定所述多条下行指令响应时间的数据分布集中,基于所述多条下行指令响应时间,设定指令超时时间可以有多种实现方式:Wherein, if the data distribution concentration of the response time of the plurality of downlink commands is determined based on the first data distribution characteristics, based on the response time of the plurality of downlink commands, there may be multiple ways to set the command timeout time:
比如,可以将多条下行指令响应时间的平均响应时间作为指令超时时间;For example, the average response time of multiple downlink command response times can be used as the command timeout time;
又如,也可以首先计算多条下行指令响应时间的第一离散程度,基于该第一离散程度再对平均响应时间进行补偿,获得指令超时时间。因此,在某些实施例中,该第一数据分布特征可以采用多条下行指令响应时间的第一离散程度表示,所述确定所述多条下行指令响应时间的第一数据分布特征可以包括:For another example, the first discrete degree of response time of multiple downlink commands may be calculated first, and the average response time may be compensated based on the first discrete degree to obtain the command timeout time. Therefore, in some embodiments, the first data distribution feature may be represented by a first discrete degree of response time of multiple downlink commands, and the first data distribution feature that determines the response time of the multiple downlink commands may include:
确定所述多条下行指令响应时间的第一离散程度;Determine the first discrete degree of response time of the multiple downlink commands;
所述如果基于所述第一数据分布特征确定所述多条下行指令响应时间的数据分布集中,基于所述多条下行指令响应时间,设定指令超时时间可以包括:If the data distribution set of the response time of the multiple downlink commands is determined based on the first data distribution characteristics, based on the response time of the multiple downlink commands, setting the command timeout time may include:
计算所述多条下行指令响应时间的平均响应时间;Calculating the average response time of the response time of the multiple downlink commands;
利用所述第一离散程度对所述平均响应时间进行时间补偿,获得指令超时时间。Use the first degree of dispersion to perform time compensation on the average response time to obtain an instruction timeout time.
其中,第一离散程度、补偿计算方式等可以参见上文相应实施例中所述,在此不再赘述。For the first dispersion degree and the compensation calculation method, etc., reference may be made to the corresponding embodiments above, and details are not described herein again.
又如,也可以分析多条下行指令响应的数据集中区域,基于该数据集中区域对应的时间范畴来设定指令超时时间。因此,在某些实施例中,该第一数据分布特征可以采用多条下行指令响应时间在不同时间区间的分布概率表示。所述确定所述多条下行指令响应时间的第一数据分布特征可以包括:For another example, the data set area of multiple downlink command responses may be analyzed, and the command timeout time may be set based on the time category corresponding to the data set area. Therefore, in some embodiments, the first data distribution feature may be represented by the distribution probability of multiple downlink command response times in different time intervals. The first data distribution characteristic that determines the response time of the multiple downlink commands may include:
按照第一时长将第一时间范围划分得到多个响应时间区间;Divide the first time range into multiple response time intervals according to the first duration;
确定所述多条下行指令响应时间在所述多个响应时间区间的分布概率;Determining the distribution probability of the response time of the multiple downlink commands in the multiple response time intervals;
则所述如果基于所述第一数据分布特征确定所述多条下行指令响应时间的数据分布集中,基于所述多条下行指令响应时间,设定指令超时时间可以包括:Then, if the data distribution set of the response time of the multiple downlink commands is determined based on the first data distribution characteristics, based on the response time of the multiple downlink commands, setting the command timeout time may include:
如果基于所述第一数据分布特征确定所述多条下行指令响应时间的数据分布集中,按照第一时长将第一时间范围划分得到多个响应时间区间;If the data distribution set of the response time of the multiple downlink commands is determined based on the first data distribution characteristics, the first time range is divided according to the first duration to obtain multiple response time intervals;
确定所述多条下行指令响应时间在所述多个响应时间区间的分布概率;Determining the distribution probability of the response time of the multiple downlink commands in the multiple response time intervals;
根据分布概率满足第一集中要求的响应时间区间,设定指令超时时间。According to the response time interval that the distribution probability meets the requirements in the first set, set the command timeout time.
其中,上述实现方案中相同或相近步骤可以参见上文一个或多个实施例中所述,在此不再赘述。For the same or similar steps in the above implementation solution, reference may be made to one or more of the above embodiments, which will not be repeated here.
此外,如果基于所述第一数据分布特征确定所述多条下行指令响应时间的数据分布离散,还可以利用历史上行数据上报间隔来预测指令确定时间。In addition, if the data distribution of the response time of the multiple downlink commands is determined to be discrete based on the first data distribution characteristics, the historical uplink data reporting interval may also be used to predict the command determination time.
因此,在某些实施例中,所述根据所述多条下行指令响应时间及所述第一数据分布特征,设定所述终端的指令超时时间包括:Therefore, in some embodiments, according to the response time of the plurality of downlink commands and the first data distribution characteristic, setting the command timeout time of the terminal includes:
如果基于所述第一数据分布特征确定所述多条下行指令响应时间的数据分布集中,基于所述多条下行指令响应时间,设定指令超时时间;If it is determined based on the first data distribution characteristics that the data distribution set of the response time of the multiple downlink commands is set, based on the response time of the multiple downlink commands, an instruction timeout time is set;
如果基于所述第一数据分布特征确定所述多条下行指令响应时间的数据分布离散,获取所述终端的多个上行数据上报间隔;If it is determined that the data distribution of the response time of the plurality of downlink commands is discrete based on the first data distribution characteristic, obtain a plurality of uplink data reporting intervals of the terminal;
确定所述多个上行数据上报间隔的第二数据分布特征;Determining the second data distribution characteristics of the plurality of uplink data reporting intervals;
根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述终端的指令超时时间。The command timeout period of the terminal is set according to the multiple uplink data reporting intervals and the second data distribution characteristics.
其中,利用多个上行数据上报间隔设定所述终端的指令超时时间的具体方式可以参见上文相应实施例中所述,在此不再赘述。For a specific method of setting the command timeout time of the terminal by using multiple uplink data reporting intervals, reference may be made to the foregoing corresponding embodiments, and details are not described herein again.
当然,作为又一个实施例,如图4所示的信息确定方法中,该方法可以包括以下几个步骤:Of course, as another embodiment, in the information determination method shown in FIG. 4, the method may include the following steps:
401:获取终端针对多条下行指令的响应时间。401: Obtain the response time of the terminal for multiple downlink commands.
可选地,可以是获取终端针对最近多条下行指令的响应时间。Alternatively, it may be the response time of the terminal for the latest multiple downlink commands.
402:确定所述多条下行指令响应时间的第一数据分布特征。402: Determine a first data distribution characteristic of the response time of the multiple downlink commands.
403:如果基于所述第一数据分布特征确定所述多条下行指令响应时间的数据分布集中,基于所述多条下行指令响应时间,设定指令超时时间。403: If the data distribution concentration of the response time of the multiple downlink commands is determined based on the first data distribution feature, the command timeout time is set based on the response time of the multiple downlink commands.
404:如果基于所述第一数据分布特征确定所述多条下行指令响应时间的数据分布离散,获取所述终端的多个上行数据上报间隔。404: If it is determined that the data distribution of the response time of the multiple downlink commands is discrete based on the first data distribution characteristic, obtain multiple uplink data reporting intervals of the terminal.
可选地,可以是获取所述终端的最近多个上行数据上报间隔。Optionally, it may be to obtain the latest multiple uplink data reporting intervals of the terminal.
405:确定所述多个上行数据上报间隔的第二数据分布特征。405: Determine a second data distribution characteristic of the multiple uplink data reporting intervals.
406:如果基于所述第二数据分布特征确定所述多个上行数据上报间隔的数据分布集中,基于所述多个上行数据上报间隔,设定指令超时时间。406: If it is determined that the data distribution set of the multiple uplink data reporting intervals is based on the second data distribution characteristics, set an instruction timeout time based on the multiple uplink data reporting intervals.
407:如果基于所述第二数据分布特征确定所述多个上行数据上报间隔的数据分布离散,将预定超时时间作为指令超时时间。407: If it is determined that the data distribution of the plurality of uplink data reporting intervals is discrete based on the second data distribution characteristics, use a predetermined timeout time as the instruction timeout time.
其中,如果基于所述第二数据分布特征确定所述多个上行数据上报间隔的数据分布集中,基于所述多个上行数据上报间隔,设定指令超时时间,例如可以将多个上行数据 上报间隔的平均间隔时间作为指令超时时间;Wherein, if the data distribution concentration of the multiple uplink data reporting intervals is determined based on the second data distribution characteristics, an instruction timeout period is set based on the multiple uplink data reporting intervals, for example, multiple uplink data reporting intervals may be set The average interval time is used as the instruction timeout time;
又如,也可以首先计算多个上行数据上报间隔的第二离散程度,基于该第二离散程度再对平均间隔时间进行补偿,获得指令超时时间。For another example, the second dispersion degree of the reporting interval of multiple uplink data may be calculated first, and the average interval time may be compensated based on the second dispersion degree to obtain the instruction timeout time.
又如,也可以分析多个上行数据上报间隔的数据集中区域,基于该数据集中区域对应的时间范畴来设定指令超时时间。因此,在某些实施例中,所述如果基于所述第二数据分布特征确定所述多个上行数据上报间隔的数据分布集中,基于所述多个上行数据上报间隔,设定指令超时时间可以包括:For another example, a plurality of upstream data reporting intervals may be analyzed in the data set area, and the command timeout period may be set based on the time category corresponding to the data set area. Therefore, in some embodiments, if the data distribution set of the multiple uplink data reporting intervals is determined based on the second data distribution characteristics, based on the multiple uplink data reporting intervals, the instruction timeout period may be set include:
按照第二时长将第二时间范围划分得到多个上报时间区间;Divide the second time range into multiple reporting time intervals according to the second duration;
确定所述多条下行指令响应时间在所述多个上报时间区间的分布概率;Determine the distribution probability of the response time of the multiple downlink commands in the multiple reporting time intervals;
根据分布概率满足第二集中要求的上报时间区间,设定指令超时时间。Set the instruction timeout time according to the reporting time interval where the distribution probability meets the requirements in the second set.
可选地,可以是将将分布概率大于第二概率阈值的上报时间区间的最大边界时间或者对应的最大上行数据上报间隔,作为指令超时时间。Alternatively, the maximum boundary time of the reporting time interval with a distribution probability greater than the second probability threshold or the corresponding maximum uplink data reporting interval may be used as the instruction timeout time.
图5为本申请实施例提供的一种信息确定方法又一个实施例的流程图,该方法可以包括以下几个步骤:FIG. 5 is a flowchart of still another embodiment of an information determination method provided by an embodiment of the present application. The method may include the following steps:
501:获取所述终端的多个上行数据上报间隔。501: Acquire multiple uplink data reporting intervals of the terminal.
可选地,可以是获取所述终端的最近多个上行数据上报间隔。Optionally, it may be to obtain the latest multiple uplink data reporting intervals of the terminal.
502:确定所述多个上行数据上报间隔的第二数据分布特征。502: Determine a second data distribution characteristic of the multiple uplink data reporting intervals.
503:根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述终端的指令超时时间。503: Set an instruction timeout time of the terminal according to the multiple uplink data reporting intervals and the second data distribution characteristics.
由于终端会向服务端上报上行数据,终端处于立即响应模式时,上行数据可以是指业务数据,也可以是指针对下行指令的应答指令;终端处于业务上报模式时,应答指令会携带在业务数据中进行上报,因此上行数据可以是指业务数据,也可以包括业务数据以及应答指令。Since the terminal will report the upstream data to the server, when the terminal is in the immediate response mode, the upstream data may refer to the business data, or it may be a pointer to the response command to the downstream command; when the terminal is in the business reporting mode, the response command will be carried in the business data Reporting in, so the uplink data can refer to business data, can also include business data and response instructions.
终端上报的上行数据之间存在时间间隔,也即上行数据上报间隔,在终端处于业务上报模式且周期性上报时,该上行数据上报间隔也即是指上报周期。由上文分析可知,终端周期性上报且处于工作模式A时,下行指令响应时间与上报周期接近;终端周期性上报且处于工作模式B或C时,最长下行指令响应时间与上报周期接近。There is a time interval between the uplink data reported by the terminal, that is, the uplink data reporting interval. When the terminal is in the service reporting mode and periodically reports, the uplink data reporting interval also refers to the reporting period. It can be seen from the above analysis that when the terminal periodically reports and is in working mode A, the downlink command response time is close to the reporting cycle; when the terminal periodically reports and is in working mode B or C, the longest downlink command response time is close to the reporting cycle.
因此,在某些场景下,上行数据上报间隔也即等于下行指令响应时间,且在某些场景下,上行数据上报间隔也即等于上报周期,因此利用上行数据上报间隔可以预测指令 超时时间,可以保证指令超时时间的准确性。Therefore, in some scenarios, the uplink data reporting interval is equal to the downlink command response time, and in some scenarios, the uplink data reporting interval is equal to the reporting period. Therefore, the uplink data reporting interval can be used to predict the command timeout time. Ensure the accuracy of the instruction timeout time.
需要说明的是,本实施例中与上述一个或多个实施例的相同或相似步骤,在上述一个或多个实施例中已经进行了详细描述,此处将不做详细阐述说明。It should be noted that the same or similar steps in this embodiment as in the above one or more embodiments have been described in detail in the above one or more embodiments, and will not be described in detail here.
此外,在某些实施例中,所述方法还可以包括:In addition, in some embodiments, the method may further include:
基于所述多个上行数据上报间隔,判断所述终端是否处于业务上报模式;Determine whether the terminal is in the service reporting mode based on the multiple uplink data reporting intervals;
若是,执行所述确定所述多个上行数据上报间隔的第二数据分布特征的步骤;If yes, perform the step of determining the second data distribution characteristics of the plurality of uplink data reporting intervals;
若否,获取所述终端针对多条下行指令的响应时间;If not, obtain the response time of the terminal for multiple downlink commands;
确定所述多条下行指令响应时间的第一数据分布特征;Determining the first data distribution characteristics of the response time of the multiple downlink commands;
根据所述多条下行指令响应时间及所述第一数据分布特征,设定所述终端的指令超时时间。The command timeout time of the terminal is set according to the response time of the multiple downlink commands and the first data distribution characteristics.
若所述终端未处于业务上报模式,也即处于立即响应模式,此时即可以利用多条下行指令的响应时间来设定指令超时时间,具体实现方式在上述一个或多个实施例中已经进行了详细描述,此处将不做详细阐述说明。If the terminal is not in the service reporting mode, that is, in the immediate response mode, then the response time of multiple downlink commands can be used to set the command timeout time. The specific implementation method has been carried out in one or more of the above embodiments For a detailed description, it will not be elaborated here.
其中,所述基于所述多个上行数据上报间隔,判断所述终端是否处于业务上报模式可以包括:Wherein, the determining whether the terminal is in the service reporting mode based on the plurality of uplink data reporting intervals may include:
判断所述多个上行数据上报间隔是否均大于第二时间阈值;其中,若所述多个上行数据上报间隔均大于第二时间阈值,确定所述终端处于业务上报模式。Judging whether the plurality of uplink data reporting intervals are all greater than the second time threshold; wherein, if the plurality of uplink data reporting intervals are all greater than the second time threshold, it is determined that the terminal is in the service reporting mode.
此外,本申请实施例还提供了一种信息判断方法,如图6所示,该方法可以包括以下几个步骤:In addition, an embodiment of the present application also provides an information judgment method. As shown in FIG. 6, the method may include the following steps:
601:向终端发送下行指令。601: Send a downlink command to the terminal.
602:获取所述终端对应的指令超时时间。602: Obtain the instruction timeout time corresponding to the terminal.
其中,所述指令超时时间的确定具体可以参见上述一个或多个实施例中所述,在此不再赘述。For the determination of the instruction timeout time, reference may be made to one or more embodiments described above, and details are not described herein again.
需要说明的是,步骤601以及步骤602操作并不仅限定于本实施例的执行步骤,步骤602可以预先指令,也可以与步骤601同时执行,本申请不对此进行具体限定。It should be noted that the operations of step 601 and step 602 are not limited to the execution steps of this embodiment. Step 602 may be pre-instructed or may be executed simultaneously with step 601, which is not specifically limited in this application.
603:基于所述指令超时时间判断所述下行指令是否执行失败。603: Determine whether the execution of the downlink command fails based on the command timeout time.
其中,若下行指令执行失败,则可以执行重传操作等,与现有技术相同在此不再赘述。Wherein, if the execution of the downlink command fails, a retransmission operation, etc. may be performed, which is the same as the prior art and will not be described here.
在一个实际应用中,本申请的技术方案可以应用于基于LoRaWAN网络系统实现的通信场景中,在LoRaWAN网络系统中,本申请实施例的终端也即具体是指LoRa终端,下行指令为服务端下发至LoRa终端,In a practical application, the technical solution of the present application can be applied to a communication scenario based on the LoRaWAN network system. In the LoRaWAN network system, the terminal in the embodiment of the present application specifically refers to the LoRa terminal, and the downlink command is under the server Sent to the LoRa terminal,
因此,作为又一个实施例,本申请实施例还提供了一种信息确定方法,该实施例中的相同或相似步骤可以参见图1~图4所示的任一实施例,该方法可以包括:Therefore, as another embodiment, an embodiment of the present application also provides a method for determining information. For the same or similar steps in this embodiment, reference may be made to any one of the embodiments shown in FIG. 1 to FIG. 4, and the method may include:
获取LoRa终端针对多条下行指令的响应时间;Obtain the response time of the LoRa terminal for multiple downlink commands;
确定所述多条下行指令响应时间的第一数据分布特征;Determining the first data distribution characteristics of the response time of the multiple downlink commands;
根据所述多条下行指令响应时间及所述第一数据分布特征,设定所述LoRa终端的指令超时时间。The command timeout time of the LoRa terminal is set according to the response time of the multiple downlink commands and the first data distribution characteristics.
作为又一个实施例,本申请实施例还提供了一种信息确定方法,该实施例中的相同或相似步骤可以参见图5所示实施例,可以包括:As yet another embodiment, an embodiment of the present application also provides an information determination method. For the same or similar steps in this embodiment, reference may be made to the embodiment shown in FIG. 5, which may include:
获取LoRa终端的多个上行数据上报间隔;Obtain multiple uplink data reporting intervals of LoRa terminals;
确定所述多个上行数据上报间隔的第二数据分布特征;Determining the second data distribution characteristics of the plurality of uplink data reporting intervals;
根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述LoRa终端的指令超时时间。The command timeout period of the LoRa terminal is set according to the multiple uplink data reporting intervals and the second data distribution characteristics.
作为又一个实施例,本申请实施例还提供了一种信息判断方法,该实施例中的相同或相似步骤可以参见图6所示实施例,该方法可以包括:As yet another embodiment, an embodiment of the present application also provides an information judgment method. For the same or similar steps in this embodiment, refer to the embodiment shown in FIG. 6, and the method may include:
向LoRa终端发送下行指令;Send a downlink command to the LoRa terminal;
获取所述LoRa终端对应的指令超时时间;其中,所述指令超时时间为基于所述LoRa终端针对多条下行指令的响应时间以及所述多条下行指令响应时间的第一数据分布特征确定,或者基于所述LoRa终端多个上行数据上报间隔及所述多个上行数据上报间隔的第二数据分布特征确定;Obtain the command timeout time corresponding to the LoRa terminal; wherein the command timeout time is determined based on the first data distribution characteristic of the response time of the LoRa terminal for multiple downlink commands and the response time of the multiple downlink commands, or The second data distribution characteristics based on the multiple uplink data reporting intervals of the LoRa terminal and the multiple uplink data reporting intervals are determined;
基于所述指令超时时间判断所述下行指令是否执行失败。It is determined whether the execution of the downlink instruction fails based on the instruction timeout time.
图7为本申请实施例提供的一种信息确定装置一个实施例的结构示意图,该装置可以包括:7 is a schematic structural diagram of an embodiment of an information determination apparatus provided by an embodiment of the present application, and the apparatus may include:
响应时间获取模块701,用于获取终端针对多条下行指令的响应时间;The response time obtaining module 701 is used to obtain the response time of the terminal for multiple downlink commands;
第一特征确定模块702,用于确定所述多条下行指令响应时间的第一数据分布特征;A first feature determination module 702, configured to determine a first data distribution feature of the response time of the multiple downlink commands;
第一时间确定模块703,用于根据所述多条下行指令响应时间及所述第一数据分布特征,设定所述终端的指令超时时间。The first time determining module 703 is configured to set the command timeout time of the terminal according to the response time of the multiple downlink commands and the first data distribution characteristics.
其中,在LoRaWAN通信场景中,所述响应时间获取模块即具体是获取LoRa终端针对多条下行指令的响应时间;Wherein, in the LoRaWAN communication scenario, the response time obtaining module specifically obtains the response time of the LoRa terminal for multiple downlink commands;
所述第一时间确定模块可以具体用于根据所述多条下行指令响应时间及所述第一数据分布特征,确定所述LoRa终端的指令超时时间。The first time determining module may be specifically configured to determine the command timeout time of the LoRa terminal according to the response time of the multiple downlink commands and the first data distribution characteristics.
在某些实施例中,所述第一特征确定模块具体用于按照第一时长将第一时间范围划分得到多个响应时间区间;确定所述多条下行指令响应时间在所述多个响应时间区间的分布概率;In some embodiments, the first feature determination module is specifically configured to divide the first time range into multiple response time intervals according to the first duration; determine that the response time of the multiple downlink commands is within the multiple response times Distribution probability of the interval;
所述第一时间确定模块具体用于根据分布概率满足第一集中要求的响应时间区间,设定指令超时时间。The first time determining module is specifically configured to set a command timeout time according to a response time interval that satisfies the first concentration requirement according to the distribution probability.
可选地,所述第一时间确定模块可以具体是将分布概率大于第一概率阈值的响应时间区间的最大边界时间或者对应的最大下行指令响应时间,作为指令超时时间。Optionally, the first time determining module may specifically use the maximum boundary time of the response time interval whose distribution probability is greater than the first probability threshold or the corresponding maximum downlink command response time as the command timeout time.
此外,该第一时间确定模块还用于若任意响应时间区间的分布概率均未满足所述第一集中要求,将预定超时时间作为指令超时时间。In addition, the first time determining module is further configured to use a predetermined timeout time as the instruction timeout time if the distribution probability of any response time interval does not meet the first concentration requirement.
在某些实施例中,该装置还可以包括:In some embodiments, the device may further include:
第一时间获取模块,用于若任意响应时间区间的分布概率均未满足所述集中要求,获取所述终端的多个上行数据上报间隔;A first time obtaining module, configured to obtain a plurality of uplink data reporting intervals of the terminal if the distribution probability of any response time interval does not meet the concentration requirement;
第二特征确定模块,用于确定所述多个上行数据上报间隔的第二数据分布特征;A second feature determining module, configured to determine a second data distribution feature of the multiple uplink data reporting intervals;
第二时间确定模块,用于根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述终端的指令超时时间。The second time determining module is configured to set the command timeout time of the terminal according to the multiple uplink data reporting intervals and the second data distribution characteristics.
在某些实施例中,所述第一时间获取模块可以具体用于若任意响应时间区间的分布概率均未满足所述第一集中要求,获取所述终端的最近大于预设间隔时长的多个上行数据上报间隔。In some embodiments, the first time acquiring module may be specifically configured to acquire multiple terminals of the terminal that are more recent than the preset interval if the distribution probability of any response time interval does not meet the first concentration requirement. Upstream data reporting interval.
在某些实施例中,所述第二特征确定模块可以具体用于按照第二时长将第二时间范围划分得到多个上报时间区间;确定所述多条下行指令响应时间在所述多个上报时间区间的分布概率;In some embodiments, the second feature determination module may be specifically configured to divide the second time range into multiple reporting time intervals according to the second duration; determining that the response time of the multiple downlink commands is reported in the multiple Probability of distribution in the time interval;
所述第二时间确定模块具体用于根据分布概率满足第二集中要求的上报时间区间,设定指令超时时间。The second time determination module is specifically configured to set an instruction timeout time according to the reporting time interval that the distribution probability meets the requirements of the second set.
可选地,该第二时间确定模块可以是将分布概率大于第二概率阈值的上报时间区间的最大边界时间或者对应的最大上行数据上报间隔,作为指令超时时间。Optionally, the second time determining module may be the maximum boundary time of the reporting time interval whose distribution probability is greater than the second probability threshold or the corresponding maximum uplink data reporting interval as the instruction timeout time.
在某些实施例中,该第二时间确定模块还用于若任意上报时间区间的分布情况均未 满足所述第二集中要求,将预定超时时间作为指令超时时间。In some embodiments, the second time determination module is further configured to use a predetermined timeout time as the instruction timeout time if the distribution of any reporting time interval does not meet the second concentration requirement.
在某些实施例中,所述第一特征确定模块可以具体用于确定所述多条下行指令响应时间的第一离散程度;In some embodiments, the first feature determination module may be specifically used to determine the first discrete degree of response time of the multiple downlink commands;
所述第一时间确定模块可以具体用于计算所述多条下行指令响应时间的平均响应时间;利用所述第一离散程度对所述平均响应时间进行时间补偿,获得指令超时时间。The first time determination module may be specifically used to calculate the average response time of the response time of the multiple downlink commands; use the first degree of dispersion to perform time compensation on the average response time to obtain the command timeout time.
在某些实施例中,所述第一时间确定模块计算所述多条下行指令响应时间的平均响应时间可以是在如果所述第一离散程度未满足第一离散条件,计算所述多条下行指令响应时间的平均响应时间。In some embodiments, the first time determination module calculates the average response time of the response time of the plurality of downlink commands may be calculated if the first discrete degree does not satisfy the first discrete condition, the plurality of downlink The average response time of the command response time.
该第一时间确定模块还用于如果所述第一离散程度满足所述第一离散条件,将预定超时时间作为指令超时时间。The first time determining module is also used to use the predetermined timeout time as the instruction timeout time if the first dispersion degree meets the first dispersion condition.
在某些实施例中,所述第一时间确定模块利用所述第一离散程度对所述平均响应时间进行时间补偿,获得指令超时时间可以具体是:In some embodiments, the first time determining module uses the first degree of dispersion to perform time compensation on the average response time, and obtaining the instruction timeout time may specifically be:
如果所述第一离散程度满足第一离散条件,利用所述第一离散程度对所述平均响应时间进行时间补偿,获得指令超时时间;If the first dispersion degree meets the first dispersion condition, use the first dispersion degree to perform time compensation on the average response time to obtain an instruction timeout time;
如果所述第一离散程度未满足所述第一离散条件,将平均响应时间作为指令超时时间。If the first discrete degree does not satisfy the first discrete condition, the average response time is used as the instruction timeout time.
其中,该第一离散条件为所述多条下行指令响应时间的方差大于第一离散阈值。The first discrete condition is that the variance of the response time of the multiple downlink commands is greater than the first discrete threshold.
在某些实施例中,该装置还可以包括:In some embodiments, the device may further include:
第二时间获取模块,用于如果所述第一离散程度满足所述第一离散条件,获取所述终端的多个上行数据上报间隔;A second time obtaining module, configured to obtain a plurality of uplink data reporting intervals of the terminal if the first degree of dispersion meets the first discrete condition;
第二特征确定模块,用于确定所述多个上行数据上报间隔的第二数据分布特征;A second feature determining module, configured to determine a second data distribution feature of the multiple uplink data reporting intervals;
第二时间确定模块,用于根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述终端的指令超时时间。The second time determining module is configured to set the command timeout time of the terminal according to the multiple uplink data reporting intervals and the second data distribution characteristics.
在某些实施例中,所述第二特征确定模块可以具体用于确定所述多个上行数据上报间隔的第二离散程度;In some embodiments, the second feature determination module may be specifically configured to determine a second degree of dispersion of the plurality of uplink data reporting intervals;
所述第二时间确定模块可以具体用于计算所述多个上行数据上报间隔的平均间隔时间;利用所述第二离散程度对所述平均间隔时间进行时间补偿,获得指令超时时间。The second time determining module may be specifically used to calculate an average interval time of the plurality of uplink data reporting intervals; use the second degree of dispersion to perform time compensation on the average interval time to obtain an instruction timeout time.
在某些实施例中,所述第二时间确定模块可以是在如果所述第二离散程度未满足第二离散条件,计算所述多个上行数据上报间隔的平均间隔时间,利用所述第二离散程度 对所述平均间隔时间进行时间补偿,获得指令超时时间。In some embodiments, the second time determination module may calculate the average interval time of the multiple uplink data reporting intervals if the second dispersion degree does not satisfy the second dispersion condition, and use the second The degree of dispersion compensates the average interval time to obtain an instruction timeout time.
此外,所述第二时间确定模块还用于如果所述第二离散程度满足所述第二离散条件,将预定超时时间作为指令超时时间。In addition, the second time determining module is further configured to use the predetermined timeout time as the instruction timeout time if the second degree of dispersion meets the second dispersion condition.
在某些实施例中,所述响应时间获取模块可以具体用于获取终端针对距离当前时间第一时长内的多条下行指令的响应时间;或者,In some embodiments, the response time acquisition module may be specifically used to acquire the response time of the terminal for multiple downlink commands within the first time duration from the current time; or,
获取终端针对最近下发的第一数量条下行指令的响应时间。Obtain the response time of the terminal for the first number of downlink commands issued recently.
在某些实施例中,该装置还可以包括:In some embodiments, the device may further include:
第一模式判断模块,用于基于所述多条下行指令响应时间,判断所述终端是否处于立即响应模式;若判断结果为是,则触发第一特征确定模块执行。The first mode judgment module is used to judge whether the terminal is in the immediate response mode based on the response time of the multiple downlink commands; if the judgment result is yes, trigger the first feature determination module to execute.
第三时间获取模块,用于在第一模式判断模块为否时,获取所述终端的多个上行数据上报间隔;A third time obtaining module, used to obtain a plurality of uplink data reporting intervals of the terminal when the first mode judgment module is NO;
第二特征确定模块,用于确定所述多个上行数据上报间隔的第二数据分布特征;A second feature determining module, configured to determine a second data distribution feature of the multiple uplink data reporting intervals;
第二时间确定模块,用于根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述终端的指令超时时间。The second time determining module is configured to set the command timeout time of the terminal according to the multiple uplink data reporting intervals and the second data distribution characteristics.
可选地,所述第一模式判断模块可以具体用于判断所述多条下行指令响应时间是否均小于第一时间阈值;其中,若所述多条下行指令响应时间均小于第一时间阈值,确定所述终端处于立即响应模式。Optionally, the first mode determination module may be specifically configured to determine whether the response times of the multiple downlink commands are all less than the first time threshold; wherein, if the response times of the multiple downlink commands are less than the first time threshold, It is determined that the terminal is in an immediate response mode.
在某些实施例中,所述第一时间确定模块可以具体用于:In some embodiments, the first time determination module may be specifically used to:
如果基于所述第一数据分布特征确定所述多条下行指令响应时间的数据分布集中,基于所述多条下行指令响应时间,设定指令超时时间;If it is determined based on the first data distribution characteristics that the data distribution set of the response time of the multiple downlink commands is set, based on the response time of the multiple downlink commands, an instruction timeout time is set;
如果基于所述第一数据分布特征确定所述多条下行指令响应时间的数据分布离散,将预定超时时间作为指令超时时间。If it is determined that the data distribution of the response time of the plurality of downlink commands is discrete based on the first data distribution characteristics, the predetermined timeout time is used as the command timeout time.
在某些实施例中,所述第一时间确定模块可以具体用于:In some embodiments, the first time determination module may be specifically used to:
如果基于所述第一数据分布特征确定所述多条下行指令响应时间的数据分布集中,基于所述多条下行指令响应时间,设定指令超时时间;If it is determined based on the first data distribution characteristics that the data distribution set of the response time of the multiple downlink commands is set, based on the response time of the multiple downlink commands, an instruction timeout time is set;
如果基于所述第一数据分布特征确定所述多条下行指令响应时间的数据分布离散,获取所述终端的多个上行数据上报间隔;If it is determined that the data distribution of the response time of the plurality of downlink commands is discrete based on the first data distribution characteristic, obtain a plurality of uplink data reporting intervals of the terminal;
确定所述多个上行数据上报间隔的第二数据分布特征;Determining the second data distribution characteristics of the plurality of uplink data reporting intervals;
根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述终端的指令超时时间。The command timeout period of the terminal is set according to the multiple uplink data reporting intervals and the second data distribution characteristics.
其中,所述根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述终端的指令超时时间可以包括:Wherein, the setting of the command timeout time of the terminal according to the plurality of uplink data reporting intervals and the second data distribution characteristics may include:
如果基于所述第二数据分布特征确定所述多个上行数据上报间隔的数据分布集中,基于所述多个上行数据上报间隔,设定指令超时时间;If it is determined based on the second data distribution characteristics that the data distribution set of the plurality of uplink data reporting intervals is set, based on the plurality of uplink data reporting intervals, a command timeout period is set;
如果基于所述第二数据分布特征确定所述多个上行数据上报间隔的数据分布离散,将预定超时时间作为指令超时时间。If it is determined that the data distribution of the plurality of uplink data reporting intervals is discrete based on the second data distribution characteristics, the predetermined timeout time is used as the instruction timeout time.
图7所示信息确定装置可以执行图1~图3以及图5所示任一实施例的信息确定方法,其实现原理和技术效果不再赘述。对于上述实施例中的信息确定装置其中各个模块、单元执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。The information determination device shown in FIG. 7 can execute the information determination method in any of the embodiments shown in FIG. 1 to FIG. 3 and FIG. 5, and the implementation principles and technical effects will not be described in detail. The specific manner in which the various modules and units in the information determination apparatus in the above embodiments perform operations has been described in detail in the embodiments of the method, and will not be elaborated here.
在一个可能的设计中,图7所示实施例的信息确定装置可以实现为一计算设备,在一个实际应用中该计算设备即可以为NS,当然也可以是独立设备,其获得的指令超时时间用于发送至NS,由NS据此进行下行指令的判断。In a possible design, the information determination apparatus of the embodiment shown in FIG. 7 may be implemented as a computing device. In a practical application, the computing device may be NS, or of course it may be an independent device, and the instruction timeout time obtained It is used to send to NS, and NS will judge the downstream command accordingly.
如图8所示,该计算设备可以包括存储组件801以及处理组件802;As shown in FIG. 8, the computing device may include a storage component 801 and a processing component 802;
所述存储组件801存储一条或多条计算机指令,其中,所述一条或多条计算机指令供所述处理组件802调用执行。The storage component 801 stores one or more computer instructions, wherein the one or more computer instructions are called and executed by the processing component 802.
所述处理组件802用于:The processing component 802 is used to:
获取终端针对多条下行指令的响应时间;Obtain the response time of the terminal for multiple downlink commands;
确定所述多条下行指令响应时间的第一数据分布特征;Determining the first data distribution characteristics of the response time of the multiple downlink commands;
根据所述多条下行指令响应时间及所述第一数据分布特征,设定所述终端的指令超时时间。The command timeout time of the terminal is set according to the response time of the multiple downlink commands and the first data distribution characteristics.
其中,处理组件802可以包括一个或多个处理器来执行计算机指令,以完成上述的方法中的全部或部分步骤。当然处理组件也可以为一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。The processing component 802 may include one or more processors to execute computer instructions to complete all or part of the steps in the above method. Of course, the processing component can also be one or more application specific integrated circuits (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA) , A controller, a microcontroller, a microprocessor or other electronic components to implement the above method.
存储组件801被配置为存储各种类型的数据以支持在计算设备中的操作。存储组件可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器 (EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The storage component 801 is configured to store various types of data to support operations in the computing device. The storage component can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
当然,计算设备必然还可以包括其他部件,例如输入/输出接口、通信组件等,在此不再赘述。Of course, the computing device must also include other components, such as input/output interfaces, communication components, and so on, which will not be repeated here.
本申请实施例还提供了一种计算机可读存储介质,存储有计算机程序,所述计算机程序被计算机执行时可以实现上述图1~图3以及图5所示任一实施例的信息确定方法。An embodiment of the present application further provides a computer-readable storage medium that stores a computer program, and when the computer program is executed by a computer, the information determination method in any of the embodiments shown in FIG. 1 to FIG. 3, and FIG. 5 described above can be implemented.
图9为本申请实施例提供的一种信息确定装置又一个实施例的结构示意图,该装置可以包括:9 is a schematic structural diagram of yet another embodiment of an information determination apparatus provided by an embodiment of the present application. The apparatus may include:
间隔时间获取模块901,用于获取所述终端的多个上行数据上报间隔;The interval time obtaining module 901 is used to obtain a plurality of uplink data reporting intervals of the terminal;
第二特征确定模块902,用于确定所述多个上行数据上报间隔的第二数据分布特征;A second feature determination module 902, configured to determine a second data distribution feature of the multiple uplink data reporting intervals;
第二时间确定模块903,用于根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述终端的指令超时时间。The second time determining module 903 is configured to set an instruction timeout time of the terminal according to the multiple uplink data reporting intervals and the second data distribution characteristics.
其中,在LoRaWAN通信场景中,所述间隔时间获取模块即具体是获取LoRa终端的多个上行数据上报间隔;Among them, in the LoRaWAN communication scenario, the interval time obtaining module specifically obtains multiple uplink data reporting intervals of the LoRa terminal;
所述第二时间确定模块可以具体用于根据所述多个上行数据上报间隔及所述第二数据分布特征,确定所述LoRa终端的指令超时时间。The second time determining module may be specifically configured to determine the instruction timeout time of the LoRa terminal according to the multiple uplink data reporting intervals and the second data distribution characteristics.
在某些实施例中,所述第二特征确定模块具体用于按照第二时长将第二时间范围划分得到多个上报时间区间;确定所述多条下行指令响应时间在所述多个上报时间区间的分布概率;In some embodiments, the second feature determination module is specifically configured to divide the second time range into multiple reporting time intervals according to the second duration; determining that the response time of the multiple downlink commands is within the multiple reporting times Distribution probability of the interval;
所述第二时间确定模块具体用于根据分布概率满足第二集中要求的上报时间区间,设定指令超时时间。The second time determination module is specifically configured to set an instruction timeout time according to the reporting time interval that the distribution probability meets the requirements of the second set.
可选地,所述第二时间确定模块可以具体用于将分布概率大于第二概率阈值的上报时间区间的最大边界时间或者对应的最大上行数据上报间隔,作为指令超时时间。Optionally, the second time determining module may be specifically configured to use the maximum boundary time of the reporting time interval whose distribution probability is greater than the second probability threshold or the corresponding maximum uplink data reporting interval as the instruction timeout time.
在某些实施例中,所述第二时间确定模块还用于若任意上报时间区间的分布情况均未满足所述第二集中要求,将预定超时时间作为指令超时时间。In some embodiments, the second time determining module is further configured to use a predetermined time-out time as an instruction time-out time if the distribution of any reporting time interval does not meet the second concentration requirement.
在某些实施例中,所述第二特征确定模块可以具体用于确定所述多个上行数据上报间隔的第二离散程度;In some embodiments, the second feature determination module may be specifically configured to determine a second degree of dispersion of the plurality of uplink data reporting intervals;
在某些实施例中,所述第二时间确定模块可以具体用于计算所述多个上行数据上报间隔的平均间隔时间;利用所述第二离散程度对所述平均间隔时间进行时间补偿,获得 指令超时时间。In some embodiments, the second time determining module may be specifically used to calculate the average interval time of the plurality of uplink data reporting intervals; use the second degree of dispersion to perform time compensation on the average interval time to obtain Instruction timeout time.
在某些实施例中,所述第二时间确定模块计算所述多个上行数据上报间隔的平均间隔时间可以是如果所述第二离散程度未满足第二离散条件,计算所述多个上行数据上报间隔的平均间隔时间。In some embodiments, the second time determination module calculating the average interval time of the plurality of uplink data reporting intervals may be if the second degree of dispersion does not satisfy the second dispersion condition, calculating the plurality of uplink data The average interval between reporting intervals.
在某些实施例中,所述第二时间确定模块还用于如果所述第二离散程度满足所述第二离散条件,将预定超时时间作为指令超时时间。In some embodiments, the second time determining module is further configured to use the predetermined timeout time as the instruction timeout time if the second degree of dispersion meets the second dispersion condition.
在某些实施例中,该装置还可以包括:In some embodiments, the device may further include:
第二模式判断模块,用于基于所述多个上行数据上报间隔,判断所述终端是否处于业务上报模式;若判断结果为是,则触发所述第二特征确定模块执行;The second mode judgment module is used to judge whether the terminal is in the service reporting mode based on the plurality of uplink data reporting intervals; if the judgment result is yes, trigger the second feature determination module to execute;
第四时间获取模块,用于在所述第二模式判断模块为否时,获取所述终端针对多条下行指令的响应时间;A fourth time obtaining module, configured to obtain the response time of the terminal for multiple downlink commands when the second mode judgment module is NO;
第一特征确定模块,用于确定所述多条下行指令响应时间的第一数据分布特征;A first feature determining module, configured to determine a first data distribution feature of the response time of the multiple downlink commands;
第一时间确定模块,用于根据所述多条下行指令响应时间及所述第一数据分布特征,设定所述终端的指令超时时间。The first time determining module is configured to set the command timeout time of the terminal according to the response time of the multiple downlink commands and the first data distribution characteristics.
在某些实施例中,该第二模式判断模块可以具体用于判断所述多个上行数据上报间隔是否均大于第二时间阈值;其中,若所述多个上行数据上报间隔均大于第二时间阈值,确定所述终端处于业务上报模式。In some embodiments, the second mode judgment module may be specifically used to judge whether the plurality of uplink data reporting intervals are all greater than the second time threshold; wherein, if the plurality of uplink data reporting intervals are all greater than the second time The threshold determines that the terminal is in a service reporting mode.
图9所示信息确定装置可以执行图5所示实施例的信息确定方法,其实现原理和技术效果不再赘述。对于上述实施例中的信息确定装置其中各个模块、单元执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。The information determination apparatus shown in FIG. 9 can execute the information determination method of the embodiment shown in FIG. 5, and the implementation principles and technical effects are not described in detail. The specific manner in which the various modules and units in the information determination apparatus in the above embodiments perform operations has been described in detail in the embodiments of the method, and will not be elaborated here.
在一个可能的设计中,图9所示实施例的信息确定装置可以实现为一计算设备,在一个实际应用中该计算设备即可以为NS,当然也可以是独立设备,其获得的指令超时时间用于发送至NS,由NS据此进行下行指令的判断。In a possible design, the information determination apparatus of the embodiment shown in FIG. 9 may be implemented as a computing device. In a practical application, the computing device may be NS, or it may be an independent device, and the instruction timeout time obtained It is used to send to NS, and NS will judge the downstream command accordingly.
如图10所示,该计算设备可以包括存储组件1001以及处理组件1002;As shown in FIG. 10, the computing device may include a storage component 1001 and a processing component 1002;
所述存储组件1001存储一条或多条计算机指令,其中,所述一条或多条计算机指令供所述处理组件1002调用执行。The storage component 1001 stores one or more computer instructions, where the one or more computer instructions are used by the processing component 1002 for execution.
获取所述终端的多个上行数据上报间隔;Obtain multiple uplink data reporting intervals of the terminal;
确定所述多个上行数据上报间隔的第二数据分布特征;Determining the second data distribution characteristics of the plurality of uplink data reporting intervals;
根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述终端的指令超时时间。The command timeout period of the terminal is set according to the multiple uplink data reporting intervals and the second data distribution characteristics.
其中,处理组件1002可以包括一个或多个处理器来执行计算机指令,以完成上述的方法中的全部或部分步骤。当然处理组件也可以为一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。The processing component 1002 may include one or more processors to execute computer instructions to complete all or part of the steps in the above method. Of course, the processing component can also be one or more application specific integrated circuits (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA) , A controller, a microcontroller, a microprocessor or other electronic components to implement the above method.
存储组件1001被配置为存储各种类型的数据以支持在计算设备中的操作。存储组件可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The storage component 1001 is configured to store various types of data to support operations in the computing device. The storage component can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
当然,计算设备必然还可以包括其他部件,例如输入/输出接口、通信组件等,在此不再赘述。Of course, the computing device must also include other components, such as input/output interfaces, communication components, and so on, which will not be repeated here.
本申请实施例还提供了一种计算机可读存储介质,存储有计算机程序,所述计算机程序被计算机执行时可以实现上述图5所示实施例的信息确定方法。An embodiment of the present application further provides a computer-readable storage medium that stores a computer program, and when the computer program is executed by a computer, the information determination method in the embodiment shown in FIG. 5 may be implemented.
图11为本申请实施例提供的一种信息判断装置又一个实施例的结构示意图,该装置可以包括:FIG. 11 is a schematic structural diagram of yet another embodiment of an information judgment apparatus provided by an embodiment of the present application. The apparatus may include:
指令下发模块1101,用于向终端发送下行指令;The instruction issuing module 1101 is used to send a downlink instruction to the terminal;
时间获取模块1102,用于获取所述终端对应的指令超时时间;A time obtaining module 1102, configured to obtain an instruction timeout time corresponding to the terminal;
其中,所述指令超时时间可以基于所述终端针对多条下行指令的响应时间以及所述多条下行指令响应时间的第一数据分布特征确定,或者基于所述终端多个上行数据上报间隔及所述多个上行数据上报间隔的第二数据分布特征确定,具体可以参见上述任一个实施例中所述,在此不再赘述。The command timeout time may be determined based on the terminal's response time for multiple downlink commands and the first data distribution characteristics of the multiple downlink command response times, or based on the terminal's multiple uplink data reporting intervals and all The second data distribution characteristics of the multiple uplink data reporting intervals are determined. For details, reference may be made to any one of the foregoing embodiments, and details are not described herein again.
超时判断模块1103,用于基于所述指令超时时间判断所述下行指令是否执行失败。The timeout judgment module 1103 is configured to judge whether the execution of the downlink instruction fails based on the instruction timeout time.
其中,在LoRaWAN通信场景中,指令下发模块具体用于向LoRa终端发送下行指令。Among them, in the LoRaWAN communication scenario, the instruction issuing module is specifically used to send a downlink instruction to the LoRa terminal.
所述时间获取模块具体用于获取所述LoRa终端对应的指令超时时间。The time obtaining module is specifically used to obtain the instruction timeout time corresponding to the LoRa terminal.
在一个可能的设计中,图11所示实施例的信息判断装置可以实现为一计算设备,在一个实际应用中该计算设备即可以为LoRaWAN系统中的NS,NS为与网关直接通信设 备,下行指令由NS发送。In a possible design, the information judgment apparatus of the embodiment shown in FIG. 11 may be implemented as a computing device. In an actual application, the computing device may be an NS in the LoRaWAN system. NS is a device that directly communicates with the gateway. The command is sent by NS.
如图12所示,该计算设备可以包括存储组件1201以及处理组件1202;As shown in FIG. 12, the computing device may include a storage component 1201 and a processing component 1202;
所述存储组件1201存储一条或多条计算机指令,其中,所述一条或多条计算机指令供所述处理组件1202调用执行。The storage component 1201 stores one or more computer instructions, wherein the one or more computer instructions are called and executed by the processing component 1202.
所述处理组件1202用于:The processing component 1202 is used to:
所述处理组件用于:The processing component is used to:
向终端发送下行指令;Send a downlink command to the terminal;
获取所述终端对应的指令超时时间;其中,所述指令超时时间可以基于所述终端针对多条下行指令的响应时间以及所述多条下行指令响应时间的第一数据分布特征确定,或者基于所述终端多个上行数据上报间隔及所述多个上行数据上报间隔的第二数据分布特征确定;Obtain the instruction timeout time corresponding to the terminal; wherein the instruction timeout time may be determined based on the terminal's response time for multiple downlink instructions and the first data distribution characteristics of the multiple downlink instruction response times, or based on Determining a plurality of uplink data reporting intervals of the terminal and second data distribution characteristics of the plurality of uplink data reporting intervals;
基于所述指令超时时间判断所述下行指令是否执行失败。It is determined whether the execution of the downlink instruction fails based on the instruction timeout time.
其中,处理组件1202可以包括一个或多个处理器来执行计算机指令,以完成上述的方法中的全部或部分步骤。当然处理组件也可以为一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,用于执行上述方法。The processing component 1202 may include one or more processors to execute computer instructions to complete all or part of the steps in the above method. Of course, the processing component can also be one or more application specific integrated circuits (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA) , A controller, a microcontroller, a microprocessor or other electronic components to implement the above method.
存储组件1201被配置为存储各种类型的数据以支持在计算设备的操作。存储组件可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。The storage component 1201 is configured to store various types of data to support operations on the computing device. The storage component can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read only memory (EEPROM), erasable Programmable read only memory (EPROM), programmable read only memory (PROM), read only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
当然,计算设备必然还可以包括其他部件,例如输入/输出接口、通信组件等。Of course, the computing device must also include other components, such as input/output interfaces, communication components, and so on.
本申请实施例还提供了一种计算机可读存储介质,存储有计算机程序,所述计算机程序被计算机执行时可以实现上述图6所示实施例的信息判断方法。An embodiment of the present application also provides a computer-readable storage medium that stores a computer program, and when the computer program is executed by a computer, the information judgment method of the embodiment shown in FIG. 6 may be implemented.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and conciseness of the description, the specific working process of the system, device and unit described above can refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.
以上所描述的装置实施例仅仅是示意性的,其中所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其 中的部分或者全部模块来实现本实施例方案的目的。本领域普通技术人员在不付出创造性的劳动的情况下,即可以理解并实施。The device embodiments described above are only schematic, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located One place, or can be distributed to multiple network elements. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art can understand and implement without paying creative labor.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到各实施方式可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件。基于这样的理解,上述技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如ROM/RAM、磁碟、光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行各个实施例或者实施例的某些部分所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above-mentioned technical solutions can be embodied in the form of software products in essence or to contribute to the existing technology, and the computer software products can be stored in computer-readable storage media, such as ROM/RAM, magnetic Discs, optical discs, etc., include several instructions to enable a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
最后应说明的是:以上实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围。Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, not to limit them; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still Modifications to the technical solutions described in the foregoing embodiments, or equivalent replacement of some of the technical features therein; and these modifications or replacements do not deviate from the spirit and scope of the technical solutions of the embodiments of the present application.

Claims (44)

  1. 一种信息确定方法,其特征在于,包括:An information determination method, characterized in that it includes:
    获取终端针对多条下行指令的响应时间;Obtain the response time of the terminal for multiple downlink commands;
    确定所述多条下行指令响应时间的第一数据分布特征;Determining the first data distribution characteristics of the response time of the multiple downlink commands;
    根据所述多条下行指令响应时间及所述第一数据分布特征,设定所述终端的指令超时时间。The command timeout time of the terminal is set according to the response time of the multiple downlink commands and the first data distribution characteristics.
  2. 根据权利要求1所述的方法,其特征在于,所述确定所述多条下行指令响应时间的第一数据分布特征包括:The method according to claim 1, wherein the first data distribution characteristic that determines the response time of the multiple downlink commands includes:
    按照第一时长将第一时间范围划分得到多个响应时间区间;Divide the first time range into multiple response time intervals according to the first duration;
    确定所述多条下行指令响应时间在所述多个响应时间区间的分布概率;Determining the distribution probability of the response time of the multiple downlink commands in the multiple response time intervals;
    所述根据所述多条下行指令响应时间及所述第一数据分布特征,设定所述终端的指令超时时间包括:The setting the command timeout time of the terminal according to the response time of the multiple downlink commands and the first data distribution feature includes:
    根据分布概率满足第一集中要求的响应时间区间,设定指令超时时间。According to the response time interval that the distribution probability meets the requirements in the first set, set the command timeout time.
  3. 根据权利要求2所述的方法,其特征在于,所述根据分布概率满足第一集中要求的响应时间区间,设定指令超时时间包括:The method according to claim 2, wherein the response time interval that satisfies the requirements in the first set according to the distribution probability, setting the command timeout time includes:
    将分布概率大于第一概率阈值的响应时间区间的最大边界时间或者对应的最大下行指令响应时间,作为指令超时时间。The maximum boundary time of the response time interval with a distribution probability greater than the first probability threshold or the corresponding maximum downlink command response time is used as the command timeout time.
  4. 根据权利要求2所述的方法,其特征在于,还包括:The method of claim 2, further comprising:
    若任意响应时间区间的分布概率均未满足所述第一集中要求,将预定超时时间作为指令超时时间。If the distribution probability of any response time interval does not meet the first concentration requirement, the predetermined timeout time is used as the instruction timeout time.
  5. 根据权利要求2所述的方法,其特征在于,还包括:The method of claim 2, further comprising:
    若任意响应时间区间的分布概率均未满足所述集中要求,获取所述终端的多个上行数据上报间隔;If the distribution probability of any response time interval does not meet the concentration requirement, acquire multiple uplink data reporting intervals of the terminal;
    确定所述多个上行数据上报间隔的第二数据分布特征;Determining the second data distribution characteristics of the plurality of uplink data reporting intervals;
    根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述终端的指令超时时间。The command timeout period of the terminal is set according to the multiple uplink data reporting intervals and the second data distribution characteristics.
  6. 根据权利要求5所述的方法,其特征在于,所述若任意响应时间区间的分布概率均未满足所述第一集中要求,获取所述终端的多个上行数据上报间隔包括:The method according to claim 5, wherein, if the distribution probability of any response time interval does not meet the first concentration requirement, acquiring a plurality of uplink data reporting intervals of the terminal includes:
    若任意响应时间区间的分布概率均未满足所述第一集中要求,获取所述终端的最近大于预设间隔时长的多个上行数据上报间隔。If the distribution probability of any response time interval does not meet the first concentration requirement, acquire a plurality of uplink data reporting intervals of the terminal that are more than a preset interval last.
  7. 根据权利要求6所述的方法,其特征在于,所述确定所述多个上行数据上报间隔的第二数据分布特征包括:The method according to claim 6, wherein the second data distribution characteristic that determines the plurality of uplink data reporting intervals includes:
    按照第二时长将第二时间范围划分得到多个上报时间区间;Divide the second time range into multiple reporting time intervals according to the second duration;
    确定所述多条下行指令响应时间在所述多个上报时间区间的分布概率;Determine the distribution probability of the response time of the multiple downlink commands in the multiple reporting time intervals;
    所述根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述终端的指令超时时间包括:The setting the command timeout period of the terminal according to the plurality of uplink data reporting intervals and the second data distribution characteristics includes:
    根据分布概率满足第二集中要求的上报时间区间,设定所述终端的指令超时时间。The instruction timeout period of the terminal is set according to the reporting time interval where the distribution probability meets the requirements in the second set.
  8. 根据权利要求7所述的方法,其特征在于,所述根据分布概率满足第二集中要求的上报时间区间,设定指令超时时间包括:The method according to claim 7, wherein the reporting time interval for satisfying the requirements in the second set according to the distribution probability, setting the instruction timeout time includes:
    将分布概率大于第二概率阈值的上报时间区间的最大边界时间或者对应的最大上行数据上报间隔,作为指令超时时间。The maximum boundary time of the reporting time interval whose distribution probability is greater than the second probability threshold or the corresponding maximum uplink data reporting interval is used as the instruction timeout time.
  9. 根据权利要求8所述的方法,其特征在于,还包括:The method of claim 8, further comprising:
    若任意上报时间区间的分布情况均未满足所述第二集中要求,将预定超时时间作为指令超时时间。If the distribution of any reporting time interval does not meet the requirements of the second set, the predetermined timeout time is used as the instruction timeout time.
  10. 根据权利要求1所述的方法,其特征在于,所述确定所述多条下行指令响应时间的第一数据分布特征;The method of claim 1, wherein the first data distribution characteristic that determines the response time of the multiple downlink commands;
    确定所述多条下行指令响应时间的第一离散程度;Determine the first discrete degree of response time of the multiple downlink commands;
    所述根据所述多条下行指令响应时间及所述第一数据分布特征,设定所述终端的指令超时时间包括:The setting the command timeout time of the terminal according to the response time of the multiple downlink commands and the first data distribution feature includes:
    计算所述多条下行指令响应时间的平均响应时间;Calculating the average response time of the response time of the multiple downlink commands;
    利用所述第一离散程度对所述平均响应时间进行时间补偿,获得指令超时时间。Use the first degree of dispersion to perform time compensation on the average response time to obtain an instruction timeout time.
  11. 根据权利要求10所述的方法,其特征在于,所述计算所述多条下行指令响应时间的平均响应时间包括:The method according to claim 10, wherein the calculating the average response time of the response time of the plurality of downlink commands comprises:
    如果所述第一离散程度未满足第一离散条件,计算所述多条下行指令响应时间的平均响应时间。If the first discrete degree does not satisfy the first discrete condition, calculate the average response time of the response time of the multiple downlink commands.
  12. 根据权利要求11所述的方法,其特征在于,还包括:The method of claim 11, further comprising:
    如果所述第一离散程度满足所述第一离散条件,将预定超时时间作为指令超时时间。If the first discrete degree meets the first discrete condition, the predetermined timeout period is used as the instruction timeout period.
  13. 根据权利要求11所述的方法,其特征在于,还包括:The method of claim 11, further comprising:
    如果所述第一离散程度满足所述第一离散条件,获取所述终端的多个上行数据上报 间隔;If the first dispersion degree meets the first dispersion condition, acquire multiple uplink data reporting intervals of the terminal;
    确定所述多个上行数据上报间隔的第二数据分布特征;Determining the second data distribution characteristics of the plurality of uplink data reporting intervals;
    根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述终端的指令超时时间。The command timeout period of the terminal is set according to the multiple uplink data reporting intervals and the second data distribution characteristics.
  14. 根据权利要求13所述的方法,其特征在于,所述确定所述多个上行数据上报间隔的第二数据分布特征包括:The method according to claim 13, wherein the second data distribution characteristic that determines the plurality of uplink data reporting intervals includes:
    确定所述多个上行数据上报间隔的第二离散程度;Determine a second degree of dispersion of the reporting interval of the plurality of uplink data;
    所述根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述终端的指令超时时间包括:The setting the command timeout period of the terminal according to the plurality of uplink data reporting intervals and the second data distribution characteristics includes:
    计算所述多个上行数据上报间隔的平均间隔时间;Calculating the average interval time of the reporting interval of the multiple uplink data;
    利用所述第二离散程度对所述平均间隔时间进行时间补偿,获得指令超时时间。Use the second degree of dispersion to perform time compensation on the average interval time to obtain an instruction timeout time.
  15. 根据权利要求14所述的方法,其特征在于,所述计算所述多个上行数据上报间隔的平均间隔时间包括:The method according to claim 14, wherein the calculating the average interval time of the plurality of uplink data reporting intervals comprises:
    如果所述第二离散程度未满足第二离散条件,计算所述多个上行数据上报间隔的平均间隔时间。If the second dispersion degree does not satisfy the second dispersion condition, calculate the average interval time of the multiple uplink data reporting intervals.
  16. 根据权利要求15所述的方法,其特征在于,还包括:The method of claim 15, further comprising:
    如果所述第二离散程度满足所述第二离散条件,将预定超时时间作为指令超时时间。If the second discrete degree meets the second discrete condition, the predetermined timeout time is used as the instruction timeout time.
  17. 根据权利要求11所述的方法,其特征在于,所述利用所述第一离散程度对所述平均响应时间进行时间补偿,获得指令超时时间包括:The method according to claim 11, wherein the using the first degree of dispersion to perform time compensation on the average response time, and obtaining an instruction timeout time includes:
    如果所述第一离散程度满足第一离散条件,利用所述第一离散程度对所述平均响应时间进行时间补偿,获得指令超时时间;If the first dispersion degree meets the first dispersion condition, use the first dispersion degree to perform time compensation on the average response time to obtain an instruction timeout time;
    所述方法还包括:The method also includes:
    如果所述第一离散程度未满足所述第一离散条件,将平均响应时间作为指令超时时间。If the first discrete degree does not satisfy the first discrete condition, the average response time is used as the instruction timeout time.
  18. 根据权利要求11所述的方法,其特征在于,所述第一离散程度包括所述多条下行指令响应时间的方差;The method according to claim 11, wherein the first degree of dispersion includes a variance of response times of the plurality of downlink commands;
    所述第一离散条件为所述多条下行指令响应时间的方差大于第一离散阈值。The first discrete condition is that the variance of the response time of the multiple downlink commands is greater than the first discrete threshold.
  19. 根据权利要求1所述的方法,其特征在于,所述获取终端针对多条下行指令的响应时间包括:The method according to claim 1, wherein the response time of the acquiring terminal for multiple downlink commands comprises:
    获取终端针对距离当前时间第一时长内的多条下行指令的响应时间。Obtain the response time of the terminal for multiple downlink commands within the first time period from the current time.
  20. 根据权利要求1所述的方法,其特征在于,所述获取终端针对多条下行指令的响应时间包括:The method according to claim 1, wherein the response time of the acquiring terminal for multiple downlink commands comprises:
    获取终端针对最近下发的第一数量条下行指令的响应时间。Obtain the response time of the terminal for the first number of downlink commands issued recently.
  21. 根据权利要求1所述的方法,其特征在于,还包括:The method according to claim 1, further comprising:
    基于所述多条下行指令响应时间,判断所述终端是否处于立即响应模式;Determine whether the terminal is in an immediate response mode based on the response time of the multiple downlink commands;
    若是,执行所述确定所述多条下行指令响应时间的第一数据分布特征的步骤;If yes, execute the step of determining the first data distribution characteristics of the response time of the multiple downlink commands;
    若否,获取所述终端的多个上行数据上报间隔;If not, obtain multiple uplink data reporting intervals of the terminal;
    确定所述多个上行数据上报间隔的第二数据分布特征;Determining the second data distribution characteristics of the plurality of uplink data reporting intervals;
    根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述终端的指令超时时间。The command timeout period of the terminal is set according to the multiple uplink data reporting intervals and the second data distribution characteristics.
  22. 根据权利要求21所述的方法,其特征在于,所述基于所述多条下行指令响应时间,判断所述终端是否处于立即响应模式包括:The method according to claim 21, wherein the determining whether the terminal is in the immediate response mode based on the response time of the plurality of downlink commands includes:
    判断所述多条下行指令响应时间是否均小于第一时间阈值;其中,若所述多条下行指令响应时间均小于第一时间阈值,确定所述终端处于立即响应模式。Judging whether the response times of the multiple downlink commands are all less than the first time threshold; wherein, if the response times of the multiple downlink commands are less than the first time threshold, it is determined that the terminal is in the immediate response mode.
  23. 根据权利要求1所述的方法,其特征在于,所述根据所述多条下行指令响应时间及所述第一数据分布特征,设定所述终端的指令超时时间包括:The method according to claim 1, wherein the setting of the command timeout time of the terminal according to the response time of the plurality of downlink commands and the first data distribution characteristic comprises:
    如果基于所述第一数据分布特征确定所述多条下行指令响应时间的数据分布集中,基于所述多条下行指令响应时间,设定指令超时时间;If it is determined based on the first data distribution characteristics that the data distribution set of the response time of the multiple downlink commands is set, based on the response time of the multiple downlink commands, an instruction timeout time is set;
    如果基于所述第一数据分布特征确定所述多条下行指令响应时间的数据分布离散,将预定超时时间作为指令超时时间。If it is determined that the data distribution of the response time of the plurality of downlink commands is discrete based on the first data distribution characteristics, the predetermined timeout time is used as the command timeout time.
  24. 根据权利要求1所述的方法,其特征在于,所述根据所述多条下行指令响应时间及所述第一数据分布特征,设定所述终端的指令超时时间包括:The method according to claim 1, wherein the setting of the command timeout time of the terminal according to the response time of the plurality of downlink commands and the first data distribution characteristic comprises:
    如果基于所述第一数据分布特征确定所述多条下行指令响应时间的数据分布集中,基于所述多条下行指令响应时间,设定指令超时时间;If it is determined based on the first data distribution characteristics that the data distribution set of the response time of the multiple downlink commands is set, based on the response time of the multiple downlink commands, an instruction timeout time is set;
    如果基于所述第一数据分布特征确定所述多条下行指令响应时间的数据分布离散,获取所述终端的多个上行数据上报间隔;If it is determined that the data distribution of the response time of the plurality of downlink commands is discrete based on the first data distribution characteristic, obtain a plurality of uplink data reporting intervals of the terminal;
    确定所述多个上行数据上报间隔的第二数据分布特征;Determining the second data distribution characteristics of the plurality of uplink data reporting intervals;
    根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述终端的指令超时时间。The command timeout period of the terminal is set according to the multiple uplink data reporting intervals and the second data distribution characteristics.
  25. 根据权利要求24所述的方法,其特征在于,所述根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述终端的指令超时时间包括:The method according to claim 24, wherein the setting the command timeout period of the terminal according to the plurality of uplink data reporting intervals and the second data distribution characteristics comprises:
    如果基于所述第二数据分布特征确定所述多个上行数据上报间隔的数据分布集中,基于所述多个上行数据上报间隔,设定指令超时时间;If it is determined based on the second data distribution characteristics that the data distribution set of the plurality of uplink data reporting intervals is set, based on the plurality of uplink data reporting intervals, a command timeout period is set;
    如果基于所述第二数据分布特征确定所述多个上行数据上报间隔的数据分布离散,将预定超时时间作为指令超时时间。If it is determined that the data distribution of the plurality of uplink data reporting intervals is discrete based on the second data distribution characteristics, the predetermined timeout time is used as the instruction timeout time.
  26. 一种信息确定方法,其特征在于,包括:An information determination method, characterized in that it includes:
    获取终端的多个上行数据上报间隔;Obtain multiple uplink data reporting intervals of the terminal;
    确定所述多个上行数据上报间隔的第二数据分布特征;Determining the second data distribution characteristics of the plurality of uplink data reporting intervals;
    根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述终端的指令超时时间。The command timeout period of the terminal is set according to the multiple uplink data reporting intervals and the second data distribution characteristics.
  27. 根据权利要求26所述的方法,其特征在于,所述确定所述多个上行数据上报间隔的第二数据分布特征包括:The method according to claim 26, wherein the second data distribution characteristic that determines the plurality of uplink data reporting intervals includes:
    按照第二时长将第二时间范围划分得到多个上报时间区间;Divide the second time range into multiple reporting time intervals according to the second duration;
    确定多条下行指令响应时间在所述多个上报时间区间的分布概率;Determine the distribution probability of the response time of multiple downlink commands in the multiple reporting time intervals;
    所述根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述终端的指令超时时间;The command timeout period of the terminal is set according to the plurality of uplink data reporting intervals and the second data distribution characteristics;
    根据分布概率满足第二集中要求的上报时间区间,设定指令超时时间。Set the instruction timeout time according to the reporting time interval where the distribution probability meets the requirements in the second set.
  28. 根据权利要求27所述的方法,其特征在于,所述根据分布概率满足第二集中要求的上报时间区间,设定指令超时时间包括:The method according to claim 27, wherein the reporting time interval that meets the requirements in the second set according to the distribution probability, setting the instruction timeout time includes:
    将分布概率大于第二概率阈值的上报时间区间的最大边界时间或者对应的最大上行数据上报间隔,作为指令超时时间。The maximum boundary time of the reporting time interval whose distribution probability is greater than the second probability threshold or the corresponding maximum uplink data reporting interval is used as the instruction timeout time.
  29. 根据权利要求28所述的方法,其特征在于,还包括:The method according to claim 28, further comprising:
    若任意上报时间区间的分布情况均未满足所述第二集中要求,将预定超时时间作为指令超时时间。If the distribution of any reporting time interval does not meet the requirements of the second set, the predetermined timeout time is used as the instruction timeout time.
  30. 根据权利要求26所述的方法,其特征在于,所述确定所述多个上行数据上报间隔的第二数据分布特征包括:The method according to claim 26, wherein the second data distribution characteristic that determines the plurality of uplink data reporting intervals includes:
    确定所述多个上行数据上报间隔的第二离散程度;Determine a second degree of dispersion of the reporting interval of the plurality of uplink data;
    所述根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述终端的指令超时时间包括:The setting the command timeout period of the terminal according to the plurality of uplink data reporting intervals and the second data distribution characteristics includes:
    计算所述多个上行数据上报间隔的平均间隔时间;Calculating the average interval time of the reporting interval of the multiple uplink data;
    利用所述第二离散程度对所述平均间隔时间进行时间补偿,获得指令超时时间。Use the second degree of dispersion to perform time compensation on the average interval time to obtain an instruction timeout time.
  31. 根据权利要求30所述的方法,其特征在于,所述计算所述多个上行数据上报间隔的平均间隔时间包括:The method according to claim 30, wherein the calculating the average interval time of the plurality of uplink data reporting intervals comprises:
    如果所述第二离散程度未满足第二离散条件,计算所述多个上行数据上报间隔的平均间隔时间。If the second dispersion degree does not satisfy the second dispersion condition, calculate the average interval time of the multiple uplink data reporting intervals.
  32. 根据权利要求31所述的方法,其特征在于,还包括:The method according to claim 31, further comprising:
    如果所述第二离散程度满足所述第二离散条件,将预定超时时间作为指令超时时间。If the second discrete degree meets the second discrete condition, the predetermined timeout time is used as the instruction timeout time.
  33. 根据权利要求26所述的方法,其特征在于,还包括:The method of claim 26, further comprising:
    基于所述多个上行数据上报间隔,判断所述终端是否处于业务上报模式;Determine whether the terminal is in the service reporting mode based on the multiple uplink data reporting intervals;
    若是,执行所述确定所述多个上行数据上报间隔的第二数据分布特征的步骤;If yes, perform the step of determining the second data distribution characteristics of the plurality of uplink data reporting intervals;
    若否,获取所述终端针对多条下行指令的响应时间;If not, obtain the response time of the terminal for multiple downlink commands;
    确定所述多条下行指令响应时间的第一数据分布特征;Determining the first data distribution characteristics of the response time of the multiple downlink commands;
    根据所述多条下行指令响应时间及所述第一数据分布特征,设定所述终端的指令超时时间。The command timeout time of the terminal is set according to the response time of the multiple downlink commands and the first data distribution characteristics.
  34. 根据权利要求33所述的方法,其特征在于,所述基于所述多个上行数据上报间隔,判断所述终端是否处于业务上报模式包括:The method according to claim 33, wherein the determining whether the terminal is in the service reporting mode based on the plurality of uplink data reporting intervals includes:
    判断所述多个上行数据上报间隔是否均大于第二时间阈值;其中,若所述多个上行数据上报间隔均大于第二时间阈值,确定所述终端处于业务上报模式。Judging whether the plurality of uplink data reporting intervals are all greater than the second time threshold; wherein, if the plurality of uplink data reporting intervals are all greater than the second time threshold, it is determined that the terminal is in the service reporting mode.
  35. 一种信息判断方法,其特征在于,包括:An information judgment method, characterized in that it includes:
    向终端发送下行指令;Send a downlink command to the terminal;
    获取所述终端对应的指令超时时间;其中,所述指令超时时间为基于所述终端针对多条下行指令的响应时间以及所述多条下行指令响应时间的第一数据分布特征确定,或者基于所述终端多个上行数据上报间隔及所述多个上行数据上报间隔的第二数据分布特征确定;Obtain the instruction timeout time corresponding to the terminal; wherein the instruction timeout time is determined based on the terminal's response time for multiple downlink instructions and the first data distribution characteristics of the multiple downlink instruction response times, or based on Determining a plurality of uplink data reporting intervals of the terminal and second data distribution characteristics of the plurality of uplink data reporting intervals;
    基于所述指令超时时间判断所述下行指令是否执行失败。It is determined whether the execution of the downlink instruction fails based on the instruction timeout time.
  36. 一种信息确定方法,其特征在于,包括:An information determination method, characterized in that it includes:
    获取LoRa终端针对多条下行指令的响应时间;Obtain the response time of the LoRa terminal for multiple downlink commands;
    确定所述多条下行指令响应时间的第一数据分布特征;Determining the first data distribution characteristics of the response time of the multiple downlink commands;
    根据所述多条下行指令响应时间及所述第一数据分布特征,设定所述LoRa终端的指令超时时间。The command timeout time of the LoRa terminal is set according to the response time of the multiple downlink commands and the first data distribution characteristics.
  37. 一种信息确定方法,其特征在于,包括:An information determination method, characterized in that it includes:
    获取LoRa终端的多个上行数据上报间隔;Obtain multiple uplink data reporting intervals of LoRa terminals;
    确定所述多个上行数据上报间隔的第二数据分布特征;Determining the second data distribution characteristics of the plurality of uplink data reporting intervals;
    根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述LoRa终端的指令超时时间。The command timeout period of the LoRa terminal is set according to the multiple uplink data reporting intervals and the second data distribution characteristics.
  38. 一种信息判断方法,其特征在于,包括:An information judgment method, characterized in that it includes:
    向LoRa终端发送下行指令;Send a downlink command to the LoRa terminal;
    获取所述LoRa终端对应的指令超时时间;其中,所述指令超时时间为基于所述LoRa终端针对多条下行指令的响应时间以及所述多条下行指令响应时间的第一数据分布特征确定,或者基于所述LoRa终端多个上行数据上报间隔及所述多个上行数据上报间隔的第二数据分布特征确定;Obtain the command timeout time corresponding to the LoRa terminal; wherein the command timeout time is determined based on the first data distribution characteristic of the response time of the LoRa terminal for multiple downlink commands and the response time of the multiple downlink commands, or The second data distribution characteristics based on the multiple uplink data reporting intervals of the LoRa terminal and the multiple uplink data reporting intervals are determined;
    基于所述指令超时时间判断所述下行指令是否执行失败。It is determined whether the execution of the downlink instruction fails based on the instruction timeout time.
  39. 一种信息确定装置,其特征在于,包括:An information determination device, characterized in that it includes:
    响应时间获取模块,用于获取终端针对多条下行指令的响应时间;Response time acquisition module, used to obtain the response time of the terminal for multiple downlink commands;
    第一特征确定模块,用于确定所述多条下行指令响应时间的第一数据分布特征;A first feature determining module, configured to determine a first data distribution feature of the response time of the multiple downlink commands;
    第一时间确定模块,用于根据所述多条下行指令响应时间及所述第一数据分布特征,设定所述终端的指令超时时间。The first time determining module is configured to set the command timeout time of the terminal according to the response time of the multiple downlink commands and the first data distribution characteristics.
  40. 一种信息确定装置,其特征在于,包括:An information determination device, characterized in that it includes:
    间隔时间获取模块,用于获取终端的多个上行数据上报间隔;Interval time acquisition module, used to acquire multiple uplink data reporting intervals of the terminal;
    第二特征确定模块,用于确定所述多个上行数据上报间隔的第二数据分布特征;A second feature determining module, configured to determine a second data distribution feature of the multiple uplink data reporting intervals;
    第二时间确定模块,用于根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述终端的指令超时时间。The second time determining module is configured to set the command timeout time of the terminal according to the multiple uplink data reporting intervals and the second data distribution characteristics.
  41. 一种信息判断装置,其特征在于,包括:An information judgment device, characterized in that it includes:
    指令下发模块,用于向终端发送下行指令;Command issuing module, used to send downlink commands to the terminal;
    时间获取模块,用于获取所述终端对应的指令超时时间;其中,所述指令超时时间为基于所述终端针对多条下行指令的响应时间以及所述多条下行指令响应时间的第一数据分布特征确定,或者基于所述终端多个上行数据上报间隔及所述多个上行数据上报间隔的第二数据分布特征确定;A time obtaining module, configured to obtain an instruction timeout time corresponding to the terminal; wherein the instruction timeout time is a first data distribution based on the terminal's response time for multiple downlink instructions and the response time of the multiple downlink instructions Feature determination, or based on the second data distribution feature of the multiple uplink data reporting intervals of the terminal and the multiple uplink data reporting intervals;
    超时判断模块,用于基于所述指令超时时间判断所述下行指令是否执行失败。The timeout judgment module is configured to judge whether the execution of the downlink instruction fails based on the instruction timeout time.
  42. 一种计算设备,其特征在于,包括处理组件以及存储组件;A computing device, characterized in that it includes a processing component and a storage component;
    所述存储组件存储一个或多个计算机指令;所述一个或多个计算机指令用以被所述处理组件调用执行;The storage component stores one or more computer instructions; the one or more computer instructions are used to be executed by the processing component;
    所述处理组件用于:The processing component is used to:
    获取终端针对多条下行指令的响应时间;Obtain the response time of the terminal for multiple downlink commands;
    确定所述多条下行指令响应时间的第一数据分布特征;Determining the first data distribution characteristics of the response time of the multiple downlink commands;
    根据所述多条下行指令响应时间及所述第一数据分布特征,设定所述终端的指令超时时间。The command timeout time of the terminal is set according to the response time of the multiple downlink commands and the first data distribution characteristics.
  43. 一种计算设备,其特征在于,包括处理组件以及存储组件;A computing device, characterized in that it includes a processing component and a storage component;
    所述存储组件存储一个或多个计算机指令;所述一个或多个计算机指令用以被所述处理组件调用执行;The storage component stores one or more computer instructions; the one or more computer instructions are used to be executed by the processing component;
    所述处理组件用于:The processing component is used to:
    获取终端的多个上行数据上报间隔;Obtain multiple uplink data reporting intervals of the terminal;
    确定所述多个上行数据上报间隔的第二数据分布特征;Determining the second data distribution characteristics of the plurality of uplink data reporting intervals;
    根据所述多个上行数据上报间隔及所述第二数据分布特征,设定所述终端的指令超时时间。The command timeout period of the terminal is set according to the multiple uplink data reporting intervals and the second data distribution characteristics.
  44. 一种计算设备,其特征在于,包括处理组件以及存储组件;A computing device, characterized in that it includes a processing component and a storage component;
    所述存储组件存储一个或多个计算机指令;所述一个或多个计算机指令用以被所述处理组件调用执行;The storage component stores one or more computer instructions; the one or more computer instructions are used to be executed by the processing component;
    所述处理组件用于:The processing component is used to:
    向终端发送下行指令;Send a downlink command to the terminal;
    获取所述终端对应的指令超时时间;其中,所述指令超时时间为基于所述终端针对多条下行指令的响应时间以及所述多条下行指令响应时间的第一数据分布特征确定,或者基于所述终端多个上行数据上报间隔及所述多个上行数据上报间隔的第二数据分布特征确定;Obtain the instruction timeout time corresponding to the terminal; wherein the instruction timeout time is determined based on the terminal's response time for multiple downlink instructions and the first data distribution characteristics of the multiple downlink instruction response times, or based on Determining a plurality of uplink data reporting intervals of the terminal and second data distribution characteristics of the plurality of uplink data reporting intervals;
    基于所述指令超时时间判断所述下行指令是否执行失败。It is determined whether the execution of the downlink instruction fails based on the instruction timeout time.
PCT/CN2019/118681 2018-11-29 2019-11-15 Information determination method, information judgment method, apparatus, and computing device WO2020108326A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811447701.4A CN111245559B (en) 2018-11-29 2018-11-29 Information determination method, information judgment method and device and computing equipment
CN201811447701.4 2018-11-29

Publications (1)

Publication Number Publication Date
WO2020108326A1 true WO2020108326A1 (en) 2020-06-04

Family

ID=70854694

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/118681 WO2020108326A1 (en) 2018-11-29 2019-11-15 Information determination method, information judgment method, apparatus, and computing device

Country Status (3)

Country Link
CN (1) CN111245559B (en)
TW (1) TW202022602A (en)
WO (1) WO2020108326A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113723927A (en) * 2021-09-02 2021-11-30 中国建设银行股份有限公司 Report generation method and device, electronic equipment and computer storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3331187A1 (en) * 2016-12-05 2018-06-06 Alcatel Lucent Improved control of packet retransmission for low power wide area network
CN108509325A (en) * 2018-03-07 2018-09-07 北京三快在线科技有限公司 System time-out time is dynamically determined method and apparatus
CN108650688A (en) * 2018-08-22 2018-10-12 苏州凌犀物联网技术有限公司 A kind of method and Lora gateways of sweep check
CN108834213A (en) * 2018-04-04 2018-11-16 西安电子科技大学 Low downlink delays communication means and system in a kind of Internet of Things

Family Cites Families (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9818136B1 (en) * 2003-02-05 2017-11-14 Steven M. Hoffberg System and method for determining contingent relevance
US8955033B2 (en) * 2008-11-25 2015-02-10 Citrix Systems, Inc. Systems and methods for HTTP callouts for policies
CN103428037A (en) * 2012-05-16 2013-12-04 华为技术有限公司 User online detecting method, device and system
JP6171386B2 (en) * 2013-02-15 2017-08-02 オムロン株式会社 Controller, information processing apparatus and program
CN105451260B (en) * 2014-08-12 2019-12-20 优视科技有限公司 Network request method, network fluctuation measuring method and device
CN105868002B (en) * 2015-01-22 2020-02-21 阿里巴巴集团控股有限公司 Method and device for processing retransmission request in distributed computing
CN104732075B (en) * 2015-03-06 2017-07-07 中山大学 A kind of Urban Road Traffic Accidents risk real-time predicting method
US9752840B1 (en) * 2015-05-05 2017-09-05 Jonpaul Betro Internet of things (IoT) automated intelligence module (AIM) and management system
CN110222923A (en) * 2015-09-11 2019-09-10 福建师范大学 Dynamically configurable big data analysis system
CN105208125B (en) * 2015-09-30 2019-12-17 百度在线网络技术(北京)有限公司 message transmission method, device and system
CN106161140B (en) * 2016-06-28 2019-07-02 中国联合网络通信集团有限公司 Determine method, monitoring node and the group system of monitored node working condition
US10321397B2 (en) * 2016-11-09 2019-06-11 Cisco Technology, Inc. System and method to facilitate power management in a long range radio network environment
US10680883B2 (en) * 2017-01-04 2020-06-09 Hall Labs Llc Devices and systems for consumer-installed hub-based intermediate-range packetized wireless networks utilizing assignable operational channels
JP6772860B2 (en) * 2017-01-27 2020-10-21 コニカミノルタ株式会社 Communication systems, image processing equipment, and computer programs
EP3389316A1 (en) * 2017-04-10 2018-10-17 Viloc NV Automated asset tracking
CN108182134A (en) * 2017-12-29 2018-06-19 顺丰科技有限公司 A kind of general-purpose interface monitoring method, device and equipment, storage medium
CN108306776B (en) * 2018-04-19 2021-07-13 腾讯科技(深圳)有限公司 Information prompting method, device and system and computer readable storage medium
CN108615186A (en) * 2018-05-11 2018-10-02 深圳市口袋网络科技有限公司 A kind of method of charging out and its device, equipment and storage medium
CN108900776B (en) * 2018-08-22 2020-11-27 北京百度网讯科技有限公司 Method and apparatus for determining response time

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3331187A1 (en) * 2016-12-05 2018-06-06 Alcatel Lucent Improved control of packet retransmission for low power wide area network
CN108509325A (en) * 2018-03-07 2018-09-07 北京三快在线科技有限公司 System time-out time is dynamically determined method and apparatus
CN108834213A (en) * 2018-04-04 2018-11-16 西安电子科技大学 Low downlink delays communication means and system in a kind of Internet of Things
CN108650688A (en) * 2018-08-22 2018-10-12 苏州凌犀物联网技术有限公司 A kind of method and Lora gateways of sweep check

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
"Non-official translation: Learning LoRa: Acceptance and Delivery Process of LoRa Data (FIFO)", SEARCHED FROM INTERNET: <URL: HTTPS://BLOG.CSDN.NET/HOWIEXUE/ARTICLE/DETAILS/78049603>, 27 September 2017 (2017-09-27), DOI: 20200111225108Y *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113723927A (en) * 2021-09-02 2021-11-30 中国建设银行股份有限公司 Report generation method and device, electronic equipment and computer storage medium

Also Published As

Publication number Publication date
TW202022602A (en) 2020-06-16
CN111245559B (en) 2023-04-18
CN111245559A (en) 2020-06-05

Similar Documents

Publication Publication Date Title
WO2020220739A1 (en) Request control method, related device, and computer storage medium
CN106330757B (en) Flow control method and device
US8069236B2 (en) Flow control of events based on threshold, grace period, and event signature
EP1486031A1 (en) Method, system and computer program for determining network operational characteristics of software applications
US9621447B2 (en) Bandwidth measuring device, bandwidth measuring method and non-transitory computer readable medium
WO2015081685A1 (en) Processing method and apparatus for quality of service
WO2016177247A1 (en) Method and device for adjusting application window
CN111142942B (en) Window data processing method and device, server and storage medium
WO2020108326A1 (en) Information determination method, information judgment method, apparatus, and computing device
CN103546514A (en) Method and system for processing delay-transmitted log data
CN105791144A (en) Method and apparatus for sharing link traffic
US20220248259A1 (en) Data processing method and apparatus
CN108631897B (en) A kind of correcting time in network method and device
US8725868B2 (en) Interactive service management
CN110098976B (en) Network parameter measuring method and device, computer equipment and storage medium
US20150281008A1 (en) Automatic derivation of system performance metric thresholds
WO2017096837A1 (en) Inter-node distance measurement method and system
CN1860734A (en) Method and apparatus for network throughput measurement
US8745245B1 (en) System and method for offline detection
WO2021234764A1 (en) Burst traffic detection device, burst traffic detection method and burst traffic detection program
JP2013088967A (en) Printing system
CN112866767B (en) Screen projection control method and device, electronic equipment and storage medium
CN113949741A (en) Scheduling method, scheduling device, electronic equipment and storage medium
CN110572299A (en) equipment testing method, system, device, network node, terminal and storage medium
CN108833214A (en) A kind of methods, devices and systems of industry control network detection

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19888385

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19888385

Country of ref document: EP

Kind code of ref document: A1