CN108882275A - A kind of data processing method and device - Google Patents

A kind of data processing method and device Download PDF

Info

Publication number
CN108882275A
CN108882275A CN201710344353.7A CN201710344353A CN108882275A CN 108882275 A CN108882275 A CN 108882275A CN 201710344353 A CN201710344353 A CN 201710344353A CN 108882275 A CN108882275 A CN 108882275A
Authority
CN
China
Prior art keywords
exception type
data
target
parameter
packet
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
CN201710344353.7A
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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment Co 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201710344353.7A priority Critical patent/CN108882275A/en
Publication of CN108882275A publication Critical patent/CN108882275A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/0082Monitoring; Testing using service channels; using auxiliary channels
    • H04B17/0087Monitoring; Testing using service channels; using auxiliary channels using auxiliary channels or channel simulators
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/06Testing, supervising or monitoring using simulated traffic

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a kind of data processing method and device, wherein the method includes:Base station receives target data, and the corresponding target configuration parameter of target data is obtained from the preset configuration parameter of configuration interface, and the configuration parameter is for analog link abnormal conditions;According to the target configuration parameter, determine that corresponding Exception Type, the Exception Type include at least packet loss Exception Type, time delay Exception Type, shake Exception Type and out-of-order Exception Type;Abnormal simulation process is carried out to target data according to the Exception Type, obtains abnormal data;Send the abnormal data.The cost of the network transmission situation of simulation outfield base station is thus greatly reduced, while simplifying simulated operation;And after receiving target data, abnormal simulation process is carried out to target data automatically, improves the efficiency of simulation outfield base station network status transmission.

Description

A kind of data processing method and device
Technical field
The present invention relates to fields of communication technology, more particularly to a kind of data processing method and a kind of data processing equipment.
Background technique
With the continuous development of mobile communication technology and terminal technology, while mobile terminal is commonly used, in order to The fluency that user uses mobile network is improved, base station is also continuous therewith to be increased.
In order to guarantee the stability of network between base station, before the newly-built vertical base station in outfield or base station index optimization is carried out When, it usually needs first in the scene of internal field simulation outfield base station network transmission, test the network performance of each base station.The prior art In, it, can not since the scene of simulation is fairly simple, response delay is shorter etc. when simulating the scene of outfield base station network transmission Simulate the various abnormal conditions such as time delay, packet loss etc. that data between over-the-counter base station are transmitted.If desired simulation outfield is really different Reason condition is then needed to use network harm instrument, is required between any two base station using a network harm instrument, for example, existing When there are 32 X2 links of a base station while being communicated, then 32 network harm instrument are needed;So that in experiment indoor simulation At high cost and cumbersome, the low efficiency of the scene of outfield base station network transmission.
Summary of the invention
The embodiment of the present invention is the technical problem to be solved is that a kind of data processing method is provided, to solve in the prior art In the at high cost, cumbersome of internal field simulation outfield base station network transmitting scene, and the problem of low efficiency.
Correspondingly, the embodiment of the invention also provides a kind of data processing equipment, to guarantee the above method realization and Using.
To solve the above-mentioned problems, it the invention discloses a kind of data processing method, specifically includes:Base station receives number of targets According to, and the corresponding target configuration parameter of target data is obtained from the preset configuration parameter of configuration interface, the configuration parameter is For analog link abnormal conditions;According to the target configuration parameter, corresponding Exception Type, the Exception Type packet are determined Include packet loss Exception Type, time delay Exception Type, shake Exception Type and out-of-order Exception Type;According to the Exception Type to target Data carry out abnormal simulation process, obtain abnormal data;Send the abnormal data.
Optionally, include the step of acquisition target configuration parameter from configuration interface preset configuration parameter:According to described in The corresponding link of target data and/or corresponding transport protocol match the mesh from the preset configuration parameter of configuration interface Mark the corresponding target configuration parameter of data.
Optionally, the configuration parameter includes:Packet loss parameter, delay parameter, jitter parameter and out-of-order parameter;According to described in The step of Exception Type carries out abnormal simulation process to target data, obtains abnormal data, including:When Exception Type is that packet loss is different When normal type, the data packet of corresponding number is rejected from target packet according to packet loss parameter, and by remaining target packet As abnormal data;When Exception Type is time delay Exception Type, the transmission delay of target packet is determined according to delay parameter, And using the target packet with transmission delay as abnormal data;When Exception Type is out-of-order Exception Type, according to out-of-order Parameter adjusts the transmission sequence of target packet, and send the target packet of sequence as abnormal data modulated haircut;When different When normal type is shake Exception Type, according to the transmission interval of jitter parameter adjustment target packet, and by it is modulated haircut send between Every target packet as abnormal data;Wherein, the target packet is by being packaged to target data.
Optionally, when Exception Type is time delay Exception Type, the step of sending the abnormal data, includes:According to described Transmission delay sends the abnormal data;When Exception Type is shake Exception Type, the step of sending the abnormal data packet It includes:Corresponding data packet in the abnormal data is sent according to transmission interval.
Optionally, the index and/or historical data according to the base station presets the configuration ginseng of the configuration interface Number.
The embodiment of the invention also discloses a kind of data processing equipments, specifically include:Module is obtained, receives mesh for base station Data are marked, and obtain the corresponding target configuration parameter of target data, the configuration parameter from the preset configuration parameter of configuration interface It is for analog link abnormal conditions;Determining module, for determining corresponding exception class according to the target configuration parameter Type, the Exception Type include packet loss Exception Type, time delay Exception Type, shake Exception Type and out-of-order Exception Type;Processing Module obtains abnormal data for carrying out abnormal simulation process to target data according to the Exception Type;Sending module is used In the transmission abnormal data.
Optionally, the acquisition module is specifically used for according to the corresponding link of the target data and/or corresponding transmission Agreement matches the corresponding target configuration parameter of the target data from the preset configuration parameter of configuration interface.
Optionally, the configuration parameter includes:Packet loss parameter, delay parameter, jitter parameter and out-of-order parameter;The processing Module includes:First abnormality processing submodule, for when Exception Type is packet loss Exception Type, according to packet loss parameter from target The data packet of corresponding number is rejected in data packet, and using remaining target packet as abnormal data;Second abnormality processing Module, for when Exception Type is time delay Exception Type, determining the transmission delay of target packet according to delay parameter, and will Target packet with transmission delay is as abnormal data;Third abnormality processing submodule, for being random ordering when Exception Type When Exception Type, according to the transmission sequence of out-of-order parameter adjustment target packet, and modulated haircut is sent to the target data of sequence Packet is used as abnormal data;4th abnormality processing submodule is used for when Exception Type is shake Exception Type, according to jitter parameter The transmission interval of target packet is adjusted, and modulated haircut send the target packet at interval as abnormal data;Wherein, the mesh Marking data packet is by being packaged to target data.
Optionally, the sending module includes:First data sending submodule, for being time delay exception class when Exception Type When type, the abnormal data is sent according to the transmission delay;Second data sending submodule, for being shake when Exception Type When Exception Type, corresponding data packet in the abnormal data is sent according to transmission interval.
Optionally, configuration module is pre-configured with the configuration for the index and/or historical data according to the base station The configuration parameter at interface.
Compared with prior art, the embodiment of the present invention includes following advantages:
A kind of method of data processing provided in an embodiment of the present invention is applied in base station, receives in the base station When capable, downlink target data, the corresponding target configuration parameter of target data is obtained from the preset configuration parameter of configuration interface; Wherein, the configuration parameter is for analog link abnormal conditions;Again according to target configuration parameter, corresponding exception class is determined Type, the Exception Type include packet loss Exception Type, time delay Exception Type, shake Exception Type and out-of-order Exception Type;Foundation The Exception Type carries out abnormal simulation process to target data, obtains abnormal data;Then the abnormal data is sent.From And in the application layer of link according to configuration parameter, abnormal simulation process is carried out to target data, to simulate outfield base station in internal field Network transmission various situations, greatly reduce internal field simulation outfield base station network transmission situation cost, while letter Operation is changed;In addition, carry out abnormal simulation process after receiving target data to target data automatically, it is outer to improve simulation The efficiency of field base station network status transmission.
Detailed description of the invention
Fig. 1 is a kind of step flow chart of data processing method embodiment of the invention;
Fig. 2 is a kind of step flow chart of data processing method embodiment of the invention;
Fig. 3 is a kind of structural block diagram of data processing equipment embodiment of the invention;
Fig. 4 is a kind of structural block diagram of data processing equipment embodiment of the invention.
Specific embodiment
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, with reference to the accompanying drawing and specific real Applying mode, the present invention is described in further detail.
One of the core concepts of the embodiments of the present invention is that base station passes through answering in link after receiving target data With layer, abnormal simulation process is carried out to received target data according to target configuration parameter, carrys out simulated target data exterior chain on the scene Situation is really transmitted in road, is greatly reduced the cost of the network transmission situation of internal field simulation outfield base station, is simplified simultaneously Operation;In addition, carrying out abnormal simulation process by automatic target data, simulation outfield base station network transmission state is improved Efficiency.
For the ease of the explanation to subsequent embodiment, above-mentioned link is introduced.In the embodiment of the present invention, base station with It is communicated between base station by X2 interface, establishes X2 link when being communicated between two base stations;Base station and core net it Between by S1 interface communication, S1 link is established when base station and core net are communicated.Wherein, 32 X2 chains are supported in each base station Road, 16 S1 links.
Referring to Fig.1, a kind of step flow chart of data processing method embodiment of the invention is shown, can specifically include Following steps:
Step 101, base station receive target data, and obtain target data from the preset configuration parameter of configuration interface and correspond to Target configuration parameter, the configuration parameter is for analog link abnormal conditions.
In the embodiment of the present invention, base station can be communicated respectively with other base stations, core net and mobile terminal;Therefore, Base station can receive target data from other base stations, core net and mobile terminal;Wherein, the target data includes business number According to and signaling data, the received any data in base station can be used as target data.Base station is after receiving target data, in order to simulate The various abnormal conditions of over-the-counter base station link, can obtain the corresponding target of target data from the preset configuration parameter of configuration interface Configuration parameter, then corresponding processing is carried out to target data according to the target configuration parameter, to simulate target data process Data after the true link transmission in outfield;Wherein, the configuration interface is the configuration interface in link application layer;On configuration circle The preset configuration parameter in face be for analog link abnormal conditions, it is corresponding with true kind of abnormal conditions of outfield link, such as when Prolonging abnormal corresponding configuration parameter is delay parameter.It can be each link independence preset configuration parameter in the embodiment of the present invention, it can also Think each transport protocol independence preset configuration parameter, wherein the link includes X2 link and S1 link.
Step 102, according to the target configuration parameter, determine that corresponding Exception Type, the Exception Type include packet loss Exception Type, time delay Exception Type, shake Exception Type and out-of-order Exception Type.
Step 103 carries out abnormal simulation process to target data according to the Exception Type, obtains abnormal data.
In the embodiment of the present invention, the true link abnormal conditions in outfield include a variety of such as time delays, packet loss, shake, random ordering Deng;The different abnormal conditions of the true link in outfield correspond to different Exception Types, in the embodiment of the present invention, the exception class Type includes:Packet loss Exception Type, time delay Exception Type, shake Exception Type and out-of-order Exception Type;In addition, it can include its His Exception Type, it is numerous to list herein.Shadow of the different Exception Types to the data transmitted in the true link in outfield Difference is rung, for example, delay occurs for the time that base station receives data, base station sends data when link is time delay Exception Type Time postpone;When link is packet loss exception, the quantity of the received data packet in base station is less than by sending before link The quantity of data packet etc..In the embodiment of the present invention, the preset configuration parameter of configuration interface is according to the practical abnormal feelings of link Condition setting, it can be different Exception Types, preset corresponding configuration parameter;Therefore, base station is obtaining target configuration parameter Afterwards, corresponding Exception Type can be determined according to target configuration parameter, then according to the corresponding target configuration parameter of Exception Type, to mesh It marks data and carries out corresponding abnormal simulation process, to obtain abnormal data.For example, target configuration parameter is the percentage of packet loss Than can then determine that the Exception Type of link is packet loss Exception Type, then be carried out according to the percentage of packet loss to target data Processing, obtains corresponding abnormal data.In the embodiment of the present invention, different Exception Types carries out at abnormal simulation target data The mode of reason is different, for example, target data is being packaged into multiple target packets when Exception Type is packet loss Exception Type Afterwards, the data packet of corresponding number can be filtered out from target packet according to the percentage of packet loss, and deleted;It will delete again pair The target packet of data packet is answered to be determined as abnormal data.In the embodiment of the present invention, the Exception Type determining according to configuration parameter It may be a kind of Exception Type, such as time delay Exception Type;It is also likely to be that a variety of Exception Types such as time delay Exception Type and packet loss are different Normal type;It, can be according to the sequence of pre-set abnormal simulation process, successively when determining Exception Type is a variety of Exception Types Target data is handled.
Step 104 sends the abnormal data.
Base station obtains abnormal data after completing to the abnormal simulation process of target data;Retransmit abnormal data.This hair In bright embodiment, when the received target data in base station is from the data of mobile terminal, then needing to send by the link should Therefore data can will be sent to it by link X2 by obtaining abnormal data after carrying out abnormal simulation process to target data His base station;Abnormal data can also be sent to core net by link S1.When the received target data in base station be from core net, its When the received data in his base station, i.e., the described target data be it is received by the link, the abnormal data can be sent to Mobile terminal.
A kind of method of data processing provided in an embodiment of the present invention is applied in base station, receives in the base station When capable, downlink target data, the corresponding target configuration parameter of target data is obtained from the preset configuration parameter of configuration interface; Wherein, the configuration parameter is for analog link abnormal conditions;Again according to target configuration parameter, corresponding exception class is determined Type, the Exception Type include packet loss Exception Type, time delay Exception Type, shake Exception Type and out-of-order Exception Type;Foundation The Exception Type carries out abnormal simulation process to target data, obtains abnormal data;Then the abnormal data is sent.From And in the application layer of link according to configuration parameter, abnormal simulation process is carried out to target data, to simulate outfield base station in internal field Network transmission various situations, greatly reduce internal field simulation outfield base station network transmission situation cost, while letter Operation is changed;In addition, carry out abnormal simulation process after receiving target data to target data automatically, it is outer to improve simulation The efficiency of field base station network status transmission.
In another embodiment of the invention, it can be configured in advance for each link of base station, it can also be in advance for not It is configured with transport protocol;Wherein, the configuration parameter of each link can it is identical can be different, the configuration parameter of each transport protocol can also It is identical can be different;After receiving target data in order to subsequent base stations, corresponding processing is carried out to target data according to configuration parameter. When carrying out abnormal simulation process to target data, different Exception Types can determine according to different configuration parameters, and not The corresponding processing mode to target data of same Exception Type is different.Below for configuration circle for presetting link application layer The method of the configuration parameter in face and the corresponding abnormal simulation process of multiple and different Exception Types is illustrated.
Referring to Fig. 2, the step flow chart of another data processing method embodiment of the invention is shown, specifically can wrap Include following steps:
Step 201, index and/or historical data according to the base station preset the configuration ginseng of the configuration interface Number.
In the embodiment of the present invention, before base station obtains target data, it can be carried out in advance for each link of the base station Configuration, is arranged corresponding configuration parameter, wherein the configuration parameter of each link may be the same or different;For example, being base station A1 With first group of configuration parameter of link setting such as packet loss parameter of base station A2:0.01%, delay parameter:0, out-of-order parameter:0, it shakes Parameter:0;For second group of configuration parameter of link setting such as packet loss parameter of base station A1 and base station A2:0, delay parameter:100ms, unrest Order parameter:0, jitter parameter:0;Wherein, first group of configuration parameter can also be identical as second group of configuration parameter.Can also be in advance Corresponding configuration parameter is arranged in each transport protocol, wherein the configuration parameter of each transport protocol may be the same or different;Example It such as, can be respectively transport protocol RTP (Real-time Transport Protocol, real-time transport protocol), SCTP (Stream Control Transmission Protocol, Stream Control Transmission Protocol), GTP (GPRS Tunnelling Protocol, GPRS Tunnel Protocol), third group configuration parameter, the 4th group of configuration parameter, the 5th group of configuration parameter is respectively set, This three groups of configuration parameters may be the same or different.Preferably, can also be arranged not for the different transmission directions of same transport protocol Same configuration parameter;For example, configuration parameter can be arranged for the up direction of Real-time Transport Protocol, without setting for the down direction of Real-time Transport Protocol Set configuration parameter.Wherein, when base station receives data from core net, other base stations, and sends the data to mobile terminal, really The transmission direction of the fixed data is downlink;When base station receives data from mobile terminal, and the data are sent to core net, other bases When standing, the transmission direction of the data is determined as uplink.Referring to table 1, in table 1 is provided with to different transport protocols different match Parameter is set, and different configuration parameters is arranged to the different transmission directions of same transport protocol, packet loss ginseng is only listed in table 1 Number, delay parameter and out-of-order parameter.In the embodiment of the present invention, the configuration parameter includes:Packet loss parameter, delay parameter, shake Parameter and out-of-order parameter;It can also include other configuration parameters, a different citing herein.Each link is set in configuration interface Or each transport protocol configuration parameter when, can be configured according to the indices of the base station;It can also be according to the reality of the base station The historical data of survey is configured, to optimize to the base station.
Table 1
Step 202, base station receive target data.
Completed in configuration interface after the configuration parameter of each base station is set, can the outer base station link of simulation yard various exceptions Situation, with testing characteristics of network;At this point, base station can receive downlink data, the business datum sent such as core net, adjacent base station;Also Such as receive core net, the signaling data that adjacent base station is sent;Also it can receive the business datum that upstream data such as mobile terminal is sent.
Step 203, according to the corresponding link of the target data and/or corresponding transport protocol, it is default from configuration interface Configuration parameter in match the corresponding target configuration parameter of the target data.
In the embodiment of the present invention, due to when presetting configuration parameter, being each link, each transport protocol and same biography The different transmission directions of defeated agreement, provided with different configuration parameters;Therefore, after obtaining target data, it may be determined that number of targets According to affiliated link and corresponding transport protocol;With judge chain belonging to target data road whether be provided with configuration parameter, and/ Or, judging whether the corresponding transport protocol of target data is provided with configuration parameter;Judging whether transport protocol is arranged configuration ginseng It is specific to be judged in combination with the transmission direction of target data when number.When determining the corresponding link of target data and/or transmission When agreement is provided with configuration parameter, by the corresponding transmission of the preset configuration parameter and/or target data of target data respective links The corresponding preset configuration parameter of agreement, is determined as target configuration parameter, then step 204 can be performed;When determining that target data is corresponding Link and/or transport protocol, not set configuration parameter when, then follow the steps 212.
Step 204, according to the target configuration parameter, determine corresponding Exception Type.
When determining on the corresponding link of target data and/or transport protocol provided with configuration parameter, configured according to target Parameter determines corresponding Exception Type.When being only configured with packet loss parameter in configuration interface, determine that corresponding Exception Type is to lose Packet Exception Type;When being only configured with delay parameter in configuration interface, determine that corresponding Exception Type is time delay Exception Type;When When being only configured with out-of-order parameter in configuration interface, determine corresponding Exception Type for out-of-order Exception Type;When in configuration interface When being configured with jitter parameter, determine corresponding Exception Type for shake Exception Type.It is more than one when being configured in configuration interface When configuration parameter, then corresponding Exception Type also corresponds to multiple;For example, configuration interface is configured with out-of-order parameter and time delay ginseng Number, then corresponding Exception Type is out-of-order Exception Type and time delay Exception Type.Again according to the Exception Type to target data Abnormal simulation process is carried out, abnormal data is obtained.The step of different abnormal simulation process are carried out to different Exception Types below It is illustrated, referring in particular to step 205- step 208.
Step 205, when Exception Type is packet loss Exception Type, correspondence is rejected from target packet according to packet loss parameter The data packet of quantity, and using remaining target packet as abnormal data.
When determining Exception Type is packet loss Exception Type, the corresponding parameter value of packet loss parameter i.e. packet loss percentage can be obtained Than, and obtain the quantity A that target data is packaged into target packet;Quantity according to packet loss percentage and target packet again A determines the quantity B for needing the data packet rejected.Then the data packet that quantity is B is rejected from target packet, then number of targets It is A-B according to data packet remaining in packet, and using the target packet that quantity is A-B as abnormal data.Wherein, from target data The data packet that rejecting quantity is B in packet can be to be rejected at random, can also be rejected according to pre-set rule.
Step 206, when Exception Type is out-of-order Exception Type, the transmission according to out-of-order parameter adjustment target packet is suitable Sequence, and send the target packet of sequence as abnormal data modulated haircut.
When determining Exception Type is out-of-order Exception Type, the i.e. out-of-order percentage of the corresponding parameter value of out-of-order parameter can be obtained Than, and obtain the quantity C that target data is packaged into target packet;Quantity according to packet loss percentage and target packet again C determines the quantity D for needing to upset the data packet of sequence.Then according to quantity D adjustment target packet in each data packet it is suitable Sequence, wherein the mode of the sequence of each data packet includes a variety of in adjustment target packet, for example, D adjacent data packets are beaten Disorderly sequence;Further for example, D1 adjacent data packet is upset sequence, the sequence of other D2 adjacent data packets is upset 's;And using the target packet after adjustment sequence as abnormal data.
Step 207, when Exception Type be time delay Exception Type when, according to delay parameter determine the transmission of target packet when Prolong, and using the target packet with transmission delay as abnormal data.
When determining Exception Type is time delay Exception Type, the corresponding parameter value of delay parameter is obtained, the parameter value is true It is set to the transmission delay of all target packets;And using the target packet with transmission delay as abnormal data.Then Step 209 is executed, i.e., sends the abnormal data according to transmission delay.
Step 208, when Exception Type be shake Exception Type when, according to jitter parameter adjustment target packet transmission between Every, and send the target packet at interval as abnormal data modulated haircut.
When determining Exception Type to shake Exception Type, the corresponding parameter value of jitter parameter is obtained, according to jitter parameter Corresponding parameter value determines in target packet, needs to adjust the data packet for sending interval.Wherein, it needs to adjust and sends interval Data packet may be all target packets, it is also possible to partial data packet, so that adjacent target packet two-by-two Transmission time interval may be identical, it is also possible to it is different.Send the target packet at interval as abnormal data modulated haircut again, And execute step 210.
In addition, when determine link Exception Type be more than one Exception Type when, can according to pre-set sequence according to Abnormal simulation process is carried out to target packet according to above-mentioned steps, target packet can also be carried out according to above-mentioned steps at random different Normal simulation process then can be according to for example, when Exception Type is packet loss Exception Type, out-of-order Exception Type and time delay Exception Type It is secondary to be handled according to above-mentioned steps 205- step 207.
Step 209 sends the abnormal data according to the transmission delay.
After determining the transmission delay of target packet, the abnormal data can be sent according to transmission delay, wherein abnormal The transmission interval of each data packet is constant in data, and whole time delay is the transmission delay of the determination.For example, base station receives target After data, transmission delay 20ms then sends first data packet of abnormal data after 20 ms, then according to receiving mesh The transmission interval of data is marked, each data packet of abnormal data is successively sent.
Step 210 sends corresponding data packet in the abnormal data according to transmission interval.
When determining the transmission interval of each data packet in target packet, it is right in transmission abnormal data to be spaced according to each transmission The data packet answered.
Step 211 sends the abnormal data.
After executing the step 205 and step 206, step 211 can be directly executed, that is, the abnormal data sent.
Preferably, in the embodiment of the present invention, when abnormal simulation process is not configured in the transmission direction of the target data When function, then without carrying out abnormal simulation process to target data, the target data is directly transmitted.
Preferably, the case where embodiment of the present invention can be with the unexpected suspension of anolog base station and recovery suddenly.
The index and/or historical data according to the base station in advance of the embodiment of the present invention, configures the application layer of the link, So as to simulate the link of different quality, reduces and omit;At the same time it can also configure different match for different transport protocols Parameter is set, the authenticity of the link of simulation is improved, to improve the accuracy of the testing base station performance under simulated environment;And The method can be applied in each agreement and S1 link and X2 link, and versatility is high.
It should be noted that for simple description, therefore, it is stated as a series of action groups for embodiment of the method It closes, but those skilled in the art should understand that, embodiment of that present invention are not limited by the describe sequence of actions, because according to According to the embodiment of the present invention, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art also should Know, the embodiments described in the specification are all preferred embodiments, and the related movement not necessarily present invention is implemented Necessary to example.
Referring to Fig. 4, a kind of structural block diagram of data processing equipment embodiment of the invention, the data processing are shown Module specifically includes:Obtain module 301, determining module 302, processing module 303 and sending module 304, wherein
Module 301 is obtained, receives target data for base station, and obtain number of targets from the preset configuration parameter of configuration interface According to corresponding target configuration parameter, the configuration parameter is for analog link abnormal conditions.
Determining module 302, for determining corresponding Exception Type, the Exception Type according to the target configuration parameter Including packet loss Exception Type, time delay Exception Type, shake Exception Type and out-of-order Exception Type.
Processing module 303 obtains abnormal number for carrying out abnormal simulation process to target data according to the Exception Type According to.
Sending module 304, for sending the abnormal data.
In another embodiment of the present invention, the device further includes:Configuration module 305;The configuration module 305, for the index and/or historical data according to the base station, it is pre-configured with the configuration parameter of the configuration interface.
In the embodiment of the present invention, the configuration parameter includes:Packet loss parameter, delay parameter, jitter parameter and out-of-order parameter; The processing module 303 includes:First abnormality processing submodule 3031, the second abnormality processing submodule 3032, third exception Manage submodule 3033 and the 4th abnormality processing submodule 3034, wherein
First abnormality processing submodule 3031, for when Exception Type be packet loss Exception Type when, according to packet loss parameter from The data packet of corresponding number is rejected in target packet, and using remaining target packet as abnormal data.
Second abnormality processing submodule 3032, for when Exception Type is time delay Exception Type, foundation delay parameter to be true The transmission delay for the data packet that sets the goal, and using the target packet with transmission delay as abnormal data.
Third abnormality processing submodule 3033 is used for when Exception Type is out-of-order Exception Type, according to out-of-order parameter tune The transmission sequence of whole target packet, and send the target packet of sequence as abnormal data modulated haircut.
4th abnormality processing submodule 3034 is used for when Exception Type is shake Exception Type, according to jitter parameter tune The transmission interval of whole target packet, and send the target packet at interval as abnormal data modulated haircut;Wherein, the mesh Marking data packet is by being packaged to target data.
In the embodiment of the present invention, the sending module 304 includes:First data sending submodule 3041 and the first data hair Send submodule 3042, wherein
First data sending submodule 3041 is used for when Exception Type is time delay Exception Type, when according to the transmission The abnormal data is sent in delayed action.
Second data sending submodule 3042 is used for when Exception Type is shake Exception Type, according between the transmission Every corresponding data packet in the transmission abnormal data.
Preferential, the acquisition module 301 is specifically used for according to the corresponding link of the target data and/or corresponding Transport protocol matches the corresponding target configuration parameter of the target data from the preset configuration parameter of configuration interface.
The embodiment of the present invention is matched when the base station receives uplink, the target data of downlink from configuration interface is preset It sets and obtains the corresponding target configuration parameter of target data in parameter;Wherein, the configuration parameter is for analog link exception feelings Condition;Again according to target configuration parameter, determine that corresponding Exception Type, the Exception Type include packet loss Exception Type, time delay Exception Type, shake Exception Type and out-of-order Exception Type;Target data is carried out at abnormal simulation according to the Exception Type Reason, obtains abnormal data;Then the abnormal data is sent.To in the application layer foundation configuration parameter of link, to number of targets According to abnormal simulation process is carried out, to greatly reduce in internal field in the various situations of the network transmission of internal field simulation outfield base station The cost of the network transmission situation of outfield base station is simulated, while simplifying operation;In addition, after receiving target data, automatically Abnormal simulation process is carried out to target data, improves the efficiency of simulation outfield base station network status transmission.
For device embodiment, since it is basically similar to the method embodiment, related so being described relatively simple Place illustrates referring to the part of embodiment of the method.
All the embodiments in this specification are described in a progressive manner, the highlights of each of the examples are with The difference of other embodiments, the same or similar parts between the embodiments can be referred to each other.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present invention can provide as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present invention can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present invention can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
The embodiment of the present invention be referring to according to the method for the embodiment of the present invention, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that flowchart and/or the block diagram can be realized by computer program instructions In each flow and/or block and flowchart and/or the block diagram in process and/or box combination.It can provide these Computer program instructions are set to general purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine, so that being held by the processor of computer or other programmable data processing terminal devices Capable instruction generates for realizing in one or more flows of the flowchart and/or one or more blocks of the block diagram The device of specified function.
These computer program instructions, which may also be stored in, is able to guide computer or other programmable data processing terminal devices In computer-readable memory operate in a specific manner, so that instruction stored in the computer readable memory generates packet The manufacture of command device is included, which realizes in one side of one or more flows of the flowchart and/or block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can also be loaded into computer or other programmable data processing terminal devices, so that Series of operation steps are executed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction executed on computer or other programmable terminal equipments is provided for realizing in one or more flows of the flowchart And/or in one or more blocks of the block diagram specify function the step of.
Although the preferred embodiment of the embodiment of the present invention has been described, once a person skilled in the art knows bases This creative concept, then additional changes and modifications can be made to these embodiments.So the following claims are intended to be interpreted as Including preferred embodiment and fall into all change and modification of range of embodiment of the invention.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, the terms "include", "comprise" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements not only wrap Those elements are included, but also including other elements that are not explicitly listed, or further includes for this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, being wanted by what sentence "including a ..." limited Element, it is not excluded that there is also other identical elements in process, method, article or the terminal device for including the element.
Above to a kind of data processing method provided by the present invention and a kind of data processing equipment, detailed Jie has been carried out It continues, used herein a specific example illustrates the principle and implementation of the invention, and the explanation of above embodiments is only It is to be used to help understand method and its core concept of the invention;At the same time, for those skilled in the art, according to this hair Bright thought, there will be changes in the specific implementation manner and application range, in conclusion the content of the present specification should not manage Solution is limitation of the present invention.

Claims (10)

1. a kind of data processing method, which is characterized in that including:
Base station receives target data, and the corresponding target configuration ginseng of target data is obtained from the preset configuration parameter of configuration interface Number, the configuration parameter is for analog link abnormal conditions;
According to the target configuration parameter, determine that corresponding Exception Type, the Exception Type include packet loss Exception Type, time delay Exception Type, shake Exception Type and out-of-order Exception Type;
Abnormal simulation process is carried out to target data according to the Exception Type, obtains abnormal data;
Send the abnormal data.
2. matching the method according to claim 1, wherein obtaining target from the preset configuration parameter of configuration interface The step of setting parameter include:
According to the corresponding link of the target data and/or corresponding transport protocol, from the preset configuration parameter of configuration interface Match the corresponding target configuration parameter of the target data.
3. the method according to claim 1, wherein the configuration parameter includes:Packet loss parameter, delay parameter, Jitter parameter and out-of-order parameter;
The step of is carried out by abnormal simulation process, obtains abnormal data for target data according to the Exception Type, including:
When Exception Type is packet loss Exception Type, the data of corresponding number are rejected from target packet according to packet loss parameter Packet, and using remaining target packet as abnormal data;
When Exception Type is time delay Exception Type, the transmission delay of target packet is determined according to delay parameter, and will have The target packet of transmission delay is as abnormal data;
When Exception Type is out-of-order Exception Type, according to the transmission sequence of out-of-order parameter adjustment target packet, and will be modulated It haircuts and send the target packet of sequence as abnormal data;
When Exception Type is shake Exception Type, according to the transmission interval of jitter parameter adjustment target packet, and will be modulated It haircuts and send the target packet at interval as abnormal data;
Wherein, the target packet is by being packaged to target data.
4. according to the method described in claim 3, it is characterized in that,
When Exception Type is time delay Exception Type, the step of sending the abnormal data, includes:
The abnormal data is sent according to the transmission delay;
When Exception Type is shake Exception Type, the step of sending the abnormal data, includes:
Corresponding data packet in the abnormal data is sent according to transmission interval.
5. the method according to claim 1, wherein further including:
According to the index and/or historical data of the base station, the configuration parameter of the configuration interface is preset.
6. a kind of data processing method, which is characterized in that including:
Module is obtained, receives target data for base station, and obtain target data from the preset configuration parameter of configuration interface and correspond to Target configuration parameter, the configuration parameter is for analog link abnormal conditions;
Determining module, for determining that corresponding Exception Type, the Exception Type are included at least according to the target configuration parameter Packet loss Exception Type, time delay Exception Type, shake Exception Type and out-of-order Exception Type;
Processing module obtains abnormal data for carrying out abnormal simulation process to target data according to the Exception Type;
Sending module, for sending the abnormal data.
7. device according to claim 6, which is characterized in that
The acquisition module is specifically used for according to the corresponding link of the target data and/or corresponding transport protocol, from configuration The corresponding target configuration parameter of the target data is matched in the preset configuration parameter in interface.
8. device according to claim 6, which is characterized in that the configuration parameter includes at least one of following parameter:It loses Bag parameter, delay parameter, jitter parameter and out-of-order parameter;The processing module includes:
First abnormality processing submodule, for when Exception Type is packet loss Exception Type, according to packet loss parameter from target data The data packet of corresponding number is rejected in packet, and using remaining target packet as abnormal data;
Second abnormality processing submodule, for determining number of targets according to delay parameter when Exception Type is time delay Exception Type According to the transmission delay of packet, and using the target packet with transmission delay as abnormal data;
Third abnormality processing submodule, for adjusting number of targets according to out-of-order parameter when Exception Type is out-of-order Exception Type According to the transmission sequence of packet, and send the target packet of sequence as abnormal data modulated haircut;
4th abnormality processing submodule, for adjusting number of targets according to jitter parameter when Exception Type is shake Exception Type Send the target packet at interval as abnormal data according to the transmission interval of packet, and using modulated haircut;
Wherein, the target packet is by being packaged to target data.
9. device according to claim 8, which is characterized in that the sending module includes:
First data sending submodule, for sending institute according to the transmission delay when Exception Type is time delay Exception Type State abnormal data;
Second data sending submodule, for being spaced according to the transmission and sending institute when Exception Type is shake Exception Type State corresponding data packet in abnormal data.
10. device according to claim 6, which is characterized in that further include:
Configuration module is pre-configured with the configuration ginseng of the configuration interface for the index and/or historical data according to the base station Number.
CN201710344353.7A 2017-05-16 2017-05-16 A kind of data processing method and device Pending CN108882275A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710344353.7A CN108882275A (en) 2017-05-16 2017-05-16 A kind of data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710344353.7A CN108882275A (en) 2017-05-16 2017-05-16 A kind of data processing method and device

Publications (1)

Publication Number Publication Date
CN108882275A true CN108882275A (en) 2018-11-23

Family

ID=64320645

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710344353.7A Pending CN108882275A (en) 2017-05-16 2017-05-16 A kind of data processing method and device

Country Status (1)

Country Link
CN (1) CN108882275A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475359A (en) * 2020-04-13 2020-07-31 腾讯音乐娱乐科技(深圳)有限公司 System testing method, device and storage medium under multi-message interaction scene
CN112141174A (en) * 2020-09-21 2020-12-29 通号城市轨道交通技术有限公司 ZC simulation system and method in VOBC test environment
CN113747256A (en) * 2020-05-29 2021-12-03 北京金山云网络技术有限公司 Abnormal data flow simulation method and device, electronic equipment and storage medium

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512343A (en) * 2016-01-06 2016-04-20 北京京东尚科信息技术有限公司 Method and device for simulating network anomaly and testing automatic switching of database faults

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105512343A (en) * 2016-01-06 2016-04-20 北京京东尚科信息技术有限公司 Method and device for simulating network anomaly and testing automatic switching of database faults

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111475359A (en) * 2020-04-13 2020-07-31 腾讯音乐娱乐科技(深圳)有限公司 System testing method, device and storage medium under multi-message interaction scene
CN113747256A (en) * 2020-05-29 2021-12-03 北京金山云网络技术有限公司 Abnormal data flow simulation method and device, electronic equipment and storage medium
CN112141174A (en) * 2020-09-21 2020-12-29 通号城市轨道交通技术有限公司 ZC simulation system and method in VOBC test environment
CN112141174B (en) * 2020-09-21 2023-01-20 通号城市轨道交通技术有限公司 ZC simulation system and method in VOBC test environment

Similar Documents

Publication Publication Date Title
Kim et al. Flush: a reliable bulk transport protocol for multihop wireless networks
CN108882275A (en) A kind of data processing method and device
CN110120878A (en) The method and apparatus for obtaining link-quality
CN102740342B (en) The analog detection method of Network Management Equipment performance and system
TWI651941B (en) Method for testing data packet signal transceiver using coordinated transmitted data packet signal power
CN112327667B (en) Semi-physical simulation element design method for large-scale unmanned cluster network
CN106612561A (en) Resource indication method, device and system
CN103259696A (en) Network bandwidth detecting method and device and network devices
CN110120846A (en) A kind of clock synchronizing method and system
CN105656800A (en) Method and device for transmitting message
CN106656679A (en) Available bandwidth measurement method and device
CN105099938A (en) Determining method and device of congestion window in network
CN102571286B (en) Method and device for selecting transport format
CN113285851A (en) Method and system suitable for testing network connection performance of power distribution safety equipment
Kokkoniemi-Tarkkanen et al. Enabling safe wireless harbor automation via 5G URLLC
CN106302016A (en) The method and system of low discharge quick obtaining network physical bandwidth
US10728867B2 (en) Interval time control for 5G multi-connectivity
Nikodemski et al. Reproducing measured manet radio performances using the emane framework
US10433403B2 (en) Method for reporting brightness-adjusting data, lighting device, and gateway
RU2019139399A (en) DUPLICATED TRANSMISSION METHOD AND RELATED DEVICE
GB0421114D0 (en) Radio access data packet network and method
CN106161052B (en) Network line selection method and network speed-measuring method
US20200145838A1 (en) Devices and method for the simulation of a mobile telecommunications network
CN115589586B (en) Power distribution 5G communication encryption system and communication encryption method based on Internet of things
CN108012294A (en) A kind of method and device of network switching

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20181123