A communication adjustment method, system and medium based on compatibility

By judging compatibility and operating conditions in communication devices, verifying the consistency of GPIO and software versions, and realizing communication adjustments, the problem of limited interface resources and coexistence of modules in multi-module devices is solved, and the device performance and functional integrity are improved.

CN119561834BActive Publication Date: 2025-04-08SHENZHEN TIANLONG CENTURY TECH DEV
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510108811.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-01-23
Publication Date
2025-04-08
Estimated Expiration
2045-01-23

AI Technical Summary

Technical Problem

In modern communication equipment, multiple modules rely on the UART interface for communication, resulting in limited interface resources and difficult module coexistence. Traditional solutions cannot ensure the normal operation of each module and efficient resource utilization.

Method used

By judging the connection status and operating status of the communication device, verify the consistency of GPIO data and software versions to achieve communication adjustments. Specific steps include obtaining communication module configuration information, establishing connections, testing health status, obtaining frequency band difference data and communication position data, activating the modem's control mode, obtaining software version data, and performing consistency matching and refresh operations.

Benefits of technology

Communication adjustment of compatible devices is realized, the problems of module coexistence difficulties and communication interruption are solved, and the overall performance and functional integrity of the device are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119561834B_ABST
    Figure CN119561834B_ABST
Patent Text Reader

Abstract

The present application provides a method, system and medium for adjusting communication based on compatibility. The method includes: obtaining the communication module configuration information of the communication device, obtaining the connection status of the compatible communication device after processing, obtaining the operation status of the compatible communication device after testing the compatible communication device, obtaining the frequency band difference data and the communication position data and processing to obtain the GPIO data, and then obtaining the corresponding software version data according to the GPIO data, and then matching the software version data with the current software version data for consistency, and performing a software refresh operation according to the matching result; thereby, the communication adjustment of the compatible device is realized by judging the connection status of the compatible communication device and the operation status of the compatible communication device, and verifying the consistency of the GPIO data and the software version.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication adjustment, and in particular, to a compatibility-based communication adjustment method, system and medium. Background Art

[0002] In modern communication equipment, it is often necessary to integrate multiple modules with different functions, such as Beidou positioning module and radio frequency identification module, to meet diverse application requirements. However, the platform used by the device may have limited interface resources. For example, some common platforms only provide a limited number of UART interfaces, and multiple modules rely on UART interfaces for communication, which leads to the problem of module coexistence. Traditional solutions often cannot achieve efficient resource utilization and stable communication while ensuring the normal operation of each module. It is easy to have communication interruptions or modules cannot be enabled at the same time, which seriously affects the overall performance and functional integrity of the device.

[0003] In addition, the communication frequency bands and standards in different regions are different, which will also affect the setting of software parameters. Therefore, a communication adjustment method is urgently needed to solve these problems.

[0004] In view of the above problems, effective technical solutions are urgently needed. Summary of the invention

[0005] The purpose of the present application is to provide a compatibility-based communication adjustment method, system and medium, which realizes the communication adjustment of compatible devices by judging the connection status and operation status of compatible communication devices, and verifying the consistency of GPIO data and software versions.

[0006] The present application also provides a communication adjustment method based on compatibility, comprising the following steps:

[0007] Acquire communication module configuration information of the communication device, establish a connection with the communication device according to the communication module configuration information, and obtain connection status of the compatible communication device;

[0008] Testing the compatible communication device according to the connection status of the compatible communication device to obtain the operation status of the compatible communication device;

[0009] Obtain frequency band difference data and communication location data according to the operation status of the compatible communication device, and obtain GPIO data according to the frequency band difference data and the communication location data;

[0010] activating a control mode of the modem according to the GPIO data and obtaining corresponding software version data;

[0011] Obtain the current software version data, match it with the software version data for consistency, and perform software refresh operations based on the matching results.

[0012] Optionally, in the compatibility-based communication adjustment method described in the present application, acquiring communication module configuration information of the communication device, establishing a connection with the communication device according to the communication module configuration information, and obtaining a connection status of the compatible communication device specifically includes:

[0013] Obtain the communication module configuration information of the communication device, including Beidou module configuration and RFID module configuration;

[0014] Send the communication information of the Beidou module to the communication device through the UART port to obtain the Beidou connection status data;

[0015] The communication information of the RFID module is sent to the CH432T conversion chip through the SPI interface, and the CH432T conversion chip sends the communication information to the communication device through the UART interface to obtain the RF connection status data;

[0016] The connection status of compatible communication devices is obtained after processing the Beidou connection status data and the radio frequency connection status data, including compatible status and incompatible status.

[0017] Optionally, in the compatibility-based communication adjustment method described in the present application, testing the compatible communication device according to the connection status of the compatible communication device to obtain the operation status of the compatible communication device specifically includes:

[0018] If the connection status of the compatible communication device is a compatible status, the Beidou module and the radio frequency identification module are tested for receiving and sending data at the same time within a preset time period, and the Beidou receiving rate, Beidou sending and receiving rate, radio frequency receiving rate and radio frequency sending rate are obtained respectively;

[0019] Compare the Beidou receiving rate and Beidou sending rate with the Beidou receiving threshold and Beidou sending threshold respectively to obtain Beidou receiving status data and Beidou sending status data, and perform an AND operation on the Beidou receiving status data and the Beidou sending status data to obtain Beidou operating status data;

[0020] Compare the RF receiving rate and the RF sending rate with the RF receiving threshold and the RF sending threshold respectively to obtain RF receiving state data and RF sending state data, and perform AND operation on the RF receiving state data and the RF sending state data to obtain RF operation state data;

[0021] Obtaining compatible communication equipment operating status data by performing an AND operation on the Beidou operating status data and the radio frequency operating status data;

[0022] The operation status of the compatible communication device is obtained according to the compatible communication device operation status data, including normal operation or abnormal operation.

[0023] Optionally, in the compatibility-based communication adjustment method described in the present application, the acquiring of frequency band difference data and communication position data according to the operating status of the compatible communication device, and the obtaining of GPIO data according to the frequency band difference data and the communication position data, specifically includes:

[0024] If the operation status of the compatible communication device is normal, obtaining frequency band difference data and communication position data, the frequency band difference data including frequency band different data or frequency band same data;

[0025] If the frequency band difference data is frequency band different data, the communication position data is matched with the preset frequency band position table to obtain corresponding GPIO data, including high level data and low level data.

[0026] Optionally, in the compatibility-based communication adjustment method described in the present application, activating the control mode of the modem according to the GPIO data and obtaining the corresponding software version data specifically includes:

[0027] If the GPIO data is high level data, activating the control mode of the modem and obtaining the corresponding first software version data;

[0028] If the GPIO data is low level data, the corresponding second software version data is obtained.

[0029] Optionally, in the compatibility-based communication adjustment method described in the present application, obtaining the current software version data, matching the current software version data for consistency, and performing a software refresh operation according to the matching result specifically includes:

[0030] Perform consistency matching between the current software version data and the software version data to obtain a matching result, including a consistent match or an inconsistent match;

[0031] If the matching result is inconsistent, the current software is updated to the software version data, and the preset calibration parameters are obtained accordingly;

[0032] If the matching result is a consistent match, the current software is maintained unchanged.

[0033] In a second aspect, the present application provides a compatibility-based communication adjustment system, the system comprising: a memory and a processor, the memory storing a program of a compatibility-based communication adjustment method, the program of the compatibility-based communication adjustment method being executed by the processor to implement the following steps:

[0034] Acquire communication module configuration information of the communication device, establish a connection with the communication device according to the communication module configuration information, and obtain connection status of the compatible communication device;

[0035] Testing the compatible communication device according to the connection status of the compatible communication device to obtain the operation status of the compatible communication device;

[0036] Obtain frequency band difference data and communication location data according to the operation status of the compatible communication device, and obtain GPIO data according to the frequency band difference data and the communication location data;

[0037] activating a control mode of the modem according to the GPIO data and obtaining corresponding software version data;

[0038] Obtain the current software version data, match it with the software version data for consistency, and perform software refresh operations based on the matching results.

[0039] Optionally, in the compatibility-based communication adjustment system described in the present application, communication module configuration information of the communication device is obtained, a connection is established with the communication device according to the communication module configuration information, and a connection status of the compatible communication device is obtained;

[0040] Testing the compatible communication device according to the connection status of the compatible communication device to obtain the operation status of the compatible communication device;

[0041] Obtain frequency band difference data and communication location data according to the operation status of the compatible communication device, and obtain GPIO data according to the frequency band difference data and the communication location data;

[0042] activating a control mode of the modem according to the GPIO data and obtaining corresponding software version data;

[0043] Obtain the current software version data, match it with the software version data for consistency, and perform software refresh operations based on the matching results.

[0044] Optionally, in the compatibility-based communication adjustment system described in the present application, the testing of the compatible communication device according to the connection status of the compatible communication device to obtain the operation status of the compatible communication device specifically includes:

[0045] If the connection status of the compatible communication device is a compatible status, the Beidou module and the radio frequency identification module are tested for receiving and sending data at the same time within a preset time period, and the Beidou receiving rate, Beidou sending and receiving rate, radio frequency receiving rate and radio frequency sending rate are obtained respectively;

[0046] Compare the Beidou receiving rate and Beidou sending rate with the Beidou receiving threshold and Beidou sending threshold respectively to obtain Beidou receiving status data and Beidou sending status data, and perform an AND operation on the Beidou receiving status data and the Beidou sending status data to obtain Beidou operating status data;

[0047] Compare the RF receiving rate and the RF sending rate with the RF receiving threshold and the RF sending threshold respectively to obtain RF receiving state data and RF sending state data, and perform AND operation on the RF receiving state data and the RF sending state data to obtain RF operation state data;

[0048] Obtaining compatible communication equipment operating status data by performing an AND operation on the Beidou operating status data and the radio frequency operating status data;

[0049] The operation status of the compatible communication device is obtained according to the compatible communication device operation status data, including normal operation or abnormal operation.

[0050] In a third aspect, the present application also provides a readable storage medium, in which a compatibility-based communication adjustment method program is stored. When the compatibility-based communication adjustment method program is executed by a processor, the steps of a compatibility-based communication adjustment method as described in any one of the above items are implemented.

[0051] As can be seen from the above, the present application provides a method, system and medium for communication adjustment based on compatibility. The method obtains the communication module configuration information of the communication device, obtains the connection status of the compatible communication device after processing, obtains the operation status of the compatible communication device after testing the compatible communication device, obtains the frequency band difference data and the communication position data and processes to obtain the GPIO data, and then obtains the corresponding software version data according to the GPIO data, and then performs a software refresh operation according to the matching result after the software version data is matched with the current software version data for consistency; thereby, the communication adjustment of the compatible device is realized by judging the connection status of the compatible communication device and the operation status of the compatible communication device, and verifying the consistency of the GPIO data and the software version.

[0052] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures particularly pointed out in the written description and the drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for use in the embodiments of the present application will be briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0054] Figure 1 A flow chart of a communication adjustment method based on compatibility provided in an embodiment of the present application;

[0055] Figure 2 A flow chart of obtaining a connection status of a compatible communication device in a communication adjustment method based on compatibility provided in an embodiment of the present application;

[0056] Figure 3 A flow chart of obtaining the operating status of a compatible communication device according to a compatibility-based communication adjustment method provided in an embodiment of the present application;

[0057] Figure 4 A flowchart of obtaining GPIO data in a communication adjustment method based on compatibility provided in an embodiment of the present application. DETAILED DESCRIPTION

[0058] The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. The components of the embodiments of the present application described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the application claimed for protection, but merely represents the selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present application.

[0059] It should be noted that similar reference numerals and letters represent similar items in the following drawings, so once an item is defined in one drawing, it does not need to be further defined and explained in subsequent drawings. At the same time, in the description of this application, the terms "first", "second", etc. are only used to distinguish the description and cannot be understood as indicating or implying relative importance.

[0060] Please refer to Figure 1 , Figure 1 1 is a flow chart of a compatibility-based communication adjustment method in some embodiments of the present application. The compatibility-based communication adjustment method is used in a terminal device, such as a computer, a mobile phone, etc. The compatibility-based communication adjustment method includes the following steps:

[0061] S11, obtaining communication module configuration information of the communication device, establishing a connection with the communication device according to the communication module configuration information, and obtaining a connection status of a compatible communication device;

[0062] S12, testing the compatible communication device according to the connection status of the compatible communication device to obtain the operation status of the compatible communication device;

[0063] S13, acquiring frequency band difference data and communication position data according to the operating status of the compatible communication device, and obtaining GPIO data according to the frequency band difference data and the communication position data;

[0064] S14, activating the control mode of the modem according to the GPIO data, and obtaining corresponding software version data;

[0065] S15. Obtain the current software version data, and perform consistency matching with the software version data, and perform a software refresh operation according to the matching result.

[0066] It should be noted that when a communication device has two modules, due to the limitation of the interface, they cannot be connected to work at the same time. Therefore, compatible communication needs to be established through a conversion chip. According to the connection and information connection of the two modules, the connection status of the compatible communication device can be obtained. Only after the connection is successful can the compatible communication device be tested to obtain the operating status of the compatible communication device, that is, to determine whether the working status of the compatible communication device is normal. If normal, the frequency band difference data and communication position data are obtained, and the GPIO data is processed. GPIO is a general input and output port. The corresponding software version data is obtained according to the GPIO data, and the software version data and the current software version data are matched for consistency, that is, to verify whether they are consistent. Different operations can be taken according to the matching results.

[0067] Please refer to Figure 2 , Figure 2 The present invention provides a flow chart of obtaining the connection status of a compatible communication device according to a method for adjusting the communication based on compatibility. According to the present invention, obtaining the communication module configuration information of the communication device, establishing a connection with the communication device according to the communication module configuration information, and obtaining the connection status of the compatible communication device specifically include:

[0068] S21. Obtain communication module configuration information of the communication device, including Beidou module configuration and radio frequency identification module configuration;

[0069] S22, sending the communication information of the Beidou module to the communication device through the UART port to obtain Beidou connection status data;

[0070] S23, sending the communication information of the radio frequency identification module to the CH432T conversion chip through the SPI interface, and the CH432T conversion chip sends the communication information to the communication device through the UART interface to obtain the radio frequency connection status data;

[0071] S24. Obtain connection status of compatible communication devices after processing the Beidou connection status data and the radio frequency connection status data, including compatible status and incompatible status.

[0072] It should be noted that the Beidou module is a device for positioning based on the Beidou satellite navigation system; the radio frequency identification module is a functional component for realizing radio frequency identification technology; CH432T is a commonly used interface conversion chip, which plays a key role in the communication adjustment method, especially in solving the problem of module coexistence, providing a bridge for connection and communication for modules of different interface types; SPI (Serial Peripheral Interface) is a serial peripheral interface, which is a high-speed, full-duplex, synchronous communication bus; UART (Universal Asynchronous Receiver / Transmitter) is a universal asynchronous receiver / transmitter, which is a serial communication interface protocol; Beidou connection status data and radio frequency connection status data are ANDed to obtain compatible communication device connection status data, and the compatible communication device connection status can be obtained according to the data; in this embodiment, if the Beidou connection status data is 1, it means that the connection is normal, and if it is 0, it means that the connection is abnormal; only when the Beidou connection status data and the radio frequency connection status data are both 1, the compatible communication device connection status can be compatible.

[0073] Please refer to Figure 3 , Figure 3 The present invention provides a flow chart of obtaining the operating status of a compatible communication device according to a compatibility-based communication adjustment method provided in an embodiment of the present invention. According to an embodiment of the present invention, the testing of the compatible communication device according to the connection status of the compatible communication device to obtain the operating status of the compatible communication device specifically includes:

[0074] S31. If the connection status of the compatible communication device is a compatible status, the Beidou module and the radio frequency identification module are tested for receiving and sending data simultaneously within a preset time period, and the Beidou receiving rate, Beidou sending and receiving rate, radio frequency receiving rate and radio frequency sending rate are obtained respectively;

[0075] S32, compare the Beidou receiving rate and Beidou sending rate with the Beidou receiving threshold and Beidou sending threshold respectively, obtain Beidou receiving status data and Beidou sending status data, and perform an AND operation on the Beidou receiving status data and the Beidou sending status data to obtain Beidou operating status data;

[0076] S33, comparing the RF receiving rate and the RF sending rate with the RF receiving threshold and the RF sending threshold respectively, obtaining RF receiving state data and RF sending state data, and performing AND operation on the RF receiving state data and the RF sending state data to obtain RF operation state data;

[0077] S34, obtaining compatible communication equipment operation status data by performing an AND operation on the Beidou operation status data and the radio frequency operation status data;

[0078] S35. Obtain the operation status of the compatible communication device according to the operation status data of the compatible communication device, including normal operation or abnormal operation.

[0079] It should be noted that when the connection status of the compatible communication device is a compatible status, it means that the communication device has compatible hardware conditions and can be tested to obtain corresponding test data. The preset time period can be customized according to user needs. The Beidou receiving rate refers to the rate at which the Beidou module receives data, the Beidou sending rate refers to the rate at which the Beidou module sends data, the RF receiving rate refers to the rate at which the RFID module receives data, and the RF sending rate refers to the rate at which the RFID module sends data; when the Beidou receiving rate and the Beidou sending rate are respectively greater than or equal to the Beidou receiving threshold and the Beidou sending threshold, the Beidou receiving status data and the Beidou sending status data take the value of 1; if the Beidou receiving rate and the Beidou sending rate are respectively less than the Beidou receiving threshold and the Beidou sending threshold, the Beidou receiving status data and the Beidou sending status data take the value of 0.

[0080] Please refer to Figure 4 , Figure 4 The present invention provides a flow chart of obtaining GPIO data in a communication adjustment method based on compatibility. According to the present invention, the method of obtaining frequency band difference data and communication position data according to the operating status of the compatible communication device, and obtaining GPIO data according to the frequency band difference data and communication position data, specifically includes:

[0081] S41. If the operation status of the compatible communication device is normal, obtaining frequency band difference data and communication position data, where the frequency band difference data includes frequency band different data or frequency band same data;

[0082] S42: If the frequency band difference data is frequency band different data, the communication position data is matched with a preset frequency band position table to obtain corresponding GPIO data, including high level data and low level data.

[0083] It should be noted that in this embodiment, different communication methods often have different frequency bands in different countries. If the frequency bands are the same, the software used or the setting parameters are consistent. If the frequency bands are different, it is necessary to query the preset frequency band position table based on the communication position data. The frequency band position table includes location data and corresponding frequency band data and GPIO data; the GPIO data can be queried through the communication position.

[0084] According to an embodiment of the present invention, activating the control mode of the modem according to the GPIO data and obtaining the corresponding software version data specifically includes:

[0085] If the GPIO data is high level data, activating the control mode of the modem and obtaining the corresponding first software version data;

[0086] If the GPIO data is low level data, the corresponding second software version data is obtained.

[0087] It should be noted that different GPIO data can activate different control modes of the modem. In the present embodiment, high-level data corresponds to first software version data, which can be understood as foreign version software data; low-level data corresponds to second software version data, which can be understood as domestic version software data; the first software version data and the second software version data respectively correspond to different setting parameters.

[0088] According to an embodiment of the present invention, obtaining the current software version data, matching the current software version data with the software version data for consistency, and performing a software refresh operation according to the matching result specifically includes:

[0089] Perform consistency matching between the current software version data and the software version data to obtain a matching result, including a consistent match or an inconsistent match;

[0090] If the matching result is inconsistent, the current software is updated to the software version data, and the preset calibration parameters are obtained accordingly;

[0091] If the matching result is a consistent match, the current software is maintained unchanged.

[0092] It should be noted that the current software version is matched with the software version data for consistency. If they are consistent, it means that the current software version is correct and no version and setting parameter adjustment is required. If the match is inconsistent, it means that the current software version is incorrect and needs to be updated and the setting parameters adjusted at the same time.

[0093] It is worth mentioning that it also includes:

[0094] Acquire the communication data between the communication device and the communication module within a preset time period, including the number of communication interruptions and the duration of a single interruption;

[0095] The communication interruption frequency data is calculated based on the preset time period and the number of communication interruptions, and the average interruption duration data is calculated based on the number of communication interruptions and the single interruption duration data;

[0096] Inputting the communication interruption frequency data and the average interruption duration data into a preset communication status evaluation model for processing to obtain a communication stability index;

[0097] Comparing the communication stability index with a preset communication status evaluation threshold to obtain a communication status, including a stable state and an unstable state;

[0098] If the communication stability index is greater than a preset communication status evaluation threshold, the communication state is an unstable state;

[0099] If the communication stability index is less than or equal to a preset communication status evaluation threshold, the communication state is a stable state;

[0100] The calculation formula of the communication stability index in the communication status evaluation model is:

[0101] ;

[0102] in, is the communication stability index, is the communication interruption frequency data, is the average interruption duration data, , It is a preset characteristic coefficient (the characteristic coefficient is obtained by querying the preset communication adjustment platform based on compatibility).

[0103] It should be noted that in order to better test the communication status of the compatible module, the number of communication interruptions and the single interruption duration data are obtained. The number of communication interruptions is divided by the preset time period to obtain the communication interruption frequency data. The single interruption duration data corresponding to each communication interruption is added and divided by the number of communication terminals to obtain the average interruption duration data; the communication status evaluation model is obtained through training with a large amount of historical data, and the communication stability index reflects the stability of the communication to a certain extent. The smaller the value, the better the stability; in this embodiment, the communication status evaluation threshold is set to: (0, 0.5], the communication state is stable; (0.5, 1], the communication state is unstable; when the communication stability index is 0.8, the communication state is unstable.

[0104] It is worth mentioning that it also includes:

[0105] Acquire transmission speed data and transmission delay data of signal transmission between the communication device and the communication module;

[0106] Inputting the transmission speed data and the transmission delay data into a preset communication transmission time efficiency evaluation model for processing to obtain an information transmission time efficiency index;

[0107] Dividing the information transmission timeliness index by a preset transmission timeliness standard value to obtain a transmission timeliness relative value;

[0108] Comparing the transmission time efficiency relative value with a preset transmission time efficiency relative threshold value to obtain a communication transmission state, including high-quality transmission and low-quality transmission;

[0109] If the transmission timeliness relative value is greater than or equal to a preset transmission timeliness relative threshold, the communication transmission state is high-quality transmission;

[0110] If the transmission timeliness relative value is less than the preset transmission timeliness relative threshold, the communication transmission state is low-quality transmission, and a transmission abnormality warning is issued;

[0111] The calculation formula of the information transmission time efficiency index in the communication transmission time efficiency evaluation model is:

[0112] ;

[0113] in, is the information transmission timeliness index, For transmission speed data, To transmit delayed data, , , , It is a preset characteristic coefficient (the characteristic coefficient is obtained by querying the preset communication adjustment platform based on compatibility).

[0114] It should be noted that when communication equipment is running, it is necessary to monitor its communication transmission timeliness in real time to ensure timeliness. The communication transmission timeliness evaluation model is obtained through training with a large amount of historical data; the relative value of transmission timeliness can make the transmission timeliness more intuitive to a certain extent. The larger the relative value of transmission timeliness, the better the transmission.

[0115] The present invention also discloses a compatibility-based communication adjustment system, comprising a memory and a processor, wherein the memory stores a compatibility-based communication adjustment method program, and when the compatibility-based communication adjustment method program is executed by the processor, the following steps are implemented:

[0116] Acquire communication module configuration information of the communication device, establish a connection with the communication device according to the communication module configuration information, and obtain connection status of the compatible communication device;

[0117] Testing the compatible communication device according to the connection status of the compatible communication device to obtain the operation status of the compatible communication device;

[0118] Obtain frequency band difference data and communication location data according to the operation status of the compatible communication device, and obtain GPIO data according to the frequency band difference data and the communication location data;

[0119] activating a control mode of the modem according to the GPIO data and obtaining corresponding software version data;

[0120] Obtain the current software version data, match it with the software version data for consistency, and perform software refresh operations based on the matching results.

[0121] It should be noted that when a communication device has two modules, due to the limitation of the interface, they cannot be connected to work at the same time. Therefore, compatible communication needs to be established through a conversion chip. According to the connection and information connection of the two modules, the connection status of the compatible communication device can be obtained. Only after the connection is successful can the compatible communication device be tested to obtain the operating status of the compatible communication device, that is, to determine whether the working status of the compatible communication device is normal. If normal, the frequency band difference data and communication position data are obtained, and the GPIO data is processed. GPIO is a general input and output port. The corresponding software version data is obtained according to the GPIO data, and the software version data and the current software version data are matched for consistency, that is, to verify whether they are consistent. Different operations can be taken according to the matching results.

[0122] According to an embodiment of the present invention, acquiring the communication module configuration information of the communication device, establishing a connection with the communication device according to the communication module configuration information, and obtaining the connection status of the compatible communication device specifically includes:

[0123] Obtain the communication module configuration information of the communication device, including Beidou module configuration and RFID module configuration;

[0124] Send the communication information of the Beidou module to the communication device through the UART port to obtain the Beidou connection status data;

[0125] The communication information of the RFID module is sent to the CH432T conversion chip through the SPI interface, and the CH432T conversion chip sends the communication information to the communication device through the UART interface to obtain the RF connection status data;

[0126] The connection status of compatible communication devices is obtained after processing the Beidou connection status data and the radio frequency connection status data, including compatible status and incompatible status.

[0127] It should be noted that the Beidou module is a device for positioning based on the Beidou satellite navigation system; the radio frequency identification module is a functional component for realizing radio frequency identification technology; CH432T is a commonly used interface conversion chip, which plays a key role in the communication adjustment method, especially in solving the problem of module coexistence, providing a bridge for connection and communication for modules of different interface types; SPI (Serial Peripheral Interface) is a serial peripheral interface, which is a high-speed, full-duplex, synchronous communication bus; UART (Universal Asynchronous Receiver / Transmitter) is a universal asynchronous receiver / transmitter, which is a serial communication interface protocol; Beidou connection status data and radio frequency connection status data are ANDed to obtain compatible communication device connection status data, and the compatible communication device connection status can be obtained according to the data; in this embodiment, if the Beidou connection status data is 1, it means that the connection is normal, and if it is 0, it means that the connection is abnormal; only when the Beidou connection status data and the radio frequency connection status data are both 1, the compatible communication device connection status can be compatible.

[0128] According to an embodiment of the present invention, testing the compatible communication device according to the connection status of the compatible communication device to obtain the operation status of the compatible communication device specifically includes:

[0129] If the connection status of the compatible communication device is a compatible status, the Beidou module and the radio frequency identification module are tested for receiving and sending data at the same time within a preset time period, and the Beidou receiving rate, Beidou sending and receiving rate, radio frequency receiving rate and radio frequency sending rate are obtained respectively;

[0130] Compare the Beidou receiving rate and Beidou sending rate with the Beidou receiving threshold and Beidou sending threshold respectively to obtain Beidou receiving status data and Beidou sending status data, and perform an AND operation on the Beidou receiving status data and the Beidou sending status data to obtain Beidou operating status data;

[0131] Compare the RF receiving rate and the RF sending rate with the RF receiving threshold and the RF sending threshold respectively to obtain RF receiving state data and RF sending state data, and perform AND operation on the RF receiving state data and the RF sending state data to obtain RF operation state data;

[0132] Obtaining compatible communication equipment operating status data by performing an AND operation on the Beidou operating status data and the radio frequency operating status data;

[0133] The operation status of the compatible communication device is obtained according to the compatible communication device operation status data, including normal operation or abnormal operation.

[0134] It should be noted that when the connection status of the compatible communication device is a compatible status, it means that the communication device has compatible hardware conditions and can be tested to obtain corresponding test data. The preset time period can be customized according to user needs. The Beidou receiving rate refers to the rate at which the Beidou module receives data, the Beidou sending rate refers to the rate at which the Beidou module sends data, the RF receiving rate refers to the rate at which the RFID module receives data, and the RF sending rate refers to the rate at which the RFID module sends data; when the Beidou receiving rate and the Beidou sending rate are respectively greater than or equal to the Beidou receiving threshold and the Beidou sending threshold, the Beidou receiving status data and the Beidou sending status data take the value of 1; if the Beidou receiving rate and the Beidou sending rate are respectively less than the Beidou receiving threshold and the Beidou sending threshold, the Beidou receiving status data and the Beidou sending status data take the value of 0.

[0135] According to an embodiment of the present invention, the acquiring of frequency band difference data and communication position data according to the operating status of the compatible communication device, and obtaining GPIO data according to the frequency band difference data and the communication position data, specifically includes:

[0136] If the operation status of the compatible communication device is normal, obtaining frequency band difference data and communication position data, the frequency band difference data including frequency band different data or frequency band same data;

[0137] If the frequency band difference data is frequency band different data, the communication position data is matched with the preset frequency band position table to obtain corresponding GPIO data, including high level data and low level data.

[0138] It should be noted that in this embodiment, different communication methods often have different frequency bands in different countries. If the frequency bands are the same, the software used or the setting parameters are consistent. If the frequency bands are different, it is necessary to query the preset frequency band position table based on the communication position data. The frequency band position table includes location data and corresponding frequency band data and GPIO data; the GPIO data can be queried through the communication position.

[0139] According to an embodiment of the present invention, activating the control mode of the modem according to the GPIO data and obtaining the corresponding software version data specifically includes:

[0140] If the GPIO data is high level data, activating the control mode of the modem and obtaining the corresponding first software version data;

[0141] If the GPIO data is low level data, the corresponding second software version data is obtained.

[0142] It should be noted that different GPIO data can activate different control modes of the modem. In the present embodiment, high-level data corresponds to first software version data, which can be understood as foreign version software data; low-level data corresponds to second software version data, which can be understood as domestic version software data; the first software version data and the second software version data respectively correspond to different setting parameters.

[0143] According to an embodiment of the present invention, obtaining the current software version data, matching the current software version data with the software version data for consistency, and performing a software refresh operation according to the matching result specifically includes:

[0144] Perform consistency matching between the current software version data and the software version data to obtain a matching result, including a consistent match or an inconsistent match;

[0145] If the matching result is inconsistent, the current software is updated to the software version data, and the preset calibration parameters are obtained accordingly;

[0146] If the matching result is a consistent match, the current software is maintained unchanged.

[0147] It should be noted that the current software version is matched with the software version data for consistency. If they are consistent, it means that the current software version is correct and no version and setting parameter adjustment is required. If the match is inconsistent, it means that the current software version is incorrect and needs to be updated and the setting parameters adjusted at the same time.

[0148] It is worth mentioning that it also includes:

[0149] Acquire the communication data between the communication device and the communication module within a preset time period, including the number of communication interruptions and the duration of a single interruption;

[0150] The communication interruption frequency data is calculated based on the preset time period and the number of communication interruptions, and the average interruption duration data is calculated based on the number of communication interruptions and the single interruption duration data;

[0151] Inputting the communication interruption frequency data and the average interruption duration data into a preset communication status evaluation model for processing to obtain a communication stability index;

[0152] Comparing the communication stability index with a preset communication status evaluation threshold to obtain a communication status, including a stable state and an unstable state;

[0153] If the communication stability index is greater than a preset communication status evaluation threshold, the communication state is an unstable state;

[0154] If the communication stability index is less than or equal to a preset communication status evaluation threshold, the communication state is a stable state;

[0155] The calculation formula of the communication stability index in the communication status evaluation model is:

[0156] ;

[0157] in, is the communication stability index, is the communication interruption frequency data, is the average interruption duration data, , It is a preset characteristic coefficient (the characteristic coefficient is obtained by querying the preset communication adjustment platform based on compatibility).

[0158] It should be noted that in order to better test the communication status of the compatible module, the number of communication interruptions and the single interruption duration data are obtained. The number of communication interruptions is divided by the preset time period to obtain the communication interruption frequency data. The single interruption duration data corresponding to each communication interruption is added and divided by the number of communication terminals to obtain the average interruption duration data; the communication status evaluation model is obtained through training with a large amount of historical data, and the communication stability index reflects the stability of the communication to a certain extent. The smaller the value, the better the stability; in this embodiment, the communication status evaluation threshold is set to: (0, 0.5], the communication state is stable; (0.5, 1], the communication state is unstable; when the communication stability index is 0.8, the communication state is unstable.

[0159] It is worth mentioning that it also includes:

[0160] Acquire transmission speed data and transmission delay data of signal transmission between the communication device and the communication module;

[0161] Inputting the transmission speed data and the transmission delay data into a preset communication transmission time efficiency evaluation model for processing to obtain an information transmission time efficiency index;

[0162] Dividing the information transmission timeliness index by a preset transmission timeliness standard value to obtain a transmission timeliness relative value;

[0163] Comparing the transmission time efficiency relative value with a preset transmission time efficiency relative threshold value to obtain a communication transmission state, including high-quality transmission and low-quality transmission;

[0164] If the transmission timeliness relative value is greater than or equal to a preset transmission timeliness relative threshold, the communication transmission state is high-quality transmission;

[0165] If the transmission timeliness relative value is less than the preset transmission timeliness relative threshold, the communication transmission state is low-quality transmission, and a transmission abnormality warning is issued;

[0166] The calculation formula of the information transmission time efficiency index in the communication transmission time efficiency evaluation model is:

[0167] ;

[0168] in, is the information transmission timeliness index, For transmission speed data, To transmit delayed data, , , , It is a preset characteristic coefficient (the characteristic coefficient is obtained by querying the preset communication adjustment platform based on compatibility).

[0169] It should be noted that when communication equipment is running, it is necessary to monitor its communication transmission timeliness in real time to ensure timeliness. The communication transmission timeliness evaluation model is obtained through training with a large amount of historical data; the relative value of transmission timeliness can make the transmission timeliness more intuitive to a certain extent. The larger the relative value of transmission timeliness, the better the transmission.

[0170] A third aspect of the present invention provides a readable storage medium, which includes a compatibility-based communication adjustment method program. When the compatibility-based communication adjustment method program is executed by a processor, it implements the steps of a compatibility-based communication adjustment method as described in any one of the above items.

[0171] The present invention discloses a compatibility-based communication adjustment method, system and medium, which obtain the communication module configuration information of the communication device, obtain the connection status of the compatible communication device after processing, obtain the operation status of the compatible communication device after testing the compatible communication device, obtain the frequency band difference data and the communication position data and process them to obtain the GPIO data, then obtain the corresponding software version data according to the GPIO data, and then perform a software refresh operation according to the matching result after matching the software version data with the current software version data for consistency; thereby, the communication adjustment of the compatible device is realized by judging the connection status of the compatible communication device and the operation status of the compatible communication device, and verifying the consistency of the GPIO data and the software version.

[0172] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. The device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as: multiple units or components can be combined, or can be integrated into another system, or some features can be ignored or not executed. In addition, the coupling, direct coupling, or communication connection between the components shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the devices or units can be electrical, mechanical or other forms.

[0173] The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units; they may be located in one place or distributed on multiple network units; some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0174] In addition, all functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may be separately used as a unit, or two or more units may be integrated into one unit; the above-mentioned integrated units may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0175] Those skilled in the art can understand that: all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions, the aforementioned program can be stored in a readable storage medium, and when the program is executed, it executes the steps of the above method embodiments; and the aforementioned storage medium includes: mobile storage devices, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), disks or optical disks, and other media that can store program codes.

[0176] Alternatively, if the above-mentioned integrated unit of the present invention is implemented in the form of a software function module and sold or used as an independent product, it can also be stored in a readable storage medium. Based on this understanding, the technical solution of the embodiment of the present invention can be essentially or partly reflected in the form of a software product that contributes to the prior art. The software product is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the methods described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as mobile storage devices, ROM, RAM, magnetic disks or optical disks.

Claims

1. A communication adjustment method based on compatibility, characterized in that: include: Acquire communication module configuration information of the communication device, establish a connection with the communication device according to the communication module configuration information, and obtain connection status of the compatible communication device; Testing the compatible communication device according to the connection status of the compatible communication device to obtain the operation status of the compatible communication device; Obtain frequency band difference data and communication location data according to the operation status of the compatible communication device, and obtain GPIO data according to the frequency band difference data and the communication location data; activating a control mode of the modem according to the GPIO data and obtaining corresponding software version data; Obtain the current software version data, match it with the software version data for consistency, and perform software refresh operations based on the matching results.

2. The compatibility-based communication adjustment method according to claim 1, characterized in that: The obtaining of the communication module configuration information of the communication device, establishing a connection with the communication device according to the communication module configuration information, and obtaining the connection status of the compatible communication device specifically includes: Obtain the communication module configuration information of the communication device, including Beidou module configuration and RFID module configuration; Send the communication information of the Beidou module to the communication device through the UART port to obtain the Beidou connection status data; The communication information of the RFID module is sent to the CH432T conversion chip through the SPI interface, and the CH432T conversion chip sends the communication information to the communication device through the UART interface to obtain the RF connection status data; The connection status of compatible communication devices is obtained after processing the Beidou connection status data and the radio frequency connection status data, including compatible status and incompatible status.

3. The compatibility-based communication adjustment method according to claim 2, characterized in that: The testing of the compatible communication device according to the connection status of the compatible communication device to obtain the operation status of the compatible communication device specifically includes: If the connection status of the compatible communication device is a compatible status, the Beidou module and the radio frequency identification module are tested for receiving and sending data at the same time within a preset time period, and the Beidou receiving rate, Beidou sending rate, radio frequency receiving rate and radio frequency sending rate are obtained respectively; Compare the Beidou receiving rate and Beidou sending rate with the Beidou receiving threshold and Beidou sending threshold respectively to obtain Beidou receiving status data and Beidou sending status data, and perform an AND operation on the Beidou receiving status data and the Beidou sending status data to obtain Beidou operating status data; Compare the RF receiving rate and the RF sending rate with the RF receiving threshold and the RF sending threshold respectively to obtain RF receiving state data and RF sending state data, and perform AND operation on the RF receiving state data and the RF sending state data to obtain RF operation state data; Obtaining compatible communication equipment operating status data by performing an AND operation on the Beidou operating status data and the radio frequency operating status data; The operation status of the compatible communication device is obtained according to the compatible communication device operation status data, including normal operation or abnormal operation.

4. The compatibility-based communication adjustment method according to claim 3, characterized in that: The acquiring of frequency band difference data and communication position data according to the operating status of the compatible communication device, and obtaining GPIO data according to the frequency band difference data and the communication position data, specifically includes: If the operation status of the compatible communication device is normal, obtaining frequency band difference data and communication position data, the frequency band difference data including frequency band different data or frequency band same data; If the frequency band difference data is frequency band different data, the communication position data is matched with the preset frequency band position table to obtain corresponding GPIO data, including high level data and low level data.

5. The compatibility-based communication adjustment method according to claim 4, characterized in that: The activating the control mode of the modem according to the GPIO data and obtaining the corresponding software version data specifically includes: If the GPIO data is high level data, activating the control mode of the modem and obtaining the corresponding first software version data; If the GPIO data is low level data, the corresponding second software version data is obtained.

6. The compatibility-based communication adjustment method according to claim 5, characterized in that: The obtaining of the current software version data, and matching the current software version data for consistency, and performing a software refresh operation according to the matching result specifically includes: Perform consistency matching between the current software version data and the software version data to obtain a matching result, including a consistent match or an inconsistent match; If the matching result is inconsistent, the current software is updated to the software version data, and the preset calibration parameters are obtained accordingly; If the matching result is a consistent match, the current software is maintained unchanged.

7. A communication adjustment system based on compatibility, characterized in that: The invention comprises a memory and a processor, wherein the memory comprises a communication adjustment method program based on compatibility, and when the communication adjustment method program based on compatibility is executed by the processor, the following steps are implemented: Acquire communication module configuration information of the communication device, establish a connection with the communication device according to the communication module configuration information, and obtain connection status of the compatible communication device; Testing the compatible communication device according to the connection status of the compatible communication device to obtain the operation status of the compatible communication device; Obtain frequency band difference data and communication location data according to the operation status of the compatible communication device, and obtain GPIO data according to the frequency band difference data and the communication location data; activating a control mode of the modem according to the GPIO data and obtaining corresponding software version data; Obtain the current software version data, match it with the software version data for consistency, and perform software refresh operations based on the matching results.

8. The compatibility-based communication adjustment system according to claim 7, characterized in that: The obtaining of the communication module configuration information of the communication device, establishing a connection with the communication device according to the communication module configuration information, and obtaining the connection status of the compatible communication device specifically includes: Obtain the communication module configuration information of the communication device, including Beidou module configuration and RFID module configuration; Send the communication information of the Beidou module to the communication device through the UART port to obtain the Beidou connection status data; The communication information of the RFID module is sent to the CH432T conversion chip through the SPI interface, and the CH432T conversion chip sends the communication information to the communication device through the UART interface to obtain the RF connection status data; The connection status of compatible communication devices is obtained after processing the Beidou connection status data and the radio frequency connection status data, including compatible status and incompatible status.

9. The compatibility-based communication adjustment system according to claim 8, characterized in that: The testing of the compatible communication device according to the connection status of the compatible communication device to obtain the operation status of the compatible communication device specifically includes: If the connection status of the compatible communication device is a compatible status, the Beidou module and the radio frequency identification module are tested for receiving and sending data at the same time within a preset time period, and the Beidou receiving rate, Beidou sending rate, radio frequency receiving rate and radio frequency sending rate are obtained respectively; Compare the Beidou receiving rate and Beidou sending rate with the Beidou receiving threshold and Beidou sending threshold respectively to obtain Beidou receiving status data and Beidou sending status data, and perform an AND operation on the Beidou receiving status data and the Beidou sending status data to obtain Beidou operating status data; Compare the RF receiving rate and the RF sending rate with the RF receiving threshold and the RF sending threshold respectively to obtain RF receiving state data and RF sending state data, and perform AND operation on the RF receiving state data and the RF sending state data to obtain RF operation state data; Obtaining compatible communication equipment operating status data by performing an AND operation on the Beidou operating status data and the radio frequency operating status data; The operation status of the compatible communication device is obtained according to the compatible communication device operation status data, including normal operation or abnormal operation.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a compatibility-based communication adjustment method program, and when the compatibility-based communication adjustment method program is executed by a processor, the steps of the compatibility-based communication adjustment method as described in any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • Hardware compatibility realization method of electronic device and related product

    CN108415863A

  • Software version compatibility method and device of heterogeneous network, terminal equipment and medium

    CN116405909A