Test method and device, electronic equipment and storage medium
By testing different charging schemes in the terminal and determining the target charging scheme based on real user data, the problem of lack of data support for charging scheme evaluation is solved, and the reliability and practicality of the charging scheme are improved.
Patent Information
- Application Number
- CN202411064646.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-05
- Publication Date
- 2026-02-06
AI Technical Summary
In existing technologies, the evaluation of charging solutions lacks support from real user data, resulting in poor reliability and practicality.
By creating multiple sets of control data, including the charging scheme to be tested and user categories, control data is sent to multiple terminals, charging data is collected, and the target charging scheme is determined based on this data.
The reliability and practicality of the target charging solution have been improved, and the charging strategy has been optimized based on real charging data.
Smart Images

Figure CN121476740A_ABST
Abstract
Description
Technical Field
[0001] This disclosure relates to the field of charging technology, and in particular to a testing method, apparatus, electronic device and storage medium. Background Technology
[0002] With the development of electronic devices, users' charging requirements are also increasing, making the design of charging solutions increasingly important. In related technologies, demanders typically determine the effectiveness of charging solutions based on theoretical evaluations and experimental data. However, the evaluation of charging solutions lacks support from real user data, resulting in poor reliability and practicality of the determined solutions. Summary of the Invention
[0003] To overcome the problems existing in the related technologies, this disclosure provides a testing method, apparatus, electronic device and storage medium.
[0004] According to a first aspect of the present disclosure, a testing method is provided, the method comprising:
[0005] Create multiple sets of different control data. Each set of control data includes the charging scheme to be tested and the user category corresponding to the charging scheme to be tested. The charging scheme to be tested is any one of the multiple charging schemes included in the charging strategy to be tested.
[0006] The control data is sent to each of the multiple terminals respectively;
[0007] Each terminal sends charging data, which is data collected during charging based on the user category to which the terminal belongs, corresponding to the charging scheme under test.
[0008] Based on the multiple charging data, the target charging scheme under the charging strategy to be tested is determined.
[0009] In some embodiments, determining the target charging scheme under the charging strategy to be tested based on multiple sets of charging data includes:
[0010] Quantitative analysis is performed on multiple charging data to obtain the analysis results corresponding to each charging scheme under the charging strategy to be tested. The analysis results are used to characterize the charging performance when charging with the charging scheme.
[0011] Based on the analysis results corresponding to each charging scheme, the target charging scheme is determined.
[0012] In some embodiments, prior to creating the different sets of control data, the method further includes:
[0013] Obtain charging problem information, which is used to characterize the problems encountered during the charging process of the terminal;
[0014] Based on the charging problem information, multiple charging strategies are set, and each charging strategy includes multiple charging schemes.
[0015] In some embodiments, sending the control data to each of the plurality of terminals includes:
[0016] For each terminal, obtain the control data corresponding to that terminal;
[0017] When the terminal meets the data transmission conditions, the control data is sent to the terminal; wherein, the terminal meeting the data transmission conditions means that the terminal is the terminal selected for charging scheme testing.
[0018] In some embodiments, obtaining the control data corresponding to the terminal includes:
[0019] In the case of sending control data to the terminal for the first time, acquire the current control data and historical data, the historical data including control data sent to other terminals; or...
[0020] If control data is not sent to the terminal for the first time, the current control data is obtained.
[0021] In some embodiments, obtaining the control data corresponding to the terminal includes:
[0022] Based on the user category to which the terminal belongs, obtain the control data including the user category.
[0023] In some embodiments, the method further includes:
[0024] Send target control data to each of the terminals;
[0025] The target control data may include the target charging scheme, or the target control data may include the target charging scheme and the target user category corresponding to the target charging scheme.
[0026] According to a second aspect of the present disclosure, a testing method is provided, the method comprising:
[0027] Receive control data sent by the server. The control data includes the charging scheme to be tested and the user category corresponding to the charging scheme to be tested. The charging scheme to be tested is any one of the multiple charging schemes included in the charging strategy to be tested.
[0028] The charging scheme to be tested is performed based on the user category to which the terminal belongs, which is included in the control data, and charging data is collected during the charging process.
[0029] The charging data is sent to the server, and the charging data is used to enable the server to determine the target charging scheme under the charging strategy to be tested.
[0030] In some embodiments, the method further includes:
[0031] Receive target control data sent by the server;
[0032] The target control data may include the target charging scheme, or the target control data may include the target charging scheme and the target user category corresponding to the target charging scheme.
[0033] In some embodiments, where the target control data includes the target charging scheme and the target user category corresponding to the target charging scheme, the method further includes:
[0034] Change the user category of the terminal to the target user category.
[0035] According to a third aspect of the present disclosure, a testing apparatus is provided, the apparatus comprising:
[0036] The control data creation module is configured to create multiple sets of control data. Each set of control data includes a charging scheme to be tested and a user category corresponding to the charging scheme to be tested. The charging scheme to be tested is any one of the multiple charging schemes included in the charging strategy to be tested.
[0037] The control data transmission module is configured to send the control data to each of the multiple terminals respectively;
[0038] The charging data receiving module is configured to receive charging data sent by each of the terminals, wherein the charging data is data collected when charging the charging scheme under test based on the user category to which the terminal belongs;
[0039] The charging scheme determination module is configured to determine the target charging scheme under the charging strategy to be tested based on multiple sets of charging data.
[0040] In some embodiments, the charging scheme determination module is configured to:
[0041] Quantitative analysis is performed on multiple charging data to obtain the analysis results corresponding to each charging scheme under the charging strategy to be tested. The analysis results are used to characterize the charging performance when charging with the charging scheme.
[0042] Based on the analysis results corresponding to each charging scheme, the target charging scheme is determined.
[0043] In some embodiments, the apparatus further includes:
[0044] The information acquisition module is configured to acquire charging problem information, which is used to characterize the problems encountered during the charging process of the terminal;
[0045] The charging strategy setting module is configured to set multiple charging strategies based on the charging problem information, and each charging strategy includes multiple charging schemes.
[0046] In some embodiments, the control data sending module is configured to:
[0047] For each terminal, obtain the control data corresponding to that terminal;
[0048] When the terminal meets the data transmission conditions, the control data is sent to the terminal; wherein, the terminal meeting the data transmission conditions means that the terminal is the terminal selected for charging scheme testing.
[0049] In some embodiments, the control data sending module is configured to:
[0050] In the case of sending control data to the terminal for the first time, acquire the current control data and historical data, the historical data including control data sent to other terminals; or...
[0051] If control data is not sent to the terminal for the first time, the current control data is obtained.
[0052] In some embodiments, the control data sending module is configured to:
[0053] Based on the user category to which the terminal belongs, obtain the control data including the user category.
[0054] In some embodiments, the control data sending module is further configured to send target control data to each terminal;
[0055] The target control data may include the target charging scheme, or the target control data may include the target charging scheme and the target user category corresponding to the target charging scheme.
[0056] According to a fourth aspect of the present disclosure, a testing apparatus is provided, the apparatus comprising:
[0057] The control data receiving module is configured to receive control data sent by the server. The control data includes the charging scheme to be tested and the user category corresponding to the charging scheme to be tested. The charging scheme to be tested is any one of the multiple charging schemes included in the charging strategy to be tested.
[0058] The charging data acquisition module is configured to charge the device based on the user category of the terminal included in the control data, corresponding to the charging scheme to be tested, and to collect charging data during charging.
[0059] The charging data sending module is configured to send the charging data to the server, the charging data being used to enable the server to determine the target charging scheme under the charging strategy to be tested.
[0060] In some embodiments, the apparatus further includes:
[0061] The control data receiving module is also configured to receive target control data sent by the server;
[0062] The target control data may include the target charging scheme, or the target control data may include the target charging scheme and the target user category corresponding to the target charging scheme.
[0063] In some embodiments, the apparatus further includes:
[0064] The user category modification module is configured to modify the user category to which the terminal belongs to the target user category.
[0065] According to a fifth aspect of the present disclosure, an electronic device is provided, comprising:
[0066] processor;
[0067] Memory used to store processor-executable instructions;
[0068] The processor is configured to perform the test method as described in the first aspect of the present disclosure, or the processor is configured to perform the test method as described in the second aspect of the present disclosure.
[0069] According to a sixth aspect of the present disclosure, a non-transitory computer-readable storage medium is provided, wherein when instructions in the storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform a test method as described in a first aspect of the present disclosure, or to perform a test method as described in a second aspect of the present disclosure.
[0070] The method described above, as disclosed in this invention, has the following beneficial effects:
[0071] The method provided in this disclosure creates multiple sets of control data, each set including a charging scheme to be tested and a user category corresponding to the charging scheme. The control data is sent to each of the multiple terminals. After receiving the control data, the terminal charges according to the charging scheme to be tested corresponding to its user category to collect the terminal's charging data. Then, a suitable target charging scheme is determined based on the charging data of multiple terminals. Using real charging data as the basis for determining the target charging scheme improves the reliability and practicality of the target charging scheme.
[0072] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and are not intended to limit this disclosure. Attached Figure Description
[0073] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0074] Figure 1 This is a schematic diagram illustrating an application scenario according to an exemplary embodiment;
[0075] Figure 2 This is a flowchart illustrating a testing method according to an exemplary embodiment;
[0076] Figure 3 This is a flowchart illustrating a testing method according to an exemplary embodiment;
[0077] Figure 4 This is a flowchart illustrating a testing method according to an exemplary embodiment;
[0078] Figure 5 This is a schematic diagram illustrating a testing process according to an exemplary embodiment;
[0079] Figure 6 This is a flowchart illustrating a testing method according to an exemplary embodiment;
[0080] Figure 7 This is a block diagram illustrating a testing apparatus according to an exemplary embodiment;
[0081] Figure 8 This is a block diagram illustrating a testing apparatus according to an exemplary embodiment;
[0082] Figure 9 This is a block diagram of an electronic device according to an exemplary embodiment. Detailed Implementation
[0083] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with some aspects of the invention as detailed in the appended claims.
[0084] Fast charging technology: With the advancement of electronic devices, the charging power of fast charging technology is constantly increasing. High-power fast charging solutions can significantly shorten the charging time of electronic devices. As fast charging technology matures, its safety and stability have also improved. For example, by adopting technologies such as temperature control and overcharge protection, safety hazards caused by fast charging can be effectively avoided, thus improving the user's charging experience.
[0085] ABTEST (A / B Testing) Solution: ABTEST has evolved from its initial stages to its current state, encompassing technological advancements, personalized and dynamic applications, cross-platform and multi-channel deployments, and future trends. Initially, ABTEST was primarily used in web design and online advertising to compare the impact of small-scale changes on click-through rates and conversion rates. With advancements in internet and data processing technologies, ABTEST became more complex and sophisticated, incorporating more data collection and analysis tools to handle larger datasets and more complex variations. In recent years, with the development of artificial intelligence and machine learning technologies, ABTEST has gradually moved towards personalization and dynamism, optimizing user experience and improving conversion rates. ABTEST has begun to be applied across multiple channels and platforms, including mobile applications and social media platforms, providing businesses with more comprehensive optimization solutions. In the future, the development trend of ABTEST may emphasize real-time performance and automation, enabling rapid adjustments to testing plans and optimization strategies through real-time monitoring and feedback systems. As an effective optimization method, ABTEST will continue to play a vital role in the face of constantly evolving technologies and application scenarios, achieving wider application and deeper optimization results.
[0086] In this embodiment of the disclosure, a testing method based on ABTEST is provided, which tests different charging schemes according to different user categories to obtain real charging data as the basis for determining the target charging scheme, thereby improving the reliability and practicality of the target charging scheme.
[0087] Figure 1 This is a schematic diagram illustrating an application scenario according to an exemplary embodiment. See [link / reference] Figure 1 The testing method provided in this embodiment consists of a server and multiple terminals ( Figure 3(This example uses three client terminals.) The server side includes a development management platform, a cloud control management platform (cloud control server), and a big data tracking platform. First, technical personnel monitor charging issues through the user feedback platform. Based on these issues, they set various charging strategies through the development management platform. Each strategy includes multiple charging schemes. During charging testing, the cloud control server imports each charging scheme into different terminals for testing according to user categories. The big data tracking platform acquires charging data from each terminal, thus achieving AETEST. Finally, the big data tracking platform or the development management platform determines the appropriate charging scheme based on the actual charging data.
[0088] It should be noted that, Figure 1 Taking the example of a server-side application that includes a development management platform, a cloud control management platform, and a big data tracking platform, in another embodiment, the server-side application may consist of only one server that has the functions of a development management platform, a cloud control management platform, and a big data tracking platform. Alternatively, the server-side application may also include a user feedback platform or other platforms.
[0089] The terminal can be any device that needs to be charged, such as a mobile phone, tablet, laptop, wearable device, or smart home device.
[0090] Figure 2 This is a flowchart illustrating a testing method according to an exemplary embodiment, executed by the server. See also... Figure 2 The method includes the following steps:
[0091] Step S201: Create multiple sets of control data. Each set of control data includes the charging scheme to be tested and the user category corresponding to the charging scheme to be tested. The charging scheme to be tested is any one of the multiple charging schemes included in the charging strategy to be tested.
[0092] The charging strategy includes at least one type. For example, the charging strategy to be tested includes aging strategies, battery parameter strategies, and anti-burnout strategies, among others. For each type of charging strategy, there are multiple different charging schemes. For instance, the aging strategy includes charging scheme 1, charging scheme 2, and charging scheme 3. These three schemes all belong to the aging strategy, but their specific charging methods differ. The various types of charging strategies and the multiple charging schemes included in each strategy are pre-set.
[0093] Each set of control data includes the charging scheme to be tested and the user category corresponding to the charging scheme. The charging scheme to be tested is any one of multiple charging schemes included in the charging strategy to be tested. Optionally, each set of control data can include one or more charging schemes to be tested. When the control data includes multiple charging schemes to be tested, these multiple charging schemes to be tested belong to different charging strategies, and the user categories corresponding to these multiple charging schemes to be tested can be the same or different. That is, for the same charging strategy, the user categories corresponding to the multiple charging schemes included in the charging strategy are different, but different types of charging strategies do not affect each other. That is, the same category can correspond to different charging schemes in different types of charging strategies. Multiple sets of different control data mean that the charging schemes to be tested included in multiple sets of control data are different, and the user categories correspond to the charging schemes to be tested. When the charging schemes to be tested are different, the user categories may be the same or different.
[0094] Step S202: Send control data to each of the multiple terminals respectively.
[0095] After creating multiple sets of control data, the server sends the control data to each of the multiple terminals. These terminals are used to test the charging scheme. For a set of control data, the control data can be sent to at least one of the multiple terminals.
[0096] In some embodiments, control data may be sent to each terminal at least once. When multiple control data are sent to a terminal, the control data sent multiple times may be the same or different.
[0097] Step S203: Receive charging data sent by each terminal. The charging data is the data collected when charging the charging scheme under test based on the user category to which the terminal belongs.
[0098] After receiving control data, each terminal charges according to the testing charging scheme corresponding to its user category as specified in the control data. During charging, charging data is collected and then fed back to the server; that is, the server receives the charging data sent by each terminal. This charging data characterizes the terminal's charging status and includes information such as full charge capacity, battery health, terminal temperature, charging time, charging current, and charging voltage.
[0099] Step S204: Based on multiple charging data, determine the target charging scheme under the charging strategy to be tested.
[0100] Since charging data reflects the state of the terminal during charging, and thus charging performance can be determined through this data, the target charging scheme with the best performance among multiple charging schemes under the charging strategy to be tested can be determined based on multiple charging data.
[0101] It should be noted that the same approach can be used to determine the target charging scheme for each type of charging strategy.
[0102] The method provided in this disclosure creates multiple sets of control data, each set including a charging scheme to be tested and a user category corresponding to the charging scheme. The control data is sent to each of the multiple terminals. After receiving the control data, the terminal charges according to the charging scheme to be tested corresponding to its user category to collect the terminal's charging data. Then, a suitable target charging scheme is determined based on the charging data of multiple terminals. Using real charging data as the basis for determining the target charging scheme improves the reliability and practicality of the target charging scheme.
[0103] Figure 3 This is a flowchart illustrating a testing method according to an exemplary embodiment, executed by a terminal. See also... Figure 3 The method includes the following steps:
[0104] Step S301: Receive control data sent by the server. The control data includes the charging scheme to be tested and the user category corresponding to the charging scheme to be tested. The charging scheme to be tested is any one of the multiple charging schemes included in the charging strategy to be tested.
[0105] Step S302: Charge the device according to the user category of the terminal included in the control data and the corresponding charging scheme to be tested, and collect charging data during charging.
[0106] Step S303: Send charging data to the server. The charging data is used to enable the server to determine the target charging scheme under the charging strategy to be tested.
[0107] The implementation methods of steps S301-S303 are similar to those of steps S201-S204 described above, and will not be repeated here.
[0108] It should be noted that, Figure 3 The illustrated embodiment uses the testing process of any terminal as an example. Any terminal that receives control data sent by the server can execute the following... Figure 3The steps shown are followed for testing. Furthermore, for a single terminal, one charging scheme under a single charging strategy can be tested in each test. For multiple terminals, different terminals can test multiple charging schemes under the same charging strategy, or multiple charging schemes under different charging strategies. If multiple terminals are testing multiple charging schemes under different charging strategies, the testing of multiple charging schemes under multiple charging strategies can be completed simultaneously, without needing to test each charging scheme sequentially, thus improving testing efficiency and allowing for faster determination of the target charging scheme under each charging strategy.
[0109] The method provided in this disclosure involves a terminal receiving control data from a server and then charging the terminal based on the charging scheme to be tested corresponding to its user category. This process collects the terminal's charging data, which is then sent to the server. The server can determine a suitable target charging scheme based on the charging data from multiple terminals, using real charging data as the basis for determining the target charging scheme. This improves the reliability and practicality of the target charging scheme.
[0110] Figure 4 This is a flowchart illustrating a testing method according to an exemplary embodiment, executed by a server and a terminal. See also... Figure 4 The method includes the following steps:
[0111] Step S401: The server creates multiple sets of different control data.
[0112] Each set of control data includes the charging scheme to be tested and the user category corresponding to the charging scheme to be tested. The charging scheme to be tested is any one of the multiple charging schemes included in the charging strategy to be tested.
[0113] In some embodiments, charging problem information is obtained, which characterizes problems encountered during terminal charging. Based on the charging problem information, multiple charging strategies are set, each including multiple charging schemes. The charging problem information can be problems reported by users through a user feedback platform, or problems summarized by technicians based on user feedback. When setting charging strategies, the charging strategies are specifically designed based on the charging problem information.
[0114] In this embodiment of the disclosure, after setting multiple charging strategies, different sets of control data can be created based on the set multiple charging strategies.
[0115] In one example, a set of control data uses 32-bit binary numbers to implement 8 different ABTEST tags. Each ABTEST tag corresponds to one type of charging strategy, and each ABTEST tag occupies 4 bits, meaning it supports a maximum of 16 user categories. In other words, a single type of charging strategy can include multiple charging schemes that correspond to a maximum of 16 user categories. For example, a set of control data is shown in Table 1 below:
[0116] Table 1
[0117]
[0118] In the actual control data, charging strategy 1 refers to the charging scheme to be tested included in charging strategy 1. Bits 0-3 are used to represent user categories in the actual control data. For example, 0001 represents user category 1, 0010 represents user category 2, etc., and other charging strategies are similar.
[0119] In this embodiment of the disclosure, the method of marking the corresponding user categories for different charging strategies can greatly avoid potential problems caused by terminal version lag, which is conducive to better charging testing and can effectively avoid the impact of terminal version on the accuracy of test results during the charging test process.
[0120] In step S402, the server sends control data to each of the multiple terminals.
[0121] In some embodiments, for each terminal, control data corresponding to the terminal is acquired; when the terminal meets the data transmission conditions, control data is sent to the terminal; wherein, the terminal meeting the data transmission conditions means that the terminal is selected for charging scheme testing. Optionally, the server can add a corresponding tag to each terminal to indicate whether the terminal can be used for charging scheme testing. When the tag corresponding to the terminal indicates that the terminal can be used for charging scheme testing, it is determined that the terminal meets the data transmission conditions. For example, a tag of 1 indicates that the terminal can be used for charging scheme testing, and a tag of 0 indicates that the terminal cannot be used for charging scheme testing. Of course, other methods can also be used to determine whether the terminal meets the data transmission conditions.
[0122] Optionally, after determining that the terminal meets the data delivery conditions, it is also necessary to perform a grayscale test on the terminal. If the grayscale test is successful, control data is then sent to the terminal. The grayscale test is determined based on the total number of terminals that need to be tested. If the total number of terminals currently used for testing does not exceed a preset number, the terminal grayscale test is successful.
[0123] In some embodiments, obtaining control data corresponding to the terminal includes: when sending control data to the terminal for the first time, obtaining the current control data and historical data, wherein the historical data includes control data sent to other terminals. That is, when the terminal is a new and unused terminal, it is necessary not only to obtain the current control data, but also to obtain the control data previously sent to other terminals, and to use the current control data and historical data together as the control data to be sent; or, when sending control data to the terminal for the first time, obtaining the current control data.
[0124] Optionally, if control data is not being sent to the terminal for the first time, the current control data can be obtained, including: if control data is not being sent to the terminal for the first time, determining the current version (curversion) of the terminal, and obtaining the control data that needs to be sent to the terminal after that version. This control data includes the current control data. Of course, in some cases, this control data may also include other control data sent by the server under the current version.
[0125] In some embodiments, obtaining control data corresponding to the terminal includes: obtaining control data including the user category based on the user category to which the terminal belongs. That is, since the terminal will use the charging scheme under test corresponding to its user category for charging testing, and will not use other charging schemes under test, in order to avoid sending control data that the terminal will not use to the terminal, control data including the user category is obtained based on the user category to which the terminal belongs.
[0126] Step S403: For each terminal, the terminal receives control data sent by the server, charges according to the user category to which the terminal belongs, and collects charging data during charging, and sends the charging data to the server.
[0127] For each terminal, in some embodiments, the terminal pre-registers a listener to listen for data sent by the server. When control data is detected, the terminal reads the control data and parses it to obtain the charging scheme to be tested and the user category corresponding to the charging scheme to be tested.
[0128] Optionally, in order to enable the terminal to charge based on the control data, the parsed control data is written into the underlying driver. In the charging subjective perception objectification method in the underlying driver, the user category parsing method is called to determine whether ABTEST testing is required. If it is determined that ABTEST testing is required, charging is performed based on the charging scheme to be tested corresponding to the user category to which the terminal belongs, and charging data is collected during charging. If it is determined that ABTEST testing is not required, the control data sent by the server is determined to be the target control data, and step S407 is executed.
[0129] In step S404, the server receives the charging data sent by each terminal.
[0130] Step S405: The server determines the target charging scheme under the charging strategy to be tested based on multiple charging data.
[0131] In some embodiments, quantitative analysis is performed on multiple charging data to obtain analysis results for each charging scheme under the charging strategy to be tested. The analysis results are used to characterize the charging performance when charging with a charging scheme. Based on the analysis results for each charging scheme, a target charging scheme is determined. There are various ways to perform quantitative analysis on charging data. For example, based on multiple charging data, a corresponding charging process curve can be established for each charging scheme. This charging process curve can reflect the change in charging performance as charging time increases. Alternatively, based on multiple charging data, the charging performance of different charging schemes under the same charging environment can be statistically analyzed. Of course, other methods can also be used to perform quantitative analysis on multiple charging data to obtain analysis results for each charging scheme.
[0132] Step S406: The server sends target control data to each terminal.
[0133] The target control data includes the target charging scheme, or the target control data includes the target charging scheme and the target user category corresponding to the target charging scheme.
[0134] Step S407: For each terminal, the terminal receives target control data sent by the server.
[0135] In some embodiments, the terminal cannot determine whether it receives target control data containing the final determined target charging scheme or control data used for charging testing. Therefore, after receiving the target control data, the terminal needs to call the user category parsing method in the charging subjective perception objectification method in the underlying driver to determine whether ABTEST testing is required. If ABTEST testing is required, the terminal determines that the received control data is for charging testing; if ABTEST testing is not required, the terminal determines that the control data sent by the server is the target control data.
[0136] In some embodiments, when the target control data includes a target charging scheme and a target user category corresponding to the target charging scheme, the user category to which the terminal belongs is modified to the target user category. That is, after modifying the user category to which the terminal belongs to the target user category, the target charging scheme corresponding to the target user category will be used by default during the charging process.
[0137] It should be noted that in this embodiment of the disclosure, the user category to which the terminal belongs is changed to the target user category only for the charging strategy to be tested. For other types of charging strategies, changing the user category will not affect the testing of the charging scheme in other types of charging strategies.
[0138] See one example. Figure 5 The diagram illustrates the testing process. For terminals belonging to user category 1, user category 2, and user category 3, charging is performed using charging scheme A, charging scheme B, and charging scheme C, respectively, to obtain corresponding charging data. Then, subjective perception and objective analysis (quantitative analysis) are performed on the collected charging data to obtain the charging process curves corresponding to charging scheme A, charging scheme B, and charging scheme C, respectively. Based on the charging process curves, the target charging scheme is determined and sent to the terminal.
[0139] It should be noted that, Figure 5 The test process shown illustrates how to determine the target charging scheme for one type of charging strategy.
[0140] The method provided in this disclosure creates multiple sets of control data, each set including a charging scheme to be tested and a user category corresponding to the charging scheme. The control data is sent to each of the multiple terminals. After receiving the control data, the terminal charges according to the charging scheme to be tested corresponding to its user category to collect the terminal's charging data. Then, a suitable target charging scheme is determined based on the charging data of multiple terminals. Using real charging data as the basis for determining the target charging scheme improves the reliability and practicality of the target charging scheme.
[0141] Furthermore, by focusing on the user and objectifying the user's subjective charging experience, the user experience can be improved, making the charging process more in line with personalized needs.
[0142] See one example. Figure 6 The flowchart of the test method shown is executed by the development management platform, cloud control management platform, and terminal. See [link / reference]. Figure 6 The method includes the following steps:
[0143] S1 develops a management platform to analyze users' subjective charging perception issues, sets up multiple charging strategies, and writes a method for objectifying the subjective charging experience into the terminal's underlying driver.
[0144] The development and management platform acquires user feedback issues submitted through the user feedback platform, then analyzes the user's subjective charging experience to obtain charging problem information; based on the charging problem information, multiple charging strategies are set, with each strategy including multiple charging schemes.
[0145] S2, the cloud control management platform creates and verifies control data.
[0146] Among them, verification control data refers to verifying whether the format and content of the verification control data are correct.
[0147] S3: The cloud control management platform determines whether the terminal is a new machine. If the terminal is determined to be a new machine, then S4 is executed. If the terminal is determined not to be a new machine, then S5 is executed.
[0148] S4, the cloud control management platform obtains all enabled data.
[0149] The enabled data includes current control data as well as historical data.
[0150] S5, the cloud-based management platform acquires all incremental data.
[0151] All incremental data includes data sent by the cloud control management platform after the terminal is updated to the current version, and all incremental data includes at least the current control data.
[0152] S6, the cloud control management platform performs condition matching for distribution.
[0153] In other words, the cloud control management platform determines whether the terminal meets the data delivery conditions. If the conditions are met, S7 is executed; otherwise, the process ends.
[0154] S7, the cloud control management platform performs grayscale judgment.
[0155] In other words, the cloud control management platform determines whether it can send control data to the terminal. If the grayscale judgment passes, S8 is executed; otherwise, the process ends.
[0156] S8, the cloud control management platform sends control data to the terminal.
[0157] S9, Terminal Registration Listener.
[0158] S10: The terminal listens to the data sent by the cloud control management platform through the listener. If control data is detected, S11 is executed; otherwise, S10 is executed again.
[0159] S11, the terminal reads control data.
[0160] S12, Terminal parses control data.
[0161] S13, the terminal writes the control input to the underlying driver.
[0162] S14, the terminal parses the user category through the underlying driver.
[0163] S15, the terminal determines whether to perform ABTEST test. If ABTEST is performed, then S16 is executed; otherwise, S18 is executed.
[0164] S16, the terminal charges according to the charging scheme corresponding to its user category and collects charging data.
[0165] S17, the development management platform acquires charging data, performs quantitative analysis on the charging data, and executes S2 again.
[0166] S18, the terminal modifies its user category, determines the target charging scheme, and then uses the target charging scheme when charging.
[0167] Figure 7 This is a block diagram of a testing apparatus according to an exemplary embodiment, configured on a server side. See also... Figure 7 The device includes:
[0168] The control data creation module 701 is configured to create multiple sets of different control data. Each set of control data includes the charging scheme to be tested and the user category corresponding to the charging scheme to be tested. The charging scheme to be tested is any one of the multiple charging schemes included in the charging strategy to be tested.
[0169] The control data transmission module 702 is configured to send control data to each of the multiple terminals respectively.
[0170] The charging data receiving module 703 is configured to receive charging data sent by each terminal. The charging data is the data collected when charging the charging scheme under test based on the user category to which the terminal belongs.
[0171] The charging scheme determination module 704 is configured to determine the target charging scheme under the charging strategy to be tested based on multiple charging data.
[0172] In some embodiments, the charging scheme determination module 704 is configured to:
[0173] Quantitative analysis is performed on multiple charging data to obtain the analysis results for each charging scheme under the charging strategy to be tested. The analysis results are used to characterize the charging performance when charging with the charging scheme.
[0174] Based on the analysis results for each charging scheme, the target charging scheme is determined.
[0175] In some embodiments, the apparatus further includes:
[0176] The information acquisition module is configured to acquire charging problem information, which is used to characterize the problems encountered during the terminal charging process.
[0177] The charging strategy setting module is configured to set multiple charging strategies based on charging problem information, and each charging strategy includes multiple charging schemes.
[0178] In some embodiments, the control data sending module 702 is configured to:
[0179] For each terminal, obtain the control data corresponding to the terminal;
[0180] When the terminal meets the data transmission conditions, control data is sent to the terminal; where the terminal meets the data transmission conditions, it means that the terminal is the terminal selected for charging scheme testing.
[0181] In some embodiments, the control data sending module 702 is configured to:
[0182] In the case of sending control data to the terminal for the first time, obtain the current control data and historical data, including control data sent to other terminals; or...
[0183] If control data is not being sent to the terminal for the first time, obtain the current control data.
[0184] In some embodiments, the control data sending module 702 is configured to:
[0185] Based on the user category to which the terminal belongs, obtain control data including the user category.
[0186] In some embodiments, the control data sending module 702 is further configured to send target control data to each terminal;
[0187] The target control data includes the target charging scheme, or the target control data includes the target charging scheme and the target user category corresponding to the target charging scheme.
[0188] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0189] Figure 8 This is a block diagram of a testing apparatus according to an exemplary embodiment, configured on a terminal, see [link to example]. Figure 8 The device includes:
[0190] The control data receiving module 801 is configured to receive control data sent by the server. The control data includes the charging scheme to be tested and the user category corresponding to the charging scheme to be tested. The charging scheme to be tested is any one of the multiple charging schemes included in the charging strategy to be tested.
[0191] The charging data acquisition module 802 is configured to charge the device based on the user category of the terminal included in the control data, corresponding to the charging scheme to be tested, and to collect charging data during charging.
[0192] The charging data sending module 803 is configured to send charging data to the server, and the charging data is used to enable the server to determine the target charging scheme under the charging strategy to be tested.
[0193] In some embodiments, the apparatus further includes:
[0194] The control data receiving module is also configured to receive target control data sent by the server;
[0195] The target control data includes the target charging scheme, or the target control data includes the target charging scheme and the target user category corresponding to the target charging scheme.
[0196] In some embodiments, the apparatus further includes:
[0197] The user category modification module is configured to change the user category of the terminal to the target user category.
[0198] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0199] This disclosure also provides an electronic device, including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to execute the test method in the above embodiments.
[0200] Figure 9 This is a block diagram of an electronic device 900 according to an exemplary embodiment.
[0201] Reference Figure 9 The electronic device 900 may include one or more of the following components: a processing component 902, a memory 904, a power supply component 906, a multimedia component 908, an audio component 910, an input / output (I / O) interface 912, a sensor component 914, and a communication component 916.
[0202] Processing component 902 typically controls the overall operation of electronic device 900, such as operations associated with display, telephone calls, data communication, camera operation, and recording operations. Processing component 902 may include one or more processors 920 to execute instructions to perform all or part of the steps of the methods described above. Furthermore, processing component 902 may include one or more modules to facilitate interaction between processing component 902 and other components. For example, processing component 902 may include a multimedia module to facilitate interaction between multimedia component 908 and processing component 902.
[0203] Memory 904 is configured to store various types of data to support the operation of electronic device 900. Examples of this data include instructions for any application or method operating on electronic device 900, contact data, phonebook data, messages, pictures, videos, etc. Memory 904 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk.
[0204] Power supply component 906 provides power to various components of electronic device 900. Power supply component 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 900.
[0205] Multimedia component 908 includes a screen that provides an output interface between the electronic device 900 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touchscreen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensors may sense not only the boundaries of the touch or swipe action but also the duration and pressure associated with the touch or swipe operation. In some embodiments, multimedia component 908 includes a front-facing camera and / or a rear-facing camera. When the electronic device 900 is in an operating mode, such as a shooting mode or a video mode, the front-facing camera and / or the rear-facing camera may receive external multimedia data. Each front-facing camera and rear-facing camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
[0206] Audio component 910 is configured to output and / or input audio signals. For example, audio component 910 includes a microphone (MIC) configured to receive external audio signals when electronic device 900 is in an operating mode, such as call mode, recording mode, and voice recognition mode. The received audio signals may be further stored in memory 904 or transmitted via communication component 916. In some embodiments, audio component 910 also includes a speaker for outputting audio signals.
[0207] I / O interface 912 provides an interface between processing component 902 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to, home buttons, volume buttons, power buttons, and lock buttons.
[0208] Sensor assembly 914 includes one or more sensors for providing state assessments of various aspects of electronic device 900. For example, sensor assembly 914 can detect the on / off state of electronic device 900, the relative positioning of components such as the display and keypad of electronic device 900, changes in position of electronic device 900 or a component of electronic device 900, the presence or absence of user contact with electronic device 900, orientation or acceleration / deceleration of electronic device 900, and temperature changes of electronic device 900. Sensor assembly 914 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 914 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, sensor assembly 914 may also include an accelerometer, gyroscope, magnetometer, pressure sensor, or temperature sensor.
[0209] Communication component 916 is configured to facilitate wired or wireless communication between electronic device 900 and other devices. Electronic device 900 can access wireless networks based on communication standards, such as WiFi, 2G, or 3G, or combinations thereof. In one exemplary embodiment, communication component 916 receives broadcast signals or broadcast-related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, communication component 916 also includes a near-field communication (NFC) module to facilitate short-range communication. For example, the NFC module may be implemented based on radio frequency identification (RFID) technology, Infrared Data Association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
[0210] In an exemplary embodiment, the electronic device 900 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the methods described above.
[0211] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 904 including instructions, which can be executed by a processor 920 of an electronic device 900 to perform the above-described method. For example, the non-transitory computer-readable storage medium may be a ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.
[0212] This disclosure also provides a non-transitory computer-readable storage medium, wherein when the instructions in the storage medium are executed by the processor of an electronic device, the electronic device is able to perform the test methods described in the above embodiments.
[0213] Other embodiments of the invention will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention that follow the general principles of the invention and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of the invention are indicated by the following claims.
[0214] It should be understood that the present invention is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of the invention is limited only by the appended claims.
Claims
1. A testing method, characterized in that, The method includes: Create multiple sets of different control data. Each set of control data includes the charging scheme to be tested and the user category corresponding to the charging scheme to be tested. The charging scheme to be tested is any one of the multiple charging schemes included in the charging strategy to be tested. The control data is sent to each of the multiple terminals respectively; Each terminal sends charging data, which is data collected during charging based on the user category to which the terminal belongs, corresponding to the charging scheme under test. Based on the multiple charging data, the target charging scheme under the charging strategy to be tested is determined.
2. The test method according to claim 1, characterized in that, The step of determining the target charging scheme under the charging strategy to be tested based on multiple sets of charging data includes: Quantitative analysis is performed on multiple charging data to obtain the analysis results corresponding to each charging scheme under the charging strategy to be tested. The analysis results are used to characterize the charging performance when charging with the charging scheme. Based on the analysis results corresponding to each charging scheme, the target charging scheme is determined.
3. The test method according to claim 1, characterized in that, Before creating the different sets of control data, the method further includes: Obtain charging problem information, which is used to characterize the problems encountered during the charging process of the terminal; Based on the charging problem information, multiple charging strategies are set, and each charging strategy includes multiple charging schemes.
4. The test method according to claim 1, characterized in that, Sending the control data to each of the multiple terminals includes: For each terminal, obtain the control data corresponding to that terminal; When the terminal meets the data transmission conditions, the control data is sent to the terminal; wherein, the terminal meeting the data transmission conditions means that the terminal is the terminal selected for charging scheme testing.
5. The test method according to claim 4, characterized in that, The step of obtaining the control data corresponding to the terminal includes: In the case of sending control data to the terminal for the first time, acquire the current control data and historical data, the historical data including control data sent to other terminals; or... If control data is not sent to the terminal for the first time, the current control data is obtained.
6. The test method according to claim 4, characterized in that, The step of obtaining the control data corresponding to the terminal includes: Based on the user category to which the terminal belongs, obtain the control data including the user category.
7. The test method according to claim 1, characterized in that, The method further includes: Send target control data to each of the terminals; The target control data may include the target charging scheme, or the target control data may include the target charging scheme and the target user category corresponding to the target charging scheme.
8. A testing method, characterized in that, The method includes: Receive control data sent by the server. The control data includes the charging scheme to be tested and the user category corresponding to the charging scheme to be tested. The charging scheme to be tested is any one of the multiple charging schemes included in the charging strategy to be tested. The charging scheme to be tested is performed based on the user category to which the terminal belongs, which is included in the control data, and charging data is collected during the charging process. The charging data is sent to the server, and the charging data is used to enable the server to determine the target charging scheme under the charging strategy to be tested.
9. The test method according to claim 8, characterized in that, The method further includes: Receive target control data sent by the server; The target control data may include the target charging scheme, or the target control data may include the target charging scheme and the target user category corresponding to the target charging scheme.
10. The test method according to claim 9, characterized in that, When the target control data includes the target charging scheme and the target user category corresponding to the target charging scheme, the method further includes: Change the user category of the terminal to the target user category.
11. A testing apparatus, characterized in that, The device includes: The control data creation module is configured to create multiple sets of control data. Each set of control data includes a charging scheme to be tested and a user category corresponding to the charging scheme to be tested. The charging scheme to be tested is any one of the multiple charging schemes included in the charging strategy to be tested. The control data transmission module is configured to send the control data to each of the multiple terminals respectively; The charging data receiving module is configured to receive charging data sent by each of the terminals, wherein the charging data is data collected when charging the charging scheme under test based on the user category to which the terminal belongs; The charging scheme determination module is configured to determine the target charging scheme under the charging strategy to be tested based on multiple sets of charging data.
12. A testing device, characterized in that, The device includes: The control data receiving module is configured to receive control data sent by the server. The control data includes the charging scheme to be tested and the user category corresponding to the charging scheme to be tested. The charging scheme to be tested is any one of the multiple charging schemes included in the charging strategy to be tested. The charging data acquisition module is configured to charge the device based on the user category of the terminal included in the control data, corresponding to the charging scheme to be tested, and to collect charging data during charging. The charging data sending module is configured to send the charging data to the server, the charging data being used to enable the server to determine the target charging scheme under the charging strategy to be tested.
13. An electronic device, characterized in that, include: processor; Memory used to store processor-executable instructions; The processor is configured to perform the test method as described in any one of claims 1-7, or the processor is configured to perform the test method as described in any one of claims 8-10.
14. A non-transitory computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor of the electronic device, the electronic device is able to perform the test method as described in any one of claims 1-7, or the electronic device is able to perform the test method as described in any one of claims 8-10.