CN113176956A - Information processing method and device - Google Patents

Information processing method and device Download PDF

Info

Publication number
CN113176956A
CN113176956A CN202110470148.1A CN202110470148A CN113176956A CN 113176956 A CN113176956 A CN 113176956A CN 202110470148 A CN202110470148 A CN 202110470148A CN 113176956 A CN113176956 A CN 113176956A
Authority
CN
China
Prior art keywords
messages
formatting
data formatting
data
pipeline
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
CN202110470148.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 CN202110470148.1A priority Critical patent/CN113176956A/en
Publication of CN113176956A publication Critical patent/CN113176956A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

本发明公开了一种信息的处理方法及装置。其中,该方法包括:获取多个第一消息,其中,多个第一消息为多个不同类型的设备发送的消息;对多个第一消息进行格式化处理,得到多个第二消息,其中,多个第二消息的数据格式相同;将多个第二消息发送至业务处理管道,以利用业务处理管道确定多个第二消息对应的业务信息。本发明解决了相关技术中不同设备之间进行信息对接时,针对不同设备均需要开发解析流程来完成信息对接,开发人员工作量较大的技术问题。

Figure 202110470148

The invention discloses an information processing method and device. The method includes: acquiring a plurality of first messages, wherein the plurality of first messages are messages sent by a plurality of devices of different types; and formatting the plurality of first messages to obtain a plurality of second messages, wherein , the data formats of the multiple second messages are the same; the multiple second messages are sent to the service processing pipeline, so as to use the service processing pipeline to determine the service information corresponding to the multiple second messages. The invention solves the technical problem in the related art that when the information is connected between different devices, an analysis process needs to be developed for different devices to complete the information connection, and the developer has a large workload.

Figure 202110470148

Description

Information processing method and device
Technical Field
The present invention relates to the field of information processing technologies, and in particular, to a method and an apparatus for processing information.
Background
In the internet of things industry, the situation that equipment of different companies needs to be docked is met, due to the fact that the information uploading formats of the equipment of each company are different, the company expends a great deal of energy and labor force on docking the equipment of other companies, each piece of equipment needs to write a set of self-analysis complete flow from the perspective of a developer, if 100 pieces of equipment exist in one company, 100 flows are needed for processing, and the workload of developers is very heavy.
In order to solve the problem that in the related art, when information is docked between different devices, development and analysis processes are required to be developed for the different devices to complete information docking, and the workload of developers is large, an effective solution is not provided at present.
Disclosure of Invention
The embodiment of the invention provides an information processing method and device, and aims to at least solve the technical problems that when information is docked between different devices in the related art, development and analysis processes are required for different devices to complete information docking, and the workload of developers is large.
According to an aspect of an embodiment of the present invention, there is provided an information processing method, including: acquiring a plurality of first messages, wherein the first messages are messages sent by a plurality of devices of different types; formatting the plurality of first messages to obtain a plurality of second messages, wherein the data formats of the plurality of second messages are the same; and sending the plurality of second messages to a service processing pipeline so as to determine service information corresponding to the plurality of second messages by using the service processing pipeline.
Optionally, before acquiring the plurality of first messages, the information processing method further includes: and establishing the connection relation between the plurality of different types of equipment and the data formatting pipeline.
Optionally, formatting the plurality of first messages to obtain a plurality of second messages, including: and sending the plurality of first messages to the data formatting pipeline so as to format the plurality of first messages by using the data formatting pipeline to obtain the plurality of second messages.
Optionally, before sending the plurality of first messages to the data formatting pipeline to format the plurality of first messages by using the data formatting pipeline, the information processing method further includes: acquiring a plurality of data formatting requirements, wherein each data formatting requirement in the plurality of data formatting requirements corresponds to a data format conversion requirement; generating a plurality of data formatting modules, wherein each of the plurality of data formatting modules has a data format conversion function; storing the plurality of data formatting modules to the data formatting pipeline.
Optionally, formatting the plurality of first messages to obtain a plurality of second messages, including: determining a data format of each of the plurality of first messages; distributing the plurality of first messages to corresponding data formatting modules in the data formatting pipeline according to the data format of each first message; and utilizing a corresponding data formatting module to format the plurality of first messages in the data formatting pipeline to obtain the plurality of second messages.
According to another aspect of the embodiments of the present invention, there is also provided an information processing apparatus, including: the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a plurality of first messages, and the first messages are messages sent by a plurality of different types of equipment; the formatting processing unit is used for formatting the plurality of first messages to obtain a plurality of second messages, wherein the data formats of the plurality of second messages are the same; and the determining unit is used for sending the plurality of second messages to a service processing pipeline so as to determine the service information corresponding to the plurality of second messages by using the service processing pipeline.
Optionally, the information processing apparatus further includes: and the establishing unit is used for establishing the connection relation between the plurality of different types of equipment and the data formatting pipeline before acquiring the plurality of first messages.
Optionally, the formatting processing unit includes: and the first formatting processing module is used for sending the plurality of first messages to the data formatting pipeline so as to format the plurality of first messages by using the data formatting pipeline to obtain the plurality of second messages.
Optionally, the information processing apparatus further includes: an obtaining module, configured to obtain a plurality of data formatting requirements before sending the plurality of first messages to the data formatting pipeline so as to format the plurality of first messages by using the data formatting pipeline, where each of the plurality of data formatting requirements corresponds to a data format conversion requirement; a generating module for generating a plurality of data formatting modules, wherein each of the plurality of data formatting modules has a data format conversion function; a storage module for storing the plurality of data formatting modules to the data formatting pipeline.
Optionally, the determining unit includes: a determining module for determining a data format of each of the plurality of first messages; an allocation module, configured to allocate the plurality of first messages to corresponding data formatting modules in the data formatting pipeline according to the data format of each first message; and the second formatting processing module is used for formatting the plurality of first messages by using the corresponding data formatting modules in the data formatting pipeline to obtain the plurality of second messages.
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium, which includes a stored computer program, wherein when the computer program is executed by a processor, the computer-readable storage medium is controlled by an apparatus to execute any one of the information processing methods described above.
According to another aspect of the embodiments of the present invention, there is also provided a processor, configured to execute a computer program, where the computer program executes to perform the information processing method described in any one of the above.
In the embodiment of the invention, a plurality of first messages are obtained, wherein the plurality of first messages are messages sent by a plurality of devices of different types; formatting the plurality of first messages to obtain a plurality of second messages, wherein the data formats of the plurality of second messages are the same; and sending the plurality of second messages to a service processing pipeline so as to determine the service information corresponding to the plurality of second messages by using the service processing pipeline. By the information processing method provided by the embodiment of the invention, the purpose of formatting the messages uploaded by the different devices to obtain the messages with the same data format is achieved, the efficiency of information docking between the different devices is improved, and the technical problem that development and analysis processes are required to be developed for the different devices to complete information docking when the different devices are docked in the related technology, and the workload of developers is large is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a flow chart of a method of processing information according to an embodiment of the invention;
fig. 2 is a frame diagram of a method of processing information according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a data formatting pipeline according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an apparatus for processing information according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the 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 invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention 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 is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. 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.
Example 1
In accordance with an embodiment of the present invention, there is provided a method embodiment of a method of processing information, it being noted that the steps illustrated in the flowchart of the figure 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 flowchart, in some cases the steps illustrated or described may be performed in an order different than that presented herein.
Fig. 1 is a flowchart of a processing method of information according to an embodiment of the present invention, as shown in fig. 1, the processing method of information including the steps of:
step S102, a plurality of first messages are obtained, wherein the plurality of first messages are messages sent by a plurality of devices of different types.
Optionally, the plurality of first messages are messages sent by a plurality of different types of devices.
The different types of devices may be devices deployed by different companies, and the formats of messages uploaded by the devices deployed by different companies are different.
Step S104, formatting the plurality of first messages to obtain a plurality of second messages, wherein the data formats of the plurality of second messages are the same.
Since the plurality of first messages acquired in step S102 are sent by a plurality of different types of devices, the formats of the messages are different. Therefore, in the embodiment of the present invention, after the plurality of first messages are acquired, the plurality of first messages need to be formatted first, so as to pass through the format of the plurality of first messages.
Step S106, the plurality of second messages are sent to the service processing pipeline, so that the service processing pipeline is utilized to determine the service information corresponding to the plurality of second messages.
As can be seen from the above, in the embodiment of the present invention, after a plurality of first messages sent by a plurality of different types of devices are obtained, the plurality of first messages are formatted to obtain a plurality of second messages with the same data format, and the plurality of second messages are sent to a service processing pipeline, so that service information corresponding to the plurality of second messages is determined by using the service processing pipeline, thereby implementing formatting of messages uploaded by a plurality of different devices to obtain messages with the same data format, and achieving improvement of information docking efficiency between different devices.
Therefore, the information processing method provided by the embodiment of the invention solves the technical problems that when information is docked between different devices in the related art, development and analysis processes are required for different devices to complete information docking, and the workload of developers is large.
As an optional embodiment, before acquiring the plurality of first messages, the information processing method further includes: and establishing connection relations between a plurality of different types of equipment and the data formatting pipeline.
That is, in the embodiment of the present invention, it is necessary to establish a connection relationship between a plurality of different types of devices and a data formatting pipeline, so that the different types of devices can upload information that needs to be interacted to the data formatting pipeline, and format a plurality of first messages by using the data formatting pipeline, so as to obtain a plurality of messages with the same data format.
As an alternative embodiment, formatting the plurality of first messages to obtain a plurality of second messages includes: and sending the plurality of first messages to a data formatting pipeline so as to format the plurality of first messages by using the data formatting pipeline to obtain a plurality of second messages.
In this embodiment, the received plurality of first messages are processed by the data formatting pipeline, so as to obtain a plurality of messages with the same data format.
As an optional embodiment, before sending the plurality of first messages to the data formatting pipeline to perform formatting processing on the plurality of first messages by using the data formatting pipeline, the information processing method further includes: acquiring a plurality of data formatting requirements, wherein each data formatting requirement in the plurality of data formatting requirements corresponds to a data format conversion requirement; generating a plurality of data formatting modules, wherein each data formatting module of the plurality of data formatting modules has a data format conversion function; storing the plurality of data formatting modules to a data formatting pipeline.
That is, in the embodiment of the present invention, a plurality of data formatting modules capable of performing different data format conversions may be pre-constructed, so that the plurality of data formatting modules may be stored in the data formatting pipeline for encapsulation, so as to obtain a message capable of converting messages in different data formats into a message in the same data format.
As an alternative embodiment, formatting the plurality of first messages to obtain a plurality of second messages includes: determining a data format of each of a plurality of first messages; distributing the plurality of first messages to corresponding data formatting modules in the data formatting pipeline according to the data format of each first message; and formatting the plurality of first messages by using the corresponding data formatting modules in the data formatting pipeline to obtain a plurality of second messages.
That is, in the embodiment of the present invention, a plurality of data formatting modules are stored in a data formatting pipeline, each data formatting module of the plurality of data formatting modules has a data format conversion function, after the data formatting pipeline receives a plurality of first messages, the plurality of first messages are first allocated to a corresponding data formatting module, so as to perform format conversion processing on the first messages by using the corresponding data formatting module, outputs of the plurality of data formatting modules are second messages with the same format, the data formatting pipeline sends the second messages with the same format to a service processing pipeline, so as to directly process the second messages with the same format by using the service processing pipeline, and thus, service information corresponding to the second messages can be obtained.
Fig. 2 is a block diagram of an information processing method according to an embodiment of the present invention, as shown in fig. 2, a plurality of different types of messages (i.e., message 1, message 2, and message 3) are uploaded to a pipe 1, and data format conversion is performed on the plurality of different types of messages in the pipe 1 to obtain a plurality of messages with the same format; then, a plurality of messages with the same format are transmitted layer by layer to service pipes (for example, service pipe 1, service pipe 2 … … service pipe n), so that the service pipes can be used to process the messages after data formatting, and obtain service information, which is convenient for enterprises to process.
Fig. 3 is a schematic diagram of a data formatting pipeline in which a plurality of received messages (message 1, message 2, message 3 … …, message n) may be parsed and data format converted, as shown in fig. 3, according to an embodiment of the present invention. The data formatting pipeline is used for analyzing messages in different formats into a uniform format and transmitting the messages to the next pipeline, the pipeline comprises a message analyzing uniform template, and each newly accessed device inherits the template to independently format own message bodies into the message bodies in the uniform format, so that the device formatting messages of different companies cannot be influenced mutually, the coupling degree is reduced, and the device formatting messages can be transversely expanded to continuously access the new format messages.
In addition, in the embodiment of the present invention, the message bodies coming out of the data formatting pipeline are already unified, and the internal algorithm formats of the remaining pipelines are as follows: after entering a data formatting pipeline, a plurality of messages are firstly subjected to format conversion, then specific services are processed, the data formatting pipeline transmits the messages subjected to data formatting processing to the next pipeline, and the steps are repeated until all the pipelines pass.
It should be noted that, in the embodiment of the present invention, the number of pipes is increased by the number of specific services, and the message format of the data formatting pipe is ensured to enter each pipe entry, so that the coupling degree between services is reduced, the replacement service pipes can be added and deleted at will, and the complexity of service processing will not be increased due to the addition of new message types.
Example 2
According to another aspect of the embodiment of the present invention, there is also provided an information processing apparatus, and fig. 4 is a schematic diagram of the information processing apparatus according to the embodiment of the present invention, and as shown in fig. 4, the information processing apparatus may include: an acquisition unit 41, a formatting processing unit 43, and a determination unit 45. The following describes an apparatus for processing this information.
The obtaining unit 41 is configured to obtain a plurality of first messages, where the plurality of first messages are messages sent by a plurality of devices of different types.
The format processing unit 43 is configured to format the plurality of first messages to obtain a plurality of second messages, where the data formats of the plurality of second messages are the same.
The determining unit 45 is configured to send the plurality of second messages to the service processing pipeline, so as to determine, by using the service processing pipeline, service information corresponding to the plurality of second messages.
It should be noted here that the above-mentioned obtaining unit 41, the formatting processing unit 43 and the determining unit 45 correspond to steps S102 to S106 in embodiment 1, and the above-mentioned modules are the same as the examples and application scenarios realized by the corresponding steps, but are not limited to what is disclosed in embodiment 1. It should be noted that the modules described above as part of an apparatus may be implemented in a computer system such as a set of computer-executable instructions.
As can be seen from the above, in the embodiment of the present invention, a plurality of first messages may be acquired by an acquiring unit, where the plurality of first messages are messages sent by a plurality of devices of different types; then, a formatting processing unit is used for carrying out formatting processing on the plurality of first messages to obtain a plurality of second messages, wherein the data formats of the plurality of second messages are the same; and sending the plurality of second messages to the service processing pipeline by using the determining unit so as to determine the service information corresponding to the plurality of second messages by using the service processing pipeline. By the information processing device provided by the embodiment of the invention, the purpose of formatting the messages uploaded by the different devices to obtain the messages with the same data format is achieved, the efficiency of information docking between the different devices is improved, and the technical problem that development and analysis processes are required to be developed for the different devices to complete information docking when the different devices are docked in the related technology, and the workload of developers is large is solved.
Optionally, the information processing apparatus further includes: and the establishing unit is used for establishing the connection relation between a plurality of different types of equipment and the data formatting pipeline before acquiring the plurality of first messages.
Optionally, the formatting processing unit includes: the first formatting processing module is used for sending the plurality of first messages to the data formatting pipeline so as to format the plurality of first messages by using the data formatting pipeline to obtain a plurality of second messages.
Optionally, the information processing apparatus further includes: the device comprises an acquisition module, a data formatting module and a processing module, wherein the acquisition module is used for acquiring a plurality of data formatting requirements before sending a plurality of first messages to a data formatting pipeline so as to format the plurality of first messages by using the data formatting pipeline, and each data formatting requirement in the plurality of data formatting requirements corresponds to one data format conversion requirement; the generating module is used for generating a plurality of data formatting modules, wherein each data formatting module in the plurality of data formatting modules has a data format conversion function; and the storage module is used for storing the plurality of data formatting modules to the data formatting pipeline.
Optionally, the determining unit includes: a determining module for determining a data format of each of the plurality of first messages; the distribution module is used for distributing the plurality of first messages to corresponding data formatting modules in the data formatting pipeline according to the data format of each first message; and the second formatting processing module is used for formatting the plurality of first messages by using the corresponding data formatting modules in the data formatting pipeline to obtain a plurality of second messages.
Example 3
According to another aspect of the embodiments of the present invention, there is also provided a computer-readable storage medium including a stored computer program, wherein when the computer program is executed by a processor, the apparatus where the computer-readable storage medium is located is controlled to execute the method for processing information in any one of the above.
Example 4
According to another aspect of the embodiments of the present invention, there is also provided a processor, configured to execute a computer program, where the computer program executes to perform the information processing method of any one of the above.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units may be a logical division, and in actual implementation, there may be another division, for example, multiple units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1.一种信息的处理方法,其特征在于,包括:1. a processing method of information, is characterized in that, comprises: 获取多个第一消息,其中,所述多个第一消息为多个不同类型的设备发送的消息;acquiring multiple first messages, wherein the multiple first messages are messages sent by multiple devices of different types; 对所述多个第一消息进行格式化处理,得到多个第二消息,其中,所述多个第二消息的数据格式相同;Formatting the plurality of first messages to obtain a plurality of second messages, wherein the data formats of the plurality of second messages are the same; 将所述多个第二消息发送至业务处理管道,以利用所述业务处理管道确定所述多个第二消息对应的业务信息。Sending the plurality of second messages to a service processing pipeline, so as to use the service processing pipeline to determine service information corresponding to the plurality of second messages. 2.根据权利要求1所述的方法,其特征在于,在获取多个第一消息之前,所述方法还包括:2. The method according to claim 1, wherein before acquiring a plurality of first messages, the method further comprises: 建立所述多个不同类型的设备与数据格式化管道的连接关系。A connection relationship between the plurality of different types of devices and the data formatting pipeline is established. 3.根据权利要求2所述的方法,其特征在于,对所述多个第一消息进行格式化处理,得到多个第二消息,包括:3. The method according to claim 2, wherein the plurality of first messages are formatted to obtain a plurality of second messages, comprising: 将所述多个第一消息发送至所述数据格式化管道,以利用所述数据格式化管道对所述多个第一消息进行格式化处理,得到所述多个第二消息。Sending the plurality of first messages to the data formatting pipeline, so as to format the plurality of first messages by using the data formatting pipeline to obtain the plurality of second messages. 4.根据权利要求3所述的方法,其特征在于,在将所述多个第一消息发送至所述数据格式化管道,以利用所述数据格式化管道对所述多个第一消息进行格式化处理之前,所述方法还包括:4 . The method according to claim 3 , wherein the plurality of first messages are processed by the data formatting pipe after the plurality of first messages are sent to the data formatting pipe. 5 . Before the formatting process, the method further includes: 获取多个数据格式化需求,其中,所述多个数据格式化需求中的每一个数据格式化需求对应一种数据格式转换需求;obtaining multiple data formatting requirements, wherein each data formatting requirement in the multiple data formatting requirements corresponds to a data format conversion requirement; 生成多个数据格式化模块,其中,所述多个数据格式化模块中的每一个数据格式化模块具有一种数据格式转换功能;generating a plurality of data formatting modules, wherein each data formatting module in the plurality of data formatting modules has a data format conversion function; 将所述多个数据格式化模块存储至所述数据格式化管道。The plurality of data formatting modules are stored to the data formatting pipeline. 5.根据权利要求4所述的方法,其特征在于,对所述多个第一消息进行格式化处理,得到多个第二消息,包括:5. The method according to claim 4, wherein the plurality of first messages are formatted to obtain a plurality of second messages, comprising: 确定所述多个第一消息中每一个第一消息的数据格式;determining the data format of each first message in the plurality of first messages; 根据所述每一个第一消息的数据格式将所述多个第一消息分配至所述数据格式化管道中的对应的数据格式化模块;Allocating the plurality of first messages to corresponding data formatting modules in the data formatting pipeline according to the data format of each first message; 在所述数据格式化管道中利用对应的数据格式化模块对所述多个第一消息进行格式化处理,得到所述多个第二消息。The multiple first messages are formatted by using the corresponding data formatting module in the data formatting pipeline to obtain the multiple second messages. 6.一种信息的处理装置,其特征在于,包括:6. An information processing device, comprising: 获取单元,用于获取多个第一消息,其中,所述多个第一消息为多个不同类型的设备发送的消息;an obtaining unit, configured to obtain a plurality of first messages, wherein the plurality of first messages are messages sent by a plurality of devices of different types; 格式化处理单元,用于对所述多个第一消息进行格式化处理,得到多个第二消息,其中,所述多个第二消息的数据格式相同;a formatting processing unit, configured to format the plurality of first messages to obtain a plurality of second messages, wherein the data formats of the plurality of second messages are the same; 确定单元,用于将所述多个第二消息发送至业务处理管道,以利用所述业务处理管道确定所述多个第二消息对应的业务信息。A determining unit, configured to send the multiple second messages to a service processing pipeline, so as to determine the service information corresponding to the multiple second messages by using the service processing pipeline. 7.根据权利要求6所述的装置,其特征在于,所述装置还包括:7. The apparatus of claim 6, wherein the apparatus further comprises: 建立单元,用于在获取多个第一消息之前,建立所述多个不同类型的设备与数据格式化管道的连接关系。The establishing unit is configured to establish the connection relationship between the plurality of different types of devices and the data formatting pipe before acquiring the plurality of first messages. 8.根据权利要求7所述的装置,其特征在于,所述格式化处理单元,包括:8. The apparatus according to claim 7, wherein the formatting processing unit comprises: 第一格式化处理模块,用于将所述多个第一消息发送至所述数据格式化管道,以利用所述数据格式化管道对所述多个第一消息进行格式化处理,得到所述多个第二消息。a first formatting processing module, configured to send the multiple first messages to the data formatting pipeline, so as to format the multiple first messages by using the data formatting pipeline to obtain the multiple second messages. 9.根据权利要求8所述的装置,其特征在于,所述装置还包括:9. The apparatus of claim 8, wherein the apparatus further comprises: 获取模块,用于在将所述多个第一消息发送至所述数据格式化管道,以利用所述数据格式化管道对所述多个第一消息进行格式化处理之前,获取多个数据格式化需求,其中,所述多个数据格式化需求中的每一个数据格式化需求对应一种数据格式转换需求;an obtaining module, configured to obtain multiple data formats before sending the multiple first messages to the data formatting pipeline to format the multiple first messages by using the data formatting pipeline Formatting requirements, wherein each data formatting requirement in the multiple data formatting requirements corresponds to a data format conversion requirement; 生成模块,用于生成多个数据格式化模块,其中,所述多个数据格式化模块中的每一个数据格式化模块具有一种数据格式转换功能;A generating module for generating multiple data formatting modules, wherein each data formatting module in the multiple data formatting modules has a data format conversion function; 存储模块,用于将所述多个数据格式化模块存储至所述数据格式化管道。A storage module, configured to store the plurality of data formatting modules in the data formatting pipeline. 10.一种处理器,其特征在于,所述处理器用于运行计算机程序,其中,所述计算机程序运行时执行权利要求1至5中任一项所述的信息的处理方法。10 . A processor, wherein the processor is configured to run a computer program, wherein the computer program executes the information processing method according to any one of claims 1 to 5 when the computer program is run.
CN202110470148.1A 2021-04-28 2021-04-28 Information processing method and device Pending CN113176956A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110470148.1A CN113176956A (en) 2021-04-28 2021-04-28 Information processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110470148.1A CN113176956A (en) 2021-04-28 2021-04-28 Information processing method and device

Publications (1)

Publication Number Publication Date
CN113176956A true CN113176956A (en) 2021-07-27

Family

ID=76925835

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110470148.1A Pending CN113176956A (en) 2021-04-28 2021-04-28 Information processing method and device

Country Status (1)

Country Link
CN (1) CN113176956A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110704325A (en) * 2019-10-09 2020-01-17 京东数字科技控股有限公司 Data processing method and device, computer storage medium and electronic equipment
CN111639138A (en) * 2020-06-03 2020-09-08 中国联合网络通信集团有限公司 Data processing method, device, equipment and storage medium
CN112565443A (en) * 2020-12-08 2021-03-26 中煤航测遥感集团有限公司 Internet of things data analysis method, device, equipment and storage medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110704325A (en) * 2019-10-09 2020-01-17 京东数字科技控股有限公司 Data processing method and device, computer storage medium and electronic equipment
CN111639138A (en) * 2020-06-03 2020-09-08 中国联合网络通信集团有限公司 Data processing method, device, equipment and storage medium
CN112565443A (en) * 2020-12-08 2021-03-26 中煤航测遥感集团有限公司 Internet of things data analysis method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN103761309B (en) Operation data processing method and system
CN109376088B (en) Automatic test system and automatic test method
CN108989399A (en) A kind of cluster common data querying method, system, device and readable storage medium storing program for executing
CN116974948B (en) Business system testing methods, systems, equipment and media
CN111124589A (en) A service discovery system, method, apparatus and device
CN113220432B (en) Multi-cloud interconnection methods, devices, equipment, storage media and products
CN114092246A (en) Problem locating method and device for financial transaction link
CN110233767A (en) Service configuration method, system, device and the readable storage medium storing program for executing of distributed type assemblies
CN104219175A (en) Data exchanging and service invocation system and data exchanging and service invocation method
CN106789446A (en) The cluster distributed test frame and method of a kind of node equity
CN106992872A (en) A kind of method and system of information processing
CN113176956A (en) Information processing method and device
CN112416557A (en) Method and device for determining calling relationship, storage medium and electronic device
CN102238505B (en) Method and system for processing multi-user parallel signalling tracking at client
CN107451059A (en) A kind of method for testing software and test device
CN110581826B (en) Core network communication method, device and system
CN114285784B (en) Data transmission and pipeline construction method, device, computing equipment and storage medium
CN114679487B (en) Link processing method, device, storage medium and processor
CN107968722B (en) Method for converting interface control file into AFDX (avionics full Duplex switched Ethernet) network equipment configuration file
CN107679096B (en) Method and device for sharing indexes among data marts
CN112463382B (en) Heterogeneous data processing method and device under distributed scene
CN111625866A (en) Authority management method, system, equipment and storage medium
CN113256420A (en) Enterprise user identification method, device, equipment and medium in transaction
CN112631996A (en) Log search method and device
CN112671877A (en) Data processing method and device

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