CN112749046A - MSS system simulation data construction method, device, equipment and storage medium - Google Patents

MSS system simulation data construction method, device, equipment and storage medium Download PDF

Info

Publication number
CN112749046A
CN112749046A CN201911055852.XA CN201911055852A CN112749046A CN 112749046 A CN112749046 A CN 112749046A CN 201911055852 A CN201911055852 A CN 201911055852A CN 112749046 A CN112749046 A CN 112749046A
Authority
CN
China
Prior art keywords
data
mss system
interactive interface
mss
interface
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.)
Granted
Application number
CN201911055852.XA
Other languages
Chinese (zh)
Other versions
CN112749046B (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.)
BYD Co Ltd
Original Assignee
BYD 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 BYD Co Ltd filed Critical BYD Co Ltd
Priority to CN201911055852.XA priority Critical patent/CN112749046B/en
Publication of CN112749046A publication Critical patent/CN112749046A/en
Application granted granted Critical
Publication of CN112749046B publication Critical patent/CN112749046B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2273Test methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Human Computer Interaction (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The invention discloses a method and a device for constructing MSS system simulation data, computer equipment and a storage medium, wherein the simulation data is constructed according to the characteristics of each subsystem, and the simulation data is sent to an MSS system to realize the test of the MSS system, so that the subsequent test of the MSS system does not need to depend on the actual interaction of each subsystem, and the test independence is greatly enhanced. Moreover, the user can edit and modify the data through the interactive interface, edit and adjust the data through a visual mode, the operation is easy, and the convenience and the efficiency of the data construction are greatly improved.

Description

MSS system simulation data construction method, device, equipment and storage medium
Technical Field
The present invention relates to the field of data testing, and in particular, to a method and an apparatus for constructing MSS system simulation data, a computer device, and a storage medium.
Background
The Maintenance Support Subsystem (MSS) is an equipment state monitoring and Maintenance auxiliary tool of the whole signal System, and has the main functions of collecting network and equipment states and alarm information of other subsystems in real time, friendly displaying to terminal clients, helping Maintenance and scheduling personnel to position faulty equipment and the like. The maintenance support subsystem and each subsystem, such as ATS, CI, ZC, VOBC, etc. have corresponding communication functions.
When testing the MSS, the evaluation can be completed only by the cooperation of the actual subsystem equipment. Under the condition that other subsystems are not matched, the MSS cannot be tested, and the testing efficiency of the MSS is influenced.
Disclosure of Invention
The embodiment of the invention provides a method and a device for constructing analog data of an MSS system, computer equipment and a storage medium, which aim to solve the problem of low test efficiency of the MSS system.
The first aspect of the embodiments of the present invention relates to a method for constructing analog data of an MSS system, including:
acquiring edit data on an interactive interface;
assembling the edited data according to a corresponding communication protocol to obtain analog data;
and sending the simulation data to an MSS system to instruct the MSS system to display the simulation data on a corresponding interface.
A second aspect of the embodiments of the present invention relates to an analog data constructing apparatus for an MSS system, including:
the editing data acquisition module is used for acquiring editing data on the interactive interface;
the data assembly module is used for assembling the editing data according to a corresponding communication protocol to obtain analog data;
and the data sending module is used for sending the simulation data to the MSS system so as to instruct the MSS system to display the simulation data on a corresponding interface.
A third aspect of the embodiments of the present invention relates to a computer device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, and when the processor executes the computer program, the processor implements the steps of the MSS system simulation data construction method described above.
A fourth aspect of the embodiments of the present invention relates to a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the steps of the MSS system simulation data construction method described above.
In the MSS system simulation data construction method, the MSS system simulation data construction device, the computer equipment and the storage medium, simulation data are constructed according to the characteristics of each subsystem, and the simulation data are sent to the MSS system to realize the test of the MSS system, so that the subsequent test of the MSS system does not need to depend on the actual interaction of each subsystem, and the test independence is greatly enhanced. Moreover, the user can edit and modify the data through the interactive interface, edit and adjust the data through a visual mode, the operation is easy, and the convenience and the efficiency of the data construction are greatly improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments of the present invention will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to these drawings without inventive labor.
FIG. 1 is a flow chart of a method for MSS system emulation data construction in accordance with one embodiment of the present invention;
FIG. 2 is another flow chart of a MSS system emulation data construction method in accordance with an embodiment of the present invention;
FIG. 3 is another flow chart of a MSS system emulation data construction method in accordance with an embodiment of the present invention;
FIG. 4 is another flow chart of a MSS system emulation data construction method in accordance with an embodiment of the present invention;
FIG. 5 is another flow chart of a MSS system emulation data construction method in accordance with an embodiment of the present invention;
FIG. 6 is a timing diagram of a method for MSS system emulation data construction in accordance with an embodiment of the present invention;
FIG. 7 is another timing diagram of an MSS system emulation data construction method in accordance with an embodiment of the present invention;
FIG. 8 is a diagram of an MSS system emulation data construction apparatus in accordance with an embodiment of the present invention;
FIG. 9 is a schematic diagram of a computer device according to an embodiment of the invention.
Detailed Description
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, 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.
In an embodiment of the present invention, as shown in fig. 1, a method for constructing analog data of an MSS system is provided, which includes the following steps:
s101: and acquiring edit data on the interactive interface.
The interactive interface is a display interface presented on the visual interface, and a user can interact data with the computer equipment through the interactive interface. The editing data is data presented on an interactive interface, and a user can interact the data with the terminal through the interactive interface, specifically, the user can select and modify the data by clicking, selecting or switching a label and a control on the interactive interface, or by editing, modifying and the like a text box. It can be understood that the edited data on the interactive interface is the presentation of network, equipment state, alarm information and the like of various subsystems. Other subsystems of the MSS may include an Automatic Train monitoring System (ATS), a Vehicle on-board Controller (VOBC), a Computer Interlock (CI), and a Zone Controller (ZC).
Specifically, the time for acquiring the editing data from the interactive interface may be periodically acquired, or may be acquired according to a specific instruction. Optionally, an acquisition period is preset, for example: 10ms, 20ms, 100ms, or 200ms, etc. And then periodically acquiring the editing data on the interactive interface according to the set acquisition period.
Further, when a specific trigger instruction is received, the editing data is acquired from the interactive interface. The triggering instruction can be triggered by the user interacting with a control on the interactive interface. Illustratively, a trigger control is set on the interactive interface, and if it is detected that the trigger control receives a specific action, a trigger instruction is generated to instruct the terminal to acquire editing data from the interactive interface. The specific action may be a single click, double click, long press, slide or other operation of the trigger control by the mouse. The touch operation on the trigger control can also be performed, for example, the trigger control is clicked, double-clicked, long-pressed, slid or otherwise operated by a finger or a stylus.
Optionally, when the edit data on the interactive interface is updated, the updated edit data is obtained from the interactive interface.
Specifically, on the interactive interface, a user can specifically set the on/off of a signal lamp at a certain moment through the operation of an interactive page, set the work of different lamps, indicate whether a wire is broken or not and a fuse wire is broken, whether a logic section is occupied by a communication vehicle or not, whether the logic section is in a permanent Reporting occupied section (ARB) state or not, whether a physical section is occupied or not, whether the physical section is blocked or not, and whether a specific locking state is achieved or not, and the like.
S102: and assembling the edited data according to the corresponding communication protocol to obtain the simulation data.
The communication protocol is a protocol for packet information transfer agreed in advance by each subsystem and the maintenance support subsystem. Different communication protocols may exist between different subsystems and MSS systems. Therefore, in this step, the corresponding communication protocol is the communication protocol between the MSS system and the data of which subsystem (ATS, VOBC, CI, ZC, or AXLE) is indicated according to the current edit data.
And after determining which subsystem the editing data is the editing data, assembling the editing data according to the corresponding communication protocol to obtain the simulation data.
S103: and sending the simulation data to an MSS system to instruct the MSS system to display the simulation data on a corresponding interface.
In this step, the assembled simulation data is sent to the MSS system, thereby instructing the MSS system to present the simulation data on a corresponding interface. In this way, the MSS system may be tested without the need for actual interaction of data between the respective subsystems and the MSS. And judging whether each function of the MSS is accurate or not through the simulation data displayed on the corresponding interface by the MSS system.
Furthermore, the edit data includes the pointing data of the MSS system, i.e., information such as the IP, sender id, port number, platform version number, software version number, or main backup information of the MSS system, so as to indicate the sending address of the analog data.
Preferably, the simulation data displayed on the interface of the MSS system may be displayed in the same manner as the interactive interface, so that the functions of the MSS system may be detected and verified more intuitively and efficiently.
In this embodiment, the simulation data is constructed according to the characteristics of each subsystem, and the simulation data is sent to the MSS system to realize the test of the MSS system, so that the subsequent test of the MSS system does not need to depend on the actual interaction of each subsystem, and the test independence is greatly enhanced. Moreover, the user can edit and modify the data through the interactive interface, edit and adjust the data through a visual mode, the operation is easy, and the convenience and the efficiency of the data construction are greatly improved.
In one embodiment, the edit data includes periodic data and triggered data.
The periodic data refers to edit data that needs to be periodically sent to the MSS system, and the triggered data refers to edit data that needs to be triggered by a specific command before being sent to the MSS system. The type of the edit data (periodic data and triggered data) on the interactive interface can be defined in advance, and the required edit data (periodic data or triggered data) can be acquired directly.
In this embodiment, the acquiring edit data on the interactive interface includes:
extracting periodic data from the interactive interface according to preset period information; and/or if a trigger instruction is received, extracting trigger data from the interactive interface, wherein the trigger instruction indicates the sending time of the trigger data.
The period information is set time data, and optionally, the period information may be preset or may be set on an interactive interface. The period information indicates an extraction period of the periodic data. Illustratively, the period information may be 10ms, 20ms, 100ms, 200ms, or the like. After the periodic information setting is completed, periodic data can be periodically acquired from the interactive interface according to a timer.
The trigger instruction indicates a transmission timing of the triggered data. And setting a trigger control on the interactive interface, and if the trigger control is detected to receive a specific action, generating a trigger instruction and indicating the terminal to acquire editing data from the interactive interface. The specific action may be a single click, double click, long press, slide or other operation of the trigger control by the mouse. The touch operation on the trigger control can also be performed, for example, the trigger control is clicked, double-clicked, long-pressed, slid or otherwise operated by a finger or a stylus.
In this embodiment, the editing data includes periodic data and trigger data, and the periodic data and the trigger data are acquired at different times, so that real simulation of various data can be ensured, setting can be performed according to different data characteristics, and authenticity of a simulation data structure is improved.
In one embodiment, as shown in fig. 2, the acquiring edit data on the interactive interface includes:
s201: and displaying a main interface on the interactive interface, wherein the main interface comprises a subsystem label, and the subsystem label indicates a corresponding subsystem.
The main interface is a main display interface on the interactive interface, the main interface comprises subsystem labels, and the subsystem labels indicate corresponding subsystems. Specifically, subsystem tags corresponding to different subsystems are displayed on the main interface, and for example, the subsystem tags may be arranged in sequence and disposed on the upper side, the lower side, the left side or the right side of the main interface. Optionally, the subsystem tags may also be spaced or distributed adjacently, disposed in the middle area of the main interface. The user can click on different subsystem tags on the main interface to construct, edit or adjust data of different subsystems.
S202: and responding to the selection of the subsystem label by the user, and displaying a corresponding sub-interface on the interactive interface, wherein the sub-interface comprises a configuration page and at least one data state display page.
The sub-interface is a secondary interface relative to the main interface, and each sub-system label corresponds to one sub-interface. Optionally, the sub-interface may be embedded in the main interface, or may be a pop-up interface. Preferably, the sub-interface can comprise an embedding state and a popping state, and a user can switch the two states of embedding the sub-interface into the main interface and popping the main interface by moving or selecting the sub-interface. The sub-interface includes a configuration page and at least one data state display page. The configuration page is used for displaying and editing data related to configuration. The configuration page may include at least one of an IP of the MSS system, a sender identifier, a port number, a platform version number, a software version number, primary backup information, and cycle information. The user can set the configuration data on the configuration page by selecting and/or editing.
The data state display page is used for displaying and editing real-time state or functional data of a specific subsystem. One subsystem tab may correspond to one data state display page or more than two data state display pages. For the subsystem tag ATS, the corresponding data status display page may include an event alarm page and a device status page, for example. For subsystem tags CI, the corresponding data status display pages may include board status pages, alarm pages, operational record pages, signal light pages, switch pages, logical zone pages, physical zone pages, platform pages, route pages, and other pages.
S203: and extracting data on the configuration page and/or the data state display page to obtain the editing data.
And obtaining the editing data by extracting data on a configuration page and/or the data state display page. In one embodiment, the data on the configuration page may be extracted first, where the data on the configuration page indicates some configuration information (may include cycle information), and after the data on the configuration page is extracted, the data on the data status display page may be extracted according to the indication of the data on the configuration page. Wherein the data on the configuration page may indicate an extraction timing (periodic extraction or triggered extraction) of the data on the data status display page.
In one embodiment, the main interface of the interactive interface may include subsystem tags corresponding to the ATS, VOBC, CI, ZC, and AXLE subsystems. The user can trigger different sub-interfaces by clicking each sub-system label on the main interface of the interactive interface. Each subsystem comprises a system configuration page and a data state display page, and the data state display page is designed according to a communication protocol between the MSS and each subsystem. Illustratively, the MSS and ATS communication protocol includes system configuration, event alarm, and device status, and correspondingly, the data status display page of the ATS may include an event alarm page and a device status page. In the system configuration, the user can configure: the IP (IP address sent to the destination end) of the sender, the identification (which is a specific subsystem to identify and is referred to as ATS/VOBC/CI/ZC), the period (setting period, time unit is ms level, and cycle sending data is carried out according to the time unit), the port of A system/B system, the version number of A/B platform (platform version information), the version number of A/B software (software version information), and the information of A/B main and standby (main and standby information). After clicking the application buttons of the power switch of the machine A and the power switch of the machine B, a user can acquire the set data on the current page, package the data and send the data to the destination IP and the port. The power switch can send the A machine or the B machine independently, and can send the A machine and the B machine simultaneously.
In the embodiment, by hierarchically setting the interactive pages of each subsystem, a user can efficiently and intuitively perform data composition and instruction sending of each subsystem through operation in the interactive interface, thereby ensuring intuitive and efficient simulation data composition.
In an embodiment, as shown in fig. 3, the extracting data on the configuration page and/or the data status display page to obtain the editing data includes:
s301: and extracting configuration information on the configuration page, wherein the configuration information comprises period information.
S302: and extracting corresponding periodic data from the data state display page according to the periodic information.
S303: and if a trigger instruction is received, extracting trigger data from the data state display page, wherein the trigger instruction indicates the sending time of the trigger data.
In this embodiment, the configuration information on the configuration page is first extracted, and the configuration information includes period information. Optionally, the period information further includes information such as an IP of the MSS system, a sender identifier, a port number, a platform version number, a software version number, or primary backup information. And after the period information is obtained, extracting corresponding periodic data from the data state display page according to the period information. Further, if a trigger instruction is received, trigger data is extracted from the data state display page, and the trigger instruction indicates a sending time of the trigger data. And setting a trigger control on the interactive interface, and if the trigger control is detected to receive a specific action, generating a trigger instruction and indicating the terminal to acquire editing data from the interactive interface. The specific action may be a single click, double click, long press, slide or other operation of the trigger control by the mouse. The touch operation on the trigger control can also be performed, for example, the trigger control is clicked, double-clicked, long-pressed, slid or otherwise operated by a finger or a stylus. Optionally, when the data on the data state display page is updated or adjusted, a trigger instruction is generated, and the triggered data is extracted from the data state display page.
In this embodiment, the configuration information on the configuration page is extracted, where the configuration information includes period information. And extracting corresponding periodic data from the data state display page according to the periodic information. And if a trigger instruction is received, extracting trigger data from the data state display page, wherein the trigger instruction indicates the sending time of the trigger data. The extraction of the periodic data is indicated through the configuration information, and the extraction and the sending of the triggered data are indicated through the trigger instruction, so that the flexible adjustment of data acquisition and sending can be realized, the real simulation of the data is improved, and the high efficiency and convenience of subsequent testing are ensured.
In one embodiment, as shown in fig. 4, the sending the analog data to the MSS system includes:
s401: and determining a corresponding MSS system through the configuration information, wherein the configuration information further comprises at least one of a sender IP, a sender identifier, a port number, a platform version number, a software version number and main standby information.
S402: and sending the analog data to the MSS system.
And determining a corresponding MSS system to be sent by subsequent data through configuration information, wherein the configuration information comprises at least one of a sender IP, a sender identifier, a port number, a platform version number, a software version number and main standby information. The corresponding MSS system can be determined by the configuration information, and after the MSS system to be transmitted is determined, the analog data is transmitted to the MSS system.
In this embodiment, after the corresponding MSS system is determined by the configuration information, the simulation data is sent to the MSS system, and interaction with different MSS systems can be implemented through configuration on an interaction interface, so that universality of a simulation data test object is improved, data interaction with multiple different MSS systems can be performed, and high efficiency and convenience of testing are further achieved.
In an embodiment, as shown in fig. 5, the extracting periodic data from the interactive interface according to the preset period information includes:
s501: and extracting configuration information from the interactive interface, wherein the configuration information comprises period information.
S502: and starting a timer, and extracting periodic data from the interactive interface when the timer reaches each period indicated by the period information.
Configuration information is extracted from the interactive interface, and the configuration information comprises period information. The configuration information may be in a configuration page or may be separately set on a main page. And then starting a timer, and extracting periodic data from the interactive interface when the timer reaches each period indicated by the period information. That is, the timer extracts periodic data from the interactive interface every time it reaches a period indicated by the period information.
In this embodiment, configuration information is first extracted from the interactive interface, where the configuration information includes period information. And then starting a timer, and extracting periodic data from the interactive interface when the timer reaches a period indicated by the period information. The period information can be adjusted in real time through the interactive interface, and the extraction and the sending of the data are indicated periodically through the timer, so that the flexibility and the accuracy of the extraction and the sending of the data are ensured.
In one embodiment, the sending the analog data to the MSS system includes:
and sending the analog data to an MSS system through a triggered thread, wherein the triggered thread is created according to the configuration information.
And setting data such as data type, network type and the like, and creating a triggered thread according to the configuration information. In the triggered thread, the edited data can be assembled through the DataFactory instance to obtain the analog data, and then the analog data is sent to the MSS system. Alternatively, the emulated data may be sent to the MSS system by a NetWork thread through a socket (socket). The DataFactory can be a predefined class or function, and the edited data is assembled according to the corresponding communication protocol through the DataFactory to obtain the simulated data.
In one embodiment, as shown in fig. 6, for the periodic data, the implementation procedure of an embodiment of the present invention is as follows:
first, the program side creates a cycle processing message thread (setting data type and network type), and creates a timer, setting information such as IP address, port, etc. through configuration information. And a trigger thread is created, and the information such as IP address, port and the like is correspondingly set through the configuration information. And starting a timer, executing a triggered thread when the timer reaches a period, and sending periodic data to a corresponding MSS system.
In one embodiment, as shown in fig. 7, for triggered data, the implementation procedure of an embodiment of the present invention is as follows:
firstly, a program end creates a trigger type thread, sets information such as an IP address and a port through configuration information, and creates a NetWork thread. After receiving the trigger instruction, assembling the trigger data through the DataFactory according to the corresponding communication protocol to obtain analog data, and then sending the analog data to the MSS system through a socket (socket) by a netword thread. It will be appreciated that the triggered thread may also be used as a triggered thread for periodic data transmission.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
In one embodiment, an MSS system emulation data constructing apparatus is provided, which corresponds to the MSS system emulation data constructing method in the above embodiments one to one. As shown in fig. 8, the MSS system analog data constructing apparatus includes an edited data acquiring module 801, a data assembling module 802, and a data transmitting module 803. The functional modules are explained in detail as follows:
an edit data acquisition module 801, configured to acquire edit data on an interactive interface;
a data assembling module 802, configured to assemble the editing data according to a corresponding communication protocol to obtain analog data;
a data sending module 803, configured to send the simulation data to an MSS system, so as to instruct the MSS system to display the simulation data on a corresponding interface.
Preferably, the edit data includes periodic data and triggered data, and the edit data acquiring module 801 is further configured to extract the periodic data from the interactive interface according to preset period information; and/or if a trigger instruction is received, extracting trigger data from the interactive interface, wherein the trigger instruction indicates the sending time of the trigger data.
Preferably, the edit data obtaining module 801 is further configured to display a main interface on the interactive interface, where the main interface includes a subsystem tag, and the subsystem tag indicates a corresponding subsystem; responding to the selection of the subsystem label by a user, and displaying a corresponding sub-interface on the interactive interface, wherein the sub-interface comprises a configuration page and at least one data state display page; and extracting data on the configuration page and/or the data state display page to obtain the editing data.
Preferably, the edit data obtaining module 801 is further configured to extract configuration information on the configuration page, where the configuration information includes cycle information; extracting corresponding periodic data from the data state display page according to the periodic information; and if a trigger instruction is received, extracting trigger data from the data state display page, wherein the trigger instruction indicates the sending time of the trigger data.
Preferably, the data sending module 803 is further configured to determine a corresponding MSS system according to the configuration information, where the configuration information further includes at least one of a sender IP, a sender identifier, a port number, a platform version number, a software version number, and primary standby information. And sending the analog data to the MSS system.
Preferably, the edit data acquiring module 801 is further configured to extract configuration information from the interactive interface, where the configuration information includes cycle information; creating a timer according to the period information; and when the timer reaches a period indicated by the period information, extracting periodic data from the interactive interface.
Preferably, the data sending module 803 is further configured to send the analog data to the MSS system through a triggered thread, where the triggered thread is created according to the configuration information.
For the specific limitations of the MSS system simulation data construction apparatus, reference may be made to the above limitations of the MSS system simulation data construction method, which will not be described herein again. The various modules in the MSS system emulation data construction apparatus described above can be implemented in whole or in part in software, hardware, and combinations thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as shown in fig. 9. The computer device includes a processor, a memory, a network interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used for communicating with an external server through a network connection. The computer program is executed by a processor to implement a MSS system emulation data construction method.
In one embodiment, a computer device is provided, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor, and when the processor executes the computer program, the MSS system simulation data construction method in the above-described embodiments is implemented.
In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements the MSS system simulation data construction method in the above-described embodiments.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database, or other medium used in the embodiments provided herein may include non-volatile and/or volatile memory, among others. Non-volatile memory can include read-only memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Rambus Direct RAM (RDRAM), direct bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present invention, and are intended to be included within the scope of the present invention.

Claims (10)

1. An MSS system analog data construction method, comprising:
acquiring edit data on an interactive interface;
assembling the edited data according to a corresponding communication protocol to obtain analog data;
and sending the simulation data to an MSS system to instruct the MSS system to display the simulation data on a corresponding interface.
2. The MSS system simulation data construction method of claim 1, wherein the compiled data includes periodic data and triggered data, and wherein the obtaining the compiled data on the interactive interface includes:
extracting periodic data from the interactive interface according to preset period information;
and/or the presence of a gas in the gas,
and if a trigger instruction is received, extracting trigger data from the interactive interface, wherein the trigger instruction indicates the sending time of the trigger data.
3. The MSS system simulation data construction method of claim 1, wherein the obtaining of the compiled data on the interactive interface comprises:
displaying a main interface on the interactive interface, wherein the main interface comprises a subsystem label, and the subsystem label indicates a corresponding subsystem;
responding to the selection of the subsystem label by a user, and displaying a corresponding sub-interface on the interactive interface, wherein the sub-interface comprises a configuration page and at least one data state display page;
and extracting data on the configuration page and/or the data state display page to obtain the editing data.
4. The MSS system simulation data construction method of claim 3, wherein the extracting the data on the configuration page and/or the data status display page to obtain the edit data comprises:
extracting configuration information on the configuration page, wherein the configuration information comprises period information;
extracting corresponding periodic data from the data state display page according to the periodic information;
and if a trigger instruction is received, extracting trigger data from the data state display page, wherein the trigger instruction indicates the sending time of the trigger data.
5. The MSS system emulation data construction method of claim 4, wherein said routing of said emulation data to the MSS system comprises:
and determining a corresponding MSS system through the configuration information, wherein the configuration information further comprises at least one of a sender IP, a sender identifier, a port number, a platform version number, a software version number and main standby information.
And sending the analog data to the MSS system.
6. The MSS system analog data construction method of claim 2, wherein the extracting periodic data from the interactive interface according to the preset period information comprises:
extracting configuration information from the interactive interface, wherein the configuration information comprises period information;
creating a timer according to the period information;
and when the timer reaches a period indicated by the period information, extracting periodic data from the interactive interface.
7. The MSS system emulation data construction method of claim 6, wherein said routing of said emulation data to the MSS system comprises:
and sending the analog data to an MSS system through a triggered thread, wherein the triggered thread is created according to the configuration information.
8. An MSS system emulation data construction apparatus, comprising:
the editing data acquisition module is used for acquiring editing data on the interactive interface;
the data assembly module is used for assembling the editing data according to a corresponding communication protocol to obtain analog data;
and the data sending module is used for sending the simulation data to the MSS system so as to instruct the MSS system to display the simulation data on a corresponding interface.
9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the MSS system simulation data construction method of any one of claims 1 to 7 when executing the computer program.
10. A computer readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the MSS system simulation data construction method according to any one of claims 1 to 7.
CN201911055852.XA 2019-10-31 2019-10-31 MSS system analog data construction method, apparatus, equipment and storage medium Active CN112749046B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911055852.XA CN112749046B (en) 2019-10-31 2019-10-31 MSS system analog data construction method, apparatus, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911055852.XA CN112749046B (en) 2019-10-31 2019-10-31 MSS system analog data construction method, apparatus, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN112749046A true CN112749046A (en) 2021-05-04
CN112749046B CN112749046B (en) 2023-08-11

Family

ID=75645639

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911055852.XA Active CN112749046B (en) 2019-10-31 2019-10-31 MSS system analog data construction method, apparatus, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112749046B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113890836A (en) * 2021-08-18 2022-01-04 浙江众合科技股份有限公司 MSS performance test method, equipment and medium based on pcap file modification and play

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102303608A (en) * 2011-06-16 2012-01-04 大连理工大学 Embedded, mobile and intelligent interconnection drive assisting system
WO2016045579A1 (en) * 2014-09-22 2016-03-31 努比亚技术有限公司 Application interaction control method and apparatus, and terminal
CN105550083A (en) * 2015-12-09 2016-05-04 北京交控科技股份有限公司 MSS (maintenance support subsystem) automatic test method and system
CN105739854A (en) * 2016-01-21 2016-07-06 努比亚技术有限公司 Interaction information processing method and apparatus
CN106218551A (en) * 2016-07-29 2016-12-14 北京车和家信息技术有限责任公司 The scaling method of automobile, demarcation terminal and calibration system
CN106559270A (en) * 2016-11-30 2017-04-05 交控科技股份有限公司 A kind of data analysing method and device of urban rail signalling arrangement
CN108099818A (en) * 2016-11-25 2018-06-01 比亚迪股份有限公司 The self-learning method and self learning system and vehicle of vehicle configuration information
CN108206751A (en) * 2016-12-19 2018-06-26 比亚迪股份有限公司 Emulation test system and method based on analog platform
US20180198914A1 (en) * 2017-01-10 2018-07-12 Ebay Inc. Interactive user interface for profile management
CN109787974A (en) * 2019-01-14 2019-05-21 浙江数链科技有限公司 Message data stream generating method, device, computer equipment and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102303608A (en) * 2011-06-16 2012-01-04 大连理工大学 Embedded, mobile and intelligent interconnection drive assisting system
WO2016045579A1 (en) * 2014-09-22 2016-03-31 努比亚技术有限公司 Application interaction control method and apparatus, and terminal
CN105550083A (en) * 2015-12-09 2016-05-04 北京交控科技股份有限公司 MSS (maintenance support subsystem) automatic test method and system
CN105739854A (en) * 2016-01-21 2016-07-06 努比亚技术有限公司 Interaction information processing method and apparatus
CN106218551A (en) * 2016-07-29 2016-12-14 北京车和家信息技术有限责任公司 The scaling method of automobile, demarcation terminal and calibration system
CN108099818A (en) * 2016-11-25 2018-06-01 比亚迪股份有限公司 The self-learning method and self learning system and vehicle of vehicle configuration information
CN106559270A (en) * 2016-11-30 2017-04-05 交控科技股份有限公司 A kind of data analysing method and device of urban rail signalling arrangement
CN108206751A (en) * 2016-12-19 2018-06-26 比亚迪股份有限公司 Emulation test system and method based on analog platform
US20180198914A1 (en) * 2017-01-10 2018-07-12 Ebay Inc. Interactive user interface for profile management
CN109787974A (en) * 2019-01-14 2019-05-21 浙江数链科技有限公司 Message data stream generating method, device, computer equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113890836A (en) * 2021-08-18 2022-01-04 浙江众合科技股份有限公司 MSS performance test method, equipment and medium based on pcap file modification and play

Also Published As

Publication number Publication date
CN112749046B (en) 2023-08-11

Similar Documents

Publication Publication Date Title
CN107360135B (en) Mimicry network operating system, construction device and method
CN110765001B (en) Modularized automatic test method and device for application system
CN111258898A (en) Automatic testing method and device, computer equipment and storage medium
CN105512343A (en) Method and device for simulating network anomaly and testing automatic switching of database faults
CN102169570A (en) Two tickets combined inference billing method of power grid based on work task analysis
CN105223897A (en) A kind of rolling stock electrical control cabinet proving installation and method of testing
EP2933726A1 (en) Apparatus, system and method for application log data processing
CN111711542A (en) Disaster recovery switching method and device based on DNS (Domain name System), electronic equipment and storage medium
CN107170218B (en) Remote assistance method and system for debugging fire alarm system
CN112749046A (en) MSS system simulation data construction method, device, equipment and storage medium
CN104166941A (en) Alarm information visualization method used for electrical network trend graph and system
CN112202613B (en) Optical cable fault processing method, device, equipment and computer readable storage medium
CN109495302B (en) Link monitoring method, cloud server and computer readable storage medium
CN110232013B (en) Test method, test device, controller and medium
CN116319492A (en) Switch testing method and device, storage medium and electronic equipment
JP5267839B2 (en) Distant monitoring and control device simulation device and power system monitoring and control system
CN116955232A (en) Hardware identification method and device based on control system
JP2006113754A (en) Software update device and method
CN108427044A (en) A kind of test method of failure protection function, device, equipment and storage medium
CN114691486A (en) Program debugging method and device and computer equipment
CN112015681B (en) IO port processing method, device, equipment and medium
CN114400624B (en) Method for polling version and faults of power distribution equipment, power distribution terminal and power distribution main station
CN109766204A (en) Intelligent trouble processing method, device, equipment and readable storage medium storing program for executing
CN117636497A (en) Method, system, terminal and medium for controlling inspection of power grid dispatching machine room
CN115865924B (en) Cluster deployment method, device, equipment, medium and product

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