Communication strategy configuration method, device, storage medium and equipment
By receiving service requests from terminal devices and adjusting communication policies based on their identification and parameter information, the problem of policy configuration mismatch in traditional communication networks is solved, the success rate and user experience of service request processing are improved, and greater flexibility is achieved. and accuracy.
Patent Information
- Application Number
- CN202111460639.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-02
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2041-12-02
AI Technical Summary
The fixed and single communication policy configuration in traditional communication networks cannot adapt to the diversity of user terminal equipment types and the complexity of communication network structure, resulting in poor flexibility and accuracy of service request processing, affecting the quality of service execution.
By receiving service requests sent by the terminal device, query the service identification and policy mapping table based on the service identification and parameter information, adjust the mismatched service policies, ensure that the terminal device can process service requests according to the adjusted policy, and improve the accuracy and matching of the policy. Spend.
Improve the success rate and user experience of business request processing, avoid the impact of mismatched configuration items on business execution through dynamic adjustment of policies, and improve the flexibility and accuracy of communication policy configuration.
Smart Images

Figure CN114157710B_ABST
Abstract
Description
Background Art
[0002] At present, in the construction of traditional communication networks, due to the simple user needs, the communication strategy configuration corresponding to the service request is fixed and single, and it is only necessary to configure the corresponding communication strategy for the service request according to the type of the service request.
[0003] However, with the increasing variety of user terminal equipment types and the increasing complexity of communication network structures, it is no longer possible to implement service requests with simple communication strategy configuration. When the communication strategy is configured incorrectly, the quality of service execution will be seriously affected. Fixed and single communication strategy configuration cannot keep up with the needs of rapidly changing business scenarios, and has poor flexibility and accuracy. Summary of the invention
[0004] The present disclosure provides a communication strategy configuration method, apparatus, storage medium and device to improve the accuracy of communication strategy configuration.
[0005] According to the first aspect of an embodiment of the present disclosure, a communication strategy configuration method is provided, the method comprising: receiving a service request sent by a terminal device, the service request carrying a service identifier and parameter information of the terminal device; wherein the parameter information is used to characterize the parameters of the functions supported by the terminal device; querying a service identifier and a policy mapping table according to the service identifier to obtain a first service policy that matches the service request; if the parameter information does not match the first service policy, adjusting the first service policy according to the parameter information to obtain a second service policy; and sending the second service policy to the terminal device so that the terminal device processes the service request according to the second service policy.
[0006] In some embodiments, after querying the service identifier and the policy mapping table according to the service identifier to obtain the first service policy that matches the service request, the method also includes: confirming whether there is an incorrect configuration item in the first service policy according to the parameter information of the terminal device; if there is an incorrect configuration item, the parameter information does not match the first service policy; if there is no incorrect configuration item, the parameter information matches the first service policy.
[0007] In some embodiments, the parameter information of the terminal device includes terminal type information, and the service identifier and policy mapping table are queried according to the service identifier to obtain a first service policy that matches the service request, including: querying the service identifier and policy mapping table according to the service identifier to obtain a first service policy set; filtering the first service policy in the first service policy set according to the terminal type information to obtain a first service policy that matches the service request.
[0008] In some embodiments, the parameter information of the terminal device includes functional parameter information, and adjusting the first business policy according to the parameter information to obtain the second business policy includes: confirming the erroneous configuration items in the first business policy according to the functional parameter information; modifying the erroneous configuration items in the first business policy according to the functional parameter information to obtain the second business policy.
[0009] In some embodiments, the parameter information of the terminal device includes a target business policy, and the configuration parameters corresponding to the configuration items in the target business policy are used to characterize the configuration information required by the terminal device; adjusting the first business policy according to the parameter information to obtain the second business policy includes: obtaining the target configuration parameters corresponding to each configuration item according to the configuration parameters corresponding to the configuration items in the target business policy and the configuration parameters corresponding to the configuration items in the first business policy; wherein the configuration items in the target business policy are the same as the configuration items in the first business policy; and obtaining the second business policy according to the target configuration parameters corresponding to each configuration item.
[0010] In some embodiments, the target configuration parameters corresponding to each configuration item are obtained according to the configuration parameters corresponding to the configuration items in the target business policy and the configuration parameters corresponding to the configuration items in the first business policy, including: obtaining the parameter calculation rule corresponding to each configuration item; calculating the configuration parameters corresponding to the configuration items in the target business policy and the configuration parameters corresponding to the configuration items in the first business policy according to the parameter calculation rule corresponding to the configuration items, to obtain the target configuration parameters corresponding to each configuration item.
[0011] In some embodiments, the second business policy carries at least one of the gateway information and server information required to process the business request, and sending the second business policy to the terminal device includes: sending the second business policy to the access management unit so that the access management unit allocates at least one of the gateway address and the server address to the business request according to the second business policy, and sending the second business policy and at least one of the gateway address and the server address to the terminal device so that the terminal device processes the business request according to the second business policy and at least one of the gateway address and the server address.
[0012] According to a second aspect of an embodiment of the present disclosure, a communication strategy configuration device is provided, the device comprising: a parameter acquisition module, used to receive a service request sent by a terminal device, the service request carries a service identifier and parameter information of the terminal device; wherein the parameter information is used to characterize the parameters of the functions supported by the terminal device; a first service policy acquisition module, used to query a service identifier and a policy mapping table according to the service identifier, to obtain a first service policy that matches the service request; a second service policy acquisition module, used to adjust the first service policy according to the parameter information to obtain a second service policy if the parameter information does not match the first service policy; and a sending module, used to send the second service policy to the terminal device, so that the terminal device processes the service request according to the second service policy.
[0013] According to a third aspect of an embodiment of the present disclosure, there is provided a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the communication strategy configuration method as described above is implemented.
[0014] According to the fourth aspect of an embodiment of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing one or more programs, which, when the one or more programs are executed by one or more processors, enables the one or more processors to implement the communication strategy configuration method as described above.
[0015] The exemplary embodiments of the present disclosure have the following beneficial effects:
[0016] The communication strategy configuration method, apparatus, storage medium and device provided by the embodiments of the present disclosure receive a service request sent by a terminal device, wherein the service request carries a service identifier and parameter information of the terminal device; wherein the parameter information is used to characterize the parameters of the functions supported by the terminal device; query the service identifier and policy mapping table according to the service identifier to obtain a first service policy that matches the service request; if the parameter information does not match the first service policy, adjust the first service policy according to the parameter information to obtain a second service policy; and send the second service policy to the terminal device so that the terminal device processes the service request according to the second service policy. By modifying the first service policy according to the parameter information, a second service policy supported by the terminal device is obtained, so as to avoid the configuration items in the first service policy that do not match the terminal device affecting the execution of the service request, thereby ensuring the accuracy of the second service policy sent to the terminal device. Due to the accuracy of the second service policy, the success rate of processing the service request can be improved, thereby improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The drawings herein are incorporated into the specification and constitute a part of the specification, showing embodiments consistent with the present application, and together with the specification, are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work. In the drawings:
[0018] Figure 1 A schematic diagram showing a system structure in an embodiment of the present disclosure;
[0019] Figure 2 A flow chart showing a method for configuring a communication strategy in an embodiment of the present disclosure is shown;
[0020] Figure 3 Show Figure 2 The flowchart of step S230 in the illustrated embodiment in an exemplary embodiment;
[0021] Figure 4 Show Figure 2 A flowchart of step S230 in another exemplary embodiment in the illustrated embodiment;
[0022] Figure 5 A timing diagram showing a communication strategy configuration method in another embodiment of the present disclosure;
[0023] Figure 6 Show Figure 5 The flowchart of step S540 in the illustrated embodiment in an exemplary embodiment;
[0024] Figure 7 A schematic diagram showing the structure of a communication strategy configuration device in an embodiment of the present disclosure is shown;
[0025] Figure 8 A schematic diagram of the structure of an electronic device in an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0026] Here, exemplary embodiments will be described in detail, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The implementations described in the following exemplary embodiments do not represent all implementations consistent with the present application. Instead, they are only examples of devices and methods consistent with some aspects of the present application as detailed in the attached claims.
[0027] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices.
[0028] The flowcharts shown in the accompanying drawings are only exemplary and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps can be decomposed, and some operations / steps can be combined or partially combined, so the actual execution order may change according to actual conditions.
[0029] It should also be noted that the "multiple" mentioned in this application refers to two or more than two. "And / or" describes the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship.
[0030] Figure 1 A schematic diagram of a system structure of an operating environment of an exemplary embodiment of the present disclosure is shown, referring to Figure 1 As shown, the system structure includes a terminal device 110, a policy management unit 120 and a base station 130. It can be understood that the system structure may include multiple base stations 130 and each base station 130 may include other number of terminal devices 110 within its coverage area, which is not limited in the embodiments of the present disclosure. The terminal device 110 and the policy management unit 120 communicate with each other through the base station 130, and the terminal device 110, the policy management unit 120 and the base station 130 may have various connection types, such as wired, wireless communication links or optical fiber cable systems, etc.
[0031] The terminal device 110 includes but is not limited to a smart phone, a tablet computer, a laptop computer, a desktop computer, a wearable device, a virtual reality device, a smart home, etc.
[0032] The policy management unit 120 may be composed of at least one server, which is not limited in the present disclosure. The server may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms.
[0033] It is understandable that the policy management unit 120 may be integrated into the base station 130 or may be separately provided from the base station 130 . The specific deployment location of the policy management unit 120 may be flexibly selected according to actual conditions, and the present disclosure does not impose any limitation on this.
[0034] The communication policy configuration method provided in the embodiment of the present disclosure may be used in a communication policy configuration device, and the communication policy configuration device may be integrated in a computer device, and the computer device may be a server included in the policy management unit 120 .
[0035] In conjunction with the accompanying drawings, some embodiments of the present disclosure are described in detail below. In the absence of conflict, the following embodiments and features in the embodiments can be combined with each other.
[0036] See also Figure 2 , Figure 2 This is a flow chart of the communication strategy configuration method in the embodiment of the present disclosure. Figure 2 , the communication strategy configuration method in the exemplary embodiment of the present disclosure is described.
[0037] Step S210: receiving a service request sent by a terminal device, wherein the service request carries a service identifier and parameter information of the terminal device; wherein the parameter information is used to characterize parameters of functions supported by the terminal device.
[0038] The service request carries a service identifier and parameter information of the terminal device. The service identifier is used to mark the type of service request sent by the terminal device, and each service request can correspond to at least one service identifier; the parameter information of the terminal device is used to characterize the parameters of the functions supported by the terminal device, and the parameter information includes but is not limited to the hardware parameters, software parameters, network parameters and other information of the terminal device.
[0039] Exemplarily, a terminal device generates a service request and sends the service request to a base station near the terminal device. After receiving the service request, the base station sends the service request to an access management unit, wherein the access management unit is used to manage the connection between the terminal device and other communication devices, such as the connection between the terminal device and an application server, a media server, and other terminal devices. Then, the access management unit sends the service request to a policy management unit, which receives the service request and allocates a corresponding service policy to the service request.
[0040] Step S220: query the service identifier and policy mapping table according to the service identifier to obtain a first service policy that matches the service request.
[0041] It is understandable that before executing the service request of the terminal device, it is necessary to obtain the execution rules corresponding to the service request. Therefore, a business policy is assigned to the service request. The business policy is used to specify the specific execution method during the execution of the service request so as to execute the service request through the business policy.
[0042] The service identifier and policy mapping table is preset with at least one service identifier and a first service policy corresponding to the service identifier. The service identifier and policy mapping table is queried through the service identifier carried in the service request sent by the terminal device to obtain the first service policy corresponding to the service request.
[0043] In some embodiments, the parameter information of the terminal device includes terminal type information, and the service identifier and policy mapping table are queried according to the service identifier to obtain a first service policy that matches the service request, including: querying the service identifier and policy mapping table according to the service identifier to obtain a first service policy set; filtering the first service policy in the first service policy set according to the terminal type information to obtain a first service policy that matches the service request.
[0044] The terminal type information is used to characterize the type of the terminal device. For example, the terminal type includes but is not limited to smart phones, tablet computers, laptop computers, desktop computers, wearable devices, virtual reality devices, smart homes, etc. It is understandable that when different types of terminal devices send the same service request, different first service policies need to be configured for different types of terminal devices. Therefore, in order to ensure the accuracy of the first service policy, the type of the terminal device needs to be considered.
[0045] Exemplarily, first service policies corresponding to different types of terminal devices are pre-set for service requests with the same service identifier. Therefore, the service identifier and policy mapping table includes the service identifier and a first service policy set corresponding to the service identifier, and the first service policy set includes multiple first service policies.
[0046] After the policy management unit receives the service request from the terminal device, it queries the service identifier and policy mapping table according to the service identifier carried in the service request to obtain the first service policy set corresponding to the service identifier, and then filters the first service policy in the first service policy set according to the terminal type information carried in the service request to filter out the first service request corresponding to the type of the terminal device.
[0047] Step S230: If the parameter information does not match the first service policy, the first service policy is adjusted according to the parameter information to obtain a second service policy.
[0048] After obtaining the first service policy, the first service policy is detected according to the parameter information of the terminal device carried in the service request of the terminal device to determine whether the parameter information matches the first service policy.
[0049] Exemplarily, the configuration parameters corresponding to all configuration items of the first business policy can be obtained, and then it is determined whether the parameter information of the terminal device can meet the various configuration parameters. If the parameter information of the terminal device cannot meet the configuration parameters corresponding to the configuration items, the configuration item fails to match, and the configuration item is treated as an incorrect configuration item. For example, when the configuration item is the number of concurrent services, the number of concurrent services of the first business policy is 3, and the number of concurrent services supported by the terminal device in the parameter information of the terminal device is 2. Therefore, the parameter information of the terminal device cannot meet the configuration parameters corresponding to the configuration item, and the configuration item is an incorrect configuration item. Each configuration item of the first business policy is judged, and then it is detected whether there is an incorrect configuration item. If there is an incorrect configuration item, the parameter information does not match the first business policy; if there is no incorrect configuration item, the parameter information matches the first business policy.
[0050] Exemplarily, the matching degree between the parameter information and the first business policy can also be calculated. If the matching degree of the first business policy is greater than the matching degree threshold, it indicates that the first business policy matches the parameter information; if the matching degree of the first business policy is less than the matching degree threshold, it indicates that the first business policy does not match the parameter information. For example, the number of configuration items that successfully match the parameter information in the first business policy can be counted to calculate the ratio of the number of successfully matched configuration items to the total number of configuration items, and then the matching degree of the first business policy is obtained. Furthermore, different priorities are set for different configuration items in the first business policy. The higher the priority, the more important the configuration item is. Then, according to the priority of the configuration item, the weight corresponding to the priority is set for the configuration item. Then, according to the successfully matched configuration item and the weight corresponding to the configuration item, the matching degree of the first business policy is calculated.
[0051] If the parameter information does not match the first service policy, the first service policy is adjusted according to the parameter information to obtain a second service policy.
[0052] It is understandable that after querying the service identifier and the policy mapping table according to the service identifier, multiple first service policies can be obtained. When all the first service policies among the multiple first service policies do not match the parameter information, it is necessary to adjust the first service policy according to the parameter information to obtain the second service policy. The adjusted first service policy can be the first service policy with the least number of configuration items that fail to match the parameter information; or it can be the first service policy with the highest matching degree after calculating the matching degree of multiple first service policies according to the configuration items that have been matched successfully and the weights corresponding to the configuration items.
[0053] See also Figure 3, Figure 3 for Figure 2 In the flowchart of step S230 in an example embodiment, the parameter information of the terminal device includes function parameter information, and step S230 specifically includes:
[0054] Step S310: confirming an erroneous configuration item in the first service policy according to the function parameter information;
[0055] Step S320: modify the erroneous configuration item in the first service policy according to the function parameter information to obtain a second service policy.
[0056] Function parameter information is used to characterize the parameters of the functions supported by the terminal device, including but not limited to the hardware configuration, resource usage, network status, etc. of the terminal device. For example, the hardware configuration of the terminal device includes but is not limited to the models of the various components of the terminal device, such as the sensor model, battery model, etc.; the number of various components, such as the number of screens, the number of antennas, etc. The resource usage of the terminal device includes but is not limited to the usage of the central processing unit (CPU), the usage of memory, the number of currently running processes, etc.
[0057] It is understandable that the terminal device can make the generated service request carry different function parameter information according to different requested services. For example, when the service requested by the terminal device requires the use of the terminal device's screen, the function parameter information carried in the generated service request includes the screen parameter information; when the service requested by the terminal device requires the use of the terminal device's camera, the function parameter information carried in the generated service request includes the camera parameter information.
[0058] The error configuration item in the first business policy is confirmed through the function parameter information. The error configuration item may be a configuration item where the function parameter information fails to match the configuration parameter corresponding to the configuration item in the first business policy. For example, when the configuration item in the first business policy is the number of frames of video playback, the configuration parameter corresponding to the number of frames of video playback is 60 frames per second, and the maximum number of frames of video playback supported by the playback device of the terminal device is 40 frames per second, as learned through the function parameter information. Therefore, the number of frames of video playback of the terminal device cannot meet the number of frames of video playback of the first business policy. Therefore, the number of frames of video playback in the first business policy is taken as an error configuration item.
[0059] All erroneous configuration items in the first service policy are confirmed, and configuration parameters of the erroneous configuration items are modified according to the function parameter information so that the modified configuration parameters match the function parameter information.
[0060] Exemplarily, the configuration parameters corresponding to the configuration items may be adjusted. For example, the maximum number of frames for video playback of the terminal device is 40 frames per second, and the number of frames for video playback in the first business policy is 60 frames per second, then the number of frames for video playback in the first business policy may be modified to less than 40 frames per second. For example, when the CPU usage in the function parameter information is low, the number of frames for video playback in the first business policy may be modified to 40 frames per second, and when the CPU usage in the function parameter information is high, the number of frames for video playback in the first business policy may be modified to 30 frames per second.
[0061] Exemplarily, the configuration item and the configuration parameter corresponding to the configuration item may also be deleted. For example, the configuration item in the first business policy includes a temperature sensor, and it is learned from the function parameter information of the terminal device that the terminal device is not deployed with a temperature sensor, so the configuration item and configuration parameter corresponding to the temperature sensor in the first business policy are deleted.
[0062] By modifying all the wrong configuration items in the first service policy, a second service policy supported by the terminal device is obtained, so as to avoid the configuration items in the first service policy that do not match the terminal device affecting the execution of the service request.
[0063] See also Figure 4 , Figure 4 for Figure 2 In the flowchart of step S230 in another example embodiment, the parameter information of the terminal device includes a target service policy, and the configuration parameters corresponding to the configuration items in the target service policy are used to characterize the configuration information required by the terminal device. Step S230 specifically includes:
[0064] Step S410: Obtain target configuration parameters corresponding to each configuration item according to configuration parameters corresponding to configuration items in the target business policy and configuration parameters corresponding to configuration items in the first business policy; wherein the configuration items in the target business policy are the same as the configuration items in the first business policy;
[0065] Step S420: Obtain a second service policy according to the target configuration parameter corresponding to each configuration item.
[0066] The target service policy includes at least one configuration item, and the configuration parameters corresponding to the configuration item are used to characterize the configuration information required by the terminal device. The terminal device may set the configuration parameters for the configuration item, for example, the terminal device limits the network rate range, the resolution of video transmission, etc. It is understandable that the terminal device supports the configuration parameters corresponding to all configuration items in the target service policy.
[0067] Furthermore, the configuration parameters of the configuration item in the target business policy and the configuration parameters of the configuration item in the first business policy are compared. If the configuration parameters of the same configuration item in the target business policy and the first business policy are consistent, the configuration parameters of the configuration item in the first business policy are not modified; if the configuration parameters of the same configuration item in the target business policy and the first business policy are inconsistent, the configuration parameters of the configuration item in the first business policy are modified according to the configuration parameters of the configuration item in the target business policy and the configuration parameters of the configuration item in the first business policy to obtain the target configuration parameters of the configuration item.
[0068] In some implementations, the target configuration parameters corresponding to each configuration item are obtained based on the configuration parameters corresponding to the configuration items in the target business policy and the configuration parameters corresponding to the configuration items in the first business policy, including: obtaining the parameter calculation rule corresponding to each configuration item; calculating the configuration parameters corresponding to the configuration items in the target business policy and the configuration parameters corresponding to the configuration items in the first business policy according to the parameter calculation rule corresponding to the configuration items, to obtain the target configuration parameters corresponding to each configuration item.
[0069] The configuration parameters of the configuration items in the target business policy and the configuration parameters of the configuration items in the first business policy are compared to obtain a comparison result. If the comparison result shows that the configuration parameters of the same configuration item in the target business policy and the first business policy are inconsistent, a parameter calculation rule corresponding to the configuration item is obtained, and the target configuration parameters are calculated according to the parameter calculation rule.
[0070] According to the different types of configuration items, the corresponding parameter calculation rules are matched for the configuration items. For example, if the comparison result shows that the configuration parameters between configuration item A of the target business policy and configuration item A in the first business policy are inconsistent, the parameter calculation rule corresponding to configuration item A is to use the configuration parameters of configuration item A of the target business policy as the target configuration parameters; if the comparison result shows that the configuration parameters between configuration item B of the target business policy and configuration item B in the first business policy are inconsistent, the parameter calculation rule corresponding to configuration item B is to obtain the configuration parameters of configuration item B of the target business policy and the average value of the configuration parameters of configuration item B in the first business policy, and use the average value as the target configuration parameter. Therefore, the parameter calculation rules of different configuration items can be selected according to the actual situation of the configuration items, and the present disclosure does not limit this.
[0071] It can be understood that the number of configuration items in the target business policy may be inconsistent with the number of configuration items in the first business policy. For configuration items that exist in the first business policy but not in the target business policy, the configuration parameters of the configuration items in the first business policy can be directly used as the target configuration parameters; the configuration item in the first business policy and the configuration parameters corresponding to the configuration items can also be deleted; or the parameter information of the terminal device includes functional parameter information, and the configuration parameters corresponding to the configuration item are modified according to the functional parameter information to obtain the target configuration parameters of the configuration item.
[0072] Then, the target configuration parameters of each configuration item are obtained to obtain the second service policy. The terminal device actively sends the required configuration information, so that the generated second service policy can not only meet the needs of the terminal device, but also enable the terminal device to personalize the second service policy to improve the user experience.
[0073] Step S240: Send the second service policy to the terminal device so that the terminal device processes the service request according to the second service policy.
[0074] After generating the second service policy, the policy management unit sends the second service policy to the terminal device, and the terminal device processes the service request according to the received second service policy.
[0075] In some embodiments, the second business policy carries at least one of the gateway information and server information required to process the business request, and sending the second business policy to the terminal device includes: sending the second business policy to the access management unit so that the access management unit allocates at least one of the corresponding gateway and server to the business request according to the second business policy, and sending the second business policy to the terminal device.
[0076] Exemplarily, the second service policy includes but is not limited to the gateway information, server information, data transmission rules, etc. required by the terminal device when processing the service request. The access management unit allocates at least one of the corresponding gateway address and server address to the terminal device according to the second service policy, and sends the second service policy and the allocated at least one of the gateway address and server address to the terminal device through the base station. The terminal device establishes a service flow or a media flow through the gateway address or the server address, and specifies the transmission mode of the service flow or the media flow through the second service policy to process the service request.
[0077] See also Figure 5 , Figure 5 This is a timing diagram of a communication strategy configuration method in another embodiment of the present disclosure. Figure 5 , the communication strategy configuration method in the exemplary embodiment of the present disclosure is described.
[0078] like Figure 5 As shown, exemplarily, the communication policy configuration system includes a terminal device, a base station, an access management unit, a policy management unit, and a data management unit. Among them, the communication policy configuration device that executes the communication policy configuration method is deployed in the policy management unit. It should be understood that the base station, the access management unit, the policy management unit, and the data management unit can be integrated with each other or separated from each other. Among them, the data management unit stores a service identifier and a policy mapping table.
[0079] It should be noted that Figure 5 The structure of the communication strategy configuration system shown in the figure is merely a block diagram of a partial structure related to the embodiment of the present disclosure, and does not constitute a limitation on the communication network system to which the embodiment of the present disclosure is applied. The specific communication strategy configuration system may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.
[0080] Combination Figure 5 , a communication strategy configuration method is described, and the communication strategy configuration method may include the following steps:
[0081] Step S510: The terminal device sends a service request to the policy management unit through the base station and the access management unit.
[0082] The terminal device generates a service request and sends it to a base station near the terminal device. After receiving the service request, the base station sends the service request to the access management unit, which is used to manage the connection between the terminal device and other communication devices, such as the connection between the terminal device and the application server, media server and other terminal devices. Then, the access management unit sends the service request to the policy management unit, which receives the service request and allocates the corresponding service policy to the service request.
[0083] The service request carries a service identifier and parameter information of the terminal device. The service identifier is used to mark the type of service request sent by the terminal device, and each service request can correspond to at least one service identifier; the parameter information of the terminal device is used to characterize the parameters of the functions supported by the terminal device, and the parameter information includes but is not limited to the hardware parameters, software parameters, network parameters and other information of the terminal device.
[0084] Step S520: The policy management unit sends query information to the data management unit according to the service identifier of the service request.
[0085] Step S530: The data management unit queries the service identifier and the policy mapping table according to the query information, and sends the query result to the policy management unit, where the query result includes the first service policy that matches the service request.
[0086] The service identifier and policy mapping table is preset with at least one service identifier and a first service policy corresponding to the service identifier. The service identifier and policy mapping table is queried through the service identifier carried in the service request sent by the terminal device to obtain the first service policy corresponding to the service request.
[0087] Step S540: The policy management unit performs policy configuration according to the first service policy in the query result to obtain a second service policy.
[0088] See also Figure 6 , Figure 6 for Figure 5 The flowchart of step S540 in FIG. Figure 6 As shown, step S540 specifically includes:
[0089] Step S610, obtain the configuration parameters of the configuration items in the first business policy in the query results and the parameter information of the terminal device in the business request. Step S620, determine whether the parameter information of the terminal device matches the configuration parameters of the configuration items in the first business policy. If not, execute step S630, if matched, execute step S640. Step S630, adjust the first business policy according to the parameter information to obtain the second business policy. By modifying all the erroneous configuration items in the first business policy, a second business policy supported by the terminal device is obtained to avoid the configuration items in the first business policy that do not match the terminal device affecting the execution of the business request. Step S640, use the first business policy as the second business policy. If the parameter information of the terminal device matches the configuration information of the configuration items in the first business policy, the first business policy is directly used as the second business policy.
[0090] Step S550: The policy management unit sends the second service policy to the access management unit.
[0091] Step S560: The access management unit allocates a gateway address and a server address to the terminal device according to the second service policy.
[0092] Exemplarily, the second service policy includes but is not limited to gateway information, server information, data transmission rules, etc. required by the terminal device to process a service request. The access management unit allocates a corresponding gateway address and server address to the terminal device according to the second service policy.
[0093] Step S570: The access management unit sends the second service policy to the terminal device through the base station, so that the terminal device establishes a service flow or a media flow according to the received second service policy to process the service request.
[0094] The communication strategy configuration method provided by the embodiment of the present disclosure receives a service request sent by a terminal device, wherein the service request carries a service identifier and parameter information of the terminal device; wherein the parameter information is used to characterize the parameters of the functions supported by the terminal device; a service identifier and a policy mapping table are queried according to the service identifier to obtain a first service policy that matches the service request; if the parameter information does not match the first service policy, the first service policy is adjusted according to the parameter information to obtain a second service policy; and the second service policy is sent to the terminal device so that the terminal device processes the service request according to the second service policy. By modifying the first service policy according to the parameter information, a second service policy supported by the terminal device is obtained, so as to avoid the configuration items in the first service policy that do not match the terminal device affecting the execution of the service request, thereby ensuring the accuracy of the second service policy sent to the terminal device and improving the user experience.
[0095] Furthermore, this exemplary embodiment also provides a communication strategy configuration device 700. Figure 7 As shown, the communication strategy configuration device 700 includes: a parameter acquisition module 710 , a first service strategy acquisition module 720 , a second service strategy acquisition module 730 and a sending module 740 .
[0096] The parameter acquisition module 710 is used to receive a service request sent by a terminal device, where the service request carries a service identifier and parameter information of the terminal device; wherein the parameter information is used to characterize the parameters of the functions supported by the terminal device.
[0097] The first service policy acquisition module 720 is used to query the service identifier and policy mapping table according to the service identifier to obtain a first service policy that matches the service request.
[0098] The second service policy acquisition module 730 is used to adjust the first service policy according to the parameter information to obtain the second service policy if the parameter information does not match the first service policy.
[0099] The sending module 740 is used to send the second service policy to the terminal device, so that the terminal device processes the service request according to the second service policy.
[0100] In some embodiments, based on the aforementioned scheme, after querying the service identifier and the policy mapping table according to the service identifier to obtain the first service policy that matches the service request, the method also includes: confirming whether there is an incorrect configuration item in the first service policy according to the parameter information of the terminal device; if there is an incorrect configuration item, the parameter information does not match the first service policy; if there is no incorrect configuration item, the parameter information matches the first service policy.
[0101] In some embodiments, based on the aforementioned scheme, the parameter information of the terminal device includes terminal type information, and the service identifier and policy mapping table are queried according to the service identifier to obtain a first service policy that matches the service request, including: querying the service identifier and policy mapping table according to the service identifier to obtain a first service policy set; filtering the first service policy in the first service policy set according to the terminal type information to obtain a first service policy that matches the service request.
[0102] In some embodiments, based on the aforementioned scheme, the parameter information of the terminal device includes functional parameter information, and the first business policy is adjusted according to the parameter information to obtain the second business policy, including: confirming the erroneous configuration items in the first business policy according to the functional parameter information; modifying the erroneous configuration items in the first business policy according to the functional parameter information to obtain the second business policy.
[0103] In some embodiments, based on the aforementioned scheme, the parameter information of the terminal device includes a target business policy, and the configuration parameters corresponding to the configuration items in the target business policy are used to characterize the configuration information required by the terminal device; adjusting the first business policy according to the parameter information to obtain the second business policy, including: obtaining the target configuration parameters corresponding to each configuration item according to the configuration parameters corresponding to the configuration items in the target business policy and the configuration parameters corresponding to the configuration items in the first business policy; wherein the configuration items in the target business policy are the same as the configuration items in the first business policy; and obtaining the second business policy according to the target configuration parameters corresponding to each configuration item.
[0104] In some embodiments, based on the aforementioned scheme, according to the configuration parameters corresponding to the configuration items in the target business policy and the configuration parameters corresponding to the configuration items in the first business policy, the target configuration parameters corresponding to each configuration item are obtained, including: obtaining the parameter calculation rule corresponding to each configuration item; calculating the configuration parameters corresponding to the configuration items in the target business policy and the configuration parameters corresponding to the configuration items in the first business policy according to the parameter calculation rules corresponding to the configuration items, to obtain the target configuration parameters corresponding to each configuration item.
[0105] In some embodiments, based on the aforementioned scheme, the second business policy carries at least one of the gateway information and server information for processing business request requirements, and the second business policy is sent to the terminal device, including: sending the second business policy to the access management unit so that the access management unit allocates at least one of the corresponding gateway and server to the business request according to the second business policy, and sending the second business policy to the terminal device.
[0106] It should be noted that the device provided in the above embodiment and the method provided in the above embodiment belong to the same concept, wherein the specific manner in which each module and unit performs the operation has been described in detail in the method embodiment and will not be repeated here.
[0107] It should be noted that although several modules or units of the communication strategy configuration device are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. Conversely, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0108] In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above communication strategy configuration method is also provided.
[0109] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware embodiments, complete software embodiments (including firmware, microcode, etc.), or embodiments combining hardware and software aspects, which may be collectively referred to herein as "circuits", "modules" or "systems".
[0110] Refer to the following Figure 8 800 according to this embodiment of the present disclosure is described. Figure 8 The electronic device 800 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0111] like Figure 8 As shown, the electronic device 800 is in the form of a general computing device. The components of the electronic device 800 may include, but are not limited to: the at least one processing unit 810, the at least one storage unit 820, a bus 830 connecting different system components (including the storage unit 820 and the processing unit 810), and a display unit 840.
[0112] The storage unit stores program codes, which can be executed by the processing unit 810, so that the processing unit 810 executes the steps according to various exemplary embodiments of the present disclosure described in the above “Exemplary Method” section of this specification.
[0113] The storage unit 820 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 821 and / or a cache memory unit 822 , and may further include a read-only memory unit (ROM) 823 .
[0114] The storage unit 820 may also include a program / utility 824 having a set (at least one) of program modules 825, such program modules 825 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0115] Bus 830 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0116] The electronic device 800 may also communicate with one or more external devices 870 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 800, and / or communicate with any device that enables the electronic device 800 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 850. Furthermore, the electronic device 800 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 860. As shown, the network adapter 860 communicates with other modules of the electronic device 800 via a bus 830. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 800, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
[0117] Through the description of the above embodiments, it is easy for those skilled in the art to understand that the example embodiments described here can be implemented by software or by combining software with necessary hardware. Therefore, the technical solution according to the embodiment of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiment of the present disclosure.
[0118] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible embodiments, various aspects of the present disclosure can also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary embodiments of the present disclosure described in the above "Exemplary Method" section of the present specification.
[0119] The exemplary embodiments of the present disclosure are specifically shown and described above. It is understood that the present disclosure is not limited to the detailed structures, configurations or implementations described herein; on the contrary, the present disclosure is intended to cover various modifications and equivalent configurations included in the spirit and scope of the appended claims.
Claims
1. A communication strategy configuration method, characterized in that: The method comprises: Receiving a service request sent by a terminal device, wherein the service request carries a service identifier and parameter information of the terminal device; wherein the parameter information is used to characterize parameters of functions supported by the terminal device; Querying a service identifier and a policy mapping table according to the service identifier to obtain a first service policy that matches the service request; If the parameter information does not match the first service policy, adjusting the first service policy according to the parameter information to obtain a second service policy; Sending the second service policy to the terminal device so that the terminal device processes the service request according to the second service policy; The parameter information of the terminal device includes function parameter information; and adjusting the first service policy according to the parameter information to obtain the second service policy includes: Determine an erroneous configuration item in the first service policy according to the function parameter information; The incorrect configuration item in the first service policy is modified according to the function parameter information to obtain a second service policy.
2. The method according to claim 1, characterized in that After querying the service identifier and the policy mapping table according to the service identifier to obtain the first service policy matching the service request, the method further includes: Determining whether there is an erroneous configuration item in the first service policy according to the parameter information of the terminal device; If there is an erroneous configuration item, determining that the parameter information does not match the first service policy; If no erroneous configuration item exists, it is determined that the parameter information matches the first service policy.
3. The method according to claim 1, characterized in that The parameter information of the terminal device includes terminal type information; the querying of the service identifier and policy mapping table according to the service identifier to obtain a first service policy matching the service request includes: According to the service identifier, query the service identifier and policy mapping table to obtain a first service policy set; The first service policy in the first service policy set is screened according to the terminal type information to obtain a first service policy that matches the service request.
4. The method according to claim 1, characterized in that: The parameter information of the terminal device includes a target service policy, and the configuration parameters corresponding to the configuration items in the target service policy are used to characterize the configuration information required by the terminal device; The adjusting the first service policy according to the parameter information to obtain a second service policy includes: Obtaining target configuration parameters corresponding to each configuration item according to configuration parameters corresponding to configuration items in the target business policy and configuration parameters corresponding to configuration items in the first business policy; wherein the configuration items in the target business policy are the same as the configuration items in the first business policy; The second service policy is obtained according to the target configuration parameter corresponding to each configuration item.
5. The method according to claim 4, characterized in that The obtaining, according to the configuration parameters corresponding to the configuration items in the target business policy and the configuration parameters corresponding to the configuration items in the first business policy, the target configuration parameters corresponding to each configuration item includes: Get the parameter calculation rules corresponding to each configuration item; The configuration parameters corresponding to the configuration items in the target business policy and the configuration parameters corresponding to the configuration items in the first business policy are calculated according to the parameter calculation rules corresponding to the configuration items to obtain the target configuration parameters corresponding to each configuration item.
6. The method according to claim 1, characterized in that The second service policy carries at least one of the gateway information and the server information for processing the service request requirement; sending the second service policy to the terminal device so that the terminal device processes the service request according to the second service policy includes: The second business policy is sent to the access management unit so that the access management unit allocates at least one of a gateway address and a server address to the business request according to the second business policy, and the second business policy and at least one of the gateway address and the server address are sent to the terminal device so that the terminal device processes the business request according to the second business policy and at least one of the gateway address and the server address.
7. A communication strategy configuration device, characterized in that: The device comprises: A parameter acquisition module, used to receive a service request sent by a terminal device, wherein the service request carries a service identifier and parameter information of the terminal device; wherein the parameter information is used to characterize the parameters of the functions supported by the terminal device; A first service policy acquisition module, configured to query a service identifier and a policy mapping table according to the service identifier to obtain a first service policy that matches the service request; A second business policy acquisition module, configured to adjust the first business policy according to the parameter information to obtain a second business policy if the parameter information does not match the first business policy; a sending module, configured to send the second service policy to the terminal device, so that the terminal device processes the service request according to the second service policy; The parameter information of the terminal device includes functional parameter information; when the second business policy acquisition module adjusts the first business policy according to the parameter information to obtain the second business policy, it is used to determine the erroneous configuration items in the first business policy according to the functional parameter information; modify the erroneous configuration items in the first business policy according to the functional parameter information to obtain the second business policy.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the communication strategy configuration method according to any one of claims 1 to 6 is implemented.
9. An electronic device, characterized in that: include: processor; as well as A memory for storing one or more programs, which, when executed by the one or more processors, enables the one or more processors to implement the communication strategy configuration method according to any one of claims 1 to 6.
