Internet of Things data interaction communication method and device, computer equipment and storage medium
By identifying and classifying data transmission, and using feedback test results to optimize the transmission strategy, the problem of low interaction efficiency between terminal external machines and gateways when the network quality is poor is solved, and data transmission efficiency and user experience are improved.
Patent Information
- Application Number
- CN202410786585.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-18
- Publication Date
- 2024-09-06
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When the network quality is poor, the interaction efficiency between the terminal's external machine and the gateway is low. Existing technologies improve efficiency by reducing the amount of data, but the user experience is degraded and cannot effectively solve the problem.
By obtaining transmission data format information, identifying data types and classifying them into reply data and stored data, using feedback test transmission data to test network quality, and adjusting transmission strategies to improve interaction efficiency, including obtaining transmission data types, identifying feature information, and obtaining feedback test results. And trigger data transfer instructions to optimize data transfer.
It improves the interaction efficiency between the terminal's external machine and the gateway, ensures effective data transmission even when the network quality is poor, improves user experience, and adjusts the transmission strategy to adapt to network conditions through the verification model.
Smart Images

Figure CN118612253A
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of Internet of Things data communication, and in particular to an Internet of Things data interactive communication method, device, computer equipment and storage medium. Background Art
[0002] The Internet of Things (IoT), or "network of interconnected everything", refers to the ubiquitous connection between things and people through various information technologies, sensor technologies and various communication methods. It is equivalent to pushing the Internet from the virtual level to the real level, greatly expanding the application scope of information technology, and making it possible for emerging concepts such as smart homes and smart medical care supported by artificial intelligence that are closely related to people's lives and can greatly improve the experience and quality of life.
[0003] In the related art, in order to improve the interaction efficiency between the terminal external machine and the gateway in the server, when the network quality is poor, the method of reducing the amount of transmitted data is usually adopted. Although this method improves the interaction efficiency between the terminal external machine and the gateway, the reduction in the content of the transmitted data will also reduce the user experience. Therefore, it does not essentially solve the problem of reduced interaction efficiency between the terminal external machine and the gateway when the network quality is poor, and there is still room for improvement.
[0004] The above-mentioned related technical solutions have the following defects: when the network quality is poor, the interaction efficiency between the terminal external machine and the gateway is low. Summary of the invention
[0005] In order to improve the interaction efficiency between a terminal external machine and a gateway when the network quality is poor, the present application provides an Internet of Things data interaction communication method, device, computer equipment and storage medium.
[0006] In the first aspect, the above-mentioned invention objective of the present application is achieved through the following technical solutions: A data interactive communication method for the Internet of Things, the data interactive communication method for the Internet of Things comprising: Acquire transmission data format information, and obtain transmission data type corresponding to the transmission data according to a preset classification rule and the transmission data format information, wherein the transmission data type includes reply data and storage data; Acquire transmission data, and identify the type of transmission data corresponding to the transmission data and transmission data information representing characteristic information of the transmission data; Acquire feedback test transmission data for testing the transmission speed according to the transmission data type and the transmission data information, wherein the feedback test transmission data includes reply feedback test transmission data and storage feedback test transmission data; Acquire a feedback test result based on the feedback test transmission data for testing the transmission speed, and trigger a data transmission instruction according to the feedback test result; Based on the data transmission instruction, a reply data reply instruction is triggered.
[0007] By adopting the above technical solution, the transmission data format information refers to the format information of the data transmitted between the terminal external machine and the gateway, the reply data represents the type of data that needs to be replied by the terminal external machine and the gateway, and the storage data represents the data that needs to be stored in the gateway. Different data require different response speeds. Therefore, the transmission data is divided into reply data and storage data, which is convenient for adopting different strategies for different data in subsequent data transmission, thereby improving the overall data transmission efficiency. The feedback test transmission data represents the data used to test the transmission speed. The feedback test transmission data is the key data in the extracted part of the transmission data, for example, the extracted part of the user's function operation data on the terminal external machine. The feedback test transmission data is used to perform a test to obtain a test result indicating the current network quality, and then the transmission strategy for the remaining transmission data is determined based on the test result, thereby improving the interaction efficiency between the terminal external machine and the gateway. For the reply data that requires the gateway to reply to the terminal external machine, the corresponding transmission strategy is judged to be appropriate based on the data transmission speed during the first interaction between the terminal external machine and the gateway. If it is not appropriate, a second different strategy is used to improve the data transmission speed during the second interaction between the terminal external machine and the gateway.
[0008] In a preferred example, the present application may be further configured as follows: the acquisition of the transmission data format, according to a preset rule and the transmission data format, obtains the transmission data type corresponding to the transmission data, specifically including: Acquire historical transmission data, and acquire transmission data format information according to the historical transmission data; According to the transmission data format information, extracting machine calling keyword information for calling an external machine from the transmission data format information; According to the preset classification rules, the machine call keyword information is classified to obtain the corresponding transmission data type.
[0009] By adopting the above technical solution, machine call keyword information is extracted from the transmission data format information of historical transmission data. The machine call keyword information indicates which external machine is called and which data of the external machine is collected. For example, the machine call keyword information indicates that the external machine called is a camera and what is collected is the image data of the camera. According to the preset classification rules, it is determined whether the image data needs to be stored in the gateway or needs to be identified and replied by the gateway. Classification is performed according to the judgment result, thereby realizing the classification of all types of transmission data.
[0010] In a preferred example, the present application may be further configured as follows: the acquiring of transmission data, identifying the transmission data type corresponding to the transmission data and transmission data information representing characteristic information of the transmission data specifically includes: Acquire transmission data, and identify the transmission data type corresponding to the transmission data; If the transmission data type is reply data, obtaining corresponding reply transmission data information; If the transmission data type is storage data, obtaining corresponding storage transmission data information; The transmitting data information includes replying the transmitting data information and storing the transmitting data information.
[0011] By adopting the above technical solution, when the terminal is running, according to the actual operation of the user, the transmission data is obtained, and the reply transmission data information and the stored transmission data information respectively include the data volume information of the reply data and the stored data, the identity identification data, and the key data representing the framework of the data. According to the transmission data information, the main function of the data can be judged and the identity of the data can be identified, so as to facilitate the network quality test based on the transmission data information.
[0012] In a preferred example, the present application may be further configured as follows: obtaining feedback test transmission data for testing the transmission speed according to the transmission data type and the transmission data information specifically includes: According to the reply data and the reply transmission data information, and the preset first reply data abbreviation rule, obtaining corresponding reply feedback test transmission data; According to the storage data and the storage transmission data information, and the preset storage data abbreviation rule, the corresponding storage feedback test transmission data is obtained.
[0013] By adopting the above technical solution, the abbreviation rule represents the rule for abbreviating the transmission data into feedback test transmission data. Since the requirements for the speed at which the gateway responds to different transmission data are different, the transmission speed requirements for different transmission data are also different. Different transmission data correspond to different abbreviation rules. Since the reply data indicates that the gateway needs to reply to the terminal, the response speed requirement for the reply data is greater than the response speed requirement for the stored data. For transmission data of the same data volume, the data volume of the transmission data processed by the first reply data abbreviation rule is larger than the data volume of the transmission data processed by the stored data abbreviation rule. Therefore, the transmission data processed by the first reply data abbreviation rule has higher requirements for network quality. Based on this, the obtained test results are more accurate.
[0014] In a preferred example, the present application may be further configured as follows: obtaining a feedback test result based on the feedback test transmission data for testing the transmission speed, and triggering a data transmission instruction according to the feedback test result, specifically including: triggering a feedback test instruction based on the reply feedback test transmission data or the stored feedback test transmission data for testing the transmission speed; Based on the feedback test instruction, obtaining a feedback test result, wherein the feedback test result includes a test data transmission speed and a test broadband occupancy rate; According to the feedback test result, a data transmission instruction is triggered.
[0015] By adopting the above technical solution, the feedback test result includes a test data transmission speed representing the transmission speed of the feedback test transmission data, and a test bandwidth occupancy rate representing the occupancy rate of the network broadband to which the terminal is connected. According to the feedback test result, the quality of the network to which the current terminal is connected, and the data transmission capacity of the network to which the current terminal is connected can be known. Therefore, according to the feedback test result, a transmission strategy for the remaining transmission data is generated. For example, when the feedback test result indicates that the current network quality is poor, data that can enable the gateway to respond is extracted for transmission, ensuring that the gateway first responds to the transmission data for preparation, and then transmits the substantive content representing the user operation, thereby realizing the classified and step-by-step transmission of the transmission data, improving the overall response speed of the gateway, and thereby improving the interaction efficiency between the terminal external machine and the gateway.
[0016] In a preferred example, the present application may be further configured as follows: triggering a data transmission instruction according to the feedback test result specifically includes: Obtaining transmission capacity information according to the test data transmission speed and the test broadband occupancy rate; generating transmission plan data according to the transmission capability information and the transmission data information; Based on the transmission plan data, a data transmission instruction is triggered.
[0017] By adopting the above technical solution, the transmission capacity information indicates the strength of the network data transmission capability to which the current terminal is connected. According to the transmission capacity information and the transmission data information indicating the data volume, the transmission data is divided into several parts, and a transmission sequence for the transmission data of the several parts is generated, thereby determining a transmission plan that is suitable for the quality of the network to which the current terminal is connected, thereby improving the interaction efficiency between the terminal external machine and the gateway.
[0018] In a preferred example, the present application may be further configured as follows: triggering a reply data reply instruction based on the data transmission instruction specifically includes: Based on the data transmission instruction, obtaining a reply data transmission speed; Inputting the reply data transmission speed and the reply feedback test transmission data into a preset verification model, and obtaining a preset second reply data abbreviation rule according to the verification model; According to the second interactive data abbreviation rule, a reply data reply instruction is triggered.
[0019] By adopting the above technical solution, after completing the transmission of the reply data of the terminal external machine to the gateway, the transmission speed of this transmission is obtained, and the transmission speed is input into the verification model. In the verification model, the transmission speed is compared with the preset transmission speed. When the transmission speed is lower than the preset transmission speed, the preset second reply data abbreviation rule is obtained. When the gateway subsequently replies to the terminal external machine, the transmission strategy based on the second reply data abbreviation rule is used for transmission, thereby ensuring the efficiency of data exchange between the terminal external machine and the gateway.
[0020] In the second aspect, the above invention objective of the present application is achieved through the following technical solutions: An Internet of Things data interactive communication device, the Internet of Things data interactive communication device comprising: A transmission data type acquisition module, used to acquire transmission data format information, and obtain the transmission data type corresponding to the transmission data according to a preset classification rule and the transmission data format information, wherein the transmission data type includes reply data and storage data; A transmission data identification module, used to obtain transmission data, identify the transmission data type corresponding to the transmission data and transmission data information representing characteristic information of the transmission data; A feedback test transmission data acquisition module, used to acquire feedback test transmission data for testing the transmission speed according to the transmission data type and the transmission data information, wherein the feedback test transmission data includes reply feedback test transmission data and storage feedback test transmission data; A data transmission instruction module, used to obtain a feedback test result based on the feedback test transmission data used to test the transmission speed, and trigger a data transmission instruction according to the feedback test result; The reply data reply instruction module is used to trigger the reply data reply instruction based on the data transmission instruction.
[0021] In the third aspect, the above invention objective of the present application is achieved through the following technical solutions: A computer device comprises a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned method for interactive communication of Internet of Things data when executing the computer program.
[0022] In a fourth aspect, the above-mentioned invention objective of the present application is achieved through the following technical solutions: A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the above-mentioned Internet of Things data interactive communication method.
[0023] In summary, the present application includes at least one of the following beneficial technical effects: 1. Divide the transmission data into reply data and storage data, so that different strategies can be adopted for different data in the subsequent data transmission, thus improving the overall data transmission efficiency. Use feedback test transmission data for testing to obtain the test results indicating the current network quality, and then determine the transmission strategy for the remaining transmission data based on the test results, thus improving the interaction efficiency between the terminal external machine and the gateway; 2. When the feedback test result indicates that the current network quality is poor, the data that can make the gateway respond is extracted for transmission, ensuring that the gateway first responds to the transmission data for preparation, and then transmits the substantive content representing the user operation, thereby realizing the classified and step-by-step transmission of the transmission data, improving the overall response speed of the gateway, and further improving the interaction efficiency between the terminal external machine and the gateway; 3. In the verification model, the transmission speed is compared with the preset transmission speed. When the transmission speed is lower than the preset transmission speed, the preset second reply data reduction rule is obtained. When the gateway subsequently replies to the terminal external machine, the transmission strategy based on the second reply data reduction rule is used for transmission, thereby ensuring the efficiency of data exchange between the terminal external machine and the gateway. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 This is a flowchart of an implementation method of the Internet of Things data interactive communication method in an embodiment of the present application; Figure 2 is a flowchart for implementing S10 of the method for interactive communication of Internet of Things data in an embodiment of the present application; Figure 3 It is a flowchart for implementing S20 of the method for interactive communication of Internet of Things data in an embodiment of the present application; Figure 4 is a flowchart for implementing S30 of the method for interactive communication of Internet of Things data in an embodiment of the present application; Figure 5 is a flowchart for implementing S40 of the method for interactive communication of Internet of Things data in an embodiment of the present application; Figure 6 It is a flowchart for implementing S43 of the method for interactive communication of Internet of Things data in the embodiment of the present application; Figure 7 is a flowchart for implementing S50 of the method for interactive communication of Internet of Things data in an embodiment of the present application; Figure 8 This is a principle block diagram of the Internet of Things data interactive communication device in the embodiment of the present application; Fig. 9 It is an internal structure diagram of the Internet of Things data interactive communication computer device in the embodiment of the present application. DETAILED DESCRIPTION
[0025] The following is combined with Figure 1-9 This application is described in further detail.
[0026] In one embodiment, if Figure 1 As shown, the present application discloses an Internet of Things data interactive communication method, which specifically includes the following steps: S10: Acquire transmission data format information, and obtain a transmission data type corresponding to the transmission data according to a preset classification rule and the transmission data format information, wherein the transmission data type includes reply data and storage data.
[0027] In this embodiment, the transmission data format information refers to the format information of the data transmitted between the terminal external machine and the gateway. The transmission data type refers to the type of transmission data with different instructions. The reply data refers to the data that needs to be replied to each other by the terminal external machine and the gateway. The storage data refers to the data that needs to be stored in the gateway.
[0028] Specifically, in this embodiment, the machine external to the terminal can collect and obtain multiple types of data, and the terminal is external to multiple types of machines. Therefore, the format information of each type of data transmitted between the machine external to the terminal and the gateway is obtained, that is, the transmission data format information. According to the preset classification rules and different instructions of the transmission data format information, the transmission data is classified to obtain the classification type of the transmission data, that is, the transmission data type, which includes reply data indicating that the machine external to the terminal and the gateway need to reply data, and storage data indicating that it needs to be stored in the gateway.
[0029] Furthermore, storage data refers to data for calling an external terminal machine sent by the gateway to the external terminal machine, as well as user operation data on the external terminal machine sent by the external terminal machine to the gateway, requiring the gateway to store the operation data; reply data refers to data for calling an external terminal machine sent by the gateway to the external terminal machine, as well as user operation data on the external terminal machine sent by the external terminal machine to the gateway, requiring the gateway to reply to the external terminal machine after processing the operation data.
[0030] S20: Acquire transmission data, identify the transmission data type corresponding to the transmission data and transmission data information representing characteristic information of the transmission data.
[0031] In this embodiment, the transmission data refers to the data transmitted interactively between the terminal external device and the gateway. The transmission data information refers to the characteristic information of the transmission data.
[0032] Specifically, after each type of transmission data is classified, that is, after the type of transmission data is obtained, the terminal and the terminal external machine start running, and according to the user's operation instructions, the user's operation data is obtained. According to the operation data, the data to be interactively transmitted between the terminal external machine and the gateway, that is, the transmission data, is obtained, and the transmission data is identified to obtain transmission data information representing the characteristic information of the transmission data.
[0033] Furthermore, the transmission data information includes information indicating the amount of the transmission data, identification information indicating the user operation, and framework data indicating the framework of the data.
[0034] S30: Acquire feedback test transmission data for testing the transmission speed according to the transmission data type and the transmission data information, wherein the feedback test transmission data includes reply feedback test transmission data and storage feedback test transmission data.
[0035] In this embodiment, the feedback test transmission data refers to the transmission data used for network quality testing. The reply feedback test transmission data refers to the reply data used for network quality testing. The storage feedback test transmission data refers to the storage data used for network quality testing.
[0036] Specifically, before data is transmitted between the terminal external machine and the gateway, a network quality test is required. According to the transmission data type and the characteristic information of the transmission data represented by the transmission data information, partial data that can represent the characteristics of the transmission data is extracted from the corresponding transmission data and used as the transmission data for network quality testing, namely, feedback test transmission data. The feedback test transmission data includes reply data and storage data for network quality testing.
[0037] S40: Acquire a feedback test result based on the feedback test transmission data for testing the transmission speed, and trigger a data transmission instruction according to the feedback test result.
[0038] In this embodiment, the feedback test result refers to the test result of the network quality test. The data transmission instruction refers to the instruction information for data transmission between the terminal external device and the gateway.
[0039] Specifically, after obtaining the feedback test transmission data, a network quality test is performed based on the feedback test transmission data. The network quality test is to use the feedback test transmission data to transmit between the terminal external machine and the gateway to test the network quality. After the test is completed, a feedback test result is obtained. According to the network quality of the network to which the current terminal is connected as represented by the test result, a transmission plan for the remaining data in the transmission data except the feedback test transmission data is generated. According to the transmission plan, data transmission is performed between the terminal external machine and the gateway, that is, a data transmission instruction is triggered. The transmission plan means that when the network quality is good, the data transmission speed is increased, and when the network quality is poor, the data transmission speed is reduced, so that the transmission plan adapts to the current network quality.
[0040] S50: Based on the data transmission instruction, trigger a reply data reply instruction.
[0041] In this embodiment, the reply data reply instruction refers to the instruction information of the gateway replying the corresponding data of the terminal external machine.
[0042] Specifically, after the gateway receives and processes the reply data representing the user's operation data, it needs to reply to the terminal external machine based on the reply data. Therefore, according to the transmission speed when the gateway receives the reply data representing the user's operation data, the transmission plan of the reply data from the terminal external machine to the gateway is adjusted, and the gateway replies to the terminal external machine with the corresponding data according to the adjusted transmission plan, thereby triggering the reply data reply instruction.
[0043] In one embodiment, if Figure 2 As shown, in step S10, the transmission data format is obtained, and the transmission data type corresponding to the transmission data is obtained according to the preset rules and the transmission data format, which specifically includes: S11: Acquire historical transmission data, and acquire transmission data format information according to the historical transmission data.
[0044] In this embodiment, the historical transmission data refers to historical transmission data.
[0045] Specifically, all types of historical transmission data, ie, historical transmission data, are acquired, and based on the historical transmission data, transmission data format information of each type of transmission data of the terminal external device is acquired.
[0046] S12: extracting machine calling keyword information for calling an external machine from the transmission data format information according to the transmission data format information.
[0047] In this embodiment, the machine calling keyword information refers to the keyword information in the transmission data used to call the terminal external machine.
[0048] Specifically, according to the data in the transmission data format information indicating the user's operation instructions on the terminal external machine, the keyword information for calling the terminal external machine, ie, the machine calling keyword information, in the transmission data format information is extracted.
[0049] Furthermore, the machine call keyword information indicates which external machine the historical transmission data is used to call and which data of the external machine is collected and obtained. For example, the machine call keyword information indicates that the external machine called by the corresponding historical transmission data is a camera and the image data of the camera is collected and obtained.
[0050] S13: Classify the machine call keyword information according to the preset classification rules to obtain the corresponding transmission data type.
[0051] Specifically, the machine call keyword information is identified, and according to the preset classification rules, it is determined whether the transmission data corresponding to the machine call keyword information is data that needs to be stored in the gateway, or data that needs to be processed by the gateway and then replied to the terminal external machine. According to the judgment result, the machine call keyword information is classified, and the transmission data corresponding to the classified machine call keyword information is also classified accordingly to obtain the classification type of each transmission data, that is, the transmission data type.
[0052] In one embodiment, if Figure 3 As shown, in step S20, the transmission data is acquired, and the transmission data type corresponding to the transmission data and the transmission data information representing the characteristic information of the transmission data are identified, specifically including: S21: Acquire transmission data, and identify the transmission data type corresponding to the transmission data.
[0053] Specifically, after obtaining the transmission data type, the transmission data is acquired, and the type of the acquired transmission data is identified according to the transmission data types corresponding to all types of transmission data represented in the transmission data type, so as to obtain the transmission data type corresponding to the acquired transmission data.
[0054] Furthermore, the transmission data includes the data for calling the terminal external machine sent by the gateway to the terminal external machine, and the operation data of the user on the terminal external machine sent by the terminal external machine to the gateway.
[0055] S22: If the transmission data type is reply data, obtain corresponding reply transmission data information.
[0056] In this embodiment, the reply transmission data information refers to characteristic information of the reply data.
[0057] Specifically, if the identification result indicates that the transmitted data is reply data, then information indicating the data size of the reply data, identity information indicating the user operation, and framework data indicating the framework of the reply data are obtained.
[0058] S23: If the transmission data type is storage data, obtain corresponding storage transmission data information.
[0059] In this embodiment, storing the transmission data information refers to storing characteristic information of the data.
[0060] Specifically, if the identification result indicates that the transmission data is storage data, then information indicating the data volume of the storage data, identity information indicating the user operation, and framework data indicating the framework of the storage data are obtained.
[0061] S24: Transmitting data information includes replying to the transmitted data information and storing the transmitted data information.
[0062] Specifically, transmitting data information includes replying to the transmitted data information and storing the transmitted data information.
[0063] In one embodiment, if Figure 4 As shown, in step S30, according to the transmission data type and the transmission data information, feedback test transmission data for testing the transmission speed is obtained, which specifically includes: S31: Acquire corresponding reply feedback test transmission data according to the reply data and reply transmission data information, and a preset first reply data abbreviation rule.
[0064] In this embodiment, the first reply data abbreviating rule is the rule information for abbreviating the reply data.
[0065] Specifically, according to the frame data representing the frame of the reply data and the data volume of the reply data in the reply transmission data information, as well as the preset first reply data compression rule, the reply data is compressed to obtain corresponding reply feedback test transmission data for network quality testing.
[0066] S32: Acquire corresponding storage feedback test transmission data according to the storage data and storage transmission data information, and a preset storage data reduction rule.
[0067] In this embodiment, storing the data reduction rule stores rule information of the data reduction.
[0068] Specifically, according to the frame data representing the frame of the storage data and the data volume of the storage data in the storage transmission data information, and the preset storage data reduction rule, the storage data is reduced to obtain corresponding storage feedback test transmission data for network quality testing.
[0069] Furthermore, because the requirements for the speed at which the gateway responds to different transmission data are different, the transmission speed requirements for different transmission data are also different. The response speed requirement for reply data is greater than the response speed requirement for stored data. Therefore, for transmission data of the same data size, the data volume of the transmission data processed using the first reply data shortening rule is larger than the data volume of the transmission data processed using the stored data shortening rule.
[0070] In one embodiment, if Figure 5 As shown, in step S40, a feedback test result is obtained based on the feedback test transmission data for testing the transmission speed, and a data transmission instruction is triggered according to the feedback test result, specifically including: S41: triggering a feedback test instruction based on the reply feedback test transmission data or the stored feedback test transmission data for testing the transmission speed.
[0071] In this embodiment, the feedback test instruction refers to instruction information for performing a network quality test.
[0072] Specifically, according to the acquired reply feedback test transmission data or stored feedback test transmission data, a network quality test is performed using the reply feedback test transmission data or the stored feedback test transmission data, i.e., the reply feedback test transmission data or the stored feedback test transmission data is used for transmission between the terminal external machine and the gateway to test the current network quality, i.e., a feedback test instruction is triggered.
[0073] S42: Based on the feedback test instruction, a feedback test result is obtained, where the feedback test result includes a test data transmission speed and a test broadband occupancy rate.
[0074] In this embodiment, the test data transmission speed refers to the transmission speed of the reply feedback test transmission data or the storage feedback test transmission data when being transmitted between the terminal external machine and the gateway. The test bandwidth occupancy rate refers to the occupancy rate of the network bandwidth when the reply feedback test transmission data or the storage feedback test transmission data is transmitted between the terminal external machine and the gateway.
[0075] Specifically, after the network quality test is completed, the feedback test results of the network quality test are obtained, and the feedback test results include a test data transmission speed representing the transmission speed when reply feedback test transmission data or storage feedback test transmission data is transmitted between the terminal external machine and the gateway, and an occupancy rate of the network bandwidth connected to the terminal when reply feedback test transmission data or storage feedback test transmission data is transmitted between the terminal external machine and the gateway.
[0076] S43: triggering a data transmission instruction according to the feedback test result.
[0077] Specifically, according to the current network quality indicated by the feedback test result, a transmission plan adapted to the current network quality is generated, and according to the transmission plan, a data transmission instruction is triggered.
[0078] In one embodiment, if Figure 6 As shown, in step S43, according to the feedback test result, a data transmission instruction is triggered, which specifically includes: S431: Obtain transmission capacity information according to the test data transmission speed and the test broadband occupancy rate.
[0079] In this embodiment, the transmission capability information refers to the amount of data that can be transmitted by the network to which the current terminal is connected.
[0080] Specifically, based on the test data transmission speed and the test broadband occupancy rate, if the test broadband occupancy rate is relatively high, it means that the data transmission capacity of the network broadband connected to the terminal external machine is relatively poor; if the test data transmission speed is relatively slow, it means that the current network speed is poor. Therefore, based on the test data transmission speed and the test broadband occupancy rate, when smooth data transmission is required under the network environment represented by the current test data transmission speed and the test broadband occupancy rate, the amount of data that can be transmitted by the network connected to the current terminal, that is, the transmission capacity information, is obtained.
[0081] S432: Generate transmission plan data according to the transmission capability information and the transmission data information.
[0082] In this embodiment, the transmission plan data refers to the transmission plan for the remaining data in the transmission data except the feedback test transmission data.
[0083] Specifically, according to the information indicating the data volume of the transmission data in the transmission capacity information and the transmission data information, the remaining data of the transmission data except the feedback test transmission data is divided into several parts suitable for the transmission capacity information, and a transmission order for the transmission data of the several parts is generated. In this embodiment, when the terminal external machine sends the operation data of the user on the terminal external machine to the gateway, the transmission order is to give priority to the data that can make the gateway respond, to ensure that the gateway first responds to the transmission data for preparation, and then sorts the data representing the substantive content of the user operation. When the gateway sends the data of calling the terminal external machine to the terminal external machine, the transmission order is to give priority to the data that can make the terminal external machine respond. According to the divided several parts of the transmission data and the corresponding transmission order, a transmission plan for the remaining data in the transmission data except the feedback test transmission data, that is, the transmission plan data, is generated.
[0084] S433: Triggering a data transmission instruction based on the transmission plan data.
[0085] Specifically, the data transmission instruction is triggered according to the transmission order and the amount of data to be transmitted indicated by the transmission plan data.
[0086] In one embodiment, if Figure 7 As shown, in step S50, based on the data transmission instruction, triggering a reply data reply instruction specifically includes: S51: Based on the data transmission instruction, obtain a reply data transmission speed.
[0087] In this embodiment, the reply data transmission speed refers to the transmission speed of the reply feedback test transmission data when it is transmitted between the terminal external machine and the gateway.
[0088] Specifically, the reply data includes the data for calling the external terminal machine sent by the gateway to the external terminal machine, and the data for operating the external terminal machine by the user sent by the external terminal machine to the gateway, and the gateway is required to process the operation data and then reply to the external terminal machine. Therefore, the speed at which the gateway sends the data for calling the external terminal machine to the external terminal machine and the speed at which the external terminal machine sends the data for operating the external terminal machine by the user to the gateway are obtained, that is, the reply data transmission speed.
[0089] S52: Input the reply data transmission speed and the reply feedback test transmission data into a preset verification model, and obtain a preset second reply data abbreviation rule according to the verification model.
[0090] In this embodiment, the second reply data shortening rule refers to rule information for shortening reply data that is different from the first reply data shortening rule.
[0091] Specifically, the obtained reply data transmission speed and the reply feedback test transmission data used for network quality testing are input into a preset verification model, in which the reply data transmission speed is compared with the preset transmission speed. When the reply data transmission speed is lower than the preset transmission speed, it is determined which abbreviation rule is used to obtain the reply feedback test transmission data. Based on the determination result, another preset abbreviation rule is obtained, namely, the second reply data abbreviation rule.
[0092] Furthermore, the purpose of changing the abbreviation rule for reply data is to avoid using a certain abbreviation rule for network quality testing, when the reply feedback test transmission data obtained by the abbreviation rule is not applicable to the current network. Therefore, it is necessary to replace the abbreviation rule and re-perform the network quality test.
[0093] S53: triggering a reply data reply instruction according to the second interactive data abbreviation rule.
[0094] Specifically, according to the second interactive data abbreviation rule, the data replied by the gateway to the terminal external machine is abbreviated using the second interactive data abbreviation rule, and a network quality test is performed based on the data, and then data is transmitted based on the test result of the network quality test, that is, a reply data reply instruction is triggered.
[0095] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0096] In one embodiment, an Internet of Things data interactive communication device is provided, and the Internet of Things data interactive communication device corresponds one-to-one to the Internet of Things data interactive communication method in the above embodiment. Figure 8 As shown, the IoT data interactive communication device includes a transmission data type acquisition module, a transmission data identification module, a feedback test transmission data acquisition module, a data transmission instruction module and a reply data reply instruction module. The functional modules are described in detail as follows: A transmission data type acquisition module is used to acquire transmission data format information, and obtain the transmission data type corresponding to the transmission data according to the preset classification rules and the transmission data format information, wherein the transmission data type includes reply data and storage data; A transmission data identification module, used to obtain transmission data, identify the transmission data type corresponding to the transmission data and transmission data information representing characteristic information of the transmission data; A feedback test transmission data acquisition module is used to acquire feedback test transmission data for testing the transmission speed according to the transmission data type and the transmission data information, wherein the feedback test transmission data includes reply feedback test transmission data and storage feedback test transmission data; A data transmission instruction module, used to obtain a feedback test result based on feedback test transmission data for testing the transmission speed, and trigger a data transmission instruction according to the feedback test result; The reply data reply instruction module is used to trigger the reply data reply instruction based on the data transmission instruction.
[0097] Optionally, the transmission data type acquisition module includes: The transmission data format information acquisition submodule is used to acquire historical transmission data and obtain transmission data format information based on the historical transmission data; A machine call keyword information acquisition submodule is used to extract machine call keyword information for calling an external machine from the transmission data format information according to the transmission data format information; The transmission data type acquisition submodule is used to classify the machine call keyword information according to the preset classification rules to obtain the corresponding transmission data type.
[0098] Optionally, the transmission data information includes replying the transmission data information and storing the transmission data information, and the transmission data identification module includes: The transmission data identification submodule is used to obtain the transmission data and identify the transmission data type corresponding to the transmission data; The reply transmission data information acquisition submodule is used to acquire the corresponding reply transmission data information if the transmission data type is reply data; The storage transmission data information acquisition submodule is used to acquire corresponding storage transmission data information if the transmission data type is storage data.
[0099] Optionally, the feedback test transmission data acquisition module includes: A reply feedback test transmission data acquisition submodule is used to acquire corresponding reply feedback test transmission data according to the reply data and reply transmission data information, and a preset first reply data abbreviation rule; The storage feedback test transmission data acquisition submodule is used to acquire corresponding storage feedback test transmission data according to the storage data and storage transmission data information, and the preset storage data abbreviation rule.
[0100] Optionally, the data transmission instruction module includes: A feedback test instruction submodule, used for triggering a feedback test instruction based on reply feedback test transmission data or stored feedback test transmission data for testing transmission speed; The feedback test result acquisition submodule is used to obtain the feedback test result based on the feedback test instruction, and the feedback test result includes the test data transmission speed and the test broadband occupancy rate; The data transmission instruction submodule is used to trigger the data transmission instruction according to the feedback test results.
[0101] Optionally, the data transmission instruction submodule includes: A transmission capacity information acquisition unit, used to obtain transmission capacity information according to a test data transmission speed and a test broadband occupancy rate; A transmission plan data generating unit, configured to generate transmission plan data according to the transmission capability information and the transmission data information; The data transmission instruction unit is used to trigger the data transmission instruction based on the transmission plan data.
[0102] Optionally, the reply data reply instruction module includes: A reply data transmission speed acquisition submodule is used to acquire a reply data transmission speed based on a data transmission instruction; A second reply data abbreviation rule acquisition submodule is used to input the reply data transmission speed and the reply feedback test transmission data into a preset verification model, and acquire a preset second reply data abbreviation rule according to the verification model; The reply data reply instruction submodule is used to trigger the reply data reply instruction according to the second interactive data abbreviation rule.
[0103] For the specific definition of the IoT data interaction communication device, please refer to the definition of the IoT data interaction communication method above, which will not be repeated here. Each module in the above IoT data interaction communication device can be implemented in whole or in part by software, hardware and a combination thereof. The above modules can be embedded in or independent of the processor in the computer device in the form of hardware, or can be stored in the memory of the computer device in the form of software, so that the processor can call and execute the operations corresponding to the above modules.
[0104] In one embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as follows: Fig. 9 As shown. The computer device includes a processor, a memory, a network interface and a database connected through a system bus. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store transmission data types, transmission data information and feedback test transmission data, etc. The network interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a method for data interactive communication in the Internet of Things is implemented.
[0105] In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program: Acquire transmission data format information, and obtain transmission data type corresponding to the transmission data according to preset classification rules and transmission data format information, wherein the transmission data type includes reply data and storage data; Acquire transmission data, identify the transmission data type corresponding to the transmission data and transmission data information representing characteristic information of the transmission data; Acquire feedback test transmission data for testing the transmission speed according to the transmission data type and the transmission data information, wherein the feedback test transmission data includes reply feedback test transmission data and storage feedback test transmission data; Acquire feedback test results based on feedback test transmission data for testing transmission speed, and trigger data transmission instructions according to the feedback test results; Based on the data transmission instruction, a reply data reply instruction is triggered.
[0106] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented: Acquire transmission data format information, and obtain transmission data type corresponding to the transmission data according to preset classification rules and transmission data format information, wherein the transmission data type includes reply data and storage data; Acquire transmission data, identify the transmission data type corresponding to the transmission data and transmission data information representing characteristic information of the transmission data; Acquire feedback test transmission data for testing the transmission speed according to the transmission data type and the transmission data information, wherein the feedback test transmission data includes reply feedback test transmission data and storage feedback test transmission data; Acquire feedback test results based on feedback test transmission data for testing transmission speed, and trigger data transmission instructions according to the feedback test results; Based on the data transmission instruction, a reply data reply instruction is triggered.
[0107] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0108] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.
[0109] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A data interactive communication method for the Internet of Things, characterized in that: The Internet of Things data interactive communication method comprises: Acquire transmission data format information, and obtain transmission data type corresponding to the transmission data according to a preset classification rule and the transmission data format information, wherein the transmission data type includes reply data and storage data; Acquire transmission data, and identify the type of transmission data corresponding to the transmission data and transmission data information representing characteristic information of the transmission data; Acquire feedback test transmission data for testing the transmission speed according to the transmission data type and the transmission data information, wherein the feedback test transmission data includes reply feedback test transmission data and storage feedback test transmission data; Acquire a feedback test result based on the feedback test transmission data for testing the transmission speed, and trigger a data transmission instruction according to the feedback test result; Based on the data transmission instruction, a reply data reply instruction is triggered.
2. The method for interactive communication of Internet of Things data according to claim 1, characterized in that: The acquiring of the transmission data format, obtaining the transmission data type corresponding to the transmission data according to the preset rule and the transmission data format, specifically includes: Acquire historical transmission data, and acquire transmission data format information according to the historical transmission data; According to the transmission data format information, extracting machine calling keyword information for calling an external machine from the transmission data format information; According to the preset classification rules, the machine call keyword information is classified to obtain the corresponding transmission data type.
3. The method for interactive communication of Internet of Things data according to claim 1, characterized in that: The acquiring of transmission data and identifying the transmission data type corresponding to the transmission data and transmission data information representing characteristic information of the transmission data specifically includes: Acquire transmission data, and identify the transmission data type corresponding to the transmission data; If the transmission data type is reply data, obtaining corresponding reply transmission data information; If the transmission data type is storage data, obtaining corresponding storage transmission data information; The transmitting data information includes replying the transmitting data information and storing the transmitting data information.
4. The method for interactive communication of Internet of Things data according to claim 3, characterized in that: The acquiring, according to the transmission data type and the transmission data information, feedback test transmission data for testing the transmission speed specifically includes: According to the reply data and the reply transmission data information, and the preset first reply data abbreviation rule, obtaining corresponding reply feedback test transmission data; According to the storage data and the storage transmission data information, and the preset storage data abbreviation rule, the corresponding storage feedback test transmission data is obtained.
5. The method for interactive communication of Internet of Things data according to claim 1, characterized in that: The obtaining of a feedback test result based on the feedback test transmission data for testing the transmission speed, and triggering a data transmission instruction according to the feedback test result, specifically includes: triggering a feedback test instruction based on the reply feedback test transmission data or the stored feedback test transmission data for testing the transmission speed; Based on the feedback test instruction, obtaining a feedback test result, wherein the feedback test result includes a test data transmission speed and a test broadband occupancy rate; According to the feedback test result, a data transmission instruction is triggered.
6. The method for interactive communication of Internet of Things data according to claim 5, characterized in that: The triggering of the data transmission instruction according to the feedback test result specifically includes: Obtaining transmission capacity information according to the test data transmission speed and the test broadband occupancy rate; generating transmission plan data according to the transmission capability information and the transmission data information; Based on the transmission plan data, a data transmission instruction is triggered.
7. The method for interactive communication of Internet of Things data according to claim 1, characterized in that: The triggering of the reply data reply instruction based on the data transmission instruction specifically includes: Based on the data transmission instruction, obtaining a reply data transmission speed; Inputting the reply data transmission speed and the reply feedback test transmission data into a preset verification model, and obtaining a preset second reply data abbreviation rule according to the verification model; According to the second interactive data abbreviation rule, a reply data reply instruction is triggered.
8. An Internet of Things data interactive communication device, characterized in that: The Internet of Things data interactive communication device comprises: A transmission data type acquisition module, used to acquire transmission data format information, and obtain the transmission data type corresponding to the transmission data according to a preset classification rule and the transmission data format information, wherein the transmission data type includes reply data and storage data; A transmission data identification module, used to obtain transmission data, identify the transmission data type corresponding to the transmission data and transmission data information representing characteristic information of the transmission data; A feedback test transmission data acquisition module, used to acquire feedback test transmission data for testing the transmission speed according to the transmission data type and the transmission data information, wherein the feedback test transmission data includes reply feedback test transmission data and storage feedback test transmission data; A data transmission instruction module, used to obtain a feedback test result based on the feedback test transmission data used to test the transmission speed, and trigger a data transmission instruction according to the feedback test result; The reply data reply instruction module is used to trigger the reply data reply instruction based on the data transmission instruction.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the Internet of Things data interactive communication method as described in any one of claims 1 to 7 are implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the Internet of Things data interactive communication method as described in any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Intelligent emergency broadcast system data interaction method, device and equipment and storage medium
CN119341673A
