Control method for data connection line and data connection line device
The USB interface control chip collects voltage fluctuation data, analyzes the connection status and generates a power consumption control strategy, which solves the problem of high power consumption of the USB cable when the mobile phone is in standby, achieves precise power consumption control and the responsiveness of the charging data connection, and extends the Battery life.
Patent Information
- Application Number
- CN202410739309.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-07
- Publication Date
- 2024-10-01
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
When the mobile phone is connected to a computer or charger via a USB data cable, it will continue to consume power even in standby mode, affecting standby time and battery life. Completely cutting off the USB power supply will affect normal use.
The USB interface control chip collects voltage fluctuation data, analyzes the connection status, builds scene portraits, predicts load fluctuations, generates power consumption control strategies, and dynamically adjusts hardware operations to achieve precise power consumption control.
While reducing the power consumption of the USB cable, it ensures the mobile phone's responsiveness to charging and data connections during standby, extends battery life, and balances energy saving and experience.
Smart Images

Figure CN118732808A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic technology, and in particular to a control method for a data connection line and a data connection line device. Background Art
[0002] Currently, when a mobile phone is connected to a computer or charger via a USB data cable, it will continue to consume a certain amount of power to maintain the connection even when it is in standby mode. The main reasons include: the mobile phone needs to continuously detect the connection status of the USB data cable to determine whether it is connected to the computer or charger; the mobile phone needs to be ready to respond to the computer's data transmission request at all times to maintain minimum communication; when the mobile phone is charging, it needs to maintain communication with the charger to monitor the charging status and power in real time; some mobile phones are set to a continuous charging mode, which will continue to replenish power instead of stopping charging after it is fully charged. The above behaviors will continue to consume the power of the mobile phone, shorten the standby time, and damage the mobile phone battery. However, completely cutting off the USB power supply will also cause problems, such as the mobile phone cannot detect the charger connection, cannot respond to the computer connection request, etc., affecting normal use. Summary of the invention
[0003] Based on this, it is necessary to provide a control method for a data connection line and a data connection line device to solve at least one of the above technical problems.
[0004] To achieve the above object, a control method for a data connection line comprises the following steps:
[0005] Step S1: collecting voltage fluctuations through the USB interface control chip to obtain voltage fluctuation fingerprints; analyzing the interface connection status according to the voltage fluctuation fingerprints to obtain USB connection status data;
[0006] Step S2: construct a scene portrait of the connected device according to the USB connection status data to obtain scene label data; perform a weighted analysis of the battery health of the scene label data according to the USB connection status data to obtain scene label weighted data; perform a device operation status analysis according to the scene label weighted data to obtain target power consumption control level data;
[0007] Step S3: performing power consumption load prediction according to the USB connection status data and the scene tag weighted data to obtain load fluctuation curve data; performing time-weighted analysis on the load fluctuation curve data to obtain time-weighted power consumption data; performing target power consumption calibration on the time-weighted power consumption data according to the target power consumption control level data to obtain a target power consumption value;
[0008] Step S4: Analyze the control strategy combination scheme according to the target power consumption value to obtain the strategy combination scheme; perform multi-dimensional strategy impact analysis on the strategy combination scheme to obtain multi-dimensional strategy impact data; perform multi-objective optimization on the strategy combination scheme according to the multi-dimensional strategy impact data to obtain power consumption control strategy data; generate power consumption control strategy parameters according to the target power consumption value and the power consumption control strategy data to obtain power consumption control strategy parameters;
[0009] Step S5: Perform hardware mapping analysis on the power consumption control strategy data to obtain hardware control mapping data; perform numerical quantization on the power consumption control strategy parameters to obtain a control data packet; generate a control signal according to the control data packet to obtain control signal data;
[0010] Step S6: The target hardware module performs control execution processing according to the control signal data to obtain feedback signal data; the USB interface control chip performs feedback quantification analysis on the feedback signal data to obtain index quantification data; the control effect of the control signal data is optimized according to the index quantification data to realize the control operation of the data connection line.
[0011] The present invention collects and analyzes the voltage fluctuation of the USB interface to quickly and accurately identify the connection status, such as charging, data transmission, standby, etc., providing a basis for subsequent personalized power consumption control. Combined with the connection status, user habits and battery health status, a refined connection scenario portrait is constructed, and the target power consumption control level, such as "late night charging", "light office", "heavy gaming", etc., is determined to make the power consumption control strategy more targeted. Predict the future load fluctuation trend, take the time factor into consideration, calculate the expected power consumption in different time periods, and finally obtain the target power consumption value that meets the target power consumption control level, making the power consumption control more dynamic and intelligent. The target power consumption value is disassembled into multiple sub-goals, and a variety of feasible control strategy solutions are retrieved and combined from the preset strategy library, and then multi-dimensional evaluation and optimization are performed, and finally the optimal solution is selected and specific control parameters are generated to ensure that while reducing power consumption, the impact on other performance of the mobile phone is minimized. The abstract power consumption control strategy is converted into a control signal that can be recognized and executed by hardware, including parsing instructions, mapping hardware, quantizing parameters, packaging data, adding checksums, etc., to ensure that the control instructions can be accurately understood and executed by the hardware. The target hardware module receives and executes the control instructions, and feeds back the execution results. The USB interface control chip evaluates the control effect based on the feedback information, and makes dynamic adjustments to form a closed-loop control, thereby achieving precise control and continuous optimization of power consumption. Therefore, the present invention provides a control method and a data connection line device for a data connection line. While reducing the power consumption of the USB connection line, the control method maximizes the responsiveness of the mobile phone to charging and data connection when it is in standby mode. Through fine-grained intelligent control of different scenarios, a good balance is achieved between energy saving and experience, making up for the current drawbacks of "either continuous power consumption or direct power off".
[0012] Preferably, step S1 comprises the following steps:
[0013] Step 11: Capture energy pulsation through the USB interface control chip to obtain the original voltage sequence;
[0014] Step 12: Extract the fluctuation characteristics of the original voltage sequence to obtain the voltage fluctuation fingerprint;
[0015] Step 13: Decode the connection status according to the voltage fluctuation fingerprint to obtain the preliminary connection status;
[0016] Step 14: Read the identity information according to the preliminary connection status to obtain the device identity data;
[0017] Step 15: Perform connection status analysis based on the preliminary connection status and device identification data to obtain USB connection status data.
[0018] The present invention collects voltage data at high frequency through a USB interface control chip to obtain an original voltage sequence containing rich information, laying a data foundation for subsequent identification of the connection state, and can capture the details of voltage changes more meticulously and improve the recognition accuracy. Fluctuation characteristics such as voltage amplitude, frequency, and phase are extracted from the original voltage sequence to form a unique voltage fluctuation fingerprint, which provides a key basis for distinguishing different connection states, and can convert complex voltage signals into concise feature vectors, which is convenient for subsequent processing and analysis. The extracted voltage fluctuation fingerprint is matched with a pre-established connection state fingerprint library to quickly and preliminarily determine the current connection state, such as charging, data transmission, or standby, thereby providing direction for subsequent refined control, avoiding complex protocol parsing, and improving recognition efficiency. According to the initially determined connection state, the USB protocol is used to communicate with the connected device, and the identity information of the device, such as the manufacturer ID, product ID, etc., is read to provide data support for the subsequent construction of a more accurate device portrait, which can distinguish devices of different types and models and realize a more personalized power consumption control strategy. Combined with the preliminary connection status and device identification data, a comprehensive analysis is performed to obtain complete USB connection status data, such as the type of connected device, charging power, data transmission protocol, etc., to provide a more comprehensive and accurate information basis for subsequent scenario analysis and power consumption control, and to more accurately identify the connection scenario, providing a more precise decision-making basis for subsequent power consumption control.
[0019] Preferably, step S2 comprises the following steps:
[0020] Step S21: interpreting the USB connection status data for connection intention to obtain a user intention vector; performing system load analysis on the USB connection status data to obtain system load status data; performing battery operation analysis on the USB connection status data to obtain battery cycle times and battery temperature data;
[0021] Step S22: constructing a scene portrait according to the user intention vector and the system load status data to obtain scene label data;
[0022] Step S23: performing battery health weighting processing on the scene label data according to the battery cycle number and the battery temperature data to obtain scene label weighted data;
[0023] Step S24: Exploring the state strategy space using a preset strategy library according to the scene tag weighted data to obtain a state strategy candidate set;
[0024] Step S25: Analyze the device operation status according to the scene label weighted data and the state strategy candidate set to obtain the target power consumption control level data.
[0025] The present invention obtains more comprehensive information by performing multi-angle analysis on USB connection status data, including interpreting user connection intention, analyzing system load conditions and evaluating battery working status, laying the foundation for building accurate scene portraits, and being able to more accurately predict user behavior and device status, providing a more accurate basis for subsequent personalized power consumption control. According to the user intention vector and system load status data, the pre-established scene model library is matched, and more specific scene labels are marked for the current connection state, such as "late night charging", "light office", "heavy gaming", etc., so that the power consumption control strategy is more targeted, avoiding "one size fits all" power consumption management, and being able to adopt different power consumption control strategies for different scenarios to achieve refined management. According to the health status of the battery, the weight of the scene label is adjusted, for example, the weight of the battery aging mobile phone in high power consumption scenarios such as "heavy gaming" is reduced to extend the battery life, and the battery health status can be fully considered in the power consumption control process, avoiding accelerated battery aging due to excessive discharge or high-load operation, and extending the battery life. According to the weighted data of the scene label, the power consumption control strategy related to the current scene is retrieved from the preset strategy library, and combined into different state strategy candidate sets, providing more options for the subsequent selection of the optimal strategy. Different power consumption control strategies can be flexibly combined according to different scene requirements to find the most suitable solution for the current scene. By analyzing the power consumption, temperature, performance and other indicators of the mobile phone under different state strategies, the strategy that best meets the target power consumption control level is selected to ensure that the mobile phone can effectively control power consumption while meeting performance requirements. It can minimize power consumption and extend the battery life of the mobile phone while ensuring user experience.
[0026] Preferably, step S25 comprises the following steps:
[0027] Step S251: performing scenario power consumption prediction on the state strategy candidate set according to the scenario label weighted data to obtain strategy power consumption prediction data;
[0028] Step S252: generating an optimal state strategy according to the strategy power consumption prediction data to obtain optimal state strategy data;
[0029] Step S253: judging the operation state according to the optimal state strategy data to obtain the equipment operation state data;
[0030] Step S254: Perform power consumption control classification according to the optimal state strategy data and the device operation state data to obtain target power consumption control level data.
[0031] The present invention predicts the power consumption value of each strategy combination in a specific scenario by combining the scene label weighted data and the power consumption model of the state strategy, provides a quantitative basis for selecting the optimal strategy, avoids blind selection or empirical judgment, and can more accurately evaluate the actual effect of each strategy combination. According to the power consumption prediction data and the preset optimization goals, such as minimizing power consumption, balancing power consumption and performance, etc., the state strategy that best meets the requirements is selected to ensure that the power consumption is minimized under the premise of meeting the user's needs, and the optimal solution can be found in a variety of strategy combinations, avoiding resource waste and improving the efficiency of power consumption control. According to the content of the optimal state strategy, the running state that the mobile phone will be in under the strategy, such as CPU frequency, screen brightness, etc., is predicted, providing a more refined adjustment basis for subsequent power consumption control, and the running state of the mobile phone can be predicted in advance, providing a more accurate reference for subsequent power consumption control. According to the power consumption target of the optimal state strategy and the device running state data, the power consumption control is divided into different levels, such as "low power consumption", "balanced mode", "high performance", etc., providing users with more flexible power consumption management options, and can dynamically adjust the power consumption control strategy according to user needs and actual conditions to achieve the best balance between energy saving and performance.
[0032] Preferably, step S3 comprises the following steps:
[0033] Step S31: Calculate the baseline power consumption value according to the USB connection status data to obtain the baseline power consumption value; perform connection protocol adaptation on the baseline power consumption value according to the USB connection status data to obtain the standard power consumption value;
[0034] Step S32: performing strategic power consumption adjustment on the standard power consumption value to obtain strategically adjusted power consumption data;
[0035] Step S33: performing load fluctuation prediction according to the USB connection status data and the scene label weighted data to obtain load fluctuation curve data;
[0036] Step S34: dividing the load fluctuation curve data into time slices to obtain time slice load data; performing time weight empowerment according to the time slice load data to obtain time weight empowerment data;
[0037] Step S35: Performing strategy resonance on the strategy-adjusted power consumption data and the time-weighted empowerment data to obtain time-weighted power consumption data;
[0038] Step S36: calibrate the time-weighted power consumption data according to the target power consumption control level data to obtain a target power consumption value.
[0039] The present invention queries and calculates the baseline power consumption value from a pre-established database according to the USB connection status data, and amends it according to the connection protocol version and specification to obtain a more accurate standard power consumption value, providing an accurate reference basis for the subsequent power consumption control strategy, avoiding control failure or over-control caused by power consumption estimation deviation. According to the target power consumption control level, the standard power consumption value is adjusted, for example, the standard value is lowered in low power consumption mode, and the standard value is maintained or slightly increased in high performance mode, so that the power consumption control strategy is more flexible and can better adapt to the power consumption requirements in different scenarios, avoiding "one-size-fits-all" power consumption management, and achieving a better balance between energy saving and performance. Combined with the USB connection status data and the scene label weighted data, the change trend of the load such as data transmission volume and charging power in the future period is predicted, and the load fluctuation curve is drawn to provide forward-looking guidance for the power consumption control strategy, which can predict the power consumption change trend in advance, rather than just controlling according to the current state, thereby improving the accuracy and forward-looking of power consumption control. The load fluctuation curve is divided into multiple time slices according to time, and different weights are assigned to each time slice according to its importance. For example, the importance of daytime working time is higher than that of late-night rest time. This makes the power consumption control strategy more refined and allows different power consumption control strengths to be adopted in different time periods, avoiding simple and crude average distribution and maximizing energy saving effects.
[0040] Preferably, step S4 comprises the following steps:
[0041] Step S41: Analyze the standard power consumption difference of the target power consumption value and decompose the target to obtain the power consumption control sub-target;
[0042] Step S42: searching for control strategies using a preset strategy library according to the power consumption control sub-goal to obtain a control candidate strategy set;
[0043] Step S43: constructing a strategy combination according to the power consumption control sub-goal and the control candidate strategy set to obtain a strategy combination solution;
[0044] Step S44: Evaluate the power consumption efficiency of the strategy combination scheme to obtain strategy efficiency ranking data; predict the performance impact of the strategy combination scheme to obtain strategy performance evaluation data;
[0045] Step S45: performing a heat impact assessment on the strategy combination scheme to obtain strategy heat impact assessment data; performing a battery life impact assessment on the strategy combination scheme to obtain strategy life assessment data;
[0046] Step S46: performing multi-objective optimization on the strategy combination scheme according to the strategy benefit ranking data, the strategy performance evaluation data, the strategy heat evaluation data, and the strategy life evaluation data to obtain power consumption control strategy data;
[0047] Step S47: generating power consumption control strategy parameters according to the target power consumption value and the power consumption control strategy data to obtain power consumption control strategy parameters.
[0048] The present invention compares and analyzes the target power consumption value with the standard power consumption value, and decomposes it into multiple specific power consumption control sub-goals, such as reducing data transmission power consumption, reducing standby power consumption, etc., so that power consumption control is more targeted, and more targeted strategies can be adopted for different power consumption sources to improve the efficiency of power consumption control. According to each power consumption control sub-goal, a suitable control strategy is retrieved from a pre-established strategy library to form a control candidate strategy set, which provides rich choices for subsequent strategy combinations, can make full use of existing knowledge and experience, quickly find effective power consumption control strategies, and avoid repeated development and testing. According to the importance of the power consumption control sub-goals and the influence relationship between them, the control candidate strategies are combined to form multiple feasible strategy combination schemes, which provide more selection space for multi-objective optimization, can explore different strategy combination schemes, and find the best balance between multiple goals. The power consumption benefit evaluation and performance impact prediction of each strategy combination scheme provide a quantitative basis for the selection of the scheme, can more objectively compare the advantages and disadvantages of different schemes, avoid judgment based on experience alone, and improve the scientific nature of decision-making. The impact of heat and battery life on each strategy combination is evaluated, and the impact of power consumption control on the overall performance of the mobile phone is taken into consideration, so as to avoid sacrificing other aspects of performance in order to reduce power consumption, such as causing the mobile phone to overheat or shorten the battery life, and to find the best balance between power consumption control and the overall performance of the mobile phone. Taking into account multiple objectives such as power efficiency, performance impact, heat impact and battery life impact, the multi-objective optimization algorithm is used to select the best solution from the strategy combination scheme to ensure that the negative impact on the overall performance of the mobile phone is minimized while reducing power consumption. The best balance can be found between multiple conflicting objectives, avoiding one thing at a time and another, and achieving the optimization of power consumption control. According to the target power consumption value and the final power consumption control strategy data, specific control strategy parameters are generated, such as data transmission rate limit threshold, hardware module shutdown time, etc., and the abstract strategy is converted into executable instructions to guide the hardware module to perform specific power consumption control operations to ensure that the power consumption control strategy is effectively implemented.
[0049] Preferably, step S46 includes the following steps:
[0050] Step S461: constructing a multi-objective optimization model according to the strategy benefit ranking data, the strategy performance evaluation data, the strategy heat evaluation data, and the strategy life evaluation data to obtain a multi-objective optimization model;
[0051] Step S462: Optimizing the target weight vector of the multi-objective optimization model to obtain the target weight vector; solving the target frontier according to the multi-objective optimization model and the target weight vector to obtain the optimal solution set data;
[0052] Step S463: Analyze the actual constraints of the optimal solution set data to obtain the optimal feasible solution set data;
[0053] Step S464: weighted scoring is performed on the optimal feasible solution set data according to the target weight vector to obtain a comprehensive scoring vector; and power consumption control strategy is generated according to the comprehensive scoring vector to obtain power consumption control strategy data.
[0054] The present invention converts the power consumption control problem into a mathematical problem by incorporating multiple evaluation indicators (strategy benefits, performance impact, heat generation, battery life) into a multi-objective optimization model, laying a foundation for solving the best strategy combination scheme using an optimization algorithm, and can more systematically and comprehensively consider the mutual influence between multiple factors, avoiding the one-sidedness of a single indicator and improving the scientific nature of decision-making. Through the target weight vector, the relative importance of each optimization target is clarified, and the multi-objective optimization algorithm is used to solve the Pareto optimal solution set, and a balance is achieved between multiple targets. The priority of the optimization target can be flexibly adjusted according to actual needs, such as whether to pay more attention to power consumption or performance, and find the solution that best meets actual needs. Considering actual constraints such as mobile phone hardware performance and system stability, the feasibility analysis of the Pareto optimal solution set is carried out, and the strategy combination scheme that can be operated in the actual environment is screened out to ensure that the final selected strategy can play a role in actual applications, avoiding the situation where the theoretical optimality cannot be operated in practice, and improving the feasibility and practicality of the solution. According to the target weight vector, each solution in the optimal feasible solution set is weighted and scored, and the solution with the highest comprehensive score is selected as the final power consumption control strategy to ensure that the final selected strategy achieves a good balance among multiple goals. It can select the solution that best meets the target weight setting, that is, the solution that best meets the actual needs, from multiple feasible solutions, avoiding the subjectivity of random selection or empirical judgment and improving the accuracy and reliability of decision-making.
[0055] Preferably, step S5 comprises the following steps:
[0056] Step S51: parsing the power consumption control strategy data for strategy instructions to obtain a strategy instruction list; querying a hardware mapping table according to the strategy instruction list to obtain hardware control mapping data;
[0057] Step S52: quantizing the power consumption control strategy parameters to obtain quantized parameter values; and packaging the hardware control mapping data and the quantized parameter values to obtain control data packets;
[0058] Step S53: performing timing logic arrangement on the control data packet to obtain a timing control sequence; performing check code generation on the timing control sequence to obtain a check control sequence;
[0059] Step S54: Physically transmit the signal of the verification control sequence to obtain control signal data.
[0060] The present invention provides clear instructions and operation objects for subsequent hardware control operations by parsing abstract power consumption control strategy data into specific control instructions, and finding the corresponding hardware module and control register address through the hardware mapping table, so as to establish a connection between the software strategy and the hardware operation, and lay a foundation for the actual execution of the power consumption control strategy. The power consumption control strategy parameters are quantified into hardware-recognizable values, and packaged into a control data packet with the hardware mapping data, so that the control instructions can be accurately understood and executed by the hardware, ensuring that the control instructions can be correctly parsed and executed by the hardware, and avoiding control failures caused by incompatible data formats. According to the working timing requirements of the hardware module, the control data packets are sorted and combined, and a checksum is added to ensure the correctness and reliability of data transmission, avoiding hardware failures or control failures caused by data transmission errors, and improving the stability and reliability of power consumption control. The check control sequence is sent out through the physical layer of the USB interface, and the control instruction is finally passed to the target hardware module on the data connection line (the target hardware module is an independent chip integrated inside the data line, and realizes more control functions by communicating with the mobile phone and the connection device), realizing the control of the hardware by the software, completing the conversion from the software strategy to the hardware operation, and enabling the power consumption control strategy to be truly executed.
[0061] Preferably, step S6 comprises the following steps:
[0062] Step S61: the target hardware module captures the control signal data and performs authenticity verification to obtain verification result data; performs precise matching of instruction sets according to the verification result data to obtain recognized instruction data;
[0063] Step S62: the target hardware module performs hardware state control according to the identified instruction data to obtain hardware state control data;
[0064] Step S63: Performing synchronous feedback of state change according to the hardware state control data to obtain feedback signal data;
[0065] Step S64: the USB interface control chip performs feedback information analysis on the feedback signal data to obtain hardware status data;
[0066] Step S65: obtaining real-time power supply parameters of the interface; performing data fusion correlation on the real-time power supply parameters of the interface and the hardware status data to obtain correlation analysis result data;
[0067] Step S66: using a preset quantitative index set to perform index quantification processing on the association analysis result data to obtain index quantification data;
[0068] Step S67: Evaluate the control effect according to the indicator quantification data to obtain control effect evaluation data; and optimize the control signal data according to the control effect evaluation data to achieve control operation of the data connection line.
[0069] The present invention receives and verifies control signals through the target hardware module, ensures the correctness and integrity of the instructions, avoids hardware misoperation caused by data errors, and improves the reliability of power consumption control. The target hardware module performs corresponding hardware operations according to the identified instructions, such as adjusting voltage, shutting down modules, etc., realizes the specific implementation of the power consumption control strategy at the hardware level, converts software instructions into actual hardware operations, and enables the power consumption control strategy to be truly effective. The target hardware module feeds back the hardware state regulation result to the USB interface control chip, realizes real-time monitoring of the hardware state, allows the control center to timely understand the hardware state changes, provides a basis for subsequent dynamic adjustments, and forms a closed-loop control. The USB interface control chip analyzes the feedback signal and extracts hardware state data, such as the current power consumption level, module switch state, etc., to provide a data basis for evaluating the control effect, to timely understand the execution of the power consumption control strategy, and to provide a basis for subsequent optimization and adjustment. The real-time power supply parameters of the interface are associated with the hardware state data, such as analyzing the relationship between voltage changes and module switches, further understanding the influence of the power consumption control strategy, and being able to more deeply analyze the effect of the power consumption control strategy, providing a more accurate reference for subsequent optimization. By using a preset set of quantitative indicators, such as the percentage of power consumption reduction and the rate of performance change, the results of the correlation analysis are quantitatively evaluated, and the control effect is converted into a quantifiable indicator for easy evaluation and comparison. This can more intuitively evaluate the effect of power consumption control and provide a clearer goal for subsequent optimization. Based on the quantitative data of the indicators, the effect of the current control strategy is evaluated, and the control signal is dynamically adjusted based on the evaluation results, such as modifying the control parameters and selecting different control strategy combinations, etc., to achieve closed-loop optimization of power consumption control, and the power consumption control strategy can be automatically adjusted according to the actual situation, the control effect can be continuously optimized, and the accuracy and adaptability of power consumption control can be improved.
[0070] Preferably, the present invention further provides a data connection line device, used to execute the control method for the data connection line as described above, the data connection line device comprising:
[0071] The data acquisition module is used to collect voltage fluctuations through the USB interface control chip to obtain voltage fluctuation fingerprints; analyze the interface connection status according to the voltage fluctuation fingerprints to obtain USB connection status data;
[0072] The status analysis module is used to construct a scene portrait of the connected device based on the USB connection status data to obtain the scene label data; perform a weighted analysis on the battery health of the scene label data based on the USB connection status data to obtain the scene label weighted data; perform a device operation status analysis based on the scene label weighted data to obtain the target power consumption control level data;
[0073] The power consumption evaluation module is used to predict the power consumption load according to the USB connection status data and the scene label weighted data to obtain the load fluctuation curve data; perform time-weighted analysis on the load fluctuation curve data to obtain the time-weighted power consumption data; perform target power consumption calibration on the time-weighted power consumption data according to the target power consumption control level data to obtain the target power consumption value;
[0074] A control strategy formulation module is used to analyze the control strategy combination scheme according to the target power consumption value to obtain the strategy combination scheme; perform multi-dimensional strategy impact analysis on the strategy combination scheme to obtain multi-dimensional strategy impact data; perform multi-objective optimization on the strategy combination scheme according to the multi-dimensional strategy impact data to obtain power consumption control strategy data; generate power consumption control strategy parameters according to the target power consumption value and the power consumption control strategy data to obtain power consumption control strategy parameters;
[0075] The control signal generation module is used to perform hardware mapping analysis on the power consumption control strategy data to obtain hardware control mapping data; perform numerical quantization on the power consumption control strategy parameters to obtain a control data packet; and generate a control signal according to the control data packet to obtain control signal data;
[0076] The control execution module is used for the target hardware module to perform control execution processing according to the control signal data to obtain feedback signal data; the USB interface control chip performs feedback quantitative analysis on the feedback signal data to obtain index quantitative data; the control effect of the control signal data is optimized according to the index quantitative data to realize the control operation of the data connection line.
[0077] The present invention collects and analyzes the voltage fluctuation of the USB interface to quickly and accurately identify the connection status, such as charging, data transmission, standby, etc., providing a basis for subsequent personalized power consumption control. Combined with the connection status, user habits and battery health status, a refined connection scenario portrait is constructed, and the target power consumption control level, such as "late night charging", "light office", "heavy gaming", etc., is determined to make the power consumption control strategy more targeted. Predict the future load fluctuation trend, take the time factor into consideration, calculate the expected power consumption in different time periods, and finally obtain the target power consumption value that meets the target power consumption control level, making the power consumption control more dynamic and intelligent. The target power consumption value is disassembled into multiple sub-goals, and a variety of feasible control strategy solutions are retrieved and combined from the preset strategy library, and then multi-dimensional evaluation and optimization are performed, and finally the optimal solution is selected and specific control parameters are generated to ensure that while reducing power consumption, the impact on other performance of the mobile phone is minimized. The abstract power consumption control strategy is converted into a control signal that can be recognized and executed by hardware, including parsing instructions, mapping hardware, quantizing parameters, packaging data, adding checksums, etc., to ensure that the control instructions can be accurately understood and executed by the hardware. The target hardware module receives and executes the control instructions, and feeds back the execution results. The USB interface control chip evaluates the control effect based on the feedback information, and makes dynamic adjustments to form a closed-loop control, thereby achieving precise control and continuous optimization of power consumption. Therefore, the present invention provides a control method and a data connection line device for a data connection line. While reducing the power consumption of the USB connection line, the control method maximizes the responsiveness of the mobile phone to charging and data connection when it is in standby mode. Through fine-grained intelligent control of different scenarios, a good balance is achieved between energy saving and experience, making up for the current drawbacks of "either continuous power consumption or direct power off". BRIEF DESCRIPTION OF THE DRAWINGS
[0078] Figure 1 A schematic flow chart of steps of a control method for a data connection line;
[0079] Figure 2 for Figure 1 Detailed implementation steps of step S3 in FIG.
[0080] Figure 3 for Figure 1 Detailed implementation steps of step S4 in FIG.
[0081] The purpose, features and advantages of the present invention will be further described with reference to the accompanying drawings in conjunction with the embodiments. DETAILED DESCRIPTION
[0082] The following is a clear and complete description of the technical method of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by technicians in this field without creative work are within the scope of protection of the present invention.
[0083] In addition, the accompanying drawings are only schematic illustrations of the present invention and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. The functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor methods and / or microcontroller methods.
[0084] It should be understood that, although the terms "first", "second", etc. may be used herein to describe various units, these units should not be limited by these terms. These terms are used only to distinguish one unit from another unit. For example, without departing from the scope of the exemplary embodiments, the first unit may be referred to as the second unit, and similarly the second unit may be referred to as the first unit. The term "and / or" used herein includes any and all combinations of one or more of the listed associated items.
[0085] To achieve this, please refer to Figures 1 to 3 , a control method for a data connection line, comprising the following steps:
[0086] Step S1: collecting voltage fluctuations through the USB interface control chip to obtain voltage fluctuation fingerprints; analyzing the interface connection status according to the voltage fluctuation fingerprints to obtain USB connection status data;
[0087] Step S2: construct a scene portrait of the connected device according to the USB connection status data to obtain scene label data; perform a weighted analysis of the battery health of the scene label data according to the USB connection status data to obtain scene label weighted data; perform a device operation status analysis according to the scene label weighted data to obtain target power consumption control level data;
[0088] Step S3: performing power consumption load prediction according to the USB connection status data and the scene tag weighted data to obtain load fluctuation curve data; performing time-weighted analysis on the load fluctuation curve data to obtain time-weighted power consumption data; performing target power consumption calibration on the time-weighted power consumption data according to the target power consumption control level data to obtain a target power consumption value;
[0089] Step S4: Analyze the control strategy combination scheme according to the target power consumption value to obtain the strategy combination scheme; perform multi-dimensional strategy impact analysis on the strategy combination scheme to obtain multi-dimensional strategy impact data; perform multi-objective optimization on the strategy combination scheme according to the multi-dimensional strategy impact data to obtain power consumption control strategy data; generate power consumption control strategy parameters according to the target power consumption value and the power consumption control strategy data to obtain power consumption control strategy parameters;
[0090] Step S5: Perform hardware mapping analysis on the power consumption control strategy data to obtain hardware control mapping data; perform numerical quantization on the power consumption control strategy parameters to obtain a control data packet; generate a control signal according to the control data packet to obtain control signal data;
[0091] Step S6: The target hardware module performs control execution processing according to the control signal data to obtain feedback signal data; the USB interface control chip performs feedback quantification analysis on the feedback signal data to obtain index quantification data; the control effect of the control signal data is optimized according to the index quantification data to realize the control operation of the data connection line.
[0092] The present invention collects and analyzes the voltage fluctuation of the USB interface to quickly and accurately identify the connection status, such as charging, data transmission, standby, etc., providing a basis for subsequent personalized power consumption control. Combined with the connection status, user habits and battery health status, a refined connection scenario portrait is constructed, and the target power consumption control level, such as "late night charging", "light office", "heavy gaming", etc., is determined to make the power consumption control strategy more targeted. Predict the future load fluctuation trend, take the time factor into consideration, calculate the expected power consumption in different time periods, and finally obtain the target power consumption value that meets the target power consumption control level, making the power consumption control more dynamic and intelligent. The target power consumption value is disassembled into multiple sub-goals, and a variety of feasible control strategy solutions are retrieved and combined from the preset strategy library, and then multi-dimensional evaluation and optimization are performed, and finally the optimal solution is selected and specific control parameters are generated to ensure that while reducing power consumption, the impact on other performance of the mobile phone is minimized. The abstract power consumption control strategy is converted into a control signal that can be recognized and executed by hardware, including parsing instructions, mapping hardware, quantizing parameters, packaging data, adding checksums, etc., to ensure that the control instructions can be accurately understood and executed by the hardware. The target hardware module receives and executes the control instructions, and feeds back the execution results. The USB interface control chip evaluates the control effect based on the feedback information, and makes dynamic adjustments to form a closed-loop control, thereby achieving precise control and continuous optimization of power consumption. Therefore, the present invention provides a control method and a data connection line device for a data connection line. While reducing the power consumption of the USB connection line, the control method maximizes the responsiveness of the mobile phone to charging and data connection when it is in standby mode. Through fine-grained intelligent control of different scenarios, a good balance is achieved between energy saving and experience, making up for the current drawbacks of "either continuous power consumption or direct power off".
[0093] In the embodiment of the present invention, reference Figure 1 The above is a schematic flow chart of the steps of the control method for a data connection line of the present invention. In this example, the control method for a data connection line includes the following steps:
[0094] Step S1: collecting voltage fluctuations through the USB interface control chip to obtain voltage fluctuation fingerprints; analyzing the interface connection status according to the voltage fluctuation fingerprints to obtain USB connection status data;
[0095] In an embodiment of the present invention, the USB interface control chip continuously collects voltage data of the USB interface, and generates a unique voltage fluctuation fingerprint by analyzing the frequency, amplitude and other characteristics of the voltage fluctuation; then, according to a pre-established fingerprint library, the fingerprint is matched with different connection states (such as charging, data transmission, standby, etc.), and finally the current USB connection state data is determined.
[0096] Step S2: construct a scene portrait of the connected device according to the USB connection status data to obtain scene label data; perform a weighted analysis of the battery health of the scene label data according to the USB connection status data to obtain scene label weighted data; perform a device operation status analysis according to the scene label weighted data to obtain target power consumption control level data;
[0097] In an embodiment of the present invention, based on USB connection status data, such as the type of connected device, charging status, data transmission rate, etc., combined with the user's historical usage habits and a preset scenario model library, the current connection scenario is labeled, such as "late night charging", "light office", "heavy gaming", etc.; then, according to the battery's health conditions such as the number of cycles and temperature, the weights of different scenario labels are adjusted to obtain scenario label weighted data that is more in line with the actual situation; finally, according to the scenario label weighted data and the preset power consumption control strategy library, the expected operating state of the mobile phone in the scenario is analyzed to determine the target power consumption control level, such as "low power consumption", "balanced mode", "high performance", etc.
[0098] Step S3: performing power consumption load prediction according to the USB connection status data and the scene tag weighted data to obtain load fluctuation curve data; performing time-weighted analysis on the load fluctuation curve data to obtain time-weighted power consumption data; performing target power consumption calibration on the time-weighted power consumption data according to the target power consumption control level data to obtain a target power consumption value;
[0099] In an embodiment of the present invention, the USB connection status data and the scene label weighted data are combined to predict the changing trends of loads such as data transmission volume and charging power in the future, and draw a load fluctuation curve; then, the curve is divided into multiple time slices according to time, and different weights are assigned according to the importance of each time slice to obtain time weighted empowerment data; finally, the time weighted empowerment data is calculated with the standard power consumption value to obtain time weighted power consumption data, and it is calibrated according to the target power consumption control level to finally obtain the target power consumption value.
[0100] Step S4: Analyze the control strategy combination scheme according to the target power consumption value to obtain the strategy combination scheme; perform multi-dimensional strategy impact analysis on the strategy combination scheme to obtain multi-dimensional strategy impact data; perform multi-objective optimization on the strategy combination scheme according to the multi-dimensional strategy impact data to obtain power consumption control strategy data; generate power consumption control strategy parameters according to the target power consumption value and the power consumption control strategy data to obtain power consumption control strategy parameters;
[0101] In an embodiment of the present invention, a target power consumption value is compared and analyzed with a standard power consumption value to determine the specific aspects that need to reduce power consumption, and the overall goal is broken down into a plurality of power consumption control sub-goals; then, according to each sub-goal, a suitable control strategy is retrieved from a preset strategy library, and these strategies are combined to form a plurality of strategy combination schemes; next, each scheme is evaluated in multiple dimensions, including power consumption efficiency, performance impact, heat impact, battery life impact, etc., to obtain multi-dimensional strategy impact data; finally, a multi-objective optimization algorithm, such as a genetic algorithm, a particle swarm algorithm, etc., is used in combination with the multi-dimensional strategy impact data to select the best scheme from the candidate schemes, and generate specific control strategy parameters.
[0102] Step S5: Perform hardware mapping analysis on the power consumption control strategy data to obtain hardware control mapping data; perform numerical quantization on the power consumption control strategy parameters to obtain a control data packet; generate a control signal according to the control data packet to obtain control signal data;
[0103] In an embodiment of the present invention, the power consumption control strategy data is parsed into specific control instructions, such as reducing the data transmission rate, turning off the WiFi module, etc., and each instruction is mapped to a specific hardware module and a control register address according to a predefined hardware mapping table; then, the control strategy parameters are quantified into hardware-recognizable values and packaged into a control data packet with the hardware mapping data; finally, according to the hardware timing requirements, the control data packets are sorted and combined, and a checksum is added to generate the final control signal data.
[0104] Step S6: the target hardware module performs control execution processing according to the control signal data to obtain feedback signal data; the USB interface control chip performs feedback quantitative analysis on the feedback signal data to obtain index quantitative data; the control effect of the control signal data is optimized according to the index quantitative data to realize the control operation of the data connection line;
[0105] In an embodiment of the present invention, after receiving the control signal, the target hardware module performs verification and analysis, executes corresponding hardware operations according to the instruction content, such as adjusting the data transmission rate, closing or opening a specific module, etc., and feeds back the execution result; after receiving the feedback data, the USB interface control chip extracts the hardware status information, and performs correlation analysis in combination with the real-time power supply parameters of the interface to evaluate the control effect; if the control effect does not meet the expectations, the control strategy or parameters are adjusted and the control signal is regenerated until the expected goal is achieved.
[0106] Preferably, step S1 comprises the following steps:
[0107] Step 11: Capture energy pulsation through the USB interface control chip to obtain the original voltage sequence;
[0108] Step 12: Extract the fluctuation characteristics of the original voltage sequence to obtain the voltage fluctuation fingerprint;
[0109] Step 13: Decode the connection status according to the voltage fluctuation fingerprint to obtain the preliminary connection status;
[0110] Step 14: Read the identity information according to the preliminary connection status to obtain the device identity data;
[0111] Step 15: Perform connection status analysis based on the preliminary connection status and device identification data to obtain USB connection status data.
[0112] The present invention collects voltage data at high frequency through a USB interface control chip to obtain an original voltage sequence containing rich information, laying a data foundation for subsequent identification of the connection state, and can capture the details of voltage changes more meticulously and improve the recognition accuracy. Fluctuation characteristics such as voltage amplitude, frequency, and phase are extracted from the original voltage sequence to form a unique voltage fluctuation fingerprint, which provides a key basis for distinguishing different connection states, and can convert complex voltage signals into concise feature vectors, which is convenient for subsequent processing and analysis. The extracted voltage fluctuation fingerprint is matched with a pre-established connection state fingerprint library to quickly and preliminarily determine the current connection state, such as charging, data transmission, or standby, thereby providing direction for subsequent refined control, avoiding complex protocol parsing, and improving recognition efficiency. According to the initially determined connection state, the USB protocol is used to communicate with the connected device, and the identity information of the device, such as the manufacturer ID, product ID, etc., is read to provide data support for the subsequent construction of a more accurate device portrait, which can distinguish devices of different types and models and realize a more personalized power consumption control strategy. Combined with the preliminary connection status and device identification data, a comprehensive analysis is performed to obtain complete USB connection status data, such as the type of connected device, charging power, data transmission protocol, etc., to provide a more comprehensive and accurate information basis for subsequent scenario analysis and power consumption control, and to more accurately identify the connection scenario, providing a more precise decision-making basis for subsequent power consumption control.
[0113] In an embodiment of the present invention, the USB interface control chip samples the voltage of the USB interface at a certain frequency (e.g., 1kHz), and records the sampled values to form a time series, i.e., the original voltage sequence. The original voltage sequence is analyzed to extract its fluctuation characteristics, such as voltage amplitude, frequency, phase, waveform characteristics, etc., and these characteristics are combined into a feature vector, i.e., a voltage fluctuation fingerprint. The extracted voltage fluctuation fingerprint is matched with a pre-established connection status fingerprint library to find the most similar fingerprint, and a preliminary judgment is made on the current connection status according to the connection status corresponding to the fingerprint, such as charging status, data transmission status, or standby status, etc. According to the preliminary judgment of the connection status, the USB protocol is used to communicate with the connection device, and the identity information of the device, such as the device manufacturer ID, product ID, serial number, etc., is read, and this information is stored to form device identification data. Combined with the preliminary connection status and the device identification data, the USB connection status is comprehensively analyzed, such as judging the type of the connection device (mobile phone, tablet computer, USB flash drive, etc.), charging power, data transmission protocol, etc., and finally obtaining complete USB connection status data.
[0114] Preferably, step S2 comprises the following steps:
[0115] Step S21: interpreting the USB connection status data for connection intention to obtain a user intention vector; performing system load analysis on the USB connection status data to obtain system load status data; performing battery operation analysis on the USB connection status data to obtain battery cycle times and battery temperature data;
[0116] Step S22: constructing a scene portrait according to the user intention vector and the system load status data to obtain scene label data;
[0117] Step S23: performing battery health weighting processing on the scene label data according to the battery cycle number and the battery temperature data to obtain scene label weighted data;
[0118] Step S24: Exploring the state strategy space using a preset strategy library according to the scene tag weighted data to obtain a state strategy candidate set;
[0119] Step S25: Analyze the device operation status according to the scene label weighted data and the state strategy candidate set to obtain the target power consumption control level data.
[0120] The present invention obtains more comprehensive information by performing multi-angle analysis on USB connection status data, including interpreting user connection intention, analyzing system load conditions and evaluating battery working status, laying the foundation for building accurate scene portraits, and being able to more accurately predict user behavior and device status, providing a more accurate basis for subsequent personalized power consumption control. According to the user intention vector and system load status data, the pre-established scene model library is matched, and more specific scene labels are marked for the current connection state, such as "late night charging", "light office", "heavy gaming", etc., so that the power consumption control strategy is more targeted, avoiding "one size fits all" power consumption management, and being able to adopt different power consumption control strategies for different scenarios to achieve refined management. According to the health status of the battery, the weight of the scene label is adjusted, for example, the weight of the battery aging mobile phone in high power consumption scenarios such as "heavy gaming" is reduced to extend the battery life, and the battery health status can be fully considered in the power consumption control process, avoiding accelerated battery aging due to excessive discharge or high-load operation, and extending the battery life. According to the weighted data of the scene label, the power consumption control strategy related to the current scene is retrieved from the preset strategy library, and combined into different state strategy candidate sets, providing more options for the subsequent selection of the optimal strategy. Different power consumption control strategies can be flexibly combined according to different scene requirements to find the most suitable solution for the current scene. By analyzing the power consumption, temperature, performance and other indicators of the mobile phone under different state strategies, the strategy that best meets the target power consumption control level is selected to ensure that the mobile phone can effectively control power consumption while meeting performance requirements. It can minimize power consumption and extend the battery life of the mobile phone while ensuring user experience.
[0121] In an embodiment of the present invention, USB connection status data, such as the type of connected device, charging status, data transmission rate, etc., are analyzed, and the user's connection intention, such as charging, data backup, playing music, etc., is inferred by combining historical usage data and a preset rule library, and different intentions are represented in vector form to form a user intention vector; at the same time, system load status data is obtained according to system resource occupancy, such as CPU occupancy rate, memory usage rate, etc.; in addition, the battery cycle number and temperature data provided by the battery management system are obtained. According to the user intention vector and the system load status data, the pre-established scene model library is matched to find the closest scene model, and the label corresponding to the scene model is assigned to the current connection state, such as "late night charging", "light office", "heavy gaming", etc., to form scene label data. According to the battery cycle number and temperature data, the health status of the battery is evaluated, and according to the preset battery health model, the scene label data is weighted. For example, for mobile phones with poor battery health, the weights of high-power consumption scenes such as "heavy gaming" are appropriately reduced to form scene label weighted data. According to the weighted data of the scene labels, the power consumption control strategies related to the current scene are retrieved from the preset strategy library, such as reducing the charging power, limiting the data transmission rate, shutting down some hardware modules, etc., and these strategies are combined into different state strategy candidate sets. According to the weighted data of the scene labels and the state strategy candidate sets, the operating state of the mobile phone under different strategies, such as power consumption, temperature, performance, etc., is predicted, and according to the preset objective function, the optimal state strategy is selected to determine the target power consumption control level, such as "low power consumption", "balanced mode", "high performance", etc.
[0122] Preferably, step S25 comprises the following steps:
[0123] Step S251: performing scenario power consumption prediction on the state strategy candidate set according to the scenario label weighted data to obtain strategy power consumption prediction data;
[0124] Step S252: generating an optimal state strategy according to the strategy power consumption prediction data to obtain optimal state strategy data;
[0125] Step S253: judging the operation state according to the optimal state strategy data to obtain the equipment operation state data;
[0126] Step S254: Perform power consumption control classification according to the optimal state strategy data and the device operation state data to obtain target power consumption control level data.
[0127] The present invention predicts the power consumption value of each strategy combination in a specific scenario by combining the scene label weighted data and the power consumption model of the state strategy, provides a quantitative basis for selecting the optimal strategy, avoids blind selection or empirical judgment, and can more accurately evaluate the actual effect of each strategy combination. According to the power consumption prediction data and the preset optimization goals, such as minimizing power consumption, balancing power consumption and performance, etc., the state strategy that best meets the requirements is selected to ensure that the power consumption is minimized under the premise of meeting the user's needs, and the optimal solution can be found in a variety of strategy combinations, avoiding resource waste and improving the efficiency of power consumption control. According to the content of the optimal state strategy, the running state that the mobile phone will be in under the strategy, such as CPU frequency, screen brightness, etc., is predicted, providing a more refined adjustment basis for subsequent power consumption control, and the running state of the mobile phone can be predicted in advance, providing a more accurate reference for subsequent power consumption control. According to the power consumption target of the optimal state strategy and the device running state data, the power consumption control is divided into different levels, such as "low power consumption", "balanced mode", "high performance", etc., providing users with more flexible power consumption management options, and can dynamically adjust the power consumption control strategy according to user needs and actual conditions to achieve the best balance between energy saving and performance.
[0128] In the embodiment of the present invention, the weight of each label in the current scene is determined according to the scene label weighted data, and the power consumption model of each strategy in the state strategy candidate set is combined to predict the power consumption value of the strategy in the current scene, and finally the power consumption prediction data of each strategy is obtained. The power consumption prediction data of different state strategies are compared, and the strategy with the lowest power consumption or the best comprehensive performance is selected as the optimal state strategy in combination with the preset power consumption optimization goals, such as minimizing power consumption, balancing power consumption and performance, etc. According to the content of the optimal state strategy, such as reducing charging power, limiting data transmission rate, shutting down some hardware modules, etc., the operating state of the mobile phone under the strategy is predicted, such as CPU frequency, screen brightness, network connection status, etc., and these state information is recorded to form device operation state data. According to the power consumption target of the optimal state strategy and the device operation state data, the power consumption control is divided into different levels, such as "low power consumption", "balanced mode", "high performance", etc., each level corresponds to different power consumption limits and performance performance, and finally the target power consumption control level data is obtained.
[0129] Preferably, step S3 comprises the following steps:
[0130] Step S31: Calculate the baseline power consumption value according to the USB connection status data to obtain the baseline power consumption value; perform connection protocol adaptation on the baseline power consumption value according to the USB connection status data to obtain the standard power consumption value;
[0131] Step S32: performing strategic power consumption adjustment on the standard power consumption value to obtain strategically adjusted power consumption data;
[0132] Step S33: performing load fluctuation prediction according to the USB connection status data and the scene label weighted data to obtain load fluctuation curve data;
[0133] Step S34: dividing the load fluctuation curve data into time slices to obtain time slice load data; performing time weight empowerment according to the time slice load data to obtain time weight empowerment data;
[0134] Step S35: Performing strategy resonance on the strategy-adjusted power consumption data and the time-weighted empowerment data to obtain time-weighted power consumption data;
[0135] Step S36: calibrate the time-weighted power consumption data according to the target power consumption control level data to obtain a target power consumption value.
[0136] The present invention queries and calculates the baseline power consumption value from a pre-established database according to the USB connection status data, and amends it according to the connection protocol version and specification to obtain a more accurate standard power consumption value, providing an accurate reference basis for the subsequent power consumption control strategy, avoiding control failure or over-control caused by power consumption estimation deviation. According to the target power consumption control level, the standard power consumption value is adjusted, for example, the standard value is lowered in low power consumption mode, and the standard value is maintained or slightly increased in high performance mode, so that the power consumption control strategy is more flexible and can better adapt to the power consumption requirements in different scenarios, avoiding "one-size-fits-all" power consumption management, and achieving a better balance between energy saving and performance. Combined with the USB connection status data and the scene label weighted data, the change trend of the load such as data transmission volume and charging power in the future period is predicted, and the load fluctuation curve is drawn to provide forward-looking guidance for the power consumption control strategy, which can predict the power consumption change trend in advance, rather than just controlling according to the current state, thereby improving the accuracy and forward-looking of power consumption control. The load fluctuation curve is divided into multiple time slices according to time, and different weights are assigned to each time slice according to its importance. For example, the importance of daytime working time is higher than that of late-night rest time. This makes the power consumption control strategy more refined and allows different power consumption control strengths to be adopted in different time periods, avoiding simple and crude average distribution and maximizing energy saving effects.
[0137] As an example of the present invention, refer to Figure 2 As shown, in this example, step S3 includes:
[0138] Step S31: Calculate the baseline power consumption value according to the USB connection status data to obtain the baseline power consumption value; perform connection protocol adaptation on the baseline power consumption value according to the USB connection status data to obtain the standard power consumption value;
[0139] In an embodiment of the present invention, based on USB connection status data, such as the type of connected device, charging status, data transmission protocol, etc., a pre-established power consumption database is queried to obtain a baseline power consumption value under the corresponding state, and then the baseline power consumption value is corrected according to the USB connection protocol version and specifications actually used to obtain a standard power consumption value.
[0140] Step S32: performing strategic power consumption adjustment on the standard power consumption value to obtain strategically adjusted power consumption data;
[0141] In an embodiment of the present invention, the standard power consumption value is adjusted according to the target power consumption control level determined in step S2. For example, in low power consumption mode, the standard power consumption value is appropriately reduced, while in high performance mode, the standard power consumption value is maintained or slightly increased, and finally the power consumption data after the strategy adjustment is obtained.
[0142] Step S33: performing load fluctuation prediction according to the USB connection status data and the scene label weighted data to obtain load fluctuation curve data;
[0143] In the embodiment of the present invention, based on the USB connection status data and the scene tag weighted data, the change trend of loads such as data transmission volume and charging power in the future is predicted, and a load fluctuation curve is drawn.
[0144] Step S34: dividing the load fluctuation curve data into time slices to obtain time slice load data; performing time weight empowerment according to the time slice load data to obtain time weight empowerment data;
[0145] In an embodiment of the present invention, the load fluctuation curve is divided into multiple time slices according to time, for example, one time slice is every minute or every 10 seconds, and the average load value in each time slice is calculated to obtain the time slice load data; then, according to the importance of the time slice in the entire usage cycle, for example, the importance of daytime working time is higher than that of late-night rest time, different weights are assigned to each time slice to obtain time weight empowerment data.
[0146] Step S35: Performing strategy resonance on the strategy-adjusted power consumption data and the time-weighted empowerment data to obtain time-weighted power consumption data;
[0147] In an embodiment of the present invention, the power consumption data after strategy adjustment is comprehensively calculated with the time weighted empowerment data. For example, the power consumption value of each time slice is multiplied by the corresponding time weight to obtain the time weighted power consumption data, which reflects the intensity of power consumption control in different time periods.
[0148] Step S36: calibrating the time-weighted power consumption data according to the target power consumption control level data to obtain a target power consumption value;
[0149] In an embodiment of the present invention, the time-weighted power consumption data is calibrated according to the target power consumption control level determined in step S2. For example, in low power consumption mode, the weight of high power consumption time slices is reduced, while in high performance mode, the weight of high power consumption time slices is increased. Finally, the target power consumption value is obtained, which will serve as the basis for subsequent power consumption control strategies.
[0150] Preferably, step S4 comprises the following steps:
[0151] Step S41: Analyze the standard power consumption difference of the target power consumption value and decompose the target to obtain the power consumption control sub-target;
[0152] Step S42: searching for control strategies using a preset strategy library according to the power consumption control sub-goal to obtain a control candidate strategy set;
[0153] Step S43: constructing a strategy combination according to the power consumption control sub-goal and the control candidate strategy set to obtain a strategy combination solution;
[0154] Step S44: Evaluate the power consumption efficiency of the strategy combination scheme to obtain strategy efficiency ranking data; predict the performance impact of the strategy combination scheme to obtain strategy performance evaluation data;
[0155] Step S45: performing a heat impact assessment on the strategy combination scheme to obtain strategy heat impact assessment data; performing a battery life impact assessment on the strategy combination scheme to obtain strategy life assessment data;
[0156] Step S46: performing multi-objective optimization on the strategy combination scheme according to the strategy benefit ranking data, the strategy performance evaluation data, the strategy heat evaluation data, and the strategy life evaluation data to obtain power consumption control strategy data;
[0157] Step S47: generating power consumption control strategy parameters according to the target power consumption value and the power consumption control strategy data to obtain power consumption control strategy parameters.
[0158] The present invention compares and analyzes the target power consumption value with the standard power consumption value, and decomposes it into multiple specific power consumption control sub-goals, such as reducing data transmission power consumption, reducing standby power consumption, etc., so that power consumption control is more targeted, and more targeted strategies can be adopted for different power consumption sources to improve the efficiency of power consumption control. According to each power consumption control sub-goal, a suitable control strategy is retrieved from a pre-established strategy library to form a control candidate strategy set, which provides rich choices for subsequent strategy combinations, can make full use of existing knowledge and experience, quickly find effective power consumption control strategies, and avoid repeated development and testing. According to the importance of the power consumption control sub-goals and the influence relationship between them, the control candidate strategies are combined to form multiple feasible strategy combination schemes, which provide more selection space for multi-objective optimization, can explore different strategy combination schemes, and find the best balance between multiple goals. The power consumption benefit evaluation and performance impact prediction of each strategy combination scheme provide a quantitative basis for the selection of the scheme, can more objectively compare the advantages and disadvantages of different schemes, avoid judgment based on experience alone, and improve the scientific nature of decision-making. The impact of heat and battery life on each strategy combination is evaluated, and the impact of power consumption control on the overall performance of the mobile phone is taken into consideration, so as to avoid sacrificing other aspects of performance in order to reduce power consumption, such as causing the mobile phone to overheat or shorten the battery life, and to find the best balance between power consumption control and the overall performance of the mobile phone. Taking into account multiple objectives such as power efficiency, performance impact, heat impact and battery life impact, the multi-objective optimization algorithm is used to select the best solution from the strategy combination scheme to ensure that the negative impact on the overall performance of the mobile phone is minimized while reducing power consumption. The best balance can be found between multiple conflicting objectives, avoiding one thing at a time and another, and achieving the optimization of power consumption control. According to the target power consumption value and the final power consumption control strategy data, specific control strategy parameters are generated, such as data transmission rate limit threshold, hardware module shutdown time, etc., and the abstract strategy is converted into executable instructions to guide the hardware module to perform specific power consumption control operations to ensure that the power consumption control strategy is effectively implemented.
[0159] As an example of the present invention, refer to Figure 3 As shown, in this example, step S4 includes:
[0160] Step S41: Analyze the standard power consumption difference of the target power consumption value and decompose the target to obtain the power consumption control sub-target;
[0161] In an embodiment of the present invention, the target power consumption value is compared with the standard power consumption value, the size and cause of the difference are analyzed, and the overall power consumption control target is broken down into multiple sub-targets, such as reducing data transmission power consumption, reducing standby power consumption, optimizing charging power, etc.
[0162] Step S42: searching for control strategies using a preset strategy library according to the power consumption control sub-goal to obtain a control candidate strategy set;
[0163] In an embodiment of the present invention, according to each power consumption control sub-goal, relevant control strategies are retrieved from a preset strategy library, such as limiting the data transmission rate, shutting down some hardware modules, adjusting the charging current, etc., to form a control candidate strategy set for each sub-goal.
[0164] Step S43: constructing a strategy combination according to the power consumption control sub-goal and the control candidate strategy set to obtain a strategy combination solution;
[0165] In the embodiment of the present invention, the candidate control strategy sets are combined according to the importance of the power consumption control sub-goals and the influence relationship between them to form multiple feasible strategy combination schemes, each of which contains specific control strategies for different sub-goals.
[0166] Step S44: Evaluate the power consumption efficiency of the strategy combination scheme to obtain strategy efficiency ranking data; predict the performance impact of the strategy combination scheme to obtain strategy performance evaluation data;
[0167] In an embodiment of the present invention, the benefits of each strategy combination scheme in reducing power consumption, such as the expected amount of power saved, extended standby time, etc., are evaluated, and ranked according to the size of the benefits to obtain strategy benefit ranking data; at the same time, the impact of each strategy combination scheme on mobile phone performance, such as data transmission speed, application startup time, etc., is predicted to obtain strategy performance evaluation data.
[0168] Step S45: performing a heat impact assessment on the strategy combination scheme to obtain strategy heat impact assessment data; performing a battery life impact assessment on the strategy combination scheme to obtain strategy life assessment data;
[0169] In an embodiment of the present invention, the impact of each strategy combination scheme on the heating of the mobile phone, such as CPU temperature, battery temperature, etc., is evaluated to obtain strategy heating evaluation data; at the same time, the impact of each strategy combination scheme on battery life, such as the number of charge and discharge cycles, battery capacity attenuation, etc., is evaluated to obtain strategy life evaluation data.
[0170] Step S46: performing multi-objective optimization on the strategy combination scheme according to the strategy benefit ranking data, the strategy performance evaluation data, the strategy heat evaluation data, and the strategy life evaluation data to obtain power consumption control strategy data;
[0171] In an embodiment of the present invention, the strategy benefit ranking data, strategy performance evaluation data, strategy heat evaluation data and strategy life evaluation data are comprehensively considered, and a multi-objective optimization algorithm, such as a genetic algorithm, a particle swarm algorithm, etc., is used to select the optimal solution from the strategy combination solutions as the final power consumption control strategy data. This strategy can reduce power consumption while minimizing the negative impact on performance, heat and battery life.
[0172] Step S47: generating power consumption control strategy parameters according to the target power consumption value and the power consumption control strategy data to obtain power consumption control strategy parameters;
[0173] In an embodiment of the present invention, specific power consumption control strategy parameters are generated according to the target power consumption value and the finally determined power consumption control strategy data, such as data transmission rate limit threshold, hardware module shutdown time, charging current adjustment strategy, etc. These parameters will be used to guide subsequent power consumption control operations.
[0174] Preferably, step S46 includes the following steps:
[0175] Step S461: constructing a multi-objective optimization model according to the strategy benefit ranking data, the strategy performance evaluation data, the strategy heat evaluation data, and the strategy life evaluation data to obtain a multi-objective optimization model;
[0176] Step S462: Optimizing the target weight vector of the multi-objective optimization model to obtain the target weight vector; solving the target frontier according to the multi-objective optimization model and the target weight vector to obtain the optimal solution set data;
[0177] Step S463: Analyze the actual constraints of the optimal solution set data to obtain the optimal feasible solution set data;
[0178] Step S464: weighted scoring is performed on the optimal feasible solution set data according to the target weight vector to obtain a comprehensive scoring vector; and power consumption control strategy is generated according to the comprehensive scoring vector to obtain power consumption control strategy data.
[0179] The present invention converts the power consumption control problem into a mathematical problem by incorporating multiple evaluation indicators (strategy benefits, performance impact, heat generation, battery life) into a multi-objective optimization model, laying a foundation for solving the best strategy combination scheme using an optimization algorithm, and can more systematically and comprehensively consider the mutual influence between multiple factors, avoiding the one-sidedness of a single indicator and improving the scientific nature of decision-making. Through the target weight vector, the relative importance of each optimization target is clarified, and the multi-objective optimization algorithm is used to solve the Pareto optimal solution set, and a balance is achieved between multiple targets. The priority of the optimization target can be flexibly adjusted according to actual needs, such as whether to pay more attention to power consumption or performance, and find the solution that best meets actual needs. Considering actual constraints such as mobile phone hardware performance and system stability, the feasibility analysis of the Pareto optimal solution set is carried out, and the strategy combination scheme that can be operated in the actual environment is screened out to ensure that the final selected strategy can play a role in actual applications, avoiding the situation where the theoretical optimality cannot be operated in practice, and improving the feasibility and practicality of the solution. According to the target weight vector, each solution in the optimal feasible solution set is weighted and scored, and the solution with the highest comprehensive score is selected as the final power consumption control strategy to ensure that the final selected strategy achieves a good balance among multiple goals. It can select the solution that best meets the target weight setting, that is, the solution that best meets the actual needs, from multiple feasible solutions, avoiding the subjectivity of random selection or empirical judgment and improving the accuracy and reliability of decision-making.
[0180] In an embodiment of the present invention, the strategy benefit ranking data, strategy performance evaluation data, strategy heating evaluation data and strategy life evaluation data are used as inputs of a multi-objective optimization model, and the goals of minimizing power consumption, maximizing performance, minimizing heating, maximizing battery life and the like are used as optimization goals to establish a multi-objective optimization model, such as a linear weighted method, a goal programming method, a Pareto optimal solution set, etc. According to actual needs and design goals, the relative importance of each optimization goal is determined and converted into a target weight vector, such as a power consumption weight of 0.5, a performance weight of 0.3, a heating weight of 0.1, a battery life weight of 0.1, etc.; then, a multi-objective optimization algorithm, such as NSGA-II, MOEA / D, etc., is used to solve the multi-objective optimization model to obtain a set of Pareto optimal solution set data, each solution representing a power consumption control strategy combination scheme, which achieves a balance between different goals. According to the actual constraints of the mobile phone hardware performance, system stability, user experience, etc., the Pareto optimal solution set data is feasibility analyzed, and the strategy combination schemes that cannot be realized or have poor effects are eliminated, and finally the optimal feasible solution set data that meets the actual constraints is obtained. Using the target weight vector determined in step S462, each strategy combination scheme in the optimal feasible solution set data is weighted and scored to obtain a comprehensive score for each scheme; finally, the schemes are sorted according to the comprehensive scores, and the scheme with the highest score is selected as the final power consumption control strategy data.
[0181] Preferably, step S5 comprises the following steps:
[0182] Step S51: parsing the power consumption control strategy data for strategy instructions to obtain a strategy instruction list; querying a hardware mapping table according to the strategy instruction list to obtain hardware control mapping data;
[0183] Step S52: quantizing the power consumption control strategy parameters to obtain quantized parameter values; and packaging the hardware control mapping data and the quantized parameter values to obtain control data packets;
[0184] Step S53: performing timing logic arrangement on the control data packet to obtain a timing control sequence; performing check code generation on the timing control sequence to obtain a check control sequence;
[0185] Step S54: Physically transmit the signal of the verification control sequence to obtain control signal data.
[0186] The present invention provides clear instructions and operation objects for subsequent hardware control operations by parsing abstract power consumption control strategy data into specific control instructions, and finding the corresponding hardware module and control register address through the hardware mapping table, so as to establish a connection between the software strategy and the hardware operation, and lay a foundation for the actual execution of the power consumption control strategy. The power consumption control strategy parameters are quantified into hardware-recognizable values, and packaged into a control data packet with the hardware mapping data, so that the control instructions can be accurately understood and executed by the hardware, ensuring that the control instructions can be correctly parsed and executed by the hardware, and avoiding control failures caused by incompatible data formats. According to the working timing requirements of the hardware module, the control data packets are sorted and combined, and a checksum is added to ensure the correctness and reliability of data transmission, avoiding hardware failures or control failures caused by data transmission errors, and improving the stability and reliability of power consumption control. The check control sequence is sent out through the physical layer of the USB interface, and the control instruction is finally passed to the target hardware module on the data connection line (the target hardware module is an independent chip integrated inside the data line, and realizes more control functions by communicating with the mobile phone and the connection device), realizing the control of the hardware by the software, completing the conversion from the software strategy to the hardware operation, and enabling the power consumption control strategy to be truly executed.
[0187] In the embodiment of the present invention, the power consumption control strategy data is parsed to extract specific control instructions, such as "reduce USB data transmission rate", "enter low power mode", etc., to form a strategy instruction list; then, according to the predefined hardware mapping table, each strategy instruction is mapped to a specific hardware module and control register address to obtain hardware control mapping data. The power consumption control strategy parameters, such as the target current value, voltage threshold, time delay, etc., are converted into quantized parameter values that can be recognized by the hardware module, for example, the current value is quantized into an integer of 0-255, and the time delay is quantized into an integer of millisecond level, etc.; then the hardware control mapping data and the quantized parameter values are packaged according to the predefined communication protocol format to form a control data packet. According to the working timing requirements of the hardware module, the control data packets are sorted and combined, and the sending time and execution order of each instruction are determined to form a timing control sequence; in order to ensure the reliability of data transmission, the timing control sequence is subjected to check code calculation, such as CRC check, parity check, etc., and the check code is attached to the data packet to form a check control sequence. The verification control sequence is sent out through the physical layer of the USB interface, such as being converted into a level signal, modulated onto a carrier frequency, etc., and finally forms control signal data and is transmitted to the target hardware module.
[0188] Preferably, step S6 comprises the following steps:
[0189] Step S61: the target hardware module captures the control signal data and performs authenticity verification to obtain verification result data; performs precise matching of instruction sets according to the verification result data to obtain recognized instruction data;
[0190] Step S62: the target hardware module performs hardware state control according to the identified instruction data to obtain hardware state control data;
[0191] Step S63: Performing synchronous feedback of state change according to the hardware state control data to obtain feedback signal data;
[0192] Step S64: the USB interface control chip performs feedback information analysis on the feedback signal data to obtain hardware status data;
[0193] Step S65: obtaining real-time power supply parameters of the interface; performing data fusion correlation on the real-time power supply parameters of the interface and the hardware status data to obtain correlation analysis result data;
[0194] Step S66: using a preset quantitative index set to perform index quantification processing on the association analysis result data to obtain index quantification data;
[0195] Step S67: Evaluate the control effect according to the indicator quantification data to obtain control effect evaluation data; and optimize the control signal data according to the control effect evaluation data to achieve control operation of the data connection line.
[0196] The present invention receives and verifies control signals through the target hardware module, ensures the correctness and integrity of the instructions, avoids hardware misoperation caused by data errors, and improves the reliability of power consumption control. The target hardware module performs corresponding hardware operations according to the identified instructions, such as adjusting voltage, shutting down modules, etc., realizes the specific implementation of the power consumption control strategy at the hardware level, converts software instructions into actual hardware operations, and enables the power consumption control strategy to be truly effective. The target hardware module feeds back the hardware state regulation result to the USB interface control chip, realizes real-time monitoring of the hardware state, allows the control center to timely understand the hardware state changes, provides a basis for subsequent dynamic adjustments, and forms a closed-loop control. The USB interface control chip analyzes the feedback signal and extracts hardware state data, such as the current power consumption level, module switch state, etc., to provide a data basis for evaluating the control effect, to timely understand the execution of the power consumption control strategy, and to provide a basis for subsequent optimization and adjustment. The real-time power supply parameters of the interface are associated with the hardware state data, such as analyzing the relationship between voltage changes and module switches, further understanding the influence of the power consumption control strategy, and being able to more deeply analyze the effect of the power consumption control strategy, providing a more accurate reference for subsequent optimization. By using a preset set of quantitative indicators, such as the percentage of power consumption reduction and the rate of performance change, the results of the correlation analysis are quantitatively evaluated, and the control effect is converted into a quantifiable indicator for easy evaluation and comparison. This can more intuitively evaluate the effect of power consumption control and provide a clearer goal for subsequent optimization. Based on the quantitative data of the indicators, the effect of the current control strategy is evaluated, and the control signal is dynamically adjusted based on the evaluation results, such as modifying the control parameters and selecting different control strategy combinations, etc., to achieve closed-loop optimization of power consumption control, and the power consumption control strategy can be automatically adjusted according to the actual situation, the control effect can be continuously optimized, and the accuracy and adaptability of power consumption control can be improved.
[0197] In the embodiment of the present invention, after receiving the control signal data, the target hardware module (the target hardware module is an independent chip integrated inside the data line, and realizes more control functions by communicating with the mobile phone and the connected device) performs signal decoding and authenticity verification, such as verification code verification, data integrity check, etc., to determine whether the data is complete and valid, and feeds back the verification result to the USB interface control chip; if the verification passes, the data packet is parsed according to the preset instruction set, each control instruction is identified, and the identified instruction data is obtained. The target hardware module operates the corresponding hardware module according to the identified instruction data, such as adjusting the data transmission rate, closing or opening a specific module, entering a low power consumption state, etc., completes the hardware state regulation, and records the regulated hardware state data. The target hardware module encapsulates the hardware state regulation data and the abnormal conditions encountered during the execution process into feedback signal data, and sends it back to the USB interface control chip through the USB interface to realize the synchronous feedback of the state change. After receiving the feedback signal data, the USB interface control chip parses it and extracts the hardware state data, such as the current data transmission rate, module switch state, power consumption level, etc., to understand the latest state of the target hardware module. The USB interface control chip monitors the power supply parameters of the interface in real time, such as voltage, current, etc., and performs correlation analysis on these parameters and the hardware status data obtained in step S64, such as analyzing the relationship between voltage change and module switch, the relationship between current size and data transmission rate, etc., to obtain correlation analysis result data. The correlation analysis result data is quantitatively evaluated using a pre-set quantitative index set, such as power consumption reduction percentage, performance change rate, temperature change, etc., to obtain index quantitative data reflecting the control effect. According to the index quantitative data, the effect of the current control strategy is evaluated, such as whether the expected power consumption reduction target is achieved, whether the performance is negatively affected, etc.; if the control effect is not ideal, the control signal data is adjusted according to the evaluation result, such as modifying the control parameters, selecting different control strategy combinations, etc., so as to achieve dynamic optimization control of the data connection line.
[0198] Preferably, the present invention further provides a data connection line device, used to execute the control method for the data connection line as described above, the data connection line device comprising:
[0199] The data acquisition module is used to collect voltage fluctuations through the USB interface control chip to obtain voltage fluctuation fingerprints; analyze the interface connection status according to the voltage fluctuation fingerprints to obtain USB connection status data;
[0200] The status analysis module is used to construct a scene portrait of the connected device based on the USB connection status data to obtain the scene label data; perform a weighted analysis on the battery health of the scene label data based on the USB connection status data to obtain the scene label weighted data; perform a device operation status analysis based on the scene label weighted data to obtain the target power consumption control level data;
[0201] The power consumption evaluation module is used to predict the power consumption load according to the USB connection status data and the scene label weighted data to obtain the load fluctuation curve data; perform time-weighted analysis on the load fluctuation curve data to obtain the time-weighted power consumption data; perform target power consumption calibration on the time-weighted power consumption data according to the target power consumption control level data to obtain the target power consumption value;
[0202] A control strategy formulation module is used to analyze the control strategy combination scheme according to the target power consumption value to obtain the strategy combination scheme; perform multi-dimensional strategy impact analysis on the strategy combination scheme to obtain multi-dimensional strategy impact data; perform multi-objective optimization on the strategy combination scheme according to the multi-dimensional strategy impact data to obtain power consumption control strategy data; generate power consumption control strategy parameters according to the target power consumption value and the power consumption control strategy data to obtain power consumption control strategy parameters;
[0203] The control signal generation module is used to perform hardware mapping analysis on the power consumption control strategy data to obtain hardware control mapping data; perform numerical quantization on the power consumption control strategy parameters to obtain a control data packet; and generate a control signal according to the control data packet to obtain control signal data;
[0204] The control execution module is used for the target hardware module to perform control execution processing according to the control signal data to obtain feedback signal data; the USB interface control chip performs feedback quantitative analysis on the feedback signal data to obtain index quantitative data; the control effect of the control signal data is optimized according to the index quantitative data to realize the control operation of the data connection line.
[0205] The present invention collects and analyzes the voltage fluctuation of the USB interface to quickly and accurately identify the connection status, such as charging, data transmission, standby, etc., providing a basis for subsequent personalized power consumption control. Combined with the connection status, user habits and battery health status, a refined connection scenario portrait is constructed, and the target power consumption control level is determined to make the power consumption control strategy more targeted. Predict the future load fluctuation trend, take the time factor into consideration, calculate the expected power consumption in different time periods, and finally obtain the target power consumption value that meets the target power consumption control level, making the power consumption control more dynamic and intelligent. The target power consumption value is disassembled into multiple sub-goals, and a variety of feasible control strategy solutions are retrieved and combined from the preset strategy library, and then multi-dimensional evaluation and optimization are performed, and finally the optimal solution is selected and specific control parameters are generated to ensure that while reducing power consumption, the impact on other performance of the mobile phone is minimized. The abstract power consumption control strategy is converted into a control signal that can be recognized and executed by hardware, including parsing instructions, mapping hardware, quantizing parameters, packaging data, adding checksums, etc., to ensure that the control instructions can be accurately understood and executed by the hardware. The target hardware module receives and executes the control instructions, and feeds back the execution results. The USB interface control chip evaluates the control effect based on the feedback information, and makes dynamic adjustments to form a closed-loop control, thereby achieving precise control and continuous optimization of power consumption. Therefore, the present invention provides a control method and a data connection line device for a data connection line. While reducing the power consumption of the USB connection line, the control method maximizes the responsiveness of the mobile phone to charging and data connection when it is in standby mode. Through fine-grained intelligent control of different scenarios, a good balance is achieved between energy saving and experience, making up for the current drawbacks of "either continuous power consumption or direct power off".
[0206] Therefore, the embodiments should be regarded as illustrative and non-restrictive from all points, and the scope of the present invention is limited by the appended claims rather than the above description, and it is therefore intended that all changes falling within the meaning and range of equivalent elements of the application documents are included in the present invention.
[0207] The above description is only a specific embodiment of the present invention, so that those skilled in the art can understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but should conform to the widest scope consistent with the principles and novel features invented herein.
Claims
1. A control method for a data connection line, characterized in that: The following steps are involved: Step S1: collecting voltage fluctuations through the USB interface control chip to obtain voltage fluctuation fingerprints; analyzing the interface connection status according to the voltage fluctuation fingerprints to obtain USB connection status data; Step S2: construct a scene portrait of the connected device according to the USB connection status data to obtain scene label data; perform a weighted analysis of the battery health of the scene label data according to the USB connection status data to obtain scene label weighted data; perform a device operation status analysis according to the scene label weighted data to obtain target power consumption control level data; Step S3: performing power consumption load prediction according to the USB connection status data and the scene label weighted data to obtain load fluctuation curve data; Performing time-weighted analysis on the load fluctuation curve data to obtain time-weighted power consumption data; performing target power consumption calibration on the time-weighted power consumption data according to the target power consumption control level data to obtain a target power consumption value; Step S4: Analyze the control strategy combination scheme according to the target power consumption value to obtain the strategy combination scheme; perform multi-dimensional strategy impact analysis on the strategy combination scheme to obtain multi-dimensional strategy impact data; perform multi-objective optimization on the strategy combination scheme according to the multi-dimensional strategy impact data to obtain power consumption control strategy data; generate power consumption control strategy parameters according to the target power consumption value and the power consumption control strategy data to obtain power consumption control strategy parameters; Step S5: Perform hardware mapping analysis on the power consumption control strategy data to obtain hardware control mapping data; perform numerical quantization on the power consumption control strategy parameters to obtain a control data packet; generate a control signal according to the control data packet to obtain control signal data; Step S6: the target hardware module performs control execution processing according to the control signal data to obtain feedback signal data; The USB interface control chip performs feedback quantitative analysis on the feedback signal data to obtain index quantitative data; and optimizes the control effect of the control signal data according to the index quantitative data to realize the control operation of the data connection line.
2. The control method for a data connection line according to claim 1, characterized in that: Step S1 includes the following steps: Step 11: Capture energy pulsation through the USB interface control chip to obtain the original voltage sequence; Step 12: Extract the fluctuation characteristics of the original voltage sequence to obtain the voltage fluctuation fingerprint; Step 13: Decode the connection status according to the voltage fluctuation fingerprint to obtain the preliminary connection status; Step 14: Read the identity information according to the preliminary connection status to obtain the device identity data; Step 15: Perform connection status analysis based on the preliminary connection status and device identification data to obtain USB connection status data.
3. The control method for a data connection line according to claim 1, characterized in that: Step S2 includes the following steps: Step S21: interpreting the USB connection status data for connection intention to obtain a user intention vector; performing system load analysis on the USB connection status data to obtain system load status data; performing battery operation analysis on the USB connection status data to obtain battery cycle times and battery temperature data; Step S22: constructing a scene portrait according to the user intention vector and the system load status data to obtain scene label data; Step S23: performing battery health weighting processing on the scene label data according to the battery cycle number and the battery temperature data to obtain scene label weighted data; Step S24: Exploring the state strategy space using a preset strategy library according to the scene tag weighted data to obtain a state strategy candidate set; Step S25: Analyze the device operation status according to the scene label weighted data and the state strategy candidate set to obtain the target power consumption control level data.
4. The control method for a data connection line according to claim 3, characterized in that: Step S25 includes the following steps: Step S251: performing scenario power consumption prediction on the state strategy candidate set according to the scenario label weighted data to obtain strategy power consumption prediction data; Step S252: generating an optimal state strategy according to the strategy power consumption prediction data to obtain optimal state strategy data; Step S253: judging the operation state according to the optimal state strategy data to obtain the equipment operation state data; Step S254: Perform power consumption control classification according to the optimal state strategy data and the device operation state data to obtain target power consumption control level data.
5. The control method for a data connection line according to claim 1, characterized in that: Step S3 includes the following steps: Step S31: Calculate the baseline power consumption value according to the USB connection status data to obtain the baseline power consumption value; perform connection protocol adaptation on the baseline power consumption value according to the USB connection status data to obtain the standard power consumption value; Step S32: performing strategic power consumption adjustment on the standard power consumption value to obtain strategically adjusted power consumption data; Step S33: performing load fluctuation prediction according to the USB connection status data and the scene label weighted data to obtain load fluctuation curve data; Step S34: dividing the load fluctuation curve data into time slices to obtain time slice load data; performing time weight empowerment according to the time slice load data to obtain time weight empowerment data; Step S35: Performing strategy resonance on the strategy-adjusted power consumption data and the time-weighted empowerment data to obtain time-weighted power consumption data; Step S36: calibrate the time-weighted power consumption data according to the target power consumption control level data to obtain a target power consumption value.
6. The control method for a data connection line according to claim 1, characterized in that: Step S4 includes the following steps: Step S41: Analyze the standard power consumption difference of the target power consumption value and decompose the target to obtain the power consumption control sub-target; Step S42: searching for control strategies using a preset strategy library according to the power consumption control sub-goal to obtain a control candidate strategy set; Step S43: constructing a strategy combination according to the power consumption control sub-goal and the control candidate strategy set to obtain a strategy combination solution; Step S44: Evaluate the power consumption efficiency of the strategy combination scheme to obtain strategy efficiency ranking data; predict the performance impact of the strategy combination scheme to obtain strategy performance evaluation data; Step S45: performing a heat impact assessment on the strategy combination scheme to obtain strategy heat impact assessment data; performing a battery life impact assessment on the strategy combination scheme to obtain strategy life assessment data; Step S46: performing multi-objective optimization on the strategy combination scheme according to the strategy benefit ranking data, the strategy performance evaluation data, the strategy heat evaluation data, and the strategy life evaluation data to obtain power consumption control strategy data; Step S47: generating power consumption control strategy parameters according to the target power consumption value and the power consumption control strategy data to obtain power consumption control strategy parameters.
7. The control method for a data connection line according to claim 6, characterized in that: Step S46 includes the following steps: Step S461: constructing a multi-objective optimization model according to the strategy benefit ranking data, the strategy performance evaluation data, the strategy heat evaluation data, and the strategy life evaluation data to obtain a multi-objective optimization model; Step S462: Optimizing the target weight vector of the multi-objective optimization model to obtain the target weight vector; solving the target frontier according to the multi-objective optimization model and the target weight vector to obtain the optimal solution set data; Step S463: Analyze the actual constraints of the optimal solution set data to obtain the optimal feasible solution set data; Step S464: weighted scoring is performed on the optimal feasible solution set data according to the target weight vector to obtain a comprehensive scoring vector; and power consumption control strategy is generated according to the comprehensive scoring vector to obtain power consumption control strategy data.
8. The control method for a data connection line according to claim 1, characterized in that: Step S5 includes the following steps: Step S51: parsing the power consumption control strategy data for strategy instructions to obtain a strategy instruction list; querying a hardware mapping table according to the strategy instruction list to obtain hardware control mapping data; Step S52: quantizing the power consumption control strategy parameters to obtain quantized parameter values; and packaging the hardware control mapping data and the quantized parameter values to obtain control data packets; Step S53: performing timing logic arrangement on the control data packet to obtain a timing control sequence; performing check code generation on the timing control sequence to obtain a check control sequence; Step S54: Physically transmit the signal of the verification control sequence to obtain control signal data.
9. The control method for a data connection line according to claim 1, characterized in that: Step S6 includes the following steps: Step S61: the target hardware module captures the control signal data and performs authenticity verification to obtain verification result data; performs precise matching of instruction sets according to the verification result data to obtain recognized instruction data; Step S62: the target hardware module performs hardware state control according to the identified instruction data to obtain hardware state control data; Step S63: Performing synchronous feedback of state change according to the hardware state control data to obtain feedback signal data; Step S64: the USB interface control chip performs feedback information analysis on the feedback signal data to obtain hardware status data; Step S65: obtaining real-time power supply parameters of the interface; performing data fusion correlation on the real-time power supply parameters of the interface and the hardware status data to obtain correlation analysis result data; Step S66: using a preset quantitative index set to perform index quantification processing on the association analysis result data to obtain index quantification data; Step S67: Evaluate the control effect according to the indicator quantification data to obtain control effect evaluation data; and optimize the control signal data according to the control effect evaluation data to achieve control operation of the data connection line.
10. A data line connecting line device, characterized in that: Used to execute the control method for a data connection line according to claim 1, the control device for a data connection line comprises: The data acquisition module is used to collect voltage fluctuations through the USB interface control chip to obtain voltage fluctuation fingerprints; analyze the interface connection status according to the voltage fluctuation fingerprints to obtain USB connection status data; The status analysis module is used to construct a scene portrait of the connected device based on the USB connection status data to obtain the scene label data; perform a weighted analysis on the battery health of the scene label data based on the USB connection status data to obtain the scene label weighted data; perform a device operation status analysis based on the scene label weighted data to obtain the target power consumption control level data; The power consumption evaluation module is used to predict the power consumption load according to the USB connection status data and the scene label weighted data to obtain the load fluctuation curve data; perform time-weighted analysis on the load fluctuation curve data to obtain the time-weighted power consumption data; perform target power consumption calibration on the time-weighted power consumption data according to the target power consumption control level data to obtain the target power consumption value; A control strategy formulation module is used to analyze the control strategy combination scheme according to the target power consumption value to obtain the strategy combination scheme; perform multi-dimensional strategy impact analysis on the strategy combination scheme to obtain multi-dimensional strategy impact data; perform multi-objective optimization on the strategy combination scheme according to the multi-dimensional strategy impact data to obtain power consumption control strategy data; generate power consumption control strategy parameters according to the target power consumption value and the power consumption control strategy data to obtain power consumption control strategy parameters; The control signal generation module is used to perform hardware mapping analysis on the power consumption control strategy data to obtain hardware control mapping data; perform numerical quantization on the power consumption control strategy parameters to obtain a control data packet; and generate a control signal according to the control data packet to obtain control signal data; The control execution module is used for the target hardware module to perform control execution processing according to the control signal data to obtain feedback signal data; the USB interface control chip performs feedback quantitative analysis on the feedback signal data to obtain index quantitative data; the control effect of the control signal data is optimized according to the index quantitative data to realize the control operation of the data connection line.
Citation Information
Patent Citations
Device and method for controlling power consumption of mobile telephone
CN101741989A
Energy control via power requirement analysis and power source enablement
US20150121113A1
