Terminal information transmission method and device, storage medium and terminal

By determining the cache space type based on the granularity of the data to be transmitted, and selecting system-level memory or off-chip memory for data transmission, the problem of bandwidth and power consumption in terminal information transmission is solved, and low latency and efficient data transmission are achieved.

CN114691392BActive Publication Date: 2024-09-03GUANGDONG OPPO MOBILE TELECOMMUNICATIONS CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210314985.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-28
Publication Date
2024-09-03
Estimated Expiration
2042-03-28

AI Technical Summary

Technical Problem

Existing terminal information transmission solutions have bandwidth and power consumption issues when considering delay factors. Especially in terminal game scenarios, long data transmission delays and high bandwidth lead to increased power consumption.

Method used

By obtaining the granularity of the data to be transmitted, the target cache space is determined to be the system-level memory or off-chip memory in the system-on-chip SoC, and the data is transmitted according to the type, and the appropriate cache space is selected for data with different granularities to reduce bandwidth. and power consumption.

Benefits of technology

It effectively reduces the bandwidth and power consumption of data transmission, improves the economy and practicality of data transmission, reduces game screen freezes, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114691392B
    Figure CN114691392B
Patent Text Reader

Abstract

The present disclosure provides a terminal information transmission method, a terminal information transmission device, a computer-readable storage medium and a terminal, and relates to the field of game control technology. The method comprises: obtaining the granularity of the data to be transmitted; determining the target cache space according to the granularity, the target cache space comprising a system-level memory or an off-chip memory in a system-on-chip SoC; and performing data transmission based on the target cache space. The technical solution can effectively reduce the bandwidth and the power consumption caused by the bandwidth problem.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of terminal technology, and in particular to an information transmission method for a terminal, an information transmission device for a terminal, a computer-readable storage medium, and a terminal. Background Art

[0002] The data processing process of the terminal is accompanied by data transmission, for example, in the terminal game scene, the data transmission between the graphics processing unit and the display screen, the data transmission between the video decoder and the display screen, etc. In the related art, the data transmission process is generally implemented based on memory.

[0003] However, the data processing process, such as terminal game scenarios, needs to consider the delay factor. When considering the delay factor, the information transmission solution of the terminal provided by the related technology has bandwidth and power consumption problems.

[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention

[0005] The purpose of the present disclosure is to provide an information transmission method for a terminal, an information transmission device for a terminal, a computer-readable storage medium and a terminal, which can reduce the bandwidth and the high power consumption caused by the bandwidth problem at least to a certain extent while ensuring low latency.

[0006] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.

[0007] According to one aspect of the present disclosure, a method for information transmission of a terminal is provided, the method comprising: obtaining the granularity of data to be transmitted; determining a target cache space according to the granularity, the target cache space comprising a system-level memory or an off-chip memory in a system-on-chip SoC; and performing the data transmission based on the target cache space.

[0008] According to another aspect of the present disclosure, a terminal information transmission device is provided, the device comprising: a granularity acquisition module, a type determination module, and a data transmission module.

[0009] Among them, the above-mentioned granularity acquisition module is used to obtain the granularity of the data to be transmitted; the above-mentioned type determination module is used to determine the target cache space according to the granularity, and the target cache space includes the system-level memory or off-chip memory in the system on chip SoC; and the above-mentioned data transmission module is used to perform the data transmission based on the target cache space.

[0010] According to another aspect of the present disclosure, a terminal is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the information transmission method of the terminal in the above embodiment when executing the computer program.

[0011] According to another aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored, characterized in that when the computer program is executed by a processor, the terminal information transmission method in the above embodiment is implemented.

[0012] The terminal information transmission method, terminal information transmission device, computer-readable storage medium and terminal provided by the embodiments of the present disclosure have the following technical effects:

[0013] Before data transmission, this technical solution first determines the type of cache space according to the granularity of the data to be transmitted, including the system-level memory or off-chip memory in the system on chip (SoC), and then performs data transmission according to the determined type of cache space. Thus, different types of cache spaces are determined for data to be transmitted with different granularities, which can effectively reduce the bandwidth of data transmission and reduce power consumption, and can also consider economic efficiency to improve practicality.

[0014] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.

[0016] Figure 1 A data processing link for implementing terminal games with low latency in an exemplary embodiment of the present disclosure is shown.

[0017] Figure 2 A data processing link for implementing terminal games with low latency in another exemplary embodiment of the present disclosure is shown.

[0018] Figure 3 A data processing link for implementing a terminal game with low latency in yet another exemplary embodiment of the present disclosure is shown.

[0019] Figure 4 A schematic diagram of a flow chart of an information transmission method of a terminal according to an exemplary embodiment of the present disclosure is shown.

[0020] Figure 5 A schematic flow chart of an information transmission method of a terminal according to another exemplary embodiment of the present disclosure is shown.

[0021] Figure 6 A graph showing the relationship between bandwidth and power consumption in an exemplary embodiment of the present disclosure is shown.

[0022] Figure 7a , Figure 7b Schematic diagrams of information transmission methods between terminals of a network processor and a video decoder in an artificial intelligence super-resolution scenario are respectively shown.

[0023] Figure 8a , Figure 8b Schematic diagrams of information transmission methods of terminals inside the display screen in the standby scenario of the mobile phone are respectively shown.

[0024] Figure 9a , Figure 9b Schematic diagrams of information transmission methods of internal terminals of network processors in artificial intelligence scenarios are respectively shown.

[0025] Fig.10 A schematic diagram of the structure of an information transmission device of a terminal to which an embodiment of the present disclosure can be applied is shown.

[0026] Fig.11 The schematic diagram shows the structure of an information transmission device of a terminal according to another embodiment of the present disclosure.

[0027] Fig.12 A schematic diagram of the structure of a computer system suitable for implementing an electronic device of an embodiment of the present disclosure is shown. DETAILED DESCRIPTION

[0028] In order to make the objectives, technical solutions and advantages of the present disclosure more clear, the embodiments of the present disclosure will be further described in detail below with reference to the accompanying drawings.

[0029] When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present disclosure. Instead, they are only examples of devices and methods consistent with some aspects of the present disclosure as detailed in the attached claims.

[0030] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as being limited to the examples set forth herein; on the contrary, these embodiments are provided so that the present disclosure will be more comprehensive and complete, and the concepts of the example embodiments are fully conveyed to those skilled in the art. The described features, structures, or characteristics may be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present disclosure. However, those skilled in the art will appreciate that the technical solutions of the present disclosure may be practiced while omitting one or more of the specific details, or other methods, components, devices, steps, etc. may be adopted. In other cases, known technical solutions are not shown or described in detail to avoid obscuring various aspects of the present disclosure.

[0031] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.

[0032] As the specifications of interconnected scenarios (such as resolution, frame rate, and bit rate) continue to increase, the bandwidth required for data transmission by hardware modules in the entire link of terminal data processing is also increasing. For example, in order to improve the user experience of terminal game players, it is necessary to minimize the delay during the game. Among them, for terminal games that need to project the game scene screen to another display screen, Figures 1 to 3 The data processing links for low-latency terminal gaming are shown respectively, and the difference lies in the different data granularity during data transmission. Specifically, the granularity of image-type data to be transmitted can be divided into Frame (data transmission in units of Frame), Slice, and Line from large to small. Among them, Frame and Slice are in compliance with the H.264 standard, and Line is a non-standard data granularity.

[0033] exist Figure 1In the embodiment shown, the granularity of the data to be transmitted is Frame, which is a more common game implementation. The advantage of this implementation is that each hardware module can be developed and designed relatively independently, and the Frame level data format is regulated by the H.264 standard, so there will be no compatibility issues in cross-platform connections. However, in order to meet the above compatibility issues, the delay of the entire link will be longer.

[0034] exist Figure 2 In the embodiment shown, the granularity of the data to be transmitted is Slice. Figure 1 The link delay is long, so under the H.264 standard, the image data transmitted by the video encoder and the video decoder can adopt a slice level data format with a smaller granularity. The advantages of this method are: Figure 1 The scheme shown can improve the latency of the entire link to a certain extent. However, it still has the following disadvantages: the image quality of the Slice level data format is worse than that of the Frame level data format at the same compression rate.

[0035] exist Figure 3 In the embodiment shown, the granularity of the data to be transmitted is Line. In order to further improve the problem of full-link latency in the above-mentioned game scene, the standard specification is deviated and a Line level data format with a smaller granularity is adopted between all hardware modules if the hardware capability allows. The advantages of this method are: Figure 1 or Figure 2 With the solution shown, the latency of the entire link can be improved to a higher degree, and the image quality is the same as the Frame level data format.

[0036] In an exemplary embodiment, when the granularity of the data to be transmitted is at the line level, Table 1 below introduces the required bandwidth and power consumption of the link when the relevant technology (ie, using an off-chip memory for data caching) is used.

[0037] Table 1

[0038]

[0039]

[0040] The explanations for the fourth column “Transmission data format and required bandwidth” in Table 1 are as follows: “YUV420, 4K”, “ARGB, 2K”, “YUV420, 2K”, and “YUV420, 4K” represent image formats, “120fps” represents frame rate, and “3840*2160” and “2560*1440” represent resolutions. It should be noted that other contents in this column will be described in detail in the embodiment of determining the “target bandwidth”.

[0041] refer to Figure 3 As shown in Table 1, the above link involves the hardware modules of the cloud gaming terminal (Source end): video encoder 12, graphics processor 13 (GPU 13), display screen 11 (Display 11), camera (Camera), color conversion plug-in (Color Format Conversion) and video decoder, and also involves the hardware modules of the projected terminal (Sink end): video encoder 22, graphics processor 23 (GPU 23) and display screen 21 (Display21).

[0042] Referring to Table 1, the bandwidth required for data transmission of the link of the above Source end hardware module is 11.53 GB / s, and the bandwidth required for data transmission of the link of the above Sink end hardware module is 3.03 GB / s. The bandwidth calculation method will be described in detail in the following embodiments.

[0043] It can be seen that the bandwidth required for the above-mentioned game scenarios can reach tens of GB (Giga Byte) per second. Therefore, the power consumption and heat caused by the bandwidth in the information transmission solution of the terminal provided by the relevant technology are problems that need to be solved urgently.

[0044] In view of the technical problems existing in the related art, the present technical solution provides a terminal information transmission method, a terminal information transmission device, and a computer-readable storage medium and a terminal for implementing the above method. The following is a detailed description of the terminal information transmission method embodiment provided by the present disclosure:

[0045] in, Figure 4 A schematic diagram showing a flow chart of an information transmission method of a terminal in an exemplary embodiment of the present disclosure. Figure 4 The method includes:

[0046] S410, obtaining the granularity of the data to be transmitted.

[0047] In an exemplary embodiment, the above data transmission may be transmitted from one hardware module within the same terminal to another hardware module, may be data transmission within the same hardware module, or may be data transmission between different terminals.

[0048] S420, determining a target cache space according to the granularity, where the target cache space includes a system-level memory in the system-on-chip SoC or an off-chip memory.

[0049] In an exemplary embodiment, the system level cache (SLC) is a memory provided in the system on chip, and the off-chip memory is a memory provided in the system on chip, including a double data rate (DDR) memory.

[0050] S430, performing data transmission based on the target cache space.

[0051] In this Figure 4 In the information transmission scheme of the terminal provided in the illustrated embodiment, the type of cache space is first determined according to the granularity of the data to be transmitted, including the system-level memory or the off-chip memory in the system on chip (SoC), and then the data is transmitted according to the determined type of cache space. Thus, different types of cache spaces are determined for data to be transmitted with different granularities, thereby effectively reducing the bandwidth of data transmission and reducing power consumption, and considering the economy to improve practicality.

[0052] For example, in Figure 4 On the basis of Figure 5 A schematic diagram showing a flow chart of a method for transmitting information of a terminal in another exemplary embodiment of the present disclosure is shown. Figure 5 right Figure 4 The specific implementation of each step in the embodiment shown is described in detail:

[0053] In S410 / S510 , the granularity of the data to be transmitted is obtained.

[0054] In an exemplary embodiment, the granularity of the data to be transmitted refers to the smallest unit of the data to be transmitted during the data transmission process. The granularity measurement standards of different types of data to be transmitted are different. For example, when the data to be transmitted is of image type, data transmission can be performed in units of frames, in units of slices obtained by dividing frames, or in units of lines obtained by dividing slices.

[0055] Since different types of cache spaces are applicable to data to be transmitted with different granularities, the granularity of the data to be transmitted is first obtained before the data is transmitted.

[0056] For example, Figure 3For the data processing full link shown, if the granularity remains unchanged during the data transmission process of the full link, the granularity of the data to be transmitted can be obtained once between the data processing processes of the full link. Figure 3 In the data processing full link shown, data is transmitted in units of lines. If the granularity of the data to be transmitted between different hardware module combinations performing data processing in the full link is different. For example, the data granularity for data transmission between hardware A and hardware B is level 1, and the data granularity for data transmission between hardware B and hardware C is level 2, then the granularity of the data to be transmitted needs to be determined once before each data transmission process.

[0057] Since the system-level memory in the system-on-chip SoC is relatively expensive, it is not suitable for data transmission processes with too large data granularity. Therefore, before data transmission, the technical solution obtains the granularity of the data to be transmitted, so as to determine the corresponding type of cache space for the data transmission according to the granularity of the data to be transmitted, so as to maximize the bandwidth required for data transmission, thereby reducing the power consumption and heat caused by the bandwidth.

[0058] Continue to refer Figure 5 S520, S530 and S531 are specific implementations of S420. In S520, it is determined whether the granularity is less than a preset standard. If the granularity is less than the preset standard, S530 is executed: determining that the target cache space is a system-level memory. And, if the granularity is not less than the preset standard, S531 is executed: determining that the target cache space is an off-chip memory.

[0059] In an exemplary embodiment, the preset standard is different according to the type of data to be transmitted (e.g., audio, image, text, etc.). For example, a certain type of data to be transmitted is divided into four levels: level 1, level 2, level 3, and level 4 in order of granularity from small to large, wherein the preset standard may be level 3 or level 2. Figure 3 In the game scene shown, the front-end hardware module of link (1) is the video encoder 12, and the back-end hardware module is the Display 11. The type of data to be transmitted in this link is an image, and the specific format is YUV420, 4K. Among them, the granularity of the image type data to be transmitted can be divided into Frame (data transmission in units of Frame), Slice, and Line. Among them, Frame and Slice are in compliance with the H.264 standard, and Line is a non-standard data granularity.

[0060] When the granularity of the data to be transmitted is smaller than the preset standard, it means that the granularity of the data to be transmitted is small. For example, the preset standard may be Slice, and the data to be transmitted with the granularity of Line is suitable for the cache space using the system level cache as its data transmission. The reason is that if the off-chip memory is used as its cache space, it will bring tens of GB per second (as shown in Table 1), and bring huge power consumption and heat problems to the bandwidth.

[0061] Under the same circumstances as in Table 1, the cache space for data transmission is replaced by the off-chip memory corresponding to Table 1 with the system-level memory corresponding to Table 2. For comparison, Table 2 shows the size of the system-level memory required for the entire link when the system-level memory is used as the cache space for data transmission at the granularity of Line.

[0062] Table 2

[0063]

[0064] Referring to Table 2, the amount of System level cache required for data transmission of the link of the Source end hardware module is 102.5KB, and the amount of System level cache required for data transmission of the link of the Sink end hardware module is 31.25KB. The calculation method of the amount of System level cache required for data transmission of the link will be described in detail in the following embodiments.

[0065] According to the embodiments shown in Table 1 and Table 2, it can be seen that during data transmission, when the granularity of the data to be transmitted is smaller than a preset standard, the use of a system-level memory can effectively reduce the bandwidth and power consumption caused by bandwidth issues.

[0066] Continue to refer Figure 5 S540-S580 are a specific implementation of S430. In S540, the data type of the data to be transmitted is obtained.

[0067] The technical solution is described by taking image type data to be transmitted as an example. In S550, when the data type of the data to be transmitted is an image, a first coefficient corresponding to the cache format is determined according to the format of the data to be transmitted.

[0068] In an exemplary embodiment of determining the coefficient corresponding to the buffer format (Bufferformat), referring to Table 2, taking link (1) as an example to calculate the above-mentioned determination embodiment of the target buffer space, the data type of the data to be transmitted is an image type, specifically, the image format is YUV, and the coefficient corresponding to the buffer format (i.e., the above-mentioned first coefficient) is determined to be 1.5 according to the data type YUV. Taking link (2) as an example to calculate the above-mentioned determination embodiment of the target buffer space, the data type of the data to be transmitted is an image type, specifically, the image format is ARGB, and the coefficient corresponding to the buffer format (i.e., the above-mentioned first coefficient) is determined to be 4 according to the data type ARGB.

[0069] Furthermore, when the data to be transmitted is of image type, in S560, the cache requirement is determined according to the first coefficient corresponding to the cache format, the granularity and resolution of the data to be transmitted, and a target cache space that meets the cache requirement is determined in the system-level memory.

[0070] Referring to Table 2, in the embodiment for calculating the determination of the above target buffer space by taking link (1) as an example, the resolution Resolution of the data to be transmitted is Width*H=3840*2160, and the granularity of the data to be transmitted is Linelevel. Then, according to the granularity and resolution of the data to be transmitted, the Line Buffer is determined as: W*H=3840*1.

[0071] Furthermore, according to S360, the buffer requirement is determined to be Line Buffer*the first coefficient.

[0072] In an exemplary embodiment, in order to achieve the purpose of parallel processing of data, a ping-pong buffer Ping-pongBuffer can also be set. Specifically, the front-stage hardware module writes the first buffer and hands it over to the back-stage hardware module. When the back-stage hardware module processes the first buffer, the front-stage hardware module can synchronously process the second buffer. The corresponding second coefficient of the ping-pong buffer is 2.

[0073] The buffer requirement is: Line Buffer*first coefficient*second coefficient; the buffer requirement of link (1) is: 3840*1*1.5*2=11520B; the buffer requirement of link (2) is: 2560*1*4*2=20480B.

[0074] Since the design cost of the system-level memory is relatively expensive, for example, its total storage space is about 3MB, and other programs may currently occupy part of the space of the system-level memory. Therefore, after determining the cache requirement corresponding to the data transmission, S570 can also be executed: determine whether the system-level memory contains a target storage space that meets the above cache requirement. For example, the total cache requirement required by the Source end shown in Table 2 is 102.5KB, if the system memory currently contains available cache space larger than 102.5KB.

[0075] That is, when the system memory currently contains storage space that meets the cache requirement, S580 is executed: performing the data transmission based on the target cache space.

[0076] In the case that the system memory does not currently contain storage space that meets the above-mentioned cache requirement, S531 is executed: determine that the above-mentioned target cache space is an off-chip memory. In other words, the target cache space is switched to an off-chip memory; wherein the above-mentioned off-chip memory is a memory that is not set in the on-chip system, including a DDR memory. In this embodiment, when the system-level memory cannot meet the current data transmission requirements, the smooth execution of data transmission is prioritized by switching the storage space type. For example, in a game scenario, the smooth execution of game data transmission is prioritized by using an off-chip memory, thereby avoiding problems such as freezing of the game screen.

[0077] In an exemplary embodiment, Table 3 shows Figure 3 In the game scenario shown, if the granularity of the data to be transmitted is different, the amount of system-level memory required for swapping is different, as follows:

[0078] Table 3

[0079]

[0080] It should be noted that both the Slice level and the Frame level belong to the H.264 standard. For the same data to be transmitted, the Slice level generally applies for the same amount of storage space as the Frame level. Therefore, in Table 3, the System Cache requirements in the above two cases are the same.

[0081] It can be seen that when the granularity of the data to be transmitted is large (not less than the preset standard), if the system-level memory is used as the cache space, due to its large demand, it will cause a waste of the system-level cache, or the system-level memory cannot meet the corresponding cache demand. Therefore, in this technical solution, when the granularity of the data to be transmitted is large (not less than the preset standard), the off-chip memory will be used as its cache space. Specifically:

[0082] Continue to refer Figure 5 , S541-S571 is another specific implementation of S430.

[0083] According to the above embodiments, when the granularity of the data to be transmitted is greater than a preset standard or the available cache space in the system-level memory is insufficient, the off-chip memory needs to be used as the cache space for data transmission, and specifically S541-S571 is executed.

[0084] It is understandable that the granularity of the data to be transmitted in the embodiments corresponding to S541-S571 may be greater than the preset standard Frame level (the data transmission link is such as Figure 1 As shown), Slicelevel (data transmission link as shown Figure 2 As shown), it can also be Linelevel (data transmission link as shown) when the available cache space in the system-level memory is insufficient. Figure 3 In this embodiment, the granularity of the data to be transmitted is Linelevel as an example.

[0085] In S541, the data type of the data to be transmitted is obtained.

[0086] The present technical solution is still described by taking image-type data to be transmitted as an example. In S551, when the data to be transmitted is an image, the first coefficient corresponding to the cache format is determined according to the format of the data to be transmitted.

[0087] In an exemplary embodiment of determining the coefficient corresponding to the buffer format (Bufferformat), referring to Table 2, taking link (1) as an example to calculate the above-mentioned determination embodiment of the target buffer space, the data type of the data to be transmitted is an image type, specifically, the image format is YUV, and the coefficient corresponding to the buffer format (i.e., the above-mentioned first coefficient) is determined to be 1.5 according to the data type YUV. Taking link (2) as an example to calculate the above-mentioned determination embodiment of the target buffer space, the data type of the data to be transmitted is an image type, specifically, the image format is ARGB, and the coefficient corresponding to the buffer format (i.e., the above-mentioned first coefficient) is determined to be 4 according to the data type ARGB.

[0088] Furthermore, when the data to be transmitted is of image type, in S561, the target bandwidth is determined according to the first coefficient corresponding to the cache format, the frame rate and the resolution of the data to be transmitted, wherein the target bandwidth refers to the exchange bandwidth of the front-stage hardware module and the back-stage hardware module in the data transmission link.

[0089] Referring to Table 1, in the embodiment for calculating the above target bandwidth by taking link (1) as an example, the resolution of the data to be transmitted is Width 3840*Height 2160, and the frame rate of the data to be transmitted is 120fps. Then, the exchange bandwidth of the front-stage hardware module and the rear-stage hardware module in the data transmission link (1) is: 3840*2160*1.5*120 (Byte)=1423.82MB / s.

[0090] Furthermore, according to S571, data is transmitted in the off-chip memory based on the target bandwidth.

[0091] It can be seen that the above embodiment provides a technical solution for determining the cache space type according to the granularity of the data to be transmitted, and allocates different types of cache space to the data to be transmitted that is smaller than the preset standard and the data to be transmitted that is not smaller than the preset standard. Thus, the bandwidth and the power consumption caused by the bandwidth problem can be effectively reduced. Furthermore, since the system-level memory is limited, when the current available storage space of the system-level memory does not meet the cache demand for data transmission, the smooth execution of data transmission is prioritized by switching the storage space type. For example, in a game scenario, the smooth execution of game data transmission is prioritized by the storage space type, thereby avoiding problems such as freezing of the game screen, and thus not affecting the user experience.

[0092] For example, when the data to be transmitted is an image and the granularity is Linelevel, Table 1 shows the bandwidth required based on DDR (off-chip memory) as the cache space, and Table 2 shows the required bandwidth based on Systemlevelcache as the cache space. Obviously, in the full-link solution of low-latency gaming scenarios, the DDR bandwidth can be very effectively reduced by using SystemCache. At the same time, Figure 6 A graph showing the relationship between bandwidth and power consumption in an exemplary embodiment of the present disclosure is shown.

[0093] refer to Figure 6, when the data to be transmitted is an image and the granularity is Linelevel, the relationship between bandwidth and power consumption when DDR is used as its cache space. The solid line shows the actual amount of power consumption generated by the change in bandwidth. The dotted line is obtained by fitting the solid line data, which can be specifically expressed as: y = 0.0589x + 264.9. Obviously, as the bandwidth increases, the power consumption also increases, resulting in large heat generation, which causes the terminal to heat up and may even cause a crash.

[0094] However, through this technical solution, when the data to be transmitted is an image and the granularity is Linelevel, the system-level memory is used as its cache space. The full-link solution for low-latency games can effectively reduce the DDR bandwidth by using System Cache, effectively solving the power consumption and heat problems caused by the improvement of the full-scenario interconnection specifications.

[0095] Specifically, the source side uses 102.5KB of System Cache to replace DDR, which can reduce power consumption by about 960mW. The sink side uses 31.25KB of System Cache to replace DDR, which can reduce power consumption by about 450mW.

[0096] In the above embodiments, different solutions for achieving ultra-low latency gaming scenarios (respectively as Figure 1-Figure 3 ), first determine the type of cache space according to the granularity of the book to be transmitted, including the system-level memory or off-chip memory in the system on chip (SoC), and then perform data transmission according to the determined type of cache space. Thus, different types of cache spaces are determined for data to be transmitted with different granularities, and then, while ensuring a low level of latency, the bandwidth of data transmission can be effectively reduced and power consumption can be reduced, while considering economic efficiency and thus improving practicality.

[0097] In the above exemplary embodiments, the data transmission process provided by the present technical solution may occur between hardware modules, such as Figure 1 Any one of the shown between the video encoder and the display screen, between the graphics processor and the display screen, between the camera and the display screen, between the video encoder and the graphics processor, between the camera and the graphics processor, between the graphics processor and the color conversion plug-in, between the color conversion plug-in and the video decoder, and between the video decoder and the display screen.

[0098] In addition, the hardware modules can also be Figure 7a and Figure 7b In the Artificial Intelligence Super-Resolution (AISR) scene shown.

[0099] For example, Figure 7a and Figure 7b A schematic diagram of a method for transmitting information between a network processor (NPU) and a video decoder (VDEC) in an AISR scenario is shown.

[0100] in, Figure 7a In the AISR scenario, data is cached using off-chip memory (using DDR as an example) during data transmission between NPU and VDEC. Figure 7b For Figure 7a Same scene, the difference is Figure 7b The system-level memory is used for data caching during data transmission.

[0101] for Figure 7a In the AISR scenario shown, the output of the VDEC hardware module will be used as the input of the NPU hardware module, and the data transmission uses DDR as the buffer space. However, when the granularity of the data to be transmitted is smaller than the preset standard, the bandwidth required for this process can be Figure 7b way of absorption.

[0102] In other exemplary embodiments, the data transmission process provided by the present technical solution may occur inside a hardware module.

[0103] For example, Figure 8a and Figure 8b Schematic diagrams of information transmission methods of terminals inside the display screen in the standby scenario of the mobile phone are respectively shown.

[0104] in, Figure 8a In the standby mode of the mobile phone, the external memory is used to cache data during the internal data transmission of the display screen. Figure 8b For Figure 8a The same scenario, the difference is that the system-level memory is used to cache data during data transmission.

[0105] Assuming the display screen specification is: video mode panel, 2560*1440*120Hz, then the bandwidth required for the Disp Buffer in the hardware module display screen to read data from the off-chip memory (using DDR as an example) is: 2560*1440*4*120=2560*1440*4*120B / s=1687.5MB / s. Among them, the data transmission between the Disp Buffer and the panel is carried out through the MIPI (Mobile Industry Processor Interface) interface.

[0106] In this embodiment, when the mobile phone is in standby mode (the screen is idle), the bandwidth required for the display hardware module to read DDR data will reach 1687.5MB / s. However, when the granularity of the data to be transmitted is smaller than the preset standard, the use of System Cache will be able to absorb all the bandwidth required for reading DDR.

[0107] For example, Figure 9a and Figure 9b Schematic diagrams of information transmission methods of NPU internal terminals in artificial intelligence scenarios are shown respectively.

[0108] in, Figure 9a Use off-chip memory to cache data during internal data transmission of the NPU in artificial intelligence scenarios. Figure 9b For Figure 9a The same scenario, the difference is that the system-level memory is used to cache data during data transmission.

[0109] When the granularity of the data to be transmitted is smaller than the preset standard, Figure 9a In the scenario shown, the bandwidth required for the hardware module NPU to read data from the off-chip memory (using DDR as an example) can be calculated by Figure 9b way of absorption.

[0110] This technical solution can be applied to the data transmission process between terminal hardware modules, and can also be applied to the data transmission process inside the terminal hardware module, and the cache space type is determined according to the granularity of the data to be transmitted, and different types of cache space are allocated to the data to be transmitted that is less than the preset standard and the data to be transmitted that is not less than the preset standard. Thereby, the bandwidth and the power consumption caused by bandwidth problems can be effectively reduced. Furthermore, due to the limited system-level memory, when the current available storage space of the system-level memory does not meet the cache demand for data transmission, the smooth execution of data transmission is prioritized by switching the storage space type. For example, in the game scenario, the smooth execution of game data transmission is prioritized by the storage space type, thereby avoiding problems such as freezing of the game screen, and thus not affecting the user experience.

[0111] It should be noted that the above figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0112] The following are embodiments of the device disclosed herein, which can be used to execute the method embodiments disclosed herein. For details not disclosed in the device embodiments disclosed herein, please refer to the method embodiments disclosed herein.

[0113] in, Fig.10 The structure diagram of the information transmission device of the terminal to which the present disclosure is applied is shown. Fig.10 The information transmission device of the terminal shown in the figure can be realized as all or part of the terminal through software, hardware or a combination of both, and can also be integrated into the terminal or server as an independent module.

[0114] The information transmission device 1000 of the terminal in the embodiment of the present disclosure includes: a granularity acquisition module 1010, a type determination module 1020 and a data transmission module 1030, wherein:

[0115] The above-mentioned granularity acquisition module 1010 is used to obtain the granularity of the data to be transmitted; the above-mentioned type determination module 1020 is used to determine the target cache space according to the above-mentioned granularity, and the above-mentioned target cache space includes the system-level memory or off-chip memory in the system on chip SoC; and the above-mentioned data transmission module 1030 is used to perform the above-mentioned data transmission based on the above-mentioned target cache space.

[0116] In an exemplary embodiment, Fig.11 Schematically shows a structural diagram of an information transmission device of a terminal according to another exemplary embodiment of the present disclosure. Fig.11 :

[0117] In an exemplary embodiment, based on the above-mentioned solution, the above-mentioned type determination module 1020 is specifically used to: when the above-mentioned granularity is smaller than a preset standard, determine that the above-mentioned target cache space is the above-mentioned system-level memory.

[0118] In an exemplary embodiment, based on the above-mentioned solution, the data transmission module 1030 includes: a data type acquisition unit 10301 , a coefficient determination unit 10302 , a demand quantity determination unit 10303 and a transmission unit 10304 .

[0119] Among them, the above-mentioned data type acquisition unit 10301 is used to: acquire the data type of the above-mentioned data to be transmitted; the above-mentioned coefficient determination unit 10302 is used to: when the above-mentioned data type is an image, determine the first coefficient corresponding to the cache format according to the format of the above-mentioned data to be transmitted; the above-mentioned demand determination unit 10303 is used to: determine the cache demand according to the first coefficient corresponding to the above-mentioned cache format, the granularity and resolution of the above-mentioned data to be transmitted; and the above-mentioned transmission unit 10304 is used to: determine the target cache space that meets the above-mentioned cache demand in the above-mentioned system-level memory, and perform the above-mentioned data transmission based on the above-mentioned target cache space.

[0120] In an exemplary embodiment, based on the aforementioned scheme, the above-mentioned demand determination unit 10303 is specifically used to: set a ping-pong cache; and determine the above-mentioned cache demand according to the second coefficient corresponding to the ping-pong cache, the first coefficient corresponding to the above-mentioned cache format and the resolution of the above-mentioned data to be transmitted.

[0121] In an exemplary embodiment, based on the above-mentioned solution, the information transmission device 1000 of the terminal includes: a determination module 1040 and a switching module 1050 .

[0122] The judgment module 1040 is used to judge whether the system-level memory contains the target cache space that meets the cache requirement; the data transmission module 1030 is used to perform the data transmission based on the target cache space when the system-level memory contains the target cache space. The switching module 1050 is used to switch the target cache space to the off-chip memory when the system-level memory does not contain the target cache space; the off-chip memory includes a double data rate memory.

[0123] In an exemplary embodiment, based on the above scheme, the type determination module 1020 is specifically used to: determine that the target cache space is the off-chip memory when the granularity is not less than a preset standard; wherein the off-chip memory includes a double data rate memory.

[0124] In an exemplary embodiment, based on the aforementioned scheme, the data transmission module 1030 is specifically used to: obtain the data type of the data to be transmitted; when the data type is an image, determine the first coefficient corresponding to the cache format according to the format of the data to be transmitted; determine the target bandwidth according to the first coefficient corresponding to the cache format, the frame rate and the resolution of the data to be transmitted; and, in the off-chip memory, perform the data transmission based on the target bandwidth.

[0125] In an exemplary embodiment, based on the aforementioned scheme, the data transmission module 1030 is specifically used to: obtain the data type of the data to be transmitted; when the data type is an image, determine the first coefficient corresponding to the cache format according to the format of the data to be transmitted; determine the target bandwidth according to the first coefficient corresponding to the cache format, the frame rate and the resolution of the data to be transmitted; and perform the data transmission in the off-chip memory based on the target bandwidth.

[0126] In an exemplary embodiment, based on the aforementioned scheme, the data transmission module 1030 is specifically used to: perform the data transmission between hardware modules within the same terminal based on the target cache space, or perform data transmission between terminals based on the target cache space.

[0127] In an exemplary embodiment, based on the aforementioned scheme, the data transmission module 1030 is specifically used to: perform any one of the data transmission between the video encoder and the display screen, the data transmission between the graphics processor and the display screen, the data transmission between the camera and the display screen, the data transmission between the video encoder and the graphics processor, the data transmission between the camera and the graphics processor, the data transmission between the graphics processor and the color conversion plug-in, the data transmission between the color conversion plug-in and the video decoder, and the data transmission between the video decoder and the display screen.

[0128] In an exemplary embodiment, based on the above-mentioned solution, the above-mentioned data transmission module 1030 is specifically used to: perform the above-mentioned data transmission within the same hardware of the terminal based on the above-mentioned target cache space.

[0129] It should be noted that the information transmission device of the terminal provided in the above embodiment only uses the division of the above functional modules as an example when executing the information transmission method of the terminal. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the information transmission device of the terminal provided in the above embodiment and the information transmission method embodiment of the terminal belong to the same concept. Therefore, for details not disclosed in the embodiment of the device of the present disclosure, please refer to the embodiment of the information transmission method of the terminal of the present disclosure, which will not be repeated here.

[0130] The serial numbers of the above-mentioned embodiments of the present disclosure are only for description and do not represent the advantages or disadvantages of the embodiments.

[0131] The embodiments of the present disclosure also provide a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the method of any of the above embodiments are implemented. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD, a CD-ROM, a micro drive, and a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and / or data.

[0132] The embodiment of the present disclosure also provides a terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of any of the above-mentioned method embodiments when executing the program.

[0133] Fig.12 The structure diagram of the terminal in an exemplary embodiment of the present disclosure is schematically shown. Fig.12 As shown, the terminal 1200 includes: a processor 1201 and a memory 1202 .

[0134] In the embodiment of the present disclosure, the processor 1201 is the control center of the computer system, which can be the processor of a physical machine or the processor of a virtual machine. The processor 1201 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc. The processor 1201 can be implemented in at least one hardware form of DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). The processor 1201 may also include a main processor and a coprocessor. The main processor is a processor for processing data in the awake state, also known as a CPU (Central Processing Unit); the coprocessor is a low-power processor for processing data in the standby state.

[0135] In the embodiment of the present disclosure, the processor 1201 is specifically configured to:

[0136] The granularity of the data to be transmitted is obtained; a target cache space is determined according to the granularity, wherein the target cache space includes a system-level memory or an off-chip memory in a system-on-chip SoC; and the data transmission is performed based on the target cache space.

[0137] Furthermore, the determining of the target cache space according to the granularity includes: when the granularity is smaller than a preset standard, determining the target cache space to be the system-level memory.

[0138] Furthermore, the above-mentioned data transmission based on the above-mentioned target cache space includes: obtaining the data type of the above-mentioned data to be transmitted; in the case that the above-mentioned data type is an image, determining the first coefficient corresponding to the cache format according to the format of the above-mentioned data to be transmitted; determining the cache requirement according to the first coefficient corresponding to the above-mentioned cache format, the granularity and resolution of the above-mentioned data to be transmitted; determining the target cache space that meets the above-mentioned cache requirement in the above-mentioned system-level memory, and performing the above-mentioned data transmission based on the above-mentioned target cache space.

[0139] Furthermore, the above-mentioned determination of the cache requirement based on the first coefficient corresponding to the above-mentioned cache format and the resolution of the above-mentioned data to be transmitted includes: setting a ping-pong cache; determining the above-mentioned cache requirement based on the second coefficient corresponding to the ping-pong cache, the first coefficient corresponding to the above-mentioned cache format and the resolution of the above-mentioned data to be transmitted.

[0140] Furthermore, before the above-mentioned data transmission is performed based on the above-mentioned target cache space, it includes: judging whether the above-mentioned system-level memory contains the above-mentioned target cache space that meets the above-mentioned cache demand; in the case that the above-mentioned system-level memory contains the above-mentioned target cache space, performing the above-mentioned data transmission based on the above-mentioned target cache space; in the case that the above-mentioned system-level memory does not contain the above-mentioned target cache space, switching the above-mentioned target cache space to the above-mentioned off-chip memory; wherein the above-mentioned off-chip memory includes a double data rate memory.

[0141] Furthermore, the above-mentioned determination of the target cache space according to the above-mentioned granularity includes: when the above-mentioned granularity is not less than a preset standard, determining the above-mentioned target cache space to be the above-mentioned off-chip memory; wherein the above-mentioned off-chip memory includes a double data rate memory.

[0142] Furthermore, the data transmission based on the target cache space includes: obtaining the data type of the data to be transmitted; when the data type is an image, determining a first coefficient corresponding to the cache format according to the format of the data to be transmitted; determining a target bandwidth according to the first coefficient corresponding to the cache format, the frame rate and the resolution of the data to be transmitted; and performing the data transmission based on the target bandwidth in the off-chip memory.

[0143] Furthermore, the data transmission based on the target cache space includes: based on the target cache space, the data transmission between hardware modules within the same terminal; or, based on the target cache space, the data transmission between terminals.

[0144] Furthermore, the above-mentioned data transmission between the hardware modules of the above-mentioned terminal includes: performing the above-mentioned data transmission between the above-mentioned video encoder and the display screen, performing the above-mentioned data transmission between the above-mentioned graphics processor and the display screen, performing the above-mentioned data transmission between the above-mentioned camera and the display screen, performing the above-mentioned data transmission between the video encoder and the graphics processor, performing the above-mentioned data transmission between the above-mentioned camera and the graphics processor, performing the above-mentioned data transmission between the above-mentioned graphics processor and the color conversion plug-in, performing the above-mentioned data transmission between the above-mentioned color conversion plug-in and the video decoder, and performing any one of the above-mentioned data transmission between the above-mentioned video decoder and the display screen.

[0145] Furthermore, the performing the data transmission based on the target cache space includes: performing the data transmission within the same hardware of the terminal based on the target cache space.

[0146] The memory 1202 may include one or more computer-readable storage media, which may be non-transitory. The memory 1202 may also include a high-speed random access memory and a non-volatile memory, such as one or more disk storage devices and flash memory storage devices. In some embodiments of the present disclosure, the non-transitory computer-readable storage medium in the memory 1202 is used to store at least one instruction, which is used to be executed by the processor 1201 to implement the method in the embodiment of the present disclosure.

[0147] In some embodiments, the terminal 1200 further includes: a peripheral device interface 1203 and at least one peripheral device. The processor 1201, the memory 1202 and the peripheral device interface 1203 may be connected via a bus or a signal line. Each peripheral device may be connected to the peripheral device interface 1203 via a bus, a signal line or a circuit board. Specifically, the peripheral device includes: at least one of a display screen 1204, a camera 1205 and an audio circuit 1206.

[0148] The peripheral device interface 1203 may be used to connect at least one peripheral device related to I / O (Input / Output) to the processor 1201 and the memory 1202. In some embodiments of the present disclosure, the processor 1201, the memory 1202, and the peripheral device interface 1203 are integrated on the same chip or circuit board; in some other embodiments of the present disclosure, any one or two of the processor 1201, the memory 1202, and the peripheral device interface 1203 may be implemented on a separate chip or circuit board. The embodiments of the present disclosure are not specifically limited to this.

[0149] The display screen 1204 is used to display the UI (User Interface). The UI may include graphics, text, icons, videos, and any combination thereof. When the display screen 1204 is a touch display screen, the display screen 1204 also has the ability to collect touch signals on the surface or above the surface of the display screen 1204. The touch signal can be input to the processor 1201 as a control signal for processing. At this time, the display screen 1204 can also be used to provide virtual buttons and / or virtual keyboards, also known as soft buttons and / or soft keyboards. In some embodiments of the present disclosure, the display screen 1204 can be one, and the front panel of the terminal 1200 is set; in other embodiments of the present disclosure, the display screen 1204 can be at least two, which are respectively set on different surfaces of the terminal 1200 or are folded; in some other embodiments of the present disclosure, the display screen 1204 can be a flexible display screen, which is set on the curved surface or folded surface of the terminal 1200. Even, the display screen 1204 can also be set as a non-rectangular irregular figure, that is, a special-shaped screen. The display screen 1204 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0150] Camera 1205 is used to capture images or videos. Optionally, camera 1205 includes a front camera and a rear camera. Typically, the front camera is arranged on the front panel of the terminal, and the rear camera is arranged on the back of the terminal. In some embodiments, there are at least two rear cameras, which are any one of a main camera, a depth of field camera, a wide-angle camera, and a telephoto camera, so as to realize the fusion of the main camera and the depth of field camera to realize the background blur function, the fusion of the main camera and the wide-angle camera to realize panoramic shooting and VR (Virtual Reality) shooting function or other fusion shooting functions. In some embodiments of the present disclosure, camera 1205 may also include a flash. The flash can be a monochrome temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm light flash and a cold light flash, which can be used for light compensation at different color temperatures.

[0151] The audio circuit 1206 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, and convert the sound waves into electrical signals and input them into the processor 1201 for processing. For the purpose of stereo sound collection or noise reduction, there may be multiple microphones, which are respectively arranged at different parts of the terminal 1200. The microphone may also be an array microphone or an omnidirectional collection microphone.

[0152] The power supply 1207 is used to power various components in the terminal 1200. The power supply 1207 can be an alternating current, a direct current, a disposable battery, or a rechargeable battery. When the power supply 1207 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery charged through a wired line, and a wireless rechargeable battery is a battery charged through a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0153] The terminal structure block diagram shown in the embodiment of the present disclosure does not constitute a limitation on the terminal 1200. The terminal 1200 may include more or fewer components than shown in the figure, or combine certain components, or adopt a different component arrangement.

[0154] In the description of the present disclosure, it should be understood that the terms "first", "second", etc. are used for descriptive purposes only and cannot be understood as indicating or implying relative importance. For those of ordinary skill in the art, the specific meanings of the above terms in the present disclosure can be understood according to specific circumstances. In addition, in the description of the present disclosure, unless otherwise specified, "plurality" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previously associated objects are in an "or" relationship.

[0155] The above is only a specific implementation of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any person skilled in the art who is familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present disclosure, which should be included in the protection scope of the present disclosure. Therefore, equivalent changes made according to the claims of the present disclosure are still within the scope covered by the present disclosure.

Claims

1. A method for transmitting information of a terminal, characterized in that: The method comprises: Acquire the granularity of the data to be transmitted, where the granularity is the smallest unit of the data to be transmitted during the data transmission process; Determine a target cache space according to the granularity, wherein the target cache space includes a system-level memory in a system-on-chip SoC or an off-chip memory; Performing the data transmission based on the target cache space; Wherein, determining the target cache space according to the granularity includes: In a case where the granularity is smaller than a preset standard, determining that the target cache space is the system-level memory; In a case where the granularity is not less than a preset standard, determining that the target cache space is the off-chip memory, the off-chip memory includes a double data rate memory; The performing of the data transmission based on the target cache space includes: Acquire the data type of the data to be transmitted; When the data type is an image, determining a first coefficient corresponding to a cache format according to a format of the data to be transmitted; The data transmission is performed according to the target cache space, the transmission parameters corresponding to the cache format and the quality parameters of the data to be transmitted, the transmission parameters include the first coefficient, and the quality parameters include resolution.

2. The information transmission method of a terminal according to claim 1, characterized in that: The performing the data transmission according to the target cache space, the transmission parameters corresponding to the cache format and the quality parameters of the data to be transmitted includes: In the case where the target cache space is the system-level memory, determining a cache requirement according to the first coefficient corresponding to the cache format, the granularity and resolution of the data to be transmitted, determining a target cache space in the system-level memory that meets the cache requirement, and performing the data transmission based on the target cache space of the cache requirement; In the case where the target cache space is the off-chip memory, a target bandwidth is determined according to a first coefficient corresponding to the cache format, a frame rate, and a resolution of the data to be transmitted, and the data is transmitted in the off-chip memory based on the target bandwidth.

3. The information transmission method of a terminal according to claim 2, characterized in that: The determining the cache requirement according to the first coefficient corresponding to the cache format, the granularity and the resolution of the data to be transmitted includes: Set up ping-pong cache; The cache requirement is determined according to a second coefficient corresponding to the ping-pong cache, a first coefficient corresponding to the cache format, and a granularity and a resolution of the data to be transmitted.

4. The information transmission method of a terminal according to claim 2 or 3, characterized in that: Before performing the data transmission based on the target cache space, the method includes: Determining whether the system-level memory contains the target cache space that meets the cache requirement; In a case where the system-level memory includes the target cache space, performing the data transmission based on the target cache space; In a case where the target cache space is not included in the system-level memory, the target cache space is switched to the off-chip memory; wherein the off-chip memory includes a double data rate memory.

5. The terminal information transmission method according to any one of claims 1 to 3, characterized in that: The performing of the data transmission based on the target cache space includes: performing the data transmission between hardware modules within the same terminal based on the target cache space; or performing the data transmission between terminals based on the target cache space.

6. The information transmission method of a terminal according to claim 5, characterized in that: The data transmission between hardware modules in the same terminal includes: Any one of performing the data transmission between a video encoder and a display screen, performing the data transmission between a graphics processor and the display screen, performing the data transmission between a camera and the display screen, performing the data transmission between the video encoder and the graphics processor, performing the data transmission between the camera and the graphics processor, performing the data transmission between the graphics processor and a color conversion plug-in, performing the data transmission between the color conversion plug-in and a video decoder, and performing the data transmission between the video decoder and the display screen.

7. The terminal information transmission method according to any one of claims 1 to 3, characterized in that: The performing the data transmission based on the target cache space includes: performing the data transmission within the same hardware of the terminal based on the target cache space.

8. An information transmission device for a terminal, characterized in that: The device comprises: A granularity acquisition module, used to acquire the granularity of the data to be transmitted, wherein the granularity is the smallest unit of the data to be transmitted during the data transmission process; A type determination module, configured to determine a target cache space according to the granularity, wherein the target cache space includes a system-level memory in a system-on-chip SoC or an off-chip memory; A data transmission module, used for performing the data transmission based on the target cache space; The type determination module is specifically used for: In a case where the granularity is smaller than a preset standard, determining that the target cache space is the system-level memory; In a case where the granularity is not less than a preset standard, determining that the target cache space is the off-chip memory, the off-chip memory includes a double data rate memory; The data transmission module is specifically used for: Acquire the data type of the data to be transmitted; When the data type is an image, determining a first coefficient corresponding to a cache format according to a format of the data to be transmitted; The data transmission is performed according to the target cache space, the transmission parameters corresponding to the cache format and the quality parameters of the data to be transmitted, the transmission parameters include the first coefficient, and the quality parameters include resolution.

9. A terminal comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the information transmission method of the terminal according to any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the information transmission method of the terminal according to any one of claims 1 to 7 is implemented.