CN113835709A - Information analysis method, information analysis device, storage medium and processor - Google Patents

Information analysis method, information analysis device, storage medium and processor Download PDF

Info

Publication number
CN113835709A
CN113835709A CN202110984624.1A CN202110984624A CN113835709A CN 113835709 A CN113835709 A CN 113835709A CN 202110984624 A CN202110984624 A CN 202110984624A CN 113835709 A CN113835709 A CN 113835709A
Authority
CN
China
Prior art keywords
information
target
equipment
determining
analyzing
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.)
Pending
Application number
CN202110984624.1A
Other languages
Chinese (zh)
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.)
Beijing Zhongxiaoyun Iot Institute Co ltd
Original Assignee
Beijing Zhongxiaoyun Iot Institute 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 Beijing Zhongxiaoyun Iot Institute Co ltd filed Critical Beijing Zhongxiaoyun Iot Institute Co ltd
Priority to CN202110984624.1A priority Critical patent/CN113835709A/en
Publication of CN113835709A publication Critical patent/CN113835709A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/40Transformation of program code
    • G06F8/41Compilation
    • G06F8/42Syntactic analysis
    • G06F8/427Parsing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/54Interprogram communication
    • G06F9/546Message passing systems or structures, e.g. queues

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses an information analysis method, an information analysis device, a storage medium and a processor. The method comprises the following steps: analyzing the equipment information of the target equipment to obtain first information of the target equipment, wherein the first information at least comprises one of different data set sequence information corresponding to model information of various types of target equipment; determining a message analyzer corresponding to the target device based on the first information; the first information is parsed based on a message parser. By the method and the device, the problem that uniform analysis is difficult to perform on the target platform due to the difference of the device information in the related technology is solved.

Description

Information analysis method, information analysis device, storage medium and processor
Technical Field
The present application relates to the field of data parsing technologies, and in particular, to an information parsing method, an information parsing apparatus, a storage medium, and a processor.
Background
In each internet of things company, all different devices have a set of uniform message body formats after message uploading, but when multiple devices are accessed to the same platform in a service to perform algorithm analysis of device information, because part of contents are different, uniform analysis of the device information is difficult to perform.
The problem that unified analysis is difficult to perform on a target platform due to difference of equipment information in the related technology is solved. No effective solution has been proposed so far.
Disclosure of Invention
The present application mainly aims to provide an information analysis method, an information analysis device, a storage medium, and a processor, so as to solve the problem in the related art that uniform analysis is difficult to perform on a target platform due to differences of device information.
In order to achieve the above object, according to one aspect of the present application, there is provided an information parsing method. The method comprises the following steps: analyzing the equipment information of the target equipment to obtain first information of the target equipment, wherein the first information at least comprises one of different data set sequence information corresponding to model information of various types of target equipment; determining a message analyzer corresponding to the target device based on the first information; the first information is parsed based on a message parser.
Further, the device information includes at least: the first model information of the target device, the first operation code information of the target device and the first data information of the target device.
Further, determining a message parser corresponding to the target device based on the first information includes: identifying the target equipment based on the first model information to obtain an identification result; and determining a message resolver corresponding to the target device based on the recognition result.
Further, analyzing the device information of the target device, and obtaining the first information of the target device includes: determining first data information based on the first opcode information; processing the first data information to obtain processed first data information, wherein the processed first data information comprises the set sequence information of the first data information; and setting the set sequence information of the first data information corresponding to the first model information as the first information of the target device.
Further, parsing the first information based on the message parser includes: acquiring metadata content in the set sequence information of the first data information based on the first operation code information in the message parser; analyzing the metadata content based on a target abstract method; determining first information to be analyzed based on the analyzed element content; and analyzing the first information to be analyzed based on the message analyzer.
Further, before analyzing the device information of the target device and obtaining the first information of the target device, the method further includes: monitoring whether the equipment information of the target equipment is uploaded to a target platform system; and if the target platform system containing the equipment information is monitored, acquiring the equipment information.
Further, after the target device information is acquired, the method further includes: judging whether the target hardware algorithm library contains an algorithm for analyzing the target equipment information; and if the target hardware algorithm library does not contain an algorithm for analyzing the target equipment information, determining basic information content of the target equipment information in the target database, wherein the basic information content at least contains the equipment type of the target equipment and the delivery information of the target equipment.
Further, after determining the basic information content of the target device information in the target database, the method further comprises: and determining second information of the device information based on the basic information content, and determining a message parser corresponding to the target device based on the second information.
In order to achieve the above object, according to another aspect of the present application, there is provided an information analysis device. The device includes: the first analysis unit is used for analyzing the equipment information of the target equipment to obtain first information of the target equipment, wherein the first information at least comprises one of different data set sequence information corresponding to model information of various types of target equipment; the first determining unit is used for determining a message parser corresponding to the target device based on the first information; and the first analysis unit is used for analyzing the first information based on the message analyzer.
Further, the device information includes at least: the first model information of the target device, the first operation code information of the target device and the first data information of the target device.
Further, the first determination unit includes: the first identification module is used for identifying the target equipment based on the first model information to obtain an identification result; and the first determination module is used for determining a message parser corresponding to the target device based on the identification result.
Further, the first analysis unit includes: a second determining module for determining the first data information based on the first operation code information; the first processing module is used for processing the first data information and acquiring the processed first data information, wherein the processed first data information comprises the set sequence information of the first data information; and the first setting module is used for setting the collection sequence information of the first data information corresponding to the first model information as the first information of the target device.
Further, the first parsing unit includes: the first acquisition module is used for acquiring metadata contents in the set sequence information of the first data information based on the first operation code information in the message parser; the first analysis module is used for analyzing the metadata content based on a target abstract method; the third determining module is used for determining first information to be analyzed based on the analyzed element content; and the first analysis module is used for analyzing the first information to be analyzed based on the message analyzer.
Further, the apparatus further comprises: the first monitoring unit is used for analyzing the equipment information of the target equipment and monitoring whether the equipment information of the target equipment is uploaded to the target platform system before the first information of the target equipment is obtained; the first obtaining unit is used for obtaining the equipment information if the target platform system is monitored to contain the equipment information.
Further, the apparatus further comprises: the first judgment unit is used for judging whether the target hardware algorithm library contains an algorithm for analyzing the target equipment information after the target equipment information is acquired; and the second determining unit is used for determining the basic information content of the target equipment information in the target database if the target hardware algorithm library does not contain an algorithm for analyzing the target equipment information, wherein the basic information content at least contains the equipment type of the target equipment and the delivery information of the target equipment.
Further, the apparatus further comprises: the device comprises a third determining unit used for determining the basic information content of the target device information in the target database and then determining the second information of the device information based on the basic information content, and a fourth determining unit used for determining the message resolver corresponding to the target device based on the second information.
According to another aspect of the embodiments of the present application, there is also provided a processor configured to execute a program, where the program executes to perform the method of any one of the above.
According to another aspect of embodiments of the present application, there is also provided a computer-readable storage medium having stored thereon a computer program/instructions which, when executed by a processor, perform the method of any one of the above.
Through the application, the following steps are adopted: analyzing the equipment information of the target equipment to obtain first information of the target equipment, wherein the first information at least comprises one of different data set sequence information corresponding to model information of various types of target equipment; determining a message analyzer corresponding to the target device based on the first information; the first information is analyzed based on the message analyzer, the problem that uniform analysis is difficult to perform on the target platform due to difference of equipment information in the related technology is solved, and the target platform can be compatible with all types of equipment information by performing uniform analysis on the first information of various types of target equipment, so that the effect of the docking efficiency when the target equipment is accessed into the platform is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application. In the drawings:
fig. 1 is a flowchart of an information parsing method provided according to an embodiment of the present application;
FIG. 2 is a schematic diagram of message parsing and algorithm expansion of an information parsing method provided according to an embodiment of the present application; and
fig. 3 is a schematic diagram of an information analysis apparatus according to an embodiment of the present application.
Detailed Description
It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict. The present application will be described in detail below with reference to the embodiments with reference to the attached drawings.
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only partial embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that the terms "first," "second," and the like in the description and claims of this application and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It should be understood that the data so used may be interchanged under appropriate circumstances such that embodiments of the application described herein may be used. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For convenience of description, some terms or expressions referred to in the embodiments of the present application are explained below:
class (Class): the method is the basis for realizing information encapsulation by object-oriented programming, is a user-defined reference data type and is also a type.
The abstraction method comprises the following steps: in an object-oriented programming language, abstract methods refer to methods that have only method declarations, and no concrete method bodies, and typically exist in abstract classes or interfaces.
According to an embodiment of the present application, there is provided an information parsing method.
Fig. 1 is a flowchart of an information parsing method according to an embodiment of the present application. As shown in fig. 1, the method comprises the steps of:
step S101, analyzing the device information of the target device to obtain first information of the target device, wherein the first information at least comprises one of different set sequence information corresponding to the model information of the plurality of target devices.
For example, after accessing the device information of device type a on the message platform, the device information is primarily analyzed to obtain the first information of the target device, and before obtaining the first information, the device information needs to be obtained.
Optionally, in the information analysis method provided in the embodiment of the present application, before analyzing the device information of the target device to obtain the first information of the target device, the method further includes: monitoring whether the equipment information of the target equipment is uploaded to a target platform system; and if the target platform system containing the equipment information is monitored, acquiring the equipment information.
Specifically, based on the message monitoring and issuing function of the target platform system, the uploading action of different types of equipment on the target platform system is monitored, and if the target platform system is monitored to contain equipment information, the equipment information is acquired. According to the method and the device, the follow-up analysis efficiency of the target equipment information is greatly improved through real-time monitoring of the access equipment on the target platform.
Optionally, in the information parsing method provided in the embodiment of the present application, the device information at least includes: the first model information of the target device, the first operation code information of the target device and the first data information of the target device.
Specifically, when different types of devices of multiple manufacturers are to access a fixed platform of a target enterprise, different types of device information are analyzed, and a difference data information part (corresponding to first information of the application) in the analyzed device information of the target device is obtained, wherein first model information in the device information is used for identifying the target device, first operation code information at least comprises a function of identifying the device information (such as a function of uploading the device information and issuing the device information) and acquisition value information, and the first data information embodies dynamic data of the acquisition value information based on the first operation code information. According to the method and the device, the analysis efficiency of the device information is higher when the target enterprise accesses the device on the fixed platform based on the processing of the difference data information part of the target device.
Optionally, in the information analysis method provided in the embodiment of the present application, analyzing the device information of the target device to obtain the first information of the target device includes: determining first data information based on the first opcode information; processing the first data information to obtain processed first data information, wherein the processed first data information comprises the set sequence information of the first data information; and setting the set sequence information of the first data information corresponding to the first model information as the first information of the target device.
Specifically, the first data information is obtained based on the first opcode information, where the first data information generally includes a plurality of pieces of data information, and each piece of data information is further specified by uniformly specifying a Dataclass class, and the entirety of the plurality of pieces of data information is encapsulated by using a set List < Dataclass >, that is, the first data information is specified in a set form, the sequence information of List < Dataclass > content in the corresponding first data information is fixed to the first model information of the target device, and the set sequence information of the first data information corresponding to the first model information is used as the first information of the target device.
And step S102, determining a message parser corresponding to the target device based on the first information.
Specifically, the message parser corresponding to the target device is found according to the set sequence information of the first data information corresponding to the first model information in the first information.
Optionally, in the information parsing method provided in the embodiment of the present application, determining, based on the first information, a message parser corresponding to the target device includes: identifying the target equipment based on the first model information to obtain an identification result; and determining a message resolver corresponding to the target device based on the recognition result.
Specifically, a message resolver is obtained based on first model information of the equipment information, the message resolver can realize differentiated processing of first information in a uniform data format and a self-contained analog quantity acquisition value format, the processed equipment information is completely consistent with a self-service format of a target company, and the first information format can adapt to all self-service requirements of the company after being processed by the message resolver.
Step S103, parsing the first information based on the message parser.
Specifically, the first information of the target device is processed in a corresponding operation method based on operation code information of the target device in a message parser of a message processing module of the device, wherein the processing means at least comprises data analysis and data conversion.
Optionally, in the information parsing method provided in the embodiment of the present application, parsing the first information based on the message parser includes: acquiring metadata content in the set sequence information of the first data information based on the first operation code information in the message parser; analyzing the metadata content based on a target abstract method; determining first information to be analyzed based on the analyzed element content; and analyzing the first information to be analyzed based on the message analyzer.
Specifically, a class of preset rule contents of a target algorithm is set, so that model information classes of a plurality of devices inherit the class, wherein basic data information is processed based on an abstract method metadata (), a basic information set is obtained, after metadata contents in sequence information of the basic information set are obtained, differential analysis is carried out on the set sequence information contents to be analyzed in the metadata contents based on a common method buildCollectData (), the class of the model information of the target device inherits the class of the preset rule contents through the target algorithm, so that when different devices process information analysis of similar devices under the same service function, uniform analysis can be carried out on the target device information only by adjusting the different parts in the service based on the class method, development difficulty is reduced, and analysis efficiency of the data information is improved, the docking efficiency of the target device when accessing the platform is further improved.
It should be noted that, if a new device accessed in the target platform system belongs to the first access, the target hardware algorithm library does not include an algorithm for performing preliminary analysis on the information of the target device, and the information of the new access device needs to be entered.
Optionally, in the information analysis method provided in the embodiment of the present application, after the target device information is acquired, the method further includes: judging whether the target hardware algorithm library contains an algorithm for analyzing the target equipment information; and if the target hardware algorithm library does not contain an algorithm for analyzing the target equipment information, determining basic information content of the target equipment information in the target database, wherein the basic information content at least contains the equipment type of the target equipment and the delivery information of the target equipment.
Specifically, after the device information is acquired, the device information needs to be judged, if the target hardware algorithm library does not contain an algorithm for primarily analyzing the target device information, basic information content of the device information needs to be primarily recorded into the target database, wherein the basic information at least contains type information and manufacturer information of the device, the device operation code information in the basic information is converted into unified operation code information, and the efficiency is higher when the target device performs information analysis through an analyzer in subsequent operations.
Optionally, in the information parsing method provided in the embodiment of the present application, after determining the basic information content of the target device information in the target database, the method further includes: and determining second information of the device information based on the basic information content, and determining a message parser corresponding to the target device based on the second information.
Specifically, a differential data information part (corresponding to second information in the application) in the device information is determined based on basic information content of the new device, and a message parser corresponding to the target device is found according to collection sequence information of the second data information in the second information, wherein if different parsing operations on the new device are detected, new operation code information is created, so that the new operation code information efficiently parses the second information based on a corresponding metadata () abstraction method.
Optionally, fig. 2 is a schematic diagram of message parsing and algorithm expansion of an information parsing method provided in an embodiment of the present application, and as shown in fig. 2, device information of a device type a is obtained, at a message parsing entrance, device information of a target device is primarily parsed based on a hardware algorithm, basic data information (corresponding to first information in the present application) of the device after the primary parsing is obtained, a corresponding message parser is obtained according to device model information, before obtaining the message parser, it is required to detect whether a hardware algorithm library for primarily parsing the device information includes a parsing function of the device type a, if the hardware algorithm library for primarily parsing the device information includes the parsing function of the device type a, there is no need to enter model information of the device a, if the hardware algorithm library for primarily parsing the device information does not include the parsing function of the device type a, inputting the equipment model information (namely, the equipment model information which is newly accessed for the first time), providing a whole set of message analyzers aiming at the model information, selecting a message processing function of corresponding equipment in the analyzers according to the operation code information of the equipment, carrying out detailed analysis on message contents of target corresponding messages based on the message processing function, and further converting the message contents into a message format required by company business, wherein before carrying out detailed analysis on the message contents of the target corresponding messages based on the message processing function, if the message analyzers are determined according to the newly accessed equipment model information, the operation code information of the newly accessed equipment is also required to be converted into uniform operation code information, selecting an abstract method based on the operation code information, further acquiring metadata information of ordered target equipment, and realizing the analysis of the target equipment information based on the metadata information, the specific business data information of a company is obtained based on the message analysis outlet, the information acquisition sequence in the first information is standardized through the transverse compatibility of the information of the newly accessed target equipment, the background development difficulty is reduced, and the docking efficiency of the platform when the platform is accessed to the new equipment is improved.
To sum up, the information analysis method provided in the embodiment of the present application obtains first information of a target device by analyzing device information of the target device, where the first information at least includes one of different data set sequence information corresponding to model information of multiple types of target devices; determining a message analyzer corresponding to the target device based on the first information; the first information is analyzed based on the message analyzer, the problem that uniform analysis is difficult to perform on the target platform due to difference of equipment information in the related technology is solved, and the target platform can be compatible with all types of equipment information by performing uniform analysis on the first information of various types of target equipment, so that the effect of the docking efficiency when the target equipment is accessed into the platform is improved.
It should be noted that the steps illustrated in the flowcharts of the figures may be performed in a computer system such as a set of computer-executable instructions and that, although a logical order is illustrated in the flowcharts, in some cases, the steps illustrated or described may be performed in an order different than presented herein.
The embodiment of the present application further provides an information analysis device, and it should be noted that the information analysis device in the embodiment of the present application may be used to execute the information analysis method provided in the embodiment of the present application. The following describes an information analysis device provided in an embodiment of the present application.
Fig. 3 is a schematic diagram of an information analysis apparatus according to an embodiment of the present application. As shown in fig. 3, the apparatus includes: a first analysis unit 301, a first determination unit 302, and a first analysis unit 303.
Specifically, the first analysis unit 301 is configured to analyze device information of the target device to obtain first information of the target device, where the first information at least includes one of different data set sequence information corresponding to model information of multiple types of target devices;
a first determining unit 302, configured to determine, based on the first information, a message parser corresponding to the target device;
a first parsing unit 303, configured to parse the first information based on the message parser.
To sum up, the information analysis apparatus provided in this embodiment of the present application obtains first information of a target device by analyzing device information of the target device through the first analysis unit 301, where the first information at least includes one of different data set sequence information corresponding to model information of multiple types of target devices; the first determining unit 302 determines a message parser corresponding to the target device based on the first information; the first analyzing unit 303 analyzes the first information based on the message analyzer, so as to solve the problem that it is difficult to perform uniform analysis on the target platform due to differences of device information in the related art, and by performing uniform analysis on the first information of various types of target devices, the target platform can be compatible with all types of device information, thereby improving the effect of the docking efficiency when the target devices are accessed to the platform.
Optionally, in the information analysis apparatus provided in the embodiment of the present application, the device information at least includes: the first model information of the target device, the first operation code information of the target device and the first data information of the target device.
Optionally, in the information analysis apparatus provided in the embodiment of the present application, the first determining unit 302 includes: the first identification module is used for identifying the target equipment based on the first model information to obtain an identification result; and the first determination module is used for determining a message parser corresponding to the target device based on the identification result.
Optionally, in the information analysis apparatus provided in this embodiment of the present application, the first analysis unit 301 includes: a second determining module for determining the first data information based on the first operation code information; the first processing module is used for processing the first data information and acquiring the processed first data information, wherein the processed first data information comprises the set sequence information of the first data information; and the first setting module is used for setting the collection sequence information of the first data information corresponding to the first model information as the first information of the target device.
Optionally, in the information analysis device provided in this embodiment of the present application, the first analysis unit 303 includes: the first acquisition module is used for acquiring metadata contents in the set sequence information of the first data information based on the first operation code information in the message parser; the first analysis module is used for analyzing the metadata content based on a target abstract method; the third determining module is used for determining first information to be analyzed based on the analyzed element content; and the first analysis module is used for analyzing the first information to be analyzed based on the message analyzer.
Optionally, in the information analysis device provided in the embodiment of the present application, the device further includes: the first monitoring unit is used for analyzing the equipment information of the target equipment and monitoring whether the equipment information of the target equipment is uploaded to the target platform system before the first information of the target equipment is obtained; the first obtaining unit is used for obtaining the equipment information if the target platform system is monitored to contain the equipment information.
Optionally, in the information analysis device provided in the embodiment of the present application, the device further includes: the first judgment unit is used for judging whether the target hardware algorithm library contains an algorithm for analyzing the target equipment information after the target equipment information is acquired; and the second determining unit is used for determining the basic information content of the target equipment information in the target database if the target hardware algorithm library does not contain an algorithm for analyzing the target equipment information, wherein the basic information content at least contains the equipment type of the target equipment and the delivery information of the target equipment.
Optionally, in the information analysis device provided in the embodiment of the present application, the device further includes: the device comprises a third determining unit used for determining the basic information content of the target device information in the target database and then determining the second information of the device information based on the basic information content, and a fourth determining unit used for determining the message resolver corresponding to the target device based on the second information.
The information analysis device comprises a processor and a memory, wherein the first analysis unit 301, the first determination unit 302, the first analysis unit 303 and the like are stored in the memory as program units, and the processor executes the program units stored in the memory to realize corresponding functions.
The processor comprises a kernel, and the kernel calls the corresponding program unit from the memory. The kernel can be set to one or more than one, and information analysis is carried out by adjusting kernel parameters.
The memory may include volatile memory in a computer readable medium, Random Access Memory (RAM) and/or nonvolatile memory such as Read Only Memory (ROM) or flash memory (flash RAM), and the memory includes at least one memory chip.
An embodiment of the present invention provides a storage medium having a program stored thereon, the program implementing an information parsing method when executed by a processor.
The embodiment of the invention provides a processor, which is used for running a program, wherein an information analysis method is executed when the program runs.
The embodiment of the invention provides equipment, which comprises a processor, a memory and a program which is stored on the memory and can run on the processor, wherein the processor executes the program and realizes the following steps: analyzing the equipment information of the target equipment to obtain first information of the target equipment, wherein the first information at least comprises one of different data set sequence information corresponding to model information of various types of target equipment; determining a message analyzer corresponding to the target device based on the first information; the first information is parsed based on a message parser.
The processor executes the program and further realizes the following steps: the first model information of the target device, the first operation code information of the target device and the first data information of the target device.
The processor executes the program and further realizes the following steps: identifying the target equipment based on the first model information to obtain an identification result; and determining a message resolver corresponding to the target device based on the recognition result.
The processor executes the program and further realizes the following steps: determining first data information based on the first opcode information; processing the first data information to obtain processed first data information, wherein the processed first data information comprises the set sequence information of the first data information; and setting the set sequence information of the first data information corresponding to the first model information as the first information of the target device.
The processor executes the program and further realizes the following steps: acquiring metadata content in the set sequence information of the first data information based on the first operation code information in the message parser; analyzing the metadata content based on a target abstract method; determining first information to be analyzed based on the analyzed element content; and analyzing the first information to be analyzed based on the message analyzer.
The processor executes the program and further realizes the following steps: analyzing the device information of the target device, the method further comprising: monitoring whether the equipment information of the target equipment is uploaded to a target platform system; and if the target platform system containing the equipment information is monitored, acquiring the equipment information.
The processor executes the program and further realizes the following steps: after the target equipment information is obtained, judging whether a target hardware algorithm library contains an algorithm for analyzing the target equipment information; and if the target hardware algorithm library does not contain an algorithm for analyzing the target equipment information, determining basic information content of the target equipment information in the target database, wherein the basic information content at least contains the equipment type of the target equipment and the delivery information of the target equipment.
The processor executes the program and further realizes the following steps: after the basic information content of the target device information is determined in the target database, second information of the device information is determined based on the basic information content, and a message parser corresponding to the target device is determined based on the second information.
The device herein may be a server, a PC, a PAD, a mobile phone, etc.
The present application further provides a computer program product adapted to perform a program for initializing the following method steps when executed on a data processing device: analyzing the equipment information of the target equipment to obtain first information of the target equipment, wherein the first information at least comprises one of different data set sequence information corresponding to model information of various types of target equipment; determining a message analyzer corresponding to the target device based on the first information; the first information is parsed based on a message parser.
When executed on a data processing device, is further adapted to perform a procedure for initializing the following method steps: the first model information of the target device, the first operation code information of the target device and the first data information of the target device.
When executed on a data processing device, is further adapted to perform a procedure for initializing the following method steps: identifying the target equipment based on the first model information to obtain an identification result; and determining a message resolver corresponding to the target device based on the recognition result.
When executed on a data processing device, is further adapted to perform a procedure for initializing the following method steps: determining first data information based on the first opcode information; processing the first data information to obtain processed first data information, wherein the processed first data information comprises the set sequence information of the first data information; and setting the set sequence information of the first data information corresponding to the first model information as the first information of the target device.
When executed on a data processing device, is further adapted to perform a procedure for initializing the following method steps: acquiring metadata content in the set sequence information of the first data information based on the first operation code information in the message parser; analyzing the metadata content based on a target abstract method; determining first information to be analyzed based on the analyzed element content; and analyzing the first information to be analyzed based on the message analyzer.
When executed on a data processing device, is further adapted to perform a procedure for initializing the following method steps: analyzing the device information of the target device, the method further comprising: monitoring whether the equipment information of the target equipment is uploaded to a target platform system; and if the target platform system containing the equipment information is monitored, acquiring the equipment information.
When executed on a data processing device, is further adapted to perform a procedure for initializing the following method steps: after the target equipment information is obtained, judging whether a target hardware algorithm library contains an algorithm for analyzing the target equipment information; and if the target hardware algorithm library does not contain an algorithm for analyzing the target equipment information, determining basic information content of the target equipment information in the target database, wherein the basic information content at least contains the equipment type of the target equipment and the delivery information of the target equipment.
When executed on a data processing device, is further adapted to perform a procedure for initializing the following method steps: after the basic information content of the target device information is determined in the target database, second information of the device information is determined based on the basic information content, and a message parser corresponding to the target device is determined based on the second information.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). The memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in the process, method, article, or apparatus that comprises the element.
As will be appreciated by one skilled in the art, embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The above are merely examples of the present application and are not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (11)

1. An information parsing method, comprising:
analyzing equipment information of target equipment to obtain first information of the target equipment, wherein the first information at least comprises one of different data set sequence information corresponding to model information of various types of target equipment;
determining a message analyzer corresponding to the target device based on the first information;
and analyzing the first information based on the message analyzer.
2. The method of claim 1, wherein the device information comprises at least: the first model information of the target device, the first operation code information of the target device, and the first data information of the target device.
3. The method of claim 2, wherein determining a message parser corresponding to a target device based on the first information comprises:
identifying the target equipment based on the first model information to obtain an identification result;
and determining a message resolver corresponding to the target device based on the identification result.
4. The method of claim 2, wherein analyzing the device information of the target device to obtain the first information of the target device comprises:
determining the first data information based on the first opcode information;
processing the first data information to obtain processed first data information, wherein the processed first data information comprises the set sequence information of the first data information;
and setting the set sequence information of the first data information corresponding to the first model information as the first information of the target device.
5. The method of claim 4, wherein parsing the first information based on the message parser comprises:
acquiring metadata content in the set sequence information of the first data information based on the first operation code information in the message parser;
analyzing the metadata content based on a target abstract method;
determining first information to be analyzed based on the analyzed element content;
and analyzing the first information to be analyzed based on the message analyzer.
6. The method according to claim 1, wherein before analyzing the device information of the target device to obtain the first information of the target device, the method further comprises:
monitoring whether the equipment information of the target equipment is uploaded to a target platform system;
and if the target platform system is monitored to contain the equipment information, acquiring the equipment information.
7. The method of claim 6, wherein after obtaining target device information, the method further comprises:
judging whether a target hardware algorithm library contains an algorithm for analyzing the target equipment information;
and if the target hardware algorithm library does not contain the algorithm for analyzing the target equipment information, determining the basic information content of the target equipment information in a target database, wherein the basic information content at least contains the equipment type of the target equipment and the delivery information of the target equipment.
8. The method of claim 7, wherein after determining the underlying information content of the target device information in the target database, the method further comprises:
determining second information of the device information based on the base information content,
and determining a message parser corresponding to the target device based on the second information.
9. An information analysis device, comprising:
the device information analysis unit is used for analyzing device information of target devices to obtain first information of the target devices, wherein the first information at least comprises one of different data set sequence information corresponding to model information of multiple types of target devices;
a first determining unit, configured to determine, based on the first information, a message parser corresponding to the target device;
a first parsing unit, configured to parse the first information based on the message parser.
10. A processor, characterized in that the processor is configured to run a program, wherein the program when running performs the method of any of claims 1 to 8.
11. A storage medium, characterized in that the storage medium comprises a stored program, wherein the program performs the method of any one of claims 1 to 8.
CN202110984624.1A 2021-08-25 2021-08-25 Information analysis method, information analysis device, storage medium and processor Pending CN113835709A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110984624.1A CN113835709A (en) 2021-08-25 2021-08-25 Information analysis method, information analysis device, storage medium and processor

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110984624.1A CN113835709A (en) 2021-08-25 2021-08-25 Information analysis method, information analysis device, storage medium and processor

Publications (1)

Publication Number Publication Date
CN113835709A true CN113835709A (en) 2021-12-24

Family

ID=78961295

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110984624.1A Pending CN113835709A (en) 2021-08-25 2021-08-25 Information analysis method, information analysis device, storage medium and processor

Country Status (1)

Country Link
CN (1) CN113835709A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095609A (en) * 2013-01-09 2013-05-08 大唐软件技术股份有限公司 Access adaptive method and device based on Internet of things terminals
CN111176180A (en) * 2020-01-06 2020-05-19 深圳市同洲电子股份有限公司 Heterogeneous Internet of things equipment management system
US10782942B1 (en) * 2019-09-13 2020-09-22 Capital One Services, Llc Rapid onboarding of data from diverse data sources into standardized objects with parser and unit test generation
CN112153048A (en) * 2020-09-24 2020-12-29 珠海格力电器股份有限公司 Information analysis method, information analysis device, information analysis system, storage medium, and electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103095609A (en) * 2013-01-09 2013-05-08 大唐软件技术股份有限公司 Access adaptive method and device based on Internet of things terminals
US10782942B1 (en) * 2019-09-13 2020-09-22 Capital One Services, Llc Rapid onboarding of data from diverse data sources into standardized objects with parser and unit test generation
CN111176180A (en) * 2020-01-06 2020-05-19 深圳市同洲电子股份有限公司 Heterogeneous Internet of things equipment management system
CN112153048A (en) * 2020-09-24 2020-12-29 珠海格力电器股份有限公司 Information analysis method, information analysis device, information analysis system, storage medium, and electronic device

Similar Documents

Publication Publication Date Title
CN106776515B (en) Data processing method and device
CN111241073B (en) Data quality inspection method and device
CN109542789B (en) Code coverage rate statistical method and device
CN104537015A (en) Log analysis computer implementation method, computer and system
CN112181804A (en) Parameter checking method, equipment and storage medium
CN113656245A (en) Data inspection method and device, storage medium and processor
CN113923268B (en) Resolution method, device and storage medium for multi-version communication protocol
CN116383742B (en) Rule chain setting processing method, system and medium based on feature classification
CN113835709A (en) Information analysis method, information analysis device, storage medium and processor
CN116610567A (en) Early warning method and device for abnormal application program, processor and electronic equipment
CN110928941A (en) Data fragment extraction method and device
CN110968487A (en) Abnormal data analysis method and device
CN113919683A (en) Method and device for calculating process man-hour, storage medium and processor
CN114490413A (en) Test data preparation method and device, storage medium and electronic equipment
CN111400245B (en) Art resource migration method and device
CN114861208A (en) Data authority control method and data authority control service
CN110908876B (en) Method and device for acquiring hardware performance data
CN110717131B (en) Page revising monitoring method and related system
CN112817953A (en) Data verification method and device, computer equipment and computer-readable storage medium
CN113296777B (en) Dependency analysis and program compilation method, apparatus, and storage medium
CN111061834B (en) Method, device and storage medium for document retrieval reference based on neural network
CN116954975A (en) Fault processing method, system and device for software product and storage medium
CN112232960A (en) Transaction application system monitoring method and device
CN116955141A (en) Data processing method, device, server, storage medium and program product
CN117271478A (en) Data migration method and device, storage medium and electronic equipment

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