CN109670123B - Data processing method and device - Google Patents

Data processing method and device Download PDF

Info

Publication number
CN109670123B
CN109670123B CN201811626363.0A CN201811626363A CN109670123B CN 109670123 B CN109670123 B CN 109670123B CN 201811626363 A CN201811626363 A CN 201811626363A CN 109670123 B CN109670123 B CN 109670123B
Authority
CN
China
Prior art keywords
character
parameter
string
determining
pair
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.)
Active
Application number
CN201811626363.0A
Other languages
Chinese (zh)
Other versions
CN109670123A (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.)
Hangzhou DPtech Information Technology Co Ltd
Original Assignee
Hangzhou DPTech Technologies 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 Hangzhou DPTech Technologies Co Ltd filed Critical Hangzhou DPTech Technologies Co Ltd
Priority to CN201811626363.0A priority Critical patent/CN109670123B/en
Publication of CN109670123A publication Critical patent/CN109670123A/en
Application granted granted Critical
Publication of CN109670123B publication Critical patent/CN109670123B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/71Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer to assure secure computing or processing of information

Abstract

After determining URL to be processed, firstly determining a first character in a parameter character string as a starting character, then determining an identification character closest to the starting character as a first character, then judging whether other identification characters exist in the parameter character string after a separation character closest to the first character, if so, determining the identification character closest to the separation character in the parameter character string after the separation character as a second character, determining the separation character closest to the second character in the parameter character string before the second character as a third character, determining a parameter pair according to the starting character and the third character, re-determining a character after the third character as the starting character, re-determining the parameter pair until all the parameter pairs are determined, and if not, or no separating character exists after the first character, determining the parameter character string as a parameter pair.

Description

Data processing method and device
Technical Field
The present application relates to the field of network communication technologies, and in particular, to a method and an apparatus for data processing.
Background
A Uniform Resource Locator (URL) is a compact representation of the location and access method of a Resource available from the internet, and is the address of a standard Resource on the internet. The URL represents an internet address using characters in American Standard Code for Information exchange (ASCII). The universal format of the URL is "protocol:// username: password @ domain name: port number/directory/file name? Parameter # flag ".
Where the "parameter" part is typically made up of several pairs of parameters. Each pair of parameter pairs is written in the format "parameter name ═ parameter value". The parameter pair is divided into a parameter name part and a parameter value part by using a ═ character as an identifier, and the ═ character is collectively referred to as an identifier character in the text. When the parameter value is not included in the parameter pair, the content of the parameter value part may be omitted. For example, in the parameter pair "a ═ 1", the parameter name a is 1, and in the parameter pair "b ═ b", the parameter name b is null. And, when the 'parameter' section contains a plurality of parameter pairs, each parameter pair is divided with the '&' character as a division character.
Because the content of the part of the 'parameter' in the URL is the configuration parameter submitted to the server by the user, the server executes the service according to the 'parameter' carried in the URL, and therefore the server can be attacked by tampering the 'parameter' in the URL.
In the prior art, in order to defend against such attacks, a device such as a server or a gateway verifies the validity of a "parameter" in a received URL, and executes a corresponding service after the verification is passed. However, since the "parameter" part can carry a plurality of parameter pairs, the parameter pairs in the "parameter" need to be segmented first before verification, so as to perform validity verification for each parameter pair.
Specifically, in the prior art, the "parameter" in the URL is segmented into different parameter pairs by using the "&" character as a separating character. And then sequentially inquiring whether the first character is the ═ character or not from the first character for each parameter pair obtained by segmentation, if so, determining the parameter name and the parameter value in the parameter pair by using the found first ═ character as the identification character (when a plurality of ═ characters exist in the parameter pair, determining the first ═ character as the identification character and other ═ characters as a part of the parameter value), and if not, determining that the parameter pair only has the parameter name. In addition, if no separator character (i.e., "&" character) is found in the "parameter", it is determined that the "parameter" section contains only the parameter name of one parameter pair.
However, when the server is attacked by using the "parameter" of the URL, the parameter value or parameter name in the parameter pair may also include the "&" character, and the method for segmenting the "parameter" in the prior art still has a defect, so the present application provides a new data processing method.
Disclosure of Invention
In view of this, the present application provides a method and an apparatus for data processing, so that the determined parameter pair in the URL is more accurate.
Specifically, the method is realized through the following technical scheme:
a method of data processing, comprising:
determining a first character in a parameter character string carried by a Uniform Resource Locator (URL) to be processed as an initial character;
determining an identification character closest to the initial character from the parameter character string as a first character;
if a separation character exists in the parameter character string after the first character, judging whether other identification characters exist in the parameter character string after the separation character closest to the first character;
if the judgment result is yes, determining an identification character closest to the separation character from the parameter character string after the separation character to be used as a second character, determining a separation character closest to the second character from the parameter character string before the second character to be used as a third character, determining a parameter pair according to the initial character and the third character, and re-determining a character after the third character to be an initial character to re-determine the parameter pair until all parameter pairs in the parameter character string are determined;
and if the judgment result is negative or no separating character exists in the parameter character string after the first character, determining that the parameter character string is a parameter pair.
An apparatus for data processing, comprising:
the positioning module is used for determining a first character in a parameter character string carried by a Uniform Resource Locator (URL) to be processed as an initial character;
the determining module is used for determining an identification character closest to the initial character from the parameter character string as a first character;
a judgment and processing module for judging whether the received signal is correct,
if a separation character exists in the parameter character string after the first character, judging whether other identification characters exist in the parameter character string after the separation character closest to the first character, if so, determining the identification character closest to the separation character from the parameter character string after the separation character to be used as a second character, determining the separation character closest to the second character from the parameter character string before the second character to be used as a third character, determining a parameter pair according to the initial character and the third character, re-determining a character after the third character to be an initial character to re-determine the parameter pair until all parameter pairs in the parameter character string are determined, and if not or no separation character exists in the parameter character string after the first character, the parameter string is determined to be a parameter pair.
According to the technical scheme provided by the application, after the URL to be processed is determined, the first character in the parameter character string is determined as the initial character, then the identification character closest to the initial character is determined as the first character, then whether other identification characters exist in the parameter character string after the separation character closest to the first character is judged, if yes, the identification character closest to the separation character in the parameter character string after the separation character is determined as the second character, the separation character closest to the second character in the parameter character string before the second character is determined as the third character, the parameter pair is determined according to the initial character and the third character, the character after the third character is determined as the initial character, the parameter pair is determined again until all the parameter pairs are determined, and if not, or no separating character exists after the first character, determining the parameter character string as a parameter pair. According to the method, the method for searching the identification characters and the separation characters according to a certain sequence rule is determined according to the Internet standard of the URL configuration parameter pairs, and the parameter pairs in the parameter character string of the URL are determined one by one. Compared with the method of directly dividing the parameter pairs according to the separating character "&" in the prior art, the method avoids the influence on parameter pair determination when the parameter name or the parameter value contains the "&" character, and improves the accuracy of parameter pair determination in the parameter character string.
Drawings
FIG. 1 is a flow chart of data processing shown herein;
FIGS. 2 to 5 are schematic diagrams of the determination process of each character in the determination parameter pair process shown in the present application;
fig. 6 is a data processing apparatus according to the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Referring to fig. 1, fig. 1 is a flowchart of data processing shown in the present application, and the specific process is as follows:
step 101: determining a first character in a parameter character string carried by a Uniform Resource Locator (URL) to be processed as an initial character.
In the embodiment of the present application, the data processing process is a process of determining a parameter pair included in a parameter string in a URL, so that other services can be subsequently executed according to the determined parameter pair (e.g., determining whether the URL is legal, determining a configuration parameter, etc.). Therefore, the device that receives the URL may execute the data processing process by a device such as a server or a gateway, but the present application is not limited to what device is specifically executing the data processing service. For convenience of description, in the following embodiments of the present application, a server is taken as an example to perform the data processing procedure.
Specifically, after receiving the URL to be processed, the server may determine the parameter character string in the URL. And the first character in the parameter character string is used as an initial character, so that the position of the segmentation parameter pair is searched for in the subsequent steps based on the initial character.
The parameter string described in this application is the "parameter" in the URL. That is located in the URL? The character "after the character" # "before the character, so that the start character is specifically in the URL"? "character after character.
For example, assuming a URL https:// www.XXX.com:82/APP1/1.aspxa ═ 1& b ═ 2, the server can determine "? The character after the "character (i.e., the" a "character) is the starting character.
It should be noted that, in the embodiment of the present application, the identification character is specifically an "═ character, and the separator character is specifically an" & "character.
Step 102: and determining the identification character closest to the initial character from the parameter character string as a first character.
Since, if there is a complete parameter pair in the "parameter name ═ parameter value" format in the parameter character string, there must be an identification character (i.e., "═" character) in the parameter character string, in order to determine whether there is a complete parameter pair in the parameter character string, in the embodiment of the present application, the server may determine the identification character closest to the start character and serve as the first character. Thereby avoiding the situation where a direct search for a separator character (i.e., "&" character) results in a segmentation error so that subsequent steps can search for a separator character from the first character.
Specifically, the server may search for an identifier character in the parameter character string after the start character from the start character in the order from first to last, and determine the first found identifier character as the first character.
For example, assuming that the server determines that the parameter character string of a certain URL is "a ═ 1& b ═ 2&3&4& c ═ 5", after determining that the "a" character is the starting character, the server determines that the "a" character closest to the starting character is the first character by searching in the order from first to last, as shown in fig. 2. Fig. 2 is a schematic diagram of determining a first character provided in the embodiment of the present application. After the server determines that "a" is the initial character, it may determine that the subsequent "═ character is the first character.
In addition, since it is possible that the parameter string does not have the identification character, it indicates that the parameter string only includes the parameter name and does not have the parameter value corresponding to the parameter name, and therefore, if the server finds that the identification character does not exist, the server can directly determine that all the characters of the parameter string are the parameter name of one parameter pair. And, since all the parameter pairs in the URL have been determined, the server may determine the data processing result and perform other services according to all the determined parameter pairs.
Step 103: if a separation character exists in the parameter character string after the first character, judging whether other identification characters exist in the parameter character string after the separation character closest to the first character, if so, executing step 104, and if not, or if not, executing step 105.
In this embodiment, after determining the first character, the server may determine, by two determinations, whether the parameter string after the starting character includes only one parameter pair or includes multiple parameter pairs, if the parameter string includes multiple parameter pairs, perform step 104, and if the parameter string includes only one parameter pair, perform step 105.
It may further continue to determine whether there is a separation character in the parameter string after the first character, if yes, the next determination may be performed, if no, the parameter string after the start character only contains one parameter pair, and step 105 may be performed. And, when there is a separation character in the parameter character string after the first character, the server may further determine whether there are other identifier characters in the parameter character string after the separation character closest to the first character, if so, it indicates that the parameter character string after the start character includes at least two parameter pairs, step 104 is executed, otherwise, it indicates that the parameter character string after the start character includes only one parameter pair, and step 105 is executed.
Specifically, since it has been determined in step 102 that the identification character exists, it can be determined that at least one parameter pair exists in the parameter character string, and the parameter name of the parameter pair is from the starting character to each character before the first character. Then, in step 103, the server may perform a process of determining twice, where the server may first determine whether there is a separating character after the first character, if so, it indicates that the parameter character string after the start character may include at least two parameter pairs, and needs to perform the second determination, otherwise, it indicates that the parameter character string after the start character includes only one parameter pair, and step 105 is performed.
Further, if the server determines that the second determination is needed, it determines whether there are other identifier characters in the parameter string after the separation character closest to the first character, if yes, it determines that the parameter string after the initial character includes at least two parameter pairs, and the parameter string needs to be continuously divided, step 104 is executed, if not, it determines that there are no other parameter pairs in the parameter string, and step 105 is executed.
Continuing with the above example, in the parameter character string "a ═ 1& b ═ 2&3&4& c ═ 5", the server may determine that the first character in the left-to-right sequence is the first character, then determine that there is a separation character after the first character, perform the second determination, and determine that there is still another identification character in the character string after the separation character closest to the first character, then the server performs step 104, as shown in fig. 3.
Fig. 3 is a schematic diagram of the server performing two determinations, where the first character is the 2 nd character, and the 4 th, 8 th, 10 th, and 12 th characters in the character string are all separation characters, so that the server performs the second determination, determines that the separation character closest to the 2 nd character is the 4 th character (dark mark in the figure), and determines whether there are other identification characters after the 4 th character, and then determines that the 6 th and 14 th characters are also identification characters, thereby determining to execute step 104.
Step 104: determining an identification character closest to the separation character from the parameter character string after the separation character to be used as a second character, determining the separation character closest to the second character from the parameter character string before the second character to be used as a third character, determining a parameter pair according to the initial character and the third character, and re-determining a character after the third character to be the initial character to re-determine the parameter pair until all parameter pairs in the parameter character string are determined.
In this embodiment, if the server determines that there are other identifier characters in the parameter string after the separation character closest to the first character, it indicates that there are at least two parameter pairs in the parameter string after the start character, so that the server may determine the content of the parameter pair including the start character first, then re-determine the start character, and repeat the processes of steps 102 and 103 to continue determining the parameter pairs until all the parameter pairs in the parameter string are determined.
Specifically, when determining the content of the parameter pair including the start character, the server may first determine, as the second character, an identifier character closest to the separation character in the parameter string after the separation character in step 103.
Secondly, since the parameter name does not include an identification character in the normal parameter pair, the second character determined can be regarded as an identification character of another parameter pair adjacent to the parameter including the start character. The server may then determine the separator character closest to the second character as the third character from the string of reference characters preceding the second character. The third character is a separation character between the parameter pair corresponding to the second character and the parameter pair corresponding to the first character.
The server may then determine the parameter pair based on determining the starting character, the first character, and the third character. Specifically, the characters from the initial character to the front of the first character in the parameter character string are determined as the parameter names in the parameter pair, and the characters from the rear of the first character to the front of the third character in the parameter character string are determined as the parameter values in the parameter pair.
Finally, because the parameter character string also contains other parameter pairs, the server can determine a character behind the third character as an initial character again, and repeat the steps to determine the parameter pairs again until all the parameter pairs in the parameter character string are determined.
Continuing with the above example, in the parameter character string "a ═ 1& b ═ 2&3&4& c ═ 5", the first character is the 2 nd character, and the server may continue to determine, based on the 4 th character, the identification character closest after the 4 th character, i.e., the 6 th character, as the second character, and then determine the separator character closest before the 6 th character, i.e., the 4 th character, as the third character. As shown in fig. 4, fig. 4 is a schematic diagram of determining the second and third characters by the server according to the embodiment of the present application.
When the second and third characters are determined, the server determines that the characters between the start character "a" to the 2 nd character "═ are the parameter names of the parameter pairs, i.e., the parameter names are" a ", the characters from after the 2 nd character" ═ to before the 4 th character "&" are the parameter values of the parameter pairs, and the parameter values are "1".
Further, the server may re-determine that the character "b" following the 4 th character "&" is a start character, repeat step 102, may re-determine that the 6 th character "&" is a first character, and then determine that there is a separator character after the 6 th character and that there are other identification characters following the separator character closest to the 6 th character, and thus determine to repeatedly perform step 104, re-determine that the identification character (i.e., the 14 th character) following the separator character closest to the 6 th character (i.e., the 8 th character, marked as dark color in fig. 5) is the closest to the separator character, as a second character, re-determine the separator character (i.e., the 12 th character) preceding the 14 th character is the closest to the separator character, as a third character, as shown in fig. 5. Thereby determining the parameter name of the next parameter pair as "b", the parameter value as "2 &3& 4", and so on. Until all parameter pairs are determined.
Step 105: determining the parameter string as a parameter pair.
In this embodiment, if the server determines that there is no other identifier character in the character string after the separation character closest to the first character, or there is no separation character in the parameter character string after the first character, it may be determined that there is only one parameter pair in the parameter character string, and then the server may determine the parameter pair according to the first character.
Specifically, the server may determine that, in the parameter string, characters from the starting character to before the first character are parameter names in a parameter pair, and characters from after the first character are parameter values of the parameter pair.
Continuing with the above example, assuming that in the parameter character string "a ═ 1& b ═ 2&3&4& c ═ 5", the newly determined starting character is "c" (i.e., the 13 th character), the server may determine that the first character is the 14 th character and that no separator character exists after the 14 th character, and may determine that the 13 th character is the parameter name of the parameter pair (i.e., the parameter name is "c") whose parameter value is all characters after the 14 th character (i.e., the parameter value is "5").
Assuming that a certain parameter character string is "abc ═ 2& 3", the server determines that the starting character is the 1 st character (i.e., character "a"), determines that the first character is the 4 th character, a separator character (i.e., the 6 th character) exists after the first character, but judges that no other identification character exists after the separator character, then step 105 is performed, and determines that the characters before the starting character to the first character are parameter names of parameter pairs, i.e., parameter names are "abc", and the characters after the first character are all parameter values, i.e., parameter values are 2& 3.
Further, after the server determines all the parameter pairs of the parameter character string in the URL to be processed, the server may execute subsequent services according to the determined parameter pairs, which is not limited in the present application. For example, whether a parameter pair which does not conform to the writing rule exists can be judged according to the determined parameter pairs, if so, the URL is determined to carry attack parameters, and risk control is required.
According to the technical scheme provided by the application, after the URL to be processed is received, the server can firstly determine that the first character in the parameter character string is the initial character, then determine the identification character closest to the initial character as the first character, then judge the character string behind the separation character closest to the first character, if other identification characters exist, sequentially determining the identification character closest to the separation character as a second character, and determining the separation character closest to the second character in a reverse order as a third character, determining a parameter pair according to the first character and the third character, and re-determining a character behind the third character as an initial character until all the parameter pairs are determined, if not, or no separating character exists behind the first character, determining the parameter pair according to the first character.
It can be seen that the present application determines the parameter pairs in the parameter string of the URL one by looking up the identification characters and the separation characters in a predetermined order. Compared with the method of directly dividing the parameter pairs according to the separating character "&" in the prior art, the method avoids the influence on parameter pair determination when the parameter name or the parameter value contains the "&" character, and improves the accuracy of parameter pair determination in the parameter character string.
Referring to fig. 6, fig. 6 is a data processing apparatus shown in the present application, the apparatus including:
the positioning module 201 determines a first character in a parameter character string carried by a uniform resource locator URL to be processed as an initial character;
a determining module 202, configured to determine, from the parameter character string, an identifier character closest to the starting character as a first character;
a judging and processing module 203, if a separation character exists in the parameter character string after the first character, judging whether other identification characters exist in the parameter character string after the separation character closest to the first character, if so, determining the identification character closest to the separation character from the parameter character string after the separation character as a second character, determining the separation character closest to the second character from the parameter character string before the second character as a third character, determining a parameter pair according to the initial character and the third character, re-determining a character after the third character as an initial character to re-determine the parameter pair until all parameter pairs in the parameter character string are determined, if not, or no separation character exists in the parameter character string after the first character, the parameter string is determined to be a parameter pair.
The determining module 202 determines that all the characters in the parameter character string are parameter names of a parameter pair if no identification character exists in the parameter character string.
The judging and processing module 203 determines that the character in the parameter string from the initial character to the position before the first character is a parameter name in a parameter pair, and determines that the character in the parameter string from the position after the first character to the position before the third character is a parameter value of the parameter pair.
The judging and processing module 203 determines that the character in the parameter string from the initial character to the character before the first character is a parameter name in a parameter pair, and determines that the character in the parameter string from the character after the first character is a parameter value of the parameter pair.
The identification character is "═ in American Standard Code for Information Interchange (ASCII), and the separator character is" & "in ASCII.
The implementation process of the functions and actions of each module in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (6)

1.A method of data processing, comprising:
determining a first character in a parameter character string carried by a Uniform Resource Locator (URL) to be processed as an initial character;
determining an identification character ═ closest to the initial character from the parameter character string as a first character;
if the separation character "&" exists in the parameter character string after the first character, judging whether other identification characters "&" exist in the parameter character string after the separation character "&" closest to the first character;
if the judgment result is yes, determining an identification character "&" nearest to the separation character "&" from the parameter character string after the separation character "&" as a second character, determining a separation character "&" nearest to the second character from the parameter character string before the second character as a third character, determining a parameter pair according to the starting character and the third character, and re-determining a character after the third character as a starting character to re-determine the parameter pair until all parameter pairs in the parameter character string are determined; if the judgment result is negative or no separating character "&" exists in the parameter character string after the first character, determining that the parameter character string is a parameter pair;
the determining a parameter pair according to the starting character and the third character includes:
and determining that the characters from the initial character to the front of the first character in the parameter character string are parameter names in parameter pairs, and the characters from the rear of the first character to the front of the third character are parameter values of the parameter pairs.
2. The method of claim 1, further comprising:
and if the parameter character string does not have the identifier character ═ yes, determining that all characters in the parameter character string are the parameter name of one parameter pair.
3. The method according to claim 1, wherein determining the parameter string as a parameter pair comprises:
determining the characters from the initial character to the front of the first character in the parameter character string as parameter names in parameter pairs; and
and determining the characters following the first character in the parameter character string as the parameter values of the parameter pair.
4. An apparatus for data processing, comprising:
the positioning module is used for determining a first character in a parameter character string carried by a Uniform Resource Locator (URL) to be processed as an initial character;
the determining module is used for determining an identification character ═ closest to the initial character from the parameter character string to be used as a first character;
a judging and processing module, if there is a separation character "&" in the parameter character string after the first character, judging whether there are other identification characters "&" in the parameter character string after the separation character "&" nearest to the first character, if so, determining the identification character "&" nearest to the separation character "&" in the parameter character string after the separation character "&" as a second character, and determining the separation character "&" nearest to the second character as a third character in the parameter character string before the second character, and determining a parameter pair according to the start character and the third character, re-determining the next character after the third character as a start character to re-determine the parameter pair until all the parameter pairs in the parameter character string are determined, if the judgment result is negative or no separating character "&" exists in the parameter character string after the first character, determining that the parameter character string is a parameter pair;
the judging and processing module determines that the character from the initial character to the front of the first character in the parameter character string is the parameter name of the parameter pair, and the character from the back of the first character to the front of the third character is the parameter value of the parameter pair.
5. The apparatus of claim 4, wherein the determining module determines that all characters in the parameter string are parameter names of a parameter pair if no identifier character exists in the parameter string.
6. The apparatus of claim 4, wherein the determining and processing module determines that a character in the parameter string preceding the first character from the start character is a parameter name in a parameter pair, and determines that a character in the parameter string following the first character is a parameter value in the parameter pair.
CN201811626363.0A 2018-12-28 2018-12-28 Data processing method and device Active CN109670123B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811626363.0A CN109670123B (en) 2018-12-28 2018-12-28 Data processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811626363.0A CN109670123B (en) 2018-12-28 2018-12-28 Data processing method and device

Publications (2)

Publication Number Publication Date
CN109670123A CN109670123A (en) 2019-04-23
CN109670123B true CN109670123B (en) 2021-02-26

Family

ID=66147471

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811626363.0A Active CN109670123B (en) 2018-12-28 2018-12-28 Data processing method and device

Country Status (1)

Country Link
CN (1) CN109670123B (en)

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4573432B2 (en) * 1998-02-13 2010-11-04 マイクロソフト コーポレーション Word classification method in kanji sentences
US9330093B1 (en) * 2012-08-02 2016-05-03 Google Inc. Methods and systems for identifying user input data for matching content to user interests
CN103530336B (en) * 2013-09-30 2017-09-15 北京奇虎科技有限公司 The identification equipment and method of Invalid parameter in uniform resource position mark URL
US10445393B2 (en) * 2016-05-31 2019-10-15 Bootstrap Collective LLC System and method of creating and processing semantic URL
CN108319589B (en) * 2018-03-14 2021-08-10 腾讯科技(深圳)有限公司 Parameter string processing method, device, computer readable storage medium and equipment

Also Published As

Publication number Publication date
CN109670123A (en) 2019-04-23

Similar Documents

Publication Publication Date Title
CN109951289B (en) Identification method, device, equipment and readable storage medium
CN109951435B (en) Equipment identifier providing method and device and risk control method and device
CN107302527B (en) Equipment anomaly detection method and device
CN106126383B (en) A kind of log processing method and device
US10536456B2 (en) Method and system for identifying user information in social network
JP2009017298A (en) Data analysis apparatus
WO2014042962A1 (en) Determining additional information associated with geographic location information
CN107066303B (en) Firmware comparison method and device
CN112118249B (en) Security protection method and device based on log and firewall
CN111368289A (en) Malicious software detection method and device
CN111404768A (en) DPI recognition realization method and equipment
CN105049546B (en) A kind of Dynamic Host Configuration Protocol server is the method and device of client distribution IP address
CN110233821B (en) Detection and safety scanning system and method for network space of intelligent equipment
CN111447226A (en) Method and device for detecting DNS hijacking
CN112751804A (en) Method, device and equipment for identifying counterfeit domain name
CN109670123B (en) Data processing method and device
CN112583827B (en) Data leakage detection method and device
EP3790260B1 (en) Device and method for identifying network devices in a nat based communication network
CN109525478B (en) SSL VPN connection method and device
CN111506834A (en) Method and device for pushing rights and interests resource information, storage medium and terminal
CN105991373B (en) A kind of application protocol recognition methods and device
CN108683670B (en) Malicious traffic identification method and system based on website application system access
CN109391626B (en) Method and related device for judging whether network attack result is unsuccessful
CN111079144B (en) Virus propagation behavior detection method and device
CN107864127B (en) Application program identification method and device

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
TR01 Transfer of patent right

Effective date of registration: 20210616

Address after: 310051 05, room A, 11 floor, Chung Cai mansion, 68 Tong Xing Road, Binjiang District, Hangzhou, Zhejiang.

Patentee after: Hangzhou Dip Information Technology Co.,Ltd.

Address before: 6 / F, Zhongcai building, 68 Tonghe Road, Binjiang District, Hangzhou City, Zhejiang Province

Patentee before: Hangzhou DPtech Technologies Co.,Ltd.

TR01 Transfer of patent right