Automatic short message request reply method
In Beidou short message communication, the sending end combines the identification and data sequence number to determine that the receiving end is successfully received, and the automatic retransmission mechanism solves the system burden and time occupation caused by data retransmission, and improves communication efficiency.
Patent Information
- Application Number
- CN202410989594.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-23
- Publication Date
- 2024-11-12
AI Technical Summary
During the communication process, Beidou short message cannot be detected whether the receiving end is successfully received, resulting in data resending, increasing the system burden and user time occupation, and affecting aviation combat effectiveness.
On the sending end, by combining the reply identification information, data serial number information and the initial short message, an update short message is formed, and a waiting period is determined whether the reply data has been received. If it is not received, it will automatically resend and resend. If the number of times exceeds the threshold, it is determined that the sending failed.
It reduces the system data volume and burden during short message communication, reduces the user's time and energy consumption, and improves communication efficiency.
Smart Images

Figure CN118945603A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of satellite communications, and in particular to a short message automatic request reply method. Background Art
[0002] When the Beidou-1 navigation system performs dual-star positioning, time difference measurement and two-way communication are required. At the same time, this communication system has a short message function. With the development of the Beidou system, short messages, as a feature of the Beidou satellite navigation system, have been retained and expanded and are widely used in military equipment.
[0003] However, due to historical reasons, Beidou short messages do not have a feedback mechanism and cannot perform loss detection or automatic retransmission request functions. However, for aviation users, many problems such as antenna obstruction and transmission conflicts caused by their own maneuvers will lead to failure of short message transmission, and the sender cannot confirm whether the receiver has successfully received it. Therefore, in actual use, the receiver will be required to reply after receiving the short message, and important information will be resent multiple times, which takes up the fighters' energy and time and affects combat effectiveness. Summary of the invention
[0004] The embodiment of the present invention provides a method for automatically requesting a reply to a short message, so as to at least solve the technical problem that during the communication process of short messages, the reply of each short message data and the retransmission of important information lead to an increase in the amount of system data and the burden on the system, and occupy the user's time and energy.
[0005] According to one aspect of an embodiment of the present invention, a method for automatically requesting a reply for a short message is provided, which is applied to a sending end, wherein the method may include: in a case where the initial short message is automatic retransmission request data, obtaining an initial short message; combining reply identification information, data sequence number information and the initial short message to obtain a combined updated short message; sending the updated short message, and if the updated short message receives target reply data sent by a receiving end within a target waiting period after sending, determining that the updated short message is successfully sent; if the updated short message does not receive the target reply data sent by the receiving end within the target waiting period after sending, automatically resending the updated short message to the receiving end, and determining whether the updated short message is automatically sent successfully based on the number of retransmissions of the automatically resent updated short message.
[0006] Optionally, the method further includes: when the initial short message is non-automatic retransmission request data, sending the initial short message to the receiving end.
[0007] Optionally, combining the reply-required identification information, the data sequence number information and the initial short message to obtain a combined updated short message includes: arranging the reply-required identification information, the data sequence number information and the initial short message in sequence to obtain an updated short message.
[0008] Optionally, based on the number of retransmissions of the automatically retransmitted update short message, determining whether the automatically sent update short message is successful includes: in response to the number of retransmissions of the automatically retransmitted update short message being less than a preset number of automatic retransmissions, determining that the automatically sent update short message is successful; in response to the number of retransmissions of the automatically retransmitted update short message being greater than or equal to a preset number of automatic retransmissions, determining that the automatic sending of the update short message has failed.
[0009] According to one aspect of an embodiment of the present invention, another method for automatically requesting a reply for a short message is provided, which is applied to a receiving end, wherein the method may include: receiving a sending short message sent by a sending end; determining whether the first data of a reply message corresponding to the sending short message is a target reply flag, and if so, determining the reply message as the target reply information, and sending the target reply information to the sending end, wherein the sending short message is an updated short message, and the updated short message is a short message that combines the identification information to be replied, the data sequence number information and the initial short message; when the first data of the reply message corresponding to the updated short message is not the target reply flag but the first reply flag, determining that the sending short message needs to be automatically retransmitted; when the first data of the reply message corresponding to the sending short message is not the target reply flag and the first reply flag, determining that the sending short message is ordinary data, wherein the ordinary data is data that is not automatically retransmitted.
[0010] Beneficial effects of the present invention:
[0011] The present invention proposes a short message automatic request reply method. The short message sending end directly sends short message data that does not require an automatic retransmission request. For short message data that requires an automatic retransmission request, a reply-required mark (0X5A) plus a data sequence number is added before the short message data when sending the short message. When the receiving end receives the short message data with the reply-required mark (0X5A) and a data sequence number, it replies with 0xA4A5 plus a data sequence number to the sending end. After the sending end sends the data, it waits for 3 time slots. If no reply information is received, it automatically retransmits once. If If the number of retransmissions reaches 10, it will be displayed as a sending failure. Otherwise, it will be displayed as the receiving end has received it. This solves the technical problem that in the process of short message communication, the reply of each short message data and the retransmission of important information lead to an increase in the system data volume and an increase in the system burden, and occupy the user's time and energy. In the process of short message communication, unimportant information is set to normal transmission and does not require a reply, and important information is set to require automatic retransmission request, which reduces the system data volume and the system burden during the communication process and reduces the time and energy of the user. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:
[0013] Figure 1 is a flow chart of a method for automatically requesting a reply to a short message according to an embodiment of the present invention;
[0014] Figure 2 is a flow chart of another short message automatic request reply method according to an embodiment of the present invention;
[0015] Figure 3 is a schematic diagram of a data feedback mechanism according to an embodiment of the present invention;
[0016] Figure 4 is a schematic diagram of a data structure format according to an embodiment of the present invention;
[0017] Figure 5 is a schematic diagram of an implementation process of a data feedback mechanism according to an embodiment of the present invention;
[0018] Figure 6 is a flow chart of a processing procedure of a sending data processing sub-function according to an embodiment of the present invention;
[0019] Figure 7 is a flowchart of a receiving data processing sub-function processing process according to an embodiment of the present invention;
[0020] Figure 8 is a schematic diagram of a short message automatic request reply system according to an embodiment of the present invention;
[0021] Fig. 9 2 is a schematic diagram of another short message automatic request reply system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0022] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only embodiments of a part of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.
[0023] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0024] Example 1
[0025] According to an embodiment of the present invention, a method for automatically requesting a reply to a short message is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system comprising at least one set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0026] Figure 1 is a flow chart of a method for automatically requesting a short message reply according to an embodiment of the present invention. Figure 1 As shown, applied to the sending end, the method may include the following steps:
[0027] Step S101: when the initial short message is automatic retransmission request data, obtain the initial short message.
[0028] In the technical solution provided in the above step S101 of the present invention, when the initial short message that the sender needs to send is automatic retransmission request data, the initial short message is obtained, wherein the initial short message is important information of the sender.
[0029] Step S102, combining the identification information to be replied, the data sequence number information and the initial short message to obtain a combined update short message.
[0030] In the technical solution provided in step S102 of the present invention, when the initial short message is data that requires an automatic retransmission request, a reply-required flag and a data sequence number are added before the initial short message, wherein the reply-required flag may be 0X5A, and the data sequence number may be 1, 2, 3, etc.
[0031] Step S103, sending the update short message. If the update short message receives the target reply data sent by the receiving end within the target waiting period after the update short message is sent, it is determined that the update short message is sent successfully.
[0032] In the technical solution provided in the above step S103 of the present invention, the sending end sends an updated short message, and receives the target reply data sent by the receiving end within the target waiting period after the short message is sent, then the sending end determines that the updated short message is sent successfully, wherein the target waiting period is a specific time slot, for example, 3 time slots, wherein the target reply data is a second identifier plus data sequence number information, wherein the second identifier can be 0XA4A5.
[0033] Step S104, if the update short message does not receive the target reply data sent by the receiving end within the target waiting period after sending, the update short message is automatically resent to the receiving end, and based on the number of retransmissions of the automatically resent update short message, it is determined whether the update short message is automatically sent successfully.
[0034] In the technical solution provided in the above step S104 of the present invention, when the update short message does not receive the second identifier plus data sequence number information sent by the receiving end within 3 time slots after being sent, the update short message information is automatically resent to the receiving end, and based on the number of retransmissions of the automatically resent update short message, it is further determined whether the update short message is resent successfully. It should be noted that each automatic retransmission needs to wait for 3 time slots. When the second identifier plus the first sequence number sent by the sending end and the receiving end is sent, there is no need to send the update short message.
[0035] The above method of this embodiment is further introduced below.
[0036] As an optional implementation manner, in the case where the initial short message is non-automatic repeat request data, the initial short message is sent to the receiving end.
[0037] In this embodiment, when the initial short message is ordinary data, the initial short message is directly sent to the receiving end without considering whether the receiving end receives ordinary data, wherein ordinary data is data not requested by automatic retransmission.
[0038] As an optional implementation method, step S102 combines the identification information to be replied, the data sequence number information and the initial short message to obtain a combined updated short message, including: arranging the identification information to be replied, the data sequence number information and the initial short message in sequence to obtain an updated short message.
[0039] In this embodiment, the updated short message is (reply identification information, data sequence number information, initial short message), that is, (reply identification information 0X5A, data sequence number information and initial short message), where the data sequence number information can be 1, 2, 3, etc.
[0040] As an optional implementation method, step S104 determines whether the update short message is automatically sent successfully based on the number of retransmissions of the automatically retransmitted update short message, including: in response to the number of retransmissions of the automatically retransmitted update short message being less than the preset number of automatic retransmissions, determining that the update short message is automatically sent successfully; in response to the number of retransmissions of the automatically retransmitted update short message being greater than or equal to the preset number of automatic retransmissions, determining that the update short message fails to be automatically sent.
[0041] In this embodiment, when the number of retransmissions of the automatically retransmitted short message is less than the preset number of automatic retransmissions, the short message is updated and the automatic retransmission of the short message is successful, wherein the preset number of automatic retransmissions is 10 times. If the number of retransmissions of the automatically retransmitted short message is greater than or equal to the preset number of automatic retransmissions, it is determined that the automatic sending of the short message has failed.
[0042] In an embodiment of the present invention, when the initial short message is automatic retransmission request data, an initial short message is obtained; reply identification information, data sequence number information and the initial short message are combined to obtain a combined update short message; the update short message is sent, and if the update short message receives target reply data sent by the receiving end within the target waiting period after the update short message is sent, it is determined that the update short message is successfully sent; if the update short message does not receive the target reply data sent by the receiving end within the target waiting period after the update short message is sent, the update short message is automatically resent to the receiving end, and based on the number of retransmissions of the automatically resent update short message, it is determined whether the update short message is automatically sent successfully, thereby solving the technical problem that in the process of short message communication, the reply of each short message data and the retransmission of important information lead to an increase in the system data volume and an increase in the system burden, and occupy the user's time and energy, and achieves the technical effect that in the process of short message communication, unimportant information is set as ordinary transmission and does not require a reply, and important information is set as requiring automatic retransmission request, thereby reducing the system data volume and the system burden during the communication process, and reducing the time and energy occupied by the user.
[0043] According to an embodiment of the present invention, another method for automatically requesting a reply to a short message is also provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system comprising at least one set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0044] Figure 2 FIG. 4 is a flow chart of another method for automatically requesting a reply to a short message according to an embodiment of the present invention. Figure 2 As shown, applied to the receiving end, the method may include the following steps:
[0045] Step S201, receiving a short message sent by a sending end;
[0046] In the technical solution provided in the above step S201 of the present invention, the receiving end receives a short message sent by the sending end, wherein the short message may be an updated short message or ordinary data, the updated short message is data that needs to be retransmitted, and the data that needs to be retransmitted may be important data or more important data.
[0047] Step S202, determine whether the first data of the reply information corresponding to the sent short message is the target reply flag, if so, determine the reply information as the target reply information, and send the target reply information to the sending end, wherein the sent short message is an updated short message, and the updated short message is a short message that combines the identification information to be replied, the data sequence number information and the initial short message.
[0048] In the technical solution provided in the above step S202 of the present invention, it is determined whether the first data of the reply information corresponding to the sent short message is the target reply flag, wherein the target reply flag is 0XA4A5. If the reply information is the target reply information, the target reply information is sent to the sending end, wherein the sent short message is an updated short message, wherein the updated short message is a short message after sorting the identification information to be replied, the data sequence number information, and the initial short message, and the short message is important information or more important information sent by the sending end.
[0049] Step S203: when the first data of the reply information corresponding to the updated short message is not the target reply flag but the first reply flag, it is determined that the sent short message needs to be automatically retransmitted.
[0050] In the technical solution provided in the above step S203 of the present invention, when the first data of the reply information is not the target reply flag but the first reply flag, the corresponding initial short message in the sent short message is more important information and needs to be automatically retransmitted.
[0051] Step S204: when the first data non-target reply flag and the first reply flag of the reply information corresponding to the sent short message are detected, it is determined that the sent short message is normal data, wherein the normal data is data that is not automatically retransmitted.
[0052] In the technical solution provided in the above step S204 of the present invention, if the first data of the reply information corresponding to the sent short message is neither the target reply flag nor the first reply flag, then it is determined that the received short message is ordinary data, which is data that does not need automatic retransmission.
[0053] In an embodiment of the present invention, a sending short message sent by a sending end is received; it is determined whether the first data of the reply information corresponding to the sending short message is a target reply flag, and if so, the reply information is determined to be the target reply information, and the target reply information is sent to the sending end, wherein the sending short message is an update short message, and the update short message is a short message that combines the identification information to be replied, the data sequence number information and the initial short message; when the first data of the reply information corresponding to the updated short message is not the target reply flag but the first reply flag, it is determined that the sending short message needs to be automatically retransmitted; when the first data of the reply information corresponding to the sending short message is not the target reply flag When the target reply flag and the first reply flag are set, it is determined that the short message to be sent is ordinary data, wherein the ordinary data is data that is not automatically retransmitted, which solves the technical problem that in the process of short message communication, the reply of each short message data and the retransmission of important information lead to an increase in the system data volume and an increase in the system burden, and occupy the user's time and energy. In the process of short message communication, unimportant information is set to normal transmission and does not require a reply, and important information is set to require automatic retransmission request, which reduces the system data volume and the system burden during the communication process, and reduces the time and energy of the user. Technical effect.
[0054] Example 2
[0055] The technical solution of the embodiment of the present invention is illustrated below in conjunction with preferred implementation modes.
[0056] When the Beidou-1 navigation system performs dual-star positioning, time difference measurement and two-way communication are required. At the same time, this communication system has a short message function. With the development of the Beidou system, short messages, as a feature of the Beidou satellite navigation system, have been retained and expanded and are widely used in military equipment.
[0057] However, due to historical reasons, Beidou short messages do not have a feedback mechanism and cannot perform loss detection or automatic retransmission request functions. However, for aviation users, many problems such as antenna obstruction and transmission conflicts caused by their own maneuvers will cause short message transmission failures, and the sender cannot confirm whether the receiver has successfully received the message. Therefore, in actual use, the receiver will be required to reply after receiving the short message, and important information will be resent multiple times, which takes up the fighters' energy and time and affects combat effectiveness.
[0058] Therefore, based on the existing system, the present invention improves the processing logic of the host computer software, adds an automatic retransmission request function to important information transmitted using short messages, and realizes reliable transmission of important data. However, since the automatic retransmission request will increase the amount of data and increase the system burden, this mechanism should not be used for all information. For important information, it is set to require automatic retransmission request, and for unimportant information, it is set to be transmitted normally.
[0059] In view of the problems existing in the prior art, in order to realize the automatic retransmission request function, the embodiment of the present invention constructs a data feedback mechanism. Figure 3 is a schematic diagram of a data feedback mechanism according to an embodiment of the present invention, such as Figure 3 shown.
[0060] exist Figure 3 In the example, time slot 1 and time slot 2 are time intervals. Figure 3 The left side of the figure is the sender of the short message information, and the right side is the receiver of the short message information. The sender sends the reply identifier plus the data sequence number plus the short message to the receiver, and the receiver sends the reply identifier plus the data sequence number to the sender.
[0061] The present invention proposes a data structure format. Figure 4 is a schematic diagram of a data structure format according to an embodiment of the present invention, such as Figure 4 shown.
[0062] exist Figure 4 For data that does not require automatic retransmission request, it is sent directly. For data that requires automatic retransmission request, the sent data is to add a reply-required flag (0X5A) and a data sequence number before the short message data (data content), where the data sequence number value is from 0 to 255. After receiving the information, the receiving end replies with a reply data, and the reply data is the reply flag (0xA4A5) + data sequence number.
[0063] The embodiment of the present invention proposes a data feedback mechanism implementation process. Figure 5 is a schematic diagram of an implementation process of a data feedback mechanism according to an embodiment of the present invention, such as Figure 5 shown.
[0064] exist Figure 5 In the example, the sender waits for 3 time slots after sending data. If no reply is received, it will automatically resend it. If the number of resends reaches 10 times, it will be displayed as a sending failure. Otherwise, it will be displayed as the other party has received it.
[0065] During the short message data sending and receiving process, the host computer software sets two interrupts, modifies the callback function of the data sending button, and sets two main sub-functions (receiving processing and sending data processing) in the main program. The specific process is as follows:
[0066] Interrupt 1: Send waiting time timing interrupt
[0067] Determine whether the send flag is "1", if so, send the data. The callback function of the data send button reads the text box data, the target ID, determines compliance, stores the compliant data in the array to be sent, and records the pointer.
[0068] The sending data processing sub-function first divides the sending data into three priorities from high to low, and processes the "data to be replied", "sent data" and "data to be sent" in sequence. The embodiment of the present invention proposes a flow chart of the processing process of the sending data processing sub-function. Figure 6 is a flow chart of a processing procedure of a sending data processing sub-function according to an embodiment of the present invention, such as Figure 6 shown.
[0069] Step S601, sending data processing subfunction.
[0070] Enter the sending data processing sub-function and execute step S602.
[0071] Step S602, determining whether there is any data to be replied in the sent data.
[0072] When there is data to be replied in the sent data, step S603 is executed; when there is no data to be replied in the sent data, step S604 is executed.
[0073] Step S603, writing the reply information corresponding to the data to be replied to into the sending buffer.
[0074] Step S604, determining whether there is any sent data in the sent data.
[0075] When there is sent data in the sent data, step S605 is executed; when there is no sent data in the sent data, step S606 is executed.
[0076] Step S605, determining whether 3 time slots have been waited since the last data transmission.
[0077] When the last data is sent, after waiting for 3 time slots, enter step S607; when the last data is sent, after not waiting for 3 time slots, enter step S606.
[0078] Step S606, determining whether there is any data to be sent in the sent data.
[0079] When there is data to be sent, go to step S610; when there is no data to be sent, go to step S611.
[0080] Step S607, determining whether the sent data has been sent 10 times.
[0081] When the data has been sent 10 times, go to step S608; when the data has not been sent 10 times, go to step S609.
[0082] Step S608, storing the data into a sending failure array.
[0083] Step S609, writing the sent data into the sending buffer.
[0084] Step S610, adding a header to the data to be sent and then writing it into the sending buffer.
[0085] Step S611, exit.
[0086] Interrupt 2: Receiving short message data interrupt
[0087] After the Beidou module receives the short message data, it triggers the short message data reception interrupt, reads the data into the reception data array, and sets the reception data processing flag to "1".
[0088] Receive data processing sub-function, the embodiment of the present invention provides a flow chart of the processing process of receiving data processing sub-function, Figure 7 is a flowchart of a receiving data processing sub-function processing process according to an embodiment of the present invention, such as Figure 7 shown.
[0089] Step S701, receiving a data processing sub-function.
[0090] Enter the received data processing subfunction and execute step S702.
[0091] Step S702, determine whether the receiving processing flag is "0".
[0092] When the receiving processing flag is "0", execute step S709; when the receiving processing flag is "0", execute step S703.
[0093] Step S703, determine whether the first data is 0XA4A5.
[0094] When the first data is 0XA4A5, execute step S704; when the first data is 0XA4A5, execute step S706.
[0095] Step S704, read the reply data sequence number.
[0096] After executing step S704, continue to execute step S705.
[0097] Step S705, transferring the corresponding data in the sent array to the received array.
[0098] After executing step S705, execute step S709.
[0099] Step S706, determine whether the first data high bit is 0X5A.
[0100] When the first data high bit is 0X5A, execute step S707; when the first data high bit is not 0X5A, execute step S708.
[0101] Step S707, storing the received data into the to-be-replied array.
[0102] After storing the received data into the array to be replied, step S709 is executed.
[0103] Step S708, receiving normal data and directly displaying it.
[0104] Receive normal data, display it directly and then execute step S709.
[0105] Step S709, exit.
[0106] In this embodiment, the sending end directly sends the message data that does not require an automatic retransmission request. For the message data that requires an automatic retransmission request, a reply-required flag (0X5A) plus a data sequence number is added before the data when sending a short message. When the receiving end receives the short message data with a reply-required flag (0X5A) and a data sequence number, it replies with 0xA4A5 plus a data sequence number to the sending end. After the sending end sends the data, it waits for 3 time slots. If no reply information is received, it automatically retransmits once. If the number of retransmissions reaches 10 times, it is displayed as a sending failure. Otherwise, it is displayed as the receiving end has received it. This solves the technical problem that in the process of short message communication, the reply of each short message data and the retransmission of important information lead to an increase in the system data volume and an increase in the system burden, and occupy the user's time and energy. This achieves the technical effect that in the process of short message communication, unimportant information is set as normal transmission and does not require a reply, and important information is set as requiring an automatic retransmission request, thereby reducing the system data volume and the system burden during the communication process and reducing the time and energy of the user.
[0107] Example 3
[0108] According to an embodiment of the present invention, a short message automatic request reply system is also provided. It should be noted that the short message automatic request reply system can be used to execute the short message automatic request reply method in embodiment 1, and is applied to the sending end.
[0109] Figure 8 FIG. 1 is a schematic diagram of a short message automatic request reply system according to an embodiment of the present invention. Figure 8 As shown, a short message automatic request reply system may include: an acquisition unit, a first processing unit, a second processing unit and a third processing unit.
[0110] The acquiring unit is used to acquire the initial short message when the initial short message is automatic retransmission request data.
[0111] The first processing unit is used to combine the identification information requiring reply, the data sequence number information and the initial short message to obtain a combined update short message.
[0112] The second processing unit is used for sending the update short message, and if the update short message receives the target reply data sent by the receiving end within the target waiting period after the update short message is sent, it is determined that the update short message is sent successfully.
[0113] The third processing unit is used to automatically resend the update short message to the receiving end if the target reply data sent by the receiving end is not received within the target waiting period after the update short message is sent, and determine whether the update short message is automatically sent successfully based on the number of retransmissions of the update short message.
[0114] Optionally, the system further comprises: a sending unit, configured to send the initial short message to the receiving end when the initial short message is non-automatic retransmission request data.
[0115] Optionally, the second processing unit may further include: an arranging module, configured to arrange the identification information to be replied, the data sequence number information, and the initial short message in sequence to obtain an updated short message.
[0116] Optionally, the third processing unit may also include: a first determination module, used to determine that the automatic sending of the update short message is successful in response to the number of retransmissions of the automatically retransmitted update short message being less than a preset number of automatic retransmissions; a second determination module, used to determine that the automatic sending of the update short message fails in response to the number of retransmissions of the automatically retransmitted update short message being greater than or equal to a preset number of automatic retransmissions.
[0117] In this embodiment, the acquisition unit acquires the initial short message when the initial short message is automatic retransmission request data; the first processing unit combines the reply identification information, the data sequence number information and the initial short message to obtain the combined update short message; the second processing unit sends the update short message, and if the update short message receives the target reply data sent by the receiving end within the target waiting period after the update short message is sent, it is determined that the update short message is successfully sent; the third processing unit automatically resends the update short message to the receiving end if the update short message does not receive the target reply data sent by the receiving end within the target waiting period after the update short message is sent, and determines whether the update short message is automatically sent successfully based on the number of retransmissions of the automatically resent update short message, thereby solving the technical problem that in the process of short message communication, the reply of each short message data and the retransmission of important information lead to an increase in the system data volume and an increase in the system burden, and occupy the user's time and energy, and achieves the technical effect that in the process of short message communication, unimportant information is set as ordinary transmission and does not require a reply, and important information is set as requiring automatic retransmission request, thereby reducing the system data volume and the system burden during the communication process, and reducing the time and energy of the user.
[0118] According to an embodiment of the present invention, another short message automatic request reply system is also provided. It should be noted that the another short message automatic request reply system can be used to execute a short message automatic request reply method in embodiment 1, and is applied to a receiving end.
[0119] Fig. 9 FIG. 1 is a schematic diagram of another short message automatic request reply system according to an embodiment of the present invention. Fig. 9 As shown, another short message automatic request reply system may include: a receiving unit, a fourth processing unit, a first determining unit and a second determining unit.
[0120] The receiving unit is used to receive the short message sent by the sending end.
[0121] The fourth processing unit is used to determine whether the first data of the reply information corresponding to the sent short message is the target reply flag. If so, the reply information is determined as the target reply information, and the target reply information is sent to the sending end, wherein the sent short message is an updated short message, and the updated short message is a short message that combines the identification information to be replied, the data sequence number information and the initial short message.
[0122] The first determining unit is configured to determine that the short message needs to be automatically retransmitted when the first data of the reply information corresponding to the updated short message is not the target reply flag but the first reply flag.
[0123] The second determining unit is used to determine that the sent short message is common data when the first data non-target reply flag and the first reply flag of the reply information corresponding to the sent short message are present, wherein the common data is data that is not automatically retransmitted.
[0124] In this embodiment, a short message sent by a sending end is received by a receiving unit; a fourth processing unit determines whether the first data of a reply message corresponding to the sent short message is a target reply flag, and if so, determines the reply message as the target reply message, and sends the target reply message to the sending end, wherein the sent short message is an updated short message, and the updated short message is a short message that combines the identification information to be replied, the data sequence number information and the initial short message; the first determining unit determines that the sent short message needs to be automatically retransmitted when the first data of the reply message corresponding to the updated short message is not the target reply flag but the first reply flag; the second determining unit determines that the sent short message needs to be automatically retransmitted when the sent short message is to When the first data of the corresponding reply information is a non-target reply flag and a first reply flag, it is determined that the short message to be sent is ordinary data, wherein the ordinary data is data that is not automatically retransmitted, which solves the technical problem that in the process of short message communication, the reply of each short message data and the retransmission of important information lead to an increase in the system data volume and an increase in the system burden, and occupy the user's time and energy. In the process of short message communication, unimportant information is set to normal transmission and does not require a reply, and important information is set to require automatic retransmission request, which reduces the system data volume and the system burden during the communication process, and reduces the time and energy of the user. Technical effect.
[0125] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.
[0126] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0127] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.
[0128] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed over multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.
[0129] In addition, each functional unit in each embodiment of the present invention may be integrated into a first processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0130] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the methods of each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
[0131] The above are only preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A short message automatic request reply method, It is characterized in that Applied to the sending end, including: When the initial short message is automatic retransmission request data, obtaining the initial short message; The identification information to be replied, the data sequence number information and the initial short message are combined to obtain a combined update short message; Sending the update short message, if the update short message receives the target reply data sent by the receiving end within the target waiting period after the update short message is sent, it is determined that the update short message is sent successfully; If the update short message does not receive the target reply data sent by the receiving end within the target waiting period after sending, the update short message is automatically resent to the receiving end, and based on the number of retransmissions of the automatically resent update short message, it is determined whether the update short message is automatically sent successfully.
2. The method according to claim 1, It is characterized in that The method also includes: When the initial short message is non-automatic retransmission request data, the initial short message is sent to the receiving end.
3. The method according to claim 1, It is characterized in that The identification information to be replied, the data sequence number information and the initial short message are combined to obtain a combined update short message, including: Arrange the identification information to be replied, the data sequence number information, and the initial short message in sequence to obtain an updated short message.
4. The method according to claim 1, It is characterized in that Based on the number of retransmissions of the automatic retransmission short update message, it is determined whether the automatic transmission of the short update message is successful, including: In response to the retransmission number of the automatic retransmission update short message being less than the preset automatic retransmission number, determining that the automatic transmission of the update short message is successful; In response to the retransmission number of the automatic retransmission update short message being greater than or equal to the preset automatic retransmission number, it is determined that the automatic transmission of the update short message fails.
5. A short message automatic request reply method, It is characterized in that Applied to the receiving end, including: Receive the short message sent by the sender; Determine whether the first data of the reply information corresponding to the sent short message is the target reply flag, if so, determine the reply information as the target reply information, and send the target reply information to the sending end, wherein the sent short message is an update short message, and the update short message is a short message after combining the identification information to be replied, the data sequence number information and the initial short message; When the first data of the reply information corresponding to the updated short message is not the target reply flag but the first reply flag, it is determined that the short message needs to be automatically retransmitted; When the first data non-target reply flag and the first reply flag of the reply information corresponding to the sent short message are displayed, it is determined that the sent short message is common data, wherein the common data is data that is not automatically retransmitted.
6. A short message automatic request reply system, It is characterized in that Applied to the sending end, including: An acquiring unit, used for acquiring an initial short message when the initial short message is automatic retransmission request data; The first processing unit is used to combine the identification information to be replied, the data sequence number information and the initial short message to obtain a combined update short message; The second processing unit is used to send the update short message, and if the update short message receives the target reply data sent by the receiving end within the target waiting period after the update short message is sent, it is determined that the update short message is sent successfully; The third processing unit is used to automatically resend the update short message to the receiving end if the target reply data sent by the receiving end is not received within the target waiting period after the update short message is sent, and determine whether the update short message is automatically sent successfully based on the number of retransmissions of the update short message.
7. A short message automatic request reply system, It is characterized in that Applied to the receiving end, including: A receiving unit, used for receiving a short message sent by a sending end; The fourth processing unit is used to determine whether the first data of the reply information corresponding to the sent short message is a target reply flag, and if so, determine the reply information as the target reply information, and send the target reply information to the sending end, wherein the sent short message is an updated short message, and the updated short message is a short message after combining the identification information to be replied, the data sequence number information and the initial short message; A first determining unit, configured to determine that the sending of the short message needs to be automatically retransmitted when the first data of the reply information corresponding to the updated short message is not a target reply flag but a first reply flag; The second determining unit is used to determine that the sent short message is common data when the first data non-target reply flag and the first reply flag of the reply information corresponding to the sent short message are present, wherein the common data is data that is not automatically retransmitted.
8. A processor, It is characterized in that The processor is used to run a program, wherein the program executes any one of the methods in claims 1 to 5 when it is run.
9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute any one of the methods in claims 1 to 5.
