CN113709257A - Message cache expiration monitoring method, device, equipment and medium - Google Patents
Message cache expiration monitoring method, device, equipment and medium Download PDFInfo
- Publication number
- CN113709257A CN113709257A CN202111175597.XA CN202111175597A CN113709257A CN 113709257 A CN113709257 A CN 113709257A CN 202111175597 A CN202111175597 A CN 202111175597A CN 113709257 A CN113709257 A CN 113709257A
- Authority
- CN
- China
- Prior art keywords
- instruction
- message
- internet
- state
- things
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 60
- 238000012544 monitoring process Methods 0.000 title claims abstract description 37
- 238000012545 processing Methods 0.000 claims abstract description 41
- 238000004891 communication Methods 0.000 claims description 89
- 238000004590 computer program Methods 0.000 claims description 15
- 230000008569 process Effects 0.000 description 15
- 230000003139 buffering effect Effects 0.000 description 10
- 238000010586 diagram Methods 0.000 description 5
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000012806 monitoring device Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000005540 biological transmission Effects 0.000 description 1
- 238000010276 construction Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000003973 irrigation Methods 0.000 description 1
- 230000002262 irrigation Effects 0.000 description 1
- 244000144972 livestock Species 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 239000000779 smoke Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/54—Presence management, e.g. monitoring or registration for receipt of user log-on information, or the connection status of the users
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/56—Provisioning of proxy services
- H04L67/568—Storing data temporarily at an intermediate stage, e.g. caching
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/28—Timers or timing mechanisms used in protocols
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computer Security & Cryptography (AREA)
- Computer And Data Communications (AREA)
Abstract
The invention relates to the technology of Internet of things, and provides a method, a device, equipment and a medium for monitoring message cache expiration, wherein the method comprises the following steps: if the instruction message and the instruction content issued by the application equipment of the Internet of things are detected, acquiring the equipment ID included in the instruction message and the cache time included in the instruction content; if the caching time is determined to be not 0, storing the instruction message into a message caching queue, and after the caching time is expired, setting the instruction state of the instruction message to be an overdue state or acquiring a processing result corresponding to the instruction message according to the online state of the Internet of things equipment; if the caching time is determined to be 0 and the Internet of things equipment is online, sending the instruction message to the Internet of things terminal; and if the cache time is determined to be 0 and the Internet of things equipment is offline, setting the instruction state to be an overdue state. The method and the device realize multidimensional judgment based on the cache duration, the online and offline state of the equipment, the instruction issuing state and the like, improve the accuracy of the instruction message cache expiration judgment, and enhance the real-time performance and the sequential timeliness of the whole instruction cycle.
Description
Technical Field
The invention relates to the technical field of Internet of things, in particular to a message cache expiration monitoring method and device, computer equipment and a storage medium.
Background
The application of the internet of things needs To issue instruction messages To the terminal device through the enabling platform, set a corresponding validity TTL value (where, the TTL is called Time To Live, and represents the Time To Live) for each message, and hope To obtain the state information of the device instruction through the enabling platform.
The currently common instruction message expiration judging method is mostly implemented by using a message storage database and a timing scanning database. The reading and writing pressure of the database can be increased when the scanning period is short, and the speed is relatively low; the long scan period may result in poor real-time performance and increase unnecessary consumption of memory resources.
Moreover, most of the currently used instruction message expiration judging methods cannot process instruction information according to online and offline conditions of equipment, and have the following defects:
1) the method comprises the steps of uniformly judging whether the offline instruction message is overdue after the device is online, then sending the message which is not overdue to the device, and discarding the overdue instruction. The method depends on the on-line time of the equipment, increases the consumption of instruction message storage resources and cannot update the state of the instruction message in time;
2) some methods do not care whether the device is online or not, and the platform directly issues the message to the device after receiving the message, which may cause unnecessary message issuing network resource consumption and possibly cause instruction loss due to issuing failure.
Disclosure of Invention
The embodiment of the invention provides a message cache expiration monitoring method, a message cache expiration monitoring device, computer equipment and a storage medium, and aims to solve the problems that instruction information cannot be distinguished and processed according to the online and offline conditions of the equipment and the instruction message cache expiration judgment accuracy is low in the prior art.
In a first aspect, an embodiment of the present invention provides a method for monitoring an expiration of a message cache, where the method includes:
if detecting an instruction message and instruction content issued by application equipment of the Internet of things, acquiring the communication protocol type of the Internet of things corresponding to the instruction message and the instruction content, and equipment ID included in the instruction message and cache time included in the instruction content;
if the caching time is determined to be not 0, storing the instruction message into a message caching queue, and after the caching time is expired, determining whether the instruction state of the instruction message is set to be an overdue state or acquiring a processing result corresponding to the instruction message according to the online state of the Internet of things equipment;
if the cache time is determined to be 0 and the Internet of things equipment is online, the instruction message is sent to the Internet of things terminal; and
and if the cache time is determined to be 0 and the Internet of things equipment is offline, setting the instruction state of the instruction message to be an overdue state.
In a second aspect, an embodiment of the present invention provides a device for monitoring an expiration of a message cache, including:
the command parameter acquiring unit is used for acquiring the communication protocol type of the internet of things corresponding to the command message and the command content, the equipment ID included in the command message and the cache time included in the command content if the command message and the command content issued by the application equipment of the internet of things are detected;
the first execution unit is used for storing the instruction message into a message cache queue if the cache time is determined to be not 0, and determining whether the instruction state of the instruction message is set to be an overdue state or acquiring a processing result corresponding to the instruction message according to the online state of the Internet of things equipment after the cache time is expired;
the second execution unit is used for sending the instruction message to the Internet of things terminal if the cache time is determined to be 0 and the Internet of things equipment is online; and
and the third execution unit is used for setting the instruction state of the instruction message to be an overdue state if the cache time is determined to be 0 and the Internet of things equipment is offline.
In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor implements the message cache expiration monitoring method according to the first aspect when executing the computer program.
In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and the computer program, when executed by a processor, causes the processor to execute the message cache expiration monitoring method according to the first aspect.
The embodiment of the invention provides a message cache expiration monitoring method, a message cache expiration monitoring device, computer equipment and a storage medium, wherein if instruction messages and instruction contents issued by application equipment of the Internet of things are detected, corresponding communication protocol types of the Internet of things and cache time included by equipment IDs (identity) and the instruction contents included by the instruction messages are acquired; if the caching time is determined to be not 0, storing the instruction message into a message caching queue, and after the caching time is expired, determining whether the instruction state of the instruction message is set to be an overdue state or acquiring a processing result corresponding to the instruction message according to the online state of the Internet of things equipment; if the caching time is determined to be 0 and the Internet of things equipment is online, sending the instruction message to the Internet of things terminal; and if the cache time is determined to be 0 and the Internet of things equipment is offline, setting the instruction state to be an overdue state. The method and the device realize reference judgment based on multiple dimensions such as cache duration, equipment online and offline state, instruction issuing state and the like, increase the accuracy of instruction message cache expiration judgment, and enhance the real-time performance and sequential timeliness of the whole instruction cycle.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic view of an application scenario of a message cache expiration monitoring method according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a message cache expiration monitoring method according to an embodiment of the present invention;
fig. 3 is a schematic block diagram of a message cache expiration monitoring apparatus according to an embodiment of the present invention;
FIG. 4 is a schematic block diagram of a computer device provided by an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Referring to fig. 1 and fig. 2, fig. 1 is a schematic view of an application scenario of a message cache expiration monitoring method according to an embodiment of the present invention; fig. 2 is a schematic flow chart of a message cache expiration monitoring method according to an embodiment of the present invention, where the message cache expiration monitoring method is applied to an internet of things server, and the message cache expiration monitoring method is executed by application software installed in the internet of things server.
As shown in fig. 2, the method includes steps S101 to S104.
S101, if detecting an instruction message and instruction content issued by application equipment of the Internet of things, acquiring the communication protocol type of the Internet of things corresponding to the instruction message and the instruction content, and equipment ID included in the instruction message and cache time included in the instruction content.
In this embodiment, the technical solution is described with an internet of things server as an execution subject. The internet of things application device can send the instruction to the internet of things server firstly, and then the internet of things server sends the instruction to the internet of things setting (also can be understood as an internet of things terminal).
When the Internet of things server detects instruction messages and instruction contents issued by the Internet of things application equipment, the instruction messages and the instruction contents are received and stored. When the instruction message and the instruction content are received and stored, the communication protocol type (such as LWM2M protocol, MQTT protocol, TCP protocol, etc.) of the internet of things corresponding to the instruction message and the instruction content, the device ID included in the instruction message, and the cache time included in the instruction content may be obtained. And then the Internet of things server judges the instruction expiration result in a multi-dimensional manner, such as caching time, equipment online and offline state, instruction issuing state and the like, of the instruction message.
In order to more clearly understand the technical solution of the present application, the following five states of the instruction message may be predefined, which are: A1) the command is in a stored state and indicates that the internet of things application equipment successfully issues to the internet of things server; A2) the instruction is sent to indicate that the server of the Internet of things successfully sends the instruction to the terminal of the Internet of things; A3) the command is sent to/completed, and the internet of things server receives the reply of the internet of things terminal; A4) the instruction sending overtime state indicates that the Internet of things server does not receive the reply of the Internet of things terminal after the retransmission time is exceeded; A5) and the instruction overtime state indicates that the instruction is not issued after the set TTL time is exceeded.
The method and the device have the advantages that the mode of the resource pool plus the message queue is adopted, and on the basis of saving resource consumption and improving performance as much as possible, the characteristics of sequence, timeliness, flow integrity, instantaneity and the like of the instruction message of the Internet of things are achieved.
S102, if the caching time is determined to be not 0, storing the instruction message into a message caching queue, and after the caching time is expired, determining whether the instruction state of the instruction message is set to be an overdue state or acquiring a processing result corresponding to the instruction message according to the online state of the Internet of things equipment.
In this embodiment, when the internet of things server receives an instruction message and an instruction content sent by an application device of the internet of things, it is necessary to determine whether the cache time is 0, that is, whether the TTL time is 0(0 indicates that the instruction does not need to be cached) first. If the cache time is not 0, the judgment of the message cache expiration is required.
When the internet of things equipment and the internet of things platform establish communication, the communication is not limited to one of LWM2M protocol, MQTT protocol, TCP protocol and the like, and various protocol types in the field of supporting internet of things can be adopted. However, for specific understanding of the technical solution, the LWM2M protocol or MQTT protocol is used for illustration in the present application.
The LWM2M in the LWM2M protocol is called light Machine to Machine (LightWeight device-to-device protocol), is an internet of things protocol defined by OMA (open mobile alliance), and can be mainly used in embedded devices with limited resources (including storage, power consumption, and the like); the MQTT protocol is called a Message Queuing telemeasurement Transport (referred to as Message queue Telemetry Transport) and is a "lightweight" communication protocol based on publish/subscribe (publish/subscribe) mode, which is built on TCP/IP protocol and published by IBM in 1999.
The LWM2M protocol is a resource-limited protocol, is mostly used in NB networks, has limited device and network cache processing capabilities, and can process only one packet at a time, so in order to prevent an instruction from being lost or exceeding the device processing limit, it is necessary to confirm that processing of one instruction is completed, and then issue the next instruction.
The MQTT protocol equipment is mostly used for 2/3/4G, the equipment resources are relatively sufficient, the equipment resources are realized based on a TCP protocol, the processing capacity of a network and the equipment is relatively high, and queuing and issuing are not needed.
If the cache time is determined to be not 0, the instruction message is stored in a message cache queue no matter what communication protocol is adopted, and after the cache time expires (wherein the expiration of the cache time means that the cache time is updated to 0 after waiting for the time corresponding to the cache time), the instruction state of the instruction message is determined to be set to an overdue state or a processing result corresponding to the instruction message is obtained only according to the online state of the internet of things equipment.
In one embodiment, step S102 includes:
if the type of the communication protocol of the internet of things is determined to be a preset first type communication protocol and the caching time is not 0, after the caching time is expired, if the internet of things equipment is in an offline state, setting the instruction state of the instruction message to be in an overdue state.
In this embodiment, if it is determined that the type of the internet of things communication protocol is a preset first type communication protocol (for example, the first type communication protocol is the LWM2M protocol) and the internet of things device is in an offline state, it is directly determined that the instruction state is an instruction state of an expiration period (corresponding to the above listed instruction state a5), so that the instruction expiration period can be accurately determined.
In one embodiment, step S102 further includes:
if the type of the Internet of things communication protocol is determined to be a preset first type communication protocol and the caching time is not 0, after the caching time is expired, if the Internet of things equipment is in an online state and the instruction message is in a message caching queue, deleting the instruction message from the message issuing queue, and setting the instruction state of the instruction message to be in an overdue state.
In this embodiment, if it is determined that the internet of things communication protocol type is the preset first type communication protocol and the cache time is not 0, it is further determined that, after the cache time expires, if the internet of things device is in an online state and the instruction message is in the message issuing queue, the instruction message is deleted from the message issuing queue, and the instruction state of the instruction message is set to an overdue state, that is, the instruction message is deleted from the message issuing queue before the instruction state is determined to be an overdue state (corresponding to the instruction state listed as a5), so that the instruction overdue can be accurately determined.
In one embodiment, step S102 further includes:
if the type of the Internet of things communication protocol is determined to be a preset first type communication protocol and the caching time is not 0, after the caching time is expired, if the Internet of things equipment is in an online state and the instruction message is not in the message caching queue, a processing result corresponding to the instruction message is obtained.
In this embodiment, if it is determined that the type of the internet of things communication protocol is the preset first type communication protocol and the buffering time is not 0, it is further determined that after the buffering time expires, if the internet of things device is in an online state and the instruction message is not in the message issuing queue, the instruction state during the issuing process (corresponding to the enumerated instruction state of a2) of the instruction) is described, the timeout determination result of the instruction is ignored, and the instruction state of the normal processing result (corresponding to the enumerated instruction state of A3) or a4) of the instruction) is waited.
When a first type communication protocol is adopted and the Internet of things equipment is in an online state, the instruction message is synchronously written into an instruction message issuing queue of the Internet of things equipment process (the instruction message issuing queue refers to a queue issued sequentially under the online condition of the equipment and is different from a message cache queue). After the instruction message enters the instruction message issuing queue, the instruction message is sequentially queued according to the sequence and issued to the Internet of things equipment. When the instruction message is issued, taking out a first instruction from the issuing queue and deleting the instruction from the issuing queue; clearing the instruction in an instruction message cache queue after the completion of the instruction issuing state is confirmed;
when the caching time is not 0, the instruction message is stored in the message caching queue no matter whether the equipment is on line or not. The message buffer queue is in a resource pool mode, and a plurality of resource pools (for example, 8 resource pools) are used for random writing and processing of instruction messages. And inquiring the progress queue of the resource pool once according to the set time length (for example: 1s) for each resource pool. And for the instruction with the TTL not exceeding the period, if the instruction is not exceeded or issued, the instruction is continuously stored in the message buffer queue.
In one embodiment, step S102 further includes:
if the type of the communication protocol of the internet of things is determined to be a preset second type communication protocol and the caching time is not 0, after the caching time is expired, if the equipment of the internet of things is in an off-line state, setting the instruction state of the instruction message to be in an overdue state.
In this embodiment, if it is determined that the type of the internet of things communication protocol is a preset second type communication protocol (for example, the second type communication protocol is an MQTT protocol) and the internet of things device is in an offline state, the instruction state is directly determined to be an instruction state of an expiration period (corresponding to the above listed a5), so that the instruction expiration period can be accurately determined.
In one embodiment, step S102 further includes:
if the type of the Internet of things communication protocol is determined to be a preset second type communication protocol and the caching time is not 0, after the caching time is expired, if the Internet of things equipment is in an online state, a processing result corresponding to the instruction message is obtained.
In this embodiment, if it is determined that the type of the internet of things communication protocol is a second type communication protocol that is preset and the buffering time is not 0, after the buffering time expires, it is further determined that the internet of things device is in an online state, and whether the instruction message is in the message buffering queue or not indicates the instruction state of the instruction in the issuing process (corresponding to the enumerated instruction state of a2), the timeout determination result of the instruction is ignored, and the instruction state of the normal processing result of the instruction (corresponding to the enumerated instruction state of A3) or the instruction state of a4) is waited.
When a second type communication protocol is adopted and the Internet of things equipment is in an online state, the instruction message is directly issued to the Internet of things equipment; clearing the instruction in an instruction message cache queue after the completion of the instruction issuing state is confirmed;
when the second type communication protocol is adopted, if the caching time is not 0, the instruction message is stored into the message caching queue no matter whether the equipment is on-line or not. The message buffer queue is in a resource pool mode, and a plurality of resource pools (for example, 8 resource pools) are used for random writing and processing of instruction messages. And inquiring the progress queue of the resource pool once according to the set time length (for example: 1s) for each resource pool. And for the instruction with the TTL not exceeding the period, if the instruction is not exceeded or issued, the instruction is continuously stored in the message buffer queue.
S103, if the cache time is determined to be 0 and the Internet of things equipment is online, the instruction message is sent to the Internet of things terminal.
In this embodiment, no matter the first type communication protocol or the second type communication protocol is used, as long as it is determined that the cache time is 0 and the internet of things device is online, the instruction message is immediately sent to the instruction state of the internet of things device (corresponding to the listed a 2).
And S104, if the cache time is determined to be 0 and the Internet of things equipment is offline, setting the instruction state of the instruction message to be an overdue state.
In this embodiment, no matter the first type communication protocol or the second type communication protocol is used, as long as it is determined that the cache time is 0 and the internet of things device is offline, the instruction state is directly determined to be the instruction state of the timeout period (corresponding to the above listed instruction state a5), so that the instruction timeout period can be accurately determined.
Therefore, the message caching judgment is carried out in a resource pool process queue mode, the transverse expansion can be realized, and the expandability is strong; in addition, the instruction state information is inquired in a process queue mode, the overdue instruction information is processed asynchronously, and the processing speed is relatively high.
In view of accurate monitoring of the message caching expiration in the scheme, the scheme can be popularized to a more general internet of things industry scene. Such as:
smart city: intelligent parking, fire hydrant, water/gas meter, intelligent dustbin, street lamp, smoke alarm, etc.;
personal life: wearable devices, item tracking, etc.;
industrial & agricultural: gas detection, irrigation control, livestock management and control and the like;
the intelligent home furnishing comprises: intelligent door lock, household electrical appliances monitoring and the like.
The method realizes reference judgment based on multiple dimensions such as cache duration, equipment online and offline state, instruction issuing state and the like, increases the accuracy of instruction message cache expiration judgment, and enhances the real-time property, sequential timeliness and integrity of the whole instruction cycle.
The embodiment of the invention also provides a message cache expiration monitoring device, which is used for executing any embodiment of the message cache expiration monitoring method. Specifically, referring to fig. 3, fig. 3 is a schematic block diagram of a message buffer expiration monitoring apparatus 100 according to an embodiment of the present invention.
As shown in fig. 3, the message buffer expiration monitoring apparatus 100 includes a parameter to be instructed obtaining unit 101, a first executing unit 102, a second executing unit 103, and a third executing unit 104.
The instruction parameter obtaining unit 101 is configured to, if an instruction message and instruction content issued by an internet of things application device are detected, obtain an internet of things communication protocol type corresponding to the instruction message and the instruction content, and a device ID included in the instruction message and a cache time included in the instruction content.
In this embodiment, the technical solution is described with an internet of things server as an execution subject. The internet of things application device can send the instruction to the internet of things server firstly, and then the internet of things server sends the instruction to the internet of things device (also can be understood as an internet of things terminal).
When the Internet of things server detects instruction messages and instruction contents issued by the Internet of things application equipment, the instruction messages and the instruction contents are received and stored. When the instruction message and the instruction content are received and stored, the communication protocol type (such as LWM2M protocol, MQTT protocol, TCP protocol, etc.) of the internet of things corresponding to the instruction message and the instruction content, the device ID included in the instruction message, and the cache time included in the instruction content may be obtained. And then the Internet of things server judges the instruction expiration result in a multi-dimensional manner, such as caching time, equipment online and offline state, instruction issuing state and the like, of the instruction message.
In order to more clearly understand the technical solution of the present application, the following five states of the instruction message may be predefined, which are: A1) the command is in a stored state and indicates that the internet of things application equipment successfully issues to the internet of things server; A2) the instruction is sent to indicate that the server of the Internet of things successfully sends the instruction to the terminal of the Internet of things; A3) the command is sent to/completed, and the internet of things server receives the reply of the internet of things terminal; A4) the instruction sending overtime state indicates that the Internet of things server does not receive the reply of the Internet of things terminal after the retransmission time is exceeded; A5) and the instruction overtime state indicates that the instruction is not issued after the set TTL time is exceeded.
The method and the device have the advantages that the mode of the resource pool plus the message queue is adopted, and on the basis of saving resource consumption and improving performance as much as possible, the characteristics of sequence, timeliness, flow integrity, instantaneity and the like of the instruction message of the Internet of things are achieved.
The first execution unit 102 is configured to store the instruction message into a message cache queue if it is determined that the cache time is not 0, and after the cache time expires, determine to set the instruction state of the instruction message to an overdue state or obtain a processing result corresponding to the instruction message according to whether the internet of things device is in an online state.
In this embodiment, when the internet of things server receives an instruction message and an instruction content sent by an application device of the internet of things, it is necessary to determine whether the cache time is 0, that is, whether the TTL time is 0(0 indicates that the instruction does not need to be cached) first. If the cache time is not 0, the judgment of the message cache expiration is required.
When the internet of things equipment and the internet of things platform establish communication, the communication is not limited to one of LWM2M protocol, MQTT protocol, TCP protocol and the like, and various protocol types in the field of supporting internet of things can be adopted. However, for specific understanding of the technical solution, the LWM2M protocol or MQTT protocol is used for illustration in the present application.
The LWM2M in the LWM2M protocol is called light Machine to Machine (LightWeight device-to-device protocol), is an internet of things protocol defined by OMA (open mobile alliance), and can be mainly used in embedded devices with limited resources (including storage, power consumption, and the like); the MQTT protocol is called a Message Queuing telemeasurement Transport (referred to as Message queue Telemetry Transport) and is a "lightweight" communication protocol based on publish/subscribe (publish/subscribe) mode, which is built on TCP/IP protocol and published by IBM in 1999.
The LWM2M protocol is a resource-limited protocol, is mostly used in NB networks, has limited device and network cache processing capabilities, and can process only one packet at a time, so in order to prevent an instruction from being lost or exceeding the device processing limit, it is necessary to confirm that processing of one instruction is completed, and then issue the next instruction.
The MQTT protocol equipment is mostly used for 2/3/4G, the equipment resources are relatively sufficient, the equipment resources are realized based on a TCP protocol, the processing capacity of a network and the equipment is relatively high, and queuing and issuing are not needed.
If the cache time is determined to be not 0, after the cache time is expired, determining to set the instruction state of the instruction message to be an overdue state or to obtain a processing result corresponding to the instruction message only according to the online state of the Internet of things equipment no matter what communication protocol is adopted.
In one embodiment, the first execution unit 102 includes:
and the first sub-execution unit is used for setting the instruction state of the instruction message to be an overdue state if the type of the internet of things communication protocol is determined to be a preset first type communication protocol and the caching time is not 0 and if the internet of things equipment is in an offline state after the caching time expires.
In this embodiment, if it is determined that the type of the internet of things communication protocol is a preset first type communication protocol (for example, the first type communication protocol is the LWM2M protocol) and the internet of things device is in an offline state, it is directly determined that the instruction state is an instruction state of an expiration period (corresponding to the above listed instruction state a5), so that the instruction expiration period can be accurately determined.
In an embodiment, the first execution unit 102 further includes:
and the second sub-execution unit is used for deleting the instruction message from the message issuing queue and setting the instruction state of the instruction message to be in an overdue state if the type of the Internet of things communication protocol is determined to be a preset first type communication protocol and the caching time is not 0 and if the Internet of things equipment is in an online state and the instruction message is in the message issuing queue after the caching time is expired.
In this embodiment, if it is determined that the internet of things communication protocol type is the preset first type communication protocol and the cache time is not 0, it is further determined that, after the cache time expires, the internet of things device is in an online state and the instruction message is in the message issuing queue, the instruction message is deleted from the message issuing queue, and the instruction state of the instruction message is set to an overdue state, that is, the instruction message is deleted from the message cache queue before the instruction state is determined to be an overdue state (corresponding to the instruction state listed as a5), so that the instruction overdue can be accurately determined.
In an embodiment, the first execution unit 102 further includes:
and the third sub-execution unit is used for acquiring a processing result corresponding to the instruction message if the type of the internet of things communication protocol is determined to be the preset first type communication protocol and the caching time is not 0 and if the internet of things equipment is in an online state and the instruction message is not in the message issuing queue after the caching time expires.
In this embodiment, if it is determined that the internet of things communication protocol type is the preset first type communication protocol and the buffering time is not 0, it is further determined that, after the buffering time expires, the internet of things device is in an online state and the instruction message is not in the message issuing queue, which indicates that the instruction is in an instruction state in the issuing process (corresponding to the enumerated instruction state of a2), the timeout determination result of the instruction is ignored, and the instruction state of the normal processing result of the instruction (corresponding to the enumerated instruction state of A3) or a4) is waited.
When a first type communication protocol is adopted and the Internet of things equipment is in an online state, the instruction message is synchronously written into an instruction message issuing queue of the Internet of things equipment process (the instruction message issuing queue refers to a queue issued sequentially under the online condition of the equipment and is different from a message cache queue). After the instruction message enters the instruction message issuing queue, the instruction message is sequentially queued according to the sequence and issued to the Internet of things equipment. When the instruction message is issued, taking out a first instruction from the issuing queue and deleting the instruction from the issuing queue; clearing the instruction in an instruction message cache queue after the completion of the instruction issuing state is confirmed;
when the caching time is not 0, the instruction message is stored in the message caching queue no matter whether the equipment is on line or not. The message buffer queue is in a resource pool mode, and a plurality of resource pools (for example, 8 resource pools) are used for random writing and processing of instruction messages. And inquiring the progress queue of the resource pool once according to the set time length (for example: 1s) for each resource pool. And for the instruction with the TTL not exceeding the period, if the instruction is not exceeded or issued, the instruction is continuously stored in the message buffer queue.
In an embodiment, the first execution unit 102 further includes:
and the fourth sub-execution unit is used for setting the instruction state of the instruction message to be an overdue state if the type of the internet of things communication protocol is determined to be a preset second type communication protocol and the caching time is not 0 and if the internet of things equipment is in an offline state after the caching time expires.
In this embodiment, if it is determined that the type of the internet of things communication protocol is a preset second type communication protocol (for example, the second type communication protocol is an MQTT protocol) and the internet of things device is in an offline state, the instruction state is directly determined to be an instruction state of an expiration period (corresponding to the above listed a5), so that the instruction expiration period can be accurately determined.
In an embodiment, the first execution unit 102 further includes:
and the fifth sub-execution unit is configured to, if it is determined that the type of the internet of things communication protocol is a preset second type communication protocol and the cache time is not 0, obtain, after the cache time expires, a processing result corresponding to the instruction message if the internet of things device is in an online state.
In this embodiment, if it is determined that the type of the internet of things communication protocol is a second type communication protocol that is preset and the buffering time is not 0, it is further determined that, after the buffering time expires, the internet of things device is in an online state, and whether the instruction message is in the message buffering queue or not, the instruction message indicates an instruction state during a process of issuing the instruction (corresponding to the enumerated instruction state of a2), an overdue determination result of the instruction is ignored, and an instruction state of a normal processing result of the instruction (corresponding to the enumerated instruction state of A3) or the instruction state of a4) is waited.
When a second type communication protocol is adopted and the Internet of things equipment is in an online state, the instruction message is directly issued to the Internet of things equipment; clearing the instruction in an instruction message cache queue after the completion of the instruction issuing state is confirmed;
when the second type communication protocol is adopted, if the caching time is not 0, the instruction message is stored into the message caching queue no matter whether the equipment is on-line or not. The message buffer queue is in a resource pool mode, and a plurality of resource pools (for example, 8 resource pools) are used for random writing and processing of instruction messages. And inquiring the progress queue of the resource pool once according to the set time length (for example: 1s) for each resource pool. And for the instruction with the TTL not exceeding the period, if the instruction is not exceeded or issued, the instruction is continuously stored in the message buffer queue.
And the second execution unit 103 is configured to send the instruction message to the internet of things terminal if it is determined that the cache time is 0 and the internet of things device is online.
In this embodiment, no matter the first type communication protocol or the second type communication protocol is used, as long as it is determined that the cache time is 0 and the internet of things device is online, the instruction message is immediately sent to the instruction state of the internet of things device (corresponding to the listed a 2).
A third execution unit 104, configured to set the instruction state of the instruction message to an overdue state if it is determined that the cache time is 0 and the internet of things device is offline.
In this embodiment, no matter the first type communication protocol or the second type communication protocol is used, as long as it is determined that the cache time is 0 and the internet of things device is offline, the instruction state is directly determined to be the instruction state of the timeout period (corresponding to the above listed instruction state a5), so that the instruction timeout period can be accurately determined.
Therefore, the message caching judgment is carried out in a resource pool process queue mode, the transverse expansion can be realized, and the expandability is strong; in addition, the instruction state information is inquired in a process queue mode, the overdue instruction information is processed asynchronously, and the processing speed is relatively high.
The device realizes reference judgment based on multiple dimensions such as cache duration, equipment online and offline state, instruction issuing state and the like, increases the accuracy of instruction message cache expiration judgment, and enhances the real-time property, sequential timeliness and integrity of the whole instruction cycle.
The message buffer expiry monitoring means may be implemented in the form of a computer program which may be run on a computer device as shown in fig. 4.
Referring to fig. 4, fig. 4 is a schematic block diagram of a computer device according to an embodiment of the present invention. The computer device 500 is an internet of things server.
Referring to fig. 4, the computer apparatus 500 includes a processor 502, a memory, which may include a storage medium 503 and an internal memory 504, and a network interface 505 connected by a device bus 501.
The storage medium 503 may store an operating device 5031 and a computer program 5032. The computer program 5032, when executed, may cause the processor 502 to perform a message cache expiration monitoring method.
The processor 502 is used to provide computing and control capabilities that support the operation of the overall computer device 500.
The internal memory 504 provides an environment for the operation of the computer program 5032 in the storage medium 503, and when the computer program 5032 is executed by the processor 502, the processor 502 may be enabled to perform the message cache expiration monitoring method.
The network interface 505 is used for network communication, such as providing transmission of data information. Those skilled in the art will appreciate that the configuration shown in fig. 4 is a block diagram of only a portion of the configuration associated with aspects of the present invention and is not intended to limit the computing device 500 to which aspects of the present invention may be applied, and that a particular computing device 500 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
The processor 502 is configured to run the computer program 5032 stored in the memory, so as to implement the message cache expiration monitoring method disclosed in the embodiment of the present invention.
Those skilled in the art will appreciate that the embodiment of a computer device illustrated in fig. 4 does not constitute a limitation on the specific construction of the computer device, and that in other embodiments a computer device may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components. For example, in some embodiments, the computer device may only include a memory and a processor, and in such embodiments, the structures and functions of the memory and the processor are consistent with those of the embodiment shown in fig. 4, and are not described herein again.
It should be understood that, in the embodiment of the present invention, the Processor 502 may be a Central Processing Unit (CPU), and the Processor 502 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In another embodiment of the invention, a computer-readable storage medium is provided. The computer-readable storage medium may be a nonvolatile computer-readable storage medium or a volatile computer-readable storage medium. The computer readable storage medium stores a computer program, wherein the computer program, when executed by a processor, implements the message cache expiration monitoring method disclosed by the embodiments of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses, devices and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided by the present invention, it should be understood that the disclosed apparatus, device and method can be implemented in other ways. For example, the above-described device embodiments are merely illustrative, and for example, the division of the units is only a logical division, and there may be other divisions when the actual implementation is performed, or units having the same function may be grouped into one unit, for example, a plurality of units or components may be combined or may be integrated into another device, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a background server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a magnetic disk, or an optical disk.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (10)
1. A message buffer expiration monitoring method is characterized by comprising the following steps:
if detecting an instruction message and instruction content issued by application equipment of the Internet of things, acquiring the communication protocol type of the Internet of things corresponding to the instruction message and the instruction content, and equipment ID included in the instruction message and cache time included in the instruction content;
if the caching time is determined to be not 0, storing the instruction message into a message caching queue, and after the caching time is expired, determining whether the instruction state of the instruction message is set to be an overdue state or acquiring a processing result corresponding to the instruction message according to the online state of the Internet of things equipment;
if the cache time is determined to be 0 and the Internet of things equipment is online, the instruction message is sent to the Internet of things terminal; and
and if the cache time is determined to be 0 and the Internet of things equipment is offline, setting the instruction state of the instruction message to be an overdue state.
2. The message cache expiration monitoring method according to claim 1, wherein if it is determined that the cache time is not 0, the instruction message is stored in a message cache queue, and after the cache time expires, according to whether the internet of things device is in an online state, the determining whether to set the instruction state of the instruction message to an expiration state or to obtain a processing result corresponding to the instruction message includes:
if the type of the communication protocol of the internet of things is determined to be a preset first type communication protocol and the caching time is not 0, after the caching time is expired, if the internet of things equipment is in an offline state, setting the instruction state of the instruction message to be in an overdue state.
3. The message cache expiration monitoring method according to claim 2, wherein if it is determined that the cache time is not 0, the instruction message is stored in a message cache queue, and after the cache time expires, according to whether the internet of things device is in an online state, it is determined to set the instruction state of the instruction message to an expiration state or obtain a processing result corresponding to the instruction message, further comprising:
if the type of the Internet of things communication protocol is determined to be a preset first type communication protocol and the caching time is not 0, after the caching time is expired, if the Internet of things equipment is in an online state and the instruction message is in a message issuing queue, deleting the instruction message from the message issuing queue, and setting the instruction state of the instruction message to be in an overdue state.
4. The message cache expiration monitoring method according to claim 3, wherein if it is determined that the cache time is not 0, the instruction message is stored in a message cache queue, and after the cache time expires, according to whether the internet of things device is in an online state, it is determined to set the instruction state of the instruction message to an expiration state or to obtain a processing result corresponding to the instruction message, further comprising:
if the type of the Internet of things communication protocol is determined to be a preset first type communication protocol and the caching time is not 0, after the caching time expires, if the Internet of things equipment is in an online state and the instruction message is not in the message issuing queue, a processing result corresponding to the instruction message is obtained.
5. The message cache expiration monitoring method according to claim 1, wherein if it is determined that the cache time is not 0, the instruction message is stored in a message cache queue, and after the cache time expires, according to whether the internet of things device is in an online state, it is determined that the instruction state of the instruction message is set to an expiration state or a processing result corresponding to the instruction message is obtained, further comprising:
if the type of the communication protocol of the internet of things is determined to be a preset second type communication protocol and the caching time is not 0, after the caching time is expired, if the equipment of the internet of things is in an off-line state, setting the instruction state of the instruction message to be in an overdue state.
6. The message cache expiration monitoring method according to claim 5, wherein if it is determined that the cache time is not 0, the instruction message is stored in a message cache queue, and after the cache time expires, according to whether the internet of things device is in an online state, it is determined to set the instruction state of the instruction message to an expiration state or obtain a processing result corresponding to the instruction message, further comprising:
if the type of the Internet of things communication protocol is determined to be a preset second type communication protocol and the caching time is not 0, after the caching time is expired, if the Internet of things equipment is in an online state, a processing result corresponding to the instruction message is obtained.
7. The message buffer expiration monitoring method according to claim 1, wherein the internet of things communication protocol type is one of LWM2M protocol, MQTT protocol, and TCP protocol.
8. A message buffer expiration monitoring apparatus, comprising:
the command parameter acquiring unit is used for acquiring the communication protocol type of the internet of things corresponding to the command message and the command content, the equipment ID included in the command message and the cache time included in the command content if the command message and the command content issued by the application equipment of the internet of things are detected;
the first execution unit is used for storing the instruction message into a message cache queue if the cache time is determined to be not 0, and determining whether the instruction state of the instruction message is set to be an overdue state or acquiring a processing result corresponding to the instruction message according to the online state of the Internet of things equipment after the cache time is expired;
the second execution unit is used for sending the instruction message to the Internet of things terminal if the cache time is determined to be 0 and the Internet of things equipment is online; and
and the third execution unit is used for setting the instruction state of the instruction message to be an overdue state if the cache time is determined to be 0 and the Internet of things equipment is offline.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the message cache expiration monitoring method according to any one of claims 1 to 7 when executing the computer program.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program which, when executed by a processor, causes the processor to carry out the message cache expiration monitoring method according to any one of claims 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111175597.XA CN113709257B (en) | 2021-10-09 | 2021-10-09 | Message cache out-of-date monitoring method, device, equipment and medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111175597.XA CN113709257B (en) | 2021-10-09 | 2021-10-09 | Message cache out-of-date monitoring method, device, equipment and medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113709257A true CN113709257A (en) | 2021-11-26 |
CN113709257B CN113709257B (en) | 2024-04-23 |
Family
ID=78662634
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111175597.XA Active CN113709257B (en) | 2021-10-09 | 2021-10-09 | Message cache out-of-date monitoring method, device, equipment and medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113709257B (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050108331A1 (en) * | 2003-10-31 | 2005-05-19 | Osterman Lawrence W. | Presence tracking for datagram based protocols with search |
CN105684387A (en) * | 2013-10-04 | 2016-06-15 | 阿卡麦科技公司 | Systems and methods for caching content with notification-based invalidation |
CN106209812A (en) * | 2016-07-04 | 2016-12-07 | 深圳市得润车联科技有限公司 | A kind of method of internet-of-things terminal platform data encapsulation |
CN106850397A (en) * | 2016-12-13 | 2017-06-13 | 深圳市智物联网络有限公司 | Message delivery method and device in Internet of Things |
CN107181674A (en) * | 2017-06-16 | 2017-09-19 | 深圳市盛路物联通讯技术有限公司 | Message delivery method and device in Internet of Things |
US20180060145A1 (en) * | 2016-09-01 | 2018-03-01 | Oracle International Corporation | Message cache management for message queues |
CN108388479A (en) * | 2018-02-10 | 2018-08-10 | 深圳壹账通智能科技有限公司 | Postpone information push method, device, computer equipment and storage medium |
CN109194729A (en) * | 2018-08-24 | 2019-01-11 | 国广东方网络(北京)有限公司 | A kind of information communication system and method |
CN109379386A (en) * | 2018-12-13 | 2019-02-22 | 广州市百果园信息技术有限公司 | A kind of method for message transmission, device, equipment and medium |
CN109960548A (en) * | 2017-12-22 | 2019-07-02 | 杭州海康威视系统技术有限公司 | Reminder message processing method, device and terminal |
CN111371854A (en) * | 2020-02-24 | 2020-07-03 | 南京甄视智能科技有限公司 | Method and device for sending offline message in Internet of things, storage medium and server |
CN112559219A (en) * | 2020-12-22 | 2021-03-26 | 广州技象科技有限公司 | Internet of things offline message management method, device, equipment and storage medium |
-
2021
- 2021-10-09 CN CN202111175597.XA patent/CN113709257B/en active Active
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050108331A1 (en) * | 2003-10-31 | 2005-05-19 | Osterman Lawrence W. | Presence tracking for datagram based protocols with search |
CN105684387A (en) * | 2013-10-04 | 2016-06-15 | 阿卡麦科技公司 | Systems and methods for caching content with notification-based invalidation |
CN106209812A (en) * | 2016-07-04 | 2016-12-07 | 深圳市得润车联科技有限公司 | A kind of method of internet-of-things terminal platform data encapsulation |
US20180060145A1 (en) * | 2016-09-01 | 2018-03-01 | Oracle International Corporation | Message cache management for message queues |
CN106850397A (en) * | 2016-12-13 | 2017-06-13 | 深圳市智物联网络有限公司 | Message delivery method and device in Internet of Things |
CN107181674A (en) * | 2017-06-16 | 2017-09-19 | 深圳市盛路物联通讯技术有限公司 | Message delivery method and device in Internet of Things |
CN109960548A (en) * | 2017-12-22 | 2019-07-02 | 杭州海康威视系统技术有限公司 | Reminder message processing method, device and terminal |
CN108388479A (en) * | 2018-02-10 | 2018-08-10 | 深圳壹账通智能科技有限公司 | Postpone information push method, device, computer equipment and storage medium |
CN109194729A (en) * | 2018-08-24 | 2019-01-11 | 国广东方网络(北京)有限公司 | A kind of information communication system and method |
CN109379386A (en) * | 2018-12-13 | 2019-02-22 | 广州市百果园信息技术有限公司 | A kind of method for message transmission, device, equipment and medium |
CN111371854A (en) * | 2020-02-24 | 2020-07-03 | 南京甄视智能科技有限公司 | Method and device for sending offline message in Internet of things, storage medium and server |
CN112559219A (en) * | 2020-12-22 | 2021-03-26 | 广州技象科技有限公司 | Internet of things offline message management method, device, equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113709257B (en) | 2024-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8195757B2 (en) | Method, apparatus and computer program for controlling retention of publications | |
US20120271916A1 (en) | Controlling Retention of Publications | |
CN108429777B (en) | Data updating method based on cache and server | |
CN105279210A (en) | Automatic mode switching in a synchronous replication environment | |
CN102724112B (en) | Transmission method, receiving terminal equipment and system based on TCP (transmission control protocol) | |
CN107040563B (en) | Asynchronous service processing method and server | |
CN111625503B (en) | Method and equipment for locally and randomly pre-reading file of distributed file system | |
CN115004673A (en) | Message pushing method and device, electronic equipment and computer readable medium | |
CN113886494A (en) | Message storage method, device, equipment and computer readable medium for instant messaging | |
CN110912990B (en) | Method and related equipment for updating consensus period | |
CN115102807B (en) | Method, device, server, client and storage medium for gateway data transmission of Internet of things | |
CN112559219A (en) | Internet of things offline message management method, device, equipment and storage medium | |
CN108667740B (en) | Flow control method, device and system | |
CN112838980B (en) | Message processing method, system, device, electronic equipment and storage medium | |
CN115023919A (en) | Firewall rule updating method and device, server and storage medium | |
CN111355765B (en) | Network request processing and sending method and device | |
CN113452770B (en) | Data synchronization method, device, computer equipment and storage medium | |
CN110912805A (en) | Message reading state synchronization method, terminal, server and system | |
CN113709257A (en) | Message cache expiration monitoring method, device, equipment and medium | |
CN101610289A (en) | The methods, devices and systems of data download and node | |
CN111314147B (en) | Intelligent device configuration method, cloud platform and storage medium | |
CN105912477B (en) | A kind of method, apparatus and system that catalogue is read | |
CN112055058A (en) | Data storage method and device and computer readable storage medium | |
CN114553944A (en) | Early warning message pushing method and system | |
CN113242245A (en) | TCP message flow limiting method, device, server and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |