CN110381018B - Data processing method, computer device and storage medium - Google Patents

Data processing method, computer device and storage medium Download PDF

Info

Publication number
CN110381018B
CN110381018B CN201910504682.2A CN201910504682A CN110381018B CN 110381018 B CN110381018 B CN 110381018B CN 201910504682 A CN201910504682 A CN 201910504682A CN 110381018 B CN110381018 B CN 110381018B
Authority
CN
China
Prior art keywords
processing
message data
interface
strategy
user
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.)
Active
Application number
CN201910504682.2A
Other languages
Chinese (zh)
Other versions
CN110381018A (en
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.)
Gree Electric Appliances Inc of Zhuhai
Original Assignee
Gree Electric Appliances Inc of Zhuhai
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 Gree Electric Appliances Inc of Zhuhai filed Critical Gree Electric Appliances Inc of Zhuhai
Priority to CN201910504682.2A priority Critical patent/CN110381018B/en
Publication of CN110381018A publication Critical patent/CN110381018A/en
Application granted granted Critical
Publication of CN110381018B publication Critical patent/CN110381018B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols

Abstract

The embodiment of the invention relates to a data processing method, computer equipment and a storage medium, wherein the method comprises the following steps: acquiring message data to be processed; determining a bus type corresponding to the message data; determining a processing strategy of message data; processing the message data according to the bus type and the processing strategy; the processing strategies of various different types of message data are provided, the industrial Ethernet message data of various different types can be compatible, the universality is strong, the flexibility and the convenience are realized, the message data are processed through the bus type and the processing strategies, the rapid and accurate analysis and processing of a large amount of message data according to the user requirements can be realized, and the extraction efficiency is improved.

Description

Data processing method, computer device and storage medium
Technical Field
The present invention relates to the field of data processing, and in particular, to a data processing method, a computer device, and a storage medium.
Background
The industrial Ethernet bus technology is widely applied to industrial robot control systems, and the use ratio of the industrial Ethernet bus technology in the field of intelligent equipment control systems is gradually improved due to the characteristics of real time, rapidness, stability and the like.
The industrial Ethernet message data acquisition software which is universal in the market can be convenient for users to acquire message data in real time in the process of developing and using an industrial Ethernet bus; for the message data collected in real time, the user usually extracts and analyzes the message data in a manner of extracting and analyzing the message data item by item.
However, in a communication period of 1ms, the collection software can usually collect at least 2000 pieces of message data, and in a long-time operation and analysis process, the amount of message data is too large, and a mode of extracting and analyzing one by one cannot meet production requirements.
Disclosure of Invention
In view of this, in order to solve the problem that the above-mentioned item-by-item extraction and analysis method cannot meet the production requirement, embodiments of the present invention provide a data processing method, a computer device, and a storage medium.
In a first aspect, an embodiment of the present invention provides a data processing method, including:
acquiring message data to be processed;
determining a bus type corresponding to the message data;
determining a processing strategy of the message data;
and processing the message data according to the bus type and the processing strategy.
In a possible implementation manner, the acquiring message data to be processed includes:
loading a data processing interface;
and loading the message data in a main interface of the interface through the path information of the message data.
In a possible embodiment, the determining a bus type corresponding to the message data includes:
switching the interface to a bus type interface through a switching button in the interface;
displaying a plurality of bus options on the bus type interface;
receiving the bus type selected by a user from a plurality of bus options;
alternatively, the first and second electrodes may be,
receiving the operation of a user-defined option triggered by a user and the self-defined bus type input through the user-defined option.
In one possible embodiment, the method further comprises:
displaying content information of the bus options corresponding to the bus types;
a modification operation to the content information is received.
In one possible embodiment, the method further comprises:
and determining a corresponding protocol format according to the bus type.
In a possible implementation manner, the determining the processing policy of the packet data includes:
switching the interface to a processing strategy interface through a switching button in the interface;
displaying a plurality of policy options in the processing policy interface;
receiving the processing policy selected by a user from a plurality of the policy options;
alternatively, the first and second electrodes may be,
receiving the operation of a user-defined strategy option triggered by a user and the user-defined processing strategy input through the user-defined strategy option.
In one possible embodiment, the processing strategy includes at least one of:
a position strategy, a speed strategy, a torque strategy, a period synchronization position strategy, a period synchronization speed strategy, a period synchronization torque strategy, or a custom strategy.
In one possible embodiment, the method further comprises:
displaying processing parameters corresponding to the processing strategies;
receiving a modification operation on the processing parameter.
In a second aspect, an embodiment of the present invention provides a computer device, including: a processor and a memory, wherein the processor is configured to execute a data processing program stored in the memory to implement the data processing method of any one of the first aspect.
In a third aspect, an embodiment of the present invention provides a storage medium, where one or more programs are stored, and the one or more programs are executable by one or more processors to implement the data processing method according to any one of the above first aspects.
According to the data processing scheme provided by the embodiment of the invention, message data to be processed is obtained; determining a bus type corresponding to the message data; determining a processing strategy of message data; processing the message data according to the bus type and the processing strategy; the processing strategies of various different types of message data are provided, the industrial Ethernet message data of various different types can be compatible, the universality is strong, the flexibility and the convenience are realized, the message data are processed through the bus type and the processing strategies, the rapid and accurate analysis and processing of a large amount of message data according to the user requirements can be realized, and the extraction efficiency is improved.
Drawings
FIG. 1 is a flow chart illustrating a data processing method according to an embodiment of the present invention;
FIG. 2 is a schematic flow chart illustrating another data processing method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of a main interface of a data processing interface of the data processing system according to the present embodiment;
FIG. 4 is a schematic diagram of a bus type interface of a data processing interface of the data processing system according to the embodiment;
FIG. 5 is a schematic diagram of a processing policy interface of a data processing interface of the data processing system according to the embodiment;
FIG. 6 is a block diagram of a data processing system according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a computer device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. 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.
For the convenience of understanding of the embodiments of the present invention, the following description will be further explained with reference to specific embodiments, which are not to be construed as limiting the embodiments of the present invention.
Fig. 1 is a schematic flow chart of a data processing method according to an embodiment of the present invention, and as shown in fig. 1, the method specifically includes:
s101, obtaining message data to be processed.
The present embodiment provides a data processing system, which can be used for processing message data, and the data processing system may obtain the message data to be processed in various ways, for example, the data processing system collects the message data in real time and the data processing system receives the input message data.
Further, the data processing system according to this embodiment can process message data in a plurality of formats.
And S102, determining the bus type corresponding to the message data.
After the data processing system acquires the message data, the data processing system determines the bus type of the industrial Ethernet bus used for transmitting the message data, wherein the data processing system can determine the bus type corresponding to the message data by analyzing the message data, and can also receive the bus type input by a user.
For example, the message data to be processed is a, the data processing system obtains the bus type b by analyzing the message data a, or the data processing system directly receives the bus type b input by the user.
S103, determining the processing strategy of the message data.
In this embodiment, after obtaining the message data to be processed and determining the bus type corresponding to the message data, a processing policy corresponding to the message data is determined, where the processing policy may be understood as defining which manner (user requirement) is used to extract and analyze the message data.
In an alternative of the embodiment of the present invention, the processing policy may be a mode of processing the message data input by the user into the data processing system, or may be a mode of processing the message data selected by the user from the data processing system.
And S104, processing the message data according to the bus type and the processing strategy.
The data processing system determines different types of processing modes corresponding to different types of message data according to the bus type (for example, the message data is A, the bus type b, and the message data A of the type b can be processed by adopting a mode c), and processes the message data according to the bus type and a processing strategy (for example, the processing strategy is d, that is, the message data A is processed by adopting modes c and d).
The data processing method provided by the embodiment of the invention obtains the message data to be processed; determining a bus type corresponding to the message data; determining a processing strategy of message data; processing the message data according to the bus type and the processing strategy; the processing strategies of various different types of message data are provided, the industrial Ethernet message data of various different types can be compatible, the universality is strong, the flexibility and the convenience are realized, the message data are processed through the bus type and the processing strategies, the rapid and accurate analysis and processing of a large amount of message data according to the user requirements can be realized, and the extraction efficiency is improved.
Fig. 2 is a schematic flow chart of another data processing method according to an embodiment of the present invention, and as shown in fig. 2, the method specifically includes:
s201, loading a data processing interface.
In this embodiment, the data processing system may be embodied in the form of an application program, and provides a data processing interface, and when the message data processing needs to be performed, the data processing interface is loaded by clicking the application program of the data processing system.
S202, loading the message data in the main interface of the interface through the path information of the message data.
Referring to fig. 3, a schematic diagram of a main interface of a data processing interface of the data processing system according to this embodiment is shown, where the data processing interface includes a main interface button, a bus type interface button, and a processing policy button, and a window for loading message data is provided in the main interface by clicking the main interface button to enter the main interface, for example, the message data is loaded by adding path information of the message data through the window.
The main interface can also comprise a storage path window after message data processing, and the storage position of the message data after processing can be set through the window.
In an alternative of the embodiment of the present invention, the packet data may be collected by a data collection tool (e.g., WireShark), the collected industrial ethernet packet data is converted into a file with a uniform format, for example, a file with txt format, and the converted packet data file is loaded by way of path loading in the above steps.
S203, switching the interface to a bus type interface in the interface through a switching button.
And S204, displaying a plurality of bus options on the bus type interface.
S205, receiving the bus type selected by the user from the plurality of bus options.
Referring to fig. 4, a schematic diagram of a bus type interface of a data processing interface of the data processing system according to this embodiment is shown, where a bus type interface switching button is clicked in the data processing interface to switch a displayed main interface to the bus type interface, and a user may select a bus type corresponding to the selected main interface according to input message data.
And providing a plurality of bus options in a bus type interface, wherein the bus options represent corresponding bus types of the message data, such as EtherCAT, POWERLINK, EtherNet/IP, PROFINET, Modbus-TCP, CC-Link IE, or custom types and the like.
In an alternative of the embodiment of the present invention, after the message data is loaded, the data processing system may automatically match the corresponding bus type according to the loaded message data.
In an alternative of the embodiment of the present invention, an operation of a custom option triggered by a user is received, and the custom bus type is input through the custom option.
Further, when the bus options of the data processing system do not include the bus type corresponding to the message data, the user can input the bus type corresponding to the message data by triggering the self-defined option.
In an alternative of the embodiment of the present invention, after determining the bus type of the message data, content information corresponding to the bus type is displayed, for example, when the bus type of the input message data is EtherCAT, the content information corresponding to the bus type is displayed, such as: the destination address is 6; 6, source address; type 2; a header of 2; data is as follows; FCS check 4, wherein Chinese characters represent the name of each part, numbers represent the number of bytes occupied by each part, and represents uncertain number of bytes, and it is required to say that "-" can only be used for data parts.
In this embodiment, the displayed content information may also be modified, and the modification operation on the content information may be received.
And after the bus type corresponding to the message data is determined, the type of the bus is written into the data processing system by clicking a write-in button of a bus type interface.
S206, determining a corresponding protocol format according to the bus type.
And S207, switching the interface to a processing strategy interface in the interface through a switching button.
And S208, displaying a plurality of strategy options in the strategy processing interface.
S209, receiving the processing strategy selected by the user from the strategy options.
Referring to fig. 5, a schematic diagram of a processing policy interface of a data processing interface of the data processing system according to this embodiment is shown, where a processing policy interface switching button is clicked in the data processing interface to switch a displayed main interface or bus type interface to the data processing interface, and a user may select a corresponding processing policy according to input message data.
Providing a plurality of strategy options in a processing strategy interface, wherein the strategy options represent corresponding processing modes of the message data, such as a position strategy, a speed strategy, a torque strategy, a periodic synchronization position strategy, a periodic synchronization speed strategy, a periodic synchronization torque strategy or a self-defined strategy.
In an alternative of the embodiment of the present invention, an operation of a user-defined policy option triggered by a user is received, and the user-defined processing policy is input through the user-defined policy option.
Further, when the policy options of the data processing system do not include the processing policy corresponding to the message data, the user may trigger the user-defined option to further input the processing policy corresponding to the message data.
In an alternative of the embodiment of the present invention, after determining a processing policy of message data, displaying a processing parameter corresponding to the processing policy; for example, when the determined processing strategy is a position strategy, processing parameters corresponding to the position strategy, such as control words 16; target position 32; 16 is the status word; the current position is 32; 16, wherein, the Chinese character part represents the name of each part, and the number represents the number of bytes occupied by each part.
In an alternative of the embodiment of the present invention, the user may also modify the processing parameters corresponding to the displayed processing policy, and receive a modification operation on the processing parameters.
Further, each policy selection corresponds to a standard processing format, however, in practical applications, a user usually customizes or modifies some parameters in the standard processing format, and thus, the user is required to modify the processing parameters corresponding to the displayed processing policy by himself.
After the processing strategy is determined, the processing strategy is written into the data processing system by clicking a write button in the processing strategy interface.
S210, processing the message according to the protocol format and the processing strategy.
After determining the post-message data, the protocol format, the processing strategy and the storage position (such as position B) of the processed message data, processing the message according to the protocol format and the processing strategy by clicking an analysis starting button of the main interface, displaying the processing state (such as an analysis and analysis completion identifier) of the current message data on the main interface, displaying the number of the processed messages, and storing the processing result in the position B.
The processing result of the message data can be embodied in the form of a table, which can be referred to as table 1.
Figure BDA0002089292950000081
TABLE 1
The data processing method provided by the embodiment of the invention obtains the message data to be processed; determining a bus type corresponding to the message data; determining a processing strategy of message data; processing the message data according to the bus type and the processing strategy; the processing strategies of various different types of message data are provided, the industrial Ethernet message data of various different types can be compatible, the universality is strong, the flexibility and the convenience are realized, the message data are processed through the bus type and the processing strategies, the rapid and accurate analysis and processing of a large amount of message data according to the user requirements can be realized, and the extraction efficiency is improved.
Fig. 6 is a schematic structural diagram of a data processing system according to an embodiment of the present invention, and as shown in fig. 6, the system includes:
an obtaining module 601, configured to obtain message data to be processed;
a determining module 602, configured to determine a bus type corresponding to the packet data;
the determining module 602 is further configured to determine a processing policy of the packet data;
the processing module 603 is configured to process the packet data according to the bus type and the processing policy.
Optionally, the obtaining module 601 is specifically configured to load a data processing interface; and loading the message data in a main interface of the interface through the path information of the message data.
Optionally, the determining module 602 is specifically configured to switch the interface to a bus type interface through a switch button in the interface; displaying a plurality of bus options on the bus type interface; receiving the bus type selected by a user from a plurality of bus options; or receiving the operation of a user-defined option triggered by a user and the self-defined bus type input through the user-defined option.
Optionally, the system further comprises: a display module 604, configured to display content information of the bus type corresponding to the bus option; a modification operation to the content information is received.
Optionally, the determining module 602 is further configured to determine a corresponding protocol format according to the bus type.
Optionally, the determining module 602 is specifically configured to switch the interface to a processing policy interface through a switch button in the interface; displaying a plurality of policy options in the processing policy interface; receiving the processing policy selected by a user from a plurality of the policy options; or receiving the operation of a user-defined strategy option triggered by a user and the user-defined processing strategy input through the user-defined strategy option.
Optionally, the processing policy includes at least one of:
a position strategy, a speed strategy, a torque strategy, a period synchronization position strategy, a period synchronization speed strategy, a period synchronization torque strategy, or a custom strategy.
Optionally, the display module 604 is further configured to display a processing parameter corresponding to the processing policy; receiving a modification operation on the processing parameter.
The data processing system provided in this embodiment may be the data processing system shown in fig. 6, and may perform all the steps of the data processing method shown in fig. 1-2, so as to achieve the technical effect of the data processing method shown in fig. 1-2, and for brevity, it is specifically described with reference to fig. 1-2, and no further description is provided here.
Fig. 7 is a schematic structural diagram of a computer device according to an embodiment of the present invention, where the computer device 700 shown in fig. 7 includes: at least one processor 701, memory 702, at least one network interface 704, and other user interfaces 703. The various components in the mobile terminal 700 are coupled together by a bus system 705. It is understood that the bus system 705 is used to enable communications among the components. The bus system 705 includes a power bus, a control bus, and a status signal bus in addition to a data bus. But for clarity of illustration the various busses are labeled in figure 7 as the bus system 705.
The user interface 703 may include, among other things, a display, a keyboard, or a pointing device (e.g., a mouse, trackball, touch pad, or touch screen, among others.
It is to be understood that the memory 702 in embodiments of the present invention may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may be a Read-only memory (ROM), a programmable Read-only memory (PROM), an erasable programmable Read-only memory (erasabprom, EPROM), an electrically erasable programmable Read-only memory (EEPROM), or a flash memory. The volatile memory may be a Random Access Memory (RAM) which functions as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (staticiram, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (syncronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM ), Enhanced Synchronous DRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and direct memory bus RAM (DRRAM). The memory 702 described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
In some embodiments, memory 702 stores the following elements, executable units or data structures, or a subset thereof, or an expanded set thereof: an operating system 7021 and application programs 7022.
The operating system 7021 includes various system programs, such as a framework layer, a core library layer, a driver layer, and the like, for implementing various basic services and processing hardware-based tasks. The application 7022 includes various applications, such as a media player (MediaPlayer), a Browser (Browser), and the like, for implementing various application services. Programs that implement methods in accordance with embodiments of the present invention can be included within application program 7022.
In the embodiment of the present invention, the processor 701 is configured to execute the method steps provided by the method embodiments by calling a program or an instruction stored in the memory 702, specifically, a program or an instruction stored in the application 7022, for example, and includes:
acquiring message data to be processed; determining a bus type corresponding to the message data; determining a processing strategy of the message data; and processing the message data according to the bus type and the processing strategy.
Optionally, loading a data processing interface; and loading the message data in a main interface of the interface through the path information of the message data.
Optionally, the interface is switched to a bus type interface in the interface through a switching button; displaying a plurality of bus options on the bus type interface; receiving the bus type selected by a user from a plurality of bus options; or receiving the operation of a user-defined option triggered by a user and the self-defined bus type input through the user-defined option.
Optionally, displaying content information of the bus option corresponding to the bus type; a modification operation to the content information is received.
Optionally, a corresponding protocol format is determined according to the bus type.
Optionally, the interface is switched to a processing strategy interface through a switching button in the interface; displaying a plurality of policy options in the processing policy interface; receiving the processing policy selected by a user from a plurality of the policy options; or receiving the operation of a user-defined strategy option triggered by a user and the user-defined processing strategy input through the user-defined strategy option.
Optionally, the processing policy includes at least one of: a position strategy, a speed strategy, a torque strategy, a period synchronization position strategy, a period synchronization speed strategy, a period synchronization torque strategy, or a custom strategy.
Optionally, displaying a processing parameter corresponding to the processing policy; receiving a modification operation on the processing parameter.
The method disclosed in the above embodiments of the present invention may be applied to the processor 701, or implemented by the processor 701. The processor 701 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be implemented by integrated logic circuits of hardware or instructions in the form of software in the processor 701. The processor 701 may be a general-purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, or discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software elements in the decoding processor. The software elements may be located in ram, flash, rom, prom, or eprom, registers, among other storage media that are well known in the art. The storage medium is located in the memory 702, and the processor 701 reads the information in the memory 702 and performs the steps of the above method in combination with the hardware thereof.
It is to be understood that the embodiments described herein may be implemented in hardware, software, firmware, middleware, microcode, or any combination thereof. For a hardware implementation, the processing units may be implemented within one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), general purpose processors, controllers, micro-controllers, microprocessors, other electronic units configured to perform the functions described herein, or a combination thereof.
For a software implementation, the techniques described herein may be implemented by means of units performing the functions described herein. The software codes may be stored in a memory and executed by a processor. The memory may be implemented within the processor or external to the processor.
The computer device provided in this embodiment may be the computer device shown in fig. 7, and may execute all the steps of the data processing method shown in fig. 1-2, so as to achieve the technical effect of the data processing method shown in fig. 1-2, and for brevity, it is not described herein again.
The embodiment of the invention also provides a storage medium (computer readable storage medium). The storage medium herein stores one or more programs. Among others, the storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, a hard disk, or a solid state disk; the memory may also comprise a combination of memories of the kind described above.
When one or more programs in the storage medium are executable by one or more processors to implement the data processing method described above as being executed on the data processing device side.
The processor is configured to execute the data processing program stored in the memory to implement the following steps of the data processing method executed on the data processing apparatus side:
acquiring message data to be processed; determining a bus type corresponding to the message data; determining a processing strategy of the message data; and processing the message data according to the bus type and the processing strategy.
Optionally, loading a data processing interface; and loading the message data in a main interface of the interface through the path information of the message data.
Optionally, the interface is switched to a bus type interface in the interface through a switching button; displaying a plurality of bus options on the bus type interface; receiving the bus type selected by a user from a plurality of bus options; or receiving the operation of a user-defined option triggered by a user and the self-defined bus type input through the user-defined option.
Optionally, displaying content information of the bus option corresponding to the bus type; a modification operation to the content information is received.
Optionally, a corresponding protocol format is determined according to the bus type.
Optionally, the interface is switched to a processing strategy interface through a switching button in the interface; displaying a plurality of policy options in the processing policy interface; receiving the processing policy selected by a user from a plurality of the policy options; or receiving the operation of a user-defined strategy option triggered by a user and the user-defined processing strategy input through the user-defined strategy option.
Optionally, the processing policy includes at least one of: a position strategy, a speed strategy, a torque strategy, a period synchronization position strategy, a period synchronization speed strategy, a period synchronization torque strategy, or a custom strategy.
Optionally, displaying a processing parameter corresponding to the processing policy; receiving a modification operation on the processing parameter.
Those of skill would further appreciate that the various illustrative components and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both, and that the various illustrative components and steps have been described above generally in terms of their functionality in order to clearly illustrate this interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. 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 invention.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware, a software module executed by a processor, or a combination of the two. A software module may reside in Random Access Memory (RAM), memory, Read Only Memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (9)

1. A data processing method, comprising:
acquiring message data to be processed;
determining a bus type corresponding to the message data;
determining the processing strategy of the message data, which comprises the following steps: switching the interface to a processing strategy interface through a switching button in the interface;
displaying a plurality of policy options in the processing policy interface;
receiving the processing policy selected by a user from a plurality of the policy options;
alternatively, the first and second electrodes may be,
receiving the operation of a user-defined strategy option triggered by a user and the user-defined processing strategy input through the user-defined strategy option;
processing the message data according to the bus type and the processing strategy, including: determining different types of processing modes corresponding to different types of message data according to the bus type, and processing the message data according to the processing modes and the processing strategies.
2. The method according to claim 1, wherein the obtaining the message data to be processed comprises:
loading a data processing interface;
and loading the message data in a main interface of the interface through the path information of the message data.
3. The method of claim 2, wherein the determining the bus type corresponding to the message data comprises:
switching the interface to a bus type interface through a switching button in the interface;
displaying a plurality of bus options on the bus type interface;
receiving the bus type selected by a user from a plurality of bus options;
alternatively, the first and second electrodes may be,
receiving the operation of a user-defined option triggered by a user and the self-defined bus type input through the user-defined option.
4. The method of claim 3, further comprising:
displaying content information of the bus options corresponding to the bus types;
a modification operation to the content information is received.
5. The method of claim 4, further comprising:
and determining a corresponding protocol format according to the bus type.
6. The method of claim 1, wherein the processing policy comprises at least one of:
a position strategy, a speed strategy, a torque strategy, or a custom strategy.
7. The method of claim 6, further comprising:
displaying processing parameters corresponding to the processing strategies;
receiving a modification operation on the processing parameter.
8. A computer device, comprising: a processor and a memory, the processor being configured to execute a data processing program stored in the memory to implement the data processing method of any one of claims 1 to 7.
9. A computer-readable storage medium storing one or more programs which are executable by one or more processors to implement the data processing method of any one of claims 1 to 7.
CN201910504682.2A 2019-06-10 2019-06-10 Data processing method, computer device and storage medium Active CN110381018B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910504682.2A CN110381018B (en) 2019-06-10 2019-06-10 Data processing method, computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910504682.2A CN110381018B (en) 2019-06-10 2019-06-10 Data processing method, computer device and storage medium

Publications (2)

Publication Number Publication Date
CN110381018A CN110381018A (en) 2019-10-25
CN110381018B true CN110381018B (en) 2021-05-25

Family

ID=68250091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910504682.2A Active CN110381018B (en) 2019-06-10 2019-06-10 Data processing method, computer device and storage medium

Country Status (1)

Country Link
CN (1) CN110381018B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108306804A (en) * 2018-01-26 2018-07-20 中科新松有限公司 A kind of Ethercat main station controllers and its communication means and system
CN109688030A (en) * 2019-02-26 2019-04-26 百度在线网络技术(北京)有限公司 Message detecting method, device, equipment and storage medium
CN109739124A (en) * 2018-12-25 2019-05-10 南京熊猫电子股份有限公司 Multi-bus interface data handling utility system

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7574512B2 (en) * 2004-04-15 2009-08-11 Schneider Automation Sas MODBUS encapsulated transport interface
CN107395572B (en) * 2017-06-29 2020-04-14 京信通信系统(中国)有限公司 Data processing method and Internet of things gateway
CN109379375B (en) * 2018-11-28 2021-04-27 杭州迪普科技股份有限公司 Access control rule obtaining method and device and network equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108306804A (en) * 2018-01-26 2018-07-20 中科新松有限公司 A kind of Ethercat main station controllers and its communication means and system
CN109739124A (en) * 2018-12-25 2019-05-10 南京熊猫电子股份有限公司 Multi-bus interface data handling utility system
CN109688030A (en) * 2019-02-26 2019-04-26 百度在线网络技术(北京)有限公司 Message detecting method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN110381018A (en) 2019-10-25

Similar Documents

Publication Publication Date Title
CN108540674B (en) Automatic testing method and device, computer equipment and storage medium
CN108228293B (en) Interface skin switching method and device
CN109327357B (en) Feature extraction method and device of application software and electronic equipment
CN111193815B (en) Domain name resolution method, domain name resolution device, computer readable storage medium and computer equipment
JP2009017298A (en) Data analysis apparatus
KR20140036315A (en) Remote assistance method, system and terminal
RU2610584C2 (en) Electronic message processing method and server used therein
CN110727697B (en) Data processing method and device, storage medium and electronic device
WO2021068765A1 (en) Web page screenshot method and apparatus, device, and computer-readable storage medium
CN112653740A (en) Load balancing method and device supporting QUIC connection migration and computer product
CN106325789B (en) Information processing method, terminal and system
CN111246406A (en) Short message sending method, system, storage medium and terminal equipment
JP4357495B2 (en) How to set the time on your mobile device
CN109413227B (en) IPv4 user access IPv6 network intercommunication device and equipment based on multi-IPv 6 network
CN110381018B (en) Data processing method, computer device and storage medium
CN109274978B (en) Cooperative guiding method, device, terminal and storage medium for live broadcast room
CN111049947A (en) Message forwarding method and device, electronic equipment and storage medium
CN107734180B (en) Information processing method
JP2005228183A (en) Program execution method and computer system for executing the program
CN111405007B (en) TCP session management method, device, storage medium and electronic equipment
CN109639494B (en) Statistical method, device, server and storage medium of interface information
CN109951549B (en) Network page access method and device and computer readable storage medium
CN113765728A (en) Network detection method, device, equipment and storage medium
CN115967604A (en) Message transmission method and device, electronic equipment and computer readable storage medium
CN105391619A (en) Method for ensuring information display sequence and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant