Encoding and decoding method and system for IP national mapping information
A technology for mapping information and national information, applied in the field of encoding and decoding methods and systems for IP country mapping information, can solve the problems of occupying more memory, large quantity, and high cost of offline IP geolocation services, achieving a high degree of automation and high efficiency , the effect of improving the download speed
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0029] Such as figure 1 As shown, the present application provides a method for encoding and decoding IP country mapping information, wherein the method includes:
[0030] S100: Obtain the first country information mapping table and the first IP country mapping information;
[0031] Specifically, the first country information mapping table refers to a mapping table containing a plurality of country information, which is recorded as: Country Table, and the mapping between country information is realized through the mapping table without mathematical calculation, which improves the data Processing speed, wherein, the country information is exemplarily such as: country name, country geographic location and other information. Further, such as Figure 5 As shown, multiple country information in the first country information mapping table are separated by line breaks, and each country information includes the ISO-3166-1 standard country code code, the country ISO-639 standard en E...
Embodiment 2
[0086] Based on the same inventive concept as the method for encoding and decoding IP country mapping information in the foregoing embodiments, such as Image 6 As shown, the present application provides a codec system for IP country mapping information, wherein the system includes:
[0087] A first obtaining unit 11, the first obtaining unit 11 is configured to obtain a first country information mapping table and a first IP country mapping information;
[0088] The second obtaining unit 12, the second obtaining unit 12 is configured to obtain a first IP segment node set and a first country name information set according to the first IP country mapping information, wherein the first IP segment node set Points correspond one-to-one to the first country name information;
[0089] A third obtaining unit 13, the third obtaining unit 13 is configured to sort the first IP segment nodes and obtain a first sorting result;
[0090] A first input unit 14, configured to sequentially in...
Embodiment 3
[0116] Based on the same inventive concept as the method for encoding and decoding IP country mapping information in the foregoing embodiments, the present application also provides a computer-readable storage medium, on which a computer program is stored, and the computer program is processed When the device is executed, the method as in Embodiment 1 is realized.
[0117] Exemplary electronic device
[0118] Refer below Figure 7 To describe the electronic device of this application.
[0119]Based on the same inventive concept as the encoding and decoding method of IP country mapping information in the foregoing embodiments, the present application also provides an electronic device, including: a processor, the processor is coupled with a memory, and the memory is used to store A program, when the program is executed by the processor, causes the system to execute the steps of the method in the first embodiment.
[0120] The electronic device 300 includes: a processor 302 ,...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com