摘要 |
The present invention relates to the field of communications. Disclosed are a northbound data conversion method and device. The method comprises: generating a basic primitive component library using natural language coding; acquiring a conversion rule of a northbound model of each operator, selecting a corresponding basic primitive component from the basic primitive component library to describe the corresponding conversion rule, and generating a corresponding description document for the northbound model; acquiring a data source, determining the operator corresponding to the data source and searching for the corresponding description document of the northbound model, and converting the data source to northbound data according to the found description document of the northbound model. The present invention can rapidly and accurately obtain the northbound data meeting requirements of each of the operators simply by describing conversion rules of northbound models of the operators according to the basic primitive components, thereby avoiding a work process in which a conversion rule document is written first and then analyzed and converted according to a corresponding conversion rule, eliminating an intermediate delivery process and the present need of repeatedly writing codes and testing, greatly improving efficiency and accuracy. |