CN109783375B - Data analysis and simulation method - Google Patents

Data analysis and simulation method Download PDF

Info

Publication number
CN109783375B
CN109783375B CN201811612476.5A CN201811612476A CN109783375B CN 109783375 B CN109783375 B CN 109783375B CN 201811612476 A CN201811612476 A CN 201811612476A CN 109783375 B CN109783375 B CN 109783375B
Authority
CN
China
Prior art keywords
data
message
self
rule
editing
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
CN201811612476.5A
Other languages
Chinese (zh)
Other versions
CN109783375A (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.)
Sichuan Juma Technology Co ltd
Original Assignee
Sichuan Juma Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan Juma Technology Co ltd filed Critical Sichuan Juma Technology Co ltd
Priority to CN201811612476.5A priority Critical patent/CN109783375B/en
Publication of CN109783375A publication Critical patent/CN109783375A/en
Application granted granted Critical
Publication of CN109783375B publication Critical patent/CN109783375B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention discloses a data analysis and simulation method, which comprises the steps of establishing a server, a background configuration page and a client; and configuring protocol rules according to the background configuration page, and analyzing or generating a message according to the rules. The invention analyzes and sends the message by configuring the protocol rule, supports data import and various customized events sending, becomes a general tool for analyzing and sending various data, and is convenient for unified management and generalization.

Description

Data analysis and simulation method
Technical Field
The invention relates to the technical field of data processing, in particular to a data analysis and simulation method.
Background
In daily test or on-line problem positioning, some data often need to be simulated, including modes of sending messages, calling reportpositons interfaces and the like, and the message data can also be often analyzed into a form which can be visually identified for on-line problem positioning.
However, at present, there is no comparative and formed data analysis and simulation tool which can be used universally, most of the conventional data analysis and simulation tools are processed by programs, and different programs need to be written for processing for different protocols, so that unified management and generalization are inconvenient.
Disclosure of Invention
Therefore, in order to solve the above problems, it is necessary to provide a data analysis and simulation method that can obtain different protocols for data processing and facilitate unified management and generalization.
The technical scheme of the invention is as follows:
a data analysis and simulation method comprises the following steps:
a. establishing a server, a background configuration page and a client;
b. and configuring protocol rules according to the background configuration page, and analyzing or generating a message according to the rules.
In the technical scheme, a plurality of protocol rules can be configured through the background configuration page, and when the message data is analyzed into popular and easily understood data, different protocols written by different programs are not required to be processed; the message can be analyzed and sent only by selecting the configured protocol rule or the data calling interface, so that the unified management and the generalization of the data are facilitated.
Preferably, the step a comprises the following steps:
establishing a server based on spring, springmvc, mybatis and maven technologies;
configuring a background configuration page based on css, h5, jquery and bootstarp technologies;
and developing a client based on a java swt technology.
In the technical scheme, data analysis and simulation are mainly performed through a client, a background configuration page and a server, the server is mainly technically structured as spring + springmvc + mybases + maven, the background configuration page uses technologies such as cs + h5+ jquery + bootstarp and the like, the client is mainly developed by java swt, and protocol rule configuration and data transmission are achieved.
Preferably, the step b comprises the following steps:
receiving a plurality of configured protocol rules;
when the message is sent, generating a corresponding message according to the selected protocol rule;
and when the message is analyzed, data analysis is carried out according to the selected protocol rule.
Selecting a protocol when sending the message, and generating a corresponding message according to the configuration of the protocol; when the message is analyzed, the message is analyzed into popular and easily understood data according to the selected protocol rule, different protocols do not need to be rewritten through different programs, the universal use method for analyzing the message data is realized, the efficiency is improved, and the cost is reduced.
Preferably, the step b further comprises the following steps:
if protocol rules sent by the client are received, introducing a background configuration page through a configuration file to modify the rules;
and verifying the rule modification authority, and entering a background configuration page to modify the corresponding rule if the authority passes.
The client side configuration protocol rule can be directly introduced through the configuration file, but the original rule can not be modified, and an administrator needs to be coordinated to modify the background configuration page.
Preferably, the method further comprises the following steps:
establishing a self-editing message sending interface and a self-editing data calling interface;
and if the self-editing message data is received, transmitting the data through a self-editing message transmitting interface or a self-editing data calling interface.
The message data can be customized, and the data can be sent through self-editing message sending or self-editing data calling interface.
Preferably, the method further comprises the following steps:
and if the imported data is received, the data is sent according to the selected protocol rule or the self-programming data calling interface. And a data import function is supported, and after data import, a certain protocol rule can be selected to send data, or the data can be sent through a self-programming data calling interface.
Preferably, the method further comprises the following steps:
if the imported multiple groups of data are received, part or all of the multiple groups of data can be selected, and the data are sent through the self-programming data calling interface. After the plurality of groups of data are imported, part or all of the imported data can be selected at will to send the data through the self-programming data calling interface.
Preferably, the method further comprises the following steps:
and if a customized event sending request is received, configuring a corresponding protocol rule according to the requirement of the customized event, and sending data. And various customized events are supported to be sent, and unified management is convenient to carry out.
The invention has the beneficial effects that:
the invention analyzes and sends the message by configuring the protocol rule, supports data import and various customized events sending, becomes a general tool for analyzing and sending various data, and is convenient for unified management and generalization.
Drawings
Fig. 1 is a flowchart of a data analysis and simulation method according to an embodiment of the present invention.
Detailed Description
Embodiments of the present invention will be described in detail below with reference to the accompanying drawings.
Example 1
As shown in fig. 1, a data analysis and simulation method includes the following steps:
a. establishing a server, a background configuration page and a client;
b. and configuring protocol rules according to the background configuration page, and analyzing or generating a message according to the rules.
In the embodiment, a plurality of protocol rules can be configured through the background configuration page, and when the message data is analyzed into popular and easily understood data, different protocols written by different programs are not required to be processed; the message can be analyzed and sent only by selecting the configured protocol rule or the data calling interface, so that the unified management and the generalization of the data are facilitated.
Example 2
In this embodiment, on the basis of embodiment 1, the step a includes the following steps:
establishing a server based on spring, springmvc, mybatis and maven technologies;
configuring a background configuration page based on css, h5, jquery and bootstarp technologies;
and developing a client based on a java swt technology.
In this embodiment, data analysis and simulation are mainly performed through a client, a background configuration page and a server, the server has a main technical framework of spring + springmvc + mybases + maven, the background configuration page uses technologies such as css + h5+ jquery + bootstarp, and the client mainly develops java swt to realize protocol rule configuration and data transmission.
Example 3
In this embodiment, on the basis of embodiment 1, the step b includes the following steps:
receiving a plurality of configured protocol rules;
when the message is sent, generating a corresponding message according to the selected protocol rule;
and when the message is analyzed, data analysis is carried out according to the selected protocol rule.
Selecting a protocol when sending the message, and generating a corresponding message according to the configuration of the protocol; when the message is analyzed, the message is analyzed into popular and easily understood data according to the selected protocol rule, different protocols do not need to be rewritten through different programs, the universal use method for analyzing the message data is realized, the efficiency is improved, and the cost is reduced.
Example 4
In this embodiment, on the basis of embodiment 3, the step b further includes the following steps:
if protocol rules sent by the client are received, introducing a background configuration page through a configuration file to modify the rules;
and verifying the rule modification authority, and entering a background configuration page to modify the corresponding rule if the authority passes.
The client side configuration protocol rule can be directly introduced through the configuration file, but the original rule can not be modified, and an administrator needs to be coordinated to modify the background configuration page.
Example 5
The embodiment further includes the following steps based on embodiment 1:
establishing a self-editing message sending interface and a self-editing data calling interface;
and if the self-editing message data is received, transmitting the data through a self-editing message transmitting interface or a self-editing data calling interface.
The message data can be customized, and the data can be sent through self-editing message sending or self-editing data calling interface.
Example 6
The embodiment further includes the following steps based on the embodiment 5:
and if the imported data is received, the data is sent according to the selected protocol rule or the self-programming data calling interface. And a data import function is supported, and after data import, a certain protocol rule can be selected to send data, or the data can be sent through a self-programming data calling interface.
Example 7
The embodiment further includes the following steps based on the embodiment 5:
if the imported multiple groups of data are received, part or all of the multiple groups of data can be selected, and the data are sent through the self-programming data calling interface. After the plurality of groups of data are imported, part or all of the imported data can be selected at will to send the data through the self-programming data calling interface.
Example 8
The embodiment further includes the following steps based on embodiment 1:
and if a customized event sending request is received, configuring a corresponding protocol rule according to the requirement of the customized event, and sending data. And various customized events are supported to be sent, and unified management is convenient to carry out.
The above-mentioned embodiments only express the specific embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the present invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention.

Claims (1)

1. A data analysis and simulation method is characterized by comprising the following steps:
a. establishing a server, a background configuration page and a client;
b. configuring a protocol rule according to the background configuration page, and analyzing or generating a message according to the rule; further comprising the steps of:
establishing a self-editing message sending interface and a self-editing data calling interface;
if self-editing message data are received, sending the data through a self-editing message sending interface or a self-editing data calling interface;
if the imported data is received, the data is sent according to the selected protocol rule or the self-editing data calling interface;
if the imported multiple groups of data are received, selecting part or all of the multiple groups of data, and sending the data through a self-editing data calling interface;
if a customized event sending request is received, configuring a corresponding protocol rule according to the requirement of the customized event, and sending data;
the step a comprises the following steps:
establishing a server based on spring, springmvc, mybatis and maven technologies;
configuring a background configuration page based on css, h5, jquery and bootstarp technologies;
developing a client based on a java swt technology;
the step b comprises the following steps:
receiving a plurality of configured protocol rules;
when the message is sent, generating a corresponding message according to the selected protocol rule;
when the message is analyzed, data analysis is carried out according to the selected protocol rule;
the step b further comprises the following steps:
if protocol rules sent by the client are received, introducing a background configuration page through a configuration file to modify the rules;
and verifying the rule modification authority, and entering a background configuration page to modify the corresponding rule if the authority passes.
CN201811612476.5A 2018-12-27 2018-12-27 Data analysis and simulation method Active CN109783375B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811612476.5A CN109783375B (en) 2018-12-27 2018-12-27 Data analysis and simulation method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811612476.5A CN109783375B (en) 2018-12-27 2018-12-27 Data analysis and simulation method

Publications (2)

Publication Number Publication Date
CN109783375A CN109783375A (en) 2019-05-21
CN109783375B true CN109783375B (en) 2022-04-12

Family

ID=66498627

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811612476.5A Active CN109783375B (en) 2018-12-27 2018-12-27 Data analysis and simulation method

Country Status (1)

Country Link
CN (1) CN109783375B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188561A (en) * 2007-12-20 2008-05-28 北京大学 Communication method and system for universal service data based on self-defined template
CN102546442A (en) * 2012-03-09 2012-07-04 北京神州数码思特奇信息技术股份有限公司 Communication protocol conversion technology
CN103002047A (en) * 2012-12-19 2013-03-27 上海斐讯数据通信技术有限公司 RPC (Remote Procedure Call) type WEB SOA (Service-Oriented Architecture) method
CN108628634A (en) * 2018-05-09 2018-10-09 平安普惠企业管理有限公司 Message configuration method, device, computer equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8627442B2 (en) * 2011-05-24 2014-01-07 International Business Machines Corporation Hierarchical rule development and binding for web application server firewall

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188561A (en) * 2007-12-20 2008-05-28 北京大学 Communication method and system for universal service data based on self-defined template
CN102546442A (en) * 2012-03-09 2012-07-04 北京神州数码思特奇信息技术股份有限公司 Communication protocol conversion technology
CN103002047A (en) * 2012-12-19 2013-03-27 上海斐讯数据通信技术有限公司 RPC (Remote Procedure Call) type WEB SOA (Service-Oriented Architecture) method
CN108628634A (en) * 2018-05-09 2018-10-09 平安普惠企业管理有限公司 Message configuration method, device, computer equipment and storage medium

Also Published As

Publication number Publication date
CN109783375A (en) 2019-05-21

Similar Documents

Publication Publication Date Title
CN108427733B (en) Method, device and system for setting audit rule, equipment and storage medium
JP6494609B2 (en) Method and apparatus for generating a customized software development kit (SDK)
US10630671B2 (en) Dynamic web services server
US9086935B2 (en) Accessing business object resources for a machine-to-machine communication environment
JP3736308B2 (en) Software component automatic generation system
CN108170538B (en) Information processing method and device and electronic equipment
CN103607376B (en) Method and device for compatible protocol
CN112507005B (en) Method and device for processing message
CN112422588B (en) Internet of things equipment information processing method and system
CN112883031B (en) Industrial control asset information acquisition method and device
CN109086147B (en) Service interface calling method and device of application program and storage medium
CN113556359A (en) Communication protocol conversion method, device, system and gateway device
CN109783375B (en) Data analysis and simulation method
CN103581310A (en) Automatic generating method for web service agent
JP5961471B2 (en) Output comparison method in multiple information systems
CN113242244A (en) Data transmission method, device and system
JPH1115723A (en) Multimedia data supplying method and multimedia data server
CN116346660A (en) Data processing method, device, equipment and medium based on dependent replacement service
CN107273398B (en) Human interface system and method for operating the same
CN106561030A (en) Remote sensing image processing Web service dynamic generation method
US10516767B2 (en) Unifying realtime and static data for presenting over a web service
JP2009135583A (en) Client device and application program
US11195142B2 (en) Systems and methods for automated cloud infrastructure operations using a structured inventory
US20200004807A1 (en) System and method for low-maintenance conversion of advance function presentation format to portable document format
KR101869377B1 (en) Device and methods of analyzing dependency between network signatures or between signature pairs

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