Data link configuration method and device, electronic equipment and computer readable storage medium
By selecting the most suitable data link configuration method based on the data transmission capabilities and user needs evaluation supported by the terminal, the problem in the prior art that it is difficult to meet the complex and diverse needs of users based on the quality of data services alone is solved, and the user experience is improved.
Patent Information
- Application Number
- CN202510327127.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-18
- Publication Date
- 2025-06-27
AI Technical Summary
When the prior art uses terminal multi-communication data channels to improve the quality of communication services, it is difficult to meet the complex and diverse needs of users based on the quality of data services alone, resulting in a decrease in user experience.
By determining multiple data link configuration methods based on the data transmission capabilities supported by the terminal, and evaluating these configuration methods based on the user's usage needs, the target data link configuration method that best meets user needs.
It realizes the selection of a more suitable data link configuration method according to user needs, improves the user experience, and meets the complex and diverse needs of users.
Smart Images

Figure CN120224261A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technologies, and in particular, to a data link configuration method, apparatus, electronic device, and computer-readable storage medium. Background Art
[0002] Currently, for scenarios of improving the quality of current communication services by using multiple communication data channels on a terminal, for example, improving the quality of current communication services by using cellular data card switching or cellular data card concurrency; or, for scenarios of improving the quality of current communication services by using Wi-Fi data to cellular data or Wi-Fi cellular data concurrency, it is mainly to score according to the quality of data services (such as fluency) of the current application and decide whether to perform a data channel change operation.
[0003] However, in actual scenarios, the complexity and diversity of user needs are continuously increasing. Determining the transmission of data channels only based on the quality of data services is difficult to meet the actual needs of users when using data channels, thus reducing the user experience. Summary of the Invention
[0004] Embodiments of the present application are expected to provide a data link configuration method, apparatus, electronic device, and computer-readable storage medium.
[0005] The technical solution of the present application is implemented as follows:
[0006] In a first aspect, a data link configuration method is provided, including:
[0007] Determine multiple data link configuration methods according to the data transmission capabilities supported by the terminal;
[0008] Evaluate each data link configuration method among the multiple data link configuration methods according to at least one usage requirement to determine multiple evaluation results corresponding to the multiple data link configuration methods; the usage requirement represents the usage requirement of the user for the data link;
[0009] Based on the multiple evaluation results, determine a target data link configuration method from the multiple data link configuration methods.
[0010] In a second aspect, a data link configuration apparatus is provided, including:
[0011] A first determination module, configured to determine multiple data link configuration methods according to the data transmission capabilities supported by the terminal;
[0012] An evaluation module, configured to evaluate each of the multiple data link configuration methods according to at least one usage requirement, and determine multiple evaluation results corresponding to the multiple data link configuration methods; the usage requirement represents the user's usage requirement for the data link.
[0013] A second determination module, configured to determine a target data link configuration method from the multiple data link configuration methods based on the multiple evaluation results.
[0014] In a third aspect, an electronic device is provided, including: a memory and a processor; wherein,
[0015] The memory is configured to store executable instructions,
[0016] The processor is configured to implement the data link configuration method provided by this application when executing the executable instructions stored in the memory.
[0017] In a fourth aspect, a computer-readable storage medium is provided, storing executable instructions for causing a processor to implement the data link configuration method provided by this application when executed.
[0018] In a fifth aspect, a computer program product is provided, including a computer program or instructions, and the computer program or instructions implement the data link configuration method provided by this application when executed by a processor.
[0019] This application provides a data link configuration method, apparatus, electronic device, and computer-readable storage medium. The method includes: determining multiple data link configuration methods according to the data transmission capabilities supported by the terminal; evaluating each of the multiple data link configuration methods according to at least one usage requirement, and determining multiple evaluation results corresponding to the multiple data link configuration methods; the usage requirement represents the user's usage requirement for the data link; determining a target data link configuration method from the multiple data link configuration methods based on the multiple evaluation results. In this way, it is realized to evaluate the multiple data link configuration methods determined based on the data transmission capabilities supported by the terminal according to at least one usage requirement that the user is concerned about during data transmission, and select a data link configuration method that better meets the user's usage requirement for data services, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 is a flowchart of a data link configuration method provided by an embodiment of this application Figure 1 ;
[0021] Figure 2 is a flowchart of a data link configuration method provided by an embodiment of this application Figure 2 ;
[0022] Figure 3 Flow schematic of a data link configuration method provided by an embodiment of this application Figure 2 ;
[0023] Figure 4 An optional flow schematic diagram of the data link selection method provided by an embodiment of this application applied to an actual scenario;
[0024] Figure 5 Composition structure schematic diagram of a data link selection device provided by an embodiment of this application;
[0025] Figure 6 Composition structure schematic diagram of an electronic device provided by an embodiment of this application. Detailed implementation manners
[0026] In order to be able to understand the features and technical content of the embodiments of this application in more detail, the implementation of the embodiments of this application will be elaborated in detail below with reference to the accompanying drawings. The accompanying drawings are only for reference and illustration purposes and are not used to limit the embodiments of this application.
[0027] In the following description, "some embodiments" are involved, which describe a subset of all possible embodiments. However, it can be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments and can be combined with each other without conflict.
[0028] In the following description, the terms "first / second / third" involved are only used to distinguish similar objects and do not represent a specific order for the objects. It can be understood that "first / second / third" can be interchanged with a specific order or sequence when allowed, so that the embodiments of this application described here can be implemented in an order other than that illustrated or described here.
[0029] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those skilled in the technical field to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0030] Before further elaborating on the embodiments of the present invention, the nouns and terms involved in the embodiments of the present invention are described. The nouns and terms involved in the embodiments of the present invention are applicable to the following explanations.
[0031] Wi-Fi: Wireless Local Area Network technology based on the IEEE 802.11 standard.
[0032] SIM: Subscriber Identity Module.
[0033] The embodiments of the present application provide a data link configuration method, apparatus, electronic device, and computer-readable storage medium, which can evaluate the data link configuration methods supported by the terminal capabilities according to user requirements, and select a data link configuration method that better meets the user's usage requirements for data services, thereby improving the user experience.
[0034] The data link configuration method of the embodiments of the present application is applied to an electronic device. In some embodiments, the electronic device can be implemented as various types of user terminals such as a laptop computer, a tablet computer, a desktop computer, a set-top box, a mobile device (e.g., a mobile phone, a portable music player, a personal digital assistant, a dedicated messaging device, a portable game device), etc. Exemplarily, the electronic device can include a smart phone, a tablet computer, a laptop computer, a desktop computer, a smart speaker, a smart watch, etc. that are equipped with a smart operating system such as the Android system, and specific selection is made according to the actual situation, which is not limited in the embodiments of the present application.
[0035] See Figure 1 , Figure 1 is a flowchart illustration of a data link configuration method provided by the embodiments of the present application Figure 1 , including:
[0036] S101. Determine multiple data link configuration methods according to the data transmission capabilities supported by the terminal.
[0037] In the embodiments of the present application, the data transmission capabilities characterize the data links supported by the terminal for data services and the single-channel transmission or multi-channel concurrent transmission capabilities of the data links. By obtaining the data transmission capabilities supported by the terminal, various single-channel transmission and / or multi-channel concurrent transmission methods of the data links supported by the terminal can be determined, so as to obtain multiple data link transmission methods that can be configured on the terminal, that is, multiple data link configuration methods.
[0038] Exemplarily, the data transmission capabilities supported by the terminal can characterize: the single-channel transmission capabilities of multiple data links such as Wi-Fi, Bluetooth, D2D, and cellular supported by the terminal, and / or the multi-channel concurrent transmission capabilities of at least two of the data links. In this way, multiple data links including single data links and / or multi-link combinations can be determined according to the data transmission capabilities supported by the terminal.
[0039] In some embodiments, multiple single-channel data links, and / or multiple data link combinations, and / or the configuration methods corresponding to at least one single-channel data link and at least one data transmission combination can be determined according to the data transmission capabilities supported by the terminal, so as to determine multiple data link configuration methods.
[0040] Exemplarily, based on all single-channel data links supported by the terminal and all multi-channel data link combinations obtained by combining at least two single-channel data links, a complete set of configurable data link transmission methods on the terminal can be determined as various data link configuration methods.
[0041] S102. Evaluate each data link configuration method among the various data link configuration methods according to at least one usage requirement, and determine multiple evaluation results corresponding to the various data link configuration methods.
[0042] In the embodiments of the present application, the usage requirement represents the user's usage requirement for the data link. In some embodiments, at least one usage requirement may include at least one of bandwidth requirement, tariff requirement, power consumption requirement, and delay requirement. Alternatively, it can be further expanded according to actual user requirements, and the embodiments of the present application do not make specific limitations.
[0043] In the embodiments of the present application, one data link configuration method corresponds to one evaluation result. In some embodiments, for each data link configuration method, it can be evaluated through each usage requirement in at least one usage requirement to determine at least one evaluation value corresponding to the data link configuration method under at least one usage requirement. Combining the at least one evaluation value, the evaluation result corresponding to the data link configuration method is obtained. It can be understood that the evaluation result corresponding to the data link configuration method can represent the comprehensive effect under at least one usage requirement when using the data link configuration method for data services. In this way, by processing various data link configuration methods, multiple evaluation results corresponding to the various data link configuration methods can be obtained.
[0044] In some embodiments, weights can also be combined with the at least one evaluation value to obtain the evaluation result corresponding to the data link configuration method.
[0045] S103. Based on the multiple evaluation results, determine the target data link configuration method from the various data link configuration methods.
[0046] In the embodiments of the present application, each evaluation result represents the comprehensive effect under at least one usage requirement when using the corresponding data link configuration method for data services. In this way, according to the multiple evaluation results, the data link configuration method with the optimal comprehensive effect can be determined from the various data link configuration methods as the target data link configuration method.
[0047] In some embodiments, after determining the target data link configuration method, the data link currently used by the terminal can be switched to the data link or data link combination corresponding to the target data link configuration method.
[0048] It can be understood that the embodiments of the present application implement an evaluation of multiple data link configuration methods determined based on the data transmission capabilities supported by the terminal according to at least one usage requirement that the user is concerned about during data transmission, and select a data link configuration method that better meets the user's usage requirements to conduct data services, thereby improving the user experience.
[0049] In some embodiments, as Figure 2 shown, the above S102 further includes:
[0050] S201. Determine at least one weight corresponding to at least one usage requirement.
[0051] In some embodiments, at least one weight may be a preset value. Exemplarily, at least one weight may be set according to empirical values, or in some embodiments, at least one weight may be determined by obtaining the operations of the user on the target interface. That is to say, the embodiments of the present application can provide an interface for interacting with the user, and the user can set the weights corresponding to the usage requirements, thereby further improving the user experience.
[0052] S202. Determine the evaluation result corresponding to each data link configuration method according to at least one usage requirement and at least one weight, so as to determine multiple evaluation results corresponding to multiple data link configuration methods.
[0053] In the embodiments of the present application, the evaluation value corresponding to each data link configuration method under this usage requirement can be weighted according to the weight corresponding to each usage requirement to obtain the weighted result corresponding to this usage requirement; combining at least one weighted result corresponding to at least one usage requirement, the evaluation result corresponding to each data link configuration method can be obtained. By performing the above processing on multiple data link configuration methods, multiple evaluation results corresponding to multiple data link configuration methods can be obtained.
[0054] In some embodiments, a target evaluation model may be determined according to at least one usage requirement and at least one weight; for each data link configuration method, determine the evaluation value corresponding to each usage requirement in at least one usage requirement, so as to determine multiple evaluation values corresponding to at least one usage requirement; according to the target evaluation model and multiple evaluation values, determine the evaluation result corresponding to each data link configuration method.
[0055] Among them, the target evaluation model represents a comprehensive model for evaluating data link configuration methods. At least one usage requirement may be embodied as a positive factor that has a positive impact on the evaluation result in the target evaluation model, or may be embodied as a negative factor that has a negative impact on the evaluation result.
[0056] Exemplarily, the target evaluation model can be in the form of a mathematical expression. For usage requirements where a higher value is better, such as bandwidth, it can be a positive value in the mathematical expression; for usage requirements where a lower value is better, such as service charge, power consumption, and latency, it can be a negative value in the mathematical expression. Then, by combining their respective weights, a target expression can be obtained.
[0057] Exemplarily, the target evaluation model can be as shown in formula (1) as follows:
[0058] Maxf(s) = Bandwidth(s) * w1 - Cost(s) * w2 - Power(s) * w3 Formula (1)
[0059] Among them, the variable s represents the data link configuration method. The complete set of s is determined according to the data transmission capabilities supported by the terminal. For example, the single-channel data link configuration method of Wi-Fi can be defined as s1, the single-channel data link configuration method of cellular data card 1 can be defined as s2, and the single-channel data link configuration method of cellular data card 2 can be defined as s3. Among them, card 1 and card 2 refer to the SIM card slot identifiers on the terminal. If the terminal supports simultaneous transmission of Wi-Fi and cellular data card 1, a multi-channel data link configuration method s1&s2 can also be defined; if the terminal supports simultaneous transmission of Wi-Fi and cellular data card 2, a multi-channel data link configuration method s1&s3 can also be defined; if the terminal supports simultaneous transmission of cellular data card 1 and card 2, a multi-channel data link configuration method s2&s3 can also be defined; if the terminal supports simultaneous transmission of Wi-Fi, cellular data card 1, and cellular data card 2, a multi-channel data link configuration method s1&s2&s3 can also be defined; therefore, the complete set of s, that is, various data link configuration methods, is {s1, s2, s3, s1&s2, s1&s3, s2&s3, s1&s2&s3}.
[0060] Among them, Bandwidth(s) is defined as the bandwidth that can be provided when using the data transmission scheme of type s, Cost(s) is defined as the communication service charge that needs to be consumed when using the data transmission scheme of type s, and Power(s) is defined as the power consumption that needs to be spent when using the data transmission scheme of type s.
[0061] In some embodiments, when using the data transmission scheme of type s, the obtainable bandwidth Bandwidth(s), the consumed communication service charge Cost(s), and the consumed power consumption Power(s) are all calculated by the terminal according to the current network state and the terminal state.
[0062] Exemplarily, taking the evaluation of a Wi-Fi single-channel data link as an example, the bandwidth that can be obtained when the terminal connects to Wi-Fi is 100 MB / s, and the monthly rent is 100 yuan / month. The communication fee calculation formula can be as shown in formula (2):
[0063]
[0064] In some embodiments, the calculation method of Wi-Fi power consumption can refer to the acquisition of power consumption data when the terminal connects to Wi-Fi.
[0065] Similarly, the bandwidth, communication fees, and power consumption of cellular data cards 1 and 2 can be calculated, as well as the bandwidth, communication fees, and power consumption when Wi-Fi and cellular data are concurrent and when dual-card data is concurrent.
[0066] In formula (1), f(s) is equal to the sum of the products of the bandwidth, communication fees, power consumption, and their weights generated when using solution s. Since the communication fees and power consumption are better when minimized, they are subtraction terms in formula (1). Finding Max means that we want to find the solution s that maximizes the value of f(s), which can maximize the bandwidth, minimize the communication fees, and minimize the power consumption.
[0067] It can be seen that through formula (1), the optimal solution that maximizes the value of f(s) can be determined from multiple data link configuration methods. Furthermore, the data link configuration method corresponding to the optimal solution s can be implemented as the target data link configuration method. Exemplarily, if the optimal solution is s1&s2, then enable the concurrent transmission solution of Wi-Fi and cellular data card 1. If the optimal solution is s1&s3, then switch the primary data card to card 2 and enable the concurrent transmission solution of Wi-Fi and cellular data card 2.
[0068] It can be understood that the embodiments of the present application can analyze and make decisions on the diverse needs and diverse communication capabilities of users in a unified model, so as to maximize the benefits brought by the communication capabilities supported by users and improve the user experience.
[0069] In some embodiments, as Figure 3 shown, the process of S103 may include:
[0070] S301. Determine at least one constraint condition corresponding to at least one usage requirement.
[0071] Among them, for some or all of the at least one usage requirement, its corresponding constraint condition can be determined. That is, at least one usage requirement and at least one constraint condition do not need to correspond one by one.
[0072] In some embodiments, at least one constraint condition may be determined according to the current service and / or user settings. Exemplarily, at least one constraint condition may be determined according to at least one dimension among the data requirements, usage scenarios of the current service, and user settings.
[0073] Exemplarily, at least one constraint condition may include Constraint 1, Constraint 2, and Constraint 3 as follows, where:
[0074] Constraint 1: Bandwidth(s) >= Th1;
[0075] Constraint 2: Cost(s) <= Th2;
[0076] Constraint 3: Power(s) <= Th3.
[0077] Wherein, Th1, Th2, and Th3 are defined as the demand thresholds for the bandwidth, communication fees, and power consumption of the service that the terminal is using.
[0078] Exemplarily, when the current service is a network video service and smooth video playback needs to be ensured, if the bandwidth threshold is not less than 10MB / s for smooth playback, Th1 can be defined as 10MB / s, so as to obtain the constraint condition Constraint 1 (hereinafter simply referred to as C1) as Bandwidth(s) >= Th1
[0079] Exemplarily, if the user has a custom limit on the traffic fee, such as not exceeding 0.1 yuan / GB, then Th2 can be defined as 0.1 yuan / GB, so as to obtain the constraint condition Constraint 2 (hereinafter simply referred to as
[0080] C2): Cost(s) <= Th2;
[0081] Exemplarily, if the remaining battery power of the user is low at this time and there are requirements for the power consumption at this time, then Th3 can be defined as the threshold calculated according to a more power-saving method, so as to obtain the constraint condition Constraint 3
[0082] (hereinafter simply referred to as C3) as Power(s) <= Th3.
[0083] It should be noted that the constraint conditions, such as the thresholds, can be determined according to the user's empirical values or the actual investigation and testing of the terminal service scenarios. Different constraint conditions are pre-established according to different communication scenarios or user requirements, and the embodiments of the present application do not make specific limitations.
[0084] S302. Combine at least one constraint condition with multiple evaluation results to determine the target data link configuration method.
[0085] In the embodiments of the present application, multiple evaluation results can be analyzed under the constraints of at least one constraint condition to determine the target data link configuration method.
[0086] In some embodiments, the optimal evaluation result among multiple evaluation results that meet at least one constraint condition can be determined as the target evaluation result; the optimal evaluation result represents the evaluation result that makes the target evaluation model obtain the maximum value; the target data link configuration method is determined according to the data link configuration method corresponding to the target evaluation result.
[0087] That is to say, the target evaluation result needs to be the optimal evaluation result among multiple evaluation results. Exemplarily, f(s) of the target evaluation result is the maximum value among multiple evaluation results, and the target evaluation result needs to meet at least one constraint condition.
[0088] In some embodiments, in combination with formula (1), each data link transmission method s can be substituted into formula (1) in turn to find the optimal target solution that can achieve the maximum f(s) among all solutions that meet the constraint conditions C1, C2, and C3, and use it as the target data link transmission method.
[0089] In some embodiments, at least one data link configuration method that meets at least one constraint condition can also be determined among multiple data link configuration methods; according to at least one usage requirement, each data link configuration method in at least one data link configuration method is evaluated to determine at least one evaluation result corresponding to at least one data link configuration method; based on at least one evaluation result, the target data link configuration method is determined from at least one data link configuration method.
[0090] That is to say, after determining at least one constraint condition corresponding to at least one usage requirement, first exclude the data link configuration methods that do not meet the constraint conditions, and perform traversal and solution on the remaining data link configuration methods, which can improve the processing efficiency, reduce the decision time of link configuration, and further improve the user experience.
[0091] In some embodiments, when there are multiple target evaluation results, the data link configuration method corresponding to any one of the multiple target evaluation results can be determined as the target data link configuration method. Or, the target data link configuration method can also be determined according to the target evaluation result representing a single data link configuration method; that is, select the single data channel solution to take effect to save power more.
[0092] Based on the above embodiments, the embodiments of the present application provide a data link configuration method applied to an actual scenario, such as Figure 4As shown, it includes: obtaining the services used by the terminal and specifying at least one constraint condition (such as at least one of Th1, Th2, and Th3) according to user requirements; obtaining the network connection status of the current terminal and determining at least one evaluation value, such as at least one of Bandwidth(s), Cost(s), and Power(s); obtaining the preference selection of the terminal and determining at least one weight (such as at least one of w1, w2, and w3); obtaining the support capabilities of the current terminal and determining the complete set S of solutions s (that is, various data link configuration methods); finding the solution s corresponding to the maximum f(s) when C1 / C2 / C3 is satisfied in the complete set S; enabling the data link transmission scheme corresponding to the solution s.
[0093] Exemplarily, user A is using a certain video playback application, with bandwidth requirement: 10MB / s, communication fee requirement: none, power consumption requirement: none; then at least one constraint condition may include:
[0094] Constraint 1: Bandwidth(s) >= 10MB / s;
[0095] Constraint 2: None;
[0096] Constraint 3: None.
[0097] The set of communication data transmission capabilities supported by user A's terminal is: {s1, s2, s3, s1&s2, s1&s3, s2&s3}, which supports both the concurrent use of Wi-Fi and cellular data card 1, the concurrent use of Wi-Fi and cellular data card 2, and the concurrent use of cellular data card 1 and cellular data card 2.
[0098] Based on the performance and historical data of the user terminal, it is calculated that the Wi-Fi data power consumption of the known user is p1, the cellular data power consumption of cellular data card 1 is p2, and the cellular data power consumption of cellular data card 2 is p3. Usually, the Wi-Fi power consumption is lower than that of cellular data, so p2 > p1 and p3 > p1. The power consumption of the concurrent use of Wi-Fi and cellular data card 1 and the concurrent use of Wi-Fi and cellular data card 2 is p4, p4 > p2 > p1, p4 > p3 > p1, and the power consumption of the concurrent use of cellular data card 1 and cellular data card 2 is p5, p5 > p2 > p1, p5 > p3 > p1.
[0099] Based on the operator's tariff package of the user terminal, it is calculated that the cellular data fee of the known user for cellular data card 1 is c1, and the cellular data fee for cellular data card 2 is c2. If the video application played by user A is an unlimited data application supported by cellular data card 2, then c1 > c2.
[0100] There is a public Wi-Fi deployed in the environment where user A's terminal is located (multiple people are connected, and user A is allocated a bandwidth of 1MB / s).
[0101] Bandwidth(s1) = 1MB / s
[0102] Cost(s1) = 0
[0103] Power(s1) = p1
[0104] User A has two cards inserted. The bandwidth supported by Card 1 is 100MB / s.
[0105] Bandwidth(s2) = 100MB / s
[0106] Cost(s2) = c1
[0107] Power(s2) = p2
[0108] The bandwidth supported by Card 2 is 100MB / s.
[0109] Bandwidth(s3) = 100MB / s
[0110] Cost(s3) = c2
[0111] Power(s3) = p3
[0112] According to the performance of the user terminal, when the user supports the concurrent use of Wi-Fi and cellular data Card 1:
[0113] Bandwidth(s1&s2) = 10MB / s + 100MB / s = 110MB / s
[0114] Cost(s1&s2) = 0 + c1 = c1
[0115] Power(s1&s2) = p4
[0116] When the user supports the concurrent use of Wi-Fi and cellular data Card 2:
[0117] Bandwidth(s1&s3) = 10MB / s + 100MB / s = 110MB / s
[0118] Cost(s1&s3) = 0 + c2 = c2
[0119] Power(s1&s3) = p4
[0120] When the user supports the concurrent use of cellular data Card 1 and cellular data Card 2:
[0121] Bandwidth(s2&s3) = 100MB / s + 100MB / s = 110MB / s
[0122] Cost(s2&s3) = c1 + c2
[0123] Power(s2&s3) = p5
[0124] Set options (power saving priority / traffic saving priority / high speed priority / intelligent decision-making) for users to choose. If the user selects traffic saving priority, the value of w2 is larger, w2 = 1 > w1 = w3 = 0.
[0125] Max F(s) = Bandwidth(s) * w1 - Cost(s) * w2 - Power(s) * w3
[0126] = -Cost(s)
[0127] The solution set {s2, s3, s1&s2, s1&s3, s2&s3} calculated based on this meets the constraint condition C1. Among all solutions that meet the constraint conditions, the optimal solution for Max F(s) is {s3, s1&s3}, that is, switch data to card 2 or enable Wi-Fi to work concurrently with card 2. When there are the same solutions that meet the conditions and the max values are the same, the single data channel solution (default more power-saving) is preferentially enabled, that is, the single data channel of card 2 in {s3};
[0128] If, under the condition of traffic saving priority, the user prefers high speed priority, the weights are adjusted to w2 > w1 > w3 = 0. Here, -Cost(s) * w2 is defined
[0129] Max F(s) = Bandwidth(s) * w1 - Cost(s) * w2 - Power(s) * w3
[0130] = Bandwidth(s) * w1 - Cost(s) * w2
[0131] Substitute and solve:
[0132] s1 does not meet C1, so the solution is excluded.
[0133] s2: Bandwidth(s2) * w1 - Cost(s2) * w2
[0134] s3: Bandwidth(s3) * w1 - Cost(s3) * w2
[0135] s1&s3: Bandwidth(s1&s3) * w1 - Cost(s1&s3) * w2
[0136] = Bandwidth(s1&s3) * w1 - Cost(s3) * w2
[0137] s1&s2: Bandwidth(s1&s2)*w1 - Cost(s1&s2)*w2
[0138] = Bandwidth(s1&s2)*w1 - Cost(s2)*w2
[0139] s2&s3: Bandwidth(s2&s3)*w1 - Cost(s2&s3)*w2
[0140] Since Bandwidth(s1&s3) > Bandwidth(s3); s1&s3 is superior to s3;
[0141] Since Bandwidth(s1&s2) > Bandwidth(s2); s1&s2 is superior to s2;
[0142] Since Bandwidth(s1&s3) = Bandwidth(s1&s2), Cost(s3) < Cost(s2), s1&s3 is superior to s1&s2;
[0143] If
[0144] Bandwidth(s1&s3)*w1 - Cost(s3)*w > Bandwidth(s2&s3)*w1 - Cost(s2&s3)*w2, then the optimal solution is s1&s3, that is, the Wi-Fi and Card 2 concurrent data channels. Conversely, the optimal solution is s2&s3, that is, the cellular data Card 1 and Card 2 concurrent data channels.
[0145] It can be understood that the embodiments of the present application comprehensively consider the user's bandwidth requirements, tariff requirements, power consumption requirements, and user preferences, and can maximize the user's service transmission bandwidth, minimize the user's communication tariff, and minimize the user's communication power consumption. Further, for the Wi-Fi data, cellular card 1 data, and cellular card 2 data, when they are transmitted separately and concurrently, a set of solutions is defined according to the capabilities supported by the user terminal. The target evaluation model of the embodiments of the present application has scalability. When the capabilities supported by the user are more abundant, the decision-making range of the target evaluation model is wider, thereby further improving the user experience.
[0146] To implement the method of the embodiments of the present application, based on the same inventive concept, the embodiments of the present application further provide a data link configuration device, as Figure 5 shown. The data link configuration device 1 includes:
[0147] The first determination module 11 is configured to determine multiple data link configuration methods according to the data transmission capabilities supported by the terminal;
[0148] An evaluation module 12 is configured to evaluate each of the multiple data link configuration methods according to at least one usage requirement, and determine multiple evaluation results corresponding to the multiple data link configuration methods; the usage requirement represents the user's usage requirement for the data link.
[0149] A second determination module 13 is configured to determine a target data link configuration method from the multiple data link configuration methods based on the multiple evaluation results.
[0150] In some embodiments, the evaluation module 12 is further configured to determine at least one weight corresponding to the at least one usage requirement; and determine the evaluation result corresponding to each data link configuration method according to the at least one usage requirement and the at least one weight, so as to determine multiple evaluation results corresponding to the multiple data link configuration methods.
[0151] In some embodiments, the evaluation module 12 is further configured to determine the at least one weight by obtaining the user's operations on the target interface.
[0152] In some embodiments, the evaluation module 12 is further configured to determine a target evaluation model according to the at least one usage requirement and the at least one weight; for each data link configuration method, determine the evaluation value corresponding to each usage requirement in the at least one usage requirement, so as to determine multiple evaluation values corresponding to the at least one usage requirement; and determine the evaluation result corresponding to each data link configuration method according to the target evaluation model and the multiple evaluation values.
[0153] In some embodiments, the second determination module 13 is further configured to determine at least one constraint condition corresponding to the at least one usage requirement; and determine the target data link configuration method by combining the at least one constraint condition and the multiple evaluation results.
[0154] In some embodiments, the second determination module 13 is further configured to determine the at least one constraint condition according to the current service and / or user settings.
[0155] In some embodiments, the second determination module 13 is further configured to determine the optimal evaluation result among the multiple evaluation results that satisfy the at least one constraint condition as the target evaluation result; the optimal evaluation result represents the evaluation result that maximizes the target evaluation model; and determine the target data link configuration method according to the data link configuration method corresponding to the target evaluation result.
[0156] In some embodiments, the second determination module 13 is further configured to, when there are multiple target evaluation results, determine the target data link configuration mode according to the target evaluation result representing the single data link configuration mode.
[0157] In some embodiments, after the evaluation module 12 determines at least one constraint condition corresponding to the at least one usage requirement, the evaluation module 12 is further configured to determine at least one data link configuration mode that meets the at least one constraint condition among the multiple data link configuration modes; the second determination module 13 is further configured to evaluate each data link configuration mode among the at least one data link configuration mode according to at least one usage requirement to determine at least one evaluation result corresponding to the at least one data link configuration mode; and based on the at least one evaluation result, determine a target data link configuration mode from the at least one data link configuration mode.
[0158] In some embodiments, the at least one usage requirement includes at least one of a bandwidth requirement, a tariff requirement, a power consumption requirement, and a delay requirement.
[0159] In some embodiments, the first determination module 11 is further configured to determine multiple single-channel data links and / or multiple data link combinations and / or at least one single-channel data link and at least one data transmission combination according to the data transmission capabilities supported by the terminal, so as to determine the multiple data link configuration modes.
[0160] It should be noted that the description of the above device embodiments is similar to the description of the above method embodiments and has similar beneficial effects to the method embodiments. For the technical details not disclosed in the device embodiments of the present invention, please refer to the description of the method embodiments of the present invention for understanding.
[0161] In practical applications, the above data link configuration device can be applied to an electronic device that implements the data link configuration function, or to a chip of an electronic device. In this application, the device can implement the functions of multiple units through software, or hardware, or a combination of software and hardware, so that the device can execute the data link configuration method provided in any of the above embodiments. And the technical effects of the technical solutions of the device can refer to the technical effects of the corresponding technical solutions in the data link configuration method, and details are not described herein again.
[0162] Based on the hardware implementation of each unit in the above data link configuration device, an embodiment of the present application further provides an electronic device, as Figure 6 shown, the electronic device 90 includes: a processor 901 and a memory 902 configured to store a computer program that can run on the processor;
[0163] Among them, when the processor 901 is configured to run a computer program, it executes the method steps in the foregoing embodiments.
[0164] Of course, in practical applications, such as Figure 6 As shown, each component in the electronic device 90 is coupled together through a bus system 903. It can be understood that the bus system 903 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 903 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clear illustration, all kinds of buses are labeled as the bus system 903 in the figure.
[0165] In practical applications, the foregoing processor may be at least one of an application specific integrated circuit (ASIC), a digital signal processing device (DSPD), a programmable logic device (PLD), a field-programmable gate array (FPGA), a controller, a microcontroller, and a microprocessor. It can be understood that for different devices, the electronic devices for implementing the functions of the foregoing processor may also be others, and the embodiments of the present application do not make specific limitations.
[0166] The foregoing memory may be a volatile memory, such as a random access memory (RAM); or a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid-state drive (SSD); or a combination of the foregoing types of memories, and provides instructions and data to the processor.
[0167] Optionally, the electronic device 90 may be a chip, and the chip may further include an input interface. Among them, the processor may control the input interface to communicate with other devices or chips. Specifically, it may obtain information or data sent by other devices or chips.
[0168] Optionally, the chip may further include an output interface. Among them, the processor may control the output interface to communicate with other devices or chips. Specifically, it may output information or data to other devices or chips.
[0169] In an exemplary embodiment, the embodiment of the present application further provides a computer-readable storage medium, such as a memory including a computer program, and the computer program can be executed by a processor of an electronic device to complete the steps of the foregoing method.
[0170] The embodiment of the present application further provides a computer program product, including a computer program, and when the computer program is executed by a processor, the steps of the method described in any one of the embodiments of the present application are implemented.
[0171] Optionally, the computer program product can be applied to the electronic device in the embodiment of the present application, and the computer program instructions cause the computer to execute the corresponding processes implemented by the electronic device in the various methods of the embodiment of the present application. For the sake of brevity, it will not be elaborated here.
[0172] The embodiment of the present application further provides a computer program. Optionally, the computer program can be applied to the electronic device in the embodiment of the present application. When the computer program runs on the computer, the computer is caused to execute the corresponding processes implemented by the electronic device in the various methods of the embodiment of the present application. For the sake of brevity, it will not be elaborated here.
[0173] It should be understood that in the embodiment of the present application, when it comes to data such as user information, when the embodiment of the present application is applied to a specific product or technology, user permission or consent needs to be obtained, and the collection, use, and processing of relevant data need to comply with the relevant laws, regulations, and standards of relevant countries and regions.
[0174] It should be understood that the terms used in the present application are only for the purpose of describing specific embodiments and are not intended to limit the present application. The singular forms "a", "the", and "said" used in the present application and the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term "and / or" used herein refers to and includes any or all possible combinations of one or more of the associated listed items. The expressions "has", "may have", "includes", "contains", "may include", and "may contain" used in the present application can be used to indicate the existence of corresponding features (for example, elements such as numerical values, functions, operations, or components), but do not exclude the existence of additional features.
[0175] The technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.
[0176] In several embodiments provided by the present application, it should be understood that the disclosed methods, devices, and equipment can be implemented in other ways. The embodiments described above are merely illustrative. For example, the division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined, or can be integrated into another system, or some features can be ignored, or not executed. In addition, the couplings, direct couplings, or communication connections between the components shown or discussed can be through some interfaces. The indirect couplings or communication connections of devices or units can be electrical, mechanical, or other forms.
[0177] The units described above as separate components may or may not be physically separated. The components shown as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0178] In addition, each functional unit in the embodiments of the present application can be all integrated in a processing unit, or each unit can be separately used as a unit, or two or more units can be integrated in a unit. The above-mentioned integrated units can be implemented in the form of hardware, or in the form of hardware plus software functional units.
[0179] The above is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present application can easily think of changes or substitutions, which should all be covered by the protection scope of the present application.
Claims
1. A data link configuration method, characterized in that: include: Determine multiple data link configuration modes based on the data transmission capabilities supported by the terminal; According to at least one usage requirement, each of the multiple data link configuration modes is evaluated to determine multiple evaluation results corresponding to the multiple data link configuration modes; Usage requirements represent the user's usage requirements for data links; Based on the multiple evaluation results, a target data link configuration is determined from the multiple data link configurations.
2. The method according to claim 1, characterized in that The step of evaluating each of the multiple data link configuration modes according to at least one usage requirement and determining multiple evaluation results corresponding to the multiple data link configuration modes includes: Determining at least one weight corresponding to the at least one usage requirement; According to the at least one usage requirement and the at least one weight, an evaluation result corresponding to each data link configuration mode is determined, thereby determining multiple evaluation results corresponding to the multiple data link configuration modes.
3. The method according to claim 2, characterized in that The determining at least one weight corresponding to the at least one usage requirement includes: The at least one weight is determined by acquiring an operation of the user on the target interface.
4. The method according to claim 2 or 3, characterized in that: The determining, according to the at least one usage requirement and the at least one weight, an evaluation result corresponding to each data link configuration mode includes: Determining a target evaluation model according to the at least one usage requirement and the at least one weight; For each of the data link configuration modes, determining an evaluation value corresponding to each of the at least one usage requirement of the data link configuration mode, thereby determining a plurality of evaluation values corresponding to the at least one usage requirement; An evaluation result corresponding to each data link configuration mode is determined according to the target evaluation model and the multiple evaluation values.
5. The method according to any one of claims 1 to 3, characterized in that: The step of determining a target data link configuration mode from the multiple data link configuration modes based on the multiple evaluation results includes: Determining at least one constraint corresponding to the at least one usage requirement; The target data link configuration mode is determined by combining the at least one constraint condition with the multiple evaluation results.
6. The method according to claim 5, characterized in that The determining of at least one constraint condition corresponding to the at least one usage requirement includes: The at least one constraint condition is determined according to current business and / or user settings.
7. The method according to claim 5, characterized in that The combining the at least one constraint condition and the multiple evaluation results to determine the target data link configuration mode includes: Determine the best evaluation result among the multiple evaluation results that satisfy the at least one constraint condition as the target evaluation result; the best evaluation result represents the evaluation result that makes the target evaluation model obtain the maximum value; Determine the target data link configuration mode according to the data link configuration mode corresponding to the target evaluation result.
8. The method according to claim 7, characterized in that The step of determining the target data link configuration mode according to the data link configuration mode corresponding to the target evaluation result includes: In the case where there are multiple target evaluation results, the target data link configuration mode is determined according to the target evaluation result representing a single data link configuration mode.
9. The method according to claim 5, characterized in that After determining at least one constraint condition corresponding to the at least one usage requirement, the method further includes: Determine at least one data link configuration mode among the multiple data link configuration modes that satisfies the at least one constraint condition; According to at least one usage requirement, each data link configuration mode in the at least one data link configuration mode is evaluated to determine at least one evaluation result corresponding to the at least one data link configuration mode; Based on the at least one evaluation result, a target data link configuration is determined from the at least one data link configuration.
10. The method according to any one of claims 1 to 3, or any one of claims 6 to 9, characterized in that: The at least one usage requirement includes: At least one of bandwidth requirement, fee requirement, power consumption requirement, and latency requirement.
11. The method according to any one of claims 1 to 3, or any one of claims 6 to 9, characterized in that: Determining multiple data link configuration modes according to the data transmission capability supported by the terminal includes: According to the data transmission capability supported by the terminal, multiple single-channel data links and / or multiple data link combinations and / or at least one single-channel data link and at least one data transmission combination are determined, thereby determining the multiple data link configuration modes.
12. A data link configuration device, characterized in that: include: A first determination module, configured to determine a plurality of data link configuration modes according to a data transmission capability supported by a terminal; An evaluation module, configured to evaluate each of the plurality of data link configuration modes according to at least one usage requirement, and determine a plurality of evaluation results corresponding to the plurality of data link configuration modes; Usage requirements represent the user's usage requirements for data links; The second determination module is used to determine a target data link configuration mode from the multiple data link configuration modes based on the multiple evaluation results.
13. An electronic device, characterized in that: include: A memory and a processor; wherein, The memory is used to store executable instructions. The processor is used to implement the method according to any one of claims 1-11 when executing the executable instructions stored in the memory.
14. A computer-readable storage medium, characterized in that: Executable instructions are stored, which are used to cause a processor to execute and implement the method according to any one of claims 1 to 11.
15. A computer program product, characterized in that The method comprises a computer program or an instruction, which, when executed by a processor, implements the method according to any one of claims 1 to 11.