CN114036216A - Data processing method, device and storage medium - Google Patents
Data processing method, device and storage medium Download PDFInfo
- Publication number
- CN114036216A CN114036216A CN202111276511.2A CN202111276511A CN114036216A CN 114036216 A CN114036216 A CN 114036216A CN 202111276511 A CN202111276511 A CN 202111276511A CN 114036216 A CN114036216 A CN 114036216A
- Authority
- CN
- China
- Prior art keywords
- data
- target
- rule
- data processing
- protocol
- 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
Links
- 238000003672 processing method Methods 0.000 title claims abstract description 36
- 238000012545 processing Methods 0.000 claims abstract description 260
- 238000004891 communication Methods 0.000 claims abstract description 163
- 238000006243 chemical reaction Methods 0.000 claims abstract description 38
- 238000000034 method Methods 0.000 claims abstract description 23
- 238000001914 filtration Methods 0.000 claims description 19
- 230000005540 biological transmission Effects 0.000 claims description 13
- 238000004458 analytical method Methods 0.000 claims description 7
- 230000006870 function Effects 0.000 description 28
- 239000000779 smoke Substances 0.000 description 10
- 238000010586 diagram Methods 0.000 description 6
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 238000013478 data encryption standard Methods 0.000 description 2
- 230000007613 environmental effect Effects 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000009529 body temperature measurement Methods 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006386 memory function Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000002093 peripheral effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
- G06F16/258—Data format conversion from or to a database
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/9035—Filtering based on additional data, e.g. user or group profiles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computational Linguistics (AREA)
- Computer And Data Communications (AREA)
Abstract
The application provides a data processing method, a data processing device and a storage medium, relates to the technical field of computers, and is used for solving the technical problem of low data processing efficiency. The method comprises the following steps: after the target device identifier of the electronic device and the raw data sent by the electronic device through the target communication protocol are obtained, data conversion processing may be performed on the raw data based on the protocol type of the target communication protocol and the target device identifier to obtain data to be processed. The data conversion process is used to convert data of different data formats into data of the same format. And, a target rule corresponding to the target device identifier may be selected from pre-established data processing rules. The data processing rule is used for processing data with the same data format as the data to be processed. Therefore, data processing can be carried out on the data to be processed based on the target rule. The data processing efficiency is improved.
Description
Technical Field
The present application belongs to the field of computer technologies, and in particular, to a data processing method, apparatus, and storage medium.
Background
At present, in order to meet service requirements in a complex internet of things scene, one data processing platform is generally accessed to multiple types of internet of things devices. The communication protocols supported by these internet of things devices are generally not the same. In this way, the data structures of the data sent by the internet of things equipment to the internet of things management platform through different communication protocols are generally different.
The existing data processing platform generally establishes a processing rule corresponding to each data structure, so as to process data of different data structures reported by the internet of things devices.
However, in such a way of processing data with different data structures, the data processing process is complicated, and the efficiency of data processing is reduced.
Disclosure of Invention
The application provides a data processing method, a data processing device and a storage medium, which are used for solving the problem of low data processing efficiency.
In order to achieve the purpose, the technical scheme is as follows:
in a first aspect, a data processing method is provided, including: after the target device identifier of the electronic device and the raw data sent by the electronic device through the target communication protocol are obtained, data conversion processing may be performed on the raw data based on the protocol type of the target communication protocol and the target device identifier to obtain data to be processed. The data conversion process is used to convert data of different data formats into data of the same format. And, a target rule corresponding to the target device identifier may be selected from pre-established data processing rules. The data processing rule is used for processing data with the same data format as the data to be processed. Therefore, data processing can be carried out on the data to be processed based on the target rule.
Optionally, the method for performing data conversion processing on the original data based on the protocol type of the target communication protocol and the target device identifier to obtain to-be-processed data specifically includes: extracting key fields in the original data according to an analysis rule corresponding to the protocol type of the target communication protocol; reading a pre-established corresponding relation between the equipment identifier and the data definition, and determining a target definition corresponding to the target equipment identifier; and storing the key fields and the target definition in a preset data format, and determining the key fields and the target definition as data to be processed.
Optionally, the data processing rule includes: the system comprises a data conversion rule, a data filtering rule, a data judgment rule and a data output rule. The method for selecting the target rule corresponding to the target equipment identifier from the pre-established data processing rules specifically comprises the following steps: reading a corresponding relation between a pre-established device identifier and a preset rule, and determining a target rule corresponding to the target device identifier; the preset rule is any combination of at least one or more of a data conversion rule, a data filtering rule, a data judgment rule and a data output rule.
Optionally, the data processing method further includes: acquiring protocol specifications of a plurality of communication protocols; the protocol versions of the plurality of communication protocols are different or the protocol types are different; generating a plurality of communication interfaces corresponding to the plurality of communication protocols one by one based on protocol specifications of the plurality of communication protocols; one communication interface is used for data transmission through a communication protocol corresponding to the one communication interface.
Optionally, the data processing method further includes: when the plurality of communication protocols comprise a target communication protocol, receiving authentication information sent by the electronic equipment; and authenticating the electronic equipment according to the authentication information.
Optionally, the data processing method further includes: when the electronic equipment is successfully authenticated, determining classification information of the electronic equipment according to the target equipment identification; the classification information is used for determining the reference authority of the login account.
In a second aspect, a data processing apparatus is provided, including: an acquisition unit and a processing unit; the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a target device identifier of the electronic device and original data sent by the electronic device through a target communication protocol; the processing unit is used for performing data conversion processing on the original data based on the protocol type of the target communication protocol and the target equipment identifier acquired by the acquisition unit to obtain data to be processed; the data conversion processing is used for converting data with different data formats into data with the same format; the processing unit is used for selecting a target rule corresponding to the target equipment identifier acquired by the acquisition unit from pre-established data processing rules; the data processing rule is used for processing data with the same data format as the data to be processed; and the processing unit is used for processing the data to be processed based on the target rule.
Optionally, the processing unit is specifically configured to: extracting key fields in the original data according to an analysis rule corresponding to the protocol type of the target communication protocol; reading a pre-established corresponding relation between the equipment identifier and the data definition, and determining a target definition corresponding to the target equipment identifier; and storing the key fields and the target definition in a preset data format, and determining the key fields and the target definition as data to be processed.
Optionally, the data processing rule includes: the system comprises a data conversion rule, a data filtering rule, a data judgment rule and a data output rule. A processing unit, specifically configured to: reading a corresponding relation between a pre-established device identifier and a preset rule, and determining a target rule corresponding to the target device identifier; the preset rule is any combination of at least one or more of a data conversion rule, a data filtering rule, a data judgment rule and a data output rule.
Optionally, the obtaining unit is further configured to: acquiring protocol specifications of a plurality of communication protocols; the protocol versions of the plurality of communication protocols are different or the protocol types are different; generating a plurality of communication interfaces corresponding to the plurality of communication protocols one by one based on protocol specifications of the plurality of communication protocols; one communication interface is used for data transmission through a communication protocol corresponding to the one communication interface.
Optionally, the processing unit is further configured to: when the plurality of communication protocols comprise a target communication protocol, receiving authentication information sent by the electronic equipment; and authenticating the electronic equipment according to the authentication information.
Optionally, the processing unit is further configured to: when the electronic equipment is successfully authenticated, determining classification information of the electronic equipment according to the target equipment identification; the classification information is used for determining the reference authority of the login account.
In a third aspect, a data processing apparatus is provided, comprising a memory and a processor; the memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus; when the data processing apparatus is in operation, the processor executes computer executable instructions stored by the memory to cause the data processing apparatus to perform the data processing method as in the first aspect.
The data processing apparatus may be a network device, or may be a part of an apparatus in the network device, such as a system on chip in the network device. The system on chip is configured to support the network device to implement the functions involved in the first aspect and any one of the possible implementations thereof, for example, to receive, determine, and offload data and/or information involved in the data processing method. The chip system includes a chip and may also include other discrete devices or circuit structures.
In a fourth aspect, there is provided a computer-readable storage medium, wherein the computer-readable storage medium comprises computer-executable instructions, which, when executed on a computer, cause the computer to perform the data processing method of the first aspect.
It should be noted that all or part of the above computer instructions may be stored on the first computer readable storage medium. The first computer readable storage medium may be packaged with a processor of a data processing apparatus or may be packaged separately from the processor of the data processing apparatus, which is not limited in this application.
In the present application, the names of the above-mentioned data processing apparatuses do not limit the devices or functional modules themselves, and in actual implementation, the devices or functional modules may appear by other names. Insofar as the functions of the respective devices or functional modules are similar to those of the present application, they fall within the scope of the claims of the present application and their equivalents.
These and other aspects of the present application will be more readily apparent from the following description.
The technical scheme provided by the application at least brings the following beneficial effects:
based on any one of the above aspects, in the present application, after acquiring the target device identifier of the electronic device and the raw data sent by the electronic device through the target communication protocol, data conversion processing may be performed on the raw data based on the protocol type and the target device identifier of the target communication protocol to obtain data to be processed, and a target rule corresponding to the target device identifier may be selected from pre-established data processing rules. Therefore, after the original data in different formats sent by the plurality of electronic devices are received, the original data in the plurality of different data formats can be converted into the data to be processed in the uniform data format, and the data processing is performed according to the data processing rule aiming at the uniform data format. Compared with the prior art that a plurality of different data processing rules need to be established for different data formats, the data processing efficiency is improved according to the embodiment of the application.
Drawings
Fig. 1 is a schematic structural diagram of a data processing system according to an embodiment of the present application;
fig. 2 is a schematic hardware structure diagram of a communication device according to an embodiment of the present disclosure;
fig. 3 is a schematic diagram of another hardware structure of a communication device according to an embodiment of the present disclosure;
fig. 4 is a first flowchart illustrating a data processing method according to an embodiment of the present application;
fig. 5 is a flowchart illustrating a data processing method according to an embodiment of the present application;
fig. 6 is a third schematic flowchart of a data processing method according to an embodiment of the present application;
fig. 7 is a fourth schematic flowchart of a data processing method according to an embodiment of the present application;
fig. 8 is a fifth flowchart illustrating a data processing method according to an embodiment of the present application;
fig. 9 is a sixth schematic flowchart of a data processing method according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application.
Detailed Description
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 a part of the embodiments of the present application, 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 application.
It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described herein as "exemplary" or "e.g.," is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
For the convenience of clearly describing the technical solutions of the embodiments of the present application, in the embodiments of the present application, the terms "first" and "second" are used to distinguish the same items or similar items with basically the same functions and actions, and those skilled in the art can understand that the terms "first" and "second" are not used to limit the quantity and execution order.
Furthermore, the terms "comprising" and "having" in the description of the embodiments and claims of the present application and the drawings are not intended to be exclusive. For example, a process, method, system, article, or apparatus that comprises a list of steps or modules is not limited to only those steps or modules listed, but may include other steps or modules not listed.
As described in the background art, the existing data processing platform generally establishes a processing rule corresponding to each data structure, so as to process data of different data structures reported by the internet of things devices.
However, in such a way of processing data with different data structures, the data processing process is complicated, and the efficiency of data processing is reduced.
In view of the above problems, an embodiment of the present application provides a data processing method, where after a target device identifier of an electronic device and original data sent by the electronic device through a target communication protocol are obtained, data conversion processing may be performed on the original data based on a protocol type and the target device identifier of the target communication protocol to obtain data to be processed, and a target rule corresponding to the target device identifier may be selected from pre-established data processing rules. Therefore, after the original data in different formats sent by the plurality of electronic devices are received, the original data in the plurality of different data formats can be converted into the data to be processed in the uniform data format, and the data processing is performed according to the data processing rule aiming at the uniform data format. Compared with the prior art that a plurality of different data processing rules need to be established for different data formats, the data processing efficiency is improved according to the embodiment of the application.
The data processing method is suitable for a data processing system. FIG. 1 shows one configuration of the data processing system 100. As shown in fig. 1, the data processing system 100 includes: a data processing server 101, an electronic device 102, and a protocol acquisition server 103. The data processing server 101 may be communicatively coupled to the electronic device 102. The data processing server 101 may also be communicatively coupled to the protocol acquisition server 103.
Alternatively, the data processing server 101 in fig. 1 may connect a plurality of electronic devices at the same time.
For ease of understanding, the present application mainly takes the case where the data processing server 101 is connected to one electronic device as an example.
Optionally, the data processing server 101 in fig. 1 may be a functional module in the protocol acquisition server 103, or may be an electronic device that is provided independently from the protocol acquisition server 103 and is used to process data.
Alternatively, when the data processing server 101 is an electronic device for processing data, which is provided separately from the protocol acquisition server 103, the electronic device may be a terminal. The terminal is a device that provides voice and/or data connectivity to a user, a handheld device having wireless connection capability, or other processing device connected to a wireless modem. A wireless terminal may communicate with one or more core networks via a Radio Access Network (RAN). The wireless terminal may be a mobile terminal, such as a computer having a mobile terminal, or a portable, pocket, hand-held, computer-embedded mobile device, which exchanges language and/or data with a radio access network, for example, a mobile phone, a tablet computer, a notebook computer, a netbook, a Personal Digital Assistant (PDA). The embodiments of the present application do not set any limit to this.
Alternatively, when the data processing server 101 is an electronic device provided separately from the protocol acquisition server 103 and configured to process data, the electronic device may also be a server. When the electronic device is a server, the electronic device may be a functional module for performing data processing inside the protocol acquisition server 103, or may be an independent server that is independent from the protocol acquisition server 103, which is not specifically limited in this application.
For the sake of easy understanding, the present application mainly illustrates an example in which the data processing server 101 and the protocol acquisition server 103 are independently provided.
It is easily understood that when the data processing server 101 is a functional module inside the protocol acquisition server 103, the communication manner between the data processing server 101 and the protocol acquisition server 103 is communication between the modules inside the server. In this case, the communication flow between the two is the same as "the communication flow between the two is the same when the data processing server 101 and the protocol acquisition server 103 are independent of each other".
Optionally, the electronic device 102 in fig. 1 may be an internet of things device having a specific function (for example, functions of measuring environmental indexes such as temperature and humidity, acquiring inter-network data such as video, and controlling a circuit switch such as a relay), or may be a terminal. The terminal is a device that provides voice and/or data connectivity to a user, a handheld device having wireless connection capability, or other processing device connected to a wireless modem. A wireless terminal may communicate with one or more core networks via a Radio Access Network (RAN). The wireless terminal may be a mobile terminal, such as a computer having a mobile terminal, or a portable, pocket, hand-held, computer-embedded mobile device, which exchanges language and/or data with a radio access network, for example, a mobile phone, a tablet computer, a notebook computer, a netbook, a Personal Digital Assistant (PDA). The embodiments of the present application do not set any limit to this.
The protocol acquisition server 103 is configured to collect and provide information such as protocol specifications of a plurality of communication protocols having different protocol versions or different protocol types to the data processing server 101.
Alternatively, the protocol acquisition server 103 may be a single server, or may be a server cluster composed of a plurality of servers. In some embodiments, the server cluster may also be a distributed cluster. The embodiments of the present application do not set any limit to this.
The basic hardware structures of the data processing server 101, the electronic device 102, and the protocol acquisition server 103 in the data processing system 100 are similar and include elements included in the communication apparatus shown in fig. 2 or 3. The hardware configurations of the data processing server 101, the electronic device 102, and the protocol acquisition server 103 will be described below by taking the communication apparatus shown in fig. 2 and 3 as an example.
Fig. 2 is a schematic diagram of a hardware structure of a communication device according to an embodiment of the present disclosure. The communication device comprises a processor 21, a memory 22, a communication interface 23, a bus 24. The processor 21, the memory 22 and the communication interface 23 may be connected by a bus 24.
The processor 21 is a control center of the communication apparatus, and may be a single processor or a collective term for a plurality of processing elements. For example, the processor 21 may be a Central Processing Unit (CPU), other general-purpose processors, or the like. Wherein a general purpose processor may be a microprocessor or any conventional processor or the like.
For one embodiment, processor 21 may include one or more CPUs, such as CPU0 and CPU1 shown in FIG. 2.
The memory 22 may be, but is not limited to, a read-only memory (ROM) or other type of static storage device that may store static information and instructions, a Random Access Memory (RAM) or other type of dynamic storage device that may store information and instructions, an electrically erasable programmable read-only memory (EEPROM), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
In a possible implementation, the memory 22 may exist separately from the processor 21, and the memory 22 may be connected to the processor 21 via a bus 24 for storing instructions or program codes. The processor 21 can implement the data processing method provided by the following embodiments of the present application when calling and executing the instructions or program codes stored in the memory 22.
In the embodiment of the present application, the software programs stored in the memory 22 are different for the data processing server 101, the electronic device 102, and the protocol acquisition server 103, so the functions implemented by the data processing server 101, the electronic device 102, and the protocol acquisition server 103 are different. The functions performed by the devices will be described in connection with the following flow charts.
In another possible implementation, the memory 22 may also be integrated with the processor 21.
The communication interface 23 is used for connecting the communication device with other devices through a communication network, which may be an ethernet, a radio access network, a Wireless Local Area Network (WLAN), or the like. The communication interface 23 may include a receiving unit for receiving data, and a transmitting unit for transmitting data.
The bus 24 may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an extended ISA (enhanced industry standard architecture) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 2, but it is not intended that there be only one bus or one type of bus.
It is noted that the configuration shown in fig. 2 does not constitute a limitation of the communication device, which may comprise more or less components than those shown in fig. 2, or a combination of some components, or a different arrangement of components than those shown in fig. 2.
Fig. 3 shows another hardware configuration of the communication apparatus in the embodiment of the present application. As shown in fig. 3, the communication device may include a processor 31 and a communication interface 32. The processor 31 is coupled to a communication interface 32.
The function of the processor 31 may refer to the description of the processor 21 above. The processor 31 also has a memory function and can function as the memory 22.
The communication interface 32 is used to provide data to the processor 31. The communication interface 32 may be an internal interface of the communication device, or may be an external interface (corresponding to the communication interface 23) of the communication device.
It is noted that the configuration shown in fig. 2 (or fig. 3) does not constitute a limitation of the communication apparatus, which may include more or less components than those shown in fig. 2 (or fig. 3), or combine some components, or a different arrangement of components, in addition to the components shown in fig. 2 (or fig. 3).
Fig. 4 is a schematic flow chart of a data processing method according to an embodiment of the present application. The data processing method is applied to a data processing server, and the data processing server belongs to a data processing system consisting of the data processing server, the electronic equipment and the protocol acquisition server shown in figure 1. The data processing method comprises the following steps: S401-S404.
S401, the data processing server obtains the target device identification of the electronic device and the original data sent by the electronic device through the target communication protocol.
Specifically, when electronic equipment with specific functions (for example, functions of measuring environmental indexes of temperature and humidity, acquiring video and other inter-network data, controlling a relay and other circuit switches and the like) needs to be deployed in an application scene to meet business requirements, the data processing server can perform data transmission with the electronic equipment based on a target communication protocol supported by the electronic equipment. Subsequently, the electronic device may send the raw data to the data processing server via the target communication protocol. Accordingly, the data processing server may obtain the raw data sent by the electronic device through the target communication protocol, and obtain the target device identifier of the electronic device.
Optionally, the data processing server may generate an equipment identifier for each electronic device in advance, and display the equipment identifier of each electronic device through the display device, so that the storage module of each electronic device is conveniently checked and entered by the staff. The device identification is used to uniquely determine the identity of the electronic device.
Optionally, the device identifier generated by the data processing server may be a Universal Unique Identifier (UUID).
Optionally, when the data processing server and the electronic device perform data transmission based on the target communication protocol, the transmitted data may be encrypted. The encryption mode may be a symmetric encryption, for example, an Advanced Encryption Standard (AES) encryption mode, a Data Encryption Standard (DES) encryption mode, and the like, which is not limited in this embodiment of the present application.
Optionally, when the data processing server and the electronic device perform data transmission based on the target communication protocol, both the data processing server and the electronic device may actively generate a connection disconnection message, and send a connection management message to the opposite terminal to stop data transmission.
Optionally, the data type of the raw data may be a text type, a video type, an image type, and the like, which is not limited in this embodiment of the application.
S402, the data processing server performs data conversion processing on the original data based on the protocol type of the target communication protocol and the target equipment identification to obtain data to be processed.
Specifically, after acquiring the target device identifier of the electronic device and the raw data sent by the electronic device through the target communication protocol, the data processing server may perform data conversion processing on the raw data based on the protocol type of the target communication protocol and the target device identifier, so as to obtain to-be-processed data.
The data conversion processing is used for converting data with different data formats into data with the same format.
It will be appreciated that under current communication protocol specifications, the data transmission formats employed by different communication protocols will generally differ. In order to facilitate data processing, the data processing server may perform data conversion processing on the received raw data to obtain to-be-processed data with the same data format.
Illustratively, the preset data processing server acquires original data 1 sent by an electronic device a based on a protocol, original data 2 sent by an electronic device B based on a protocol, and original data 3 sent by an electronic device C based on a protocol, and the data format of the data to be processed is d. In this case, the data format of the original data 1 is the data format corresponding to the a protocol, the data format of the original data 2 is the data format corresponding to the b protocol, and the data format of the original data 3 is the data format corresponding to the c protocol.
The data processing server may perform data conversion processing on the raw data 1, the raw data 2, and the raw data 3 to obtain the data to be processed 1 having a data format d corresponding to the raw data 1, the data to be processed 2 having a data format d corresponding to the raw data 2, and the data to be processed 3 having a data format d corresponding to the raw data 3.
Optionally, when the data processing server obtains the original data sent by the electronic device through the target communication protocol, the current time of obtaining the original data may also be determined. Subsequently, after the data to be processed is obtained, the data processing server may determine the current time of the obtained original data as the message time of the data to be processed, so as to perform data processing on the data to be processed.
S403, the data processing server selects a target rule corresponding to the target equipment identifier from the pre-established data processing rules.
Specifically, after acquiring the target device identifier of the electronic device, the data processing server may select a target rule corresponding to the target device identifier from pre-established data processing rules.
The data processing rule is used for processing data with the same data format as the data to be processed.
Optionally, the data processing rule may include a data conversion rule, a data filtering rule, a data judgment rule, and a data output rule. The data processing rules may also include other rules for data processing, which is not limited in the embodiments of the present application.
Optionally, the data conversion rule may perform logic processing on the data based on codes of programming languages such as JavaScript and python, and may convert the data after the logic processing into a preset format for output.
Optionally, the data filtering rule may be configured to filter the input data according to a preset filtering condition, and output data meeting the preset filtering condition. The preset filtering condition may be whether values of one or more fields in the input data exceed a threshold range, etc.
Optionally, the data determination rule may be configured to determine the input data according to a preset determination condition, and output a determination result in a yes or no manner.
Optionally, the data output rule may be used to match a processing action corresponding to a result output by any one of the data conversion rule, the data filtering rule, and the data judgment rule. Processing actions can be divided into internal actions and external actions.
The internal action may be an alarm generating action for adding alarm information to a certain and/or certain type of electronic device, an alarm clearing action for clearing alarm information of a certain and/or certain type of electronic device, a delay processing action for delaying a preset time, a log recording action for recording data and processing actions corresponding to the data, and the like, which is not limited in the embodiment of the present application.
The external action may be a mail sending action for sending a mail by configuring an address of a Simple Mail Transfer Protocol (SMTP) server and other information, a short message sending action for sending a short message by configuring information such as a short message provider interface and a key, a content pushing action for pushing content to a message queue by configuring a message queue server and a topic, and the like, which is not limited in the embodiments of the present application.
The coding of step S402 and step S403 is only for convenience of description, and the actual execution order is not limited. For example, S402 may be performed first, and then S403 may be performed; or executing S403 first and then executing S402; s402 and S403 may also be performed simultaneously.
S404, the data processing server processes the data to be processed based on the target rule.
Specifically, after the data to be processed is obtained and the target rule corresponding to the target device identifier is selected, the data processing server may perform data processing on the data to be processed based on the target rule.
Illustratively, the preset electronic device is a smoke sensing device for testing smoke concentration, the UUID of the smoke sensing device is represented by a letter A, and the target rule B corresponding to the UUID (namely A) of the smoke sensing device is selected by the data processing server as a combination of the data judgment rule and the data output rule. The data judgment rule is used for judging whether the input data exceeds a preset threshold value, and if the input data exceeds the preset threshold value, yes is output. The data output rule is that when the data output from the data judgment rule is received and yes is output, alarm information with overhigh smoke concentration is added to the electronic equipment corresponding to the data to be processed; and when receiving the 'no' output from the data judgment rule, adding alarm information with normal smoke concentration for the electronic equipment corresponding to the data to be processed.
Subsequently, the data processing server receives the original data of the smoke sensing device, performs data conversion processing on the original data to obtain data to be processed, and then inputs the data to be processed into the target rule B. And the target rule B judges that the smoke concentration value in the data to be processed is smaller than a preset threshold value, and adds alarm information that the smoke concentration is normal to the smoke sensing equipment.
In an implementable manner, referring to fig. 4 and as shown in fig. 5, in the above S402, the method for the data processing server to perform data conversion processing on the original data based on the protocol type of the target communication protocol and the target device identifier to obtain the data to be processed specifically includes: S501-S503.
S501, the data processing server extracts key fields in the original data according to the analysis rule corresponding to the protocol type of the target communication protocol.
Specifically, after acquiring the target device identifier of the electronic device and the original data sent by the electronic device through the target communication protocol, the data processing server may extract the key field in the original data according to the parsing rule corresponding to the protocol type of the target communication protocol.
The key field may be payload data in a packet of the original data.
It is understood that the data format of the data corresponds to the protocol type of the data communication protocol, and the data processing server may match the parsing rule corresponding to the data according to the protocol type of the data communication protocol, so as to parse the data to extract the key field.
For example, if the protocol type of the target communication protocol of the electronic device is a Transmission Control Protocol (TCP), the data processing server may parse the original data according to a parsing rule corresponding to the TCP protocol to extract the key field.
S502, the data processing server reads the pre-established corresponding relation between the device identification and the data definition, and determines the target definition corresponding to the target device identification.
Specifically, after extracting the key fields in the original data, the data processing server may read a pre-established correspondence between the device identifier and the data definition, and determine the target definition corresponding to the target device identifier.
In practical applications, the data processing server can perform data transmission with a plurality of electronic devices for implementing different functions. The electronic devices for implementing the same and/or similar functions may be manually and empirically classified into one type of electronic device, and a data definition is added to each type of electronic device and entered into the storage module of the data processing server corresponding to the device identifier of each electronic device.
Where the data definition may be used to represent properties and attributes corresponding to key fields in the original data.
S503, the data processing server stores the key fields and the target definition in a preset data format and determines the key fields and the target definition as data to be processed.
Specifically, after determining the target definition corresponding to the target device identifier, the data processing server may store the key field and the target definition in a preset data format, and determine the data to be processed.
Optionally, the preset data format may be a Java Script Object Notation (JSON) format, or may be other data formats, which is not limited in this embodiment of the present application.
In an implementation manner, referring to fig. 4 and fig. 6, in the above S403, the method for the data processing server to select the target rule corresponding to the target device identifier from the pre-established data processing rules specifically includes: and S601.
S601, the data processing server reads the corresponding relation between the pre-established equipment identification and the preset rule, and determines the target rule corresponding to the target equipment identification.
Specifically, after the target device identifier of the electronic device is obtained, the data processing server may read a correspondence between the device identifier and the preset rule that is established in advance, and determine the target rule corresponding to the target device identifier.
The preset rule is any combination of at least one or more of a data conversion rule, a data filtering rule, a data judgment rule and a data output rule.
For example, the preset rule a may be a data output rule, the preset rule B may be a data filtering rule executed first, a data determining rule executed second, and a data output rule executed last, and the preset rule C may be a data determining rule executed first, a data filtering rule executed second, and a data output rule executed last.
Optionally, a preset rule may include a start portion for identifying a start of the preset rule, a data processing portion for processing at least one data processing rule or any combination of multiple data processing rules of data, a chain portion for connecting each data processing rule, an end portion for identifying an end of the preset rule, and the like, which is not limited in this embodiment of the present application.
Alternatively, when the preset rule is any combination of a plurality of data processing rules, the flow control between the plurality of data processing rules may adopt activity-based flow control.
Optionally, when a preset rule is ended, a log recording component log4j may record a log about the execution process and the output result of the preset rule.
In an implementation manner, as described in fig. 7 in conjunction with fig. 4, the data processing method further includes: S701-S702.
S701, the data processing server acquires protocol specifications of a plurality of communication protocols.
Specifically, in order to meet the service requirements of complex application scenarios, the data processing server needs to be communicatively connected to a plurality of electronic devices supporting different communication protocols. In this case, the data processing server can acquire protocol specifications of a plurality of communication protocols.
Wherein the protocol versions or protocol types of the plurality of communication protocols are different.
Optionally, the protocol parsing server may store in advance protocol specifications of a plurality of communication protocols. When it is necessary to acquire protocol specifications of a plurality of communication protocols, the data processing server may send a request message for acquiring the protocol specifications of the plurality of communication protocols to the protocol resolution server. And the protocol analysis server responds to the request message, reads the protocol specifications of the plurality of communication protocols and sends the protocol specifications to the data processing server. Accordingly, the data processing server may accept protocol specifications for a plurality of communication protocols from the protocol resolution server.
S702, the data processing server generates a plurality of communication interfaces corresponding to a plurality of communication protocols one by one based on protocol specifications of the plurality of communication protocols.
Specifically, after acquiring the protocol specifications of the plurality of communication protocols, the data processing server may generate a plurality of communication interfaces corresponding to the plurality of communication protocols one to one based on the protocol specifications of the plurality of communication protocols.
One of the communication interfaces is used for data transmission through a communication protocol corresponding to the one of the communication interfaces.
In practical applications, the manner of generating the plurality of communication interfaces corresponding to the plurality of communication protocols one to one may be performed by using an open-source netty network framework. The method includes the steps that protocols such as a hypertext transfer protocol (HTTP), a message queue telemetry transport protocol (MQTT), a User Datagram Protocol (UDP), a TCP protocol and the like supported by a netty network framework are programmed and developed according to a data packet format, a communication mode and the like required by the protocol specifications, so that communication interfaces corresponding to the protocols such as the HTTP, the MQTT, the UDP and the TCP are obtained.
The mode of generating a plurality of communication interfaces corresponding to a plurality of communication protocols one to one may also be performed by using an open-source leshan network framework. Programming and developing protocols such as restricted application protocol (COAP) supported by a leshan network framework, lightweight M2M protocol (LWM 2M) according to a data packet format, a communication mode and the like required by the protocol specifications to obtain communication interfaces corresponding to the protocols such as COAP and LWM2M respectively.
In an implementation manner, as described in fig. 8 in conjunction with fig. 7, the data processing method further includes: S801-S802.
S801, when the plurality of communication protocols comprise the target communication protocol, the data processing server receives authentication information sent by the electronic equipment.
Specifically, when the data processing server needs to be in communication connection with the electronic device supporting the target communication protocol, if the plurality of communication protocols include the target communication protocol, the electronic device may send the authentication information to the data processing server through the communication interface corresponding to the target communication protocol. Accordingly, the data processing server can receive the authentication information sent by the electronic equipment.
Optionally, the authentication information may include a device identifier of the electronic device and a password uniquely corresponding to the device identifier of the electronic device.
Optionally, when the device identifier is generated for each electronic device in advance, the data processing server may further generate, for each electronic device, a password uniquely corresponding to the device identifier of each electronic device, so as to complete authentication of the electronic device.
Then, the data processing server can store the device identification and the password corresponding to the device identification in a one-to-one mode into the storage module. Meanwhile, the data processing server can also display the equipment identifier of each electronic equipment and the password uniquely corresponding to the equipment identifier of each electronic equipment through the display device, so that a worker can conveniently check and input the storage module of each electronic equipment.
Optionally, the data processing server may generate the password in the form of a 16-bit random string.
S802, the data processing server authenticates the electronic equipment according to the authentication information.
Specifically, after receiving the authentication information sent by the electronic device, the data processing server may authenticate the electronic device according to the authentication information.
Optionally, when the electronic device is authenticated, the data processing server may read authentication information corresponding to the electronic device and pre-stored in the storage module, determine that the authentication is successful if the authentication information is consistent with the received authentication information sent by the electronic device, and determine that the authentication is failed if the authentication information is inconsistent with the received authentication information sent by the electronic device.
In an implementation manner, as described in fig. 9 in conjunction with fig. 8, the data processing method further includes: and S901.
S901, when the electronic equipment is successfully authenticated, the data processing server determines the classification information of the electronic equipment according to the target equipment identification.
Specifically, when the electronic device is successfully authenticated, the data processing server may determine the classification information of the electronic device according to the target device identifier.
The classification information is used for determining the reference authority of the login account.
Optionally, the consulting authority control policy for the login account may be implemented in an Adapter Pattern (Adapter Pattern)).
Optionally, the reference authority of the login account may include full data authority, department and sub-department data authority, personal data authority, custom data authority, and the like.
Alternatively, the full data authority may be used to refer to the raw data of all electronic devices that establish a connection with the data processing server.
Alternatively, the department data authority may be used to refer to raw data of all electronic devices with department identification. Wherein the department identification is used for indicating the department where the staff using the login account is located.
Alternatively, the department and sub-department data authority may be used to refer to the raw data of all electronic devices with the department cascade identification. The department cascade identifier is used for indicating the department where the staff who uses the login account is located and all sub-departments of the department.
Optionally, the personal data authority may be used to refer to data that is added by the staff member using the login account on the electronic device.
Optionally, the custom data permission may be used to look up the raw data of the electronic device corresponding to the role of the login account. In this manner, the login account may have one or more roles, and one electronic device may correspond to a plurality of roles.
It should be noted that, in order to implement the fine management of the electronic devices, the data processing server may add the same category identifier to the electronic devices with the same function and the electronic devices related to the functions of the electronic devices, and store the target device identifier and the category identifier of the electronic devices in the storage module of the data processing server correspondingly. Wherein the target device identification of one electronic device may correspond to a plurality of category identifications. Subsequently, the category identifier of the electronic device that can be referred to by the login account of each worker may be set, so that after each worker logs in the account, the original data sent by the electronic device of the category identifier corresponding to the login account is referred to.
Illustratively, the preset data processing server is connected with an electronic device A for measuring the temperature of a position, an electronic device B for measuring the temperature of B position, an electronic device C for measuring humidity and an electronic device D for monitoring the on-off state of a circuit. The electronic devices A, B, C and D may be classified as a first type of electronic device and a worker corresponding to the first type of electronic device may view the raw data sent by all of the electronic devices. The electronic devices a and B having the same function and the electronic device C for measuring humidity, which is associated with the temperature measurement function of the electronic devices a and B, may be further classified into a second type of electronic device, and a worker corresponding to the second type of electronic device may view raw data transmitted by the electronic devices A, B and C.
In the embodiment of the application, after acquiring the target device identifier of the electronic device and the original data sent by the electronic device through the target communication protocol, the data processing server may perform data conversion processing on the original data based on the protocol type and the target device identifier of the target communication protocol to obtain data to be processed, and may select the target rule corresponding to the target device identifier from pre-established data processing rules. Therefore, after the original data in different formats sent by the plurality of electronic devices are received, the original data in the plurality of different data formats can be converted into the data to be processed in the uniform data format, and the data processing is performed according to the data processing rule aiming at the uniform data format. Compared with the prior art that a plurality of different data processing rules need to be established for different data formats, the data processing efficiency is improved according to the embodiment of the application.
The scheme provided by the embodiment of the application is mainly introduced from the perspective of a method. To implement the above functions, it includes hardware structures and/or software modules for performing the respective functions. Those of skill in the art would readily appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as hardware or combinations of hardware and computer software. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiment of the present application, the data processing server may be divided into the functional modules according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. Optionally, the division of the modules in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Fig. 10 is a schematic structural diagram of a data processing apparatus according to an embodiment of the present application. The data processing device is applied to a data processing server and can be used for executing the data processing method shown in fig. 4 to 9. The data processing apparatus shown in fig. 10 includes: an acquisition unit 1001 and a processing unit 1002.
An obtaining unit 1001 is configured to obtain a target device identifier of the electronic device and raw data sent by the electronic device through a target communication protocol. For example, in conjunction with fig. 4, the acquisition unit 1001 may be configured to perform S401.
The processing unit 1002 is configured to perform data conversion processing on the original data based on the protocol type of the target communication protocol and the target device identifier acquired by the acquiring unit 1001, so as to obtain to-be-processed data. The data conversion process is used to convert data of different data formats into data of the same format. For example, in conjunction with fig. 4, the processing unit 1002 may be configured to perform S402.
The processing unit 1002 is configured to select, from pre-established data processing rules, a target rule corresponding to the target device identifier acquired by the acquiring unit 1001. The data processing rule is used for processing data with the same data format as the data to be processed. For example, in conjunction with fig. 4, the processing unit 1002 may be configured to perform S403.
The processing unit 1002 is configured to perform data processing on the data to be processed based on the target rule. For example, in conjunction with fig. 4, the processing unit 1002 may be configured to perform S404.
Optionally, the processing unit 1002 is specifically configured to:
and extracting key fields in the original data according to the analysis rule corresponding to the protocol type of the target communication protocol. For example, in conjunction with fig. 5, the processing unit 1002 may be configured to perform S501.
Reading the pre-established corresponding relation between the device identification and the data definition, and determining the target definition corresponding to the target device identification. For example, in conjunction with fig. 5, the processing unit 1002 may be configured to execute S502.
And storing the key fields and the target definition in a preset data format, and determining the key fields and the target definition as data to be processed. For example, in conjunction with fig. 5, the processing unit 1002 may be configured to execute S503.
Optionally, the data processing rule includes: the system comprises a data conversion rule, a data filtering rule, a data judgment rule and a data output rule. The processing unit 1002 is specifically configured to:
reading the corresponding relation between the pre-established equipment identification and the preset rule, and determining the target rule corresponding to the target equipment identification. The preset rule is any combination of at least one or more of a data conversion rule, a data filtering rule, a data judgment rule and a data output rule. For example, in conjunction with fig. 6, the processing unit 1002 may be configured to execute S601.
Optionally, the obtaining unit 1001 is further configured to:
protocol specifications of a plurality of communication protocols are obtained. The multiple communication protocols differ in protocol version or protocol type. For example, in conjunction with fig. 7, the obtaining unit 1001 may be configured to perform S701.
A plurality of communication interfaces corresponding to the plurality of communication protocols one to one are generated based on protocol specifications of the plurality of communication protocols. One communication interface is used for data transmission through a communication protocol corresponding to the one communication interface. For example, in conjunction with fig. 7, the obtaining unit 1001 may be configured to perform S702.
Optionally, the processing unit 1002 is further configured to:
when the plurality of communication protocols include a target communication protocol, authentication information sent by the electronic device is received. For example, in conjunction with fig. 8, the processing unit 1002 may be configured to perform S801.
And authenticating the electronic equipment according to the authentication information. For example, in conjunction with fig. 8, the processing unit 1002 may be configured to perform S802.
Optionally, the processing unit 1002 is further configured to:
and when the electronic equipment is successfully authenticated, determining the classification information of the electronic equipment according to the target equipment identification. The classification information is used for determining the reference authority of the login account. For example, in conjunction with fig. 9, the processing unit 1002 may be configured to execute S901.
Those skilled in the art will recognize that in one or more of the examples described above, the functions described herein may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer-readable storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions.
In the several embodiments provided in the present application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical function division, and there may be other division ways in actual implementation. For example, various elements or components may be combined or may be integrated into another device, or some features may be omitted, or not implemented. 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, devices or units, and may be in an electrical, mechanical or other form. Units described as separate parts may or may not be physically separate, and parts displayed as units may be one physical unit or a plurality of physical units, may be located in one place, or may be distributed to a plurality of different places. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
Claims (14)
1. A data processing method, comprising:
acquiring a target device identifier of electronic equipment and original data sent by the electronic equipment through a target communication protocol;
based on the protocol type of the target communication protocol and the target equipment identification, performing data conversion processing on the original data to obtain data to be processed; the data conversion processing is used for converting data with different data formats into data with the same format;
selecting a target rule corresponding to the target equipment identifier from pre-established data processing rules; the data processing rule is used for processing the data with the same data format as the data to be processed;
and performing data processing on the data to be processed based on the target rule.
2. The data processing method according to claim 1, wherein the performing a data conversion process on the raw data based on the protocol type of the target communication protocol and the target device identifier to obtain data to be processed comprises:
extracting key fields in the original data according to an analysis rule corresponding to the protocol type of the target communication protocol;
reading a pre-established corresponding relation between the equipment identifier and the data definition, and determining a target definition corresponding to the target equipment identifier;
and storing the key field and the target definition in a preset data format, and determining the key field and the target definition as the data to be processed.
3. The data processing method of claim 1, wherein the data processing rule comprises: the data conversion rule, the data filtering rule, the data judgment rule and the data output rule; selecting a target rule corresponding to the target equipment identifier from pre-established data processing rules, wherein the target rule comprises the following steps:
reading a corresponding relation between a pre-established device identifier and a preset rule, and determining a target rule corresponding to the target device identifier; the preset rule is any combination of at least one or more of the data conversion rule, the data filtering rule, the data judgment rule and the data output rule.
4. The data processing method of claim 1, further comprising:
acquiring protocol specifications of a plurality of communication protocols; the protocol versions of the plurality of communication protocols are different or the protocol types are different;
generating a plurality of communication interfaces corresponding to the plurality of communication protocols one by one based on protocol specifications of the plurality of communication protocols; one communication interface is used for data transmission through a communication protocol corresponding to the one communication interface.
5. The data processing method of claim 4, further comprising:
when the plurality of communication protocols comprise the target communication protocol, receiving authentication information sent by the electronic equipment;
and authenticating the electronic equipment according to the authentication information.
6. The data processing method of claim 5, further comprising:
when the electronic equipment is successfully authenticated, determining classification information of the electronic equipment according to the target equipment identification; the classification information is used for determining the reference authority of the login account.
7. A data processing apparatus, comprising: an acquisition unit and a processing unit;
the acquisition unit is used for acquiring a target device identifier of the electronic device and original data sent by the electronic device through a target communication protocol;
the processing unit is configured to perform data conversion processing on the original data based on the protocol type of the target communication protocol and the target device identifier acquired by the acquisition unit to obtain to-be-processed data; the data conversion processing is used for converting data with different data formats into data with the same format;
the processing unit is used for selecting a target rule corresponding to the target equipment identifier acquired by the acquisition unit from pre-established data processing rules; the data processing rule is used for processing the data with the same data format as the data to be processed;
and the processing unit is used for processing the data to be processed based on the target rule.
8. The data processing apparatus according to claim 7, wherein the processing unit is specifically configured to:
extracting key fields in the original data according to an analysis rule corresponding to the protocol type of the target communication protocol;
reading a pre-established corresponding relation between the equipment identifier and the data definition, and determining a target definition corresponding to the target equipment identifier;
and storing the key field and the target definition in a preset data format, and determining the key field and the target definition as the data to be processed.
9. The data processing apparatus of claim 7, wherein the data processing rule comprises: the data conversion rule, the data filtering rule, the data judgment rule and the data output rule; the processing unit is specifically configured to:
reading a corresponding relation between a pre-established device identifier and a preset rule, and determining a target rule corresponding to the target device identifier; the preset rule is any combination of at least one or more of the data conversion rule, the data filtering rule, the data judgment rule and the data output rule.
10. The data processing apparatus according to claim 7, wherein the obtaining unit is further configured to:
acquiring protocol specifications of a plurality of communication protocols; the protocol versions of the plurality of communication protocols are different or the protocol types are different;
generating a plurality of communication interfaces corresponding to the plurality of communication protocols one by one based on protocol specifications of the plurality of communication protocols; one communication interface is used for data transmission through a communication protocol corresponding to the one communication interface.
11. The data processing apparatus of claim 10, wherein the processing unit is further configured to:
when the plurality of communication protocols comprise the target communication protocol, receiving authentication information sent by the electronic equipment;
and authenticating the electronic equipment according to the authentication information.
12. The data processing apparatus of claim 11, wherein the processing unit is further configured to:
when the electronic equipment is successfully authenticated, determining classification information of the electronic equipment according to the target equipment identification; the classification information is used for determining the reference authority of the login account.
13. A data processing apparatus comprising a memory and a processor; the memory is used for storing computer execution instructions, and the processor is connected with the memory through a bus; the processor executes the computer-executable instructions stored by the memory when the data processing apparatus is running to cause the data processing apparatus to perform the data processing method of any one of claims 1-6.
14. A computer-readable storage medium, comprising computer-executable instructions that, when executed on a computer, cause the computer to perform the data processing method of any one of claims 1-6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111276511.2A CN114036216A (en) | 2021-10-29 | 2021-10-29 | Data processing method, device and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111276511.2A CN114036216A (en) | 2021-10-29 | 2021-10-29 | Data processing method, device and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114036216A true CN114036216A (en) | 2022-02-11 |
Family
ID=80142574
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111276511.2A Pending CN114036216A (en) | 2021-10-29 | 2021-10-29 | Data processing method, device and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114036216A (en) |
Cited By (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114449056A (en) * | 2022-02-15 | 2022-05-06 | 智联数聚科技(江苏)有限公司 | Water meter communication method, device, equipment and readable storage medium |
CN114531289A (en) * | 2022-02-21 | 2022-05-24 | 平安普惠企业管理有限公司 | System interaction method based on artificial intelligence and related equipment |
CN114710572A (en) * | 2022-03-31 | 2022-07-05 | 深圳奇迹智慧网络有限公司 | Data processing method, device and computer storage medium |
CN114900387A (en) * | 2022-05-10 | 2022-08-12 | 中移(杭州)信息技术有限公司 | Cross-platform fusion access method, system, gateway and storage medium of equipment |
CN115062610A (en) * | 2022-06-16 | 2022-09-16 | 北京新奥特体育传媒有限公司 | Sports event data processing method and device, electronic equipment and readable medium |
CN115100840A (en) * | 2022-05-16 | 2022-09-23 | 深圳绿米联创科技有限公司 | Device control method, device, electronic device and storage medium |
CN115134427A (en) * | 2022-06-10 | 2022-09-30 | 芯来智融半导体科技(上海)有限公司 | Communication protocol coordination method, device, computer equipment and storage medium |
CN115242894A (en) * | 2022-06-08 | 2022-10-25 | 三一智矿科技有限公司 | Data processing method, data processing device, storage medium and computer equipment |
CN115314553A (en) * | 2022-07-26 | 2022-11-08 | 珠海格力电器股份有限公司 | Data processing method, device, equipment, system and readable storage medium |
CN115314566A (en) * | 2022-07-26 | 2022-11-08 | 北京金山云网络技术有限公司 | Data transmission method and device, electronic equipment and storage medium |
CN115883678A (en) * | 2023-03-08 | 2023-03-31 | 国网瑞嘉(天津)智能机器人有限公司 | Data processing system, method, device, equipment and medium |
CN116431863A (en) * | 2023-06-13 | 2023-07-14 | 北京大数据先进技术研究院 | Digital object generation method and device, electronic equipment and readable storage medium |
CN117234706A (en) * | 2023-08-30 | 2023-12-15 | 中科驭数(北京)科技有限公司 | Numeric data type conversion method, device and accelerator card |
CN117914957A (en) * | 2023-12-21 | 2024-04-19 | 北京国科天迅科技股份有限公司 | Multi-protocol interactive communication method, device, equipment, storage medium and product |
-
2021
- 2021-10-29 CN CN202111276511.2A patent/CN114036216A/en active Pending
Cited By (20)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114449056A (en) * | 2022-02-15 | 2022-05-06 | 智联数聚科技(江苏)有限公司 | Water meter communication method, device, equipment and readable storage medium |
CN114531289A (en) * | 2022-02-21 | 2022-05-24 | 平安普惠企业管理有限公司 | System interaction method based on artificial intelligence and related equipment |
CN114710572A (en) * | 2022-03-31 | 2022-07-05 | 深圳奇迹智慧网络有限公司 | Data processing method, device and computer storage medium |
CN114900387A (en) * | 2022-05-10 | 2022-08-12 | 中移(杭州)信息技术有限公司 | Cross-platform fusion access method, system, gateway and storage medium of equipment |
CN114900387B (en) * | 2022-05-10 | 2024-06-04 | 中移(杭州)信息技术有限公司 | Cross-platform fusion access method, system, gateway and storage medium of equipment |
CN115100840B (en) * | 2022-05-16 | 2024-01-12 | 深圳绿米联创科技有限公司 | Equipment control method, device, electronic equipment and storage medium |
CN115100840A (en) * | 2022-05-16 | 2022-09-23 | 深圳绿米联创科技有限公司 | Device control method, device, electronic device and storage medium |
CN115242894B (en) * | 2022-06-08 | 2023-11-17 | 三一智矿科技有限公司 | Data processing method, device, storage medium and computer equipment |
CN115242894A (en) * | 2022-06-08 | 2022-10-25 | 三一智矿科技有限公司 | Data processing method, data processing device, storage medium and computer equipment |
CN115134427A (en) * | 2022-06-10 | 2022-09-30 | 芯来智融半导体科技(上海)有限公司 | Communication protocol coordination method, device, computer equipment and storage medium |
CN115134427B (en) * | 2022-06-10 | 2024-02-02 | 芯来智融半导体科技(上海)有限公司 | Communication protocol coordination method, device, computer equipment and storage medium |
CN115062610A (en) * | 2022-06-16 | 2022-09-16 | 北京新奥特体育传媒有限公司 | Sports event data processing method and device, electronic equipment and readable medium |
CN115314566A (en) * | 2022-07-26 | 2022-11-08 | 北京金山云网络技术有限公司 | Data transmission method and device, electronic equipment and storage medium |
CN115314553B (en) * | 2022-07-26 | 2024-05-03 | 珠海格力电器股份有限公司 | Method, device, equipment, system and readable storage medium for data processing |
CN115314553A (en) * | 2022-07-26 | 2022-11-08 | 珠海格力电器股份有限公司 | Data processing method, device, equipment, system and readable storage medium |
CN115883678A (en) * | 2023-03-08 | 2023-03-31 | 国网瑞嘉(天津)智能机器人有限公司 | Data processing system, method, device, equipment and medium |
CN116431863B (en) * | 2023-06-13 | 2023-09-12 | 北京大数据先进技术研究院 | Digital object generation method and device, electronic equipment and readable storage medium |
CN116431863A (en) * | 2023-06-13 | 2023-07-14 | 北京大数据先进技术研究院 | Digital object generation method and device, electronic equipment and readable storage medium |
CN117234706A (en) * | 2023-08-30 | 2023-12-15 | 中科驭数(北京)科技有限公司 | Numeric data type conversion method, device and accelerator card |
CN117914957A (en) * | 2023-12-21 | 2024-04-19 | 北京国科天迅科技股份有限公司 | Multi-protocol interactive communication method, device, equipment, storage medium and product |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN114036216A (en) | Data processing method, device and storage medium | |
US20200177599A1 (en) | Network connection method, hotspot terminal and management terminal | |
CN112055024B (en) | Authority verification method and device, storage medium and electronic equipment | |
US11425047B2 (en) | Traffic analysis method, common service traffic attribution method, and corresponding computer system | |
JP4503606B2 (en) | Message transmission system and message transmission method | |
CN111416867B (en) | Message processing method, server and computer storage medium between different devices | |
CN108235319A (en) | Allow for the communication between equipment | |
CN105847245B (en) | Electronic mailbox login authentication method and device | |
CN113015165A (en) | Internet of things platform device access method, device and system | |
CN104270250B (en) | WiFi internets online connection authentication method based on asymmetric whole encryption | |
JP2018170010A (en) | Terminal authentication method and device to be used for mobile communication system | |
CN105357110B (en) | E-mail sending method, apparatus and system | |
CN106679095B (en) | A kind of method, apparatus and intelligent air-conditioning system of interconnection access | |
CN106973083A (en) | Wiring method, system and its equipment of internet of things home appliance device identification | |
CN107318174A (en) | A kind of communication means, device and terminal | |
US20170265233A1 (en) | Apparatus and method of connecting a mobile device to a field device | |
CN103973652A (en) | Login method and login system | |
CN109729000A (en) | A kind of instant communicating method and device | |
CN114915439A (en) | E-commerce platform identity verification method and device, electronic equipment and storage medium | |
CN105306577A (en) | Data sharing system and method between handheld devices based on APP | |
CN112165463A (en) | Audit data generation method, device, equipment and computer readable storage medium | |
CN115840399A (en) | Intelligent building monitoring system based on Internet of things and monitoring method thereof | |
WO2023129730A1 (en) | Remotely accessing an endpoint device using a distributed systems architecture | |
JP7238558B2 (en) | Authentication mediation device and authentication mediation program | |
KR101403673B1 (en) | System for push alarm based on json and the method therefor |
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 |