A 5G network-based vehicle-mounted electronic decoding system and method
By adopting parallel asynchronous processing methods in vehicle electronic devices, the received data is processed in parallel asynchronously, which solves the problem of bottlenecks in speed-up of on-board electronic decoding operations, and realizes the decoding of data files in a short time.
Patent Information
- Application Number
- CN202210537611.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-18
- Publication Date
- 2025-04-29
- Estimated Expiration
- 2042-05-18
AI Technical Summary
The existing on-board electronic decoding operations have bottlenecks in speed up, which cannot meet the ultra-high-time data decoding needs, resulting in poor data decoding performance and cannot adapt to the needs of on-board electronic devices equipped with 5G networks to interact with external terminals.
The on-board electronic decoding system based on 5G network is adopted to process the received data files asynchronously in parallel, split the data to be decoded to the decoding ports corresponding to different data types, and import and decode according to the set batch decoding number, obtain the decoding results asynchronously, and reduce the waiting process.
The speed of data decoding is accelerated, the waiting process is reduced, and the decoding of data files can be completed in a short time, solving the bottleneck problem of speeding up the on-board electronic decoding operation.
Smart Images

Figure CN115022648B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle-mounted electronic technology, and in particular to a 5G network-based vehicle-mounted electronic decoding system and method. Background Art
[0002] With the increasing popularity of cars and the continuous development of in-vehicle equipment, the interaction between cars and external terminals is becoming more and more frequent. Cars contain more and more in-vehicle electronic devices, which are controlled by embedded operating systems to perform multimedia interactions between electronic devices, navigation devices, rearview mirror devices, etc. and external terminals. People can make or answer calls on in-vehicle electronic devices, or watch movies and TV, play games, etc. on the in-vehicle screen, which brings great convenience to users and improves the user experience.
[0003] At present, in-vehicle electronic devices must interact with external devices through a local area network. With the increasing popularity of 5G networks, the problems of wireless signal interference and frequent network disconnection have been largely solved. With the application of 5G networks, in-vehicle electronic devices can obtain streaming media data from external terminals faster, and the problems of low-latency transmission and low-latency processing have been excellently solved. The delay rate of interactive transmission of streaming media data is getting lower and lower, and the performance of interactive transmission is getting better and better. This requires the decoding and processing speed of streaming media data by in-vehicle equipment to be faster and faster, and more information decoding and processing can be completed in the same time.
[0004] However, the current on-board electronic decoding operations have bottlenecks in speeding up and cannot meet the needs of ultra-high-efficiency data decoding. This results in poor data decoding performance of electronic equipment and is unable to adapt to the needs of on-board electronic equipment equipped with 5G networks to interact with external terminals. The application of on-board electronic equipment is limited. Summary of the invention
[0005] In order to solve the problem that the vehicle-mounted electronic decoding operation in the prior art has a bottleneck in speeding up and cannot meet the ultra-high timeliness data decoding requirements, the present invention provides a vehicle-mounted electronic decoding system and method based on a 5G network, which performs parallel asynchronous processing on the received data, distributes the received data according to a given expansion method, decodes the data in batches, obtains the decoding results asynchronously, speeds up the data decoding, and reduces the waiting process.
[0006] The present invention is implemented by the following technical solutions:
[0007] A 5G network-based vehicle-mounted electronic decoding system is applied to vehicle-mounted electronic equipment, wherein the vehicle-mounted electronic equipment includes a processor, and the processor includes a data receiving module, a decoding splitting module, a decoding matching module, an asynchronous decoding module, a decoding merging module, and an asynchronous query module;
[0008] The data receiving module is used to receive a data file to be decoded that is transmitted to the vehicle-mounted electronic device based on a 5G network;
[0009] The decoding and splitting module is used to add attribute parameters to the same data file to be decoded, and split it according to the data type in the file to obtain the split data set;
[0010] The decoding matching module is used to match the decoding port of the corresponding message type to the split data set;
[0011] The asynchronous decoding module is used to obtain the matching data to be decoded, and the data receiving module feeds back the asynchronous decoding identifier to the asynchronous query module, sets the number of batch decoding, decodes the imported data file to be decoded, and obtains the exported decoded data;
[0012] The decoding merging module is used to merge the exported decoded data according to the attribute parameters to obtain a merged decoded data file;
[0013] The asynchronous query module is used to query the decoding progress and decoding result of the asynchronous decoding module according to the asynchronous decoding identifier, and after the decoding is completed, download the corresponding decoding data file according to the asynchronous decoding identifier.
[0014] As a further solution of the present invention, the 5G network-based vehicle-mounted electronic decoding system further includes:
[0015] A decoding cache module, used to cache the progress of decoding data by the asynchronous decoding module in real time and continuously store the decoding results; and
[0016] The file download module is used to search for the corresponding decoding data file according to the imported asynchronous decoding identifier and download the result file.
[0017] Furthermore, the decoding cache module includes a cache and a database, the cache is used to continuously cache the decoding progress of the asynchronous decoding module on the same data file to be decoded at each decoding port, and cache it in the form of a decoding log; the database is used to continuously save the decoding data exported by each decoding port uploaded by the asynchronous decoding module.
[0018] Furthermore, the decoding merging module is used to merge the decoded data stored in the database according to the attribute parameters until all data sets of the same to-be-decoded data file are decoded to generate a decoded data file.
[0019] As a further solution of the present invention, the attribute parameters added by the decoding splitting module to the same data file to be decoded include file name, file address, data set number and data set bit rate.
[0020] Furthermore, the data receiving module is also used to set the number of batch decodings for each decoding port each time. When the set number of batch decodings is reached, a decoding import result is returned. After the decoding is completed, the next batch of data sets is imported in a loop until all data sets of the decoding port are imported and decoded; each returned decoding result is uploaded to the decoding cache module.
[0021] Furthermore, when the decoding of the data set imported into the decoding port fails, the reason for the failure is returned as the returned decoding result.
[0022] Furthermore, the decoding progress of the asynchronous decoding module is based on the proportion of the amount of data processed by each decoding port as the progress of the imported decoding, and after the decoding is completed, the decoding result data is obtained.
[0023] Furthermore, after decoding is completed, a corresponding decoded data file is downloaded according to the asynchronous decoding identifier, and the processor is further configured to display the decoded data file spliced according to preset attribute parameters on a display screen of the in-vehicle electronic device.
[0024] The present invention also includes a 5G network-based vehicle-mounted electronic decoding method, which is applied to the aforementioned 5G network-based vehicle-mounted electronic decoding system; the 5G network-based vehicle-mounted electronic decoding method includes:
[0025] Obtain the data file to be decoded transmitted by the network and feedback the asynchronous decoding flag;
[0026] Adding attribute parameters to the obtained same data file to be decoded, and splitting the data file according to the data type in the data file to be decoded to obtain a split data set;
[0027] Match the split data set to the decoding port of the corresponding message type, and import the data set cyclically according to the preset batch decoding quantity of each decoding port;
[0028] Decode the imported data file to be decoded to obtain the exported decoded data;
[0029] Merge the exported decoded data according to the attribute parameters to obtain a merged decoded data file;
[0030] The decoding progress and decoding result are queried through the asynchronous decoding identifier, and after the decoding is completed, the corresponding decoding data file is downloaded according to the asynchronous decoding identifier.
[0031] Furthermore, when the decoding of the data set imported into the decoding port fails, the reason for the failure is returned as the returned decoding result.
[0032] The present invention also includes an electronic device, including a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of the vehicle-mounted electronic decoding method based on the 5G network are implemented.
[0033] The present invention also includes a readable storage medium storing a computer program, which, when executed by a processor, implements the steps of a 5G network-based vehicle-mounted electronic decoding method.
[0034] The technical solution provided by the present invention has the following beneficial effects:
[0035] The present invention processes received data files in an asynchronous processing manner, and queries decoding progress and decoding results in the form of asynchronous decoding identifiers, thereby reducing waiting links; received data files can be synchronously processed in a parallel manner, and during processing, the same data file to be decoded is split into decoding ports corresponding to different data types, and is cyclically imported for decoding according to a set batch decoding quantity until all data sets are decoded, and the decoded data files spliced according to preset attribute parameters are displayed on the display screen of the on-board electronic device, or the corresponding decoded data files are downloaded according to the asynchronous decoding identifier, thereby speeding up data decoding, and adopting an asynchronous parallel processing manner to solve the bottleneck problem in speeding up the on-board electronic decoding operation, and the decoding of data files can be completed in a short time.
[0036] These and other aspects of the present invention will be more clearly understood in the following description of the embodiments. It should be understood that the above general description and the following detailed description are only exemplary and explanatory and cannot limit the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or related technologies, the following briefly introduces the drawings required for use in the exemplary embodiments or related technical descriptions. The drawings are used to provide a further understanding of the present invention and constitute a part of the specification. Together with the embodiments of the present invention, they are used to explain the present invention and do not constitute a limitation to the present invention. In the drawings:
[0038] Figure 1 This is a system block diagram of a 5G network-based vehicle-mounted electronic decoding system according to an embodiment of the present invention.
[0039] Figure 2 This is a schematic diagram of the workflow of a 5G network-based vehicle-mounted electronic decoding system according to an embodiment of the present invention.
[0040] Figure 3 This is a flow chart of a 5G network-based vehicle-mounted electronic decoding method according to an embodiment of the present invention.
[0041] Figure 4The present invention is a structural block diagram of an electronic device according to an embodiment of the present invention.
[0042] Figure 5 It is a structural diagram of a computer system suitable for implementing a 5G network-based vehicle-mounted electronic decoding method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0043] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0044] In some of the processes described in the specification and claims of the present invention and the above-mentioned figures, multiple operations that appear in a specific order are included, but it should be clearly understood that these operations may not be executed in the order in which they appear in this article or executed in parallel. The serial numbers of the operations, such as 101, 102, etc., are only used to distinguish different operations, and the serial numbers themselves do not represent any execution order. In addition, these processes may include more or fewer operations, and these operations may be executed in sequence or in parallel. It should be noted that the descriptions of "first", "second", etc. in this article are used to distinguish different messages, devices, modules, etc., do not represent the order of precedence, and do not limit the "first" and "second" to be different types.
[0045] The present invention provides a vehicle-mounted electronic decoding system and method based on a 5G network, which is applied to vehicle-mounted electronic equipment. The vehicle-mounted electronic equipment includes a processor 1001, and the processor 1001 performs multimedia interaction and other operations with an external terminal based on a 5G network. In this embodiment, the processor 1001 is installed in the vehicle-mounted electronic equipment, receives the data file sent by the external terminal, and synchronously processes the file received based on the 5G network in a parallel processing manner. The distributed operation mode does not require the large amount of received data to be processed one by one. Secondly, during processing, the same data file to be decoded is split into decoding ports corresponding to different data types, and the decoding is cyclically imported according to the set batch decoding number until all data sets are decoded, and the decoded data file spliced according to the preset attribute parameters is displayed on the display screen of the vehicle-mounted electronic equipment, or the corresponding decoded data file is downloaded according to the asynchronous decoding identifier to speed up the data decoding.
[0046] The following will be combined with the drawings in the exemplary embodiments of the present invention to clearly and completely describe the technical solutions in the exemplary embodiments of the present invention. Obviously, the exemplary embodiments described are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0047] Figure 1 FIG. 1 is a flow chart of a 5G network vehicle-mounted electronic decoding system according to an embodiment of the present invention. Figure 1 As shown, an embodiment of the present invention provides a 5G network-based vehicle-mounted electronic decoding system, which is applied to a vehicle-mounted electronic device, and the vehicle-mounted electronic device includes a processor 1001. Figure 1 As shown, the processor 1001 includes a data receiving module 12, a decoding splitting module 13, a decoding matching module 14, an asynchronous decoding module 15, a decoding merging module 16 and an asynchronous query module 11.
[0048] In this embodiment, the data receiving module 12 is used to receive the data files to be decoded transmitted to the vehicle-mounted electronic device based on the 5G network. The data receiving module 12 is connected to at least one external terminal through the 5G network, can synchronously receive data files sent by at least one external terminal, and can receive data files to be decoded in batches.
[0049] The decoding and splitting module 13 is used to add attribute parameters to the same data file to be decoded, and split it according to the data type in the file to obtain the split data set. In this embodiment, the decoding and splitting module 13 is used to add attribute parameters to a large number of received data files to be decoded, and add the same attributes to the same data file to be decoded, wherein the added attribute parameters include file name, file address, data set number and data set bit rate. Then, the data file to be decoded is split into multiple data sets according to the added attribute parameters.
[0050] The decoding matching module 14 is used to match the split data set with the decoding port of the corresponding message type; the split data set may include splitting and classifying at least one data file to be decoded, or allocating the split data set of batches of data files to be decoded to the corresponding decoding port according to the corresponding message type.
[0051] The asynchronous decoding module 15 is used to obtain the matching data to be decoded, and the data receiving module 12 feeds back the asynchronous decoding identifier to the asynchronous query module 11. In this embodiment, after obtaining the asynchronous decoding identifier, there is no need to wait for the decoding operation to be completed, and the decoded data can be regularly queried through the asynchronous decoding identifier; the number of batch decoding is set, the imported data file to be decoded is decoded, and the exported decoded data is obtained. In this embodiment, the data receiving module 12 is also used to set the number of batch decodings per decoding port each time. When the number of batch decodings per time is reached, a decoding import result is returned once. After the decoding is completed, the next batch of data sets is imported in a loop until all data sets of the decoding port are imported and decoded; each returned decoding result is uploaded to the decoding cache module 17. When the decoding of the data set imported into the decoding port fails, the failure reason is returned as the returned decoding result.
[0052] In this embodiment, the decoding progress of the asynchronous decoding module 15 is based on the ratio of the amount of data processed by each decoding port as the progress of the imported decoding. After the decoding is completed, the decoding result data is obtained.
[0053] The decoding merging module 16 is used to merge the exported decoded data according to the attribute parameters to obtain a merged decoded data file; the decoding merging module 16 is used to merge the decoded data stored in the database 172 according to the attribute parameters until all data sets of the same data file to be decoded are fully decoded to generate a decoded data file.
[0054] The asynchronous query module 11 is used to query the decoding progress and decoding result of the asynchronous decoding module 15 according to the asynchronous decoding identifier, and after the decoding is completed, download the corresponding decoding data file according to the asynchronous decoding identifier.
[0055] In this embodiment, the 5G network-based vehicle-mounted electronic decoding system also includes a decoding cache module 17 and a file download module 18. The decoding cache module 17 is used to cache the progress of decoding data of the asynchronous decoding module 15 in real time and continuously store the decoding results; the file download module 18 is used to search for the corresponding decoding data file according to the imported asynchronous decoding identifier and download the result file.
[0056] The decoding cache module 17 includes a cache 171 and a database 172. The cache 171 is used to continuously cache the decoding progress of the asynchronous decoding module 15 on the same data file to be decoded at each decoding port, and cache it in the form of a decoding log; the database 172 is used to continuously save the decoding data exported by each decoding port uploaded by the asynchronous decoding module 15.
[0057] After decoding is completed, the corresponding decoded data file is downloaded according to the asynchronous decoding identifier, and the processor 1001 is further used to display the decoded data file spliced according to preset attribute parameters on the display screen of the vehicle-mounted electronic device.
[0058] See also Figure 2 As shown, the operation process of the 5G network-based vehicle-mounted electronic decoding system in this embodiment is as follows:
[0059] 1. The data receiving module 12 imports the data file sent by the external terminal and sends it to the decoding and splitting module 13;
[0060] 2. The decoding and splitting module 13 adds attribute parameters to the same data file to be decoded, splits it according to the data type in the file, obtains the split data set, and sends the split data set to the decoding and matching module 14;
[0061] 3. The decoding matching module 14 matches the decoding port of the corresponding message type according to the imported split data set, matches the file name, file address, data set number and data set bit rate of the attribute parameters added to the reference data file to be decoded, and queries the corresponding decoding port according to the data set bit rate;
[0062] 4. After the asynchronous decoding module 15 receives the decoding port matching result, it feeds back the asynchronous decoding identifier to the asynchronous query module 11 through the data receiving module 12. The asynchronous decoding identifier is used as a mark to query the decoding progress or result. It is not necessary to wait for the decoding operation to be completed. The corresponding file decoding status can be queried through the asynchronous decoding identifier when needed;
[0063] 5. The asynchronous decoding module 15 sets the number of batch parsing for each decoding port. When the number of batch decoding for each time is reached, a decoding import result is returned. After the decoding is completed, the next batch of data sets is imported in a loop until all data sets of the decoding port are imported and decoded. The decoding result returned each time is uploaded to the decoding cache module 17. The decoding progress of the same data file to be decoded at each decoding port by the asynchronous decoding module 15 is continuously cached to the buffer 171 of the decoding cache module 17.
[0064] 6. Continuously save the decoded data exported by each decoding port uploaded by the asynchronous decoding module 15 to the database 172 of the decoding cache module 17;
[0065] 7. The decoded data derived from decoding are merged according to the attribute parameters to obtain a merged decoded data file;
[0066] 8. Query the decoding progress of the to-be-decoded data file cached by the decoding cache module 17 at each decoding port according to the asynchronous decoding flag;
[0067] 9. When the decoding is completed, the decoding and merging module 16 can obtain the download address of the decoding result file through the asynchronous decoding mark query and download the corresponding decoding data file once the merging and decoding data files are completed.
[0068] The 5G network-based vehicle-mounted electronic decoding system of the embodiment of the present invention processes the received data files by asynchronous processing, and queries the decoding progress and decoding results by asynchronous decoding identification, thereby reducing the waiting link; the received data files can be synchronously processed in parallel. During processing, the same data file to be decoded is split into decoding ports corresponding to different data types, and the decoding is cyclically imported according to the set batch decoding quantity until all data sets are decoded, and the decoded data files spliced according to preset attribute parameters are displayed on the display screen of the vehicle-mounted electronic device, or the corresponding decoded data files are downloaded according to the asynchronous decoding identification, thereby speeding up the data decoding speed. The asynchronous parallel processing method is used to solve the bottleneck problem in speeding up the vehicle-mounted electronic decoding operation, and the decoding of data files can be completed in a short time.
[0069] See also Figure 3 As shown, in one embodiment of the present invention, a 5G network-based vehicle-mounted electronic decoding method is provided, and the method is applied to the aforementioned 5G network-based vehicle-mounted electronic decoding system, and the method includes the following steps:
[0070] S1. Obtain a data file to be decoded transmitted from the network and feed back an asynchronous decoding flag.
[0071] In this embodiment, data files sent by at least one external terminal can be received synchronously, and data files to be decoded can be received in batches. Before the parsing operation, an asynchronous decoding identifier is fed back to the sender of the data file to be decoded. The asynchronous decoding identifier serves as a mark for querying the decoding progress and results. The decoding status of the corresponding data file can be found by carrying this asynchronous decoding identifier, thereby reducing the waiting process.
[0072] S2. Add attribute parameters to the obtained same data file to be decoded, and split the data file to be decoded according to the data type in the data file to obtain a split data set.
[0073] The data file to be decoded is parsed according to the file name, file address, data set number and data set bit rate of the attribute parameters. After adding the above attribute parameters, after the data file to be decoded is split, the attribute parameters are used to query the split data sets of the same data file to be decoded.
[0074] S3. Match the split data set to the decoding port of the corresponding message type, and import the data set cyclically according to the preset batch decoding quantity of each decoding port.
[0075] In this embodiment, the data set bit rate is used as a parameter of the corresponding message type to match the corresponding decoding port for the split data set, and the data set is imported cyclically according to the preset batch decoding quantity of each decoding port, and the batch decoding quantity of each decoding port is set.
[0076] S4. Decode the imported data file to be decoded to obtain exported decoded data.
[0077] In this embodiment, when the number of batch decodings per decoding port reaches the set number of batch decodings per time, a decoding import result is returned. After the decoding is completed, the next batch of data sets is imported in a loop until all data sets of the decoding port are imported and decoded; the decoding result returned each time is uploaded; when the decoding of the data set imported into the decoding port fails, the reason for the failure is returned as the returned decoding result.
[0078] S5. Merge the exported decoded data according to the attribute parameters to obtain a merged decoded data file.
[0079] In this embodiment, the exported decoded data are merged according to the attribute parameters to obtain a merged decoded data file.
[0080] S6. Query the decoding progress and decoding result through the asynchronous decoding identifier, and after the decoding is completed, download the corresponding decoding data file according to the asynchronous decoding identifier.
[0081] In this embodiment, the decoded data files spliced according to the preset attribute parameters may also be displayed on the display screen of the vehicle-mounted electronic device.
[0082] like Figure 4 As shown, in an embodiment of the present invention, an electronic device 1200 is provided, the electronic device 1200 includes a memory 1100 and a processor 1001, the memory 1100 stores a computer program, and the processor 1001 is configured to execute the computer program stored in the memory 1100. The memory 1100 is used to store one or more computer instructions, wherein the one or more computer instructions are executed by the processor 1001 to implement the steps in the above method embodiment:
[0083] Obtain the data file to be decoded transmitted by the network and feedback the asynchronous decoding flag;
[0084] Adding attribute parameters to the obtained same data file to be decoded, and splitting the data file according to the data type in the data file to be decoded to obtain a split data set;
[0085] Match the split data set to the decoding port of the corresponding message type, and import the data set cyclically according to the preset batch decoding quantity of each decoding port;
[0086] Decode the imported data file to be decoded to obtain the exported decoded data;
[0087] Merge the exported decoded data according to the attribute parameters to obtain a merged decoded data file;
[0088] The decoding progress and decoding result are queried through the asynchronous decoding identifier, and after the decoding is completed, the corresponding decoding data file is downloaded according to the asynchronous decoding identifier.
[0089] Figure 5 Schematic diagram of the structure of a computer system suitable for implementing a 5G network vehicle-mounted electronic decoding method according to an embodiment of the present invention. Figure 5 As shown, the computer system 1000 includes a processor (CPU, GPU, FPGA, etc.) 1001, which can perform part or all of the processing in the embodiments shown in the above figures according to the program stored in the read-only memory (ROM) 1002 or the program loaded from the storage part 1008 to the random access memory (RAM) 1003. In the RAM 1003, various programs and data required for the operation of the system 1000 are also stored. The processor 1001, ROM 1002 and RAM 1003 are connected to each other through a bus 1004. An input / output (I / O) interface 1005 is also connected to the bus 1004.
[0090] The following components are connected to the I / O interface 1005: an input section 1006 including a keyboard, a mouse, etc.; an output section 1007 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1008 including a hard disk, etc.; and a communication section 1009 including a network interface card such as a LAN card, a modem, etc. The communication section 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the I / O interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1010 as needed, so that a computer program read therefrom is installed into the storage section 1008 as needed.
[0091] In particular, according to an embodiment of the present invention, the method described above with reference to the accompanying drawings can be implemented as a computer software program. For example, an embodiment of the present invention includes a computer program product, which includes a computer program tangibly contained on a readable medium thereof, and the computer program includes program code for executing the method in the accompanying drawings. In such an embodiment, the computer program can be downloaded and installed from a network through the communication part 1009, and / or installed from the removable medium 1011.
[0092] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present invention. In this regard, each box in the road map or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0093] In an embodiment of the present invention, a readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above method embodiments are implemented:
[0094] Obtain the data file to be decoded transmitted by the network and feedback the asynchronous decoding flag;
[0095] Adding attribute parameters to the obtained same data file to be decoded, and splitting the data file according to the data type in the data file to be decoded to obtain a split data set;
[0096] Match the split data set to the decoding port of the corresponding message type, and import the data set cyclically according to the preset batch decoding quantity of each decoding port;
[0097] Decode the imported data file to be decoded to obtain the exported decoded data;
[0098] Merge the exported decoded data according to the attribute parameters to obtain a merged decoded data file;
[0099] The decoding progress and decoding result are queried through the asynchronous decoding identifier, and after the decoding is completed, the corresponding decoding data file is downloaded according to the asynchronous decoding identifier.
[0100] A person skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media used in the embodiments provided in this application can include at least one of non-volatile and volatile memory.
[0101] In summary, the present invention processes the received data files in an asynchronous processing manner, and queries the decoding progress and decoding results in the form of asynchronous decoding identifiers, thereby reducing the waiting process; the received data files can be synchronously processed in a parallel manner. During processing, the same data file to be decoded is split into decoding ports corresponding to different data types, and the decoding is cyclically imported according to the set batch decoding quantity until all data sets are decoded, and the decoded data files spliced according to preset attribute parameters are displayed on the display screen of the on-board electronic device, or the corresponding decoded data files are downloaded according to the asynchronous decoding identifier, thereby speeding up the data decoding speed. The asynchronous parallel processing method is used to solve the bottleneck problem in speeding up the on-board electronic decoding operation, and the decoding of data files can be completed in a short time.
[0102] It should be noted that the technical features in the above-mentioned embodiments can be combined arbitrarily, and the combined technical solutions all belong to the protection scope of the present application. In this article, terms such as "including", "comprising" or any other variants thereof are intended to cover non-exclusive inclusion, so that the process, method, article or equipment including a series of elements not only includes those elements, but also includes other elements not clearly listed, or also includes elements inherent to such process, method, article or equipment. In the absence of more restrictions, the elements limited by the sentence "including one..." do not exclude the presence of other identical elements in the process, method, article or equipment including the elements.
[0103] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A 5G network-based vehicle-mounted electronic decoding system, characterized in that: Applied to an in-vehicle electronic device, the in-vehicle electronic device comprises a processor, the processor comprises a data receiving module, a decoding splitting module, a decoding matching module, an asynchronous decoding module, a decoding merging module and an asynchronous query module; The data receiving module is used to receive a data file to be decoded that is transmitted to the vehicle-mounted electronic device based on a 5G network; The decoding and splitting module is used to add attribute parameters to the same data file to be decoded, and split it according to the data type in the file to obtain the split data set; The decoding matching module is used to match the decoding port of the corresponding message type to the split data set; The asynchronous decoding module is used to obtain the matching data to be decoded, and the data receiving module feeds back the asynchronous decoding identifier to the asynchronous query module, sets the number of batch decoding, decodes the imported data file to be decoded, and obtains the exported decoded data; The decoding merging module is used to merge the exported decoded data according to the attribute parameters to obtain a merged decoded data file; The asynchronous query module is used to query the decoding progress and decoding result of the asynchronous decoding module according to the asynchronous decoding identifier, and after the decoding is completed, download the corresponding decoding data file according to the asynchronous decoding identifier.
2. The 5G network-based vehicle-mounted electronic decoding system according to claim 1, characterized in that: The 5G network-based vehicle-mounted electronic decoding system also includes: A decoding cache module, used to cache the progress of decoding data by the asynchronous decoding module in real time and continuously store the decoding results; and The file download module is used to search for the corresponding decoding data file according to the imported asynchronous decoding identifier and download the result file.
3. The 5G network-based vehicle-mounted electronic decoding system as claimed in claim 2, characterized in that: The decoding cache module includes a cache and a database. The cache is used to continuously cache the decoding progress of the asynchronous decoding module on the same data file to be decoded at each decoding port, and cache it in the form of a decoding log; the database is used to continuously save the decoding data exported by each decoding port uploaded by the asynchronous decoding module.
4. The 5G network-based vehicle-mounted electronic decoding system as claimed in claim 3, characterized in that: The decoding merging module is used to merge the decoded data stored in the database according to the attribute parameters until all data sets of the same to-be-decoded data file are decoded and a decoded data file is generated.
5. The 5G network-based vehicle-mounted electronic decoding system as claimed in claim 4, characterized in that: The attribute parameters added by the decoding splitting module to the same data file to be decoded include file name, file address, data set number and data set bit rate.
6. The 5G network-based vehicle-mounted electronic decoding system as claimed in claim 5, characterized in that: The data receiving module is also used to set the number of batch decodings for each decoding port each time. When the set number of batch decodings is reached, a decoding import result is returned. After the decoding is completed, the next batch of data sets is imported in a loop until all data sets of the decoding port are imported and decoded; each returned decoding result is uploaded to the decoding cache module.
7. The 5G network-based vehicle-mounted electronic decoding system according to claim 1, characterized in that: The decoding progress of the asynchronous decoding module is based on the proportion of the amount of data processed by each decoding port as the progress of the imported decoding. After the decoding is completed, the decoding result data is obtained.
8. The 5G network-based vehicle-mounted electronic decoding system according to claim 1, characterized in that: After the decoding is completed, the corresponding decoding data file is downloaded according to the asynchronous decoding identifier, and the processor is further used to display the decoding data file spliced according to the preset attribute parameters on the display screen of the vehicle-mounted electronic device.
9. A 5G network-based vehicle electronic decoding method, characterized in that: The 5G network-based vehicle-mounted electronic decoding method is applied to the 5G network-based vehicle-mounted electronic decoding system according to any one of claims 1 to 7; the method comprises: Obtain the data file to be decoded transmitted by the network and feedback the asynchronous decoding flag; Adding attribute parameters to the obtained same data file to be decoded, and splitting the data file according to the data type in the data file to be decoded to obtain a split data set; Match the split data set to the decoding port of the corresponding message type, and import the data set cyclically according to the preset batch decoding quantity of each decoding port; Decode the imported data file to be decoded to obtain the exported decoded data; Merge the exported decoded data according to the attribute parameters to obtain a merged decoded data file; The decoding progress and decoding result are queried through the asynchronous decoding identifier, and after the decoding is completed, the corresponding decoding data file is downloaded according to the asynchronous decoding identifier.
10. The 5G network-based vehicle-mounted electronic decoding method according to claim 9, characterized in that: When the decoding of the dataset imported into the decoding port fails, the failure reason is returned as the returned decoding result.
Citation Information
Patent Citations
Partitioned information transmission-based intelligent high-speed railway video monitoring method and system
CN102186052A
High-real-time parallel video encoding and decoding method and system and storage medium
CN111757109A