Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making other embodiments all obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides a kind of method configuring RRC and connect the guarantee cycle, and can reduce network-signaling load, as shown in Figure 1, described method comprises:
101, when subscriber equipment runs instant messaging service, base station obtains the average traffic flow of instant messaging service.
Wherein, the average traffic flow of instant messaging service is the service traffics of instant messaging service and the ratio of during cycle.In embodiments of the present invention, during cycle can be configured in advance by base station, and also can be configured in advance by subscriber equipment, the embodiment of the present invention does not limit.Such as, during cycle can be 3 seconds, 5 seconds or 10 seconds etc.
For the embodiment of the present invention, instant messaging service refers to and can immediately send or the business of receipt message.Such as, instant messaging service can comprise: microblogging business, micro-communication service or Fetion business etc.
102, base station judges whether the average traffic flow of instant messaging service is less than preset threshold value.
Wherein, preset threshold value can be configured in advance by base station, and also can be configured in advance by subscriber equipment, the embodiment of the present invention does not limit.Such as, preset threshold value can be 850 bits per seconds, 12 kilobits per seconds or 500 kilobits per seconds etc.In embodiments of the present invention, the unit of preset threshold value can be flux unit per time unit.
It should be noted that, the unit of the preset threshold value in the embodiment of the present invention is not limited to above-mentioned flux unit per time unit, other any units that may be used for the preset threshold value of the service traffics situation judging instant messaging service are all suitable for the embodiment of the present invention, such as, the unit of preset threshold value can also be flux unit.Particularly, when the unit of preset threshold value is flux unit, base station first in during cycle, can obtain the service traffics of instant messaging service, then judges whether the service traffics of instant messaging service are less than this preset threshold value.
If the average traffic flow of 103 instant messaging services is less than preset threshold value, then base station to be connected corresponding relation between the guarantee cycle according to each instant messaging service with each RRC, determines that the RRC that instant messaging service is corresponding connects the guarantee cycle.
Wherein, RRC connects the guarantee cycle for determining whether the RRC connection that release business is corresponding.Particularly, certain business run as UE connects in the guarantee cycle at the RRC that this business is corresponding, and when not carrying out transfer of data, base station discharges RRC corresponding to this business and connects, thus can save interface-free resources.
For the embodiment of the present invention, each instant messaging service can be previously stored with in base station and be connected corresponding relation between the guarantee cycle with each RRC.In embodiments of the present invention, the cycle sending heartbeat message due to different instant messaging services is different, and the RRC that instant messaging service is corresponding connects the guarantee cycle needs the transmission cycle being greater than heartbeat message, therefore different instant messaging services connects the guarantee cycle to there being different RRC.
104, base station is the instant messaging service that subscriber equipment runs, and configuration RRC connects the guarantee cycle.
For the embodiment of the present invention, by the instant messaging service run for subscriber equipment, in the RRC connection guarantee cycle that configuration is corresponding, to make base station can connect the guarantee cycle according to this RRC, determine whether that discharging RRC corresponding to this instant messaging service connects.
The configuration RRC that the embodiment of the present invention provides connects the method in guarantee cycle, when subscriber equipment runs instant messaging service, first the average traffic flow of instant messaging service is obtained, then judge whether the average traffic flow of instant messaging service is less than preset threshold value, if the average traffic flow of instant messaging service is less than preset threshold value, then to be connected the corresponding relation between the guarantee cycle with each RRC according to each instant messaging service, determine that the RRC that instant messaging service is corresponding connects the guarantee cycle, it is finally the instant messaging service of subscriber equipment operation, configuration RRC connects the guarantee cycle.Be that the unified RRC of all business configuration connects compared with the guarantee cycle with current base station, the embodiment of the present invention to be connected the corresponding relation between the guarantee cycle by each instant messaging service of prestoring with each RRC, the instant messaging service that can run for subscriber equipment, the RRC connection guarantee cycle that configuration is corresponding with it, this RRC connects the transmission cycle that the guarantee cycle is greater than the heartbeat message of instant messaging service, thus the release repeatedly to RRC link corresponding to this instant messaging service and reconstruction can be avoided, and then network-signaling load can be reduced.
As illustrating method shown in Fig. 1, the embodiment of the present invention provides another kind of configuration RRC to connect the method in guarantee cycle, and as shown in Figure 2, described method comprises:
201, base station obtains the QCI of each business difference correspondence that subscriber equipment runs.
For the embodiment of the present invention, service quality rating mark (English full name: QoS Class Identifier, english abbreviation: QCI) value be used for sign be supplied to server data stream (English full name: Service Data Function, english abbreviation: SDF) Packet forwarding behavior, the type of service that different QCI is corresponding different.In embodiments of the present invention, the QCI of business for being greater than or equal to 1, and can be less than or equal to the integer of 9.Such as, when the QCI of business is 1, this business can be conversation class speech business; When the QCI of business is 2, this business can be conversation class video traffic; When the QCI of business is 4, this business can be real-time game business.
202, base station judges whether there is the QCI identical with preset value in the QCI that each business is corresponding respectively.
Wherein, preset value can be 6,8 or 9.In embodiments of the present invention, when the QCI that business is corresponding is 6,8 or 9, this business can be instant messaging service.
Particularly, when the QCI of business is 6, this business can be the video traffic of speech business, live streaming media class or interactive game business etc.; When the QCI of business is 8, this business can be chat service, file-sharing business or video traffic etc. based on transmission control protocol (English full name: Transmission Control Protocol, english abbreviation: TCP); When the QCI of business is 9, this can be chat service, downloading service or electronic mail service etc.
If there is the QCI identical with preset value in the QCI that 203 each business are corresponding respectively, then base station obtains server end slogan corresponding to target service.
Wherein, the QCI that target service is corresponding is identical with preset value.In embodiments of the present invention, multiple target service can be there is, in each business that namely subscriber equipment runs, the QCI that can there is multiple business is identical with preset value, now, base station can obtain multiple target service server end slogan corresponding respectively respectively, and carries out subsequent treatment respectively.
For the embodiment of the present invention, one_to_one corresponding between each different business and each different server port numbers, namely by server end slogan, can determine the server end slogan corresponding with it uniquely.
For the embodiment of the present invention, due to compared with the server end slogan of business, the QCI of business is easier to obtain, therefore only when the QCI of business is preset value, namely only when this business of existence is the possibility of instant messaging service, base station obtains the server end slogan of this business, can reduce and determine that whether business is the complexity of instant messaging service.
204, the server end slogan that base station is corresponding according to target service, determines the type of service of target service.
For the embodiment of the present invention, the corresponding relation between each type of service and each server end slogan in base station, can be previously stored with.
205, base station is according to the type of service of target service, judges whether subscriber equipment runs instant messaging service.
Such as, if the business that subscriber equipment runs comprises: interactive game business and the chat service based on TCP, then base station judges that this subscriber equipment runs instant messaging service; If the business that subscriber equipment runs comprises: interactive game business, chat service based on TCP, conversation class speech business and real-time game business, then base station judges that this subscriber equipment runs instant messaging service; If the business that subscriber equipment runs comprises: conversation class speech business and real-time game business, then base station judges this subscriber equipment off-duty instant messaging service.Wherein, interactive game business and the chat service based on TCP are instant messaging service; Conversation class speech business and real-time game business are non-instant communication service.
For the embodiment of the present invention, instant messaging service refers to and can immediately send or the business of receipt message.Such as, instant messaging service can comprise: microblogging business, micro-communication service or Fetion business etc.
For the embodiment of the present invention, step 201 and step 202 are optional step.In embodiments of the present invention, when not carrying out step 201 and step 202, step 203 can replace with: base station obtains the server end slogan of each business difference correspondence that subscriber equipment runs; Step 204 can replace with: the server end slogan that base station is corresponding respectively according to each business, determines the type of service of each business; Step 205 can replace with: base station, according to the type of service of each business, judges whether subscriber equipment runs instant messaging service.
206, when subscriber equipment runs instant messaging service, base station obtains the average traffic flow of this instant messaging service.
Wherein, the average traffic flow of instant messaging service is the service traffics of this instant messaging service and the ratio of during cycle.In embodiments of the present invention, during cycle can be configured in advance by base station, and also can be configured in advance by subscriber equipment, the embodiment of the present invention does not limit.Such as, during cycle can be 3 seconds, 5 seconds or 10 seconds etc.
207, base station judges whether the average traffic flow of instant messaging service is less than preset threshold value.
Wherein, preset threshold value can be configured in advance by base station, and also can be configured in advance by subscriber equipment, the embodiment of the present invention does not limit.Such as, preset threshold value can be 850 bits per seconds, 12 kilobits per seconds or 500 kilobits per seconds etc.In embodiments of the present invention, the unit of preset threshold value can be flux unit per time unit.
It should be noted that, the unit of the preset threshold value in the embodiment of the present invention is not limited to above-mentioned flux unit per time unit, other any units that may be used for the preset threshold value of the service traffics situation judging instant messaging service are all suitable for the embodiment of the present invention, such as, the unit of preset threshold value can also be flux unit.Particularly, when the unit of preset threshold value is flux unit, base station first in during cycle, can obtain the service traffics of instant messaging service, then judges whether the service traffics of instant messaging service are less than this preset threshold value.
If the average traffic flow of 208 instant messaging services is less than preset threshold value, then base station to be connected corresponding relation between the guarantee cycle according to each instant messaging service with each RRC, determines that the RRC that instant messaging service is corresponding connects the guarantee cycle.
Wherein, RRC connects the guarantee cycle for determining whether the RRC connection that release business is corresponding.Particularly, certain business run as UE connects in the guarantee cycle at the RRC that this business is corresponding, and when not carrying out transfer of data, base station discharges RRC corresponding to this business and connects, thus can save interface-free resources.
For the embodiment of the present invention, each instant messaging service can be previously stored with in base station and be connected corresponding relation between the guarantee cycle with each RRC.In embodiments of the present invention, the cycle sending heartbeat message due to different instant messaging services is different, and the RRC that instant messaging service is corresponding connects the guarantee cycle needs the transmission cycle being greater than heartbeat message, therefore different instant messaging services connects the guarantee cycle to there being different RRC.
For the embodiment of the present invention, in the heartbeat message transmission cycle that base station is corresponding respectively according to each instant messaging service, determine that the RRC that each instant messaging service is corresponding respectively connects the guarantee cycle.Wherein, the RRC connection guarantee cycle is greater than the heartbeat message transmission cycle.
For the embodiment of the present invention, the instant messaging service that subscriber equipment runs, according to the transmission cycle of heartbeat message, sends heartbeat message to base station, with the state making this instant messaging service can keep always online, thus can meet consumers' demand.In the embodiment of the present invention, connect by RRC the transmission cycle that the guarantee cycle is greater than heartbeat message, thus can avoid because instant messaging service sends heartbeat message, and the release repeatedly of the RRC link causing this instant messaging service corresponding and reconstruction.
For the embodiment of the present invention, compared with the data message that sends with instant messaging service, the service traffics shared by heartbeat message that instant messaging service sends are lower, therefore when the average traffic flow of instant messaging service is less than preset threshold value, the data message that instant messaging service sends is less, and the heartbeat message sent is more, now, need to connect the guarantee cycle for this instant messaging service configures suitable RRC, to avoid because instant messaging service sends heartbeat message, and the release repeatedly of the RRC link causing this instant messaging service corresponding and reconstruction.
For the embodiment of the present invention, when the average traffic flow of instant messaging service is greater than preset threshold value, the data message that instant messaging service sends is more, and the heartbeat message sent is less, now, because instant messaging service sends more data message, namely this instant messaging service connects in the guarantee cycle at acquiescence RRC transfer of data, namely can ensure that the RRC that this instant messaging service is corresponding connects and can not discharge, therefore when the average traffic flow of instant messaging service is greater than preset threshold value, according to the acquiescence RRC connection guarantee cycle, base station determines whether that discharging RRC corresponding to this instant messaging service connects, do not need to connect the guarantee cycle for this instant messaging service configures new RRC.
209, base station is the instant messaging service that subscriber equipment runs, and configuration RRC connects the guarantee cycle.
For the embodiment of the present invention, by the instant messaging service run for subscriber equipment, in the RRC connection guarantee cycle that configuration is corresponding, to make base station can connect the guarantee cycle according to this RRC, determine whether that discharging RRC corresponding to this instant messaging service connects.
For the embodiment of the present invention, when subscriber equipment runs multiple instant messaging service, step 206 can be: base station obtains the average traffic flow of multiple instant messaging service.Now, step 207 can be: base station judges, in the average traffic flow of multiple instant messaging service, whether to there is the instant messaging service being less than preset threshold value respectively.Now, step 208 can be: if in the average traffic flow of multiple instant messaging service, there is multiple instant messaging service being less than preset threshold value, then base station to be connected corresponding relation between the guarantee cycle according to each instant messaging service with each RRC, determines that the RRC that multiple instant messaging service is corresponding respectively connects the guarantee cycle.Now, step 209 can be: base station is multiple instant messaging services that subscriber equipment runs, and configures RRC respectively and connects the guarantee cycle.In embodiments of the present invention, for the instant messaging service that each are different, all judge according to unified preset threshold value.
The configuration RRC that the embodiment of the present invention provides connects the method in guarantee cycle, when subscriber equipment runs instant messaging service, first the average traffic flow of instant messaging service is obtained, then judge whether the average traffic flow of instant messaging service is less than preset threshold value, if the average traffic flow of instant messaging service is less than preset threshold value, then to be connected the corresponding relation between the guarantee cycle with each RRC according to each instant messaging service, determine that the RRC that instant messaging service is corresponding connects the guarantee cycle, it is finally the instant messaging service of subscriber equipment operation, configuration RRC connects the guarantee cycle.Be that the unified RRC of all business configuration connects compared with the guarantee cycle with current base station, the embodiment of the present invention to be connected the corresponding relation between the guarantee cycle by each instant messaging service of prestoring with each RRC, the instant messaging service that can run for subscriber equipment, the RRC connection guarantee cycle that configuration is corresponding with it, this RRC connects the transmission cycle that the guarantee cycle is greater than the heartbeat message of instant messaging service, thus the release repeatedly to RRC link corresponding to this instant messaging service and reconstruction can be avoided, and then network-signaling load can be reduced.
Further, the configuration RRC that the embodiment of the present invention provides connects the method in guarantee cycle, due to compared with the server end slogan of business, the QCI of business is easier to obtain, therefore only when the QCI of business is preset value, namely, only when to there is this business be the possibility of instant messaging service, base station obtains the server end slogan of this business, can reduce and determine that whether business is the complexity of instant messaging service; Connect by RRC the transmission cycle that the guarantee cycle is greater than heartbeat message, thus can avoid because instant messaging service sends heartbeat message, and the release repeatedly of the RRC link causing this instant messaging service corresponding and reconstruction; By the instant messaging service run for subscriber equipment, in the RRC connection guarantee cycle that configuration is corresponding, to make base station can connect the guarantee cycle according to this RRC, determine whether that discharging RRC corresponding to this instant messaging service connects.
As the realization to method shown in Fig. 1 and Fig. 2, the embodiment of the present invention additionally provides a kind of device configuring RRC and connect the guarantee cycle, this device can be arranged in base station, for reducing network-signaling load, as shown in Figure 3, described device comprises: acquiring unit 31, judging unit 32, determining unit 33, dispensing unit 34.
Acquiring unit 31, for when subscriber equipment runs instant messaging service, obtains the average traffic flow of instant messaging service.
Wherein, the average traffic flow of instant messaging service is the service traffics of instant messaging service and the ratio of during cycle.
Judging unit 32, for judging whether the average traffic flow of the instant messaging service that acquiring unit 31 obtains is less than preset threshold value.
Determining unit 33, for when judging unit 32 judges that the average traffic flow of instant messaging service is less than preset threshold value, to be connected the corresponding relation between the guarantee cycle with each RRC according to each instant messaging service, to determine that the RRC that instant messaging service is corresponding connects the guarantee cycle.
Dispensing unit 34, for the instant messaging service run for subscriber equipment, the RRC that configuration determining unit 33 is determined connects the guarantee cycle.
Acquiring unit 31, also for obtaining the server end slogan of each business difference correspondence that subscriber equipment runs.
Determining unit 33, also for the server end slogan that each business obtained according to acquiring unit 31 is corresponding respectively, determines the type of service of each business.
Judging unit 32, the type of service of each business also for determining according to determining unit 33, judges whether subscriber equipment runs instant messaging service.
Acquiring unit 31, also for obtaining the QCI of each business difference correspondence that subscriber equipment runs.
Judging unit 32, also for judging whether there is the QCI identical with preset value in the QCI that each business that acquiring unit 31 obtains is corresponding respectively.
Wherein, preset value is 6,8 or 9.
Acquiring unit 31, during specifically for judging to there is the QCI identical with preset value in the QCI that each business is corresponding respectively when judging unit 32, obtains the server end slogan that target service is corresponding.
Wherein, the QCI that target service is corresponding is identical with preset value.
Determining unit 33, the server end slogan that the target service specifically for obtaining according to acquiring unit 31 is corresponding, determines the type of service of target service.
Judging unit 32, specifically for the type of service of target service determined according to determining unit 33, judges whether subscriber equipment runs instant messaging service.
Determining unit 33, also sends the cycle for the heartbeat message corresponding respectively according to each instant messaging service, determines that the RRC that each instant messaging service is corresponding respectively connects the guarantee cycle.
Wherein, the RRC connection guarantee cycle is greater than the heartbeat message transmission cycle.
Further, as shown in Figure 4, described device also comprises: memory cell 41.
Memory cell 41, each RRC determined for storing each instant messaging service and determining unit 33 is connected the corresponding relation between the guarantee cycle.
The configuration RRC that the embodiment of the present invention provides connects the device in guarantee cycle, when subscriber equipment runs instant messaging service, first the average traffic flow of instant messaging service is obtained, then judge whether the average traffic flow of instant messaging service is less than preset threshold value, if the average traffic flow of instant messaging service is less than preset threshold value, then to be connected the corresponding relation between the guarantee cycle with each RRC according to each instant messaging service, determine that the RRC that instant messaging service is corresponding connects the guarantee cycle, it is finally the instant messaging service of subscriber equipment operation, configuration RRC connects the guarantee cycle.Be that the unified RRC of all business configuration connects compared with the guarantee cycle with current base station, the embodiment of the present invention to be connected the corresponding relation between the guarantee cycle by each instant messaging service of prestoring with each RRC, the instant messaging service that can run for subscriber equipment, the RRC connection guarantee cycle that configuration is corresponding with it, this RRC connects the transmission cycle that the guarantee cycle is greater than the heartbeat message of instant messaging service, thus the release repeatedly to RRC link corresponding to this instant messaging service and reconstruction can be avoided, and then network-signaling load can be reduced.
Further, the configuration RRC that the embodiment of the present invention provides connects the device in guarantee cycle, due to compared with the server end slogan of business, the QCI of business is easier to obtain, therefore only when the QCI of business is preset value, namely, only when to there is this business be the possibility of instant messaging service, base station obtains the server end slogan of this business, can reduce and determine that whether business is the complexity of instant messaging service; Connect by RRC the transmission cycle that the guarantee cycle is greater than heartbeat message, thus can avoid because instant messaging service sends heartbeat message, and the release repeatedly of the RRC link causing this instant messaging service corresponding and reconstruction; By the instant messaging service run for subscriber equipment, in the RRC connection guarantee cycle that configuration is corresponding, to make base station can connect the guarantee cycle according to this RRC, determine whether that discharging RRC corresponding to this instant messaging service connects.
It should be noted that, the configuration RRC that provides in the embodiment of the present invention connects other the corresponding descriptions in the device in guarantee cycle corresponding to each unit, the correspondence in reference diagram 1 and Fig. 2 can describe, does not repeat them here.
The device that the configuration RRC that the embodiment of the present invention provides connects the guarantee cycle can realize the above-mentioned embodiment of the method provided, and concrete function realizes the explanation referred in embodiment of the method, does not repeat them here.The configuration RRC that the embodiment of the present invention provides connects method and the device in guarantee cycle, and the instant messaging service configuration RRC gone for as subscriber equipment carries out connects the guarantee cycle, but is not limited only to this.
One of ordinary skill in the art will appreciate that all or part of flow process realized in above-described embodiment method, that the hardware that can carry out instruction relevant by computer program has come, described program can be stored in a computer read/write memory medium, this program, when performing, can comprise the flow process of the embodiment as above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; the change that can expect easily or replacement, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claim.