CN115843002A - Method and device for transmitting pictures based on Beidou short message terminal - Google Patents
Method and device for transmitting pictures based on Beidou short message terminal Download PDFInfo
- Publication number
- CN115843002A CN115843002A CN202211349505.XA CN202211349505A CN115843002A CN 115843002 A CN115843002 A CN 115843002A CN 202211349505 A CN202211349505 A CN 202211349505A CN 115843002 A CN115843002 A CN 115843002A
- Authority
- CN
- China
- Prior art keywords
- beidou
- terminals
- target
- slicing
- data transmission
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 54
- 230000005540 biological transmission Effects 0.000 claims abstract description 256
- 230000006835 compression Effects 0.000 claims description 22
- 238000007906 compression Methods 0.000 claims description 22
- 238000003780 insertion Methods 0.000 claims description 12
- 230000037431 insertion Effects 0.000 claims description 12
- DMBHHRLKUKUOEG-UHFFFAOYSA-N diphenylamine Chemical compound C=1C=CC=CC=1NC1=CC=CC=C1 DMBHHRLKUKUOEG-UHFFFAOYSA-N 0.000 claims description 9
- 238000005516 engineering process Methods 0.000 abstract description 10
- 238000010586 diagram Methods 0.000 description 11
- 238000012545 processing Methods 0.000 description 11
- 238000004590 computer program Methods 0.000 description 10
- 238000004891 communication Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 230000000694 effects Effects 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 3
- 230000006399 behavior Effects 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004075 alteration Effects 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 230000007423 decrease Effects 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
Images
Classifications
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a method and a device for transmitting pictures based on a Beidou short message terminal. Wherein, the method comprises the following steps: acquiring an initial picture; determining data transmission bearing capacities corresponding to a plurality of Beidou terminals used for transmitting the initial picture and the Beidou terminals respectively; slicing the initial picture to obtain a plurality of groups of slicing results; determining a target slicing result and a plurality of target terminals based on the plurality of groups of slicing results and data transmission carrying capacities corresponding to the plurality of Beidou terminals respectively, wherein the data amount of the slices in the target slicing result is correspondingly less than or equal to the data transmission carrying capacity of the target terminal used for transmitting the corresponding slices in the plurality of target terminals; and sending the slices in the target slicing result to corresponding target terminals in the plurality of target terminals for transmission. The invention solves the technical problems of low picture transmission efficiency through Beidou short messages and low utilization rate of the Beidou terminal in the related technology.
Description
Technical Field
The invention relates to the field of communication, in particular to a method and a device for transmitting pictures based on a Beidou short message terminal.
Background
At present, the maximum length of a single short message of the Beidou short message is limited, data in three formats of Chinese characters, codes and mixed codes are supported, and reliable data communication can be realized in emergency. However, the Beidou short message does not specify the transmission of picture format data, the picture size is generally far larger than the maximum length limit of a single short message, in order to realize the transmission of the picture format data in a disaster scene through the Beidou short message technology, a picture slicing means is adopted for transmission in the related technology, but the influence of the transmission of emergency pictures on the normal transmission task of the Beidou terminal is not considered, the influence of different slice numbers and different slice specifications on the transmission efficiency of the transmission of the emergency pictures is not considered, and the problems of low utilization rate and low transmission efficiency of the Beidou terminal are caused.
In view of the above problems, no effective solution has been proposed.
Disclosure of Invention
The embodiment of the invention provides a method and a device for transmitting pictures based on a Beidou short message terminal, which are used for at least solving the technical problems of low picture transmission efficiency and low utilization rate of the Beidou terminal in the related technology.
According to an aspect of the embodiment of the invention, a method for transmitting pictures based on a Beidou short message terminal is provided, which comprises the following steps: acquiring an initial picture; determining a plurality of Beidou terminals for transmitting the initial picture and data transmission bearing capacity corresponding to the Beidou terminals respectively; slicing the initial picture to obtain a plurality of groups of slicing results, wherein the plurality of groups of slicing results respectively comprise at least one slice, and the plurality of groups of slicing results comprise different numbers of slices; determining a target slicing result and a plurality of target terminals based on the plurality of groups of slicing results and data transmission carrying capacity corresponding to the plurality of Beidou terminals respectively, wherein the data amount of slices in the target slicing result is correspondingly less than or equal to the data transmission carrying capacity of the target terminal used for transmitting the corresponding slices in the plurality of target terminals; and sending the slices in the target slice result to corresponding target terminals in the plurality of target terminals for transmission.
Optionally, determining the data transmission carrying capacity corresponding to each of the plurality of beidou terminals includes: acquiring state feedback information of the Beidou terminals, wherein the state feedback information at least comprises: the Beidou terminals respectively correspond to a transmission queue and a preset message data volume, and the latest sending time and the first sending time respectively correspond to a plurality of messages to be transmitted corresponding to the transmission queue; establishing a data frame to be inserted based on the transmission cut-off time corresponding to the initial picture and the preset message data volume corresponding to the Beidou terminals respectively, wherein the transmission cut-off time is the latest sending time allowed by the initial picture; respectively determining candidate insertion positions of the data frames to be inserted in the transmission queues corresponding to the Beidou terminals based on the transmission deadline time and the latest sending time; after the data frame to be inserted is inserted into the candidate insertion positions corresponding to the Beidou terminals respectively, updating the first sending time corresponding to the Beidou terminals respectively to obtain second sending time corresponding to the messages to be transmitted respectively corresponding to the Beidou terminals respectively, wherein the second sending time is later than the first sending time; and determining the data transmission bearing capacity corresponding to the Beidou terminals respectively according to the second sending time.
Optionally, the determining, according to the second sending time, the data transmission carrying capacity corresponding to each of the Beidou terminals includes: determining a first Beidou terminal of the plurality of Beidou terminals, of which the second sending time is less than or equal to the latest sending time, and determining a second Beidou terminal of the plurality of Beidou terminals, of which the second sending time is greater than the latest sending time; taking the preset message data volume corresponding to the first Beidou terminal as the data transmission carrying capacity corresponding to the first Beidou terminal, and taking the null value as the data transmission carrying capacity corresponding to the second Beidou terminal; and obtaining the data transmission bearing capacity corresponding to the plurality of Beidou terminals respectively based on the data transmission bearing capacity corresponding to the first Beidou terminal and the data transmission bearing capacity corresponding to the second Beidou terminal.
Optionally, in a case that a target slicing result and a plurality of target terminals cannot be determined based on the plurality of sets of slicing results and data transmission carrying capacities corresponding to the plurality of beidou terminals, respectively, the method further includes: compressing the initial picture to obtain a compressed picture; slicing the compressed picture to obtain a plurality of groups of compressed slicing results, wherein the plurality of groups of compressed slicing results respectively comprise at least one slice, and the plurality of groups of compressed slicing results comprise different numbers of slices; determining a target compression slicing result and a plurality of first terminals based on the plurality of groups of compression slicing results and data transmission carrying capacity corresponding to the plurality of Beidou terminals respectively, wherein the data quantity of slices in the target compression slicing result is correspondingly smaller than the data transmission carrying capacity of the first terminals used for transmitting the corresponding slices in the plurality of first terminals; and sending the slice in the target compressed slice result to a corresponding first terminal in the plurality of first terminals for transmission.
Optionally, the determining a target slicing result and a plurality of target terminals based on the plurality of sets of slicing results and the data transmission carrying capacities corresponding to the plurality of beidou terminals respectively includes: determining the target slicing result based on the plurality of groups of slicing results and the data transmission carrying capacity corresponding to the plurality of Beidou terminals respectively; and determining the plurality of target terminals in the plurality of Beidou terminals based on the data volume of the slices in the target slicing result.
Optionally, before the transmitting the slice in the target slice result to a corresponding beidou terminal in the plurality of target terminals for transmission, the method further includes: determining the number of Beidou short messages respectively occupied by the target slicing results under the condition that the target slicing results are multiple; taking the minimum Beidou short message occupied in the target slicing results as a first slicing result; and sending the slices in the first slice result to corresponding Beidou terminals in the plurality of target terminals for transmission.
According to another aspect of the embodiments of the present invention, there is provided an apparatus for transmitting an image based on a beidou short message terminal, including: the acquisition module is used for acquiring an initial picture; the determining module is used for determining a plurality of Beidou terminals used for transmitting the initial picture and data transmission bearing capacities corresponding to the Beidou terminals respectively; the first slicing module is used for slicing the initial picture to obtain a plurality of groups of slicing results, wherein the plurality of groups of slicing results respectively comprise at least one slice, and the number of slices included in the plurality of groups of slicing results is different; the second determining module is used for determining a target slicing result and a plurality of target terminals based on the plurality of groups of slicing results and data transmission carrying capacity corresponding to the plurality of Beidou terminals respectively, wherein the data quantity of slices in the target slicing result is correspondingly less than or equal to the data transmission carrying capacity of the target terminals used for transmitting the corresponding slices in the plurality of target terminals; and the first transmission module is used for sending the slices in the target slice result to corresponding target terminals in the plurality of target terminals for transmission.
Optionally, the apparatus further comprises: the compression module is used for compressing the initial picture to obtain a compressed picture; the second slicing module is used for slicing the compressed picture to obtain a plurality of groups of compressed slicing results, wherein the plurality of groups of compressed slicing results respectively comprise at least one slice, and the plurality of groups of compressed slicing results comprise different numbers of slices; a third determining module, configured to determine a target compressed slicing result and multiple first terminals based on the multiple sets of compressed slicing results and data transmission carrying capacities corresponding to the multiple Beidou terminals, respectively, where a sliced data amount in the target compressed slicing result is correspondingly smaller than a data transmission carrying capacity of a first terminal in the multiple first terminals, where the first terminal is used for transmitting a corresponding slice; and the second transmission module is used for sending the slices in the target compressed slice result to the corresponding first terminals in the plurality of first terminals for transmission.
According to another aspect of the embodiment of the invention, a nonvolatile storage medium is provided, and the nonvolatile storage medium stores a plurality of instructions, and the instructions are suitable for being loaded by a processor and executing any one of the methods for picture transmission based on the beidou short message terminal.
According to another aspect of the embodiments of the present invention, there is provided an electronic device including: the image transmission method comprises the steps of one or more processors and a memory, wherein the memory is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors are enabled to realize any one of the image transmission methods based on the Beidou short message terminal.
In the embodiment of the invention, a Beidou terminal is adopted to transmit the picture, and the initial picture is obtained; determining a plurality of Beidou terminals for transmitting the initial picture and data transmission bearing capacity corresponding to the Beidou terminals respectively; slicing the initial picture to obtain a plurality of groups of slicing results, wherein the plurality of groups of slicing results respectively comprise at least one slice, and the plurality of groups of slicing results comprise different numbers of slices; determining a target slicing result and a plurality of target terminals based on the plurality of groups of slicing results and data transmission carrying capacity corresponding to the Beidou terminals respectively, wherein the data quantity of the slices in the target slicing result is smaller than or equal to the data transmission carrying capacity of the target terminals used for transmitting the corresponding slices in the target terminals; and sending the slices in the target slice result to corresponding target terminals in the plurality of target terminals for transmission. The purpose of improving the transmission efficiency of the picture under the condition that the normal transmission task of the Beidou terminal is not influenced is achieved, the utilization rate of the Beidou terminal is improved, the technical effect of improving the transmission efficiency is achieved, and the technical problems that the picture transmission efficiency is low through Beidou short messages and the utilization rate of the Beidou terminal is low in the correlation technology are solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a flowchart of an optional method for transmitting an image based on a beidou short message terminal according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of an optional method for transmitting an image based on a beidou short message terminal according to an embodiment of the present invention;
fig. 3 is a transmission schematic diagram of an optional method for transmitting pictures based on a beidou short message terminal according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an optional device for transmitting pictures based on the beidou short message terminal according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in other sequences than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For convenience of description, some terms or expressions referred to in the embodiments of the present application are explained below:
the Beidou short message realizes the unique data transmission function of data communication by depending on a Beidou satellite navigation system, and can realize bidirectional information transmission between a Beidou ground terminal-a Beidou satellite system-a Beidou ground monitoring master station.
At present, the maximum length of a single short message supported by the Beidou third satellite navigation system is 14000 bytes, the data in three formats of Chinese characters, codes and mixed codes are supported, and reliable data communication can be realized in emergency. However, the Beidou short message does not specify the transmission of the picture format data, and the picture size is generally far larger than the maximum length of 14000 bytes of a single short message, so that the transmission of the picture format data in a disaster scene cannot be realized through the Beidou short message technology.
The embodiment of the present invention provides an embodiment of a method for transmitting pictures based on a beidou short message terminal, and it should be noted that the steps shown in the flowchart of the drawings may be executed in a computer system such as a set of computer executable instructions, and although a logical sequence is shown in the flowchart, in some cases, the steps shown or described may be executed in a sequence different from that here.
Fig. 1 is a flowchart of a method for transmitting pictures based on a beidou short message terminal according to an embodiment of the present invention, and as shown in fig. 1, the method includes the following steps: it should be noted that the following steps S102 to S110 are performed when the subject is a picture taking apparatus.
Step S102, acquiring an initial picture.
It can be understood that the initial picture is a picture to be transmitted through a plurality of Beidou terminals.
And step S104, determining a plurality of Beidou terminals for transmitting the initial picture and data transmission bearing capacities corresponding to the Beidou terminals respectively.
The method includes the steps that a plurality of Beidou terminals used for transmitting initial pictures are determined, and data transmission bearing capacity corresponding to the Beidou terminals is obtained, wherein the data transmission bearing capacity is used for representing the cache capacity provided by the corresponding Beidou terminals for supporting the transmission of the initial pictures to be sent.
In an optional embodiment, the determining the data transmission carrying capacity corresponding to each of the plurality of beidou terminals includes: obtain the state feedback information of above-mentioned a plurality of big dipper terminals, wherein, above-mentioned state feedback information includes at least: the Beidou terminals respectively correspond to a transmission queue and a preset message data volume, and the latest sending time and the first sending time respectively correspond to a plurality of messages to be transmitted corresponding to the transmission queue; establishing a data frame to be inserted based on the transmission deadline corresponding to the initial picture and the preset message data volume corresponding to the Beidou terminals respectively, wherein the transmission deadline is the latest sending time allowed by the initial picture; respectively determining candidate insertion positions of the data frames to be inserted in the transmission queues corresponding to the Beidou terminals based on the transmission deadline and the latest sending time; after the data frame to be inserted is inserted into the candidate insertion positions corresponding to the Beidou terminals respectively, updating the first sending time corresponding to the Beidou terminals respectively to obtain second sending times corresponding to the messages to be transmitted respectively corresponding to the Beidou terminals respectively, wherein the second sending time is later than the first sending time; and determining the data transmission bearing capacity corresponding to the Beidou terminals respectively according to the second sending time.
The Beidou terminals have normal transmission tasks per se, and the initial pictures are preferentially transmitted before the normal transmission tasks under the condition of emergency demands, so that the normal transmission tasks corresponding to the Beidou terminals respectively are not influenced. The method comprises the steps of firstly obtaining state feedback information of a plurality of Beidou terminals, wherein the initial picture has certain requirements on timeliness, and the initial picture has transmission deadline time for limiting the allowed latest sending time. And establishing a data frame to be inserted based on the transmission deadline and the preset message data volume respectively corresponding to the Beidou terminal. In order to judge whether the data frame to be inserted influences the normal transmission tasks of the Beidou terminals. And respectively determining candidate insertion positions of the data frames to be inserted in the transmission queues corresponding to the Beidou terminals based on the transmission deadline time and the latest sending time. After the data frame to be inserted is inserted into the candidate insertion positions corresponding to the Beidou terminals respectively, the data frame to be inserted can be regarded as a queue insertion behavior, and the Beidou terminals have normal transmission tasks per se and can delay processing, so that the first sending time corresponding to the Beidou terminals respectively is updated, and the second sending time corresponding to the messages to be transmitted respectively corresponding to the Beidou terminals is obtained. And determining the data transmission bearing capacity corresponding to the Beidou terminals respectively according to the second sending time. Through the processing, the obtained data transmission bearing capacity not only represents the memory which can be provided by the corresponding Beidou terminal, but also embodies the suitability in time, and transmits the initial picture under the condition of not influencing the normal transmission tasks of the Beidou terminals, thereby being beneficial to improving the transmission efficiency and the utilization rate of the Beidou terminals.
In an optional embodiment, the determining, according to the second sending time, the data transmission carrying capacity corresponding to each of the beidou terminals includes: determining a first Beidou terminal of the plurality of Beidou terminals, wherein the second sending time is less than or equal to the latest sending time, and determining a second Beidou terminal of the plurality of Beidou terminals, wherein the second sending time is greater than the latest sending time; taking the preset message data volume corresponding to the first Beidou terminal as the data transmission carrying capacity corresponding to the first Beidou terminal, and taking the null value as the data transmission carrying capacity corresponding to the second Beidou terminal; based on the data transmission bearing capacity corresponding to the first Beidou terminal and the data transmission bearing capacity corresponding to the second Beidou terminal, the data transmission bearing capacity corresponding to the plurality of Beidou terminals is obtained.
It can be understood that under the circumstances that second send time is less than or equal to the latest send time in a plurality of big dipper terminals, regard as not influencing normal transmission task, to the first big dipper terminal that second send time is less than or equal to the latest send time in a plurality of big dipper terminals, the transmission of inserting the team can be carried out to the initial picture to the data transmission bearing capacity that first big dipper terminal can provide is the predetermined message data volume that corresponds. Under the condition that the second sending time is greater than the latest sending time in the Beidou terminals, the normal transmission task is considered to be influenced, and for the second Beidou terminals with the second sending time greater than the latest sending time in the Beidou terminals, the data transmission bearing capacity provided for the initial picture is null.
And step S106, performing slicing processing on the initial picture to obtain a plurality of groups of slicing results, wherein the plurality of groups of slicing results respectively comprise at least one slice, and the plurality of groups of slicing results comprise different numbers of slices.
It can be understood that, when the initial picture is sliced, the picture slicing mode may be various, and different slicing modes are adopted to obtain multiple sets of slicing results, where each set of slicing results includes different numbers of slices.
Optionally, the slicing process may be various, for example: the image can be sliced according to the specification of t x t, wherein t represents the number of slices, the slicing mode is the length-width equal ratio slicing, and the length and width of each slice are one t times of the original image.
It should be noted that, as the number of slices increases, the data amount corresponding to each slice decreases, and the data amount of each slice in the same set of slice results may be the same or different.
Step S108, determining a target slicing result and a plurality of target terminals based on the plurality of groups of slicing results and data transmission carrying capacity corresponding to the plurality of Beidou terminals respectively, wherein the data amount of the slices in the target slicing result is correspondingly less than or equal to the data transmission carrying capacity of the target terminals used for transmitting the corresponding slices in the plurality of target terminals.
It can be understood that, based on the multiple groups of slicing results and the data transmission carrying capacity corresponding to the multiple Beidou terminals respectively, the target slicing result is determined in the multiple groups of slicing results, the multiple target terminals used for transmitting the target slicing result are determined in the multiple Beidou terminals, and the sliced data capacity in the target slicing result is correspondingly less than or equal to the data transmission carrying capacity used for transmitting the corresponding sliced target terminals in the multiple target terminals.
In an optional embodiment, the determining a target slicing result and a plurality of target terminals based on the plurality of sets of slicing results and data transmission carrying capacities corresponding to the plurality of beidou terminals respectively includes: determining the target slicing result based on the plurality of groups of slicing results and the data transmission carrying capacity corresponding to the plurality of Beidou terminals respectively; and determining the plurality of target terminals in the plurality of Beidou terminals based on the data volume of the slices in the target slicing result.
It can be understood that the target slicing result is determined in the multi-group slicing results based on the multi-group slicing results and the data transmission bearing capacity corresponding to the plurality of Beidou terminals respectively. And determining the plurality of target terminals in the plurality of Beidou terminals by combining data transmission carrying capacity respectively corresponding to the plurality of Beidou terminals based on the sliced data volume in the target slicing result.
It should be noted that, in the case that each slice in a set of slice results exists in the plurality of sets of slice results, and the slice result that can be transmitted can be found in a plurality of data transmission carrying capacities, the slice result that exists in the set can be used as the target slice result.
In an optional embodiment, the determining, from the plurality of beidou terminals, a target terminal corresponding to the target slice result includes: determining a first slice with the largest data volume in the target slice result, the largest data transmission carrying capacity in the plurality of data transmission carrying capacities, and a first Beidou terminal corresponding to the largest data transmission carrying capacity in the plurality of Beidou terminals; taking the first Beidou terminal as the target terminal corresponding to the first slice; determining a difference between the maximum data transmission carrying capacity and the first data capacity corresponding to the first slice; updating the plurality of data transmission bearing capacities by using the difference values to obtain a plurality of updated data transmission bearing capacities; removing the first slice from the target slice result to obtain an updated target slice result; taking the updated plurality of data transmission carrying capacities as new plurality of data transmission carrying capacities, taking the updated target slicing result as a new target slicing result, and executing the following operations in a circulating manner until the target terminals corresponding to the slices included in the target slicing result are obtained: determining a new first slice with the largest data volume in the new target slice result, a new maximum data transmission carrying capacity in the new plurality of data transmission carrying capacities, and a new first Beidou terminal corresponding to the new maximum data transmission carrying capacity in the plurality of Beidou terminals; taking the new first Beidou terminal as the target terminal corresponding to the new first slice; determining a new difference between said new maximum data transmission bearer amount and said new data amount corresponding to said new first slice; updating the new plurality of data transmission carrying capacities by using the new difference values to obtain new updated plurality of data transmission carrying capacities; and removing the new first slice from the new target slice result to obtain a new updated target slice result.
It can be understood that the target slicing result may include different data amounts of slices, some slices have larger data amounts, and some slices have smaller data amounts, in order to determine the target terminal corresponding to each slice in the target slicing result. And selecting the first slice with the maximum data volume to correspond to the first terminal corresponding to the maximum data transmission carrying capacity. After the above maximum data transmission bearer amount is used for transmitting the first slice, there may be a remainder of the data transmission bearer, and there may be a case where a plurality of slices in the target slice result may be transmitted. And determining a difference value between the maximum data transmission bearing capacity and the first data capacity corresponding to the first slice, and updating the plurality of data transmission bearing capacities by adopting the difference value to obtain a plurality of updated data transmission bearing capacities. And removing the first slice from the target slice result to obtain an updated target slice result. And continuously matching the slices which are not matched with the target terminal until each slice in the target slice result corresponds to the target terminal.
In an optional embodiment, before the sending the slice in the target slice result to the corresponding beidou terminal of the plurality of target terminals for transmission, the method further includes: determining the number of Beidou short messages respectively occupied by the target slicing results under the condition that the target slicing results are multiple; taking the minimum Beidou short message occupied in the target slicing results as a first slicing result; and sending the slices in the first slice result to corresponding Beidou terminals in the plurality of target terminals for transmission.
It can be understood that a plurality of feasible target slicing results may exist in the plurality of groups of slicing results, the first slicing result which occupies the least amount of Beidou short messages in the plurality of target slicing results is used, and the slices in the first slicing result are sent to the corresponding Beidou terminals in the plurality of target terminals for transmission. Through the processing, the communication resource occupied by transmitting the initial picture is further optimized.
And step S110, sending the slice in the target slicing result to a corresponding target terminal of the plurality of target terminals for transmission.
It can be understood that the slice in the target slicing result is sent to a corresponding target terminal in the plurality of target terminals for transmission. It should be noted that there is a possibility that one or more slices in the target slice result are transmitted by the corresponding beidou terminal in the plurality of target terminals.
In an optional embodiment, in a case that a target slicing result and a plurality of target terminals cannot be determined based on the plurality of sets of slicing results and data transmission carrying capacities corresponding to the plurality of beidou terminals, respectively, the method further includes: compressing the initial picture to obtain a compressed picture; slicing the compressed picture to obtain a plurality of groups of compressed slicing results, wherein the plurality of groups of compressed slicing results respectively comprise at least one slice, and the plurality of groups of compressed slicing results comprise different numbers of slices; determining a target compression slicing result and a plurality of first terminals based on the plurality of groups of compression slicing results and data transmission carrying capacity corresponding to the plurality of Beidou terminals respectively, wherein the data quantity of slices in the target compression slicing result is correspondingly smaller than the data transmission carrying capacity of the first terminals used for transmitting the corresponding slices in the plurality of first terminals; and sending the slices in the target compressed slice result to corresponding first terminals in the plurality of first terminals for transmission.
It can be understood that, under the condition that the target slicing result and the plurality of target terminals cannot be determined based on the plurality of groups of slicing results and the data transmission carrying capacity respectively corresponding to the plurality of Beidou terminals, any one group of results in the plurality of groups of slicing results cannot be transmitted through at least one of the plurality of Beidou terminals. The pictures need to be compressed to obtain a plurality of groups of compressed slice results. And determining a target compression slicing result and a plurality of first terminals based on the plurality of groups of compression slicing results and the data transmission bearing capacity corresponding to the plurality of Beidou terminals respectively. And sending the slice in the target compressed slice result to a corresponding first terminal in a plurality of first terminals for transmission. Through the processing, the initial picture is compressed, and the time limitation requirement of the initial picture is prior to the definition requirement, so that the transmission of the compressed picture is completed in time under the condition of sacrificing the definition of the picture, and the transmission efficiency is improved.
It should be noted that, when the target compression slicing result and the plurality of first terminals cannot be determined based on the plurality of sets of compression slicing results and the data transmission carrying capacity corresponding to the plurality of beidou terminals, a preset compression ratio is adopted for multiple compression until pictures obtained after multiple compression can be transmitted through the target terminal.
Through the steps, the purpose of improving the transmission efficiency of the picture under the condition that the normal transmission task of the Beidou terminal is not influenced can be realized, the utilization rate of the Beidou terminal is improved, the technical effect of improving the transmission efficiency is achieved, and the technical problems that the picture transmission efficiency is low through Beidou short messages and the utilization rate of the Beidou terminal is low in the related technology are solved.
Based on the above embodiments and optional embodiments, the present invention provides an optional implementation manner, and fig. 2 is a schematic flow diagram of an optional picture transmission method based on a beidou short message terminal according to an embodiment of the present invention, as shown in fig. 2, in an application scenario where an emergency occurs, an initial picture is obtained through a picture taking device, transmission needs to be realized through the beidou terminal, communication is performed through a plurality of beidou terminals within the range of the picture taking device, and the initial picture is sent to a receiving end device. For ease of understanding, the following detailed description:
at 0 minute and 0 second, the picture shooting equipment shoots an initial picture, and judges that the initial picture needs to be transmitted through the Beidou terminal. The picture shooting equipment can establish communication with 4 Beidou terminals in the range, after the next sending time of the Beidou terminals is not 30 seconds, the maximum length of a single short message is 14000 bits, the sending interval is 30 seconds, and the data volume of the preset message is 14000 bits. A plurality of big dipper terminals have the normal transmission task of itself, under the condition that takes place urgent demand, insert the initial picture and carry out preferential transmission before the normal transmission task, in order not to influence the normal transmission task that a plurality of big dipper terminals correspond respectively, need judge the transmission ability that a plurality of big dipper terminals can provide.
The method comprises the steps of firstly obtaining state feedback information of a plurality of Beidou terminals, wherein the initial picture has certain requirements on timeliness, and the initial picture has transmission deadline time for limiting the allowed latest sending time. And establishing a data frame to be inserted based on the transmission deadline and the preset message data volume respectively corresponding to the Beidou terminal. In order to judge whether the data frame to be inserted influences the normal transmission tasks of the Beidou terminals. And respectively determining candidate insertion positions of the data frames to be inserted in the transmission queues corresponding to the Beidou terminals based on the transmission deadline and the latest sending time. After the data frame to be inserted is inserted into the candidate insertion positions corresponding to the Beidou terminals respectively, the data frame to be inserted can be regarded as a queue insertion behavior, and the Beidou terminals have normal transmission tasks per se and can delay processing, so that the first sending time corresponding to the Beidou terminals respectively is updated, and the second sending time corresponding to the messages to be transmitted respectively corresponding to the Beidou terminals is obtained. And determining the data transmission bearing capacity corresponding to the Beidou terminals respectively according to the second sending time. And regarding as not influencing the normal transmission task under the condition that the second sending time is less than or equal to the latest sending time in the plurality of Beidou terminals, for the first Beidou terminal with the second sending time less than or equal to the latest sending time in the plurality of Beidou terminals, the initial picture can be transmitted in queue, and the data transmission bearing capacity that the first Beidou terminal can provide is the corresponding preset message data capacity. Under the condition that the second sending time is greater than the latest sending time in the Beidou terminals, the normal transmission task is considered to be influenced, and for the second Beidou terminals with the second sending time greater than the latest sending time in the Beidou terminals, the data transmission bearing capacity provided for the initial picture is null.
After data transmission bearing capacity corresponding to the Beidou terminals is determined, the initial picture is sliced, the picture slicing modes can be various, multiple groups of slicing results are obtained by adopting different slicing modes, and the number of slices included in each group of slicing results is different. And determining a target slicing result in the multi-group slicing results and a plurality of target terminals for transmitting the target slicing result in the plurality of Beidou terminals based on the plurality of groups of slicing results and the data transmission carrying capacity corresponding to the plurality of Beidou terminals respectively, wherein the data capacity of the slices in the target slicing result is correspondingly less than or equal to the data transmission carrying capacity of the target terminals for transmitting the corresponding slices in the plurality of target terminals.
The data amount of the slices included in the target slice result may be different, some slices have larger data amount, some slices have smaller data amount, and in order to determine the target terminal corresponding to each slice in the target slice result. And selecting the first slice with the maximum data volume to correspond to the first terminal corresponding to the maximum data transmission carrying capacity. After the above maximum data transmission bearer amount is used for transmitting the first slice, there may be a remainder of the data transmission bearer, and there may be a case where a plurality of slices in the target slice result may be transmitted. And determining a difference value between the maximum data transmission bearing capacity and the first data capacity corresponding to the first slice, and updating the plurality of data transmission bearing capacities by adopting the difference value to obtain a plurality of updated data transmission bearing capacities. And removing the first slice from the target slice result to obtain an updated target slice result. And continuously matching the slices which are not matched with the target terminal until each slice in the target slice result corresponds to the target terminal.
In practical application, each of the multiple sets of slicing results of the initial picture cannot be transmitted through the beidou terminal, for example: the initial picture size is 2.79MB (megabyte), slicing is performed by adopting a plurality of slicing modes, the number of slices is set to be 1,2,3,4,5, and the corresponding slice specifications are 1 × 1,2 × 2,3 × 3,4 × 4, and 5 × 5, and the obtained multiple groups of slice results can not be transmitted within a specified time. The picture is compressed, the vertical and horizontal resolutions are all adjusted to original preset multiples, the size of the compressed picture is 394.57KB (kilobytes), the transmission cannot be completed within a specified time under the picture slicing mode, the picture is compressed again, the size of the picture after the recompression is 174.33KB, the transmission cannot be completed under the picture slicing mode, the picture after the three-time compression is 77.47KB, the transmission cannot be completed under the picture slicing mode, the picture after the four-time compression is 30.72KB, the transmission cannot be completed under the picture slicing mode, the picture after the five-time compression is 11.24KB, and the slicing mode capable of normal transmission exists. And slicing the five-time compressed pictures to obtain 1 × 1 slices which cannot be transmitted, wherein 2 × 2 slicing results can be transmitted, the slicing results occupying the Beidou short messages with the quantity of 8,3 × 3 can be transmitted, and the slicing results occupying the Beidou short messages with the quantity of 9,4 × 4 and the slicing results occupying the Beidou short messages with the quantity of 5 × 5 cannot be transmitted. Due to the slicing result of 2 × 2, the slicing result that the number of Beidou short messages is less than 3 × 3 can be transmitted and occupied, the slicing result of 2 × 2 is selected, and table 1 shows the slicing result.
TABLE 1
Section 1 | Section 2 | Section 3 | Section 4 |
2.54KB | 2.88KB | 3.12KB | 2.70KB |
Beidou terminal 3 | Beidou terminal 1 | Beidou terminal 4 | Beidou terminal 2 |
Fig. 3 is a transmission schematic diagram of an optional picture transmission method based on a beidou short message terminal according to an embodiment of the present invention, and as shown in fig. 3, one slice in a target slice result of an initial picture is transmitted, and sub-packet transmission is performed by using a beidou short message transmitted in a preset format. And splicing the pictures at the receiving terminal equipment to obtain the transmitted initial pictures.
The set messages may be various, for example: the 'text content' part in the message is modified, and 32 bytes are occupied for identifying the relevant information of picture transmission. The "picture identifier" occupies 14 bytes, which is a binary form of the initial picture identifier, and is a unique identifier of the initial picture. The last 18 bytes are used for splicing the initial picture at the receiving end device, and the "picture slice number" occupies 5 bytes, which indicates the total number of slices included in the target slice result. The "current slice sequence number" occupies 5 bytes, and represents the slice sequence number corresponding to the slice transmitted by the current short message. The 'number of short message sub-packets' occupies 4 bytes and indicates how many Beidou short messages are transmitted in total for the current picture slice, and the 'current packet serial number' occupies 4 bytes and indicates the sub-packet serial number of the transmission target slice result.
At least any one of the following effects is achieved by the above alternative embodiment: based on the Beidou short messages, the picture slicing type decentralized transmission is carried out, and the picture is sliced and dispersedly sent to a plurality of Beidou short message terminals for transmission, so that the transmission efficiency is improved, and the picture is transmitted in higher quality. And the transmission does not influence the normal task transmission of the Beidou terminal, so that the utilization rate of the Beidou terminal is improved. The Beidou short message data frame format is improved, and the picture slices and the picture sub-packets are numbered under the condition that the main body structure of the data frame is not changed and are used for splitting and splicing the pictures.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
The embodiment further provides a device for transmitting pictures based on the beidou short message terminal, and the device is used for implementing the above embodiments and preferred embodiments, and the description of the device is omitted. As used hereinafter, the terms "module" and "apparatus" may refer to a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware or a combination of software and hardware is also possible and contemplated.
According to an embodiment of the present invention, an embodiment of an apparatus for implementing a method for transmitting an image based on a beidou short message terminal is further provided, and fig. 4 is a schematic diagram of an apparatus for transmitting an image based on a beidou short message terminal according to an embodiment of the present invention, as shown in fig. 4, the apparatus for transmitting an image based on a beidou short message terminal includes: an acquisition module 402, a determination module 404, a first slicing module 406, a second determination module 408, a first transmission module 410, which will be described below.
An obtaining module 402, configured to obtain an initial picture;
a determining module 404, connected to the obtaining module 402, configured to determine a plurality of beidou terminals used for transmitting the initial picture and data transmission carrying capacities corresponding to the plurality of beidou terminals, respectively;
a first slicing module 406, connected to the determining module 404, configured to slice the initial picture to obtain multiple sets of slicing results, where the multiple sets of slicing results respectively include at least one slice, and the number of slices included in the multiple sets of slicing results is different;
a second determining module 408, connected to the first slicing module 406, configured to determine a target slicing result and a plurality of target terminals based on the plurality of sets of slicing results and data transmission carrying capacities corresponding to the plurality of beidou terminals, respectively, where a data amount of a slice in the target slicing result is correspondingly less than or equal to a data transmission carrying capacity of a target terminal used for transmitting a corresponding slice in the plurality of target terminals;
the first transmission module 410 is connected to the second determination module 408, and configured to send the slice in the target slice result to a corresponding target terminal among the multiple target terminals for transmission.
In the device for transmitting the picture based on the Beidou short message terminal, which is provided by the embodiment of the invention, the obtaining module 402 is used for obtaining an initial picture; a determining module 404, connected to the obtaining module 402, configured to determine a plurality of beidou terminals used for transmitting the initial picture and data transmission carrying capacities corresponding to the plurality of beidou terminals, respectively; a first slicing module 406, connected to the determining module 404, configured to slice the initial picture to obtain multiple sets of slicing results, where the multiple sets of slicing results respectively include at least one slice, and the number of slices included in the multiple sets of slicing results is different; a second determining module 408, connected to the first slicing module 406, configured to determine a target slicing result and a plurality of target terminals based on the plurality of sets of slicing results and data transmission carrying capacities corresponding to the plurality of beidou terminals, respectively, where a sliced data amount in the target slicing result is smaller than or equal to a data transmission carrying capacity of a target terminal used for transmitting a corresponding slice in the plurality of target terminals; the first transmission module 410 is connected to the second determination module 408, and configured to send the slice in the target slice result to a corresponding target terminal among the multiple target terminals for transmission. The purpose of improving the transmission efficiency of the picture under the condition that the normal transmission task of the Beidou terminal is not influenced is achieved, the utilization rate of the Beidou terminal is improved, the technical effect of improving the transmission efficiency is achieved, and the technical problems that the picture transmission efficiency is low through Beidou short messages and the utilization rate of the Beidou terminal is low in the correlation technology are solved.
As an optional embodiment, the device for transmitting an image based on a beidou short message terminal provided in the embodiment of the present invention further includes:
a compression module 412, configured to compress the initial picture to obtain a compressed picture;
a second slicing module 414, connected to the compressing module 412, configured to slice the compressed picture to obtain multiple groups of compressed slicing results, where the multiple groups of compressed slicing results respectively include at least one slice, and the multiple groups of compressed slicing results include different numbers of slices;
a third determining module 416, connected to the second slicing module 414, configured to determine a target compressed slicing result and a plurality of first terminals based on the plurality of sets of compressed slicing results and data transmission carrying capacities corresponding to the plurality of beidou terminals, respectively, where a sliced data amount in the target compressed slicing result is correspondingly smaller than a data transmission carrying capacity of a first terminal in the plurality of first terminals, which is used for transmitting the corresponding slice;
the second transmission module 418 is connected to the third determination module 416, and is configured to send the slice in the target compressed slice result to a corresponding first terminal among the plurality of first terminals for transmission.
It should be noted that the above modules may be implemented by software or hardware, for example, for the latter, the following may be implemented: the modules can be located in the same processor; alternatively, the modules may be located in different processors in any combination.
It should be noted here that the acquiring module 402, the determining module 404, the first slicing module 406, the second determining module 408, and the first transmitting module 410 correspond to steps S102 to S110 in the embodiment, and the modules are the same as the corresponding steps in the implementation example and application scenario, but are not limited to the disclosure in the embodiment. It should be noted that the modules described above may be implemented in a computer terminal as part of an apparatus.
It should be noted that, for alternative or preferred embodiments of the present embodiment, reference may be made to the relevant description in the embodiments, and details are not described herein again.
The device for transmitting pictures based on the beidou short message terminal may further include a processor and a memory, the obtaining module 402, the determining module 404, the first slicing module 406, the second determining module 408, the first transmitting module 410, and the like are all stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. One or more cores may be provided. The memory may include volatile memory in a computer readable medium, random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
The embodiment of the invention provides a nonvolatile storage medium, wherein a program is stored on the nonvolatile storage medium, and the program is used for realizing a method for transmitting pictures based on a Beidou short message terminal when being executed by a processor.
The embodiment of the invention provides electronic equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the processor executes the program and realizes the following steps: acquiring an initial picture; determining a plurality of Beidou terminals for transmitting the initial picture and data transmission bearing capacity corresponding to the Beidou terminals respectively; slicing the initial picture to obtain a plurality of groups of slicing results, wherein the plurality of groups of slicing results respectively comprise at least one slice, and the plurality of groups of slicing results comprise different numbers of slices; determining a target slicing result and a plurality of target terminals based on the plurality of groups of slicing results and data transmission carrying capacity corresponding to the plurality of Beidou terminals respectively, wherein the data amount of the slices in the target slicing result is correspondingly less than or equal to the data transmission carrying capacity of the target terminal used for transmitting the corresponding slices in the plurality of target terminals; and sending the slices in the target slicing result to corresponding target terminals in the plurality of target terminals for transmission. The device herein may be a server, a PC, etc.
The invention also provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: acquiring an initial picture; determining a plurality of Beidou terminals for transmitting the initial picture and data transmission bearing capacity corresponding to the Beidou terminals respectively; slicing the initial picture to obtain a plurality of groups of slicing results, wherein the plurality of groups of slicing results respectively comprise at least one slice, and the plurality of groups of slicing results comprise different numbers of slices; determining a target slicing result and a plurality of target terminals based on the plurality of groups of slicing results and data transmission carrying capacity corresponding to the plurality of Beidou terminals respectively, wherein the data amount of the slices in the target slicing result is correspondingly less than or equal to the data transmission carrying capacity of the target terminal used for transmitting the corresponding slices in the plurality of target terminals; and sending the slices in the target slicing result to corresponding target terminals in the plurality of target terminals for transmission.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static Random Access Memory (SRAM), dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), read Only Memory (ROM), electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other non-transmission medium, which can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of additional identical elements in the process, method, article, or apparatus comprising the element.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present invention, and are not intended to limit the present invention. Various modifications and alterations to this invention will become apparent to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.
Claims (10)
1. A method for transmitting pictures based on a Beidou short message terminal is characterized by comprising the following steps:
acquiring an initial picture;
determining a plurality of Beidou terminals for transmitting the initial picture and data transmission bearing capacity corresponding to the Beidou terminals respectively;
slicing the initial picture to obtain a plurality of groups of slicing results, wherein the plurality of groups of slicing results respectively comprise at least one slice, and the plurality of groups of slicing results comprise different numbers of slices;
determining a target slicing result and a plurality of target terminals based on the plurality of groups of slicing results and data transmission carrying capacity corresponding to the plurality of Beidou terminals respectively, wherein the data amount of slices in the target slicing result is correspondingly less than or equal to the data transmission carrying capacity of the target terminal used for transmitting the corresponding slices in the plurality of target terminals;
and sending the slices in the target slice result to corresponding target terminals in the plurality of target terminals for transmission.
2. The method of claim 1, wherein determining the data transmission carrying capacity corresponding to each of the Beidou terminals comprises:
acquiring state feedback information of the Beidou terminals, wherein the state feedback information at least comprises: the Beidou terminals respectively correspond to a transmission queue and a preset message data volume, and the latest sending time and the first sending time respectively correspond to a plurality of messages to be transmitted corresponding to the transmission queue;
establishing a data frame to be inserted based on the transmission cut-off time corresponding to the initial picture and the preset message data volume corresponding to the Beidou terminals respectively, wherein the transmission cut-off time is the latest sending time allowed by the initial picture;
respectively determining candidate insertion positions of the data frames to be inserted in the transmission queues corresponding to the Beidou terminals based on the transmission deadline time and the latest sending time;
after the data frame to be inserted is inserted into the candidate insertion positions corresponding to the Beidou terminals respectively, updating the first sending time corresponding to the Beidou terminals respectively to obtain second sending time corresponding to the messages to be transmitted respectively corresponding to the Beidou terminals respectively, wherein the second sending time is later than the first sending time;
and determining the data transmission bearing capacity corresponding to the Beidou terminals respectively according to the second sending time.
3. The method according to claim 2, wherein the determining the data transmission carrying capacity corresponding to each of the Beidou terminals according to the second sending time includes:
determining a first Beidou terminal of the plurality of Beidou terminals, of which the second sending time is less than or equal to the latest sending time, and determining a second Beidou terminal of the plurality of Beidou terminals, of which the second sending time is greater than the latest sending time;
taking the preset message data volume corresponding to the first Beidou terminal as the data transmission carrying capacity corresponding to the first Beidou terminal, and taking the null value as the data transmission carrying capacity corresponding to the second Beidou terminal;
and obtaining the data transmission bearing capacity corresponding to the plurality of Beidou terminals respectively based on the data transmission bearing capacity corresponding to the first Beidou terminal and the data transmission bearing capacity corresponding to the second Beidou terminal.
4. The method of claim 1, wherein in case that a target slicing result and a plurality of target terminals cannot be determined based on the plurality of sets of slicing results and data transmission carrying capacities corresponding to the plurality of Beidou terminals respectively, the method further comprises:
compressing the initial picture to obtain a compressed picture;
slicing the compressed picture to obtain a plurality of groups of compressed slicing results, wherein the plurality of groups of compressed slicing results respectively comprise at least one slice, and the plurality of groups of compressed slicing results comprise different numbers of slices;
determining a target compression slicing result and a plurality of first terminals based on the plurality of groups of compression slicing results and data transmission carrying capacity corresponding to the plurality of Beidou terminals respectively, wherein the data quantity of slices in the target compression slicing result is correspondingly smaller than the data transmission carrying capacity of the first terminals used for transmitting the corresponding slices in the plurality of first terminals;
and sending the slice in the target compressed slice result to a corresponding first terminal in the plurality of first terminals for transmission.
5. The method of claim 1, wherein the determining a target slicing result and a plurality of target terminals based on the plurality of sets of slicing results and data transmission carrying capacities corresponding to the plurality of Beidou terminals respectively comprises:
determining the target slicing result based on the plurality of groups of slicing results and the data transmission carrying capacity corresponding to the plurality of Beidou terminals respectively;
and determining the plurality of target terminals in the plurality of Beidou terminals based on the data volume of the slices in the target slicing result.
6. The method according to any one of claims 1 to 5, wherein before the sending the slice in the target slicing result to the corresponding Beidou terminal of the plurality of target terminals for transmission, the method further comprises:
determining the number of Beidou short messages respectively occupied by the target slicing results under the condition that the target slicing results are multiple;
taking the minimum Beidou short message occupied in the target slicing results as a first slicing result;
and sending the slices in the first slice result to corresponding Beidou terminals in the plurality of target terminals for transmission.
7. The utility model provides a device of picture transmission based on big dipper short message terminal goes on which characterized in that includes:
the acquisition module is used for acquiring an initial picture;
the determining module is used for determining a plurality of Beidou terminals used for transmitting the initial picture and data transmission bearing capacities corresponding to the Beidou terminals respectively;
the first slicing module is used for slicing the initial picture to obtain a plurality of groups of slicing results, wherein the plurality of groups of slicing results respectively comprise at least one slice, and the number of slices included in the plurality of groups of slicing results is different;
the second determining module is used for determining a target slicing result and a plurality of target terminals based on the plurality of groups of slicing results and data transmission carrying capacity corresponding to the plurality of Beidou terminals respectively, wherein the data quantity of slices in the target slicing result is correspondingly less than or equal to the data transmission carrying capacity of the target terminals used for transmitting the corresponding slices in the plurality of target terminals;
and the first transmission module is used for sending the slices in the target slice result to corresponding target terminals in the plurality of target terminals for transmission.
8. The apparatus of claim 7, further comprising:
the compression module is used for compressing the initial picture to obtain a compressed picture;
the second slicing module is used for slicing the compressed picture to obtain a plurality of groups of compressed slicing results, wherein the plurality of groups of compressed slicing results respectively comprise at least one slice, and the plurality of groups of compressed slicing results comprise different numbers of slices;
a third determining module, configured to determine a target compressed slicing result and multiple first terminals based on the multiple sets of compressed slicing results and data transmission carrying capacities corresponding to the multiple Beidou terminals, respectively, where a sliced data amount in the target compressed slicing result is correspondingly smaller than a data transmission carrying capacity of a first terminal in the multiple first terminals, where the first terminal is used for transmitting a corresponding slice;
and the second transmission module is used for sending the slices in the target compressed slice result to the corresponding first terminals in the plurality of first terminals for transmission.
9. A non-volatile storage medium, characterized in that the non-volatile storage medium stores a plurality of instructions, and the instructions are adapted to be loaded by a processor and execute the method for transmitting pictures based on the beidou short message terminal according to any one of claims 1 to 6.
10. An electronic device, comprising: one or more processors and memory for storing one or more programs, wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method for picture transmission based on beidou short message terminal of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211349505.XA CN115843002A (en) | 2022-10-31 | 2022-10-31 | Method and device for transmitting pictures based on Beidou short message terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211349505.XA CN115843002A (en) | 2022-10-31 | 2022-10-31 | Method and device for transmitting pictures based on Beidou short message terminal |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115843002A true CN115843002A (en) | 2023-03-24 |
Family
ID=85576744
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211349505.XA Pending CN115843002A (en) | 2022-10-31 | 2022-10-31 | Method and device for transmitting pictures based on Beidou short message terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115843002A (en) |
Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104394381A (en) * | 2014-12-08 | 2015-03-04 | 成都星联讯科技有限公司 | Beidou short message video monitoring and pre-alarming terminal and pre-alarming data transmission method |
CN106453160A (en) * | 2016-10-11 | 2017-02-22 | 福建星海通信科技有限公司 | Beidou data transmission method and system |
CN108183743A (en) * | 2017-12-28 | 2018-06-19 | 江苏星宇芯联电子科技有限公司 | The Beidou communication system for being used for transmission voice, picture based on soft compressed encoding |
CN110996274A (en) * | 2019-12-04 | 2020-04-10 | 北京天海达科技有限公司 | System and method for sending picture based on Beidou short message |
US20200373996A1 (en) * | 2019-05-21 | 2020-11-26 | The Institute of Oceanology, Chinese Academy of Sciences | System for real-time transmission of large-capacity of deep-sea subsurface mooring based on beidou satellite |
CN112152697A (en) * | 2020-07-29 | 2020-12-29 | 国家电网有限公司 | Power business data coding transmission method, system and storage medium |
CN212572546U (en) * | 2020-06-03 | 2021-02-19 | 泰斗微电子科技有限公司 | Power data transmission apparatus and power data transmission system |
CN113691305A (en) * | 2021-10-26 | 2021-11-23 | 武汉兴图新科电子股份有限公司 | Cloud-edge-end-based picture transmission method for Beidou third-number short message channel |
CN113747377A (en) * | 2020-05-29 | 2021-12-03 | 上海瀛联信息科技股份有限公司 | Big dipper command system of big data file is sent in coordination |
CN114499765A (en) * | 2022-04-14 | 2022-05-13 | 航天宏图信息技术股份有限公司 | Data transmission method and system based on Beidou short message |
CN114650501A (en) * | 2022-03-14 | 2022-06-21 | 泰斗微电子科技有限公司 | Beidou RDSS wireless resource dynamic allocation method, system, service terminal and storage medium |
CN115022253A (en) * | 2022-05-25 | 2022-09-06 | 西安北斗安全技术有限公司 | Image transmission method based on Beidou third-generation satellite short message and artificial intelligence |
-
2022
- 2022-10-31 CN CN202211349505.XA patent/CN115843002A/en active Pending
Patent Citations (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104394381A (en) * | 2014-12-08 | 2015-03-04 | 成都星联讯科技有限公司 | Beidou short message video monitoring and pre-alarming terminal and pre-alarming data transmission method |
CN106453160A (en) * | 2016-10-11 | 2017-02-22 | 福建星海通信科技有限公司 | Beidou data transmission method and system |
CN108183743A (en) * | 2017-12-28 | 2018-06-19 | 江苏星宇芯联电子科技有限公司 | The Beidou communication system for being used for transmission voice, picture based on soft compressed encoding |
US20200373996A1 (en) * | 2019-05-21 | 2020-11-26 | The Institute of Oceanology, Chinese Academy of Sciences | System for real-time transmission of large-capacity of deep-sea subsurface mooring based on beidou satellite |
CN110996274A (en) * | 2019-12-04 | 2020-04-10 | 北京天海达科技有限公司 | System and method for sending picture based on Beidou short message |
CN113747377A (en) * | 2020-05-29 | 2021-12-03 | 上海瀛联信息科技股份有限公司 | Big dipper command system of big data file is sent in coordination |
CN212572546U (en) * | 2020-06-03 | 2021-02-19 | 泰斗微电子科技有限公司 | Power data transmission apparatus and power data transmission system |
CN112152697A (en) * | 2020-07-29 | 2020-12-29 | 国家电网有限公司 | Power business data coding transmission method, system and storage medium |
CN113691305A (en) * | 2021-10-26 | 2021-11-23 | 武汉兴图新科电子股份有限公司 | Cloud-edge-end-based picture transmission method for Beidou third-number short message channel |
CN114650501A (en) * | 2022-03-14 | 2022-06-21 | 泰斗微电子科技有限公司 | Beidou RDSS wireless resource dynamic allocation method, system, service terminal and storage medium |
CN114499765A (en) * | 2022-04-14 | 2022-05-13 | 航天宏图信息技术股份有限公司 | Data transmission method and system based on Beidou short message |
CN115022253A (en) * | 2022-05-25 | 2022-09-06 | 西安北斗安全技术有限公司 | Image transmission method based on Beidou third-generation satellite short message and artificial intelligence |
Non-Patent Citations (1)
Title |
---|
刘飞;林琳;徐文江;: "基于北斗RDSS的监视数据传输技术研究", 信息技术, no. 01, 17 January 2020 (2020-01-17) * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110830964B (en) | Information scheduling method, internet of things platform and computer readable storage medium | |
CN112511580B (en) | Message pushing method, device, storage medium and equipment | |
CN105430534A (en) | Intelligent device reporting data method and system | |
CN108228625B (en) | Push message processing method and device | |
CN112333235A (en) | Multi-operator multi-network aggregated file transmission method and system and intelligent terminal | |
CN110831168A (en) | Communication method, system, internet of things platform and computer readable storage medium | |
CN112003976A (en) | Hard-coding and hard-decoding test method and device | |
CN113422808B (en) | Internet of things platform HTTP information pushing method, system, device and medium | |
CN109617708B (en) | Compression method, device and system for embedded point log | |
CN112711624B (en) | Data packaging control method and device, electronic equipment and storage medium | |
CN107329832B (en) | Data receiving method and device | |
CN115843002A (en) | Method and device for transmitting pictures based on Beidou short message terminal | |
CN115801102B (en) | Method, device and storage medium for downlink data | |
CN113114522B (en) | Flow monitoring device | |
CN113098978B (en) | Data transmission method, device and medium | |
CN112256658B (en) | Log record distribution method and device, storage medium and electronic device | |
CN112131267B (en) | Count processing method, device, server and count processing system | |
CN110266814B (en) | Transmission method and transmission device | |
CN111405313B (en) | Method and system for storing streaming media data | |
CN111064774B (en) | Distributed data storage method and device | |
CN113934552A (en) | Method and device for determining function code, storage medium and electronic device | |
CN110134547B (en) | Middleware-based repeated data deleting method and related device | |
CN113656091A (en) | Method for realizing independent broadcasting process, related device and equipment | |
CN117998061B (en) | Video remote screen-throwing device and video remote screen-throwing method | |
CN112911023B (en) | File transmission method, file transmission device and file transmission system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |