Data matching method and system
A matching method and data technology, applied in the field of data processing, can solve problems such as inconsistent matching identification, inability to obtain mobile phone services, search for UA, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0033] The applicant found through research that when a mobile phone obtains a mobile phone service, it obtains the mobile phone service by searching for a mobile phone service matching the mobile phone in the mobile phone information database. However, the UA sent by the mobile phone is not the same as the matching identifier stored in the mobile phone information database, so the UA cannot be searched from the database, the UA cannot be recognized, and the mobile service required by the mobile phone cannot be obtained.
[0034] In order to solve the above-mentioned problems, an embodiment of the present invention provides a data matching method. For the flowchart, see figure 1 Shown, including:
[0035] S101: Receive the mobile phone identification UA sent by the mobile phone;
[0036] The UA is carried in the HTTP request header information of the mobile phone browser for transmission. When the header information is received, the UA carried in the header information is extracted...
Embodiment 2
[0051] The first embodiment is to obtain a matching identifier from an existing UA, and then obtain a general description of the matched mobile phone service. The embodiment of the present invention illustrates a specific application, and its specific process is as follows figure 2 Shown, including:
[0052] S201: Receive the UA sent by the mobile phone;
[0053] S202: Obtain a group identifier of the UA, where the group identifier is: a character string combined according to any one of the preset rules among LG, LENOVO, KONKA, and Capitel;
[0054] S203: Refer to the preset correspondence between the group identifier and the regular expression, select the regular expression corresponding to the group identifier, and the selected expression is: (([a-zA-Z\\d]+)( [^a-zA-Z\\d][a-zA-Z]+)([0-9]+)([a-zA-Z\\+]?))
[0055] S204: Use the regular expression to obtain the matching identifier set in the UA;
[0056] If the received UA is: LENOVO-S301 / CMCC_S180 LMP / XMRelease / 2008.11.20 Profile / MI...
Embodiment 3
[0060] The second embodiment describes how to obtain the matching identifier of the UA carrying any combination of characters among LG, LENOVO, KONKA, and Capitel. The embodiment of the present invention introduces another situation: how to obtain the matching identifier when the BENQA is carried in the UA. The flowchart of the data matching method provided by the third embodiment is as follows image 3 Shown, including:
[0061] S301: Receive the UA sent by the mobile phone;
[0062] S302: Obtain a group identifier of the UA, where the group identifier is: a character string combined according to a preset rule of BENQA;
[0063] S303: Referring to the correspondence between the preset group identifier and the regular expression, select the regular expression corresponding to the group identifier, and the selected expression is: (([a-zA-Z\\d]+)( \\\\));
[0064] S304: Use the regular expression to obtain a matching result;
[0065] If the received UA is: BENQ-Athena / 0.1 Profile / MIDP-...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 