Communication control method and device, electronic equipment and computer readable storage medium

By using a type recognition model in the HDMI-CEC protocol to identify non-standard behaviors and determine compensation strategies, the problems of device stagnation and poor user experience caused by non-standard behaviors are solved, achieving more efficient handling of non-standard behaviors and improved user experience.

CN121967497APending Publication Date: 2026-05-01SHENZHEN TCL DIGITAL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN TCL DIGITAL TECH CO LTD
Filing Date
2026-02-09
Publication Date
2026-05-01

AI Technical Summary

Technical Problem

The existing HDMI-CEC protocol exhibits non-standard behavior in interoperability between different devices, leading to device malfunctions and poor user experience. Traditional analysis methods are inefficient and unable to address new non-standard behaviors.

Method used

By identifying non-standard behaviors through a type recognition model, determining non-standard compensation strategies, and responding to CEC communication data, the analysis and compensation strategy activation cycle is shortened, and the efficiency of identifying and compensating for new non-standard behaviors is improved.

Benefits of technology

It shortens the effective cycle of non-standard behavior analysis and compensation strategies, improves the efficiency of responding to non-standard behavior, enhances user experience, and is better able to deal with new types of non-standard behavior.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121967497A_ABST
    Figure CN121967497A_ABST
Patent Text Reader

Abstract

The invention discloses a communication control method and device, electronic equipment and a computer readable storage medium, and relates to the technical field of communication, and the method comprises the steps: receiving CEC communication data, and carrying out the non-standard type recognition of the CEC communication data through a type recognition model if a non-standard behavior of the CEC communication data is detected, thereby obtaining a target non-standard type, and determining a non-standard compensation strategy according to the target non-standard type, and responding to the CEC communication data according to the non-standard compensation strategy to obtain a communication result. The effective period of the non-standard behavior analysis and compensation strategy is shortened, the non-standard behavior response efficiency is improved, the recognition and compensation of the novel non-standard behaviors are improved, and the user experience is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Communication control methods, devices, electronic equipment and computer-readable storage media Technical Field

[0001] This application relates to the field of communication technology, specifically to a communication control method, apparatus, electronic device, and computer-readable storage medium. Background Technology

[0002] HDMI (High-Definition Multimedia Interface) supports high-quality audio and video transmission and is widely used in smart homes and consumer electronics devices. Its built-in CEC (Consumer Electronics Control) protocol is a single-bus protocol designed to enable flexible interoperability between different devices through a shared bus. Devices can perform logic control functions via the HDMI-CEC protocol, such as one-touch play, system standby, and device interconnection control.

[0003] However, although the HDMI-CEC protocol is an international industry standard, different manufacturers implement the standard differently in practice, resulting in many devices on the market exhibiting "non-standard behavior".

[0004] The goal is primarily to extract device logs and analyze them to identify non-standard behaviors and formulate compensation strategies. However, this leads to an excessively long cycle from the occurrence of a problem to the effectiveness of the strategy. Alternatively, the current approach can only analyze and match compensation strategies for known non-standard devices, making it unable to cope with new types of non-standard behaviors or devices, resulting in issues such as device malfunctions and poor user experience. Summary of the Invention

[0005] This application provides a communication control method, device, electronic device, and computer-readable storage medium, which can shorten the effective cycle of non-standard behavior analysis and compensation strategies, improve the efficiency of non-standard behavior response, and help improve the identification and compensation of new non-standard behaviors, thereby enhancing the user experience.

[0006] In a first aspect, embodiments of this application provide a communication control method, the method comprising:

[0007] Receive CEC communication data; if non-standard behavior is detected in the CEC communication data, use a type recognition model to identify the non-standard type of the CEC communication data to obtain the target non-standard type; determine a non-standard compensation strategy based on the target non-standard type; respond to the CEC communication data according to the non-standard compensation strategy to obtain the communication result.

[0008] Secondly, embodiments of this application also provide a communication control device, which includes: a receiving module for receiving CEC communication data; an identification module for identifying the non-standard type of the CEC communication data using a type identification model if non-standard behavior is detected in the CEC communication data, thereby obtaining a target non-standard type; a determining module for determining a non-standard compensation strategy based on the target non-standard type; and a response module for responding to the CEC communication data according to the non-standard compensation strategy, thereby obtaining a communication result.

[0009] Optionally, in some embodiments of this application, the step of using a type recognition model to identify non-standard types of the CEC communication data to obtain a target non-standard type includes: identifying the non-standard type corresponding to the CEC communication data through a locally deployed type recognition model to obtain the target non-standard type; or, uploading the CEC communication data to a server, wherein the server performs non-standard identification on the received CEC communication data through a type recognition model to obtain the target non-standard type, and receives the target non-standard type returned by the server.

[0010] Optionally, in some embodiments of this application, determining the non-standard compensation strategy based on the target non-standard type includes: uploading the target non-standard type to a server, the server matching a non-standard compensation strategy from a strategy library based on the target non-standard type; and receiving the non-standard compensation strategy returned by the server.

[0011] Optionally, in some embodiments of this application, the apparatus further includes: receiving a non-standard tag generated by the server based on the target non-standard type and the non-standard compensation strategy; the step of responding to the CEC communication data according to the non-standard compensation strategy to obtain a communication result includes: marking the device sending the CEC communication data according to the non-standard tag, and controlling the device to respond to the CEC communication data according to the non-standard compensation strategy to obtain the communication result.

[0012] Optionally, in some embodiments of this application, after responding to the CEC communication data according to the non-standard compensation strategy and obtaining the communication result, the device further includes: generating a strategy evaluation result based on the communication result; uploading the strategy evaluation result, the target non-standard type, and the non-standard compensation strategy to a server, wherein the server optimizes the matching degree of the target non-standard type and the non-standard compensation strategy based on the strategy evaluation result to obtain an optimized strategy library; the device further includes: optimizing the type recognition model according to a reinforcement learning strategy using the strategy evaluation result, the target non-standard type, and the non-standard compensation strategy.

[0013] Optionally, in some embodiments of this application, the type recognition model is trained based on a rule knowledge base and a historical non-standard problem database, wherein the historical non-standard problem database includes sample non-standard types and sample compensation strategies corresponding to the sample non-standard types.

[0014] Optionally, in some embodiments of this application, the device further includes: determining whether there is non-standard behavior in the CEC communication data by comparing the CEC communication data with a preset instruction set; or determining whether there is non-standard behavior by whether the device state before and after standby is consistent; or determining whether there is non-standard behavior based on the reception time of the CEC communication data.

[0015] Thirdly, embodiments of this application also provide an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the computer program is executed by the processor, it implements the steps in the communication control method described above.

[0016] Fourthly, embodiments of this application also provide a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps in the communication control method described above.

[0017] Fifthly, embodiments of this application also provide a computer program product or computer program, which includes computer instructions stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions, causing the computer device to perform the methods provided in the various optional implementations described in embodiments of this application.

[0018] In summary, in this embodiment of the application, when receiving CEC communication data, if non-standard behavior is detected in the CEC communication data, a type recognition model is used to identify the non-standard type of the CEC communication data to obtain the target non-standard type. A non-standard compensation strategy is determined based on the target non-standard type, and the CEC communication data is responded to according to the non-standard compensation strategy to obtain the communication result.

[0019] In this application embodiment, a category recognition model is used to identify non-standard types when non-standard behavior is detected, and a non-standard compensation strategy is determined based on the identified non-standard type. This non-standard compensation strategy is used to control the response to CEC communication data. Compared with the traditional method of matching compensation strategies through log analysis, this application embodiment shortens the effective cycle of non-standard behavior analysis and compensation strategies, improves the efficiency of non-standard behavior response, and improves the identification and compensation of new non-standard behaviors by using a model for non-standard type identification and strategy matching. Compared with the traditional method that can only analyze and match strategies for known non-standard devices or non-standard behaviors, this application embodiment helps to improve the identification and compensation of new non-standard behaviors and improve the user experience. Attached Figure Description

[0020] To more clearly illustrate the technical solutions in this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0021] Figure 1 is a schematic diagram of a scenario in which a terminal device according to an embodiment of this application executes the communication control method; Figure 2 is a flowchart of the communication control method according to an embodiment of this application; Figure 3 is a structural schematic diagram of the communication control device according to an embodiment of this application; Figure 4 is a structural schematic diagram of the electronic device according to an embodiment of this application.

[0022] Explanation of reference numerals: 101-Terminal device; 301-Receiver module; 302-Identification module; 303-Determination module; 304-Response module; 401-Processor; 402-Memory; 403-Power supply; 404-Input unit. Detailed Implementation

[0023] The technical solutions of this application will now be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0024] In the description of the embodiments of this application, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicating orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings, are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the present invention. Furthermore, the terms "first," "second," "third," and "fourth" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, features defined with "first," "second," "third," and "fourth" may explicitly or implicitly include one or more features. In the description of the present invention, "a plurality of" means two or more, unless otherwise explicitly specified.

[0025] In this application, the term "exemplary" is used to mean "serving as an example, illustration, or description." Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use the invention. Details are set forth in the following description for purposes of explanation. It should be understood that those skilled in the art will recognize that the invention can be made without using these specific details. In other instances, well-known structures and processes will not be described in detail to avoid obscuring the description of the invention with unnecessary detail. Therefore, the invention is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.

[0026] This application provides a communication control method, apparatus, electronic device, and computer-readable storage medium. Specifically, this application provides a communication control apparatus suitable for electronic devices, including terminal devices, which include, but are not limited to, televisions, set-top boxes / streaming media devices, game consoles, or audio equipment.

[0027] For example, please refer to Figure 1. Figure 1 is a schematic diagram of a scenario in which a terminal device performs the communication control method according to an embodiment of this application. Specifically, the specific execution process of the terminal device performing the communication control method is as follows: The terminal device 101 receives CEC communication data. If non-standard behavior is detected in the CEC communication data, the non-standard type is identified by the type recognition model to obtain the target non-standard type. A non-standard compensation strategy is determined according to the target non-standard type. The CEC communication data is responded to according to the non-standard compensation strategy to obtain the communication result.

[0028] For example, a TV receives CEC communication data sent by other devices via the HDMI-CEC protocol. If non-standard behavior is detected in the CEC communication data, it triggers the identification of non-standard type and the determination of non-standard compensation strategy, and then controls the response to CEC communication data based on the non-standard compensation strategy.

[0029] In summary, this application embodiment uses a category recognition model to identify non-standard types when non-standard behavior is detected, and determines a non-standard compensation strategy based on the identified non-standard type. This non-standard compensation strategy controls the response to CEC communication data. Compared with the traditional method of matching compensation strategies through log analysis, this application embodiment shortens the effective cycle of non-standard behavior analysis and compensation strategies, improves the efficiency of non-standard behavior response, and improves the identification and compensation of new non-standard behaviors by using a model for non-standard type identification and strategy matching, compared with the traditional method that can only analyze and match strategies for known non-standard devices or non-standard behaviors. This application embodiment helps to improve the identification and compensation of new non-standard behaviors and enhances the user experience.

[0030] The following sections provide detailed descriptions of each example. It should be noted that the order in which the embodiments are described is not intended to limit the priority of the embodiments.

[0031] Please refer to Figure 2, which is a flowchart illustrating the communication control method provided in an embodiment of this application. Although the logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown in the flowchart. Specifically, the specific flow of the communication control method is as follows: S201, Receive CEC communication data.

[0032] For example, it can receive data sent by other devices via HDMI-CEC. This CEC communication data includes commands such as adjusting volume and display parameters.

[0033] S202. If non-standard behavior is detected in the CEC communication data, the non-standard type is identified by using a type recognition model to obtain the target non-standard type.

[0034] Non-standard behavior refers to the behavior of devices that do not strictly follow the official HDMI specifications (such as the CEC section in the HDMI 1.4 / 2.1 standard) when implementing CEC functionality. Such behavior may lead to compatibility issues or functional abnormalities.

[0035] In this embodiment of the application, the existence of non-standard behavior can be determined in the following ways: specifically, by comparing the CEC communication data with a preset instruction set to determine whether the CEC communication data has non-standard behavior; or, by determining whether the device state before and after standby is consistent; or, by determining whether the non-standard behavior has non-standard behavior based on the reception time of the CEC communication data.

[0036] For example, if the CEC communication data is inconsistent with the preset instruction set, it is determined that the CEC communication data has non-standard behavior. If the volume of the device is inconsistent before and after standby, it indicates that an adjustment instruction was received during standby, and the standby phase is considered non-standard behavior.

[0037] The category recognition model includes a machine learning model for identifying non-standard types of CEC communication data, including but not limited to extracting features from CEC communication data and classifying categories.

[0038] It is understandable that by using machine learning models to classify and identify non-standard types, the efficiency of non-standard type identification can be improved, making it possible to classify and identify unknown non-standard behaviors without relying on device logs, and to handle the identification and compensation of new non-standard behaviors.

[0039] S203. Determine the non-standard compensation strategy based on the target non-standard type.

[0040] Among them, the non-standard compensation strategy is a communication compensation strategy to deal with non-standard types. For example, if the target non-standard type is the sbar mute abnormality non-standard, including sending a mute button to the sbar and the sbar not responding with a mute status, then the corresponding non-standard compensation strategy includes not blocking the sbar response and actively following the mute process; if the target non-standard type is the sbar not responding with a volume status non-standard, including increasing or decreasing the volume without responding with a volume status, then the corresponding non-standard compensation strategy includes actively requesting the sbar to respond with a volume status; if the target non-standard type is the device falsely reporting a physical address non-standard, including the device being connected to HDMI1 but reporting its address as HDMI3, then the corresponding non-standard compensation strategy includes re-requesting the device's physical address and correcting the virtual source address at the same time.

[0041] S204. Respond to the CEC communication data according to the non-standard compensation strategy to obtain the communication result.

[0042] For example, by controlling the response to CEC communication data according to the aforementioned non-standard compensation strategy, a communication solution for non-standard behavior can be obtained.

[0043] In summary, this application embodiment uses a category recognition model to identify non-standard types when non-standard behavior is detected, and determines a non-standard compensation strategy based on the identified non-standard type. This non-standard compensation strategy controls the response to CEC communication data. Compared with the traditional method of matching compensation strategies through log analysis, this application embodiment shortens the effective cycle of non-standard behavior analysis and compensation strategies, improves the efficiency of non-standard behavior response, and improves the identification and compensation of new non-standard behaviors by using a model for non-standard type identification and strategy matching, compared with the traditional method that can only analyze and match strategies for known non-standard devices or non-standard behaviors. This application embodiment helps to improve the identification and compensation of new non-standard behaviors and enhances the user experience.

[0044] In this application embodiment, the category recognition model can be deployed locally on the device, or it can be deployed in the cloud or on a server. Therefore, in some embodiments of this application, the step "using the type recognition model to perform non-standard type recognition on the CEC communication data to obtain the target non-standard type" includes: identifying the non-standard type corresponding to the CEC communication data through the locally deployed type recognition model to obtain the target non-standard type; or, uploading the CEC communication data to the server, wherein the server performs non-standard recognition on the received CEC communication data through the type recognition model to obtain the target non-standard type, and receives the target non-standard type returned by the server.

[0045] In this embodiment, the type identification model is trained based on a rule knowledge base and a historical non-standard problem database. The historical non-standard problem database includes sample non-standard types and corresponding sample compensation strategies. The rule knowledge base is a structured database or logical collection for CEC, used to store and manage standard rules, non-standard behavior cases, compatibility strategies, and best practices of the HDMI-CEC (Consumer Electronics Control) protocol.

[0046] In this embodiment of the application, the non-standard compensation strategy is matched from a strategy library, which can be set in a server. Therefore, in some embodiments of this application, the step "determine the non-standard compensation strategy according to the target non-standard type" includes: uploading the target non-standard type to the server, the server matching the non-standard compensation strategy from the strategy library according to the target non-standard type, and receiving the non-standard compensation strategy returned by the server.

[0047] For example, the strategy library stores non-standard types according to the mapping relationship between them and compensation strategies, and the non-standard compensation strategy corresponding to the target non-standard type is matched from the strategy library.

[0048] In this embodiment of the application, the device obtains the non-standard compensation strategy corresponding to the target non-standard type by receiving the server's instructions.

[0049] In this embodiment, the server can also synchronously issue a non-standard tag to mark the device sending CEC communication data as a non-standard device. Then, the current device can control its response to the CEC communication data of the non-standard device through the non-standard compensation strategy. Optionally, in some embodiments of this application, the method further includes: receiving a non-standard tag generated by the server based on the target non-standard type and the non-standard compensation strategy; the step of responding to the CEC communication data according to the non-standard compensation strategy to obtain a communication result includes: marking the device sending the CEC communication data according to the non-standard tag, and controlling it to respond to the CEC communication data according to the non-standard compensation strategy to obtain the communication result.

[0050] In this embodiment, the category recognition model and strategy library can also be optimized based on the current device's response to CEC communication data using the non-standard compensation strategy. Specifically, in some embodiments of this application, after the step "responding to the CEC communication data according to the non-standard compensation strategy to obtain communication results," the method further includes: generating a strategy evaluation result based on the communication results; uploading the strategy evaluation result, the target non-standard type, and the non-standard compensation strategy to a server, wherein the server optimizes the matching degree of the target non-standard type and the non-standard compensation strategy based on the strategy evaluation result to obtain an optimized strategy library; the method further includes: optimizing the type recognition model using the strategy evaluation result, the target non-standard type, and the non-standard compensation strategy according to a reinforcement learning strategy.

[0051] Among them, the strategy evaluation results are used to indicate whether the non-standard compensation strategy is effective in solving the non-standard behavior of CEC communication. Based on the results, it can serve as a reference for optimizing the strategy library and category recognition model.

[0052] In summary, this application embodiment uses a category recognition model to identify non-standard types when non-standard behavior is detected, and determines a non-standard compensation strategy based on the identified non-standard type. This non-standard compensation strategy controls the response to CEC communication data. Compared with the traditional method of matching compensation strategies through log analysis, this application embodiment shortens the effective cycle of non-standard behavior analysis and compensation strategies, improves the efficiency of non-standard behavior response, and improves the identification and compensation of new non-standard behaviors by using a model for non-standard type identification and strategy matching, compared with the traditional method that can only analyze and match strategies for known non-standard devices or non-standard behaviors. This application embodiment helps to improve the identification and compensation of new non-standard behaviors and enhances the user experience.

[0053] By optimizing the strategy library and category recognition model based on the strategy evaluation results, the effectiveness of responding to non-standard behaviors can be improved, and the coverage of the strategy library can be expanded. For example, it can provide non-standard compensation strategies to deal with more non-standard behaviors.

[0054] To facilitate better implementation of the communication control method of this application, this application also provides a communication control device based on the above-described communication control method. The meanings of the terms used are the same as in the above-described communication control method, and specific implementation details can be found in the descriptions of the method embodiments.

[0055] Please refer to Figure 3, which is a schematic diagram of the communication control device provided in an embodiment of this application. The communication control device can specifically be as follows: a receiving module 301, used to receive CEC communication data; an identification module 302, used to identify the non-standard type of the CEC communication data using a type identification model if non-standard behavior is detected, and obtain the target non-standard type; a determining module 303, used to determine a non-standard compensation strategy according to the target non-standard type; and a response module 304, used to respond to the CEC communication data according to the non-standard compensation strategy and obtain a communication result.

[0056] Optionally, in some embodiments of this application, the step of using a type recognition model to identify non-standard types of the CEC communication data to obtain a target non-standard type includes: identifying the non-standard type corresponding to the CEC communication data through a locally deployed type recognition model to obtain the target non-standard type; or, uploading the CEC communication data to a server, wherein the server performs non-standard identification on the received CEC communication data through a type recognition model to obtain the target non-standard type, and receives the target non-standard type returned by the server.

[0057] Optionally, in some embodiments of this application, determining the non-standard compensation strategy based on the target non-standard type includes: uploading the target non-standard type to a server, the server matching a non-standard compensation strategy from a strategy library based on the target non-standard type; and receiving the non-standard compensation strategy returned by the server.

[0058] Optionally, in some embodiments of this application, the apparatus further includes: receiving a non-standard tag generated by the server based on the target non-standard type and the non-standard compensation strategy; the step of responding to the CEC communication data according to the non-standard compensation strategy to obtain a communication result includes: marking the device sending the CEC communication data according to the non-standard tag, and controlling the device to respond to the CEC communication data according to the non-standard compensation strategy to obtain the communication result.

[0059] Optionally, in some embodiments of this application, after responding to the CEC communication data according to the non-standard compensation strategy and obtaining the communication result, the device further includes: generating a strategy evaluation result based on the communication result; uploading the strategy evaluation result, the target non-standard type, and the non-standard compensation strategy to a server, wherein the server optimizes the matching degree of the target non-standard type and the non-standard compensation strategy based on the strategy evaluation result to obtain an optimized strategy library; the device further includes: optimizing the type recognition model according to a reinforcement learning strategy using the strategy evaluation result, the target non-standard type, and the non-standard compensation strategy.

[0060] Optionally, in some embodiments of this application, the type recognition model is trained based on a rule knowledge base and a historical non-standard problem database, wherein the historical non-standard problem database includes sample non-standard types and sample compensation strategies corresponding to the sample non-standard types.

[0061] Optionally, in some embodiments of this application, the device further includes: determining whether there is non-standard behavior in the CEC communication data by comparing the CEC communication data with a preset instruction set; or determining whether there is non-standard behavior by whether the device state before and after standby is consistent; or determining whether there is non-standard behavior based on the reception time of the CEC communication data.

[0062] In this embodiment, the receiving module 301 receives CEC communication data. If the identification module 302 detects non-standard behavior in the CEC communication data, it uses a type identification model to identify the non-standard type of the CEC communication data to obtain the target non-standard type. The determining module 303 determines a non-standard compensation strategy based on the target non-standard type. The response module 304 responds to the CEC communication data according to the non-standard compensation strategy to obtain the communication result.

[0063] In this application embodiment, a category recognition model is used to identify non-standard types when non-standard behavior is detected, and a non-standard compensation strategy is determined based on the identified non-standard type. This non-standard compensation strategy is used to control the response to CEC communication data. Compared with the traditional method of matching compensation strategies through log analysis, this application embodiment shortens the effective cycle of non-standard behavior analysis and compensation strategies, improves the efficiency of non-standard behavior response, and improves the identification and compensation of new non-standard behaviors by using a model for non-standard type identification and strategy matching. Compared with the traditional method that can only analyze and match strategies for known non-standard devices or non-standard behaviors, this application embodiment helps to improve the identification and compensation of new non-standard behaviors and improve the user experience.

[0064] Furthermore, this application also provides an electronic device, as shown in FIG4, which illustrates a structural schematic diagram of the electronic device provided in an embodiment of this application. Specifically, the electronic device may include components such as a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will understand that the electronic device structure shown in FIG4 does not constitute a limitation on the electronic device, and may include more or fewer components than shown, or combine certain components, or have different component arrangements. The processor 401 is the control center of the electronic device, connecting various parts of the entire electronic device through various interfaces and lines. By running or executing software programs and / or modules stored in the memory 402, and calling data stored in the memory 402, it performs various functions of the electronic device and processes data, thereby performing overall monitoring of the electronic device. Optionally, the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly handles the operating system, user interface, and applications, and the modem processor mainly handles wireless communication. It is understood that the aforementioned modem processor may also not be integrated into the processor 401.

[0065] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, applications required for at least one function, etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 402 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.

[0066] The electronic device also includes a power supply 403 that supplies power to the various components. Preferably, the power supply 403 can be logically connected to the processor 401 through a power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The power supply 403 may also include one or more DC or AC power supplies, recharging systems, power equipment debugging circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0067] The electronic device may also include an input unit 404, which can be used to receive input digital or character information, and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.

[0068] Although not shown, the electronic device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 401 in the electronic device loads the executable files corresponding to the processes of one or more applications into the memory 402 according to the following instructions, and the processor 401 runs the applications stored in the memory 402, thereby implementing the steps in any of the communication control methods provided in the embodiments of this application.

[0069] In this embodiment of the application, CEC communication data is received. If non-standard behavior is detected in the CEC communication data, a type recognition model is used to identify the non-standard type of the CEC communication data to obtain the target non-standard type. A non-standard compensation strategy is determined based on the target non-standard type, and the CEC communication data is responded to according to the non-standard compensation strategy to obtain the communication result.

[0070] In this application embodiment, a category recognition model is used to identify non-standard types when non-standard behavior is detected, and a non-standard compensation strategy is determined based on the identified non-standard type. This non-standard compensation strategy is used to control the response to CEC communication data. Compared with the traditional method of matching compensation strategies through log analysis, this application embodiment shortens the effective cycle of non-standard behavior analysis and compensation strategies, improves the efficiency of non-standard behavior response, and improves the identification and compensation of new non-standard behaviors by using a model for non-standard type identification and strategy matching. Compared with the traditional method that can only analyze and match strategies for known non-standard devices or non-standard behaviors, this application embodiment helps to improve the identification and compensation of new non-standard behaviors and improve the user experience.

[0071] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0072] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.

[0073] Therefore, this application provides a computer-readable storage medium storing a computer program that can be loaded by a processor to execute the steps of any of the communication control methods provided in this application.

[0074] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.

[0075] The computer-readable storage medium may include: read-only memory (ROM), random access memory (RAM), disk or optical disk, etc.

[0076] Since the instructions stored in the computer-readable storage medium can execute the steps of any of the communication control methods provided in this application, the beneficial effects that any of the communication control methods provided in this application can achieve can be realized, as detailed in the preceding embodiments, and will not be repeated here.

[0077] The foregoing has provided a detailed description of a communication control method, apparatus, electronic device, and computer-readable storage medium provided in this application. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, those skilled in the art will recognize that, based on the ideas of the present invention, there will be changes in the specific implementation methods and application scope. Therefore, the content of this specification should not be construed as a limitation of the present invention.

Claims

1. A communication control method, characterized in that, The method includes: receiving CEC communication data; if non-standard behavior is detected in the CEC communication data, using a type recognition model to identify the non-standard type of the CEC communication data to obtain a target non-standard type; determining a non-standard compensation strategy based on the target non-standard type; and responding to the CEC communication data according to the non-standard compensation strategy to obtain a communication result.

2. The communication control method according to claim 1, characterized in that, The step of using a type recognition model to identify non-standard types in the CEC communication data to obtain a target non-standard type includes: identifying the non-standard type corresponding to the CEC communication data through a locally deployed type recognition model to obtain the target non-standard type; or, uploading the CEC communication data to a server, wherein the server uses a type recognition model to identify non-standard types in the received CEC communication data to obtain the target non-standard type, and receives the target non-standard type returned by the server.

3. The communication control method according to claim 1, characterized in that, The step of determining the non-standard compensation strategy based on the target non-standard type includes: uploading the target non-standard type to the server; the server matching a non-standard compensation strategy from the strategy library based on the target non-standard type; and receiving the non-standard compensation strategy returned by the server.

4. The communication control method according to claim 3, characterized in that, The method further includes: receiving a non-standard tag generated by the server based on the target non-standard type and the non-standard compensation strategy; the step of responding to the CEC communication data according to the non-standard compensation strategy to obtain a communication result includes: marking the device sending the CEC communication data according to the non-standard tag, and controlling the device to respond to the CEC communication data according to the non-standard compensation strategy to obtain the communication result.

5. The communication control method according to claim 1, characterized in that, After responding to the CEC communication data according to the non-standard compensation strategy and obtaining the communication result, the method further includes: generating a strategy evaluation result based on the communication result; uploading the strategy evaluation result, the target non-standard type, and the non-standard compensation strategy to a server, wherein the server optimizes the matching degree of the target non-standard type and the non-standard compensation strategy based on the strategy evaluation result to obtain an optimized strategy library; the method further includes: optimizing the type recognition model according to a reinforcement learning strategy using the strategy evaluation result, the target non-standard type, and the non-standard compensation strategy.

6. The communication control method according to claim 1, characterized in that, The type recognition model is trained based on a rule knowledge base and a historical non-standard problem database, which includes sample non-standard types and sample compensation strategies corresponding to the sample non-standard types.

7. The communication control method according to claim 1, characterized in that, The method further includes: determining whether there is non-standard behavior in the CEC communication data by comparing the CEC communication data with a preset instruction set; or determining whether there is non-standard behavior by whether the device status before and after standby is consistent; or determining whether there is non-standard behavior based on the reception time of the CEC communication data.

8. A communication control device, characterized in that, The device includes: a receiving module for receiving CEC communication data; an identification module for identifying the non-standard type of the CEC communication data using a type identification model if non-standard behavior is detected in the CEC communication data, thereby obtaining a target non-standard type; a determining module for determining a non-standard compensation strategy based on the target non-standard type; and a response module for responding to the CEC communication data according to the non-standard compensation strategy, thereby obtaining a communication result.

9. An electronic device, characterized in that, It includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the communication control method as 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 that, when executed by a processor, implements the steps of the communication control method as described in any one of claims 1-7.