A strategy sending method, device, equipment and readable storage medium

By obtaining the parameters and scores of the terminal equipment, determining its grading and sending targeted processing strategies, the problem of low data processing efficiency caused by the performance of different equipment is solved, and more efficient data processing and equipment operation efficiency is achieved.

CN117743113BActive Publication Date: 2024-12-24SHUXING TECH (BEIJING) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310192659.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-02-24
Publication Date
2024-12-24
Estimated Expiration
2043-02-24

AI Technical Summary

Technical Problem

In the prior art, different performances of terminal devices lead to low efficiency when processing the same data, lack of targeted processing strategies, and cannot fully utilize the computing power of each device.

Method used

By obtaining the device parameters and device scores of the terminal device, determining its hierarchical information, and sending targeted processing strategies based on the hierarchical information, the terminal device uses a suitable processing strategy for data processing.

Benefits of technology

It improves data processing efficiency, ensures that high-performance equipment fully utilizes its computing power, and the smooth operation of low-performance equipment functions, and improves the overall operating efficiency of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117743113B_ABST
    Figure CN117743113B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses a strategy sending method, apparatus, device and readable storage medium, wherein the method includes: obtaining device parameters of a terminal device, the device parameters are used to reflect the device performance of the terminal device; obtaining a device score for the terminal device, the device score is obtained based on the performance of the terminal device evaluated by a scoring device; determining the classification information of the terminal device based on the device parameters of the terminal device and the device score of the terminal device; determining a target processing strategy for the terminal device based on the classification information of the terminal device, and sending the target processing strategy to the terminal device, so that the terminal device adopts the target processing strategy for data processing. By adopting the embodiment of the present application, targeted data processing can be achieved and data processing efficiency can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a policy sending method, device, equipment and readable storage medium. Background Art

[0002] As the performance of terminal devices becomes higher and higher, terminal devices carry more and more complex algorithms, such as encoding, decoding, artificial intelligence processing, etc. Different services and algorithms have different performance consumption on terminal devices. The performance of terminal devices is different. When different terminal devices need to process the same data, the corresponding data processing situations are different.

[0003] Currently, the same processing strategy is used for data processing in multiple terminal devices. Due to the different performances of various terminal devices, this processing strategy is not targeted and cannot achieve targeted data processing, thereby reducing data processing efficiency. Summary of the invention

[0004] The embodiments of the present application provide a policy sending method, apparatus, device and readable storage medium, which can realize targeted data processing and improve data processing efficiency.

[0005] In a first aspect, the present application provides a policy sending method, comprising:

[0006] Obtaining device parameters of a terminal device, where the device parameters are used to reflect the device performance of the terminal device;

[0007] Obtaining a device score for the terminal device, where the device score is obtained based on an evaluation of the performance of the terminal device by a scoring device;

[0008] Determine the classification information of the terminal device based on the device parameters of the terminal device and the device score of the terminal device;

[0009] A target processing strategy for the terminal device is determined based on the classification information of the terminal device, and the target processing strategy is sent to the terminal device so that the terminal device adopts the target processing strategy to perform data processing.

[0010] In a second aspect, the present application provides a policy sending device, characterized in that the device includes:

[0011] A parameter acquisition unit, used to acquire device parameters of a terminal device, where the device parameters are used to reflect the device performance of the terminal device;

[0012] A score acquisition unit, used to acquire a device score for the terminal device, where the device score is obtained based on an evaluation of the performance of the terminal device by a scoring device;

[0013] A rating determination unit, configured to determine rating information of the terminal device based on a device parameter of the terminal device and a device score of the terminal device;

[0014] The policy determination unit is used to determine a target processing policy for the terminal device based on the classification information of the terminal device, and send the target processing policy to the terminal device so that the terminal device adopts the target processing policy to process data.

[0015] In conjunction with the second aspect, in a possible implementation manner, the device parameter includes a performance parameter of the terminal device and a service indicator parameter of the terminal device in M ​​scenarios, the performance parameter is used to reflect the device attribute of the terminal device, and the service indicator parameter is used to reflect the service processing performance of the terminal device in M ​​scenarios; the grading determination unit is specifically used to:

[0016] Based on the performance parameters of the terminal device, the service indicator parameters of the terminal device in M ​​scenarios and the device score of the terminal device, the classification information of the terminal device is determined.

[0017] In conjunction with the second aspect, in a possible implementation manner, the grade determination unit is specifically configured to:

[0018] Determine a first score for the terminal device based on the performance parameter of the terminal device;

[0019] Determine, based on the service indicator parameters of the terminal device in the M scenarios, a second score of the terminal device in the M scenarios;

[0020] Based on the first score, the second score and the device score, the rating information of the terminal device is determined.

[0021] In conjunction with the second aspect, in a possible implementation manner, the number of the terminal devices is N; and the grading determination unit is specifically configured to:

[0022] Based on the first score, the second score and the device score, determine device scores of the N terminal devices respectively, and add the device scores of the N terminal devices to the device performance table;

[0023] The classification information of the N terminal devices is determined based on the device performance table.

[0024] In conjunction with the second aspect, in a possible implementation manner, the number of the terminal devices is N, and the classification information of the N terminal devices includes classification information of the N terminal devices in M ​​scenarios; the classification determination unit is specifically used to:

[0025] Based on the first score, the second score and the device score, respectively determine the scenario scores of the N terminal devices in the M scenarios, where one terminal device corresponds to the M scenario scores;

[0026] Add the scenario scores of the N terminal devices in the M scenarios to the scenario performance table;

[0027] Based on the scenario performance table, the classification information of the N terminal devices in the M scenarios is determined.

[0028] In conjunction with the second aspect, in a possible implementation manner, the M scenarios include a coding scenario, the terminal device includes a first terminal device and a second terminal device; and the policy determination unit is specifically configured to:

[0029] If the rating information of the first terminal device belongs to the first level, when the target video data is acquired, a first processing strategy is determined based on the target video data and the first level, and the first processing strategy is determined as the target processing strategy for the terminal device, and the first processing strategy includes a first frame rate, a first resolution, and a first encoding parameter;

[0030] If the rating information of the second terminal device belongs to the second level, then when the target video data is obtained, a second processing strategy is determined based on the target video data and the second level, and the second processing strategy is determined as the target processing strategy for the terminal device. The second processing strategy includes a second frame rate, a second resolution, and second encoding parameters. The first level is higher than the second level, the first frame rate is greater than the second frame rate, and the first resolution is greater than the second resolution.

[0031] In conjunction with the second aspect, in a possible implementation manner, the M scenarios further include a rendering scenario, and the strategy determination unit is specifically configured to:

[0032] If the rating information of the first terminal device belongs to the first level, when the target video data is acquired, a third processing strategy is determined based on the target video data and the first level, and the third processing strategy is determined as the target processing strategy for the terminal device, and the third processing strategy includes a third frame rate and a third resolution;

[0033] If the rating information of the second terminal device belongs to the second level, then when the target video data is obtained, a fourth processing strategy is determined based on the target video data and the second level, and the fourth processing strategy is determined as the target processing strategy for the terminal device. The fourth processing strategy includes a fourth frame rate and a fourth resolution. The third frame rate is greater than the fourth frame rate, and the third resolution is greater than the fourth resolution.

[0034] In a third aspect, the present application provides a computer device, including: a processor, a memory, and a network interface;

[0035] The processor is connected to a memory and a network interface, wherein the network interface is used to provide a data communication function, the memory is used to store a computer program code, and the processor is used to call the computer program code so that a computer device including the processor executes the policy sending method.

[0036] In a fourth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored. The computer program is suitable for being loaded and executed by a processor so that a computer device having the processor executes the above-mentioned policy sending method.

[0037] In a fifth aspect, the present application provides a computer program product or a computer program, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the policy sending method provided in various optional ways in the first aspect of the present application.

[0038] In an embodiment of the present application, by obtaining the device parameters of the terminal device and the device score of the terminal device, the classification information of the terminal device can be determined based on the device parameters of the terminal device and the device score of the terminal device; based on the classification information of the terminal device, a target processing strategy for the terminal device is determined, and the target processing strategy is sent to the terminal device, so that the terminal device adopts the target processing strategy for data processing. Since the terminal devices are classified in combination with the device performance of the terminal devices and the performance evaluation of the terminal devices by the scoring device, that is, the terminal devices are classified from different dimensions, the obtained classification information can more accurately reflect the performance of the terminal devices, thereby improving the accuracy of the device classification. By grading the terminal devices in combination with the performance of the terminal devices, for high-performance terminal devices, the computing power can be exerted to achieve better results. For low-performance terminal devices, the functions of the terminal devices can be allowed to run smoothly, improving the operating efficiency of the devices. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0040] Figure 1 This is a network architecture diagram of a policy sending system provided in an embodiment of the present application;

[0041] Figure 2It is a flowchart of a strategy sending method provided in an embodiment of the present application;

[0042] Figure 3 It is a flowchart of another strategy sending method provided in an embodiment of the present application;

[0043] Figure 4 It is a schematic diagram of the composition structure of a strategy sending device provided in an embodiment of the present application;

[0044] Figure 5 It is a schematic diagram of the composition structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0045] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0046] In some possible scenarios, due to the rapid development of terminal devices, there are large differences in the performance of different terminal devices, and the terminal devices carry many complex algorithms, such as encoding, decoding, artificial intelligence processing, and so on. Different services and algorithms have different performance consumption on terminal devices. For high-performance devices, it is necessary to give full play to the computing power to achieve better results. For low-performance devices, some methods need to be used to allow the functions on the terminal devices to run smoothly. In view of this, the technical solution of the present application provides a policy sending method, which can fully evaluate the performance of any terminal device, and classify the performance of the terminal device according to the evaluation results, and send different processing strategies to terminal devices of different grades for targeted data processing, so that each terminal device can play a better role, thereby improving the data processing efficiency of the terminal device.

[0047] Please refer to Figure 1 , Figure 1 is a network architecture diagram of a policy sending system provided in an embodiment of the present application, such as Figure 1 As shown, the computer device can exchange data with the terminal device, and the number of the terminal devices can be one or at least two. For example, when the number of the terminal devices is multiple, the terminal device may include Figure 1The terminal device 101a, the terminal device 101b and the terminal device 101c in the embodiment of the present invention are as follows. Taking the terminal device 101a as an example, the computer device 102 can obtain the device parameters of the terminal device 101a and the device score of the terminal device 101a, and determine the classification information of the terminal device 101a based on the device parameters of the terminal device 101a and the device score of the terminal device 101a. Further, the computer device 102 can also determine the target processing strategy for the terminal device 101a based on the classification information of the terminal device 101a, and send the target processing strategy to the terminal device 101a, so that the terminal device 101a adopts the target processing strategy for data processing. It can be understood that here, an example is given for any terminal device such as the terminal device 101a. For multiple terminal devices such as the terminal device 101b, the terminal device 101c, etc., the processing method of the terminal device 101a can be referred to, so as to determine the processing strategy of each terminal device in the multiple terminal devices, so as to adopt their respective processing strategies for data processing.

[0048] The computer device mentioned in the embodiments of the present application may refer to a server or a terminal device, or may also be a system composed of a server and a terminal device, which is not limited in the embodiments of the present application. The terminal device may be an electronic device, including but not limited to a mobile phone, a tablet computer, a laptop computer, a vehicle-mounted device, etc. The server mentioned above may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, vehicle-road collaboration, content delivery networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms. When the server is an independent physical server, the server can independently send policies. When the server is multiple physical servers, multiple physical servers can collaborate to send policies and other processing.

[0049] For further information, see Figure 2 , Figure 2 is a flow chart of a strategy sending method provided in an embodiment of the present application; Figure 2 As shown, the policy sending method can be applied to a computer device, and the policy sending method includes but is not limited to the following steps:

[0050] S101, obtaining device parameters of a terminal device.

[0051] The technical solution of the present application can be applied to various scenarios where data processing is required using a terminal device, for example, including but not limited to encoding, decoding, editing, rendering and other scenarios. By determining the performance of the terminal device and combining the device score of the terminal device, the classification information of the terminal device can be determined, so that a target processing strategy corresponding to the classification information can be sent to the terminal device according to the classification information of the terminal device. For example, the target processing strategy may include parameters such as the maximum frame rate, maximum resolution, and encoding parameters in the encoding scenario, so that the terminal device can perform data encoding processing based on various parameters in the target processing strategy (such as maximum frame rate, maximum resolution, encoding parameters, etc.). The target processing strategy can also include parameters in scenarios such as decoding, editing, and rendering, so as to perform corresponding data processing based on the parameters in various scenarios.

[0052] In the embodiment of the present application, the computer device can obtain the device parameters uploaded by the terminal device, or download the device parameters of the terminal device from the device information library, or can also obtain the device parameters of the terminal device from a third-party device. The embodiment of the present application does not limit the method for obtaining the device parameters of the terminal device. Among them, the device parameters are used to reflect the device performance of the terminal device. The device parameters may include but are not limited to the device model, chip model, central processing unit (CPU), graphics processing unit (GPU), memory, display, IO (input / output port), first screen duration, freeze rate, frame loss rate and other information of the terminal device. The memory may include random access memory (RAM) and read-only memory (ROM).

[0053] In an embodiment of the present application, by obtaining the device parameters of the terminal device, the performance of the terminal device can be judged based on the device parameters of the terminal device, and finally the processing strategy for the terminal device can be determined, so as to perform targeted data processing. For example, for high-performance devices, the computing power can be exerted to a greater extent to achieve better results; for low-performance devices, some degradation methods can be used to allow the device functions to run smoothly and improve the user experience of the device. Computing power can refer to computing power, that is, the ability of the terminal device to process data. The higher the computing power, the stronger the computing power of the terminal device and the faster the computing speed.

[0054] In one embodiment, the device parameters of the terminal device include performance parameters of the terminal device and business indicator parameters of the terminal device in M ​​scenarios. The performance parameters are used to reflect the device attributes of the terminal device. For example, the device attributes may include but are not limited to the device model, chip model, CPU, GPU, memory, display, IO and other device attributes of the terminal device. That is, the device attributes may refer to the inherent characteristics of the terminal device when it leaves the factory.

[0055] Optionally, the device attributes may also refer to the device attributes of the current terminal device. Since the terminal device may have been put into use during the period from leaving the factory to determining the classification information of the terminal device, some device attributes of the terminal device may change. For example, when a large amount of data is stored in the terminal device, the current available memory of the terminal device will decrease. At this time, the device attributes of the terminal device may refer to the current device attributes, which is not limited in the embodiments of the present application. Furthermore, the business indicator parameters can be used to reflect the business processing performance of the terminal device in M ​​scenarios.

[0056] In an embodiment of the present application, the business indicator parameters included in each scenario may be different. For example, the business indicator parameters in the encoding scenario may include but are not limited to encoding time and CPU occupancy. The business indicator parameters in the decoding scenario may include but are not limited to first screen time, freeze rate, and frame loss rate. The first screen time may refer to the time from clicking on the video to displaying the first frame of video data on the display screen of the terminal device. The decoding scenario may also refer to the video playback scenario. The business indicator parameters in the rendering scenario may include but are not limited to freeze rate and frame loss rate.

[0057] It can be understood that in the decoding and encoding scenario, the longer the first screen time is, the lower the performance of the terminal device's service indicator is; the higher the freeze rate, the lower the performance of the terminal device's service indicator is; the higher the frame loss rate, the lower the performance of the terminal device's service indicator is. In the encoding scenario, the longer the encoding time is, the lower the performance of the terminal device's service indicator is; the greater the CPU usage is, the lower the performance of the terminal device's service indicator is, and so on. Optionally, the same data can be obtained, and each terminal device can perform the same processing on the same data, thereby statistically analyzing the parameters of the data processing by each terminal device and determining the various service indicator parameters of each terminal device in each scenario.

[0058] S102: Obtain a device score for the terminal device.

[0059] In an embodiment of the present application, the computer device can obtain a device score for the terminal device from the scoring device, and the device score is obtained based on the scoring device evaluating the performance of the terminal device. In an optional implementation, the terminal device can perform data processing on various data, and the scoring device can evaluate the device performance of the terminal device during the data processing process to obtain the device score.

[0060] Optionally, when evaluating the terminal device to obtain the device score, the scoring device can traverse the device score table, search the device score table for a device score that matches the model of the terminal device or the performance parameters of the terminal device in M ​​scenarios, and then send the device score to the computer device to obtain the device score for the terminal device.

[0061] In one embodiment, the terminal device can perform corresponding data processing in M ​​scenarios respectively, and the scoring device can score the corresponding data processing performed by the terminal device in the M scenarios to obtain a device score, where M is a positive integer. The M scenarios may include but are not limited to data encoding, decoding, rendering, and other scenarios.

[0062] For example, in a data encoding scenario, the terminal device can encode data (such as video data), and the scoring device can score the performance parameters of the terminal device during the data encoding process, such as device hard / soft coding, CPU performance, GPU performance, memory performance, display performance, etc., to obtain the device score of the terminal device in the data encoding scenario. Alternatively, in a data decoding scenario, the terminal device can decode data (such as video data), and the scoring device can score the performance parameters of the terminal device during the data decoding process, such as device hard / soft decoding, CPU performance, GPU performance, memory performance, display performance, etc., to obtain the device score of the terminal device in the data decoding scenario. Alternatively, in a data rendering scenario, the terminal device can render data (such as video data), and the scoring device can score the performance parameters of the terminal device during the data rendering process, such as CPU performance, GPU performance, memory performance, display performance, etc., to obtain the device score of the terminal device in the data rendering scenario.

[0063] Optionally, a software development kit (SDK) for a terminal device may be collected in real time, thereby obtaining an SDK score for the terminal device as a device score for the terminal device. By obtaining the SDK score for the terminal device in real time, the device score for the terminal device is obtained in real time. Different SDK scores may be included for different scenarios.

[0064] In an optional implementation, when any video data is obtained, the terminal device can be used to encode, decode, render, and other processes the video data, thereby obtaining the device score of the terminal device in each scenario, as well as the business indicator parameters of the terminal device in each scenario.

[0065] S103, determining the classification information of the terminal device based on the device parameters of the terminal device and the device score of the terminal device.

[0066] In the embodiment of the present application, since the device parameters of the terminal device and the device score of the terminal device are obtained, the computer device can determine the classification information of the terminal device based on the device parameters of the terminal device and the device score of the terminal device. The classification information of the terminal device can be used to reflect the performance level of the terminal device. For example, the classification information may include the first level, the second level, and the third level, etc. The performance of the terminal device at the first level is higher than the performance of the terminal device at the second level, and the performance of the terminal device at the second level is higher than the performance of the terminal device at the third level. The higher the performance of the terminal device, the stronger the corresponding data processing capability and the faster the data processing speed.

[0067] Optionally, a correspondence between the device score and the grading information can be pre-set, so that when the device score of the terminal device is obtained, the grading information corresponding to the device score can be obtained based on the correspondence, so that the grading information is determined as the grading information of the terminal device. By pre-setting the correspondence between the device score and the grading information, it can be directly obtained and used later, which can improve data processing efficiency.

[0068] Optionally, the computer device may determine a parameter score of the terminal device according to the device parameters of the terminal device, obtain an overall score of the terminal device according to the parameter score and the device score of the terminal device, and further determine the classification information of the terminal device according to the overall score of the terminal device. For example, the sum of the parameter score and the device score of the terminal device may be determined as the overall score of the terminal device, or the average value between the parameter score and the device score of the terminal device may be determined as the overall score of the terminal device, and so on.

[0069] In one embodiment, since the device parameters of the terminal device include the performance parameters of the terminal device and the business indicator parameters of the terminal device in M ​​scenarios, the classification information of the terminal device can be determined based on the performance parameters of the terminal device, the business indicator parameters of the terminal device in M ​​scenarios and the device score of the terminal device.

[0070] Specifically, for example, the grading information of the terminal device can be determined from a table of correspondences between performance parameters, business indicator parameters, device scores, and grading information. The correspondence table includes correspondences between a variety of performance parameters, business indicator parameters, device scores, and grading information. When the performance parameters, business indicator parameters, and device scores of the terminal device are determined, the matching grading information can be determined from the correspondence table based on the performance parameters, business indicator parameters, and device scores of the terminal device. By evaluating the terminal device from three aspects, namely, the performance parameters, business indicator parameters, and device scores of the terminal device, and determining the grading information of the terminal device, the accuracy of grading determination can be improved, thereby improving the accuracy of subsequent data processing.

[0071] Furthermore, the computer device can determine a first score for the terminal device based on the performance parameters of the terminal device; determine a second score for the terminal device in M ​​scenarios based on the business indicator parameters of the terminal device in M ​​scenarios; and determine the classification information of the terminal device based on the first score, the second score and the device score.

[0072] Specifically, the computer device may obtain a first score corresponding to the performance parameter of the terminal device from the performance parameter table, and obtain a second score corresponding to the business indicator parameter of the terminal device in M ​​scenarios from the business indicator parameter table, thereby combining the first score, the second score and the device score to determine the classification information of the terminal device. The performance parameter table may include a correspondence between multiple performance parameters and scores, and the business indicator parameter may include a correspondence between business indicator parameters and scores in multiple scenarios.

[0073] Optionally, the first score, the second score and the device score may be normalized respectively, and the classification information of the terminal device may be determined based on the normalized first score, the second score and the device score. By performing the normalization process, the first score, the second score and the device score may be converted to the range of [0,1], so that when the classification information is determined based on the normalized scores, the amount of calculation may be reduced and the calculation accuracy may be improved.

[0074] If the number of terminal devices is one, the above method can be used to calculate the classification information of the terminal device, and then the processing strategy of the terminal device can be determined based on the classification information of the terminal device. If the number of terminal devices is multiple, the above method can be used to process each of the multiple terminal devices to obtain the classification information of each terminal device, and then determine the processing strategy of each terminal device.

[0075] Optionally, when the number of terminal devices is N, N is a positive integer, a device performance table may be constructed to determine the grading information of the terminal devices from the device performance table, and the device performance table may reflect the performance of the terminal devices as a whole. Specifically, the computer device may determine the device scores of the N terminal devices based on the first score, the second score, and the device score, respectively, and add the device scores of the N terminal devices to the device performance table; and determine the grading information of the N terminal devices based on the device performance table.

[0076] Optionally, the average of the first score, the second score and the device score of each terminal device in the N terminal devices can be calculated, and the average value is determined as the device score of each terminal device. Alternatively, the first weight for the performance parameters of the terminal device, the second weight for the business indicator parameters of the terminal device, and the third weight corresponding to the device score can also be determined based on the business scenario, and the classification information of each terminal device is determined based on the first weight, the first score, the second weight, the second score, the third weight and the device score, which is not limited in the embodiment of the present application. The business scenario can be used to reflect the specific business type. For example, in some business scenarios, the attention to the performance parameters of the terminal device is higher, and the first weight is greater than the second weight and the third weight. In some business scenarios, the attention to the business indicator parameters of the terminal device is higher, and the second weight is greater than the first weight and the third weight. In some business scenarios (for example, when the scoring device is a designated device such as a device with higher authority), the attention to the device score of the terminal device is higher, and the third weight is greater than the first weight and the second weight, which is not limited in the embodiment of the present application.

[0077] Since the device performance table of the terminal device is obtained, the performance of the terminal device can be reflected as a whole through the device performance table. Therefore, the terminal device can be graded as a whole based on the device performance table to obtain the grading information of the terminal device, that is, the grading information can reflect the performance score of the terminal device as a whole.

[0078] Optionally, a scenario performance table may be constructed to determine the classification information of the terminal device from the scenario performance table. The scenario performance table may reflect the performance of the terminal device in the scenario. The classification information of N terminal devices includes the classification information of N terminal devices in M ​​scenarios. Specifically, the computer device may determine the scenario scores of the N terminal devices in M ​​scenarios based on the first score, the second score, and the device score, respectively, where one terminal device corresponds to M scenario scores; add the scenario scores of the N terminal devices in M ​​scenarios to the scenario performance table; and determine the classification information of the N terminal devices in M ​​scenarios based on the scenario performance table.

[0079] Optionally, the sum of the first score, the second score and the device score of each terminal device may be determined as the scenario score of each terminal device in M ​​scenarios. Alternatively, the average of the first score, the second score and the device score of each terminal device may be determined as the scenario score of each terminal device in M ​​scenarios.

[0080] In the embodiment of the present application, by obtaining the scenario score of each terminal device in each scenario, the scenario score of each terminal device in M ​​scenarios can be determined, and then the scenario scores of N terminal devices in M ​​scenarios can be determined. Therefore, when determining the rating information of N terminal devices in any scenario, the rating information corresponding to the scenario score can be obtained from the corresponding scenario performance table as the rating information of the terminal device in the scenario.

[0081] Optionally, the number of scene performance tables may be one or more. If the number of scene performance tables is one, the scene performance table may include M scenes, as well as the scene score and grading information for each scene. If the number of scene performance tables is multiple, such as N, each scene performance table may include a scene, as well as the scene score and grading information for that scene. For example, the scene performance table may include, but is not limited to, a coding capability table, a decoding capability table, and a rendering capability table. The coding capability table of the terminal device may reflect the performance score of the terminal device in coding, the decoding capability table of the terminal device may reflect the performance score of the terminal device in decoding, and the rendering capability table of the terminal device may reflect the performance score of the terminal device in rendering. Since the scene performance table of the terminal device is obtained, the performance of the terminal device in each scene can be reflected through the scene performance table, and the terminal device in each scene can be graded based on the scene performance table to obtain the grading information of the terminal device.

[0082] That is to say, the embodiments of the present application can perform overall performance grading of terminal devices based on the device performance table of each terminal device, or can use any one of the scenario performance tables of each terminal device, such as the encoding capability table, the decoding capability table, and the rendering capability table, to grade the individual capabilities of the terminal devices. In the specific implementation, the corresponding performance table can be selected to grade the terminal devices according to the specific scenarios and requirements, and the embodiments of the present application are not limited to this.

[0083] In the embodiment of the present application, since the performance table of each terminal device in each scenario is determined, that is, the performance status of each terminal device can be reflected, each terminal device can be graded based on the performance table of each terminal device, and thus based on the determination of the grade of each terminal device, the corresponding processing strategy can be subsequently determined based on the grade information of the terminal device, so as to perform corresponding data processing.

[0084] S104, determining a target processing strategy for the terminal device based on the classification information of the terminal device, and sending the target processing strategy to the terminal device, so that the terminal device adopts the target processing strategy to perform data processing.

[0085] In the embodiment of the present application, since the classification information of the terminal device is determined, that is, the performance of the terminal device is determined, the corresponding target processing strategy can be determined according to the performance of the terminal device. Optionally, a corresponding processing strategy can be set in advance for each classification information. When the classification information of the terminal device is determined, the processing strategy corresponding to the classification information can be determined as the target processing strategy, and then the target processing strategy is sent to the terminal device so that the terminal device adopts the target processing strategy for data processing. Among them, the target processing strategy can include processing parameters under M scenarios. When the terminal device performs data processing in each scenario, the processing parameters under each scenario can be used to perform corresponding data processing.

[0086] In one embodiment, the M scenarios include a coding scenario, and the terminal device includes a first terminal device and a second terminal device; then the method for determining a target processing strategy for the terminal device based on the classification information of the terminal device may include:

[0087] If the classification information of the first terminal device belongs to the first level, then when the target video data is obtained, the first processing strategy is determined based on the target video data and the first level, and the first processing strategy is determined as the target processing strategy for the terminal device. The first processing strategy includes a first frame rate, a first resolution, and a first encoding parameter.

[0088] If the classification information of the second terminal device belongs to the second level, then when the target video data is obtained, the second processing strategy is determined based on the target video data and the second level, and the second processing strategy is determined as the target processing strategy for the terminal device. The second processing strategy includes a second frame rate, a second resolution, and second encoding parameters. The first level is higher than the second level, the first frame rate is greater than the second frame rate, and the first resolution is greater than the second resolution.

[0089] Among them, the first frame rate and the second frame rate may both refer to the maximum frame rate in the encoding scene, and the first resolution and the second resolution may refer to the maximum resolution in the encoding scene. Since the first level and the second level are different, the maximum frame rate and the maximum resolution corresponding to the two levels are not the same. The first encoding parameter may refer to a hard-coded parameter, and the second encoding parameter may refer to a soft-coded parameter. The hard-coded parameter can be used to encode the target video data, and the hard coding may be encoded by a hardware module provided by the terminal device. The hard coding speed is fast and does not occupy CPU resources. The soft coding parameter can be used to encode the target video data, and the soft coding may refer to encoding by a software program, and can be encoded for any model. By determining the hierarchical information of each terminal device in the encoding scene, different processing strategies can be sent to each terminal device, and then data encoding can be performed based on the corresponding processing strategy, which can play the role of each terminal device and improve data encoding efficiency. It can be understood that the encoding scene method can also be referred to for the decoding scene, so as to determine the frame rate, resolution and decoding parameters of the decoding scene, and then perform the corresponding data decoding, and the embodiment of the present application will not be repeated here.

[0090] In one embodiment, the M scenarios include a rendering scenario, and a method for determining a target processing strategy for a terminal device based on classification information of the terminal device may include:

[0091] If the classification information of the first terminal device belongs to the first level, then when the target video data is obtained, the third processing strategy is determined based on the target video data and the first level, and the third processing strategy is determined as the target processing strategy for the terminal device. The third processing strategy includes a third frame rate and a third resolution.

[0092] If the classification information of the second terminal device belongs to the second level, then when the target video data is obtained, the fourth processing strategy is determined based on the target video data and the second level, and the fourth processing strategy is determined as the target processing strategy for the terminal device. The fourth processing strategy includes a fourth frame rate and a fourth resolution. The third frame rate is greater than the fourth frame rate, and the third resolution is greater than the fourth resolution.

[0093] Among them, the third frame rate and the fourth frame rate may both refer to the maximum frame rate in the rendering scene, and the third resolution and the fourth resolution may both refer to the maximum resolution in the rendering scene. Since the first level and the second level are different, the maximum frame rate and the maximum resolution corresponding to the two levels in the rendering scene are different. By determining the grading information of each terminal device in the rendering scene, a different processing strategy can be sent to each terminal device, and then data rendering can be performed based on the corresponding processing strategy, which can give full play to the role of each terminal device and improve data rendering efficiency.

[0094] In the embodiment of the present application, by determining the grade of each terminal device, a processing strategy corresponding to the grade of each terminal device can be issued, for example, for the encoding scenario, the maximum frame rate, maximum resolution, hard-coded parameters or soft-coded parameters that match the grade of the terminal device can be issued. For the decoding scenario, the maximum frame rate, maximum resolution, hard decoding parameters or soft decoding parameters that match the grade information of the terminal device can be issued. For the rendering scenario, the maximum frame rate, maximum resolution and other parameters that match the grade information of the terminal device can be issued. For example, if a terminal device belongs to the first grade, it means that the performance of the terminal device is high and multiple videos can be decoded at one time. If a terminal device belongs to the second grade, it means that the performance of the terminal device is low and one video can be decoded at one time, and so on. It can be understood that if different terminal devices have the same grade in the same scenario, the corresponding processing strategy can be the same, that is, if the grade information of multiple terminal devices in the encoding scenario is the same, the processing strategy of each terminal device is the same.

[0095] Optionally, in the embodiments of the present application, the device score of the terminal device and the grading information of the terminal device can be adjusted according to the business scenario, and the processing strategy of the terminal device can be adjusted. Since multiple business scenarios can be included, and each business scenario is different, the corresponding device score can be different, the grading information can also be different, and then the processing strategy is also different. By adjusting the score, grading information and processing strategy of the terminal device in combination with the business scenario, the obtained data can be made more in line with the corresponding business scenario, so that the access of various business scenarios can be flexibly supported, and the scalability is strong. Because different business scenarios have different performance requirements for terminal devices. Furthermore, since the embodiments of the present application can flexibly adjust the grading and processing strategy based on the performance of business indicators, the user experience can be continuously optimized, thereby improving the business experience and efficiency.

[0096] In an embodiment of the present application, by obtaining the device parameters of the terminal device and the device score of the terminal device, the classification information of the terminal device can be determined based on the device parameters of the terminal device and the device score of the terminal device; based on the classification information of the terminal device, a target processing strategy for the terminal device is determined, and the target processing strategy is sent to the terminal device, so that the terminal device adopts the target processing strategy for data processing. Since the terminal devices are classified in combination with the device performance of the terminal devices and the performance evaluation of the terminal devices by the scoring device, that is, the terminal devices are classified from different dimensions, the obtained classification information can more accurately reflect the performance of the terminal devices, thereby improving the accuracy of the device classification. By grading the terminal devices in combination with the performance of the terminal devices, for high-performance terminal devices, the computing power can be exerted to achieve better results. For low-performance terminal devices, the functions of the terminal devices can be allowed to run smoothly, improving the operating efficiency of the devices.

[0097] For further information, see Figure 3 , Figure 3 is a flow chart of another strategy sending method provided in an embodiment of the present application; Figure 3 As shown, the policy sending method can be applied to a computer device, and the policy sending method includes but is not limited to the following steps:

[0098] S201, the service client obtains performance parameters, service indicator parameters and device scores of N terminal devices respectively.

[0099] In the embodiment of the present application, the business client can be deployed on a computer device, and the business client can execute a device performance collection service, a model data processing service, a model classification service, and a policy configuration delivery service to achieve classification of terminal devices and delivery of processing policies. Specifically, the device performance collection service may include collecting performance parameters of terminal devices, business indicator parameters of terminal devices in M ​​scenarios, and device scores of terminal devices. Among them, the device score may refer to scoring the device performance of the terminal device.

[0100] S202, determining classification information of the N terminal devices based on the performance parameters, service indicator parameters and device scores of the N terminal devices.

[0101] In the embodiment of the present application, the model data processing service can be used to process the collected device performance of the terminal device, and the model classification service can be used to determine the classification information of the terminal device. For example, the classification information of N terminal devices can be determined based on the performance parameters, business indicator parameters and device scores of N terminal devices. The specific classification method can refer to the description in the above step S103, which will not be repeated here.

[0102] S203, determining a target processing strategy for the terminal device based on the classification information of the terminal device, and sending the target processing strategy to N terminal devices respectively.

[0103] In the embodiment of the present application, the policy configuration delivery service can be used to send the target processing policy corresponding to the classification information of the terminal device to the terminal device. For example, the target processing policy for the terminal device can be determined based on the classification information of the terminal device, and the target processing policy can be sent to N terminal devices respectively.

[0104] S204, the N terminal devices respectively use corresponding target processing strategies to process data.

[0105] In an embodiment of the present application, after N terminal devices receive the target processing strategy, when target data, such as target video data, is obtained, the N terminal devices can all use the received target processing strategy to process the target video data, thereby realizing encoding, decoding, rendering and display of the target video data.

[0106] In an embodiment of the present application, by obtaining the device parameters of the terminal device and the device score of the terminal device, the classification information of the terminal device can be determined based on the device parameters of the terminal device and the device score of the terminal device; based on the classification information of the terminal device, a target processing strategy for the terminal device is determined, and the target processing strategy is sent to the terminal device, so that the terminal device adopts the target processing strategy for data processing. Since the terminal devices are classified in combination with the device performance of the terminal devices and the performance evaluation of the terminal devices by the scoring device, that is, the terminal devices are classified from different dimensions, the obtained classification information can more accurately reflect the performance of the terminal devices, thereby improving the accuracy of the device classification. By grading the terminal devices in combination with the performance of the terminal devices, for high-performance terminal devices, the computing power can be exerted to achieve better results. For low-performance terminal devices, the functions of the terminal devices can be allowed to run smoothly, improving the operating efficiency of the devices.

[0107] The method of the embodiment of the present application is introduced above, and the device of the embodiment of the present application is introduced below.

[0108] See also Figure 4 , Figure 4 1 is a schematic diagram of the composition structure of a policy sending device provided in an embodiment of the present application. The above-mentioned policy sending device can be deployed on a computer device; the policy sending device can be used to execute the corresponding steps in the policy sending method provided in an embodiment of the present application. Optionally, the policy sending device can also be a business client, and the policy sending device 40 includes:

[0109] The parameter acquisition unit 401 is used to acquire device parameters of the terminal device, where the device parameters are used to reflect the device performance of the terminal device;

[0110] A score acquisition unit 402 is used to acquire a device score for the terminal device, where the device score is obtained based on an evaluation of the performance of the terminal device by a scoring device;

[0111] A rating determination unit 403, configured to determine rating information of the terminal device based on a device parameter of the terminal device and a device score of the terminal device;

[0112] The policy determination unit 404 is used to determine a target processing policy for the terminal device based on the classification information of the terminal device, and send the target processing policy to the terminal device so that the terminal device adopts the target processing policy to perform data processing.

[0113] Optionally, the device parameter includes a performance parameter of the terminal device and a service indicator parameter of the terminal device in M ​​scenarios, the performance parameter is used to reflect the device attribute of the terminal device, and the service indicator parameter is used to reflect the service processing performance of the terminal device in M ​​scenarios; the classification determination unit 403 is specifically used to:

[0114] Based on the performance parameters of the terminal device, the service indicator parameters of the terminal device in M ​​scenarios and the device score of the terminal device, the classification information of the terminal device is determined.

[0115] Optionally, the grading determination unit 403 is specifically configured to:

[0116] Determine a first score for the terminal device based on the performance parameter of the terminal device;

[0117] Determine, based on the service indicator parameters of the terminal device in the M scenarios, a second score of the terminal device in the M scenarios;

[0118] Based on the first score, the second score and the device score, the rating information of the terminal device is determined.

[0119] Optionally, the number of the terminal devices is N; the grading determination unit 403 is specifically configured to:

[0120] Based on the first score, the second score and the device score, determine device scores of the N terminal devices respectively, and add the device scores of the N terminal devices to the device performance table;

[0121] The classification information of the N terminal devices is determined based on the device performance table.

[0122] Optionally, the number of the terminal devices is N, and the classification information of the N terminal devices includes classification information of the N terminal devices in M ​​scenarios; the classification determination unit 403 is specifically used to:

[0123] Based on the first score, the second score and the device score, respectively determine the scenario scores of the N terminal devices in the M scenarios, where one terminal device corresponds to the M scenario scores;

[0124] Add the scenario scores of the N terminal devices in the M scenarios to the scenario performance table;

[0125] Based on the scenario performance table, the classification information of the N terminal devices in the M scenarios is determined.

[0126] Optionally, the M scenarios include a coding scenario, and the terminal device includes a first terminal device and a second terminal device; the policy determination unit 404 is specifically configured to:

[0127] If the rating information of the first terminal device belongs to the first level, when the target video data is acquired, a first processing strategy is determined based on the target video data and the first level, and the first processing strategy is determined as the target processing strategy for the terminal device, and the first processing strategy includes a first frame rate, a first resolution, and a first encoding parameter;

[0128] If the rating information of the second terminal device belongs to the second level, then when the target video data is obtained, a second processing strategy is determined based on the target video data and the second level, and the second processing strategy is determined as the target processing strategy for the terminal device. The second processing strategy includes a second frame rate, a second resolution, and second encoding parameters. The first level is higher than the second level, the first frame rate is greater than the second frame rate, and the first resolution is greater than the second resolution.

[0129] Optionally, the M types of scenarios also include a rendering scenario, and the strategy determination unit 404 is specifically configured to:

[0130] If the rating information of the first terminal device belongs to the first level, when the target video data is acquired, a third processing strategy is determined based on the target video data and the first level, and the third processing strategy is determined as the target processing strategy for the terminal device, and the third processing strategy includes a third frame rate and a third resolution;

[0131] If the rating information of the second terminal device belongs to the second level, then when the target video data is obtained, a fourth processing strategy is determined based on the target video data and the second level, and the fourth processing strategy is determined as the target processing strategy for the terminal device. The fourth processing strategy includes a fourth frame rate and a fourth resolution. The third frame rate is greater than the fourth frame rate, and the third resolution is greater than the fourth resolution.

[0132] It should be noted that Figure 4 For the contents not mentioned in the corresponding embodiments, please refer to the description of the method embodiments, which will not be repeated here.

[0133] In an embodiment of the present application, by obtaining the device parameters of the terminal device and the device score of the terminal device, the classification information of the terminal device can be determined based on the device parameters of the terminal device and the device score of the terminal device; based on the classification information of the terminal device, a target processing strategy for the terminal device is determined, and the target processing strategy is sent to the terminal device, so that the terminal device adopts the target processing strategy for data processing. Since the terminal devices are classified in combination with the device performance of the terminal devices and the performance evaluation of the terminal devices by the scoring device, that is, the terminal devices are classified from different dimensions, the obtained classification information can more accurately reflect the performance of the terminal devices, thereby improving the accuracy of the device classification. By grading the terminal devices in combination with the performance of the terminal devices, for high-performance terminal devices, the computing power can be exerted to achieve better results. For low-performance terminal devices, the functions of the terminal devices can be allowed to run smoothly, improving the operating efficiency of the devices.

[0134] See also Figure 5 , Figure 5 Schematic diagram of the structure of a computer device provided in an embodiment of the present application. Figure 5 As shown, the above-mentioned computer device 50 may include: a processor 501, a network interface 504 and a memory 505. In addition, the above-mentioned computer device 50 may also include: a user interface 503, and at least one communication bus 502. Among them, the communication bus 502 is used to realize the connection and communication between these components. Among them, the user interface 503 may include a display screen (Display), a keyboard (Keyboard), and the optional user interface 503 may also include a standard wired interface and a wireless interface. The network interface 504 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 505 may be a high-speed RAM memory, or it may be a non-volatile memory (non-volatile memory), such as at least one disk storage. The memory 505 may optionally also be at least one storage device located away from the aforementioned processor 501. As Figure 5 As shown, the memory 505 as a computer-readable storage medium may include an operating system, a network communication module, a user interface module, and a device control application program.

[0135] exist Figure 5 In the computer device 50 shown, the network interface 504 can provide a network communication function; the user interface 503 is mainly used to provide an input interface for the user; and the processor 501 can be used to call the device control application stored in the memory 505 to achieve:

[0136] Obtaining device parameters of a terminal device, where the device parameters are used to reflect the device performance of the terminal device;

[0137] Obtaining a device score for the terminal device, where the device score is obtained based on an evaluation of the performance of the terminal device by a scoring device;

[0138] Determine the classification information of the terminal device based on the device parameters of the terminal device and the device score of the terminal device;

[0139] A target processing strategy for the terminal device is determined based on the classification information of the terminal device, and the target processing strategy is sent to the terminal device so that the terminal device adopts the target processing strategy to perform data processing.

[0140] It should be understood that the computer device 50 described in the embodiment of the present application can execute the above Figure 2 and Figure 3 The description of the above-mentioned policy sending method in the corresponding embodiment can also be performed as described above. Figure 4 The description of the above-mentioned policy sending device in the corresponding embodiment will not be repeated here. In addition, the description of the beneficial effects of adopting the same method will not be repeated here either.

[0141] In an embodiment of the present application, by obtaining the device parameters of the terminal device and the device score of the terminal device, the classification information of the terminal device can be determined based on the device parameters of the terminal device and the device score of the terminal device; based on the classification information of the terminal device, a target processing strategy for the terminal device is determined, and the target processing strategy is sent to the terminal device, so that the terminal device adopts the target processing strategy for data processing. Since the terminal devices are classified in combination with the device performance of the terminal devices and the performance evaluation of the terminal devices by the scoring device, that is, the terminal devices are classified from different dimensions, the obtained classification information can more accurately reflect the performance of the terminal devices, thereby improving the accuracy of the device classification. By grading the terminal devices in combination with the performance of the terminal devices, for high-performance terminal devices, the computing power can be exerted to achieve better results. For low-performance terminal devices, the functions of the terminal devices can be allowed to run smoothly, improving the operating efficiency of the devices.

[0142] The embodiment of the present application also provides a computer-readable storage medium, which stores a computer program, which includes program instructions, which, when executed by a computer, causes the computer to execute the method of the aforementioned embodiment, and the computer may be part of the computer device mentioned above. For example, the processor 501 mentioned above. As an example, the program instructions may be deployed on a computer device for execution, or deployed on multiple computer devices located at one location for execution, or, executed on multiple computer devices distributed at multiple locations and interconnected by a communication network, and multiple computer devices distributed at multiple locations and interconnected by a communication network may constitute a blockchain network.

[0143] Those skilled in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing the relevant hardware through a computer program, and the program can be stored in a computer-readable storage medium, and when the program is executed, it can include the processes of the embodiments of the above 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.

[0144] The above disclosure is only the preferred embodiment of the present application, which certainly cannot be used to limit the scope of rights of the present application. Therefore, equivalent changes made according to the claims of the present application are still within the scope covered by the present application.

Claims

1. A strategy sending method, characterized in that: The method comprises: Acquire device parameters of a terminal device, where the device parameters are used to reflect the device performance of the terminal device, and the device parameters include service indicator parameters of the terminal device in M ​​scenarios, where the M scenarios include encoding scenarios, decoding scenarios, and rendering scenarios, and the service indicator parameters in each scenario are different; Obtaining a device score for the terminal device, where the device score is obtained based on an evaluation of the performance of the terminal device by a scoring device, and the device score is obtained based on a score given by the scoring device to performance parameters of the terminal device in a corresponding data processing process performed in the M scenarios; Determining the classification information of the terminal device based on the device parameters of the terminal device and the device score of the terminal device; A target processing strategy for the terminal device is determined based on the classification information of the terminal device, and the target processing strategy is sent to the terminal device so that the terminal device adopts the target processing strategy to perform data processing.

2. The method according to claim 1, characterized in that The device parameters also include performance parameters of the terminal device, the performance parameters are used to reflect the device attributes of the terminal device, and the service indicator parameters are used to reflect the service processing performance of the terminal device in M ​​scenarios, where M is a positive integer; The determining, based on the device parameter of the terminal device and the device score of the terminal device, the classification information of the terminal device includes: Based on the performance parameters of the terminal device, the service indicator parameters of the terminal device in M ​​scenarios and the device score of the terminal device, the classification information of the terminal device is determined.

3. The method according to claim 2, characterized in that The determining, based on the performance parameters of the terminal device, the service indicator parameters of the terminal device in M ​​scenarios, and the device score of the terminal device, the classification information of the terminal device includes: determining a first score for the terminal device based on a performance parameter of the terminal device; Determining a second score of the terminal device in the M scenarios based on the service indicator parameters of the terminal device in the M scenarios; Based on the first score, the second score, and the device score, rating information of the terminal device is determined.

4. The method according to claim 3, characterized in that The number of the terminal devices is N, where N is a positive integer; and determining the grading information of the N terminal devices based on the first score, the second score, and the device score includes: Based on the first score, the second score and the device score, determine the device scores of the N terminal devices respectively, and add the device scores of the N terminal devices to the device performance table; The classification information of the N terminal devices is determined based on the device performance table.

5. The method according to claim 3, characterized in that: The number of the terminal devices is N, and the classification information of the N terminal devices includes classification information of the N terminal devices in M ​​scenarios; The determining, based on the first score, the second score, and the device score, the grading information of the N terminal devices includes: Based on the first score, the second score and the device score, respectively determine the scenario scores of the N terminal devices in the M scenarios, where one terminal device corresponds to the M scenario scores; Adding the scenario scores of the N terminal devices in the M scenarios to the scenario performance table; Based on the scenario performance table, the classification information of the N terminal devices in M ​​scenarios is determined.

6. The method according to any one of claims 2 to 5, characterized in that: The M scenarios include coding scenarios, and the terminal devices include a first terminal device and a second terminal device; The determining a target processing strategy for the terminal device based on the classification information of the terminal device includes: If the classification information of the first terminal device belongs to the first level, when the target video data is acquired, a first processing strategy is determined based on the target video data and the first level, and the first processing strategy is determined as the target processing strategy for the terminal device, wherein the first processing strategy includes a first frame rate, a first resolution, and a first encoding parameter; If the classification information of the second terminal device belongs to the second level, when the target video data is obtained, a second processing strategy is determined based on the target video data and the second level, and the second processing strategy is determined as the target processing strategy for the terminal device, the second processing strategy includes a second frame rate, a second resolution, and second encoding parameters, the first level is higher than the second level, the first frame rate is greater than the second frame rate, and the first resolution is greater than the second resolution.

7. The method according to claim 6, characterized in that The M scenarios also include a rendering scenario, and determining a target processing strategy for the terminal device based on the classification information of the terminal device includes: If the rating information of the first terminal device belongs to the first level, when the target video data is acquired, a third processing strategy is determined based on the target video data and the first level, and the third processing strategy is determined as the target processing strategy for the terminal device, and the third processing strategy includes a third frame rate and a third resolution; If the rating information of the second terminal device belongs to the second level, then when the target video data is acquired, a fourth processing strategy is determined based on the target video data and the second level, and the fourth processing strategy is determined as the target processing strategy for the terminal device, and the fourth processing strategy includes a fourth frame rate and a fourth resolution, the third frame rate is greater than the fourth frame rate, and the third resolution is greater than the fourth resolution.

8. A strategy sending device, characterized in that: The device comprises: a parameter acquisition unit, configured to acquire device parameters of a terminal device, wherein the device parameters are used to reflect the device performance of the terminal device, and the device parameters include service indicator parameters of the terminal device in M ​​scenarios, wherein the M scenarios include encoding scenarios, decoding scenarios, and rendering scenarios, and the service indicator parameters in each scenario are different; a scoring acquisition unit, configured to acquire a device score for the terminal device, wherein the device score is obtained by evaluating the performance of the terminal device by a scoring device, and the device score is obtained by scoring the performance parameters of the terminal device in the corresponding data processing process performed by the scoring device in the M scenarios; a grading determination unit, configured to determine grading information of the terminal device based on a device parameter of the terminal device and a device score of the terminal device; The policy determination unit is used to determine a target processing policy for the terminal device based on the classification information of the terminal device, and send the target processing policy to the terminal device so that the terminal device adopts the target processing policy to perform data processing.

9. A computer device, characterized in that: include: Processor, memory, and network interface; The processor is connected to the memory and the network interface, wherein the network interface is used to provide a data communication function, the memory is used to store program code, and the processor is used to call the program code so that the computer device executes the method described in any one of claims 1-7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is suitable for being loaded and executed by a processor, so that a computer device having the processor executes the method according to any one of claims 1 to 7.

11. A computer program product, characterized in that The computer program product comprises computer instructions, and when the computer instructions are executed by a processor, the method according to any one of claims 1 to 7 is implemented.