CN114157710A - Communication strategy configuration method, device, storage medium and equipment - Google Patents

Communication strategy configuration method, device, storage medium and equipment Download PDF

Info

Publication number
CN114157710A
CN114157710A CN202111460639.4A CN202111460639A CN114157710A CN 114157710 A CN114157710 A CN 114157710A CN 202111460639 A CN202111460639 A CN 202111460639A CN 114157710 A CN114157710 A CN 114157710A
Authority
CN
China
Prior art keywords
service
strategy
configuration
policy
parameter information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111460639.4A
Other languages
Chinese (zh)
Inventor
袁晓志
刘展
彭莉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN202111460639.4A priority Critical patent/CN114157710A/en
Publication of CN114157710A publication Critical patent/CN114157710A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the disclosure discloses a communication strategy configuration method, a device, a storage medium and a device, wherein the communication strategy configuration method provided by the embodiment of the 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; inquiring the service identifier and the strategy mapping table according to the service identifier to obtain a first service strategy matched with the service request; if the parameter information is not matched with the first service strategy, adjusting the first service strategy according to the parameter information to obtain a second service strategy; and sending the second service strategy to the terminal equipment. The first service strategy is modified according to the parameter information to obtain a second service strategy supported by the terminal equipment, so that the situation that the execution of a service request is influenced by a configuration item which is not matched with the terminal equipment in the first service strategy is avoided, the accuracy of the second service strategy sent to the terminal equipment is further ensured, and the use experience of a user is improved.

Description

Communication strategy configuration method, device, storage medium and equipment
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method, an apparatus, a storage medium, and a device for configuring a communication policy.
Background
At present, in the traditional communication network construction, because the user requirement is simple, the communication policy configuration corresponding to the service request is fixed and single, and only the communication policy corresponding to the service request needs to be configured according to the type of the service request.
However, with the increasing abundance of user terminal device types and the increasing complexity of communication network structure, the service request can be realized without simple communication policy configuration. When the communication strategy configuration is wrong, the service execution quality is seriously influenced, the fixed and single communication strategy configuration cannot keep up with the requirement of rapid change of a service scene, and the flexibility and the accuracy are poor.
Disclosure of Invention
The disclosure provides a communication strategy configuration method, a communication strategy configuration device, a storage medium and equipment, so as to improve the accuracy of communication strategy configuration.
According to a first aspect of the embodiments of the present disclosure, there is provided a communication policy configuration method, including: receiving a service request sent by terminal equipment, wherein the service request carries a service identifier and parameter information of the terminal equipment; the parameter information is used for representing parameters of functions supported by the terminal equipment; inquiring the service identifier and the strategy mapping table according to the service identifier to obtain a first service strategy matched with the service request; if the parameter information is not matched with the first service strategy, adjusting the first service strategy according to the parameter information to obtain a second service strategy; and sending the second service strategy to the terminal equipment so that the terminal equipment processes the service request according to the second service strategy.
In some embodiments, 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: confirming whether an error configuration item exists in the first service strategy according to the parameter information of the terminal equipment; if the wrong configuration item exists, the parameter information is not matched with the first service strategy; and if the error configuration item does not exist, matching the parameter information with the first service strategy.
In some embodiments, the parameter information of the terminal device includes terminal type information, and the obtaining of the first service policy matching the service request by querying the service identifier and the policy mapping table according to the service identifier includes: inquiring the service identifier and a strategy mapping table according to the service identifier to obtain a first service strategy set; and screening the first service strategy in the first service strategy set according to the terminal type information to obtain the first service strategy matched with the service request.
In some embodiments, the parameter information of the terminal device includes function parameter information, and the adjusting the first service policy according to the parameter information to obtain the second service policy includes: confirming an error configuration item in the first service strategy according to the functional parameter information; and modifying the error configuration item in the first service strategy according to the functional parameter information to obtain a second service strategy.
In some embodiments, the parameter information of the terminal device includes a target service policy, and a configuration parameter corresponding to a configuration item in the target service policy is used to represent configuration information required by the terminal device; adjusting the first service strategy according to the parameter information to obtain a second service strategy, comprising: obtaining a target configuration parameter corresponding to each configuration item according to the configuration parameters corresponding to the configuration items in the target service strategy and the configuration parameters corresponding to the configuration items in the first service strategy; the configuration items in the target business strategy are the same as the configuration items in the first business strategy; and obtaining a second service strategy according to the target configuration parameters corresponding to each configuration item.
In some embodiments, obtaining the target configuration parameter corresponding to each configuration item according to the configuration parameter corresponding to the configuration item in the target service policy and the configuration parameter corresponding to the configuration item in the first service policy includes: acquiring a parameter calculation rule corresponding to each configuration item; and calculating the configuration parameters corresponding to the configuration items in the target service strategy and the configuration parameters corresponding to the configuration items in the first service strategy according to the parameter calculation rules corresponding to the configuration items to obtain the target configuration parameters corresponding to each configuration item.
In some embodiments, the sending the second service policy to the terminal device, where the second service policy carries at least one of gateway information and server information required for processing the service request, includes: and sending the second service policy 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 service request according to the second service policy, and sending the second service policy and at least one of the gateway address and the server address to the terminal device so that the terminal device processes the service request according to the second service policy and at least one of the gateway address and the server address.
According to a second aspect of the embodiments of the present disclosure, there is provided a communication policy configuration apparatus, including: the parameter acquisition module is used for receiving a service request sent by the terminal equipment, wherein the service request carries a service identifier and parameter information of the terminal equipment; the parameter information is used for representing parameters of functions supported by the terminal equipment; the first service strategy obtaining module is used for inquiring the service identifier and the strategy mapping table according to the service identifier to obtain a first service strategy matched with the service request; the second service policy obtaining module is used for adjusting the first service policy according to the parameter information if the parameter information is not matched with the first service policy, so as to obtain a second service policy; and the sending module is used for sending the second service strategy to the terminal equipment so that the terminal equipment processes the service request according to the second service strategy.
According to a third aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements the communication policy configuration method as described above.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: a processor; a memory for storing one or more programs that, when executed by the one or more processors, cause the one or more processors to implement a communication policy configuration method as described above.
Exemplary embodiments of the present disclosure have the following advantageous effects:
according to the communication strategy configuration method, the communication strategy configuration device, the storage medium and the communication strategy configuration equipment, a service request sent by terminal equipment is received, and the service request carries a service identifier and parameter information of the terminal equipment; the parameter information is used for representing parameters of functions supported by the terminal equipment; inquiring the service identifier and the strategy mapping table according to the service identifier to obtain a first service strategy matched with the service request; if the parameter information is not matched with the first service strategy, adjusting the first service strategy according to the parameter information to obtain a second service strategy; and sending the second service strategy to the terminal equipment so that the terminal equipment processes the service request according to the second service strategy. The first service strategy is modified according to the parameter information to obtain a second service strategy supported by the terminal equipment, so that the situation that the execution of the service request is influenced by the configuration item which is not matched with the terminal equipment in the first service strategy is avoided, the accuracy of the second service strategy sent to the terminal equipment is further ensured, and due to the accuracy of the second service strategy, the processing success rate of the service request can be improved, and the use experience of a user is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. In the drawings:
FIG. 1 shows a schematic diagram of a system architecture in an embodiment of the present disclosure;
FIG. 2 illustrates a flow chart of a communication policy configuration method in an embodiment of the present disclosure;
FIG. 3 shows a flow chart of step S230 in an example embodiment in the embodiment shown in FIG. 2;
FIG. 4 shows a flow chart of step S230 in another example embodiment in the embodiment shown in FIG. 2;
FIG. 5 illustrates a timing diagram of a communication policy configuration method in another embodiment of the present disclosure;
FIG. 6 shows a flow chart of step S540 in an example embodiment in the embodiment shown in FIG. 5;
fig. 7 is a schematic structural diagram of a communication policy configuration apparatus in an embodiment of the present disclosure;
fig. 8 shows a schematic structural diagram of an electronic device in an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
It should also be noted that: reference to "a plurality" in this application means two or more. "and/or" describe the association relationship of the associated objects, meaning that there may be three relationships, e.g., A and/or B may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
Fig. 1 is a schematic diagram of a system structure of an operating environment according to an exemplary embodiment of the present disclosure, and referring to fig. 1, the system structure includes a terminal device 110, a policy management unit 120, and a base station 130, it is understood that the system structure may include a plurality of base stations 130 and each base station 130 may include other numbers of terminal devices 110 within a coverage area, which is not limited in the present disclosure. The terminal device 110 and the policy management unit 120 communicate with each other through the base station 130, and various connection types may be used among the terminal device 110, the policy management unit 120 and the base station 130, such as a wired or wireless communication link or a fiber optic cable system.
Terminal devices 110 include, but are not limited to, smart phones, tablets, laptop portable computers, desktop computers, wearable devices, virtual reality devices, smart homes, and the like.
The policy management unit 120 may be composed of at least one server, which is not limited by this disclosure. The server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server providing basic cloud computing services such as cloud service, a cloud database, cloud computing, a cloud function, cloud storage, Network service, cloud communication, middleware service, domain name service, security service, Content Delivery Network (CDN) and a big data and artificial intelligence platform.
It can be understood that the policy management unit 120 may be integrated on the base station 130, or may be disposed separately from the base station 130, and a specific deployment location of the policy management unit 120 may be flexibly selected according to an actual situation, which is not limited in this disclosure.
The communication policy configuration method provided by the embodiment of the present disclosure may be used in a communication policy configuration apparatus, and the communication policy configuration apparatus may be integrated in a computer device, and the computer device may be a server included in the policy management unit 120.
Some embodiments of the disclosure are described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 2, fig. 2 is a flowchart of a communication policy configuration method in an embodiment of the present disclosure, and the following describes the communication policy configuration method in an exemplary embodiment of the present disclosure with reference to fig. 2.
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; the parameter information is used for representing parameters of functions supported by the terminal equipment.
The service request carries the service identifier and the parameter information of the terminal device. The service identifier is used for marking the type of a service request sent by the terminal equipment, and each service request can correspond to at least one service identifier; the parameter information of the terminal device is used for representing parameters of functions supported by the terminal device, and the parameter information includes but is not limited to hardware parameters, software parameters, network parameters and other information of the terminal device.
Illustratively, a terminal device generates a service request and transmits the service request to a base station in the vicinity of the terminal device. After receiving the service request, the base station sends the service request to an access management unit, where 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 the policy management unit, and the policy management unit receives the service request and allocates a corresponding service policy to the service request.
Step S220, inquiring the service identification and the strategy mapping table according to the service identification to obtain a first service strategy matched with the service request.
It can be understood that, before executing the service request of the terminal device, the execution rule corresponding to the execution of the service request needs to be acquired, so that a service policy is allocated to the service request, and the service policy is used for specifying a specific execution method in the execution process of the service request, so as to execute the service request by the service policy.
The method comprises the steps that at least one service identifier and a first service strategy corresponding to the service identifier are preset in a service identifier and strategy mapping table, and the service identifier and the strategy mapping table are inquired through the service identifier carried in a service request sent by terminal equipment so as to obtain the first service strategy corresponding to the service request.
In some embodiments, the parameter information of the terminal device includes terminal type information, and the obtaining of the first service policy matching the service request by querying the service identifier and the policy mapping table according to the service identifier includes: inquiring the service identifier and a strategy mapping table according to the service identifier to obtain a first service strategy set; and screening the first service strategy in the first service strategy set according to the terminal type information to obtain the first service strategy matched with the service request.
The terminal type information is used for characterizing the type of the terminal device, for example, the type of the terminal includes, but is not limited to, a smart phone, a tablet computer, a laptop portable computer, a desktop computer, a wearable device, a virtual reality device, a smart home, and the like. It can be understood that when different types of terminal devices send the same service request, different first service policies need to be configured for the different types of terminal devices. Therefore, in order to ensure the accuracy of the first traffic policy, the type of the terminal device needs to be considered.
Illustratively, first service policies corresponding to different types of terminal devices are preset for a service request of the same service identifier, so that the service identifier and policy mapping table includes a service identifier and a first service policy set corresponding to the service identifier, where the first service policy set includes a plurality of first service policies.
After receiving a service request of a terminal device, a policy management unit queries a service identifier and a policy mapping table according to the service identifier carried by the service request to obtain a first service policy set corresponding to the service identifier, and then screens a first service policy in the first service policy set according to terminal type information carried by the service request to screen out a first service request corresponding to the type of the terminal device.
And step S230, if the parameter information is not matched with the first service strategy, adjusting the first service strategy according to the parameter information to obtain a second service strategy.
And after the first service strategy is obtained, detecting the first service strategy according to the parameter information of the terminal equipment carried by the service request of the terminal equipment so as to judge whether the parameter information is matched with the first service strategy.
For example, the configuration parameters corresponding to all the configuration items of the first service policy may be obtained, and then it is determined whether the parameter information of the terminal device can satisfy each configuration parameter, and if the parameter information of the terminal device cannot satisfy the configuration parameters corresponding to the configuration items, the matching of the configuration items fails, and the configuration items are used as wrong configuration items. For example, when the configuration item is a service concurrency number, the service concurrency number of the first service policy is 3, and the service concurrency number supported by the terminal device in the parameter information of the terminal device is 2, so that the parameter information of the terminal device cannot satisfy the configuration parameter corresponding to the configuration item, and the configuration item is an error configuration item. And judging each configuration item of the first service strategy, and then detecting whether an error configuration item exists. If the wrong configuration item exists, the parameter information is not matched with the first service strategy; and if the error configuration item does not exist, matching the parameter information with the first service strategy.
Exemplarily, the matching degree of the parameter information and the first service policy may also be calculated, and if the matching degree of the first service policy is greater than the threshold of the matching degree, it indicates that the first service policy is matched with the parameter information; and if the matching degree of the first service strategy is smaller than the threshold value of the matching degree, the first service strategy is indicated to be not matched with the parameter information. For example, the number of configuration items successfully matched with the parameter information in the first service policy may be counted to calculate a ratio of the number of configuration items successfully matched to the total number of configuration items, so as to obtain the matching degree of the first service policy. Further, different priorities are set for different configuration items in the first service policy, the higher the priority is, the more important the configuration item is, then the weight corresponding to the priority is set for the configuration item according to the priority of the configuration item, and then the matching degree of the first service policy is calculated according to the configuration item which is successfully configured and the weight corresponding to the configuration item.
And if the parameter information is not matched with the first service strategy, adjusting the first service strategy according to the parameter information to obtain a second service strategy.
It can be understood that, after querying the service identifier and the policy mapping table according to the service identifier, a plurality of first service policies may be obtained, and when all the first service policies in the plurality of first service policies are not matched with the parameter information, the first service policies need to be adjusted according to the parameter information to obtain a second service policy. The adjusted first service policy may be the first service policy with the least number of configuration items that fail to be matched with the parameter information; or the first business strategy with the highest matching degree after the matching degree of the plurality of first business strategies is calculated according to the configuration items which are successfully matched and the weights corresponding to the configuration items.
Referring to fig. 3, fig. 3 is a flowchart of step S230 in fig. 2 in an exemplary embodiment, where the parameter information of the terminal device includes function parameter information, and step S230 specifically includes:
step S310, confirming an error configuration item in the first service strategy according to the function parameter information;
step S320, modifying the error configuration item in the first service policy according to the functional parameter information to obtain a second service policy.
The function parameter information is used to characterize parameters of functions supported by the terminal device, including but not limited to hardware configuration, resource usage, network conditions, and the like of the terminal device. For example, the hardware configuration of the terminal device includes, but is not limited to, the model of each component of the terminal device, such as the sensor model, the battery model, and the like; the number of the respective components, such as the number of screens, the number of antennas, and the like. The resource usage of the terminal device includes, but is not limited to, usage of a Central Processing Unit (CPU), usage of a memory, a number of currently performed processes, and the like.
It can be understood that the terminal device may cause the generated service request to carry different function parameter information according to different requested services. For example, when a service requested by a terminal device needs to use a screen of the terminal device, the generated service request carries functional parameter information including parameter information of the screen; when the service requested by the terminal equipment needs to use the camera of the terminal equipment, the functional parameter information carried by the generated service request contains the parameter information of the camera.
And confirming the error configuration item in the first service policy through the function parameter information, wherein the error configuration item can be a configuration item of which the matching of the function parameter information and the configuration parameter corresponding to the configuration item in the first service policy fails. For example, when the configuration item in the first service policy is the frame number of video playing, the configuration parameter corresponding to the frame number of video playing is 60 frames per second, and it is known through the function parameter information that the maximum frame number of video playing supported by the playing device of the terminal device is 40 frames per second, so the frame number of video playing of the terminal device cannot satisfy the frame number of video playing of the first service policy. Therefore, the number of frames of video playing in the first service policy is taken as an error configuration item.
And confirming all error configuration items in the first service strategy, and modifying the configuration parameters of the error configuration items according to the functional parameter information so as to match the modified configuration parameters with the functional parameter information.
For example, the configuration parameters corresponding to the configuration items may be adjusted. For example, if the number of frames of video playing of the terminal device is 40 frames per second at maximum and the number of frames of video playing in the first service policy is 60 frames per second, the number of frames of video playing in the first service policy may be modified to be less than 40 frames per second. For example, when the usage rate of the CPU in the function parameter information is low, the number of frames of video playing in the first service policy may be modified to 40 frames per second, and when the usage rate of the CPU in the function parameter information is high, the number of frames of video playing in the first service policy may be modified to 30 frames per second.
For example, the configuration item and the configuration parameter corresponding to the configuration item may also be deleted. For example, the configuration item in the first service policy includes a temperature sensor, and it is known from the function parameter information of the terminal device that the temperature sensor is not deployed in the terminal device, so that the configuration item and the configuration parameter corresponding to the temperature sensor in the first service policy are deleted.
And modifying all the error configuration items in the first service strategy to obtain a second service strategy supported by the terminal equipment so as to avoid the configuration items in the first service strategy, which are not matched with the terminal equipment, from influencing the execution of the service request.
Referring to fig. 4, fig. 4 is a flowchart of step S230 in fig. 2 in another exemplary embodiment, where the parameter information of the terminal device includes a target service policy, and a configuration parameter corresponding to a configuration item in the target service policy is used to represent configuration information required by the terminal device, and step S230 specifically includes:
step S410, obtaining a target configuration parameter corresponding to each configuration item according to the configuration parameters corresponding to the configuration items in the target service strategy and the configuration parameters corresponding to the configuration items in the first service strategy; the configuration items in the target business strategy are the same as the configuration items in the first business strategy;
and step S420, obtaining a second service strategy according to the target configuration parameters corresponding to each configuration item.
The target service strategy comprises at least one configuration item, and configuration parameters corresponding to the configuration item are used for representing configuration information required by the terminal equipment. The terminal device may set configuration parameters for the configuration items, for example, the terminal device defines a network rate range, a resolution of video transmission, and the like. It can be understood that the terminal device supports the configuration parameters corresponding to all the configuration items in the target service policy.
Further, comparing the configuration parameters of the configuration items in the target service policy with the configuration parameters of the configuration items in the first service policy, and if the configuration parameters of the same configuration item in the target service policy and the first service policy are consistent, not modifying the configuration parameters of the configuration item in the first service policy; if the configuration parameters of the same configuration item in the target service policy and the first service policy are not consistent, modifying the configuration parameters of the configuration item in the first service policy according to the configuration parameters of the configuration item in the target service policy and the configuration parameters of the configuration item in the first service policy to obtain the target configuration parameters of the configuration item.
In some embodiments, obtaining the target configuration parameter corresponding to each configuration item according to the configuration parameter corresponding to the configuration item in the target service policy and the configuration parameter corresponding to the configuration item in the first service policy includes: acquiring a parameter calculation rule corresponding to each configuration item; and calculating the configuration parameters corresponding to the configuration items in the target service strategy and the configuration parameters corresponding to the configuration items in the first service strategy according to the parameter calculation rules corresponding to the configuration items to obtain the target configuration parameters corresponding to each configuration item.
And comparing the configuration parameters of the configuration items in the target service strategy with the configuration parameters of the configuration items in the first service strategy to obtain a comparison result, if the comparison result shows that the configuration parameters of the same configuration item in the target service strategy and the first service strategy are inconsistent, obtaining a parameter calculation rule corresponding to the configuration item, and calculating according to the parameter calculation rule to obtain the target configuration parameters.
And matching corresponding parameter calculation rules for the configuration items according to different types of the configuration items. For example, if the comparison result indicates that the configuration item a of the target service policy is inconsistent with the configuration parameter a of the first service policy, the parameter calculation rule corresponding to the configuration item a takes the configuration parameter of the configuration item a of the target service policy as the target configuration parameter; and if the comparison result shows that the configuration parameters between the configuration item B of the target service strategy and the configuration item B in the first service strategy are inconsistent, the parameter calculation rule corresponding to the configuration item B is to obtain the average value of the configuration parameters of the configuration item B of the target service strategy and the configuration parameters of the configuration item B in the first service strategy, and the average value is used 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, which is not limited by the present disclosure.
It can be understood that, the number of configuration items in the target service policy may not be consistent with the number of configuration items in the first service policy, and for configuration items existing in the first service policy but configuration items not existing in the target service policy, the configuration parameters of the configuration items in the first service policy may be directly used as the target configuration parameters; the configuration item in the first service policy and the configuration parameter corresponding to the configuration item may also be deleted; the parameter information of the terminal device may also include function parameter information, and the configuration parameter corresponding to the configuration item is modified according to the function parameter information to obtain the target configuration parameter of the configuration item.
And then, acquiring the target configuration parameters of each configuration item to obtain a second service strategy. The terminal equipment actively sends the required configuration information, so that the generated second service strategy meets the terminal equipment, and meanwhile, the terminal equipment can also carry out personalized customization on the second service strategy, thereby improving the user experience.
Step S240, sending the second service policy to the terminal device, so that the terminal device processes the service request according to the second service policy.
And after generating a second service strategy, the strategy management unit sends the second service strategy to the terminal equipment, and the terminal equipment processes the service request according to the received second service strategy.
In some embodiments, the sending the second service policy to the terminal device, where the second service policy carries at least one of gateway information and server information required for processing the service request, includes: and sending the second service policy to the access management unit, so that the access management unit allocates at least one of a corresponding gateway and a server to the service request according to the second service policy, and sends the second service policy to the terminal device.
Illustratively, 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 the service request. The access management unit allocates at least one of the corresponding gateway address and the server address to the terminal device according to the second service policy, and issues the second service policy and the allocated at least one base station passing through the gateway address and the server address to the terminal device, the terminal device establishes a service stream or a media stream through the gateway address or the server address, and specifies a transmission mode of the service stream or the media stream through the second service policy to process the service request.
Referring to fig. 5, fig. 5 is a timing diagram of a communication policy configuration method according to another embodiment of the present disclosure, and the communication policy configuration method according to the exemplary embodiment of the present disclosure is described below with reference to fig. 5.
As shown in fig. 5, the communication policy configuration system exemplarily includes a terminal device, a base station, an access management unit, a policy management unit, and a data management unit. The communication policy configuration device executing the communication policy configuration method is disposed in the policy management unit, and it should be understood that the base station, the access management unit, the policy management unit, and the data management unit may be integrated with each other or separated from each other. The data management unit stores service identification and strategy mapping table.
It should be noted that the structure of the communication policy configuration system shown in fig. 5 is only a block diagram of a part of the structure related to the embodiment of the present disclosure, and does not constitute a limitation of the communication network system to which the embodiment of the present disclosure is applied, and a specific communication policy configuration system may include more or less components than those shown in the figure, or combine some components, or have different component arrangements.
With reference to fig. 5, a communication policy configuration method is described, and the communication policy configuration method may include the following steps:
step S510, the terminal device sends a service request to the policy management unit through the base station and the access management unit.
The terminal equipment generates a service request and sends the service request to a base station near the terminal equipment. After receiving the service request, the base station sends the service request to an access management unit, where 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 the policy management unit, and the policy management unit receives the service request and allocates a corresponding service policy to the service request.
The service request carries a service identifier and parameter information of the terminal device. The service identifier is used for marking the type of a service request sent by the terminal equipment, and each service request can correspond to at least one service identifier; the parameter information of the terminal device is used for representing parameters of functions supported by the terminal device, and the parameter information includes but is not limited to hardware parameters, software parameters, network parameters and other information of the terminal device.
Step S520, the policy management unit sends query information to the data management unit according to the service identifier of the service request.
Step S530, the data management unit queries the service identifier and the policy mapping table according to the query information, and sends a query result to the policy management unit, where the query result includes a first service policy matched with the service request.
The method comprises the steps that at least one service identifier and a first service strategy corresponding to the service identifier are preset in a service identifier and strategy mapping table, and the service identifier and the strategy mapping table are inquired through the service identifier carried in a service request sent by terminal equipment so as to obtain the first service strategy corresponding to the service request.
And step S540, the strategy management unit performs strategy configuration according to the first service strategy in the query result to obtain a second service strategy.
Referring to fig. 6, fig. 6 is a flowchart of step S540 in fig. 5, and as shown in fig. 6, step S540 specifically includes:
step S610, obtaining the configuration parameters of the configuration items in the first service policy in the query result and the parameter information of the terminal device in the service request. Step S620, determining whether the parameter information of the terminal device matches the configuration parameter of the configuration item in the first service policy, if not, executing step S630, and if so, executing step S640. Step S630, the first service strategy is adjusted according to the parameter information, and a second service strategy is obtained. And modifying all the error configuration items in the first service strategy to obtain a second service strategy supported by the terminal equipment so as to avoid the configuration items in the first service strategy, which are not matched with the terminal equipment, from influencing the execution of the service request. And step S640, taking the first service strategy as a second service strategy. And if the parameter information of the terminal equipment is matched with the configuration information of the configuration item in the first service strategy, directly taking the first service strategy as a second service strategy.
Step S550, the policy management unit sends the second service policy to the access management unit.
Step S560, the access management unit allocates a gateway address and a server address to the terminal device according to the second service policy.
Illustratively, 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 the service request. And the access management unit allocates a corresponding gateway address and a server address to the terminal equipment according to the second service policy.
Step S570, the access management unit issues the second service policy to the terminal device through the base station, so that the terminal device establishes a service stream or a media stream according to the received second service policy to process the service request.
The communication strategy configuration method provided by the embodiment of the 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; the parameter information is used for representing parameters of functions supported by the terminal equipment; inquiring the service identifier and the strategy mapping table according to the service identifier to obtain a first service strategy matched with the service request; if the parameter information is not matched with the first service strategy, adjusting the first service strategy according to the parameter information to obtain a second service strategy; and sending the second service strategy to the terminal equipment so that the terminal equipment processes the service request according to the second service strategy. The first service strategy is modified according to the parameter information to obtain a second service strategy supported by the terminal equipment, so that the situation that the execution of a service request is influenced by a configuration item which is not matched with the terminal equipment in the first service strategy is avoided, the accuracy of the second service strategy sent to the terminal equipment is further ensured, and the use experience of a user is improved.
Further, a communication policy configuration apparatus 700 is also provided in this example embodiment. Referring to fig. 7, the communication policy configuration apparatus 700 includes: a parameter obtaining module 710, a first service policy obtaining module 720, a second service policy obtaining module 730, and a sending module 740.
The parameter obtaining module 710 is configured 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; the parameter information is used for representing parameters of functions supported by the terminal equipment.
The first service policy obtaining module 720 is configured to query the service identifier and the policy mapping table according to the service identifier, so as to obtain a first service policy matching the service request.
The second service policy obtaining module 730 is configured to, if the parameter information is not matched with the first service policy, adjust the first service policy according to the parameter information to obtain a second service policy.
The sending module 740 is 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.
In some embodiments, based on the foregoing solution, after querying the service identifier and the policy mapping table according to the service identifier, and obtaining the first service policy matching the service request, the method further includes: confirming whether an error configuration item exists in the first service strategy according to the parameter information of the terminal equipment; if the wrong configuration item exists, the parameter information is not matched with the first service strategy; and if the error configuration item does not exist, matching the parameter information with the first service strategy.
In some embodiments, based on the foregoing solution, the parameter information of the terminal device includes terminal type information, and the querying, according to the service identifier, the service identifier and the policy mapping table to obtain a first service policy matching the service request includes: inquiring the service identifier and a strategy mapping table according to the service identifier to obtain a first service strategy set; and screening the first service strategy in the first service strategy set according to the terminal type information to obtain the first service strategy matched with the service request.
In some embodiments, based on the foregoing scheme, the parameter information of the terminal device includes function parameter information, and the adjusting the first service policy according to the parameter information to obtain the second service policy includes: confirming an error configuration item in the first service strategy according to the functional parameter information; and modifying the error configuration item in the first service strategy according to the functional parameter information to obtain a second service strategy.
In some embodiments, based on the foregoing scheme, the parameter information of the terminal device includes a target service policy, and a configuration parameter corresponding to a configuration item in the target service policy is used to represent configuration information required by the terminal device; adjusting the first service strategy according to the parameter information to obtain a second service strategy, comprising: obtaining a target configuration parameter corresponding to each configuration item according to the configuration parameters corresponding to the configuration items in the target service strategy and the configuration parameters corresponding to the configuration items in the first service strategy; the configuration items in the target business strategy are the same as the configuration items in the first business strategy; and obtaining a second service strategy according to the target configuration parameters corresponding to each configuration item.
In some embodiments, based on the foregoing scheme, obtaining the target configuration parameter corresponding to each configuration item according to the configuration parameter corresponding to the configuration item in the target service policy and the configuration parameter corresponding to the configuration item in the first service policy includes: acquiring a parameter calculation rule corresponding to each configuration item; and calculating the configuration parameters corresponding to the configuration items in the target service strategy and the configuration parameters corresponding to the configuration items in the first service strategy according to the parameter calculation rules corresponding to the configuration items to obtain the target configuration parameters corresponding to each configuration item.
In some embodiments, based on the foregoing scheme, the sending, to the terminal device, the second service policy that carries at least one of gateway information and server information required for processing the service request, includes: and sending the second service policy to the access management unit, so that the access management unit allocates at least one of the corresponding gateway and the server to the service request according to the second service policy, and sends the second service policy to the terminal device.
It should be noted that the apparatus provided in the foregoing embodiment and the method provided in the foregoing embodiment belong to the same concept, and the specific manner in which each module and unit execute operations has been described in detail in the method embodiment, and is not described again here.
It should be noted that although in the above detailed description several modules or units of the communication policy configuration apparatus are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the present disclosure. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
In addition, in an exemplary embodiment of the present disclosure, an electronic device capable of implementing the communication policy configuration method is also provided.
As will be appreciated by one skilled in the art, aspects of the present disclosure may be embodied as a system, method or program product. Accordingly, various aspects of the present disclosure may be embodied in the form of: an entirely hardware embodiment, an entirely software embodiment (including firmware, microcode, etc.) or an embodiment combining hardware and software aspects that may all generally be referred to herein as a "circuit," module "or" system.
An electronic device 800 according to such an embodiment of the disclosure is described below with reference to fig. 8. The electronic device 800 shown in fig. 8 is only an example and should not bring any limitations to the functionality and scope of use of the embodiments of the present disclosure.
As shown in fig. 8, electronic device 800 is in the form of a general purpose 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 memory unit 820, a bus 830 connecting different system components (including the memory unit 820 and the processing unit 810), and a display unit 840.
Where the memory unit stores program code, the program code may be executed by the processing unit 810 to cause the processing unit 810 to perform steps according to various exemplary embodiments of the present disclosure as described in the "exemplary methods" section above in this specification.
The storage unit 820 may include readable media in the form of volatile storage units, such as a random access storage unit (RAM)821 and/or a cache storage unit 822, and may further include a read only storage unit (ROM) 823.
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 thereof, may comprise an implementation of a network environment.
Bus 830 may be any 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.
The electronic device 800 may also communicate with one or more external devices 870 (e.g., keyboard, pointing device, bluetooth device, etc.), with one or more devices that enable a user to interact with the electronic device 800, and/or with any devices (e.g., router, modem, etc.) that enable the electronic device 800 to communicate with one or more other computing devices. Such communication may occur via input/output (I/O) interfaces 850. Also, the electronic device 800 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 860. As shown, the network adapter 860 communicates with the other modules of the electronic device 800 via the bus 830. It should be appreciated that although not shown, 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, among others.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present disclosure may be embodied in the form of a software product, which may be stored in a non-volatile storage medium (which may be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which may be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the embodiments of the present disclosure.
In an exemplary embodiment of the present disclosure, there is also provided a computer-readable storage medium having stored thereon a program product capable of implementing the above-described method of the present specification. In some possible embodiments, various aspects of the disclosure may also be implemented in the form of a program product comprising program code for causing a terminal device to perform the steps according to various exemplary embodiments of the disclosure described in the above-mentioned "exemplary methods" section of this specification, when the program product is run on the terminal device.
Exemplary embodiments of the present disclosure are specifically illustrated and described above. It is to be understood that the disclosure is not limited to the precise arrangements, instrumentalities, or instrumentalities described herein; on the contrary, the disclosure is intended to cover various modifications and equivalent arrangements included within the spirit and scope of the appended claims.

Claims (10)

1. A method for configuring communication policies, the method comprising:
receiving a service request sent by a terminal device, wherein the service request carries a service identifier and parameter information of the terminal device; the parameter information is used for representing parameters of functions supported by the terminal equipment;
inquiring a service identifier and a strategy mapping table according to the service identifier to obtain a first service strategy matched with the service request;
if the parameter information is not matched with the first service strategy, adjusting the first service strategy according to the parameter information to obtain a second service strategy;
and sending the second service strategy to the terminal equipment so that the terminal equipment processes the service request according to the second service strategy.
2. The method of claim 1, wherein after said querying a service identifier and policy mapping table according to the service identifier to obtain a first service policy matching the service request, the method further comprises:
judging whether an error configuration item exists in the first service strategy according to the parameter information of the terminal equipment;
if an error configuration item exists, determining that the parameter information is not matched with the first service strategy;
and if no error configuration item exists, determining that the parameter information is matched with the first service strategy.
3. The method of claim 1, wherein the parameter information of the terminal device comprises terminal type information; the querying a service identifier and a policy mapping table according to the service identifier to obtain a first service policy matched with the service request includes:
inquiring the service identifier and a strategy mapping table according to the service identifier to obtain a first service strategy set;
and screening the first service strategy in the first service strategy set according to the terminal type information to obtain the first service strategy matched with the service request.
4. The method of claim 1, wherein the parameter information of the terminal device comprises function parameter information; the adjusting the first service policy according to the parameter information to obtain a second service policy includes:
determining an error configuration item in the first service strategy according to the function parameter information;
and modifying the error configuration item in the first service strategy according to the functional parameter information to obtain a second service strategy.
5. The method according to claim 1, wherein the parameter information of the terminal device includes a target service policy, and a configuration parameter corresponding to a configuration item in the target service policy is used to represent 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 a target configuration parameter corresponding to each configuration item according to the configuration parameters corresponding to the configuration items in the target service strategy and the configuration parameters corresponding to the configuration items in the first service strategy; wherein the configuration items in the target business strategy are the same as the configuration items in the first business strategy;
and obtaining the second service strategy according to the target configuration parameters corresponding to each configuration item.
6. The method according to claim 5, wherein obtaining the target configuration parameter corresponding to each configuration item according to the configuration parameter corresponding to the configuration item in the target service policy and the configuration parameter corresponding to the configuration item in the first service policy comprises:
acquiring a parameter calculation rule corresponding to each configuration item;
and calculating the configuration parameters corresponding to the configuration items in the target service strategy and the configuration parameters corresponding to the configuration items in the first service strategy according to the parameter calculation rules corresponding to the configuration items to obtain the target configuration parameters corresponding to each configuration item.
7. The method of claim 1, wherein the second service policy carries at least one of gateway information and server information required for processing the service request; the 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:
sending the second service policy to an access management unit, so that the access management unit allocates at least one of a gateway address and a server address to the service request according to the second service policy, and sending the second service policy and at least one of the gateway address and the server address to the terminal device, so that the terminal device processes the service request according to the second service policy and at least one of the gateway address and the server address.
8. An apparatus for communication policy configuration, the apparatus comprising:
a parameter obtaining module, configured 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; the parameter information is used for representing parameters of functions supported by the terminal equipment;
the first service strategy obtaining module is used for inquiring a service identifier and a strategy mapping table according to the service identifier to obtain a first service strategy matched with the service request;
a second service policy obtaining module, configured to adjust the first service policy according to the parameter information if the parameter information is not matched with the first service policy, so as to obtain a second service policy;
and the sending module is used for sending the second service strategy to the terminal equipment so that the terminal equipment processes the service request according to the second service strategy.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a communication policy configuration method according to any one of claims 1 to 7.
10. An electronic device, comprising:
a processor; and
memory storing one or more programs that, when executed by the one or more processors, cause the one or more processors to implement the communication policy configuration method of any of claims 1 to 7.
CN202111460639.4A 2021-12-02 2021-12-02 Communication strategy configuration method, device, storage medium and equipment Pending CN114157710A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111460639.4A CN114157710A (en) 2021-12-02 2021-12-02 Communication strategy configuration method, device, storage medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111460639.4A CN114157710A (en) 2021-12-02 2021-12-02 Communication strategy configuration method, device, storage medium and equipment

Publications (1)

Publication Number Publication Date
CN114157710A true CN114157710A (en) 2022-03-08

Family

ID=80455900

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111460639.4A Pending CN114157710A (en) 2021-12-02 2021-12-02 Communication strategy configuration method, device, storage medium and equipment

Country Status (1)

Country Link
CN (1) CN114157710A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114745211A (en) * 2022-04-26 2022-07-12 贵阳朗玛通信科技有限公司 Method and device based on ticket data fast matching strategy
CN115150264A (en) * 2022-06-28 2022-10-04 中国电信股份有限公司 Service providing method and device, computer readable storage medium and electronic equipment
CN115824298A (en) * 2022-11-25 2023-03-21 中国农业银行股份有限公司 Transportation detection method, device and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102378152A (en) * 2010-08-16 2012-03-14 ***通信有限公司 Method, device and system for processing service
CN103581226A (en) * 2012-07-25 2014-02-12 中兴通讯股份有限公司 Method, system and device for synchronizing terminal capacity information
WO2015131741A1 (en) * 2014-03-04 2015-09-11 华为技术有限公司 Service policy control method and system
CN109213597A (en) * 2018-08-01 2019-01-15 平安科技(深圳)有限公司 Resource allocation methods, device, computer equipment and computer readable storage medium
CN109600759A (en) * 2017-09-30 2019-04-09 华为技术有限公司 A kind of method and communication device that strategy is determining
CN111460298A (en) * 2020-03-31 2020-07-28 深圳市酷开网络科技有限公司 Service data processing method and device, computer equipment and storage medium
CN112104879A (en) * 2020-11-13 2020-12-18 腾讯科技(深圳)有限公司 Video coding method and device, electronic equipment and storage medium
CN113282327A (en) * 2021-06-28 2021-08-20 中国平安人寿保险股份有限公司 Configuration method, device and equipment of application program configuration items and storage medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102378152A (en) * 2010-08-16 2012-03-14 ***通信有限公司 Method, device and system for processing service
CN103581226A (en) * 2012-07-25 2014-02-12 中兴通讯股份有限公司 Method, system and device for synchronizing terminal capacity information
WO2015131741A1 (en) * 2014-03-04 2015-09-11 华为技术有限公司 Service policy control method and system
CN109600759A (en) * 2017-09-30 2019-04-09 华为技术有限公司 A kind of method and communication device that strategy is determining
CN109213597A (en) * 2018-08-01 2019-01-15 平安科技(深圳)有限公司 Resource allocation methods, device, computer equipment and computer readable storage medium
CN111460298A (en) * 2020-03-31 2020-07-28 深圳市酷开网络科技有限公司 Service data processing method and device, computer equipment and storage medium
CN112104879A (en) * 2020-11-13 2020-12-18 腾讯科技(深圳)有限公司 Video coding method and device, electronic equipment and storage medium
CN113282327A (en) * 2021-06-28 2021-08-20 中国平安人寿保险股份有限公司 Configuration method, device and equipment of application program configuration items and storage medium

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114745211A (en) * 2022-04-26 2022-07-12 贵阳朗玛通信科技有限公司 Method and device based on ticket data fast matching strategy
CN115150264A (en) * 2022-06-28 2022-10-04 中国电信股份有限公司 Service providing method and device, computer readable storage medium and electronic equipment
CN115824298A (en) * 2022-11-25 2023-03-21 中国农业银行股份有限公司 Transportation detection method, device and system

Similar Documents

Publication Publication Date Title
CN109640319B (en) Scheduling method and device based on access information and electronic equipment
CN114157710A (en) Communication strategy configuration method, device, storage medium and equipment
CN110769038B (en) Server scheduling method and device, storage medium and electronic equipment
CN102255887B (en) Method and system for providing online services corresponding to multiple mobile devices
CN109788020B (en) Agent distribution method and related equipment
CN103841134B (en) Based on API transmission, the method for receive information, apparatus and system
CN110311983B (en) Service request processing method, device and system, electronic equipment and storage medium
CN110119292B (en) System operation parameter query method, matching method, device and node equipment
US8738779B2 (en) Method and apparatus for a context-based service look up
CN112740642B (en) Communication method and multi-access edge computing server
US11200220B2 (en) Efficient storage of user personal attributes for service provisioning
EP2894883B1 (en) Methods and systems for content consumption
US20200084122A1 (en) Network entity and method for identifier allocating and/or mapping of network services
CN114025021A (en) Communication method, system, medium and electronic device across Kubernetes cluster
CN108702334B (en) Method and system for distributed testing of network configuration for zero tariffs
CN113326946A (en) Method, device and storage medium for updating application recognition model
CN103259869B (en) A kind of concentration approaches to IM based on Distributed Storage
US11057242B2 (en) Address system
CN113361913A (en) Communication service arranging method, device, computer equipment and storage medium
TWI641951B (en) Method and device for dynamically assigning work and providing resource and system thereof
CN116431282A (en) Cloud virtual host server management method, device, equipment and storage medium
CN113630457B (en) Task scheduling method and device, computer equipment and storage medium
CN106028311A (en) Terminal register method and device
CN112925595A (en) Resource distribution method and device, electronic equipment and storage medium
CN103248668B (en) Method, device and system for negotiating virtual desktop service parameters

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination