Adaptive coding method and system based on cloud vehicle machine

By dynamically adjusting the clarity of audio and video streams in the cloud car machine, and determining the encoding level based on the vehicle's network status and feedback times, the video lagging problem caused by network environment fluctuations in the cloud car machine service is solved, and the user experience and system are improved. stability.

CN118540509APending Publication Date: 2024-08-23ZHEJIANG GEELY HLDG GRP CO LTD +1
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410419289.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-04-09
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

In the cloud car-to-machine streaming service, the video freeze problem caused by fluctuations in the quality of the network environment, and the existing technology's response speed, computing resource consumption, and dynamic configuration capabilities are insufficient, and it is unable to effectively adaptively adjust the clarity of the car-to-machine screen video.

Method used

Provides an adaptive encoding method based on the cloud car machine. By receiving dynamic encoding strategy instructions from the cloud car machine service platform, multiple encoding levels are obtained. Each level corresponds to different audio and video stream definitions, according to the vehicle's network status. Determine the encoding level based on the number of feedbacks, and dynamically adjust the clarity of the audio and video streams to match the network status to ensure smoothness and user experience.

Benefits of technology

It effectively reduces the mismatch between network quality and audio and video streams, prevents lagging, improves the fluency and user experience of the cloud car machine, and ensures that network speed and connection stability meet clarity requirements.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118540509A
    Figure CN118540509A
Patent Text Reader

Abstract

The invention provides a self-adaptive coding method and system based on a cloud vehicle machine, and relates to the technical field of vehicles, and the method comprises the steps: responding to a coding strategy instruction from a cloud vehicle machine service platform, when the coding strategy instruction is a dynamic coding strategy, obtaining a coding scheme, the coding scheme comprises a plurality of coding levels, and the coding levels are different from the coding levels; each coding level corresponds to different definitions; acquiring a network state of the vehicle; and determining the coding level according to the state level of the network state and the number of feedback times, thereby ensuring adaptive adjustment of the definition of the video, preventing a lagging phenomenon under the condition that the network quality is not matched with audio and video streams, ensuring the fluency of the cloud vehicle machine, and improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle technology, and in particular to an adaptive coding method and system based on a cloud vehicle computer. Background Art

[0002] When providing streaming services through the cloud car machine, the clarity and smoothness of the car machine picture are very dependent on the quality of the network environment. When the network environment quality is good, the video stream pushed by the cloud car machine is usually clear and smooth, but when the network quality is poor, the video may be blurry and stuck, affecting the user experience.

[0003] To address the problem of lag caused by fluctuations in network quality, some streaming solutions attempt to collect statistics on network data within a target time period and then adjust the streaming strategy based on the statistical results. However, such strategies are insufficient in terms of response speed, computing resource consumption, and dynamic configuration capabilities, and are not suitable for cloud car services. Summary of the invention

[0004] The problem solved by the present invention is how to adaptively adjust the clarity of the vehicle computer screen video.

[0005] In order to solve the above problems, the present invention provides an adaptive coding method based on cloud vehicle machine, comprising:

[0006] In response to a coding strategy instruction from the cloud vehicle machine service platform, when the coding strategy instruction is a dynamic coding strategy, obtaining a coding scheme, wherein the coding scheme includes a plurality of coding levels, each of the coding levels corresponding to a different definition;

[0007] Get the network status of the vehicle;

[0008] The coding level is determined according to the state level of the network state and the number of feedbacks.

[0009] Compared with the prior art, the present invention can receive coding strategy instructions from the cloud car machine service platform, wherein the coding strategy instructions include a dynamic coding strategy scheme constructed by integrating multiple coding levels with different audio and video stream clarity. The dynamic coding strategy can ensure that the audio and video stream displayed by the cloud car machine can change with the change of the network status, improve the clarity of the cloud car machine audio and video stream when the network status is good, and reduce the clarity of the cloud car machine audio and video stream when the network status is not good. The dynamic coding strategy specifically includes obtaining the network status of the vehicle to assist the adaptive algorithm in evaluating the strength and stability of the vehicle network connection. The quality of the network in which the vehicle is located is determined according to the status level, the stability of the network in which the vehicle is located is determined according to the number of feedbacks, and the coding level is determined according to the quality of the network and the stability of the network, so as to formulate the optimal cloud car machine audio and video stream decoding push strategy under the current network status, so as to ensure that when the network speed meets the clarity requirements and the network connection stability meets the standards, the coding level is adjusted to the corresponding level. Among them, when either the network speed or the clarity does not meet the requirements, the coding level can be reduced. This move aims to reduce the mismatch between network quality and audio and video streams, prevent lag, ensure the smoothness of the cloud car machine, and improve user experience.

[0010] Optionally, the state level includes an excellent level and a poor level, and determining the coding level according to the state level of the network state and the number of feedbacks includes:

[0011] When the state level is the excellent level, improving the encoding level according to the state level and the number of feedbacks;

[0012] When the state level is the poor level, the encoding level is reduced according to the state level and the number of feedbacks.

[0013] Optionally, the superior level includes a first network level and a second network level, and the first network level is better than the second network level; when the state level is the superior level, improving the coding level according to the state level and the number of feedbacks includes:

[0014] When the state level is the first network level for at least a first preset number of consecutive times, changing the encoding level to the first level;

[0015] When the status level is the second network level for at least a second preset number of times in a row, the encoding level is changed to the second level.

[0016] Optionally, the difference level includes a third network level and no network connection, and the third network level is better than the no network connection; when the state level is the difference level, reducing the coding level according to the state level and the number of feedbacks includes:

[0017] When the status level is the third network level, lowering the encoding level to the third level;

[0018] When the status level is the no network connection, the encoding level is reduced to a fourth level.

[0019] Optionally, the clarity corresponding to the first level, the second level, the third level and the fourth level respectively decreases in sequence, and the clarity includes resolution, bit rate and frame rate.

[0020] Optionally, determining the coding level according to the state level and feedback times of the network state further includes:

[0021] When the encoding level is at the third level, and when the status level is at least the second network level or the first network level for a third preset number of times in a row, the encoding level is increased to the second level.

[0022] Optionally, determining the coding level according to the state level and feedback times of the network state further includes:

[0023] When the encoding level is at the fourth level and when the status level is the first network level, the second network level or the third network level, the encoding level is increased to the third level.

[0024] Optionally, after responding to the encoding strategy instruction from the cloud vehicle machine service platform, the method further includes:

[0025] When the coding strategy instruction is a regional coding strategy, obtaining the current region of the vehicle;

[0026] The encoding level is determined according to the current area.

[0027] Optionally, obtaining the network status of the vehicle includes:

[0028] Obtaining network signal indicators at preset intervals, wherein the network signal indicators include network delay, packet loss rate, bandwidth, signal strength, and data transmission rate;

[0029] The network status is determined according to the network signal indicator.

[0030] On the other hand, the present invention also provides an adaptive coding system based on a cloud vehicle machine, including a cloud vehicle machine module and a service middle platform module. The cloud vehicle machine module is used to implement the adaptive coding method based on the cloud vehicle machine as described above, and the service middle platform module is used to perform protocol docking with the cloud vehicle machine module to synchronize the coding strategy. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] Figure 1 Schematic diagram of a flow chart of an adaptive encoding method based on a cloud vehicle machine according to an embodiment of the present invention;

[0032] Figure 2 It is a flowchart diagram of the refinement of step S300 of the cloud-based vehicle machine adaptive encoding method according to an embodiment of the present invention;

[0033] Figure 3 This is a schematic diagram of a detailed flow chart of step S310 of the cloud-based vehicle machine adaptive encoding method according to an embodiment of the present invention;

[0034] Figure 4 This is a flowchart diagram of a detailed step S320 of the cloud-based vehicle machine adaptive encoding method according to an embodiment of the present invention;

[0035] Figure 5 A gear adjustment diagram for adjusting the encoding level of the adaptive encoding method based on the cloud vehicle machine in an embodiment of the present invention. DETAILED DESCRIPTION

[0036] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the specific embodiments of the present invention are described in detail below in conjunction with the accompanying drawings. Although certain embodiments of the present invention are shown in the accompanying drawings, it should be understood that the present invention can be implemented in various forms and should not be interpreted as being limited to the embodiments described herein. On the contrary, these embodiments are provided to provide a more thorough and complete understanding of the present invention. It should be understood that the drawings and embodiments of the present invention are only for exemplary purposes and are not intended to limit the scope of protection of the present invention.

[0037] It should be understood that the various steps described in the method embodiments of the present invention may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.

[0038] The term "including" and its variations used in this document are open inclusions, that is, "including but not limited to". The term "based on" means "based at least in part on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one other embodiment"; the term "some embodiments" means "at least some embodiments"; the term "optionally" means "optional embodiments". Relevant definitions of other terms will be given in the following description. It should be noted that the concepts of "first", "second", etc. mentioned in the present invention are only used to distinguish different devices, modules or units, and are not used to limit the order or interdependence of the functions performed by these devices, modules or units.

[0039] It should be noted that the modifications of "one" and "plurality" mentioned in the present invention are illustrative rather than restrictive, and those skilled in the art should understand that, unless otherwise clearly indicated in the context, it should be understood as "one or more".

[0040] like Figure 1 As shown, an embodiment of the present invention provides an adaptive encoding method based on a cloud vehicle machine, comprising:

[0041] Step S100, in response to a coding strategy instruction from the cloud vehicle machine service platform, when the coding strategy instruction is a dynamic coding strategy, obtaining a coding scheme, wherein the coding scheme includes multiple coding levels, each coding level corresponding to a different clarity.

[0042] Specifically, due to the particularity of the cloud car machine, when a vehicle uses the cloud car machine, it is often in a driving state, resulting in frequent fluctuations in the network status. When the network fluctuates, if the audio and video streams pushed by the cloud car machine still have a high clarity, the audio and video streams received by the vehicle will be stuck or delayed, seriously affecting the user experience; when the network status improves, it is necessary to simultaneously improve the clarity of the audio and video stream push to improve the user experience.

[0043] In order to solve the above problem, in this embodiment, the coding strategy instruction is set by the user or determined by a preset coding strategy determination algorithm. When the coding strategy instruction is a dynamic coding strategy, the coding scheme represents a coding strategy adaptively determined according to the network status. Specifically, obtaining the coding scheme includes obtaining the definition corresponding to different coding levels, and using appropriate coding levels under various network conditions to ensure adaptation to complex network changes.

[0044] Step S200, obtaining the network status of the vehicle.

[0045] Specifically, the vehicle's network status is obtained once every preset time period. When the preset time period is too long, the frequency of adjusting the coding level is reduced accordingly. When the network status changes frequently, phenomena such as cloud car video freezing are prone to occur. When the preset time period is too short, although the frequency of adjusting the coding level can be increased accordingly, the network status frequency is updated too frequently, which will increase the operating pressure of the equipment, and when the coding level adjustment frequency is too fast, the effect is not significantly improved. It is necessary to determine an appropriate preset time period.

[0046] In one embodiment, the preset time length is 1-3 seconds. For example, when the preset time length is 2 seconds, the network status of the vehicle is obtained every 2 seconds to ensure accurate detection when the network status changes frequently, thereby improving the user experience.

[0047] Step S300: determining the coding level according to the state level and feedback times of the network state.

[0048] In one embodiment, the number of feedbacks is the number of consecutive detections of the same network state. For example, when the result of the network state is any state level, the number of feedbacks is 1; when the state results obtained by two consecutive detections are the same, it means that the number of feedbacks at this state level is 2. The higher the state level, the better the network in which the vehicle computer is located. The more feedbacks, the more stable the network in which the vehicle computer is located.

[0049] In one embodiment, the network status is quantified and divided into different levels to evaluate the quality of the acquired network status. When the network status is good, the status level is higher. When the network status is relatively stable, the number of feedbacks is relatively large. When the network status is good and stable, the encoding level is correspondingly increased, and the clarity of the audio and video streams decoded and pushed to the vehicle computer by the cloud vehicle computer service platform is the set maximum value, and the cloud vehicle computer will not be stuck. When the network status is good, the status level is relatively stable. At this time, the encoding level is adjusted to a level corresponding to the status level and the number of feedbacks, which is used to push higher-definition audio and video streams through the cloud vehicle computer service platform, and is used to push clearer audio and video streams when the network is good but not the best. When the network status is average, the status level may be stable or unstable. At this time, the encoding level is correspondingly adjusted to a lower level, which is used to keep the smoothness of the audio and video streams as much as possible, prevent stuck, and improve user experience.

[0050] When the network status obtained after a preset period of time improves, the encoding level is increased according to the status level and the status level of the subsequently obtained network status, so as to improve the clarity of the audio and video streams when the network improves, thereby improving the user experience.

[0051] Alternatively, if Figure 2 As shown, the state level includes an excellent level and a poor level, and determining the coding level according to the state level of the network state and the number of feedbacks includes:

[0052] Step S310: when the state level is the excellent level, the coding level is increased according to the state level and the number of feedbacks.

[0053] Step S320: when the state level is the poor level, lower the coding level according to the state level and the number of feedbacks.

[0054] In one embodiment, when the status level is excellent, it means that the current network status is good and the conditions for improving the encoding level are met. When the network status obtained several times later is excellent, the encoding level is improved according to the number of excellent feedbacks. The setting of the number of feedbacks is used to determine the stability of the current network status. In this embodiment, the encoding level will be improved only when the network status is good and the network is relatively stable. For example, when the status level is excellent and the first preset number of consecutive feedbacks are excellent, it means that the current network status is good and the network is relatively stable. The encoding level can be improved, and the audio and video stream with higher definition can be obtained through decoding on the cloud service platform and pushed to the vehicle to ensure user experience. When the number of excellent feedbacks is insufficient, the encoding level will not be changed temporarily, and the vehicle's network status will be obtained after waiting for a preset period of time.

[0055] In another embodiment, when the status level is poor, it means that the current network status is likely unable to receive the audio and video stream of the current coding level, or the current network status may not meet the minimum fluency of the audio and video, and the coding level is reduced according to the specific status of the poor level and the number of feedbacks. For example, when the obtained network status is a poor network level, it means that the current network status is poor, and the number of feedbacks is 1, that is, the coding level is reduced to ensure the fluency of the audio and video streams and prevent freezes.

[0056] In one embodiment, after obtaining the network status level, if the conditions for adjusting the coding level are met, the coding level is adjusted in the vehicle's computer, and the adjustment data is reported to the cloud computer service platform through the cloud computer SDK. The cloud computer service platform is generally located in the cloud to provide stable and high computing power, and decodes the audio and video streams according to the coding level and sends them to the vehicle's computer.

[0057] Alternatively, if Figure 3 and Figure 5 As shown, the superior level includes a first network level and a second network level, and the first network level is better than the second network level; when the state level is the superior level, improving the coding level according to the state level and the number of feedbacks includes:

[0058] Step S311: when the status level is the first network level for at least a first preset number of times in a row, the encoding level is changed to the first level.

[0059] Step S312: when the status level is the second network level for at least a second preset number of times in a row, change the encoding level to the second level.

[0060] Specifically, the network status of the first network level is the best and is better than that of the second network level.

[0061] In one embodiment, the priority level specifically includes two sub-levels, the first network level and the second network level, which are used to subdivide whether the network status can meet the highest definition requirement. When the network status level is the first network level, it means that the current network status can meet the highest definition requirement, and the stability of the current network needs to be further determined. When the status level obtained for at least the first preset number of times is the first network level, it means that the current network is very stable, and the encoding level is increased to the first level, wherein the first level represents the preset highest definition encoding level.

[0062] Optionally, the first preset number of times is 3 times.

[0063] In another embodiment, the second network level indicates that the current network status is good, but cannot meet the highest definition requirement, but can meet the higher definition requirement. In order to improve the user experience, this level is added to prevent the situation where the vehicle video is sometimes high-definition and sometimes blurry, thereby improving the user experience. When the status level is fed back as the second network level for at least the second preset number of consecutive times, the encoding level is changed to the second level. Since the current level may be lower than the second level or higher than the second level, when the second network level is fed back as the second preset number of consecutive times, no matter what the current level is, the encoding level is changed to the second level.

[0064] Optionally, the second preset number of times is 2 times.

[0065] In one embodiment, the first preset number of times and the second preset number of times can be set according to needs. In some usage scenarios, the first preset number of times and the second preset number of times have the same value.

[0066] Alternatively, if Figure 4 and Figure 5 As shown, the difference level includes a third network level and no network connection, and the third network level is better than the no network connection; when the state level is the difference level, reducing the coding level according to the state level and the feedback times includes:

[0067] Step S321: when the status level is the third network level, lower the encoding level to the third level.

[0068] Step S322: when the status level is no network connection, lower the encoding level to the fourth level.

[0069] Specifically, the network status of the third network level is worse than that of the second network level, but better than no network connection.

[0070] In one embodiment, the poor level indicates that the current network status is poor and cannot meet the clarity of the audio and video streams under the general encoding level, and the encoding level needs to be lowered. When the status level is the third network level, it means that the current status level cannot meet the general clarity encoding level and can only maintain the smoothness of the video to a minimum, or can only meet the push of the audio stream. At this time, the encoding level is reduced to the third level for the minimum playback of the cloud car machine push stream.

[0071] In another embodiment, when the status level is no network connection, it means that the network status is extremely poor or even disconnected. The fourth coding level is used to report to the cloud car machine service platform through the cloud car machine SDK. At the same time, a disconnection prompt is displayed on the vehicle's car machine page to prompt the user of the current network status.

[0072] Optionally, the clarity corresponding to the first level, the second level, the third level and the fourth level respectively decreases in sequence, and the clarity includes resolution, bit rate and frame rate.

[0073] In one embodiment, the first level of clarity includes 2K resolution, 2.5Mbps bit rate and 60fps frame rate; the second level of clarity includes 1080P resolution, 2Mbps bit rate and 30fps frame rate; the third level of clarity includes 720P resolution, 1.5Mbps bit rate and 25fps frame rate; the fourth level corresponds to a poor network status, and the video stream is not displayed. The car computer page displays a prompt to prompt the user of the current network status.

[0074] In another embodiment, the resolution and bit rate of the first level, the second level, the third level and the fourth level remain unchanged, and only the frame rate changes; in yet another embodiment, the resolution of the four levels changes, and the bit rate and frame rate remain unchanged; in other embodiments, at least two of the resolution, bit rate and frame rate of different levels change with the change of level.

[0075] In other embodiments, four levels of clarity parameters may be set according to actual needs.

[0076] Alternatively, if Figure 5 As shown, determining the coding level according to the state level and feedback times of the network state also includes:

[0077] When the encoding level is at the third level, and when the status level is at least the second network level or the first network level for a third preset number of times in a row, the encoding level is increased to the second level.

[0078] In one embodiment, when the encoding level is at the third level, that is, the previous network status was poor, when the status level is the second network level for at least the third preset number of times in a row, it means that the network status is relatively stable and the network speed is relatively ideal, and the encoding level is increased to the second level, so that the audio and video streams pushed by the cloud car service platform to the vehicle's car computer are clearer; when the result is the first network level at least once, it means that the network speed is high, and in the case of unstable network, there is a higher probability that a clearer audio and video stream can be received smoothly. In this case, the encoding level is increased to the second level.

[0079] In some embodiments, the third preset number of times and the second preset number of times are equal.

[0080] Alternatively, if Figure 5 As shown, determining the coding level according to the state level and feedback times of the network state also includes:

[0081] When the encoding level is at the fourth level, and when the status level is the first network level, the second network level, or the third network level, the encoding level is increased to the third level.

[0082] In one embodiment, when the coding level is at the fourth level, when the status level is any result except disconnection, it means that there is a network connection at present, and the coding level can be upgraded. In this case, the coding level is upgraded to the third level to at least guarantee the transmission of the vehicle video stream. After upgrading to the third level, if the first network level is fed back three times in a row, the coding level can be directly upgraded to the first level; if the second network level is fed back two times in a row, the coding level can be upgraded to the second level; when the coding level is the first level, the second level or the third level, if the status level shows no network connection once, the coding level is lowered to the fourth level; when the coding level is the first level, the second level and the fourth level, if the status level shows the third network level once, the coding level is changed to the third level.

[0083] Optionally, after responding to the encoding strategy instruction from the cloud vehicle machine service platform, the method further includes:

[0084] When the coding strategy instruction is a regional coding strategy, obtaining the current region of the vehicle;

[0085] The encoding level is determined according to the current area.

[0086] In one embodiment, the audio and video streaming strategy level is determined by the regional coding strategy. The region is divided into multiple sub-regions according to the map, and the network status level of the sub-region adjacent to the current position of the vehicle or each sub-region is determined at a preset time interval. When the vehicle enters different sub-regions, the coding level is determined according to the network status level and the number of continuous feedbacks.

[0087] Optionally, the network status of the sub-area adjacent to the sub-area where the vehicle is located is obtained at preset time intervals, and the relationship between the network status and the number of feedbacks and the encoding level is consistent with the above-mentioned dynamic encoding strategy.

[0088] Optionally, obtaining the network status of the vehicle includes:

[0089] Obtaining network signal indicators at preset intervals, wherein the network signal indicators include network delay, packet loss rate, bandwidth, signal strength, and data transmission rate;

[0090] The network status is determined according to the network signal indicator.

[0091] Another embodiment of the present invention provides an adaptive coding system based on a cloud vehicle machine, including a cloud vehicle machine module and a service middle platform module. The cloud vehicle machine module is used to implement the adaptive coding method based on the cloud vehicle machine as described above, and the service middle platform module is used to perform protocol docking with the cloud vehicle machine module to synchronize the coding strategy.

[0092] The beneficial effects of the adaptive encoding method system based on the cloud vehicle machine relative to the prior art are the same as those of the adaptive encoding method based on the cloud vehicle machine, which will not be repeated here.

[0093] Another embodiment of the present invention provides an adaptive encoding method device based on a cloud vehicle machine, comprising a computer-readable storage medium storing a computer program and a processor. When the computer program is read and executed by the processor, the adaptive encoding method based on a cloud vehicle machine as described above is implemented.

[0094] The beneficial effects of the adaptive encoding method and device based on the cloud vehicle machine relative to the prior art are the same as those of the adaptive encoding method based on the cloud vehicle machine, which will not be repeated here.

[0095] Another embodiment of the present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the above-mentioned cloud-based vehicle-machine adaptive encoding method is implemented.

[0096] An electronic device that can be used as a server or client of the present invention will now be described, which is an example of a hardware device that can be applied to various aspects of the present invention. Electronic devices are intended to represent various forms of digital electronic computer devices, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. Electronic devices can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.

[0097] The electronic device includes a computing unit, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) or a computer program loaded from a storage unit into a random access memory (RAM). In the RAM, various programs and data required for the operation of the device can also be stored. The computing unit, ROM and RAM are connected to each other through a bus. An input / output (I / O) interface is also connected to the bus.

[0098] A computer system may include clients and servers. Clients and servers are generally remote from each other and typically interact through a communication network. The relationship of client and server arises through computer programs running on the respective computers and having a client-server relationship to each other.

[0099] A person of ordinary skill in the art can understand that the implementation of all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the storage medium can be a disk, an optical disk, a read-only memory (ROM) or a random access memory (RAM), etc. In the present application, the unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, which may be located in one place or distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment of the present invention. In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of a software functional unit.

[0100] Although the present invention is disclosed as above, the protection scope of the present invention is not limited thereto. Those skilled in the art may make various changes and modifications without departing from the spirit and scope of the present invention, and these changes and modifications will fall within the protection scope of the present invention.

Claims

1. An adaptive coding method based on cloud vehicle machine, It is characterized in that include: In response to a coding strategy instruction from the cloud vehicle machine service platform, when the coding strategy instruction is a dynamic coding strategy, obtaining a coding scheme, wherein the coding scheme includes a plurality of coding levels, each of the coding levels corresponding to a different definition; Get the network status of the vehicle; The coding level is determined according to the state level of the network state and the number of feedbacks.

2. The adaptive encoding method based on cloud vehicle machine according to claim 1, It is characterized in that The state level includes an excellent level and a poor level; and determining the coding level according to the state level of the network state and the number of feedbacks includes: When the state level is the excellent level, improving the encoding level according to the state level and the number of feedbacks; When the state level is the poor level, the encoding level is reduced according to the state level and the number of feedback times.

3. The adaptive encoding method based on cloud vehicle machine according to claim 2, It is characterized in that The priority level includes a first network level and a second network level, wherein the first network level is superior to the second network level; When the state level is the excellent level, improving the coding level according to the state level and the number of feedbacks includes: When the state level is the first network level for at least a first preset number of consecutive times, changing the encoding level to the first level; When the status level is the second network level for at least a second preset number of times in a row, the encoding level is changed to the second level.

4. The adaptive encoding method based on cloud vehicle machine according to claim 3, It is characterized in that The difference level includes a third network level and no network connection, and the third network level is better than the no network connection; when the state level is the difference level, reducing the coding level according to the state level and the number of feedbacks includes: When the status level is the third network level, lowering the encoding level to the third level; When the status level is the no network connection, the encoding level is reduced to the fourth level.

5. The adaptive encoding method based on cloud vehicle machine according to claim 4, It is characterized in that The clarity corresponding to the first level, the second level, the third level and the fourth level respectively decreases in sequence, and the clarity includes resolution, bit rate and frame rate.

6. The adaptive encoding method based on cloud vehicle machine according to claim 4, It is characterized in that The determining the coding level according to the state level and the number of feedbacks of the network state further comprises: When the encoding level is at the third level, and when the status level is at least the second network level or the first network level for a third preset number of times in a row, the encoding level is increased to the second level.

7. The adaptive encoding method based on cloud vehicle machine according to claim 4, It is characterized in that The determining the coding level according to the state level and the number of feedbacks of the network state further comprises: When the encoding level is at the fourth level, and when the status level is the first network level, the second network level, or the third network level, the encoding level is increased to the third level.

8. The adaptive encoding method based on cloud vehicle machine according to claim 1, It is characterized in that After responding to the coding strategy instruction from the cloud vehicle machine service platform, it also includes: When the coding strategy instruction is a regional coding strategy, obtaining the current region of the vehicle; The encoding level is determined according to the current area.

9. The adaptive encoding method based on cloud vehicle machine according to claim 1, It is characterized in that The obtaining of the network status of the vehicle comprises: Obtaining network signal indicators at preset intervals, wherein the network signal indicators include network delay, packet loss rate, bandwidth, signal strength, and data transmission rate; The network status is determined according to the network signal indicator.

10. An adaptive coding system based on cloud vehicle machine, It is characterized in that It includes a cloud vehicle machine module and a service middle platform module. The cloud vehicle machine module is used to implement the adaptive coding method based on the cloud vehicle machine as described in any one of claims 1-9, and the service middle platform module is used to perform protocol docking with the cloud vehicle machine module to synchronize the coding strategy.

Citation Information

Cited By

  • Streaming media coding adjustment method and device, electronic equipment and storage medium

    CN119544687A