CN110034976A - A kind of method and device of data identification - Google Patents

A kind of method and device of data identification Download PDF

Info

Publication number
CN110034976A
CN110034976A CN201910277604.3A CN201910277604A CN110034976A CN 110034976 A CN110034976 A CN 110034976A CN 201910277604 A CN201910277604 A CN 201910277604A CN 110034976 A CN110034976 A CN 110034976A
Authority
CN
China
Prior art keywords
data
application
packet
network
vop
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.)
Granted
Application number
CN201910277604.3A
Other languages
Chinese (zh)
Other versions
CN110034976B (en
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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201910277604.3A priority Critical patent/CN110034976B/en
Publication of CN110034976A publication Critical patent/CN110034976A/en
Priority to PCT/CN2020/079697 priority patent/WO2020207205A1/en
Application granted granted Critical
Publication of CN110034976B publication Critical patent/CN110034976B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Mining & Analysis (AREA)
  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the present application discloses a kind of data and knows method for distinguishing and device, and method includes: to obtain the network packet of application;Obtain the qualified target packet in the network packet of the application;Read the user datagram payload data for including in the target packet;Extract the numerical value of the predeterminated position in the user datagram payload data;If the numerical value of the predeterminated position extracted is standard figures, it is determined that the target packet is the VoP of the application.Whether the embodiment provided through the invention can accurately determine terminal currently in voice scene.

Description

A kind of method and device of data identification
Technical field
This application involves technical field of electronic equipment, and in particular to a kind of method and device of data identification.
Background technique
Under the tide of mobile Internet, voice service technology is applied in every field in continuous mature and development, It brings great convenience to people's life.
For example, in field of play, the introducing of voice service technology brings bigger enjoyment and convenient ditch to player Logical service.However hand trip currently on the market voice can occur and lose word, Caton, unclear because the problems such as such as unstable networks It is clear, user experience is seriously affected, requirement is not able to satisfy.
In order to solve unstable networks bring phonetic problem, the real-time perfoming network optimization in the case where determining voice scene is needed How (for example reselecting network) therefore determines whether terminal is currently particularly important in voice scene.
Summary of the invention
The embodiment of the present application provides a kind of data and knows method for distinguishing and terminal, passes through and extracts the datagram payload The corresponding numerical value of predeterminated position in data;Determine whether target packet is VoP.The skill provided through the invention Whether art scheme can accurately determine terminal currently in voice scene.
In a first aspect, the embodiment of the present application provides a kind of data knowledge method for distinguishing, which comprises
Obtain the network packet of application;
Obtain the qualified target packet in the network packet of the application;
Read the user datagram payload data for including in the target packet;
Extract the numerical value of the predeterminated position in the user datagram payload data;
If the numerical value of the predeterminated position extracted is standard figures, it is determined that the target packet is the application VoP.
Second aspect, this application provides a kind of terminal, the terminal includes:
Acquiring unit, for obtaining the network packet of application;
The acquiring unit is also used to obtain the qualified target packet in the network packet of the application;
Reading unit, for reading the user datagram payload data for including in the target packet;
Extraction unit, for extracting the numerical value of the predeterminated position in the user datagram payload data;
Determination unit, if the numerical value of the predeterminated position for extraction is standard figures, it is determined that the target data Packet is the VoP of the application.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, including processor, memory, communication interface and One or more programs, wherein said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned It manages device to execute, above procedure is included the steps that for executing the instruction in the embodiment of the present application first aspect either method.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, wherein above-mentioned computer-readable Storage medium storage is used for the computer program of electronic data interchange, wherein above-mentioned computer program executes computer such as Step some or all of described in the embodiment of the present application first aspect either method.
5th aspect, the embodiment of the present application provide a kind of computer program product, wherein above-mentioned computer program product Non-transient computer readable storage medium including storing computer program, above-mentioned computer program are operable to make to calculate Machine executes the step some or all of as described in the embodiment of the present application first aspect either method.The computer program product It can be a software installation packet.
As can be seen that obtaining the network packet of application in the embodiment of the present application;Obtain the network packet of the application In qualified target packet;Read the user datagram payload data for including in the target packet;It mentions Take the numerical value of the predeterminated position in the user datagram payload data;If the numerical value of the predeterminated position extracted is mark Quasi- numerical value, it is determined that the target packet is the VoP of the application.The embodiment provided through the invention, can Voice data is effectively identified, and then certain network can be taken excellent when network fluctuation occur leads to sound effect difference Change measure guarantees that user enjoys stable, good online game experience.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of hardware structural diagram of data identification means provided by the embodiments of the present application;
Fig. 2 is the flow diagram that a kind of data provided by the embodiments of the present application know method for distinguishing;
Fig. 3 is the flow diagram that another data provided by the embodiments of the present application know method for distinguishing;
Fig. 4 is the flow diagram that another data provided by the embodiments of the present application know method for distinguishing;
Fig. 5 is a kind of structural schematic diagram of mobile terminal provided by the embodiments of the present application;
Fig. 6 is the structural schematic diagram of another mobile terminal provided by the embodiments of the present application;
Fig. 7 is the structural schematic diagram of another mobile terminal provided by the embodiments of the present application;
Fig. 8 is a kind of physical structure schematic diagram of mobile terminal provided by the embodiments of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall in the protection scope of this application.
The description and claims of this application and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing Different objects, are not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, it is intended that It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap Include other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Data identification means involved by the embodiment of the present application can be have data transmission capabilities and voice recording and The electronic equipment of ability to play, the electronic equipment may include the various hands with communication function and voice recording and ability to play Holding equipment, wearable device, calculates equipment or is connected to other processing equipments of radio modem mobile unit, and Various forms of user equipmenies (User Equipment, UE), mobile station (Mobile Station, MS), terminal device (terminal device) etc..
It describes in detail below to the embodiment of the present application.
Referring to Fig. 1, Fig. 1 is the hardware structural diagram of data identification means provided in an embodiment of the present invention.Data are known Other device 100 include at least one microphone 101, communication network 102, speech recognition device 103, processor 104, memory 105, Communication interface 106 and one or more program, one or more programs are stored in memory 105, and be configured by Processor 104 executes, and program includes the steps that the instruction of the data identification method with following any embodiment.Wherein, when operation, User propagandas directed to communicate to microphone 101, and signal comes into communication network 102 from microphone 101, passes to speech recognition device 103.Voice is known Other device 103 analyzes the voice signal and sends processor 104 to, and after being handled by processor 104, Lai Zhihang is stored in memory Program instruction corresponding with the voice signal in 105.Wherein, equipment 100 can be server apparatus, be also possible to terminal Equipment.Memory 105 can be high speed RAM memory, be also possible to stable memory (non-volatile memory), Such as magnetic disk storage, memory 105 optionally can also be the storage device independently of aforementioned processor 104.Communication interface 106 may include optionally standard wireline interface and wireless interface (such as Wireless Fidelity WI-FI interface).
Referring to Fig. 2, Fig. 2 is that the embodiment of the present application provides a kind of flow diagram of data knowledge method for distinguishing, application In electronic equipment;As shown, notebook data knowledge method for distinguishing includes:
S201, the network packet for obtaining application;
For example, which can be game application, instant messaging application program, online chatting application program Deng.
Wherein, the network packet for obtaining application, comprising: obtain network packet;The network packet that will acquire It is matched with the network packet of the application program;If successful match, the network packet is answered labeled as described With the network packet of program.
Wherein, the network packet for obtaining application, further includes: obtain network data flow;Wherein, the network data Every data stream in stream can correspond to an interface in mobile phone terminal;Obtain subscriber identity information corresponding to the interface;To institute Subscriber identity information is stated to be verified;If being proved to be successful, network packet corresponding to subscriber identity information is labeled as institute State the network packet of application program.
It is understood that can be verified by the matched mode of subscriber identity information.For example, if user If carrying out game, then mark relevant to the user can be stored in the database of the game;It can will store in game The mark of user is matched with the subscriber identity information obtained, illustrates to be proved to be successful if successful match.It for example, can be with It is the mark or the pet name etc. of role in the login account or game of game, herein with no restrictions.When above-mentioned user identity is believed Breath may also be stored in the corresponding file of game.
It should be pointed out that mainly being matched by the information in network data flow with the information in game to determine and be It is no to have game unlatching.Optionally, it is also possible to the game identifier installed in the mark and terminal by game in matched data stream To determine whether game running.If successful match, by the data flow with the game identifier successful match installed in terminal It is identified as the network data of application.Wherein, the mark of the application program can be the title of application, sequence number or apply in official The information that can be identified for that its identity in side.
Wherein it is possible to understand, determining five-tuple (source IP (Internet Protocol, an internet protocol View), source port number, destination IP, destination slogan, protocol type) can determine a data stream, every data stream is in mobile phone terminal An interface can be corresponded to, this interface can be associated with a subscriber identity information again, so wanting to determine the network data obtained Whether packet is the network packet applied, and can pass through and compare the corresponding subscriber identity information of network packet obtained and application Whether corresponding subscriber identity information matches, and determines that the network packet obtained is the network packet of application if matching.
Wherein, before the acquisition network data flow, the method also includes: by the data transmission channel, receive The network packet encapsulated according to application layer protocol.
S202, qualified target packet in the network packet of the application is obtained;
Wherein, the qualified target packet in the network packet of the application is obtained, is specifically included: identification institute State the discrepancy data in the network data of application program;Wherein, the discrepancy data is to have voice defeated in the period The network data flow of the application program entered has more than every in the network data flow for the application program that no voice inputs Data packet;The discrepancy data is defined as VoP.
It should be pointed out that the process of the identification of discrepancy data is will the data comprising voice and the number not comprising voice According to the process to compare.Such as first network data be user carry out voice during extract, the second network data be with What family did not carry out extracting during voice.So first network data and the second network data are compared and analyzed Determine discrepancy data.
For example, when carrying out network data analysis, first in this period of acquisition voice beginning and end Network data, the difference existing for network data when not having a voice input that compares this segment data ratio.If this period, ratio did not had language Sound 16 data packets much more per second when input, then that for finding 16 data packets per second is just VoP.
Wherein it is possible to understand, terminal can obtain the data packet after carrying out voice input by program crawl log Crawl.
Wherein, user can record the time for the time and end that voice starts.For example, user can carry out When voice input and terminate to carry out screenshot when voice input, user is got by the time-labeling on the picture of interception and carries out language The period of sound input.
For example, be also possible to by monitoring game during microphone opening and closing process determine voice open and The time of closing.
For example, it is also possible to true by the time corresponding to the process of microphone acquisition sound during monitoring game The time that attribute sound opens and closes.For example the working condition of microphone can be monitored;Carry out sound collection and without sound The state of acquisition is different.
S203, the user datagram payload data for including in the target packet is read;
Wherein, the user datagram payload data is UDP Payload.Wherein, UDP is User Datagram The abbreviation of Protocol, Chinese name are User Datagram Protocol, are that (Open System Interconnection is opened OSI The interconnection of formula system) a kind of connectionless transport layer protocol in reference model.Payload is payload data.Wherein, it recites The part data of information.Usually when transmitting data, in order to keep data transmission more reliable, initial data batchwise transfer, And certain auxiliary information is all added in the head and tail of every batch of data, such as the size of this batch of data amount, check bit etc., It is equivalent in this way to initial data adds some housings in batches, these housings play marked effect, so that initial data is not It is easy to be lost.Batch of data adds its " housing ", is formed transmission unit basic in transmission channel, be called data frame or Data packet (some places data frame and data packet be not identical concept such as network transmission).Record information in these data frames Initial data be exactly payload data, i.e. payload data.
The corresponding numerical value of predeterminated position in S204, the extraction user datagram payload data;
Wherein it is possible to understand, the corresponding number of predeterminated position extracted in the datagram payload data Before value, the method also includes: obtain the history VoP of user;Using machine learning algorithm to the history voice Data packet is trained, to obtain the standard figures in the user datagram payload data;Wherein, the standard figures Position in the user datagram payload data is the predeterminated position.
In addition, it is necessary to which, it is noted that eigen is using machine learning algorithm to comprising VoP or voice data Stream carries out machine learning analysis to determine the general character or rule of VoP or audio data stream.Such as all voice data The default position of some of packet is fixed value.
So, subsequent to identify whether network data flow is voice data according to the general character of the VoP or rule Stream, the operation of adaptability can be carried out according to judging result.For example, if it is VoP, then monitor at this time network whether Stablize (for example whether signal strength is greater than preset signal strength), if unstable, searches in preset range with the presence or absence of letter Number intensity is greater than the network of preset signal strength, and signal strength is greater than the network of preset signal strength if it exists, then switches to this Signal strength is greater than the network of preset signal strength to guarantee the effect of voice.
Wherein, in the embodiment of the present invention, machine learning algorithm can be calculated for sorting algorithm, bayesian algorithm, supervised learning Method, two points of K mean cluster algorithms and gradient promote tree algorithm, furthermore can further include multivariate logistic regression algorithm etc..
If S205, the corresponding numerical value of the predeterminated position are the standard figures, it is determined that the target packet is institute State the VoP of application.
Wherein, after the determination target packet is the VoP of the application, the method also includes: The VoP identified is marked.
Wherein, it should be pointed out that mark information can be used for feeding back the correct efficiency of transmission of VoP;Such as opposite end After receiving markd VoP, the quantity that feedback reception arrives can be carried out according to prefixed time interval;So The device feedback quantity received and the quantity being marked sent in the corresponding period can be matched with Obtain matching degree;Judge whether matching degree is greater than preset matching degree;If more than preset matching degree, then illustrate that network is unobstructed;Conversely, It then determines target network (network that signal strength is greater than preset signal strength), and switches over to the target network to guarantee Communication is smooth.
Wherein, the method also includes: if in preset duration it is unidentified go out the VoP, prompt the user whether The standard figures are verified.
For example, if there are the inputs of game voice by user, but in 1 minute, corresponding game is not identified VoP then prompts user to obtain the first history VoP, wherein the first history VoP can be difference In the history VoP obtained before.For example, can be history VoP in different time periods or to increase The VoP of history voice data.The first history VoP is trained using machine learning algorithm, to obtain The first standard figures in the user datagram payload data.Journey is applied to above-mentioned using the first obtained standard figures Sequence network data are identified, if having identified game VoP in preset duration, more by original preset data It is newly the first standard figures.Original historical data packet is marked, subsequent lookup wherein problem is facilitated.Meanwhile by first Storage is marked in the data of historical data packet.
For another example, if in preset duration it is unidentified go out the game VoP, redefine user carry out voice The period of input, and obtain the VoP in the period;Judge whether the quantity of the VoP obtained is big In preset quantity;If more than preset quantity;Then using machine learning or clustering method again to the VoP of acquisition to instruction Practice to determine the characteristic value for being used for tagged speech data packet;And this feature value is labeled as standard figures.That is, before When determining standard figures accuracy rate fails to meet the requirements, the VoP of preset quantity can be reacquired;And using again The VoP of acquisition determines the standard figures of VoP.
Further, the characteristic value of reacquisition can be matched with predetermined characteristic value, if it is different, then will The characteristic value of reacquisition is determined as object feature value.If two characteristic values are identical, the characteristic value before continuing to continue to use.? That is when discrimination is not high, the method that can be trained by machine learning determines new standard figures, and by new mark Whether quasi- numerical value is matched with old standard figures, expired with the old standard figures of determination.If expired, replace, to protect Hold subsequent recognition efficiency and accuracy rate.
Wherein it is possible to understand, the method also includes if discovery, which is worked as, is gone through when the standard figures are verified After history data packet increases data, obtained standard figures are more accurate, then in subsequent standards numerical value training process, increase to going through The restriction of history data volume, that is, rote learning training can be carried out by reaching preset data amount.
Wherein it is possible to understand, the method also includes being obtained before after verification obtains the first standard figures Standard figures preservation is marked, after preset duration, if the first standard figures are relatively accurate always, by what is obtained before Standard figures are deleted.If in preset time, there are problems when being matched for the first standard figures, then before preferentially transferring Obtained standard figures are matched.
As can be seen that obtaining the qualified number of targets in the network packet of the application in the embodiment of the present application According to packet;Read the user datagram payload data for including in the target packet;It is effective to extract the user datagram The numerical value of predeterminated position in load data;If the numerical value of the predeterminated position extracted is standard figures, it is determined that the mesh Mark the VoP that data packet is the application.During the technical solution provided through the invention can effectively be determined to apply VoP, so as to accurately determine whether terminal is currently in voice scene.
Referring to Fig. 3, Fig. 3 is a kind of flow diagram of the method for radio roaming provided by the embodiments of the present application, this nothing Line roaming method include:
S301, network data flow is obtained;Wherein, every data stream in the network data flow can correspond to one in mobile phone terminal A interface;
S302, the first subscriber identity information corresponding to the interface is obtained;
S303, by the second user identity information in the first subscriber identity information of the acquisition and the game database It is matched;
S304, when successful match, network data flow corresponding to the first subscriber identity information by successful match is corresponding Network packet be labeled as the application network packet;
S305, the network packet for obtaining application;
S306, qualified target packet in the network packet of the application is obtained;
S307, the user datagram payload data for including in the target packet is read;
S308, the numerical value for extracting predeterminated position in the datagram payload data;
If the numerical value of S309, the predeterminated position is the standard figures, it is determined that the target packet is voice number According to packet.
In addition, relevant description or explanation can refer to upper figure and state embodiment.
As can be seen that first carrying out the knowledge of the network data of application program before carrying out speech recognition in the embodiment of the present application Not, the identification of voice data is carried out again according to the network data of the application identified.The embodiment provided through the invention, can By extracting the corresponding numerical value of predeterminated position in the datagram payload data;Determine the VoP whether be VoP.Whether the technical solution provided through the invention can accurately determine terminal currently in voice scene.
Referring to Fig. 4, Fig. 4 is the flow diagram that a kind of data provided by the embodiments of the present application know method for distinguishing, this nothing Line roaming method include:
S401, the network packet for obtaining application;
S402, qualified target packet in the network packet of the application is obtained;
User datagram payload data in S403, the reading target packet;
S404, the history VoP for obtaining user;
S405, the history VoP is trained using machine learning algorithm, to obtain the user data Report the standard figures in payload data;
Wherein, position of the standard figures in the user datagram payload data is the predeterminated position.
S406, the numerical value for extracting predeterminated position in the datagram payload data;
If S407, the corresponding numerical value of the predeterminated position are the standard figures, it is determined that the target packet is language Sound data packet.
As can be seen that being instructed in the embodiment of the present application using history VoP of the machine learning algorithm to user Practice, carries out the identification of voice data again according to the standard figures trained.The embodiment provided through the invention, can be by mentioning Take the corresponding numerical value of predeterminated position in the datagram payload data;Determine whether the target packet is voice number According to packet.Whether the technical solution provided through the invention can accurately determine terminal currently in voice scene.
Fig. 5 is the functional unit composition block diagram of mobile terminal 500 involved in the embodiment of the present application.Mobile terminal includes Following functions unit:
Acquiring unit 501, for obtaining the network packet of application;
The acquiring unit 501 is also used to obtain the qualified target data in the network packet of the application Packet;
Reading unit 502, for reading the user datagram payload data for including in the target packet;It extracts Unit 503, for extracting the numerical value of the predeterminated position in the user datagram payload data;Determination unit 504, is used for If the numerical value of the predeterminated position extracted is standard figures, it is determined that the target packet is the voice data of the application Packet.
Wherein, acquiring unit 501, reading unit 502, extraction unit 503 and determination unit 504 can be used for executing implementation Method described in step 201-204 in example 2 specifically describes description of the detailed in Example 1 to the method, and details are not described herein.
Fig. 6 is the functional unit composition block diagram of mobile terminal 600 involved in the embodiment of the present application.Mobile terminal includes Following functions unit:
Acquiring unit 601, for obtaining network data flow;Wherein, every data stream in the network data flow is in hand Generator terminal can correspond to an interface;
Acquiring unit 601 is also used to obtain the first subscriber identity information corresponding to the interface;
Matching unit 602, for by second in the first subscriber identity information of the acquisition and the game database Subscriber identity information is matched;
Marking unit 603 is used for the network corresponding to the first subscriber identity information by successful match when successful match Packet marking is the network packet of the application;
Acquiring unit 601 is also used to obtain the network packet of application;
Acquiring unit 601 is also used to obtain the qualified target packet in the network packet of the application;
Reading unit 604, for reading the user datagram payload data for including in the target packet;
Extraction unit 605, for extracting the numerical value of the predeterminated position in the datagram payload data;
Determination unit 606, if being the standard figures for the corresponding numerical value of the predeterminated position, it is determined that the target Data packet is VoP.
Wherein, acquiring unit 601, matching unit 602, marking unit 603, reading unit 604, extraction unit 605 and really Order member 606 can be used for executing method described in step 301-309 in embodiment 3, specifically describe detailed in Example 3 to described The description of method, details are not described herein.
Fig. 7 is the functional unit composition block diagram of mobile terminal 700 involved in the embodiment of the present application.Mobile terminal includes Following functions unit:
Acquiring unit 701, for obtaining the network packet of application;
Acquiring unit 701, the qualified target packet in network packet for obtaining the application;
Reading unit 702, for reading the user datagram payload data in the target packet;
Acquiring unit 701, for obtaining the history VoP of user;
Training unit 703, for being trained using machine learning algorithm to the history VoP, to obtain State the standard figures in user datagram payload data;
Wherein, position of the standard figures in the user datagram payload data is the predeterminated position.
Extraction unit 704 is also used to extract the corresponding numerical value of predeterminated position in the datagram payload data;
Determination unit 705, if being the standard figures for the corresponding numerical value of the predeterminated position, it is determined that the target Data packet is VoP.
In addition, it is necessary to which, it is noted that the explanation of relational language or feature in the present embodiment can refer to above method implementation The content of example.
Wherein, it should be pointed out that above-mentioned acquiring unit 701, reading unit 702, acquiring unit 703, training unit 704, extraction unit 705 and determination unit 706 can be used for executing method characteristic described in S401-S407.
Referring to Fig. 8, Fig. 8 is a kind of structural schematic diagram of mobile terminal 800 provided by the embodiments of the present application, as schemed institute To show, the movement 800 includes application processor 810, memory 820, communication interface 830 and one or more programs 821, In, one or more of programs 821 are stored in above-mentioned memory 820, and are configured by above-mentioned application processor 810 It executes, one or more of programs 821 include the instruction for executing following steps:
Obtain the network packet of application;
Obtain the qualified target packet in the network packet of the application;
Read the user datagram payload data for including in the target packet;
Extract the numerical value of the predeterminated position in the user datagram payload data;
If the numerical value of the predeterminated position extracted is standard figures, it is determined that the target packet is the application VoP.
Optionally, the network packet for obtaining application, the step further include: obtain network packet;It will acquire Network packet matched with the network packet of the application program;If successful match, by the network packet Labeled as the network packet of the application program.
Optionally, before the acquisition network packet, the step further include:
By the data transmission channel, the network packet encapsulated according to application layer protocol is received.
Optionally, the qualified target packet in the network packet for obtaining the application, specifically It include: the discrepancy data in the network data for identify the application program;Wherein, the discrepancy data is the period Network data flow of the network data flow for the application program for inside thering is voice to input than the application program that no voice inputs In every data packet having more;The discrepancy data is defined as VoP.
Optionally, described before the corresponding numerical value of predeterminated position extracted in the datagram payload data Step further include:
Obtain the history VoP of user;
The history VoP is trained using machine learning algorithm, it is effective to obtain the user datagram Standard figures in load data;Wherein, position of the standard figures in the user datagram payload data is The predeterminated position.
Optionally, the step further include: if the unidentified VoP out in preset duration, prompts user to be It is no that the standard figures are verified.
Optionally, after the determination target packet is VoP, the method also includes: to identifying The VoP be marked.
It is above-mentioned that mainly the scheme of the embodiment of the present application is described from the angle of method side implementation procedure.It is understood that , in order to realize the above functions, it comprises execute the corresponding hardware configuration of each function and/or software mould for electronic equipment Block.Those skilled in the art should be readily appreciated that, in conjunction with each exemplary unit of embodiment description presented herein And algorithm steps, the application can be realized with the combining form of hardware or hardware and computer software.Some function actually with Hardware or computer software drive the mode of hardware to execute, the specific application and design constraint item depending on technical solution Part.Professional technician can specifically realize described function to each using distinct methods, but this reality Now it is not considered that exceeding scope of the present application.
The embodiment of the present application can carry out the division of functional unit according to above method example to electronic equipment, for example, can With each functional unit of each function division of correspondence, two or more functions can also be integrated in a processing unit In.Above-mentioned integrated unit both can take the form of hardware realization, can also realize in the form of software functional units.It needs It is noted that be schematical, only a kind of logical function partition to the division of unit in the embodiment of the present application, it is practical real It is current that there may be another division manner.
The embodiment of the present application also provides a kind of computer storage medium, wherein computer storage medium storage is for electricity The computer program of subdata exchange, the computer program make computer execute any as recorded in above method embodiment Some or all of method step, above-mentioned computer include electronic equipment.
The embodiment of the present application also provides a kind of computer program product, and above-mentioned computer program product includes storing calculating The non-transient computer readable storage medium of machine program, above-mentioned computer program are operable to that computer is made to execute such as above-mentioned side Some or all of either record method step in method embodiment.The computer program product can be a software installation Packet, above-mentioned computer includes electronic equipment.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because According to the application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily the application It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of said units, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.
Above-mentioned unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer-readable access to memory.Based on this understanding, the technical solution of the application substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of each embodiment above method of the application Step.And memory above-mentioned includes: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory May include: flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and Embodiment is expounded, the description of the example is only used to help understand the method for the present application and its core ideas; At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the application There is change place, in conclusion the contents of this specification should not be construed as limiting the present application.

Claims (10)

1. a kind of data know method for distinguishing, which is characterized in that the described method includes:
Obtain the network packet of application;
Obtain the qualified target packet in the network packet of the application;
Read the user datagram payload data for including in the target packet;
Extract the numerical value of the predeterminated position in the user datagram payload data;
If the numerical value of the predeterminated position extracted is standard figures, it is determined that the target packet is the voice of the application Data packet.
2. the method according to claim 1, wherein the network packet for obtaining application, comprising:
Obtain network packet;
The network packet that will acquire is matched with the network packet of the application;
If successful match, the network packet is labeled as to the network packet of the application.
3. according to the method described in claim 2, it is characterized in that, the method is also wrapped before the acquisition network packet It includes:
By the data transmission channel, the network packet encapsulated according to application layer protocol is received.
4. method according to any one of claims 1 to 3, which is characterized in that the network packet for obtaining the application In qualified target packet, specifically include:
Identify the discrepancy data in the network data of the application;Wherein, the discrepancy data is to have in the period The network data flow of the application program of voice input is more every than in the network data flow for the application program that no voice inputs The data packet that item has more;
The discrepancy data is defined as VoP.
5. the method according to claim 1, wherein pre- in the extraction datagram payload data If before the corresponding numerical value in position, the method also includes:
Obtain the history VoP of user;
The history VoP is trained using machine learning algorithm, to obtain the user datagram payload Standard figures in data;Wherein, position of the standard figures in the user datagram payload data is described Predeterminated position.
6. the method according to claim 1, wherein the method also includes:
If the unidentified VoP out, prompts the user whether to verify the standard figures in preset duration.
7. the method according to claim 1, wherein the determination target packet is the language of the application After sound data packet, the method also includes:
The VoP identified is marked.
8. a kind of terminal, which is characterized in that the terminal includes:
Acquiring unit, for obtaining the network packet of application;
The acquiring unit is also used to obtain the qualified target packet in the network packet of the application;
Reading unit, for reading the user datagram payload data for including in the target packet;
Extraction unit, for extracting the numerical value of the predeterminated position in the user datagram payload data;
Determination unit, if the numerical value of the predeterminated position for extraction is standard figures, it is determined that the target packet is The VoP of the application.
9. a kind of terminal, which is characterized in that described including processor, memory, communication interface, and one or more programs One or more programs are stored in the memory, and are configured to be executed by the processor, and described program includes using In the instruction for executing the step in the method according to claim 1 to 7.
10. a kind of computer readable storage medium, which is characterized in that storage is used for the computer program of electronic data interchange, In, the computer program makes computer execute the method according to claim 1 to 7.
CN201910277604.3A 2019-04-08 2019-04-08 Data identification method and device Active CN110034976B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201910277604.3A CN110034976B (en) 2019-04-08 2019-04-08 Data identification method and device
PCT/CN2020/079697 WO2020207205A1 (en) 2019-04-08 2020-03-17 Data recognition method, and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910277604.3A CN110034976B (en) 2019-04-08 2019-04-08 Data identification method and device

Publications (2)

Publication Number Publication Date
CN110034976A true CN110034976A (en) 2019-07-19
CN110034976B CN110034976B (en) 2021-06-15

Family

ID=67237750

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910277604.3A Active CN110034976B (en) 2019-04-08 2019-04-08 Data identification method and device

Country Status (2)

Country Link
CN (1) CN110034976B (en)
WO (1) WO2020207205A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020207205A1 (en) * 2019-04-08 2020-10-15 Oppo广东移动通信有限公司 Data recognition method, and terminal
CN112132227A (en) * 2020-09-30 2020-12-25 石家庄铁道大学 Bridge train load action time interval extraction method and device and terminal equipment
CN113645678A (en) * 2020-04-27 2021-11-12 阿里巴巴集团控股有限公司 Data message sending and receiving methods, network distribution method, related device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102340426A (en) * 2010-07-26 2012-02-01 中国移动通信集团重庆有限公司 Method and device for evaluating voice quality of voice over Internet protocol (VOIP)
CN104409080A (en) * 2014-12-15 2015-03-11 北京国双科技有限公司 Voice end node detection method and device
US20150078372A1 (en) * 2013-09-18 2015-03-19 Imagination Technologies Limited Voice Data Transmission With Adaptive Redundancy
CN108196814A (en) * 2017-12-28 2018-06-22 广东欧珀移动通信有限公司 Pronunciation inputting method and Related product

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8085775B1 (en) * 2006-07-31 2011-12-27 Sable Networks, Inc. Identifying flows based on behavior characteristics and applying user-defined actions
CN102025636B (en) * 2010-12-09 2012-09-05 北京星网锐捷网络技术有限公司 Message feature processing method and device as well as network equipment
CN102045363B (en) * 2010-12-31 2013-10-09 华为数字技术(成都)有限公司 Establishment, identification control method and device for network flow characteristic identification rule
CN102340454B (en) * 2011-11-10 2017-10-31 中国人民解放军重庆通信学院 A kind of universal identification method of voip network data flow
CN102932817B (en) * 2012-10-10 2015-02-25 福建星网锐捷网络有限公司 Method and device for recognizing voice stream and wireless access equipment
EP2811707B1 (en) * 2013-06-07 2020-12-16 Airbus Defence and Space Limited Efficient transmission of voice data between voice gateways in packet-switched networks
CN110034976B (en) * 2019-04-08 2021-06-15 Oppo广东移动通信有限公司 Data identification method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102340426A (en) * 2010-07-26 2012-02-01 中国移动通信集团重庆有限公司 Method and device for evaluating voice quality of voice over Internet protocol (VOIP)
US20150078372A1 (en) * 2013-09-18 2015-03-19 Imagination Technologies Limited Voice Data Transmission With Adaptive Redundancy
CN104409080A (en) * 2014-12-15 2015-03-11 北京国双科技有限公司 Voice end node detection method and device
CN108196814A (en) * 2017-12-28 2018-06-22 广东欧珀移动通信有限公司 Pronunciation inputting method and Related product

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020207205A1 (en) * 2019-04-08 2020-10-15 Oppo广东移动通信有限公司 Data recognition method, and terminal
CN113645678A (en) * 2020-04-27 2021-11-12 阿里巴巴集团控股有限公司 Data message sending and receiving methods, network distribution method, related device and system
CN113645678B (en) * 2020-04-27 2023-01-03 阿里巴巴集团控股有限公司 Data message sending and receiving methods, network distribution method, related device and system
CN112132227A (en) * 2020-09-30 2020-12-25 石家庄铁道大学 Bridge train load action time interval extraction method and device and terminal equipment
CN112132227B (en) * 2020-09-30 2024-04-05 石家庄铁道大学 Bridge train load action time course extraction method and device and terminal equipment

Also Published As

Publication number Publication date
CN110034976B (en) 2021-06-15
WO2020207205A1 (en) 2020-10-15

Similar Documents

Publication Publication Date Title
CN111865815B (en) Flow classification method and system based on federal learning
CN110034976A (en) A kind of method and device of data identification
CN110364142B (en) Speech phoneme recognition method and device, storage medium and electronic device
CN110335592B (en) Speech phoneme recognition method and device, storage medium and electronic device
CN109450733B (en) Network terminal equipment identification method and system based on machine learning
CN110460488B (en) Service flow identification method and device, and model generation method and device
CN106357416A (en) Group information recommendation method, device and terminal
CN109299742A (en) Method, apparatus, equipment and the storage medium of automatic discovery unknown network stream
CN101287010A (en) Method and apparatus for identifying and verifying type of message protocol
CN108134816A (en) Access to the data on remote equipment
CN113825129A (en) Industrial internet asset mapping method under 5G network environment
CN110489519B (en) Session method based on session prediction model and related products
CN106027801A (en) Method and device for processing communication message and mobile device
CN106356056B (en) Audio recognition method and device
CN109951430A (en) A kind of data processing method and device
CN109145588B (en) Data processing method and device
CN106941576B (en) A kind of information input method and its call terminal, cloud server
CN109429262A (en) A kind of detection method of hot spot, the network equipment and computer readable storage medium
CN107329584A (en) A kind of word input processing method, mobile terminal and computer-readable recording medium
CN113440856B (en) Method and device for identifying abnormal account number in game, electronic equipment and storage medium
CN112820273B (en) Wake-up judging method and device, storage medium and electronic equipment
CN113383360B (en) Content pushing method, device, server side and storage medium
CN104158884B (en) Voice communication method based on mobile internet
CN107992501A (en) Social network information recognition methods, processing method and processing device
CN115884088A (en) Method and device for determining equipment position information and electronic equipment

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
GR01 Patent grant
GR01 Patent grant