Transmission object transmission method, electronic equipment and readable storage medium
By calculating the maximum transmission object attribute measurement value and determining the second transmission object, the problem that the success rate of long message transmission objects cannot be guaranteed is solved, and the reliable transmission of transmission objects is realized.
Patent Information
- Application Number
- CN202311070356.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-22
- Publication Date
- 2025-02-25
AI Technical Summary
In the communication system, the success rate of long message transmission objects cannot be guaranteed, especially when terminal resources are limited and environmental interference is large.
By obtaining the associated parameters of the object to be transmitted, the maximum transmission object attribute metric value is calculated, which is the attribute metric value whose transmission success rate meets the predetermined success rate condition. Then, a second transmission object is determined, whose attribute metric value is not greater than the maximum transmission object attribute metric value, and the second transmission object is sent.
It ensures that the transmission success rate of the transmission object meets the predetermined success rate conditions, and avoids the transmission object's failure to send.
Smart Images

Figure CN119519799A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present application relate to the field of communications, and in particular, to a transmission method for a transmission object, an electronic device, and a readable storage medium. Background Art
[0002] In different scenarios, the communication system supports different transmission object attribute measurement values. Taking the Beidou system as an example, its transmission object can be a Beidou message. The transmission object attribute measurement value of the Beidou message is the length of the Beidou message. The 5-level Beidou card can support up to 14,000 bits. The terminal is generally required to send the transmission object within a fixed time. For a long message of 14,000 bits, the transmission rate will be much higher than that of a short transmission object of several hundred bits. Accordingly, the terminal needs a large transmission power and good antenna performance to send the signal to the satellite.
[0003] However, due to the influence of many factors, such as the terminal's battery power, temperature, limited transmission power, the extreme limitations of the terminal's built-in antenna performance, and the impact of weather, terrain, electromagnetic interference, etc. on the quality of satellite signals, there may be a situation where the transmission object fails to be sent, and the success rate of the transmission object cannot be guaranteed. Summary of the invention
[0004] The embodiments of the present application provide a transmission method, an electronic device and a readable storage medium for a transmission object, which can avoid failure in sending a transmission object.
[0005] In a first aspect, a method for transmitting a transmission object is provided, comprising: obtaining associated parameters of a first transmission object to be transmitted; obtaining a maximum transmission object attribute measurement value according to the associated parameters; wherein the maximum transmission object attribute measurement value is a transmission object attribute measurement value whose sending success rate satisfies a predetermined success rate condition; determining a second transmission object according to the maximum transmission object attribute measurement value; and sending the second transmission object, wherein the attribute measurement value of the second transmission object is not greater than the maximum transmission object attribute measurement value.
[0006] According to a second aspect, a method for transmitting a transmission object is provided, which is executed by a first receiving party, and the method includes: receiving a second transmission object, wherein the attribute measurement value of the second transmission object is not greater than the maximum transmission object attribute measurement value, the maximum transmission object attribute measurement value is a transmission object attribute measurement value whose sending success rate satisfies a predetermined success rate condition, and the maximum transmission object attribute measurement value is determined based on associated parameters of a first transmission object to be transmitted; and determining the first transmission object based on the second transmission object.
[0007] In a third aspect, an electronic device is provided, which terminal device includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect or the second aspect.
[0008] In a fourth aspect, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the method described in the first aspect or the second aspect are implemented.
[0009] In a fifth aspect, a computer program product is provided, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction, when executed by the processor, implements the steps of the method described in the first aspect or the second aspect.
[0010] In a sixth aspect, a chip is provided, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the method described in the first aspect or the second aspect.
[0011] In a seventh aspect, a computer program / program product is provided, wherein the computer program / program product is stored in a non-volatile storage medium, and the program / program product is executed by at least one processor to implement the method as described in the first aspect or the second aspect.
[0012] The transmission method, electronic device and readable storage medium of a transmission object provided in the embodiments of the present application obtain the associated parameters of a first transmission object to be transmitted; obtain the maximum transmission object attribute metric value according to the associated parameters; wherein the maximum transmission object attribute metric value is a transmission object attribute metric value whose sending success rate meets a predetermined success rate condition; determine the second transmission object according to the maximum transmission object attribute metric value; and send the second transmission object, wherein the attribute metric value of the second transmission object is not greater than the maximum transmission object attribute metric value, so as to be able to transmit the second transmission object whose attribute metric value is not greater than the maximum transmission object attribute metric value, so as to ensure that the sending success rate of the transmission object meets the predetermined success rate condition. BRIEF DESCRIPTION OF THE DRAWINGS
[0013] Figure 1 A schematic diagram of a wireless communication system to which an embodiment of the present application can be applied is shown.
[0014] Figure 2 It is a schematic flowchart of a transmission method of a transmission object according to an embodiment of the present application.
[0015] Figure 3It is a schematic flowchart of a transmission method of a transmission object according to another embodiment of the present application.
[0016] Figure 4 It is a schematic flowchart of a transmission method of a transmission object according to another embodiment of the present application.
[0017] Figure 5 It is a schematic flowchart of a transmission method of a transmission object according to another embodiment of the present application.
[0018] Figure 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
[0019] Figure 7 is a schematic structural diagram of an electronic device according to another embodiment of the present application. DETAILED DESCRIPTION
[0020] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of this application.
[0021] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally represents that the objects associated with each other are in an "or" relationship.
[0022] It is worth noting that the technology described in the embodiments of the present application is not limited to the Long Term Evolution (LTE) / LTE-Advanced (LTE-A) system, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency-Division Multiple Access (SC-FDMA) and other systems. The terms "system" and "network" in the embodiments of the present application are often used interchangeably, and the described technology can be used for the systems and radio technologies mentioned above as well as for other systems and radio technologies. The following description describes a New Radio (NR) system for illustrative purposes, and NR terminology is used in most of the following descriptions, but these technologies can also be applied to applications other than NR system applications, such as the 6th generation (6 th Generation, 6G) communication system.
[0023] Figure 1A schematic diagram of a wireless communication system applicable to an embodiment of the present application is shown. The wireless communication system includes a first network side device 11, a sender 12 and a first receiver 13. In one embodiment, the first network side device is, for example, a satellite. The sender is, for example, a terminal. The first receiver is, for example, a ground station or a terminal. In one embodiment, the system may further include: a second receiver 14, for example, a terminal. Among them, the terminal may also be referred to as a terminal device or a user terminal (User Equipment, UE), and the terminal may be a smart watch, a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer) or a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a palmtop computer, a netbook, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a mobile Internet device (Mobile Internet Device, MID), a wearable device (Wearable Device) or a vehicle-mounted device (VUE), a pedestrian terminal (PUE) and other terminal side devices, and the wearable device includes: a bracelet, a headset, glasses, etc. It should be noted that the specific type of the terminal is not limited in the embodiment of the present application. The ground station can be a base station or a core network, wherein the base station can be called a node B, an evolved node B, an access point, a base transceiver station (Base Transceiver Station, BTS), a radio base station, a radio transceiver, a basic service set (Basic Service Set, BSS), an extended service set (Extended Service Set, ESS), a B node, an evolved B node (eNB), a home B node, a home evolved B node, a WLAN access point, a WiFi node, a transmitting and receiving point (Transmitting Receiving Point, TRP) or some other suitable term in the field. As long as the same technical effect is achieved, the base station is not limited to a specific technical vocabulary.
[0024] The following, in conjunction with the accompanying drawings, describes in detail the transmission method of the transmission object provided in the embodiment of the present application through some embodiments and their application scenarios.
[0025] like Figure 2 As shown, an embodiment of the present application provides a method for transmitting a transmission object, which can be executed by a sender, such as a terminal device, and includes the following steps:
[0026] S202: Acquire the associated parameters of the first transmission object to be transmitted.
[0027] In one embodiment, the first transmission object may be a message, such as a Beidou message. When the sender wants to send a message, the associated parameters of the message to be transmitted may be obtained. Among them, a variety of associated factors may affect the transmission success rate of the transmission object, and the associated factors may include, for example, at least one of the following: transmission power, antenna performance, channel coding, transmission rate, received satellite signal, etc., and the value of at least one associated factor is an associated parameter. In one embodiment, the transmission power may be the maximum power that the current terminal can support; the antenna performance may be measured after guiding the user to align with the satellite; the received satellite signal is parsed from the air interface instruction sent by the terminal receiving the satellite, and in one embodiment, multiple beams of multiple satellites are included, and each beam includes the carrier-to-noise ratio of multiple branches, for example, the user receives the signal in the S band, for example, in the frequency band of about 2483.5MHz to 2500MHz, the branch carrier-to-noise ratio of the S band pilot branch S2C_p and the branch carrier-to-noise ratio of the S band telegram branch S2C_d.
[0028] S204: Obtain a maximum transmission object attribute metric value according to the associated parameter.
[0029] In one embodiment, the transmission object attribute measurement value can be used to measure a certain attribute of the transmission object, for example, the length can be used to measure the length attribute of the message. The maximum transmission object attribute measurement value is the transmission object attribute measurement value when the transmission success rate meets the predetermined success rate condition. For example, a message length of 10 is the maximum message length when the transmission success rate is greater than 95%. The maximum message length can be obtained by converting the valid telegram bits into the length of the plain text of the message before compression coding, such as the number of characters, and the characters include: at least one of Chinese characters, pure numbers, and mixed characters.
[0030] S206: Determine a second transmission object according to the maximum transmission object attribute metric value.
[0031] In one embodiment, the attribute metric value of the second transmission object is not greater than the maximum transmission object attribute metric value. In one embodiment, when the attribute metric value of the first transmission object is not greater than the maximum transmission object attribute metric value, the first transmission object itself can be determined as the second transmission object. For example, if the first message length is 8 and is less than the maximum message length of 10, the first message itself is determined as the second transmission object.
[0032] In the case where the attribute metric value of the first transmission object is greater than the attribute metric value of the maximum transmission object, the second transmission object can be determined, for example, the second transmission object re-edited by the user is received. In one implementation, the user can also be prompted that the attribute metric value of the first transmission object is greater than the attribute metric value of the maximum transmission object and the second transmission object re-edited by the user is received. For example, if the first message length is 18 and greater than the maximum message length of 10, the user is prompted that the message length is greater than the maximum message length, and the second message re-edited by the user is received, and the second message length is 8, which is less than the maximum message length of 10.
[0033] S208: Send the second transmission object.
[0034] For example, user messages may be compressed, encrypted, and sent.
[0035] The transmission method of a transmission object provided in an embodiment of the present application is achieved by obtaining associated parameters of a first transmission object to be transmitted; obtaining a maximum transmission object attribute metric value according to the associated parameters; in one embodiment, the maximum transmission object attribute metric value is a transmission object attribute metric value whose sending success rate meets a predetermined success rate condition; determining a second transmission object according to the maximum transmission object attribute metric value; and sending the second transmission object. In one embodiment, the attribute metric value of the second transmission object is not greater than the maximum transmission object attribute metric value, and the second transmission object whose attribute metric value is not greater than the maximum transmission object attribute metric value can be transmitted to ensure that the sending success rate of the transmission object meets the predetermined success rate condition.
[0036] In one implementation, in S204, the associated parameters are input into a target model, and the maximum transmission object attribute metric value is output through the target model. In one embodiment, the target model includes a correspondence between the associated parameters of the plurality of transmission objects and the maximum transmission object attribute metric value. For example, at least one associated parameter such as transmission power, antenna performance, channel coding, transmission rate, and received satellite signal is input into the target model, and the maximum transmission object attribute metric value 10 is output through the target model.
[0037] In one implementation, in S204, based on the correspondence between the pre-stored association parameter and the maximum transmission object attribute metric value, the maximum transmission object attribute metric value can be obtained according to the association parameter. In one embodiment, the correspondence is obtained by calculating the target model. For example, the target model calculates that the transmission power a corresponds to the maximum transmission object attribute metric value 10.
[0038] In one implementation, before obtaining the associated parameters of the first transmission object, the associated parameters of at least one transmission object may also be obtained; based on the associated parameters of the at least one transmission object, a target model is trained. In one embodiment, the target model includes a correspondence between the associated parameters of the multiple transmission objects and a maximum transmission object attribute measurement value, and the maximum transmission object attribute measurement value is a transmission object attribute measurement value whose sending success rate meets a predetermined success rate condition.
[0039] In one implementation, training a target model based on the associated parameters of the multiple transmission objects may specifically include: obtaining at least one associated factor that affects the transmission object sending success rate; determining the value range of the at least one associated factor; obtaining the maximum transmission object attribute measurement value when the transmission object sending success rate meets a predetermined success rate condition based on at least one associated parameter within the value range of the at least one associated factor; and establishing, in the target model, a correspondence between the associated parameter and the maximum transmission object attribute measurement value.
[0040] The associated factors that affect the success rate of transmission of the transmission object include at least one of the following: transmission power, antenna performance, channel coding, transmission rate, received satellite signal, etc. Transmission power: According to the 3GPP standard, the maximum transmission power of the mobile terminal has different levels, and the associated parameters are such as 23dBm, 26dBm, etc. For example, the transmission power required by the Beidou satellite short message currently corresponds to the associated parameter of 30+dBm. Antenna performance, including but not limited to antenna gain, efficiency, and pattern parameters. Channel coding, including but not limited to turbo code, polar code and other coding methods. The received satellite signal includes: the S2C_p branch carrier-to-noise ratio and the S2C_d branch carrier-to-noise ratio of each outbound beam of each satellite, etc. Quantify each factor according to its value range and list multiple combinations. For example, the transmission power is quantized at intervals of 3db. The received satellite signal is quantized at intervals of 1db, etc. For each combination, the terminal performs multiple tests to obtain the maximum message length with a transmission success rate greater than a predetermined success rate condition, and saves the result in the model result, so as to establish a corresponding relationship between the association parameter and the maximum transmission object attribute metric value in the target model. Thus, this step can train the target model for determining the maximum transmission object attribute metric value.
[0041] In one implementation, S206 includes intercepting a second transmission object at a predetermined position of the first transmission object when the attribute metric value of the first transmission object is greater than the maximum transmission object attribute metric value. For example, if the first transmission object is abcdefgh, and the attribute metric value 8 of the first transmission object is greater than the maximum transmission object attribute metric value 4, abcd is intercepted as the second transmission object in the first transmission object message header. Thus, the second transmission object can be sent in a subsequent step so that the transmission success rate meets the predetermined success rate condition.
[0042] In one implementation, when the attribute metric value of the first transmission object is greater than the maximum transmission object attribute metric value, the sender can display a prompt message to the user asking whether to send the first transmission object in segments, and when receiving an instruction from the user agreeing to send the first transmission object in segments, the second transmission object is intercepted at a predetermined position of the first transmission object. Thus, the first transmission object can be sent in segments with the user's consent.
[0043] In one implementation, a first operation of a user is received, and the first operation is used to select the predetermined position. For example, if the first transmission object is abcdefgh and the attribute metric value 8 of the first transmission object is greater than the maximum transmission object attribute metric value 4, and the predetermined position is a message header, then abcd is intercepted from the first transmission object message header as the second transmission object. Thus, the predetermined position can be determined by the user.
[0044] In one implementation, after intercepting the second transmission object at the predetermined position of the first transmission object, the method further includes: caching the remaining transmission object after the interception in the buffer area, and taking the remaining transmission object as the first transmission object to be transmitted; when the first transmission object to be transmitted exists in the buffer area, obtaining the associated parameters of the first transmission object to be transmitted. That is, when the first transmission object to be transmitted exists in the buffer area, S202-S208 are performed based on the first transmission object to be transmitted. For example, the transmission object efgh remaining after the interception is cached in the buffer area, and the remaining transmission object is taken as the first transmission object to be transmitted. If the first transmission object efgh to be transmitted exists in the buffer area, the associated parameters of the first transmission object efgh to be transmitted are obtained. If the attribute metric value 4 of the first transmission object efgh to be transmitted is not greater than the maximum transmission object attribute metric value 8, the first transmission object efgh to be transmitted will determine the second transmission object; and the second transmission object is sent. Therefore, if the first transmission object to be transmitted exists in the buffer area, the associated parameters of the first transmission object to be transmitted are obtained and the subsequent sending steps are performed, so that the complete first transmission object can be sent in multiple times.
[0045] In one embodiment, when the first transmission object to be transmitted exists in the cache, obtaining the associated parameters of the first transmission object to be transmitted includes: when a predetermined time is exceeded and the first transmission object to be transmitted exists in the cache, obtaining the associated parameters of the first transmission object to be transmitted. In one embodiment, a timer is started when the remaining transmission objects are cached in the cache after interception, and when the timer exceeds a predetermined time and the first transmission object to be transmitted exists in the cache, the associated parameters of the first transmission object to be transmitted are obtained, and S202-S208 are executed again. On the contrary, if it is determined not to continue sending before the predetermined time is exceeded, S202-S208 are no longer executed. In this way, the complete first transmission object can be automatically sent.
[0046] In one embodiment, when the first transmission object to be transmitted exists in the cache within a predetermined time, the associated parameters of the first transmission object to be transmitted can be obtained, and S202-S208 can be executed again. If not, S202-S208 are no longer executed. Thus, only the first transmission object that meets the predetermined time condition is sent, avoiding the cached expired data from affecting the sending of the current first transmission object.
[0047] In one implementation, when the first transmission object exists in the buffer area, the user is prompted whether to continue to send the transmission object. When an instruction to continue to send the transmission object is received, the transmission object is sent.
[0048] In one implementation, before intercepting the second transmission object at the predetermined position of the first transmission object, the method further includes: displaying the maximum transmission object attribute metric value; receiving a second operation of the user, the second operation being used to determine the attribute metric value of the second transmission object. For example, before intercepting the second transmission object, the method further includes: displaying the maximum transmission object attribute metric value; receiving a second operation of the user, the second operation being used to determine the attribute metric value of the second transmission object. For example, displaying the maximum transmission object attribute metric value of 10; receiving a second operation of the user, the second operation being used to determine the attribute metric value of the second transmission object to be 8, thereby enabling the user to adjust the attribute metric value of the transmission object.
[0049] In one implementation, a first target identifier is inserted into the second transmission object, and the first target identifier is used to indicate whether the first transmission message has been sent. In one implementation, the first target identifier includes at least one of the following:
[0050] The attribute metric value of the second transmission object and the attribute metric value of the first transmission object, for example, the attribute metric value of the second transmission object abcd is 4 and the attribute metric value of the first transmission object is 10, thereby determining that the first transmission message has not been sent completely.
[0051] Whether the second transmission object is the last segmented transmission object of the first transmission object. For example, a first target identifier 0 is inserted into the second transmission object abcd, and the first target identifier 0 is used to indicate that the first transmission message has not been sent completely.
[0052] In one implementation, the position where the first target identifier is inserted can be set by the user, for example, in the message header, that is, the second transmission object is inserted after the first target identifier is 0abcd.
[0053] In one implementation, a second target identifier is inserted into the second transmission object, and the second target identifier is used to indicate the position of the second transmission message in the first transmission message. In one implementation, the second target identifier includes at least one of the following:
[0054] The sending time of the second transmission object, for example, the first transmission message abcdefgh includes two second transmission objects, abcd and efgh, and the position of the second transmission message in the first transmission message can be represented by the sending time, for example 0:00 and 0:01.
[0055] The order of the second transmission objects, for example, the first transmission message abcdefgh includes two second transmission objects, abcd and efgh, and the positions of the second transmission messages in the first transmission message can be represented by serial numbers, such as 1 and 2.
[0056] In one implementation, the position for inserting the second target identifier may be set by the user, for example, in the message header, that is, after the second target identifier is inserted into the second transmission object, 1abcd and 2efgh.
[0057] like Figure 3 As shown, taking sending a Beidou message as an example, a transmission method of a transmission object provided by an embodiment of the present application is described, including the following steps:
[0058] S301: The user uses a mobile terminal to edit a Beidou short message and clicks send.
[0059] S302: Guide the user to aim at the satellite, and the monitoring module collects various data required by the model, and calls the model algorithm to calculate the current maximum message length.
[0060] C301: Is the actual message length of the user greater than the current maximum message length?
[0061] If yes, continue to execute step S103; if no, execute step S104.
[0062] S303: The terminal limits the length of the short message sent by the user on the user interface (UI), and prompts the user to re-edit before sending.
[0063] C302: User consent?
[0064] If yes, continue to execute S101; if no, execute step S104.
[0065] S304: The sending module compresses and encrypts the message and sends it.
[0066] S305: End.
[0067] like Figure 4 As shown, an embodiment of the present application provides a method for transmitting a transmission object, the method comprising:
[0068] S101: The user uses a mobile terminal to edit a Beidou short message and clicks send.
[0069] This embodiment is described by taking the first transmission object and the second transmission object as Beidou short messages as an example.
[0070] S102: Guide the user to aim at the satellite, the monitoring module collects various data, and calls the model algorithm to calculate the current maximum message length.
[0071] The maximum message length may vary in different scenarios. For example, if a cloud in the sky blocks the satellite signal, the maximum message length may become shorter. In one embodiment, the maximum transmission object attribute metric value may be displayed and a second operation of the user may be received, and the second operation is used to determine the attribute metric value of the second transmission object. For example, the maximum transmission object attribute metric value of 10 may be displayed to the user, and a second operation of the user may be received, and the second operation is used to determine that the attribute metric value of the second transmission object is 8.
[0072] C101: Determine whether the user's actual message length is greater than the current maximum message length?
[0073] If yes, continue to execute step S103; if no, execute step S108.
[0074] Step S103: The terminal prompts the user on the UI to send the message in segments, otherwise the message may fail to be sent because it is too long. If the user agrees, the message is segmented first, otherwise it can be sent directly. This step can improve the UI to facilitate user operation.
[0075] C102: Determine whether the user agrees?
[0076] If yes, continue to execute step S104; if no, execute step S108.
[0077] S104: The segmentation module divides the user message into two segments. The first segment starts from the user message header and has a length equal to the current maximum message length. The remaining second segment is updated to the cache module.
[0078] In one implementation, when receiving a user's instruction to agree to send the first transmission object in segments, the second transmission object is intercepted at a predetermined position of the first transmission object. In one embodiment, a first operation of the user may be received, the first operation is used to select the predetermined position, that is, the predetermined position may be set by the user, such as a message header, and the intercepted first segment is used as the second transmission object. The transmission object remaining after intercepting the second transmission object in the first transmission object, such as the second segment, is cached in the cache area.
[0079] In one embodiment, a first target identifier may be inserted into the second transmission object, where the first target identifier is used to indicate whether the first transmission message has been sent. The first target identifier includes at least one of the following:
[0080] The attribute metric value of the second transmission object and the attribute metric value of the first transmission object;
[0081] whether the second transmission object is the last segmented transmission object of the first transmission object;
[0082] In one embodiment, a second target identifier may be inserted into the second transmission object, and the second target identifier is used to indicate the position of the second transmission message in the first transmission message. The second target identifier includes at least one of the following:
[0083] The sending time of the second transmission object;
[0084] The ordering of the second transmission objects.
[0085] S105: compress and encrypt the first segment and send it. After sending, start a timer for the inbound frequency.
[0086] That is, the second transmission object is sent.
[0087] C103: After the timer times out, is it determined whether the buffer module still has messages to be sent?
[0088] If yes, continue to execute step S106; if no, execute step S110.
[0089] S106: Prompt the user to send the remaining messages. In one implementation, when the first transmission object exists in the buffer area, prompt the user whether to continue sending the transmission object.
[0090] C104: Determine if the user is sure?
[0091] If so, continue to execute step S102; use the remaining transmission objects as the first transmission objects to be transmitted. In one embodiment, when the first transmission object to be transmitted exists in the cache, obtain the associated parameters of the first transmission object to be transmitted, and execute S101-S104 again. Thus, if the cache has the first transmission object to be transmitted, obtain the associated parameters of the first transmission object to be transmitted and execute the subsequent sending steps, so that the complete first transmission object can be sent. In one embodiment, as long as the first transmission object to be transmitted exists in the cache, obtain the associated parameters of the first transmission object to be transmitted and execute the subsequent sending steps.
[0092] In one embodiment, when the first transmission object to be transmitted exists in the buffer area, obtaining the associated parameters of the first transmission object to be transmitted includes: when the predetermined time is exceeded and the first transmission object to be transmitted exists in the buffer area, obtaining the associated parameters of the first transmission object to be transmitted. In one embodiment, when the user is prompted that the remaining message will be sent, a timer is started, and when the timer exceeds the predetermined time and the first transmission object to be transmitted exists in the buffer area, the associated parameters of the first transmission object to be transmitted are obtained, and S101-S104 are executed again. In this way, the complete first transmission object can be automatically sent without timely response from the user.
[0093] In one embodiment, when the first transmission object to be transmitted exists in the cache within the predetermined time, the associated parameters of the first transmission object to be transmitted can be obtained, and S101-S104 can be executed again. If not, step S107 is executed. Thus, only the first transmission object that meets the predetermined time is sent, avoiding the cached expired data from affecting the sending of the current first transmission object.
[0094] S107: Clear cache data.
[0095] S108: compress and encrypt the message and send it.
[0096] S109: Prompt the user that all messages have been sent.
[0097] The first receiver receives at least one second transmission object and determines the first transmission object according to the second transmission object.
[0098] S110: End.
[0099] For example, the actual user message is abcdefghij. In C101, it can be determined that the actual user message length 10 is greater than the current maximum message length 3, and then step S103 is executed. In S103, the terminal prompts the user on the UI to send the message in segments, otherwise the message may fail to be sent because the user message is too long. In C102, it is determined that the user agrees, and then step S104 is continued. In S104: the segmentation module divides the user message into two segments. The first segment starts from the user message header and has a length of the current maximum message length, i.e., abc. The remaining second segment defghij is updated to the cache module.
[0100] In one embodiment, a first target identifier 0 may be inserted into the second transmission object, and the first target identifier is used to indicate that the first transmission message has not been completely sent. In one embodiment, the first target identifier may also include: an attribute metric value 3 of the first segment abc and an attribute metric value 10 of the first transmission object, thereby the first receiving party can also determine that the first transmission message has not been completely sent.
[0101] In an embodiment, a second target identifier 1 may be inserted into the second transmission object, where the second target identifier is used to indicate the position of the second transmission message in the first transmission message, that is, the ranking of the second transmission object is 1.
[0102] In S105, the second transmission object, i.e., the first segment abc, is sent. In C103, after the timer times out, it is determined that there are still messages to be sent in the buffer module, and then step S106 is continued. In S106, the user is prompted to send the remaining messages. In C104, it is determined that the user is determined to send the remaining messages, and then step S102 is continued; the remaining transmission object, i.e., the second segment defghij, is used as the first transmission object to be transmitted. If the first transmission object defghij exists in the cache area, the associated parameters of the first transmission object defghij to be transmitted are obtained, and S101-S104 are executed again.
[0103] The specific steps are similar to the above. In short, def is intercepted from the first transmission object defghij and sent, ghij is stored in the buffer area, and S101-S104 is executed in a loop. Ghi is intercepted from ghij and sent, j is stored in the buffer area, and S101-S104 is executed in a loop. In C101, it is determined that the actual message length of the user is not greater than the current maximum message length, and message j is sent directly.
[0104] In one implementation, the terminal may include multiple modules. In one embodiment, the monitoring module is used to monitor the factors that affect the success rate of Beidou message transmission. The maximum message length search module is used to call its own algorithm model according to the parameters of the monitoring module to obtain the current optimal message transmission length. The message segmentation module is used to divide the user message into two segments according to the optimal message transmission length. Specifically, the message is divided into two segments, the length of the first segment is the current optimal message transmission length, and the remaining message is the second segment, which is updated to the cache module. The message cache module is used to cache unsent user messages. The cache module stores the content of unsent user messages. When the user cancels sending the remaining messages, all cached messages will be cleared. When the user chooses to continue sending the remaining messages, the maximum message length is adaptively adjusted according to the current factors, and the messages in the cache are segmented again and the new remaining messages are updated to the cache module. When the cache module has messages to be sent, the send button on the UI interface is grayed out, and the user is not allowed to create a new message. The message sending module is used to compress, encrypt and send the first segment. The timing module is used to start after the first segment is sent. After the timer exceeds the inbound frequency, the process of monitoring, searching, segmenting, caching and sending is restarted.
[0105] Specifically, the inbound frequency is read from the Beidou card and is used to control the nominal sending frequency of inbound services. The values are referenced in Table 1:
[0106] Table 1
[0107]
[0108] like Figure 5 As shown, an embodiment of the present application provides a transmission method for a transmission object, which can be executed by a first receiving party. It can be understood that the interaction between the network device and the sender described from the first receiving party side is similar to Figure 2-4 The description of the sender side in the method shown is the same or corresponding, and the relevant description is appropriately omitted to avoid repetition. The method includes the following steps:
[0109] S502: Receive a second transmission object.
[0110] In one embodiment, the attribute metric value of the second transmission object is not greater than the maximum transmission object attribute metric value, the maximum transmission object attribute metric value is a transmission object attribute metric value whose sending success rate meets a predetermined success rate condition, and the maximum transmission object attribute metric value is determined based on the associated parameters of the first transmission object to be transmitted.
[0111] S504: Determine the first transmission object according to the second transmission object.
[0112] In one embodiment, the second transmission object is determined as the first transmission object. For example, if the second transmission object is re-edited by the user, the second transmission object is determined as the first transmission object.
[0113] In one embodiment, when the attribute metric value of the first transmission object is greater than the maximum transmission object attribute metric value, the second transmission object may be intercepted at a predetermined position of the first transmission object, that is, the first transmission object is divided into a plurality of second transmission objects. This step may combine the received plurality of the second transmission objects into a first transmission object.
[0114] In one embodiment, the second transmission object carries a first target identifier or a second target identifier, the first target identifier is used to indicate whether the first transmission message has been sent, and the second target identifier is used to indicate the position of the second transmission message in the first transmission message.
[0115] The first target identifier includes at least one of the following:
[0116] a property metric value of the second transmission object and a property metric value of the first transmission object;
[0117] Whether the second transmission object is the last segmented transmission object of the first transmission object.
[0118] The second target identifier includes at least one of the following:
[0119] The sending time of the second transmission object;
[0120] The ordering of the second transmission objects.
[0121] In one embodiment, the first receiver may obtain the first target identifier or the second target identifier from the second transmission object, wherein the first target identifier is used to indicate whether the first transmission message has been sent, and the second target identifier is used to indicate the position of the second transmission message in the first transmission message. The first target identifier or the second target identifier may be carried in a message header, for example. The receiver may display the message header and the message content after the current segment decryption to prompt the user that there are subsequent segment messages to be received.
[0122] When it is determined that the second transmission object is the last segmented transmission object of the first transmission object based on the first target identifier carried by the second transmission object, multiple received second transmission objects can be combined into the first transmission object based on the second target identifier carried by the second transmission object, and the second target identifier is used to indicate the position of the second transmission message in the first transmission message.
[0123] For example, after the sender divides the user message according to the maximum length of the sent message, the first target identifier or the second target identifier is inserted into the header of the second transmission object as the message header. The first target identifier is, for example, a flag indicating whether the second transmission object is the last segment, for example, 1 indicates an intermediate segment, and 0 indicates the last segment. The second target identifier includes, for example, the time when the first second transmission object of the user message is sent and the segment sequence number, for example, 1, 2, 3... After the segmented message is forwarded to the ground station via the satellite, the ground station determines whether all segments of the message have been received through the sender's Beidou number, the receiver's ID number and the message header. If it has not been received, that is, the last segment flag is 1, the timer is started, and the timer is reset if the subsequent segment is successfully received within the timer and it is not the last segment. Until all segments of the same message are received. Then, the complete user message is determined based on the combination of the sender's Beidou number, the receiver's ID number, the first segment sending time and the segment sequence number. In one embodiment, it can be forwarded to the second receiver.
[0124] In one embodiment, a plurality of the second transmission objects may be received within a predetermined time; the plurality of the second transmission objects received may be combined into the first transmission object according to a second target identifier, wherein the second target identifier is used to indicate the position of the second transmission message in the first transmission message. If the ground station does not receive all the segments within the specified time, the received second transmission objects may be combined to determine the first transmission object.
[0125] In one implementation, the first transmission object may also be sent to a second receiver according to the second receiver identification information, and the second receiver may be, for example, a terminal. For example, the sender is terminal A, terminal A sends at least one second transmission object to a satellite, the satellite sends at least one second transmission object to a base station, and the base station sends the first transmission object to terminal B. Thus, transmission between terminal A and terminal B is achieved. The first transmission object carries the sender identification information.
[0126] The present application also provides an electronic device, which may include a network side device. Figure 6 As shown, the network device 800 includes: an antenna 801, a radio frequency device 802, and a baseband device 803. The antenna 801 is connected to the radio frequency device 802. In the uplink direction, the radio frequency device 802 receives information through the antenna 801 and sends the received information to the baseband device 803 for processing. In the downlink direction, the baseband device 803 processes the information to be sent and sends it to the radio frequency device 802. The radio frequency device 802 processes the received information and sends it out through the antenna 801.
[0127] The above-mentioned frequency band processing device may be located in the baseband device 803, and the method performed by the network side device in the above embodiment may be implemented in the baseband device 803, and the baseband device 803 includes a processor 804 and a memory 805. The baseband device 803 may include, for example, at least one baseband board, and a plurality of chips are arranged on the baseband board, as shown in the figure, one of the chips is, for example, a processor 804, which is connected to the memory 805 to call the program in the memory 805 and perform the network device operation shown in the above method embodiment.
[0128] The baseband device 803 may also include a network interface 806 for exchanging information with the radio frequency device 802, and the interface is, for example, a common public radio interface (CPRI). Specifically, the network side device of the embodiment of the present application also includes: instructions or programs stored in the memory 805 and executable on the processor 804, and the processor 804 calls the instructions or programs in the memory 805 to execute: the processor 804 calls the instructions or programs in the memory 805 to execute Figure 5 The methods executed by the modules shown achieve the same technical effects, and therefore will not be described here in detail to avoid repetition.
[0129] Figure 7 A schematic diagram of the hardware structure of an electronic device for implementing an embodiment of the present application. The electronic device may include a terminal device, and the terminal device 1000 includes but is not limited to: a radio frequency unit 1001, a network module 1002, an audio output unit 1003, an input unit 1004, a sensor 1005, a display unit 1006, a user input unit 1007, an interface unit 1008, a memory 1009, and at least some of the components in the processor 1010.
[0130] Those skilled in the art can understand that the terminal device 1000 can also include a power supply (such as a battery) for supplying power to each component, and the power supply can be logically connected to the processor 1010 through a power management system, so as to implement functions such as charging, discharging, and power consumption management through the power management system. The terminal device structure shown in the figure does not constitute a limitation on the terminal device, and the terminal device may include more or fewer components than shown in the figure, or combine certain components, or arrange components differently, which will not be repeated here.
[0131] It should be understood that in the embodiment of the present application, the input unit 1004 may include a graphics processor (Graphics Processing Unit, GPU) 10041 and a microphone 10042, and the graphics processor 10041 processes the image data of the static picture or video obtained by the image capture device (such as a camera) in the video capture mode or the image capture mode. The display unit 1006 may include a display panel 10061, and the display panel 10061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 1007 includes a touch panel 10071 and other input devices 10072. The touch panel 10071 is also called a touch screen. The touch panel 10071 may include two parts: a touch detection device and a touch controller. Other input devices 10072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.
[0132] In the embodiment of the present application, the radio frequency unit 1001 receives downlink data from the network side device and sends it to the processor 1010 for processing; in addition, the uplink data is sent to the network side device. Generally, the radio frequency unit 1001 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc.
[0133] The memory 1009 can be used to store software programs or instructions and various data. The memory 1009 can mainly include a program or instruction storage area and a data storage area, wherein the program or instruction storage area can store an operating system, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 1009 can include a high-speed random access memory, and can also include a non-volatile memory, wherein the non-volatile memory can be a read-only memory (Read-Only Memory, ROM), a programmable read-only memory (Programmable ROM, PROM), an erasable programmable read-only memory (Erasable PROM, EPROM), an electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or a flash memory. For example, at least one disk storage device, a flash memory device, or other non-volatile solid-state storage devices.
[0134] The processor 1010 may include one or more processing units; in one embodiment, the processor 1010 may integrate an application processor and a modem processor, wherein the application processor mainly processes an operating system, a user interface, and application programs or instructions, etc., and the modem processor mainly processes wireless communications, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 1010.
[0135] The processor 1010 is used to execute Figure 2-4 The terminal device 1000 according to the embodiment of the present application can refer to the method corresponding to the embodiment of the present application to perform Figure 2-4 The process of the method described in the embodiment, and the various units / modules in the terminal device 1000 and the above-mentioned other operations and / or functions are respectively implemented Figure 2-4 The corresponding processes in the embodiments can achieve the same or equivalent technical effects, and for the sake of brevity, they will not be repeated here.
[0136] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of an embodiment of a transmission method for a transmission object described above is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0137] The processor is a processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0138] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned transmission method embodiment of a transmission object, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0139] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0140] The present application also provides a computer program product, which includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein the program or instruction is executed by the processor to implement the following Figure 2-4 Example or Figure 5 The steps of the method described in the embodiment.
[0141] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0142] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0143] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
Claims
1. A method for transmitting a transmission object, characterized in that: Executed by the sender, the method includes: Obtaining associated parameters of a first transmission object to be transmitted; Acquire a maximum transmission object attribute metric value according to the associated parameter; wherein the maximum transmission object attribute metric value is a transmission object attribute metric value whose transmission success rate satisfies a predetermined success rate condition; Determining a second transmission object according to the maximum transmission object attribute metric value; The second transmission object is sent, wherein the attribute metric value of the second transmission object is not greater than the maximum transmission object attribute metric value.
2. The method according to claim 1, characterized in that In a case where the attribute metric value of the first transmission object is greater than the maximum transmission object attribute metric value, determining the second transmission object in the first transmission object according to the maximum transmission object attribute metric value includes: The second transmission object is intercepted at a predetermined position of the first transmission object.
3. The method according to claim 2, characterized in that After intercepting the second transmission object at the predetermined position of the first transmission object, the method further includes: Buffering the remaining transmission objects after interception in the buffer area, and using the remaining transmission objects as the first transmission objects to be transmitted; When the first transmission object to be transmitted exists in the buffer area, the associated parameters of the first transmission object to be transmitted are obtained.
4. The method according to claim 3, characterized in that In the case that the first transmission object exists in the buffer area, the user is prompted whether to continue sending the transmission object.
5. The method according to claim 2, characterized in that Intercepting a second transmission object at a predetermined position of the first transmission object comprises: When receiving the user's consent to send the first transmission object in segments, the second transmission object is intercepted at a predetermined position of the first transmission object.
6. The method according to claim 2, characterized in that Before intercepting the second transmission object at the predetermined position of the first transmission object, the method further includes: A first operation of a user is received, where the first operation is used to select the predetermined position.
7. The method according to claim 2, characterized in that Before intercepting the second transmission object at the predetermined position of the first transmission object, the method further includes: Display the maximum transmission object attribute metric value; A second operation of the user is received, where the second operation is used to determine a property metric value of the second transmission object.
8. The method according to claim 1, characterized in that Also includes: A first target identifier or a second target identifier is inserted into the second transmission object, wherein the first target identifier is used to indicate whether the first transmission message has been sent, and the second target identifier is used to indicate the position of the second transmission message in the first transmission message.
9. The method according to claim 1, characterized in that Obtaining a maximum transmission object attribute metric value according to the associated parameter includes: Inputting the association parameter into a target model and outputting the maximum transmission object attribute metric value, wherein the target model includes a correspondence between the association parameters of the plurality of transmission objects and the maximum transmission object attribute metric value; or Based on a pre-stored correspondence between an association parameter and a maximum transmission object attribute metric value, the maximum transmission object attribute metric value is obtained according to the association parameter, wherein the correspondence is obtained by calculating the target model.
10. The method according to claim 9, characterized in that Before obtaining the associated parameters of the first transmission object, the method further includes: Obtaining associated parameters of at least one transfer object; Based on the associated parameters of the at least one transmission object, a target model is trained, wherein the target model includes a correspondence between the associated parameters of the plurality of transmission objects and a maximum transmission object attribute metric value.
11. The method according to claim 9, characterized in that Based on the associated parameters of the plurality of transmission objects, training a target model comprises: Acquire at least one correlation factor that affects the success rate of sending the transmission object; Determining a value range of the at least one correlation factor; According to at least one associated parameter within the value range of the at least one associated factor, obtaining a maximum transmission object attribute metric value when the transmission object sending success rate meets a predetermined success rate condition; In the target model, a corresponding relationship between the association parameter and the maximum transmission object attribute metric value is established.
12. The method according to claim 1, characterized in that In a case where the attribute metric value of the first transmission object is greater than the maximum transmission object attribute metric value, determining the second transmission object according to the maximum transmission object attribute metric value includes: Prompt the user that the attribute metric value of the first transmission object is greater than the maximum transmission object attribute metric value; The second transmission object re-edited by the user is received and sent.
13. A method for transmitting a transmission object, characterized in that: Executed by a first receiving party, the method includes: receiving a second transmission object, wherein the attribute metric value of the second transmission object is not greater than the maximum transmission object attribute metric value, the maximum transmission object attribute metric value is a transmission object attribute metric value whose transmission success rate satisfies a predetermined success rate condition, and the maximum transmission object attribute metric value is determined according to an associated parameter of the first transmission object to be transmitted; A first transmission object is determined according to the second transmission object.
14. The method according to claim 13, characterized in that In the case where the attribute metric value of the first transmission object is greater than the maximum transmission object attribute metric value, the second transmission object satisfies at least one of the following: A second transmission object intercepted at a predetermined position of the first transmission object; or It is re-edited by the user.
15. The method according to claim 13, characterized in that Also includes: A first target identifier or a second target identifier is obtained from the second transmission object, wherein the first target identifier is used to indicate whether the first transmission message has been sent, and the second target identifier is used to indicate a position of the second transmission message in the first transmission message.
16. The method according to claim 15, characterized in that In a case where the attribute metric value of the first transmission object is greater than the maximum transmission object attribute metric value, and it is determined according to the first target identifier that the second transmission object is the last segmented transmission object of the first transmission object, determining the first transmission object according to the second transmission object includes: According to the second target identifier, the received multiple second transmission objects are combined into the first transmission object.
17. The method according to claim 15, characterized in that In a case where the attribute metric value of the first transmission object is greater than the maximum transmission object attribute metric value, the determining the first transmission object according to the second transmission object comprises: receiving a plurality of the second transmission objects within a predetermined time; According to the second target identifier, the received multiple second transmission objects are combined into the first transmission object.
18. The method according to claim 13, characterized in that The second transmission object includes: sender identification information and second receiver identification information, and after determining the first transmission object, further includes: The first transmission object is sent to the second receiver according to the second receiver identification information, wherein the first transmission object carries the sender identification information.
19. An electronic device, characterized in that: It includes a processor, a memory, and a program or instruction stored in the memory and executable on the processor, wherein when the program or instruction is executed by the processor, the steps of the transmission method of the transmission object described in any one of claims 1 to 12 are implemented; or the steps of the transmission method of the transmission object described in any one of claims 13 to 18 are implemented.
20. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, it implements the steps of the transmission method of the transmission object as described in any one of claims 1-12; or implements the steps of the transmission method of the transmission object as described in any one of claims 13-18.