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 obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, shall fall within the scope of protection of the present invention.
Fig. 1 shows a schematic flow chart of a method 100 for managing data traffic of the internet of things according to an embodiment of the present invention. The management method 100 shown in fig. 1 includes:
110. and receiving a communication request message sent by the target Internet of things equipment, wherein the communication request message carries the ID information of the source Internet of things equipment, the ID information of the target Internet of things equipment, the bandwidth information and the data delay information during communication.
120. And determining the communication distance between the target Internet of things equipment and the source Internet of things equipment according to the ID information of the source Internet of things equipment and the ID information of the target Internet of things equipment.
130. And determining packet loss rate information when the target Internet of things equipment is communicated with the source Internet of things equipment according to the communication distance, the bandwidth information and the data delay information.
140. And determining the data traffic level corresponding to the communication request message according to the packet loss rate information and a preset packet loss rate information-data traffic level corresponding relation.
150. And managing the data traffic of the target Internet of things equipment according to the data traffic level.
In the method for managing data traffic of the internet of things in the above embodiment, according to the ID information of the source internet of things device and the ID information of the target internet of things device, which are carried in the received communication request message sent by the target internet of things device, and bandwidth information and data delay information during communication, determining the communication distance between the target Internet of things device and the source Internet of things device and packet loss rate information during communication, then, according to the packet loss rate information and the preset packet loss rate information-data traffic level corresponding relation, determining the data traffic level corresponding to the communication request message, and manages the data traffic of the target internet of things device according to the data traffic level, so that the data traffic requirements of different internet of things devices can be distinguished, the data traffic demand of the Internet of things equipment can be met, and more reasonable service is provided for the Internet of things equipment.
Optionally, as an embodiment of the present invention, the management method 200 shown in fig. 2 may include:
201. and the target Internet of things equipment sends a communication request message to the Internet of things data quantity management device, wherein the communication request message carries the ID information of the source Internet of things equipment, the ID information of the target Internet of things equipment, the bandwidth information and the data delay information during communication.
210. The data volume management device of the Internet of things receives a communication request message sent by equipment of the Internet of things.
220. And determining the communication distance between the target Internet of things equipment and the source Internet of things equipment according to the ID information of the source Internet of things equipment and the ID information of the target Internet of things equipment.
230. And determining packet loss rate information when the target Internet of things equipment is communicated with the source Internet of things equipment according to the communication distance, the bandwidth information and the data delay information.
240. And determining the data traffic level corresponding to the communication request message according to the packet loss rate information and a preset packet loss rate information-data traffic level corresponding relation.
Specifically, in this embodiment, the data traffic levels may be set to level I, level II, and level III. For example: the I level corresponds to the highest data flow level, the highest bandwidth and the lowest time delay are required, and data are not lost; the level III corresponds to the lowest data flow grade without any requirement; the level II corresponds to the intermediate data traffic level, requires medium bandwidth, medium time delay, and does not lose critical data.
250. And managing the data traffic of the Internet of things equipment according to the data traffic level.
202. And the target Internet of things equipment sends a request message for acquiring the target data to the Internet of things data volume management device, wherein the request message carries the information of the target data.
255. The Internet of things data amount management device receives a request message for acquiring target data sent by target Internet of things equipment.
Specifically, in this embodiment, the target data may be a web page, a text file, a multimedia file, and the like, and the multimedia file may be a picture, an audio file, a video file, and the like. The information of the target data includes file size information of the target data. The file size information includes the number of bytes occupied by the target data or the bit value of the target data.
260. And acquiring a file size value corresponding to the target data according to the information of the target data carried in the request message.
265. And determining a data flow value required when the target data is acquired according to the value of the file size.
270. And sending first prompt information carrying a data flow value to the target Internet of things equipment.
203. The target Internet of things equipment receives first prompt information carrying a data flow value.
204. The user inputs a first instruction for confirming to acquire the target data in the target Internet of things equipment.
205. The target Internet of things equipment receives a first instruction input by a user and confirming acquisition of target data.
206. The target Internet of things equipment sends a first instruction for acquiring target data to the Internet of things data volume management device.
275. And when the Internet of things data quantity management device receives a first instruction which is sent by the target Internet of things equipment and confirms that the target data is obtained, the target data is obtained according to the data flow value and the data flow grade.
Specifically, in this embodiment, when the data traffic management apparatus of the internet of things receives a request message for acquiring target data sent by a target internet of things device, a value of a file size corresponding to the target data is acquired according to information of the target data carried in the request message.
And determining a data flow value required when the target data is acquired according to the value of the file size, sending a prompt message carrying the data flow value to the target Internet of things equipment, and determining whether the target data is acquired according to the data flow value and the data flow grade according to an instruction sent by the target Internet of things equipment. And when a first instruction that the target Internet of things equipment determines to acquire the target data is received, acquiring the target data according to the data flow value and the data flow grade.
In the method for managing data traffic of the internet of things in the embodiment, when a first instruction that the target internet of things device determines to acquire the target data is received, the target data is acquired according to the data traffic value and the data traffic level, and the management of the data traffic of the internet of things device is more reasonable and accurate.
Optionally, as an embodiment of the present invention, the management method 300 shown in fig. 3 may include:
301. and the target Internet of things equipment sends a communication request message to the Internet of things data quantity management device, wherein the communication request message carries the ID information of the source Internet of things equipment, the ID information of the target Internet of things equipment, the bandwidth information and the data delay information during communication.
310. The data volume management device of the Internet of things receives a communication request message sent by equipment of the Internet of things.
320. And determining the communication distance between the target Internet of things equipment and the source Internet of things equipment according to the ID information of the source Internet of things equipment and the ID information of the target Internet of things equipment.
330. And determining packet loss rate information when the target Internet of things equipment is communicated with the source Internet of things equipment according to the communication distance, the bandwidth information and the data delay information.
340. And determining the data traffic level corresponding to the communication request message according to the packet loss rate information and a preset packet loss rate information-data traffic level corresponding relation.
350. And managing the data traffic of the Internet of things equipment according to the data traffic level.
302. And the target Internet of things equipment sends a request message for acquiring the target data to the Internet of things data volume management device, wherein the request message carries the information of the target data.
355. The Internet of things data amount management device receives a request message for acquiring target data sent by target Internet of things equipment.
360. And acquiring a file size value corresponding to the target data according to the information of the target data carried in the request message.
365. And determining a data flow value required when the target data is acquired according to the value of the file size.
370. And sending first prompt information carrying a data flow value to the target Internet of things equipment.
303. The target Internet of things equipment receives first prompt information carrying a data flow value.
304. And the user inputs a second instruction for not acquiring the target data in the target Internet of things equipment.
350. And the target Internet of things equipment receives a second instruction which is input by the user and does not acquire the target data.
306. And the target Internet of things equipment sends a second instruction for not acquiring the target data to the Internet of things data quantity management device.
380. And when the Internet of things data amount management device receives a second instruction which is sent by the target Internet of things equipment and does not acquire the target data, the target data is not acquired.
390. And sending second prompt information of abnormal access to the target Internet of things equipment.
Specifically, in this embodiment, when the data traffic management apparatus of the internet of things receives a request message for acquiring target data sent by a target internet of things device, a value of a file size corresponding to the target data is acquired according to information of the target data carried in the request message.
And determining a data flow value required when the target data is acquired according to the value of the file size, sending a prompt message carrying the data flow value to the target Internet of things equipment, and determining whether the target data is acquired according to the data flow value and the data flow grade according to an instruction sent by the target Internet of things equipment. And when a second instruction that the target Internet of things equipment does not acquire the target data is received, not acquiring the target data and sending second prompt information of abnormal access to the target Internet of things equipment.
In the method for managing data traffic of the internet of things in the embodiment, when a second instruction that the target internet of things device does not acquire the target data is received, the target data is not acquired, and second prompt information of access abnormality is sent to the target internet of things device, so that the target internet of things device can timely know that the access abnormality occurs when the target data is acquired, and the data traffic of the internet of things device is managed.
Optionally, as an embodiment of the present invention, the management method 400 shown in fig. 4 may include:
401. and the target Internet of things equipment sends a communication request message to the Internet of things data quantity management device, wherein the communication request message carries the ID information of the source Internet of things equipment, the ID information of the target Internet of things equipment, the bandwidth information and the data delay information during communication.
410. The data volume management device of the Internet of things receives a communication request message sent by equipment of the Internet of things.
420. And determining the communication distance between the target Internet of things equipment and the source Internet of things equipment according to the ID information of the source Internet of things equipment and the ID information of the target Internet of things equipment.
430. And determining packet loss rate information when the target Internet of things equipment is communicated with the source Internet of things equipment according to the communication distance, the bandwidth information and the data delay information.
440. And determining the data traffic level corresponding to the communication request message according to the packet loss rate information and a preset packet loss rate information-data traffic level corresponding relation.
450. And managing the data traffic of the Internet of things equipment according to the data traffic level.
402. And the target Internet of things equipment sends a request message for acquiring the target data to the Internet of things data volume management device, wherein the request message carries the information of the target data.
455. The Internet of things data amount management device receives a request message for acquiring target data sent by target Internet of things equipment.
460. And acquiring a file size value corresponding to the target data according to the information of the target data carried in the request message.
465. And determining a data flow value required when the target data is acquired according to the value of the file size.
470. And sending first prompt information carrying a data flow value to the target Internet of things equipment.
403. The target Internet of things equipment receives first prompt information carrying a data flow value.
404. And the user inputs a second instruction for not acquiring the target data in the target Internet of things equipment.
450. And the target Internet of things equipment receives a second instruction which is input by the user and does not acquire the target data.
406. And the target Internet of things equipment sends a second instruction for not acquiring the target data to the Internet of things data quantity management device.
480. And when the Internet of things data amount management device receives a second instruction which is sent by the target Internet of things equipment and does not acquire the target data, the target data is not acquired, and the accessible wireless access point is detected.
490. When detecting that the wireless access point is accessed, acquiring target data through the wireless network.
Specifically, in this embodiment, when the data traffic management apparatus of the internet of things receives a request message for acquiring target data sent by a target internet of things device, a value of a file size corresponding to the target data is acquired according to information of the target data carried in the request message.
And determining a data flow value required when the target data is acquired according to the value of the file size, sending a prompt message carrying the data flow value to the target Internet of things equipment, and determining whether the target data is acquired according to the data flow value and the data flow grade according to an instruction sent by the target Internet of things equipment. And when a second instruction that the target Internet of things equipment does not acquire the target data is received, the target data is not acquired and the accessible wireless access point starts to be detected. When detecting that the wireless access point is accessed, acquiring target data through the wireless network.
In the method for managing data traffic of the internet of things in the embodiment, when a second instruction that the target internet of things device does not acquire the target data is received, the target data is not acquired and the accessible wireless access point starts to be detected, and when the wireless access point is detected to be accessed, the target data is acquired through the wireless network, so that the data traffic of the internet of things device can be effectively saved.
Optionally, as an embodiment of the present invention, the tag information includes: the method comprises the following steps of obtaining bandwidth information, delay information and packet loss rate information when the Internet of things equipment carries out communication. The management method 500 as shown in fig. 5 may include:
501. and the target Internet of things equipment sends a communication request message to the Internet of things data quantity management device, wherein the communication request message carries the ID information of the source Internet of things equipment, the ID information of the target Internet of things equipment, the bandwidth information and the data delay information during communication.
510. The data volume management device of the Internet of things receives a communication request message sent by equipment of the Internet of things.
520. And determining the communication distance between the target Internet of things equipment and the source Internet of things equipment according to the ID information of the source Internet of things equipment and the ID information of the target Internet of things equipment.
530. And determining packet loss rate information when the target Internet of things equipment is communicated with the source Internet of things equipment according to the communication distance, the bandwidth information and the data delay information.
540. And determining the data traffic level corresponding to the communication request message according to the packet loss rate information and a preset packet loss rate information-data traffic level corresponding relation.
550. And managing the data traffic of the Internet of things equipment according to the data traffic level.
502. And the target Internet of things equipment sends a request message for acquiring the target data to the Internet of things data volume management device, wherein the request message carries the information of the target data.
555. The Internet of things data amount management device receives a request message for acquiring target data sent by target Internet of things equipment.
560. And acquiring a file size value corresponding to the target data according to the information of the target data carried in the request message.
561. And determining a first transmission rate corresponding to the bandwidth information according to the bandwidth information and a preset bandwidth-transmission rate corresponding relation table.
562. And determining a second transmission rate corresponding to the data delay information according to the data delay information and a preset data delay-transmission rate corresponding relation table.
563. And determining a third transmission rate corresponding to the packet loss rate information according to the packet loss rate information and a preset packet loss rate-transmission rate correspondence table.
564. And calculating to obtain the transmission rate of the target data according to weights respectively preset for the bandwidth information, the data delay information and the packet loss rate information, and the first transmission rate, the second transmission rate and the third transmission rate.
565. And determining a data traffic value range corresponding to the transmission rate according to the transmission rate and a preset transmission rate-data traffic value range.
566. And determining a data flow value required when the target data is acquired according to the value of the file size and the data flow value range corresponding to the transmission rate.
570. And sending first prompt information carrying a data flow value to the target Internet of things equipment.
503. The target Internet of things equipment receives first prompt information carrying a data flow value.
504. And the user inputs a second instruction for not acquiring the target data in the target Internet of things equipment.
550. And the target Internet of things equipment receives a second instruction which is input by the user and does not acquire the target data.
506. And the target Internet of things equipment sends a second instruction for not acquiring the target data to the Internet of things data quantity management device.
580. And when the Internet of things data amount management device receives a second instruction which is sent by the target Internet of things equipment and does not acquire the target data, the target data is not acquired, and the accessible wireless access point is detected.
590. When detecting that the wireless access point is accessed, acquiring target data through the wireless network.
Specifically, in this embodiment, when the data traffic management apparatus of the internet of things receives a request message for acquiring target data sent by a target internet of things device, a value of a file size corresponding to the target data is acquired according to information of the target data carried in the request message.
And determining the transmission rate of the acquired target data according to the bandwidth information, the delay information and the packet loss rate information. Specifically, a first transmission rate corresponding to the bandwidth information, a data delay information and preset data delay-transmission rate correspondence table, a second transmission rate corresponding to the data delay information, a packet loss rate information and preset packet loss rate-transmission rate correspondence table, a third transmission rate corresponding to the packet loss rate information, weights respectively preset for the bandwidth information, the data delay information and the packet loss rate information, the first transmission rate, the second transmission rate and the third transmission rate are calculated to obtain a transmission rate of the target data, and a data traffic value range corresponding to the transmission rate is determined according to the transmission rate and the preset transmission rate-data traffic value range.
For example, in this embodiment, the weights a, b, and c may be preset for the bandwidth information, the data delay information, and the packet loss rate information, respectively, and the transmission rate is the first transmission rate a + the second transmission rate b + the third transmission rate c, but the embodiment of the present invention is not limited thereto.
And determining a data flow value required when the target data is acquired according to the value of the file size and the data flow value range corresponding to the transmission rate, sending a prompt message carrying the data flow value to the target Internet of things equipment, and determining whether the target data is acquired according to the data flow value and the data flow grade according to an instruction sent by the target Internet of things equipment.
It should be noted that, in this embodiment, the step 504-590 may be replaced by the step 204-270 shown in fig. 2, or replaced by the step 304-390 shown in fig. 3, and for brevity of description, the description is not repeated herein.
In the method for managing data traffic of the internet of things in the embodiment, the transmission rate of the target data is determined according to the bandwidth information, the delay information and the packet loss rate information carried in the communication request message, the data traffic value range corresponding to the transmission rate is determined according to the transmission rate and the preset transmission rate-data traffic value range, and the data traffic value required for obtaining the target data is determined according to the value of the file size and the data traffic value range corresponding to the transmission rate, so that the data traffic value of the target data can be obtained more accurately, and the waste of the data traffic can be effectively reduced.
Optionally, as an embodiment of the present invention, the management method 600 shown in fig. 6 may include:
610. and receiving a communication request message sent by the target Internet of things equipment, wherein the communication request message carries the ID information of the source Internet of things equipment, the ID information of the target Internet of things equipment, the bandwidth information and the data delay information during communication.
620. And determining the communication distance between the target Internet of things equipment and the source Internet of things equipment according to the ID information of the source Internet of things equipment and the ID information of the target Internet of things equipment.
630. And determining packet loss rate information when the target Internet of things equipment is communicated with the source Internet of things equipment according to the communication distance, the bandwidth information and the data delay information.
640. And determining the data traffic level corresponding to the communication request message according to the packet loss rate information and a preset packet loss rate information-data traffic level corresponding relation.
650. And managing the data traffic of the target Internet of things equipment according to the data traffic level.
660. And acquiring the residual data traffic of the target Internet of things equipment.
670. And determining the data traffic to be consumed of the Internet of things equipment according to the frequency of the uploaded data traffic of the target Internet of things equipment.
Specifically, in this embodiment, the frequency of uploading the data traffic may be a time interval of uploading data by the internet of things device through the SIM card. The faster the frequency of uploading data traffic, the more traffic that needs to be consumed.
680. And adjusting the frequency of the data traffic uploaded by the target Internet of things equipment according to the data traffic difference between the residual data traffic and the data traffic to be consumed so as to manage the residual data traffic of the target Internet of things equipment.
Specifically, in this embodiment, the internet of things data traffic management device determines the data traffic to be consumed of the target internet of things device according to the frequency of uploading data traffic of the target internet of things device, and adjusts the frequency of uploading data traffic of the target internet of things device according to the data traffic difference between the acquired remaining data traffic and the data traffic to be consumed, so as to manage the remaining data traffic of the target internet of things device.
In the method for managing data traffic of the internet of things in the embodiment, the frequency of the data traffic uploaded by the internet of things device is adjusted according to the obtained remaining data traffic and the data traffic difference between the data traffic to be consumed, which is determined based on the frequency of the uploaded data traffic, so that the remaining data traffic can be fully utilized, and the purposes of saving traffic expenses and/or avoiding waste of redundant traffic are achieved.
Optionally, as an embodiment of the present invention, the management method 600 shown in fig. 7 may include:
610. and receiving a communication request message sent by the target Internet of things equipment, wherein the communication request message carries the ID information of the source Internet of things equipment, the ID information of the target Internet of things equipment, the bandwidth information and the data delay information during communication.
620. And determining the communication distance between the target Internet of things equipment and the source Internet of things equipment according to the ID information of the source Internet of things equipment and the ID information of the target Internet of things equipment.
630. And determining packet loss rate information when the target Internet of things equipment is communicated with the source Internet of things equipment according to the communication distance, the bandwidth information and the data delay information.
640. And determining the data traffic level corresponding to the communication request message according to the packet loss rate information and a preset packet loss rate information-data traffic level corresponding relation.
650. And managing the data traffic of the target Internet of things equipment according to the data traffic level.
660. And acquiring the residual data traffic of the target Internet of things equipment.
670. And determining the data traffic to be consumed of the target Internet of things equipment according to the frequency of the uploaded data traffic of the target Internet of things equipment.
681. And judging whether the data flow difference value between the residual data flow and the data flow to be consumed is greater than a preset value.
682. If so, increasing the frequency of the data traffic uploaded by the target Internet of things equipment, so that the data traffic difference value is smaller than or equal to a preset value.
Specifically, in this embodiment, the internet of things data traffic management device determines the data traffic to be consumed of the target internet of things device according to the frequency of the uploaded data traffic of the target internet of things device, and determines whether the data traffic difference between the acquired remaining data traffic and the data traffic to be consumed is greater than a preset value, and if so, increases the frequency of the uploaded data traffic of the target internet of things device, so that the data traffic difference is less than or equal to the preset value.
In the method for managing data traffic of the internet of things in the embodiment, the frequency of uploading data traffic by the target internet of things device is increased, so that the data traffic difference value is smaller than or equal to the preset value, and the remaining data traffic is managed, so that the remaining data traffic can be fully utilized, and the purposes of saving traffic expenses or avoiding waste of redundant traffic are achieved.
It should be understood that, in the embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
The internet of things data traffic management method provided by the invention is described in detail above with reference to fig. 1 to 7, and the internet of things data traffic management system provided by the invention is described in detail below with reference to fig. 8 to 10.
Fig. 8 is a schematic frame diagram of a system 700 for managing data traffic of the internet of things according to an embodiment of the present invention. The management system 700 shown in fig. 8 includes: an internet of things device 710, an internet of things data traffic management apparatus 720, and a source internet of things device 730. Wherein,
the internet of things device 710 is configured to send a communication request message to the internet of things data traffic management apparatus, where the communication request message carries tag information. The internet of things data traffic management device 720 is configured to receive a communication request message sent by the target internet of things device 710, determine a communication distance between the target internet of things device and the source internet of things device and packet loss rate information during communication according to ID information of the source internet of things device and ID information of the target internet of things device carried in the communication request message and bandwidth information and data delay information during communication, determine a data traffic level corresponding to the communication request message according to a correspondence between the packet loss rate information and a preset packet loss rate information-data traffic level, and manage data traffic of the internet of things device 710 according to the data traffic level.
It should be understood that, in the embodiment of the present invention, the management system 700 according to the embodiment of the present invention may correspond to an execution main body of the management method according to the embodiment of the present invention, and the above and other operations and/or functions of each device and/or module in the management system 700 are respectively for implementing corresponding flows of each method in fig. 1 to fig. 7, and are not described herein again for brevity.
In the management system for data traffic of internet of things in the above embodiment, the internet of things data traffic management device determines the communication distance between the target internet of things device and the source internet of things device and the packet loss rate information during communication according to the ID information of the source internet of things device and the ID information of the target internet of things device, and the bandwidth information and the data delay information during communication, which are carried in the received communication request message sent by the target internet of things device, and then determines the data traffic level corresponding to the communication request message according to the packet loss rate information and the preset packet loss rate information-data traffic level correspondence relationship, and manages the data traffic of the target internet of things device according to the data traffic level, so that data traffic demands of different internet of things devices can be distinguished, and when different internet of things devices are used, the data traffic demands of the internet of things devices can be satisfied, and more reasonable service is provided for the equipment of the Internet of things.
Optionally, as an embodiment of the present invention, as shown in fig. 9, the internet of things data traffic management device 720 includes: receiving module 721, processing module 722 and transmitting module 723
The receiving module 721 is further configured to receive a request message for obtaining the target data sent by the target internet of things device 710, where the request message carries information of the target data.
The processing module 722 is further configured to obtain a file size value corresponding to the target data according to the information of the target data, and determine a data flow value required when the target data is obtained according to the file size value.
The sending module 723 is configured to send first prompt information carrying a data traffic value to the target internet of things device 710.
The processing module 723 is further configured to, when the receiving module 721 receives an instruction for confirming that the target data is obtained, which is sent by the target internet of things device 710, obtain the target data according to the data traffic value and the data traffic level.
In the internet of things data traffic management system in the embodiment, when a first instruction that the target internet of things device determines to acquire the target data is received, the target data is acquired according to the data traffic value and the data traffic level, and the management of the data traffic of the internet of things device is more reasonable and accurate.
Optionally, as an embodiment of the present invention, the processing module 722 is further configured to, when the receiving module 721 receives an instruction sent by the target internet of things device 710 to not acquire the target data, not acquire the target data. The sending module 723 is further configured to send second prompt information about access abnormality to the target internet of things device 710.
In the management system for data traffic of the internet of things in the embodiment, when a second instruction that the target internet of things device does not acquire the target data is received, the target data is not acquired, and second prompt information with abnormal access is sent to the target internet of things device, so that the internet of things device can timely know that the abnormal access occurs when the target data is acquired, and the management of the data traffic of the internet of things device is realized.
Optionally, as an embodiment of the present invention, as shown in fig. 10, the internet of things data traffic management device 720 further includes: a detection module 724.
The processing module 722 is further configured to not acquire the target data when the receiving module 721 receives the instruction, sent by the target internet of things device 710, for not acquiring the target data. The detection module 724 is configured to start detecting accessible wireless access points. The processing module 722 is further configured to obtain the target data through the wireless network when the detecting module 724 detects that the wireless access point is accessed.
In the management system for data traffic of the internet of things in the embodiment, when a second instruction that the target internet of things device does not acquire the target data is received, the target data is not acquired and the accessible wireless access point starts to be detected, and when the wireless access point is detected to be accessed, the target data is acquired through the wireless network, so that the data traffic of the internet of things device can be effectively saved.
Optionally, as an embodiment of the present invention, the processing module 722 is specifically configured to: and determining a first transmission rate corresponding to the bandwidth information according to the bandwidth information and a preset bandwidth-transmission rate corresponding relation table. And determining a second transmission rate corresponding to the data delay information according to the data delay information and a preset data delay-transmission rate corresponding relation table. And determining a third transmission rate corresponding to the packet loss rate information according to the packet loss rate information and a preset packet loss rate-transmission rate correspondence table.
According to weights respectively preset for the bandwidth information, the data delay information and the packet loss rate information, the first transmission rate, the second transmission rate and the third transmission rate, calculating to obtain the transmission rate of the obtained target data, determining a data flow value range corresponding to the transmission rate according to the transmission rate and a preset transmission rate-data flow value range, and determining a data flow value required for obtaining the target data according to a value of the file size and the data flow value range corresponding to the transmission rate.
In the internet of things data traffic management system in the embodiment, the transmission rate of the target data is determined according to the bandwidth information, the delay information and the packet loss rate information carried in the communication request message, the data traffic value range corresponding to the transmission rate is determined according to the transmission rate and the preset transmission rate-data traffic value range, and the data traffic value required for obtaining the target data is determined according to the value of the file size and the data traffic value range corresponding to the transmission rate, so that the data traffic value of the target data can be obtained more accurately, and the waste of data traffic is effectively reduced.
Optionally, as an embodiment of the present invention, the receiving module 721 is further configured to obtain the remaining data traffic of the target internet of things device 710. The processing module 722 is further configured to determine the data traffic to be consumed of the target internet of things device 710 according to the frequency of the uploaded data traffic of the target internet of things device 710. And adjusting the frequency of the data traffic uploaded by the target internet of things device 710 according to the data traffic difference between the remaining data traffic and the data traffic to be consumed, so as to manage the remaining data traffic of the target internet of things device 710.
In the management system for data traffic of the internet of things in the embodiment, the frequency of the data traffic uploaded by the internet of things device is adjusted according to the obtained remaining data traffic and the data traffic difference between the data traffic to be consumed, which is determined based on the frequency of the uploaded data traffic, so that the remaining data traffic can be fully utilized, and the purposes of saving traffic expenses and/or avoiding waste of redundant traffic are achieved.
Optionally, as an embodiment of the present invention, the processing module 722 includes: a judging unit and a processing unit.
The judging unit is used for judging whether a data flow difference value between the residual data flow and the data flow to be consumed is larger than a preset value. The processing unit is configured to, when the determining unit determines that the data traffic difference is greater than the preset value, increase the frequency of uploading data traffic of the target internet of things device 710, so that the data traffic difference is less than or equal to the preset value.
The management system for the data traffic of the internet of things in the embodiment makes the data traffic difference value smaller than or equal to the preset value by increasing the frequency of uploading the data traffic of the internet of things equipment, so as to manage the remaining data traffic, thereby making full use of the remaining data traffic, and achieving the purpose of saving traffic expenses or avoiding wasting redundant traffic.
In addition, the term "and/or" herein is only one kind of association relationship describing an associated object, and means that there may be three kinds of relationships, for example, a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
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.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, 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.
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 computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer internet-of-things device (which may be a personal computer, a server, or a network internet-of-things device, etc.) 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: a U-disk, a removable hard disk, a Read-only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
While the invention has been described with reference to specific embodiments, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.