Method and device for determining jamming degree, electronic equipment and storage medium

By recording and analyzing the execution time of remote control commands during the remote control process and quantifying the degree of lag, the lag problem caused by unstable wireless connection is solved, improving user experience and product optimization effects.

CN120656309APending Publication Date: 2025-09-16BEIJING XIAOMI MOBILE SOFTWARE CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202410288498.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-03-13
Publication Date
2025-09-16

AI Technical Summary

Technical Problem

During the remote control process, due to the instability of the wireless connection, the control operation on the controlled device is prone to lag. Existing technologies cannot effectively quantify the degree of lag, which affects the user experience.

Method used

By receiving remote control commands, recording the execution time of control operations, and determining the target remote control commands within a preset time period, the degree of lag is quantified using lag parameters, including calculating the trigger time difference and execution time difference to determine the delay time and lag value, thereby reflecting the user's actual usage experience.

Benefits of technology

It achieves the quantification of the degree of lag, helps R&D personnel optimize products and improve user experience, and can adjust strategies based on lag parameter settings to improve usage stability.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120656309A_ABST
    Figure CN120656309A_ABST
Patent Text Reader

Abstract

The invention relates to a method and device for determining the jamming degree, electronic equipment and a storage medium. The method for determining the lagging degree comprises the steps that a remote control instruction is received, wherein the remote control instruction comprises control operation and triggering time; executing the control operation to obtain the execution time of the remote control instruction; if the execution time of the remote control instruction is within the preset time period, determining that the remote control instruction is a target remote control instruction; and according to the trigger time and the execution time of the target remote control instruction, determining a lagging parameter which is used for representing the lagging degree in the preset time period. According to the method, the lagging degree is quantified through the lagging parameter, the real use experience of the user in the preset time period can be obtained, research and development personnel can carry out targeted optimization on the product, meanwhile, the corresponding lagging adjustment strategy can be set according to the lagging parameter, and the use experience of the user is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of remote control technology, and in particular to a method, device, electronic device, and storage medium for determining a jam level. Background Art

[0002] Remote control refers to the act of an electronic device controlling another electronic device via a wireless connection. For example, using a laptop's mouse to control the cursor on a tablet is called remote control. In this remote control process, the control device's control operations are converted into signaling and sent wirelessly to the controlled device. The controlled device then converts the signaling into control operations to achieve control of the controlled device. However, due to the unstable transmission performance of wireless connections, control operations on the controlled device are prone to lag. The more severe the lag, the more it affects the user experience. Therefore, the degree of lag is an important indicator for evaluating remote control performance. Summary of the Invention

[0003] To overcome the problems existing in the related art, the present disclosure provides a method, device, electronic device and storage medium for determining the degree of jamming.

[0004] According to a first aspect of an embodiment of the present disclosure, a method for determining a jam level is provided, the method comprising:

[0005] receiving a remote control instruction, wherein the remote control instruction includes a control operation and a trigger time;

[0006] Executing the control operation to obtain the execution time of the remote control instruction;

[0007] If the execution time of the remote control instruction is within a preset time period, determining that the remote control instruction is a target remote control instruction;

[0008] A jam parameter is determined according to the triggering time and the execution time of the target remote control instruction, where the jam parameter is used to characterize the jam degree within the preset time period.

[0009] In an exemplary embodiment, there are multiple target remote control instructions, and determining the jamming parameter according to the triggering time and execution time of the target remote control instructions includes:

[0010] According to the execution time sequence of the plurality of target remote control instructions, and based on the trigger time and execution time of two adjacent target remote control instructions, determining the trigger time difference and execution time difference of each target remote control instruction;

[0011] Determining a delay time of each target remote control instruction according to a trigger time difference and an execution time difference of each target remote control instruction;

[0012] The jamming parameter is determined according to the delay time of each target remote control instruction.

[0013] In an exemplary embodiment, determining the jamming parameter according to the delay time of each target remote control command includes:

[0014] Determining an initial jam value of each target remote control command according to a delay time of each target remote control command;

[0015] Determining a target jam value for each target remote control command according to the initial jam value for each target remote control command;

[0016] The jamming parameter is determined according to the target jamming value of each target remote control instruction.

[0017] In an exemplary embodiment, determining the initial jam value of each target remote control command according to the delay time of each target remote control command includes:

[0018] An initial jamming value of each target remote control command is determined according to a ratio of the delay time of each target remote control command to a set value.

[0019] In an exemplary embodiment, determining the target jam value of each target remote control command according to the initial jam value of each target remote control command includes:

[0020] If the target remote control command satisfies a preset condition, determining a target jam value of the target remote control command to be 0;

[0021] If the target remote control command does not meet the preset condition, the target jam value of the target remote control command is determined to be the initial jam value.

[0022] In an exemplary embodiment, the preset condition includes at least one of the following:

[0023] The initial jam value of the target remote control command is less than a first threshold;

[0024] The trigger time difference of the target remote control instruction is greater than a second threshold.

[0025] In an exemplary embodiment, determining the jamming parameter according to the target jamming value of each target remote control instruction includes:

[0026] The jamming parameter is determined according to the sum of the target jamming values ​​of all the target remote control instructions.

[0027] In an exemplary embodiment, determining the delay time of each target remote control instruction according to the trigger time difference and the execution time difference of each target remote control instruction includes:

[0028] The difference between the playback time difference and the trigger time difference of each target remote control instruction is determined as the delay time of each target remote control instruction.

[0029] According to a second aspect of an embodiment of the present disclosure, a device for determining a jam level is provided, the device comprising:

[0030] A receiving module is configured to receive a remote control instruction, wherein the remote control instruction includes a control operation and a trigger time;

[0031] an execution module, configured to execute the control operation and obtain the execution time of the remote control instruction;

[0032] A first determining module is configured to determine that the remote control instruction is a target remote control instruction if the execution time of the remote control instruction is within a preset time period;

[0033] The second determining module is configured to determine a jamming parameter according to the triggering time and the execution time of the target remote control instruction, where the jamming parameter is used to characterize the jamming degree within the preset time period.

[0034] According to a third aspect of an embodiment of the present disclosure, there is provided an electronic device, including:

[0035] processor;

[0036] a memory for storing processor-executable instructions;

[0037] The processor is configured to execute the method as described in the first aspect of the embodiment of the present disclosure.

[0038] According to a fourth aspect of an embodiment of the present disclosure, a non-temporary computer-readable storage medium is provided, which, when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to execute the method described in the first aspect of the embodiment of the present disclosure.

[0039] The above-mentioned method disclosed in the present invention has the following beneficial effects: by quantifying the degree of lag through lag parameters, the user's actual usage experience within a preset time period can be known, so that R&D personnel can make targeted optimizations to the product. At the same time, corresponding lag adjustment strategies can be set according to the lag parameters to improve the user's usage experience.

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

[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.

[0042] Figure 1 is a flow chart showing a method for determining a jam level according to an exemplary embodiment;

[0043] Figure 2 is a schematic diagram showing a remote control instruction according to an exemplary embodiment;

[0044] Figure 3 is a schematic diagram showing a remote control instruction according to an exemplary embodiment;

[0045] Figure 4 is a flow chart showing a method for determining a jam level according to an exemplary embodiment;

[0046] Figure 5 is a flow chart showing a method for determining a jam level according to an exemplary embodiment;

[0047] Figure 6 This is a block diagram of a device for determining a jamming degree according to an exemplary embodiment;

[0048] Figure 7 It is a block diagram of an electronic device according to an exemplary embodiment. DETAILED DESCRIPTION

[0049] Exemplary embodiments will be described in detail herein, with examples illustrated in the accompanying drawings. In the following description, when referring to the drawings, identical numerals in different figures represent identical or similar elements, unless otherwise indicated. The embodiments described in the following exemplary embodiments are not intended to represent all possible embodiments consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.

[0050] In some embodiments, due to the instability of wireless connection transmission performance, the signaling transmission speed may fluctuate. The transmission of continuous control operations from the control device to the controlled device may be intermittent, resulting in discontinuous operations on the controlled device and the occurrence of lag. When lag occurs, R&D personnel need to know the degree of lag to understand the user experience, facilitate the setting of optimization strategies or optimize and improve the device. However, the degree of lag is a subjective indicator, and each person has different evaluation criteria. Different people may experience different degrees of lag in the same lag scenario. Therefore, it is very important to measure the user's actual experience and quantify the degree of lag.

[0051] In related technologies, the degree of lag is indirectly reflected by the controlled device's frame rate, which is the number of signaling messages received per second, or the transmission delay jitter of the wireless connection, which is the maximum difference in the transmission delay between two adjacent signaling frames per unit time. However, the frame rate is affected not only by the wireless connection but also by the frequency of the control operation of the controlling device. When the control operation is slow, the frame rate of the controlled device will also be low. In addition, the controlled device typically uses buffering to reduce the probability of lag. The presence of transmission delay jitter does not necessarily indicate the occurrence of lag. Therefore, neither the frame rate nor the transmission delay jitter can fully reflect the degree of lag.

[0052] In an exemplary embodiment of the present disclosure, to overcome the problem of unquantifiable lag levels in related technologies, a method for determining lag levels is provided, including: receiving a remote control instruction, the remote control instruction including a control operation and a trigger time; executing the control operation to obtain the execution time of the remote control instruction; if the execution time of the remote control instruction is within a preset time period, determining the remote control instruction as a target remote control instruction; and determining a lag parameter based on the trigger time and execution time of the target remote control instruction, the lag parameter being used to characterize the lag level within the preset time period. This method quantifies the lag level using the lag parameter, allowing users to understand their actual user experience within the preset time period, enabling R&D personnel to make targeted product optimizations. Furthermore, the method can set corresponding lag adjustment strategies based on the lag parameter to enhance the user experience.

[0053] In an exemplary embodiment of the present disclosure, a method for determining the degree of jamming is provided. Figure 1 is a flow chart of a method for determining the degree of jamming according to an exemplary embodiment. Figure 1 As shown, the following steps are included:

[0054] Step S101, receiving a remote control instruction, the remote control instruction including a control operation and a trigger time;

[0055] Step S102, executing a control operation to obtain the execution time of the remote control command;

[0056] Step S103: if the execution time of the remote control command is within the preset time period, determining that the remote control command is a target remote control command;

[0057] Step S104: determining a jamming parameter according to the triggering time and the execution time of the target remote control instruction. The jamming parameter is used to characterize the jamming degree within a preset time period.

[0058] The method for determining the degree of lag in the embodiments of the present disclosure is applicable to electronic devices, including smartphones, tablets, personal computers, smart wearable devices, smart car systems, and other electronic devices with remote control capabilities. The remote control process involves a controlling device and a controlled device, and the method in the embodiments of the present disclosure is applied to the controlled device.

[0059] In step S101, a remote control command is sent by a control device via a wireless connection and received by a controlled device via a wireless connection. The control device is an electronic device with remote control functionality, such as a mouse, touchpad, smartphone, or tablet. The control device sends the remote control command to the controlled device via signaling. The remote control command includes a control operation and a trigger time. Control operations include cursor control and display page control. For example, using the control device's touchpad to control the cursor movement on the controlled device's display interface, or using the control device's mouse to control the closing or opening of a display page on the controlled device's display interface, the trigger time is the time when the touch operation is triggered on the control device, which is recorded by the control device and stored in the remote control command.

[0060] In one example, Figure 2 is a schematic diagram of a remote control instruction according to an exemplary embodiment. Figure 2 As shown, the control device triggers control operation 1 at time T1, converts the trigger time T1 and control operation 1 into remote control control instruction 1, i.e., control signaling 1, and sends it to the controlled device through a wireless connection. At time T2, control operation 2 is triggered, converts the trigger time T2 and control operation 2 into remote control control instruction 2, i.e., control signaling 2, and sends it to the controlled device through a wireless connection. Similarly, at time Tn, control operation n is triggered, converts the trigger time Tn and control operation n into remote control control instruction n, i.e., control signaling n, and sends it to the controlled device through a wireless connection.

[0061] In step S102, when the controlled device receives the remote control command, it executes the control operation in the remote control command and records the execution time of the control operation. When the control operation is cursor control, it usually controls the movement trajectory of the cursor. Executing the control operation is also called replaying the control operation, that is, replaying the movement trajectory of the control device on the controlled device. In one example, Figure 3 is a schematic diagram of a remote control instruction according to an exemplary embodiment. Figure 3As shown, when the controlled device receives remote control instruction 1, it executes control operation 1 in remote control instruction 1 at time R1, and records the execution time R1 in remote control instruction 1. When it receives remote control instruction 2, it executes control operation 2 in remote control instruction 2 at time R2, and records the execution time R1 in remote control instruction 2. Similarly, when it receives remote control instruction n, it executes control operation n in remote control instruction n at time Rn, and records the execution time Rn in remote control instruction n.

[0062] In step S103, the duration of the preset period is set according to actual needs. For example, if it is desired to detect freezes within 5 seconds, the duration of the preset period is 5 seconds. The preset period is divided into multiple different preset periods with the duration of the preset period as a cycle. The remote control control instructions that have been executed in each preset period are counted, that is, the remote control control instructions whose execution time is within the current preset period. If the execution time of the remote control control instruction is earlier than the start time of the current preset period and later than the end time of the current preset period, the execution time of the remote control instruction is within the current preset period, and the remote control control instruction is determined to be the target remote control control instruction.

[0063] In step S104, the trigger time of the target remote control instruction represents the time of triggering the instruction, and the execution time represents the time of executing the instruction. Since the transmission time of the target remote control instruction from the control device to the controlled device is very short and can be ignored, the delay time of the target remote control instruction can be known according to the execution time and the trigger time. The jamming parameter is determined according to the delay time of the remote control instruction within the preset time period, and the jamming parameter can represent the degree of jamming within the preset time period.

[0064] In an exemplary embodiment of the present disclosure, when a remote control instruction is received, the control operation in the remote control instruction is executed, and the execution time of the remote control instruction is obtained. If the execution time of the remote control instruction is within a preset time period, the remote control instruction is determined to be a target remote control instruction. According to the trigger time and execution time of the target remote control instruction, the jamming parameters within the preset time period are determined. The jamming degree is quantified by the jamming parameters, and the user's actual usage experience within the preset time period can be known to help R&D personnel analyze the user jamming conditions in different software and hardware environments, discover user problems in a timely manner, and make targeted optimizations, as well as compare the user jamming conditions of different software versions under the same hardware environment to verify the product optimization effect. In addition, the automatic adjustment strategy can be set according to the jamming parameters. For example, when the jamming parameters are greater than the threshold, the user is prompted that the network condition is unstable, or it automatically switches to a network connection with a better signal, thereby improving the user's usage experience.

[0065] In an exemplary embodiment of the present disclosure, a method for determining the degree of jamming is provided. Figure 4is a flow chart of a method for determining the degree of jamming according to an exemplary embodiment. Figure 4 As shown, the following steps are included:

[0066] Step S401: receiving a remote control instruction, which includes a control operation and a trigger time;

[0067] Step S402: executing a control operation to obtain the execution time of the remote control command;

[0068] Step S403: if the execution time of the remote control instruction is within the preset time period, determine that the remote control instruction is the target remote control instruction;

[0069] Step S404, determining the trigger time difference and execution time difference of each target remote control instruction according to the execution time sequence of the multiple target remote control instructions and the trigger time and execution time of two adjacent target remote control instructions;

[0070] Step S405, determining the delay time of each target remote control instruction according to the trigger time difference and execution time difference of each target remote control instruction;

[0071] Step S406: Determine a jamming parameter based on the delay time of each target remote control command.

[0072] The specific implementation of steps S401 to S403 refers to steps S101 to S103 and will not be repeated here.

[0073] The number of target remote control instructions within the preset time period is determined according to actual conditions and can be one or more. In order to ensure the accuracy of the jamming parameter, the jamming parameter is determined based on the triggering time and execution time of multiple target remote control instructions. When there is only one target remote control instruction, the jamming parameter is recorded as 0.

[0074] In step S404, multiple target remote control instructions are arranged in order of execution time. For example, each time a remote control instruction is executed, it is placed in a statistical queue, and instructions other than the target remote control instruction in the statistical queue are deleted. Then, multiple target remote control instructions in the statistical queue are arranged in order of execution time. According to the trigger time of two adjacent target remote control instructions, the trigger time difference of each target remote control instruction is determined. The trigger time difference of the current target remote control instruction is the difference between the trigger time of the current target remote control instruction and the trigger time of the previous adjacent target remote control instruction. The trigger time of the current target remote control instruction is recorded as TriggerTime n , the trigger time of the previous adjacent target remote control command is recorded as TriggerTime n-1, then the trigger time difference of the current target remote control command is TriggerDelta n Expressed as: TriggerDelta n =TriggerTime n -TriggerTime n-1 According to the execution time of two adjacent target remote control instructions, the execution time difference of each target remote control instruction is determined. The execution time difference of the current target remote control instruction is the difference between the execution time of the current target remote control instruction and the execution time of the previous adjacent target remote control instruction. The execution time of the current target remote control instruction is recorded as ReplayTime n , the execution time of the previous adjacent target remote control command is recorded as ReplayTime n-1 , then the execution time difference of the current target remote control command is ReplayDelta n Represented as: ReplayDelta n =ReplayTime n -ReplayTime n-1 .

[0075] In step S405, the difference between the playback time difference and the trigger time difference of each target remote control command is determined as the delay time of each target remote control command, and the delay time of the current target remote control command is recorded as ReplayDelay n , the trigger time difference of the current target remote control command is recorded as TriggerDelta n , the execution time difference ReplayDelta of the current target remote control command n , then the delay time of the current target remote control command is expressed as: ReplayDelay n =ReplayDelta n -TriggerDelta n .

[0076] In step S406, the lag parameter can be determined based on the delay time of each target remote control command and the time occupied by the delay that can be perceived by the human eye. If the delay time is longer than the time occupied by the delay that can be perceived by the human eye, the user can feel the lag. The lag parameter determined in this way can reflect the user's actual usage experience.

[0077] In this embodiment, the delay time is determined based on the trigger time and execution time of two adjacent target remote control control instructions. When the target remote control control instructions are relatively dense, that is, when the trigger time difference of the target remote control control instructions is small, the determined delay time can more accurately represent the actual delay situation, so that the lag parameter can reflect the user's actual usage experience.

[0078] In an exemplary embodiment of the present disclosure, a method for determining the degree of jamming is provided. Figure 5 is a flow chart of a method for determining the degree of jamming according to an exemplary embodiment. Figure 5 As shown, the following steps are included:

[0079] Step S501: receiving a remote control instruction, which includes a control operation and a trigger time;

[0080] Step S502: executing a control operation to obtain the execution time of the remote control command;

[0081] Step S503: if the execution time of the remote control instruction is within the preset time period, determine that the remote control instruction is the target remote control instruction;

[0082] Step S504, determining the trigger time difference and execution time difference of each target remote control instruction according to the execution time sequence of the multiple target remote control instructions and the trigger time and execution time of two adjacent target remote control instructions;

[0083] Step S505, determining the delay time of each target remote control instruction according to the trigger time difference and execution time difference of each target remote control instruction;

[0084] Step S506, determining an initial jam value of each target remote control command according to the delay time of each target remote control command;

[0085] Step S507, determining a target jam value for each target remote control command based on the initial jam value for each target remote control command;

[0086] Step S508: determining a jamming parameter according to the target jamming value of each target remote control instruction.

[0087] The specific implementation of steps S501 to S505 refers to steps S401 to S405 and will not be repeated here.

[0088] In step S506, the initial stutter value can be determined based on the delay time of each target remote control command and the delay time that can be perceived by the human eye. In some embodiments, the initial stutter value of each target remote control command is determined based on the ratio of the delay time of each target remote control command to the set value, wherein the set value can be the refresh rate of the human eye, that is, 1 / 24 second. When the delay time of the target remote control command is greater than the refresh rate of the human eye, the human eye can perceive the stutter. The set value can also be set according to different users. For example, a stutter test is provided for the user. The critical value at which the user can perceive the stutter and cannot perceive the stutter is determined through the stutter test, and the critical value is used as the set value of the user device. In one example, the set value is denoted as F, and the delay time of the current target remote control command is denoted as ReplayDelay n , then the initial jam value J of the current target remote control command n Expressed as: J n =ReplayDelay n / F.

[0089] In step S507, since not all initial jamming values ​​of target remote control control instructions are used when determining the jamming parameters within the preset time period, after determining the initial jamming value of each target remote control control instruction, it is determined whether each target remote control control instruction meets the preset conditions. For target remote control control instructions that meet the preset conditions, they are not counted.

[0090] In some implementations, if the target remote control command meets a preset condition, the target jam value of the target remote control command is determined to be 0; if the target remote control command does not meet the preset condition, the target jam value of the target remote control command is determined to be an initial jam value.

[0091] The pre-conditions include at least one of the following:

[0092] The initial jamming value of the target remote control command is less than a first threshold;

[0093] The triggering time difference of the target remote control command is greater than the second threshold.

[0094] Since the initial stutter value is the ratio of the target remote control command's delay time to the set value, and the set value represents the duration of the delay within which the human eye can perceive stuttering, a smaller ratio indicates that the human eye cannot perceive stuttering. The stutter parameter represents the degree of stuttering within a preset period, i.e., the stuttering that the human eye can perceive. Therefore, when the initial stutter value of the target remote control command is less than the first threshold, it indicates that no stuttering has occurred, and the target remote control command is not counted when calculating the stutter parameter. The first threshold is 1, or a value that is very close to 1. When the trigger time difference of the target remote control command is large, since the commands are relatively dispersed, the user can easily perceive whether each target remote control command is stuttered. Therefore, when calculating the stutter parameter, target remote control commands with large trigger time differences do not need to be counted. The second threshold is the human eye refresh rate, or the critical value between whether the human eye can perceive stuttering and whether it cannot.

[0095] In step S508, the sum of the target jamming values ​​of all target remote control commands is determined as the jamming parameter. In one example, the target jamming value of each target remote control command is recorded as Filter(J n ), when the initial jam value J of the target remote control command n <1 or trigger time difference TriggerDelta n ≥F, Filter(J n )=0, otherwise, Filter(J n )=J n , then the jamming parameter TotalJ is expressed as: TotalJ=Filter(J1)+Filter(J2)+…+Filter(J n ).

[0096] In this embodiment, the sum of the initial jamming values ​​of the target remote control control instructions that do not meet the preset conditions is used as the jamming parameter within the preset time period. The larger the jamming parameter, the more frequent the jamming or the longer the jamming time within the preset time period. Therefore, the user's usage experience can be analyzed based on the jamming parameter, or the adjustment strategy can be dynamically set based on the jamming parameter. For example, when the jamming parameter is greater than the threshold, it automatically switches to a wireless connection with a better signal, thereby improving the user's usage experience.

[0097] In an exemplary embodiment of the present disclosure, a device for determining the degree of jamming is provided. Figure 6 is a block diagram of a device for determining a jam level according to an exemplary embodiment. Figure 6 As shown, the device for determining the jam level includes:

[0098] The receiving module 601 is configured to receive a remote control instruction, wherein the remote control instruction includes a control operation and a trigger time;

[0099] The execution module 602 is configured to execute the control operation and obtain the execution time of the remote control instruction;

[0100] The first determining module 603 is configured to determine that the remote control instruction is a target remote control instruction if the execution time of the remote control instruction is within a preset time period;

[0101] The second determining module 604 is configured to determine a jamming parameter according to the triggering time and the execution time of the target remote control instruction, where the jamming parameter is used to represent the jamming degree within a preset time period.

[0102] In an exemplary embodiment, there are multiple target remote control instructions, and the second determining module 604 is further configured to:

[0103] According to the execution time sequence of the multiple target remote control commands, the trigger time difference and execution time difference of each target remote control command are determined according to the trigger time and execution time of two adjacent target remote control commands;

[0104] Determining the delay time of each target remote control instruction based on the trigger time difference and execution time difference of each target remote control instruction;

[0105] Determine the jamming parameters based on the delay time of each target remote control command.

[0106] In an exemplary embodiment, the second determining module 604 is further configured to:

[0107] Determining an initial jam value for each target remote control command based on a delay time of each target remote control command;

[0108] Determining a target jam value for each target remote control command based on the initial jam value for each target remote control command;

[0109] A jamming parameter is determined according to a target jamming value of each target remote control instruction.

[0110] In an exemplary embodiment, the second determining module 604 is further configured to:

[0111] An initial jamming value of each target remote control command is determined according to a ratio of the delay time of each target remote control command to a set value.

[0112] In an exemplary embodiment, the second determining module 604 is further configured to:

[0113] If the target remote control command satisfies a preset condition, determining a target jam value of the target remote control command to be 0;

[0114] If the target remote control command does not meet the preset condition, the target jam value of the target remote control command is determined to be the initial jam value.

[0115] In an exemplary embodiment, the preset condition includes at least one of the following:

[0116] The initial jamming value of the target remote control command is less than a first threshold;

[0117] The triggering time difference of the target remote control command is greater than the second threshold.

[0118] In an exemplary embodiment, the second determining module 604 is further configured to:

[0119] The jamming parameter is determined according to the sum of the target jamming values ​​of all target remote control commands.

[0120] In an exemplary embodiment, the second determining module 604 is further configured to:

[0121] The difference between the playback time difference and the trigger time difference of each target remote control command is determined as the delay time of each target remote control command.

[0122] Regarding the apparatus in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0123] Figure 7 is a block diagram of an electronic device 700 according to an exemplary embodiment.

[0124] Reference Figure 7 , electronic device 700 may include one or more of the following components: a processing component 702 , a memory 704 , a power component 706 , a multimedia component 708 , an audio component 710 , an input / output (I / O) interface 712 , a sensor component 714 , and a communication component 716 .

[0125] The processing component 702 generally controls the overall operation of the electronic device 700, such as operations associated with display, phone calls, data communications, camera operation, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to perform all or part of the steps of the above-described method. In addition, the processing component 702 may include one or more modules to facilitate interaction between the processing component 702 and other components. For example, the processing component 702 may include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.

[0126] The memory 704 is configured to store various types of data to support operations on the electronic device 700. Examples of such data include instructions for any application or method operating on the electronic device 700, contact data, phone book data, messages, pictures, videos, etc. The memory 704 can be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk, or optical disk.

[0127] The power supply component 706 provides power to the various components of the electronic device 700. The power supply component 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to the electronic device 700.

[0128] The multimedia component 708 includes a screen that provides an output interface between the electronic device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, slides, and gestures on the touch panel. The touch sensor can not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 708 includes a front camera and / or a rear camera. When the electronic device 700 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera can receive external multimedia data. Each front camera and rear camera can be a fixed optical lens system or have a focal length and optical zoom capability.

[0129] The audio component 710 is configured to output and / or input audio signals. For example, the audio component 710 includes a microphone (MIC), which is configured to receive external audio signals when the electronic device 700 is in an operating mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal can be further stored in the memory 704 or transmitted via the communication component 716. In some embodiments, the audio component 710 also includes a speaker for outputting audio signals.

[0130] I / O interface 712 provides an interface between processing component 702 and peripheral interface modules, such as a keyboard, click wheel, buttons, etc. These buttons may include but are not limited to: a home button, volume buttons, a start button, and a lock button.

[0131] The sensor assembly 714 includes one or more sensors for providing various aspects of status assessment for the electronic device 700. For example, the sensor assembly 714 can detect the open / closed state of the electronic device 700, the relative positioning of components, such as the display and keypad of the electronic device 700. The sensor assembly 714 can also detect changes in the position of the electronic device 700 or a component of the electronic device 700, the presence or absence of user contact with the electronic device 700, the orientation or acceleration / deceleration of the electronic device 700, and temperature changes of the electronic device 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 714 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0132] The communication component 716 is configured to facilitate wired or wireless communication between the electronic device 700 and other devices. The electronic device 700 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 716 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 716 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0133] In an exemplary embodiment, the electronic device 700 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above methods.

[0134] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 704 including instructions, and the instructions can be executed by the processor 720 of the electronic device 700 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0135] A non-temporary computer-readable storage medium, when the instructions in the storage medium are executed by the processor of an electronic device, enables the electronic device to perform a method for determining the degree of jamming, the method including any of the above methods.

[0136] Other embodiments of the present disclosure will readily occur to those skilled in the art after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the present disclosure that follow the general principles of the present disclosure and include common knowledge or customary techniques in the art not disclosed herein. The description and examples are to be considered as exemplary only, with the true scope and spirit of the present disclosure being indicated by the following claims.

[0137] It should be understood that the present disclosure is not limited to the exact structures that have been described above and shown in the drawings, and that various modifications and changes can be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims

1. A method for determining the degree of jamming, characterized in that: The method comprises: receiving a remote control instruction, wherein the remote control instruction includes a control operation and a trigger time; Executing the control operation to obtain the execution time of the remote control instruction; If the execution time of the remote control instruction is within a preset time period, determining that the remote control instruction is a target remote control instruction; A jam parameter is determined according to the triggering time and the execution time of the target remote control instruction, where the jam parameter is used to characterize the jam degree within the preset time period.

2. The method for determining the degree of jamming according to claim 1, wherein: There are multiple target remote control instructions, and determining the jamming parameter according to the triggering time and execution time of the target remote control instructions includes: According to the execution time sequence of the plurality of target remote control instructions, and based on the trigger time and execution time of two adjacent target remote control instructions, determining the trigger time difference and execution time difference of each target remote control instruction; Determining a delay time of each target remote control instruction according to a trigger time difference and an execution time difference of each target remote control instruction; The jamming parameter is determined according to the delay time of each target remote control instruction.

3. The method for determining the degree of jamming according to claim 2, wherein: The determining the jamming parameter according to the delay time of each target remote control instruction includes: Determining an initial jam value of each target remote control command according to a delay time of each target remote control command; Determining a target jam value for each target remote control command according to the initial jam value for each target remote control command; The jamming parameter is determined according to the target jamming value of each target remote control instruction.

4. The method for determining the degree of jamming according to claim 3, wherein: The step of determining an initial jam value of each target remote control command according to a delay time of each target remote control command includes: An initial jamming value of each target remote control command is determined according to a ratio of the delay time of each target remote control command to a set value.

5. The method for determining the jam level according to claim 3, wherein: Determining a target jam value for each target remote control instruction according to the initial jam value for each target remote control instruction includes: If the target remote control command satisfies a preset condition, determining a target jam value of the target remote control command to be 0; If the target remote control command does not meet the preset condition, the target jam value of the target remote control command is determined to be the initial jam value.

6. The method for determining the degree of jamming according to claim 5, wherein: The preset conditions include at least one of the following: The initial jam value of the target remote control command is less than a first threshold; The trigger time difference of the target remote control instruction is greater than a second threshold.

7. The method for determining the jam level according to claim 3, wherein: The determining the jamming parameter according to the target jamming value of each target remote control instruction includes: The jamming parameter is determined according to the sum of the target jamming values ​​of all the target remote control instructions.

8. The method for determining the degree of jamming according to claim 2, wherein: Determining the delay time of each target remote control instruction according to the trigger time difference and the execution time difference of each target remote control instruction includes: The difference between the playback time difference and the trigger time difference of each target remote control instruction is determined as the delay time of each target remote control instruction.

9. A device for determining the degree of jamming, characterized in that: The device comprises: A receiving module is configured to receive a remote control instruction, wherein the remote control instruction includes a control operation and a trigger time; an execution module, configured to execute the control operation and obtain the execution time of the remote control instruction; A first determining module is configured to determine that the remote control instruction is a target remote control instruction if the execution time of the remote control instruction is within a preset time period; The second determining module is configured to determine a jamming parameter according to the triggering time and the execution time of the target remote control instruction, where the jamming parameter is used to characterize the jamming degree within the preset time period.

10. An electronic device, characterized in that: include: processor; a memory for storing processor-executable instructions; The processor is configured to execute the method according to any one of claims 1 to 8.

11. A non-transitory computer-readable storage medium, characterized in that When the instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to execute the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Method and device for detecting blocking

    CN109074303A

  • Lag detection method and device

    CN110618904A

  • Touch delay detection method and device, electronic equipment and storage medium

    CN111367434A

  • Delay test method and related device

    CN113505029A

  • Delay detection method and device, electronic equipment and storage medium

    CN114115434A