Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Json format data-based naming matching method

A technology of format data and matching method, applied in the application field, can solve problems such as insufficient data protection and inefficient transmission, and achieve the effect of improving user experience, improving data transmission efficiency, and protecting data

Active Publication Date: 2016-07-27
ZHEJIANG UNIV OF TECH
View PDF4 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In order to overcome the shortcomings of existing naming matching methods, such as inefficient transmission, insufficient data protection, and insufficient user experience, the present invention provides a naming method based on json format data that can effectively protect data, improve data transmission efficiency, and improve user experience. matching method

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Json format data-based naming matching method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The present invention will be further described below in conjunction with the accompanying drawings.

[0025] refer to figure 1 , a naming matching method based on data in json format, comprising the following steps:

[0026] 1) Parameter initialization: set a set of n-layer nested json format data in Indicates the key value of data in json format, Indicates the data key value in json format The corresponding value, n indicates the number of nested layers of json format data, m indicates the number of groups of json format data corresponding to the nth layer, k, p, q, l, λ are used to identify the key and value for distinguishing json format data and {k,p,q,l,λ∈N+|0<k<p<q<l<λ};

[0027] 2) Set the data identification to be matched as Where name is a string formed by concatenating the key value of the data layer from outside to inside, where {l 1 , l k ,l∈N+|01 k 1 ,n k ,n∈N+|01 k 1 ,m k ,m∈N+|01 k <m};

[0028] 3) Split the data identifier to be matc...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a json format data-based naming matching method. The method comprises the following steps: establishing a data source on the basis of n-layer nested json format data, the key value initial of which is capitalized; carrying out setting to ensure that a search key value is formed by a key value of a layer of a to-be-searched value and an own key value in sequence through splicing; splitting the search key value by taking capital letters as separators so as to form a key value array str[n], and carrying out sequential search by taking a result of judging whether the search value is json format data or not as an ending condition, wherein the search frequency is k; finally judging whether k is equal to n, and indicating that to-be-matched data is searched if k is equal to n. The json format data-based naming matching method provided by the invention has the effects of effectively protecting the data, improving the data transmission efficiency and enhancing the user experience.

Description

technical field [0001] The invention relates to application fields such as communication network information, network planning and communication protocols, and in particular to a naming matching method based on JSON format data. Background technique [0002] With the rapid development of informatization and industrialization, the level of informatization of enterprises has been continuously improved, and the unsmooth information exchange has also become a major bottleneck in informatization construction. As an important part of various computer network applications, data exchange has gradually become the main means to solve the phenomenon of "information islands", and it is also a difficult problem that must be faced in the current information construction. With the rapid development of Web technology, applications based on B / S architecture are becoming more and more abundant, and there are more and more methods of data exchange and data analysis between client and server. ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F9/44
CPCG06F8/22
Inventor 张贵军陈凯周晓根郝小虎赵策徐东伟李章维
Owner ZHEJIANG UNIV OF TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products