Movatterモバイル変換


[0]ホーム

URL:


CN112749046B - 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
CN112749046B
CN112749046BCN201911055852.XACN201911055852ACN112749046BCN 112749046 BCN112749046 BCN 112749046BCN 201911055852 ACN201911055852 ACN 201911055852ACN 112749046 BCN112749046 BCN 112749046B
Authority
CN
China
Prior art keywords
data
mss system
mss
interface
subsystem
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
CN201911055852.XA
Other languages
Chinese (zh)
Other versions
CN112749046A (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 LtdfiledCriticalBYD Co Ltd
Priority to CN201911055852.XApriorityCriticalpatent/CN112749046B/en
Publication of CN112749046ApublicationCriticalpatent/CN112749046A/en
Application grantedgrantedCritical
Publication of CN112749046BpublicationCriticalpatent/CN112749046B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明公开了一种MSS系统模拟数据构造方法、装置、计算机设备及存储介质,根据各个子系统的特性构造模拟数据,并发送模拟数据到MSS系统中,以实现对MSS系统的测试,可以使得后续MSS系统的测试不需要依赖于实际的各个子系统的交互,使得测试的独立性大大增强。并且,用户可以通过交互界面进行数据的编辑和修改,通过可视化的方式进行数据的编辑和调整,容易上手和操作,大大提高了该数据构造的便捷和效率。

The invention discloses an MSS system simulation data construction method, device, computer equipment and storage medium, constructs simulation data according to the characteristics of each subsystem, and sends the simulation data to the MSS system, so as to realize the test of the MSS system, which can make Subsequent testing of the MSS system does not need to rely on the actual interaction of various subsystems, which greatly enhances the independence of testing. Moreover, users can edit and modify data through the interactive interface, and edit and adjust data in a visual way, which is easy to use and operate, and greatly improves the convenience and efficiency of the data structure.

Description

Translated fromChinese
MSS系统模拟数据构造方法、装置、设备及存储介质MSS system simulation data construction method, device, equipment and storage medium

技术领域technical field

本发明涉及数据测试领域,尤其涉及一种MSS系统模拟数据构造方法、装置、计算机设备及存储介质。The invention relates to the field of data testing, in particular to a method, device, computer equipment and storage medium for constructing MSS system simulation data.

背景技术Background technique

维护支持子系统(MSS,Maintenance Support System)是整个信号系统的设备状态监测和维护辅助工具,主要功能是实时收集其它子系统的网络、设备状态及报警信息,友好地展示给终端客户,帮助维修调度人员对故障设备进行定位等功能。这里的维护支持子系统和各个子系统,如ATS、CI、ZC、VOBC等都有相应的通信功能。Maintenance Support Subsystem (MSS, Maintenance Support System) is an equipment status monitoring and maintenance auxiliary tool for the entire signal system. Its main function is to collect the network, equipment status and alarm information of other subsystems in real time, and display them to end customers in a friendly manner to help with maintenance Dispatchers can locate faulty equipment and other functions. The maintenance support subsystem and various subsystems here, such as ATS, CI, ZC, VOBC, etc., have corresponding communication functions.

在测试维护支持子系统MSS时,需要实际子系统设备的配合才能完成测评。在其它子系统未配合的情况下,无法对MSS进行测试,影响了对MSS的测试的效率。When testing and maintaining the support subsystem MSS, it is necessary to cooperate with the actual subsystem equipment to complete the evaluation. Under the condition that other subsystems do not cooperate, the MSS cannot be tested, which affects the efficiency of the MSS test.

发明内容Contents of the invention

本发明实施例提供一种MSS系统模拟数据构造方法、装置、计算机设备及存储介质,以解决了MSS系统测试效率不高的问题。Embodiments of the present invention provide a method, device, computer equipment, and storage medium for constructing MSS system simulation data, so as to solve the problem of low test efficiency of the MSS system.

本发明实施例第一方面,涉及一种MSS系统模拟数据构造方法,包括:The first aspect of the embodiment of the present invention relates to a method for constructing simulation data of an MSS system, including:

获取交互界面上的编辑数据;Obtain the editing data on the interactive interface;

根据对应的通信协议对所述编辑数据进行组装,得到模拟数据;Assembling the edited data according to a corresponding communication protocol to obtain simulated data;

将所述模拟数据发送至MSS系统中,以指示所述MSS系统在对应的界面上展示所述模拟数据。Sending the simulation data to the MSS system to instruct the MSS system to display the simulation data on a corresponding interface.

本发明实施例第二方面,涉及一种MSS系统模拟数据构造装置,包括:The second aspect of the embodiment of the present invention relates to an MSS system simulation data construction device, including:

编辑数据获取模块,用于获取交互界面上的编辑数据;The edit data acquisition module is used to acquire the edit data on the interactive interface;

数据组装模块,用于根据对应的通信协议对所述编辑数据进行组装,得到模拟数据;A data assembly module, configured to assemble the edited data according to a corresponding communication protocol to obtain simulated data;

数据发送模块,用于将所述模拟数据发送至MSS系统中,以指示所述MSS系统在对应的界面上展示所述模拟数据。A data sending module, configured to send the simulation data to the MSS system, so as to instruct the MSS system to display the simulation data on a corresponding interface.

本发明实施例第三方面,涉及一种计算机设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述MSS系统模拟数据构造方法的步骤。The third aspect of the embodiments of the present invention relates to a computer device, including a memory, a processor, and a computer program stored in the memory and operable on the processor. When the processor executes the computer program, the computer program is implemented. The above MSS system simulates the steps of the data construction method.

本发明实施例第四方面,涉及一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现上述MSS系统模拟数据构造方法的步骤。The fourth aspect of the embodiments of the present invention relates to a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps of the above-mentioned MSS system simulation data construction method are realized.

上述MSS系统模拟数据构造方法、装置、计算机设备及存储介质中,根据各个子系统的特性构造模拟数据,并发送模拟数据到MSS系统中,以实现对MSS系统的测试,可以使得后续MSS系统的测试不需要依赖于实际的各个子系统的交互,使得测试的独立性大大增强。并且,用户可以通过交互界面进行数据的编辑和修改,通过可视化的方式进行数据的编辑和调整,容易上手和操作,大大提高了该数据构造的便捷和效率。In the above-mentioned MSS system simulation data construction method, device, computer equipment and storage medium, 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, which can make subsequent MSS systems The test does not need to depend on the actual interaction of each subsystem, which greatly enhances the independence of the test. Moreover, users can edit and modify data through the interactive interface, and edit and adjust data in a visual way, which is easy to use and operate, and greatly improves the convenience and efficiency of the data structure.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对本发明实施例的描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the accompanying drawings that need to be used in the description of the embodiments of the present invention. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention , for those skilled in the art, other drawings can also be obtained according to these drawings without paying creative labor.

图1是本发明一实施例中MSS系统模拟数据构造方法的一流程图;Fig. 1 is a flowchart of the MSS system simulation data construction method in an embodiment of the present invention;

图2是本发明一实施例中MSS系统模拟数据构造方法的另一流程图;Fig. 2 is another flow chart of the MSS system simulation data construction method in an embodiment of the present invention;

图3是本发明一实施例中MSS系统模拟数据构造方法的另一流程图;Fig. 3 is another flow chart of the MSS system simulation data construction method in an embodiment of the present invention;

图4是本发明一实施例中MSS系统模拟数据构造方法的另一流程图;Fig. 4 is another flow chart of the MSS system simulation data construction method in an embodiment of the present invention;

图5是本发明一实施例中MSS系统模拟数据构造方法的另一流程图;Fig. 5 is another flow chart of the MSS system simulation data construction method in an embodiment of the present invention;

图6是本发明一实施例中MSS系统模拟数据构造方法的一时序图;Fig. 6 is a timing diagram of the MSS system simulation data construction method in an embodiment of the present invention;

图7是本发明一实施例中MSS系统模拟数据构造方法的另一时序图;Fig. 7 is another sequence diagram of the MSS system simulation data construction method in an embodiment of the present invention;

图8是本发明一实施例中MSS系统模拟数据构造装置的一示意图;Fig. 8 is a schematic diagram of an MSS system simulation data construction device in an embodiment of the present invention;

图9是本发明一实施例中计算机设备的一示意图。FIG. 9 is a schematic diagram of computer equipment in an embodiment of the present invention.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

在本发明一实施例中,如图1所示,提供一种MSS系统模拟数据构造方法,包括如下步骤:In one embodiment of the present invention, as shown in Figure 1, a method for constructing MSS system simulation data is provided, including the following steps:

S101:获取交互界面上的编辑数据。S101: Acquiring edited data on an interactive interface.

其中,交互界面为呈现在可视化界面上的一个展示界面,用户可以通过该交互界面和计算机设备进行数据的交互。编辑数据为交互界面上呈现的数据,用户可以通过该交互界面和终端进行数据的交互,具体地,用户可以通过对交互界面上的标签、控件进行点击、选择或者切换等操作,或者,对文本框进行编辑、修改等操作,以实现对数据的选择和修改。可以理解地,交互界面上的编辑数据为对各种子系统的网络、设备状态及报警信息等的呈现。MSS的其他子系统可以包括列车自动监控系统(ATS,Automatic Train SupervisionSystem)、车载控制器(VOBC,Vehicle on-board Controller)、计算机联锁(CI,ComputerInterlocking)和区域控制器(ZC,Zone Controller)等。Wherein, the interactive interface is a display interface presented on the visual interface, through which the user can interact with the computer device for data. Editing data is the data presented on the interactive interface through which the user can interact with the terminal. Specifically, the user can click, select, or switch the labels and controls on the interactive interface, or edit the text Edit, modify and other operations in the box to realize the selection and modification of data. It can be understood that the editing data on the interactive interface is the presentation of the network, equipment status and alarm information of various subsystems. Other subsystems of MSS may include automatic train monitoring system (ATS, Automatic Train SupervisionSystem), on-board controller (VOBC, Vehicle on-board Controller), computer interlocking (CI, Computer Interlocking) and zone controller (ZC, Zone Controller) wait.

具体地,从交互界面上获取编辑数据的时机可以为周期性获取,也可以为根据一特定的指令进行获取。可选地,预先设定一获取周期,例如:10ms、20ms、100ms或者200ms等。随后根据该设定好的获取周期对交互界面上的编辑数据进行周期性获取。Specifically, the opportunity to acquire the editing data from the interactive interface may be acquired periodically, or may be acquired according to a specific instruction. Optionally, an acquisition period is preset, for example: 10ms, 20ms, 100ms or 200ms. Subsequently, the editing data on the interactive interface is periodically acquired according to the set acquisition cycle.

进一步地,在接收到特定的触发指令时,从交互界面上获取编辑数据。该触发指令可以由用户和交互界面上的一个控件进行交互而触发。示例性地,在交互界面上设置一触发控件,若检测到该触发控件接收到特定的动作,则生成触发指令,指示终端从交互界面上获取编辑数据。该特定的动作可以为通过鼠标对该触发控件进行单击、双击、长按、滑动或者其他操作。也可以为对该触发控件的触控操作,例如,通过手指或者触控笔对该触发控件进行单击、双击、长按、滑动或者其他操作。Further, when a specific trigger instruction is received, the editing data is obtained from the interactive interface. The triggering instruction may be triggered by the user interacting with a control on the interactive interface. Exemplarily, 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 obtain editing data from the interactive interface. The specific action may be clicking, double-clicking, long-pressing, sliding or other operations on the trigger control through the mouse. It may also be a touch operation on the trigger control, for example, clicking, double-clicking, long-pressing, sliding or other operations on the trigger control with a finger or a stylus.

可选地,在交互界面上的编辑数据有更新时,从交互界面上获取更新的编辑数据。Optionally, when the editing data on the interactive interface is updated, the updated editing data is acquired from the interactive interface.

具体地,在交互界面上,用户可以通过和交互页面的操作,进而具体设置某一时刻信号灯的亮灭,设置不同灯的工作,指示是否断丝、熔丝的情况,逻辑区段是否有通信车的占用,是否处于永久汇报占用区段(ARB,Always Reporting Block)状态,物理区段有没有占用、封锁、特定的锁闭状态等等。Specifically, on the interactive interface, the user can set the on and off of the signal lights at a certain moment, set the work of different lights, indicate whether there is a broken wire or a fuse, and whether there is communication in the logic section through the operation of the interactive page. The occupancy of the car, whether it is in the state of ARB (Always Reporting Block), whether the physical section is occupied, blocked, specific locked state, etc.

S102:根据对应的通信协议对所述编辑数据进行组装,得到模拟数据。S102: Assemble the edited data according to a corresponding communication protocol to obtain simulation data.

其中,通信协议为各个子系统和维护支持子系统预先约定的数据包信息传递的协议。不同的子系统和MSS系统之间的可以存在不同的通信协议。因此,在该步骤中,对应的通信协议即为根据当前编辑数据指示哪一子系统(ATS、VOBC、CI、ZC或者AXLE)的数据和MSS系统之间的通信协议。Wherein, the communication protocol is a protocol for transmitting data packet information pre-agreed by each subsystem and 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 data of which subsystem (ATS, VOBC, CI, ZC or AXLE) is indicated according to the current editing data and the MSS system.

在确定该编辑数据为哪一子系统的编辑数据之后,根据对应的通信协议对编辑数据进行组装,即得到模拟数据。After determining which subsystem the edited data belongs to, the edited data is assembled according to the corresponding communication protocol to obtain the simulation data.

S103:将所述模拟数据发送至MSS系统中,以指示所述MSS系统在对应的界面上展示所述模拟数据。S103: Send the simulation data to the MSS system, to instruct the MSS system to display the simulation data on a corresponding interface.

在该步骤中,将组装好的模拟数据发送至MSS系统中,从而指示所述MSS系统在对应的界面上展示所述模拟数据。如此,可以在不需要实际的各个子系统和MSS进行数据的交互的情况下,就可以对MSS系统进行测试。通过所述MSS系统在对应的界面上展示的模拟数据来判断MSS的各项功能是否准确。In this step, the assembled simulation data is sent to the MSS system, thereby instructing the MSS system to display the simulation data on a corresponding interface. In this way, the MSS system can be tested without the actual data interaction between each subsystem and the MSS. The accuracy of each function of MSS can be judged by the simulation data displayed on the corresponding interface of the MSS system.

进一步地,在编辑数据中包含了MSS系统的指向数据,即MSS系统的IP、发送方标识、端口号、平台版本号、软件版本号或主用备用信息等信息,以指示模拟数据的发送地址。Further, the edited data contains the pointing data of the MSS system, that is, the IP of the MSS system, the sender’s identification, the port number, the platform version number, the software version number or the main standby information, etc., to indicate the sending address of the simulation data .

优选地,在MSS系统上的界面上展示的模拟数据可以采用和交互界面相同的展示方式,如此,可以更加直观、高效地对MSS系统的功能进行检测和验证。Preferably, the simulation data displayed on the interface of the MSS system can be displayed in the same manner as the interactive interface, so that the functions of the MSS system can be detected and verified more intuitively and efficiently.

在本实施例中,根据各个子系统的特性构造模拟数据,并发送模拟数据到MSS系统中,以实现对MSS系统的测试,可以使得后续MSS系统的测试不需要依赖于实际的各个子系统的交互,使得测试的独立性大大增强。并且,用户可以通过交互界面进行数据的编辑和修改,通过可视化的方式进行数据的编辑和调整,容易上手和操作,大大提高了该数据构造的便捷和效率。In this embodiment, the simulated data is constructed according to the characteristics of each subsystem, and the simulated 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 subsystems. Interaction greatly enhances the independence of testing. Moreover, users can edit and modify data through the interactive interface, and edit and adjust data in a visual way, which is easy to use and operate, and greatly improves the convenience and efficiency of the data structure.

在一个实施例中,所述编辑数据包括周期性数据和触发式数据。In one embodiment, the edit data includes periodic data and triggered data.

其中,周期性数据是指需要周期性发送至MSS系统的编辑数据,而触发式数据是需要通过特定指令触发才发送至MSS系统的编辑数据。可以预先对交互界面上的编辑数据的类型(周期性数据和触发式数据)进行定义,后续可直接获取需要的编辑数据(周期性数据或触发式数据)。Among them, periodic data refers to editing data that needs to be periodically sent to the MSS system, and triggered data refers to editing data that needs to be triggered by a specific command before being sent to the MSS system. The types of editing data (periodic data and trigger data) on the interactive interface can be defined in advance, and the required editing data (periodic data or trigger data) can be obtained directly later.

在本实施例中,所述获取交互界面上的编辑数据,包括:In this embodiment, the acquisition of editing data on the interactive interface includes:

按照预设的周期信息从所述交互界面上提取周期性数据;和/或,若接收到触发指令,则从所述交互界面上提取触发式数据,所述触发指令指示所述触发式数据的发送时机。Extract periodic data from the interactive interface according to preset periodic information; and/or, if a trigger instruction is received, extract triggered data from the interactive interface, the trigger instruction indicates the trigger data When to send.

该周期信息为设定的时间数据,可选地,该周期信息可以预先设置,也可以在交互界面上进行设置。周期信息指示周期性数据的提取周期。示例性地,该周期信息可以为10ms、20ms、100ms或者200ms等。在该周期信息设置完成之后,可以根据一个定时器来周期性地从交互界面上获取周期性数据。The cycle information is set time data. Optionally, the cycle information can be preset or set on an interactive interface. The cycle information indicates an extraction cycle of periodic data. Exemplarily, the period information may be 10ms, 20ms, 100ms or 200ms, etc. After the periodic information is set, periodic data can be periodically obtained from the interactive interface according to a timer.

触发指令指示所述触发式数据的发送时机。在交互界面上设置一触发控件,若检测到该触发控件接收到特定的动作,则生成触发指令,指示终端从交互界面上获取编辑数据。该特定的动作可以为通过鼠标对该触发控件进行单击、双击、长按、滑动或者其他操作。也可以为对该触发控件的触控操作,例如,通过手指或者触控笔对该触发控件进行单击、双击、长按、滑动或者其他操作。The trigger instruction indicates the sending timing of the trigger data. 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 clicking, double-clicking, long-pressing, sliding or other operations on the trigger control through the mouse. It may also be a touch operation on the trigger control, for example, clicking, double-clicking, long-pressing, sliding or other operations on the trigger control with a finger or a stylus.

在本实施例中,编辑数据包括周期性数据和触发式数据,并且通过不同的时机获取周期性数据和触发式数据,可以保证对各种数据的真实模拟,可以根据不同的数据特性进行设置,提高了模拟数据构造的真实性。In this embodiment, the editing data includes periodic data and trigger data, and obtaining periodic data and trigger data at different times can ensure the real simulation of various data, and can be set according to different data characteristics, Improved realism of simulated data construction.

在一个实施例中,如图2所示,所述获取交互界面上的编辑数据,包括:In one embodiment, as shown in Figure 2, the acquisition of editing data on the interactive interface includes:

S201:在所述交互界面上展示主界面,所述主界面包括子系统标签,所述子系统标签指示对应的子系统。S201: Display a main interface on the interactive interface, where the main interface includes a subsystem label, and the subsystem label indicates a corresponding subsystem.

主界面为交互界面上的主显示界面,主界面上包括子系统标签,子系统标签指示对应的子系统。具体地,在主界面上展示有不同子系统对应的子系统标签,示例性地,子系统标签可以依序排列,设置在主界面的上侧、下侧、左侧或者右侧。可选地,子系统标签也可以间隔或者相邻分布,设置在主界面的中间区域。用户可以在主界面上点击不同的子系统标签,以进行不同的子系统的数据构造、编辑或者调整。The main interface is the main display interface on the interactive interface, and includes subsystem labels on the main interface, and the subsystem labels indicate the corresponding subsystems. Specifically, subsystem labels corresponding to different subsystems are displayed on the main interface. Exemplarily, the subsystem labels can be arranged in sequence and arranged on the upper side, lower side, left side or right side of the main interface. Optionally, the subsystem labels can also be distributed at intervals or adjacent to each other, and set in the middle area of the main interface. Users can click different subsystem labels on the main interface to construct, edit or adjust data of different subsystems.

S202:响应于用户对所述子系统标签的选择,在所述交互界面上展示对应的子界面,所述子界面包括配置页面和至少一个数据状态显示页面。S202: In response to the user's selection of the subsystem label, display a corresponding sub-interface on the interactive interface, where the sub-interface includes a configuration page and at least one data status display page.

子界面为相对于主界面的二级界面,每一子系统标签都对应一个子界面。可选地,该子界面可以嵌入设置在主界面中,也可以为弹出界面。优选地,子界面可以包含嵌入和弹出两种状态,用户可以通过对子界面的移动或者选择进行对子界面嵌入主界面和弹出主界面两种状态的切换。子界面包括配置页面和至少一个数据状态显示页面。其中,配置页面用于进行和配置相关的数据的展示和编辑。该配置页面可以包括MSS系统的IP、发送方标识、端口号、平台版本号、软件版本号、主用备用信息和周期信息等至少一项。用户可以在配置页面上通过选择和/或编辑的方式进行配置数据的设置。The sub-interface is a secondary interface relative to the main interface, and each subsystem label corresponds to a sub-interface. Optionally, the sub-interface can be embedded in the main interface, or it can be a pop-up interface. Preferably, the sub-interface can include two states of embedding and pop-up, and the user can switch between the two states of embedding the sub-interface into the main interface and popping up the main interface by moving or selecting the sub-interface. The sub-interface includes a configuration page and at least one data status display page. Among them, the configuration page is used to display and edit configuration-related data. The configuration page may include at least one item such as the IP of the MSS system, the identifier of the sender, the port number, the platform version number, the software version number, master and standby information, and cycle information. Users can set configuration data by selecting and/or editing on the configuration page.

数据状态显示页面用于进行和具体子系统的实时状态或者功能数据的展示和编辑。一个子系统标签可以对应一个数据状态显示页面或者两个以上的数据状态显示页面。示例性地,对于子系统标签ATS,对应的数据状态显示页面可以包括事件报警页面和设备状态页面。对于子系统标签CI,对应的数据状态显示页面可以包括板卡状态页面、报警页面、操作记录页面、信号灯页面、道岔页面、逻辑区段页面、物理区段页面、站台页面、进路页面和其他页面。The data status display page is used to display and edit the real-time status or functional data of specific subsystems. A subsystem label can correspond to one data status display page or more than two data status display pages. Exemplarily, for the subsystem tag ATS, the corresponding data status display page may include an event alarm page and an equipment status page. For the subsystem label CI, the corresponding data status display pages can include board status page, alarm page, operation record page, signal light page, turnout page, logical section page, physical section page, platform page, route page and others page.

S203:提取所述配置页面和/或所述数据状态显示页面上的数据,得到所述编辑数据。S203: Extract the data on the configuration page and/or the data status display page to obtain the edited data.

通过提取配置页面和/或所述数据状态显示页面上的数据,即得到所述编辑数据。在一个具体实施方式中,可以先提取配置页面上的数据,配置页面上的数据指示了一些配置信息(可以包括周期信息),在提取了配置页面上的数据之后,可以根据配置页面上的数据的指示对数据状态显示页面上的数据进行提取。其中,配置页面上的数据可以指示数据状态显示页面上的数据的提取时机(周期性提取或者触发式提取)。The edited data is obtained by extracting the data on the configuration page and/or the data status display page. In a specific implementation, the data on the configuration page can be extracted first, and the data on the configuration page indicates some configuration information (may include cycle information). After the data on the configuration page is extracted, the data on the configuration page can be The instruction of is to extract the data on the data status display page. Wherein, the data on the configuration page may indicate the timing of data extraction (periodical extraction or triggered extraction) on the data status display page.

在一个具体实施方式中,交互界面的主界面上可以包括ATS、VOBC、CI、ZC和AXLE子系统对应的子系统标签。用户通过点击交互界面的主界面上的各个子系统标签,可以触发不同的子界面。每一子系统均包括系统配置页面和数据状态显示页面,数据状态显示页面则根据维护支持子系统MSS与各个子系统的通信协议来进行设计。示例性地,MSS与ATS通信协议包括有系统配置、事件报警、设备状态,则相对应地,ATS的数据状态显示页面可以包括事件报警页面和设备状态页面。在系统配置里用户可以配置:发送方IP(发送到目的端的IP地址)、发送方标识(是标识到具体哪个子系统,是指ATS/VOBC/CI/ZC)、周期(设置周期,时间单位是ms级的,按这个时间单位进行周期循环发送数据)、A系/B系端口、A/B平台版本号(平台版本信息)、A/B软件版本号(软件版本信息)、A/B主备信息(主用、备用信息)。用户通过操作点击A机电源开关、B机电源开关应用按钮后,就可以获取当前页面上的所设置的数据并进行组包,向目的IP、端口进行数据发送。电源开关可以单独发送A机或者B机的,也可以同时发送A机和B机。In a specific embodiment, the main interface of the interactive interface may include subsystem labels corresponding to ATS, VOBC, CI, ZC and AXLE subsystems. The user can trigger different sub-interfaces by clicking each subsystem label on the main interface of the interactive interface. Each subsystem includes a system configuration page and a data status display page, and the data status display page is designed according to the communication protocol between the maintenance support subsystem MSS and each subsystem. Exemplarily, the communication protocol between MSS and ATS includes system configuration, event alarm, and device status. Correspondingly, the data status display page of ATS may include an event alarm page and a device status page. In the system configuration, the user can configure: sender IP (the IP address sent to the destination), sender ID (identify to which specific subsystem, refers to ATS/VOBC/CI/ZC), period (set period, time unit It is at the ms level, and the data is sent periodically according to this time unit), A series/B series port, A/B platform version number (platform version information), A/B software version number (software version information), A/B Primary and secondary information (main and standby information). After the user clicks the power switch of machine A and the power switch application button of machine B, the user can obtain the set data on the current page and package it, and send the data to the destination IP and port. The power switch can send A machine or B machine alone, and can also send A machine and B machine at the same time.

在本实施例中,通过层次化地设置各个子系统的交互页面,用户可以通过交互界面中的操作高效、直观地进行各个子系统的数据构成以及指示发送,保证了对模拟数据构造的直观、高效。In this embodiment, by setting up the interaction pages of each subsystem hierarchically, the user can efficiently and intuitively perform the data composition and instruction sending of each subsystem through the operation in the interaction interface, which ensures the intuitiveness and clarity of the simulation data structure. efficient.

在一个实施例中,如图3所示,所述提取所述配置页面和/或所述数据状态显示页面上的数据,得到所述编辑数据,包括:In one embodiment, as shown in FIG. 3 , the extracting the data on the configuration page and/or the data status display page to obtain the editing data includes:

S301:提取所述配置页面上的配置信息,所述配置信息包括周期信息。S301: Extract configuration information on the configuration page, where the configuration information includes cycle information.

S302:根据所述周期信息从所述数据状态显示页面上提取对应的周期性数据。S302: Extract corresponding periodic data from the data status display page according to the periodic information.

S303:若接收到触发指令,则从所述数据状态显示页面上提取触发式数据,所述触发指令指示所述触发式数据的发送时机。S303: If a trigger instruction is received, extract trigger data from the data status display page, where the trigger instruction indicates a sending timing of the trigger data.

在本实施例中给,先提取配置页面上的配置信息,配置信息包括周期信息。可选地,周期信息还包括MSS系统的IP、发送方标识、端口号、平台版本号、软件版本号或主用备用信息等信息。在得到周期信息之后,再根据所述周期信息从所述数据状态显示页面上提取对应的周期性数据。进一步地,若接收到触发指令,则从所述数据状态显示页面上提取触发式数据,所述触发指令指示所述触发式数据的发送时机。在交互界面上设置一触发控件,若检测到该触发控件接收到特定的动作,则生成触发指令,指示终端从交互界面上获取编辑数据。该特定的动作可以为通过鼠标对该触发控件进行单击、双击、长按、滑动或者其他操作。也可以为对该触发控件的触控操作,例如,通过手指或者触控笔对该触发控件进行单击、双击、长按、滑动或者其他操作。可选地,在数据状态显示页面上的数据有更新或者调整时,生成触发指令,并从所述数据状态显示页面上提取触发式数据。In this embodiment, the configuration information on the configuration page is extracted first, and the configuration information includes period information. Optionally, the period information also includes information such as the IP of the MSS system, the identifier of the sender, the port number, the version number of the platform, the version number of the software, or the master and backup information. After the periodic information is obtained, the corresponding periodic data is extracted from the data status display page according to the periodic information. Further, if a trigger instruction is received, the trigger data is extracted from the data status display page, and the trigger instruction indicates the sending timing of the trigger data. 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 clicking, double-clicking, long-pressing, sliding or other operations on the trigger control through the mouse. It may also be a touch operation on the trigger control, for example, clicking, double-clicking, long-pressing, sliding or other operations on the trigger control with a finger or a stylus. Optionally, when the data on the data status display page is updated or adjusted, a trigger instruction is generated, and the triggered data is extracted from the data status display page.

在本实施例中,提取所述配置页面上的配置信息,所述配置信息包括周期信息。根据所述周期信息从所述数据状态显示页面上提取对应的周期性数据。若接收到触发指令,则从所述数据状态显示页面上提取触发式数据,所述触发指令指示所述触发式数据的发送时机。通过配置信息指示周期性数据的提取,再通过触发指令指示触发式数据的提取和发送,可以实现数据获取和发送的灵活调整,提高了对数据的真实模拟,保证了后续测试的高效和便捷。In this embodiment, the configuration information on the configuration page is extracted, and the configuration information includes period information. Extract corresponding periodic data from the data status display page according to the periodic information. If a trigger instruction is received, the trigger data is extracted from the data status display page, and the trigger instruction indicates the sending timing of the trigger data. Through the configuration information to indicate the extraction of periodic data, and then through the trigger command to indicate the extraction and transmission of triggered data, the flexible adjustment of data acquisition and transmission can be realized, which improves the real simulation of data and ensures the efficiency and convenience of subsequent tests.

在一个实施例中,如图4所示,所述将所述模拟数据发送至MSS系统中,包括:In one embodiment, as shown in Figure 4, the sending of the simulated data to the MSS system includes:

S401:通过所述配置信息确定对应的MSS系统,所述配置信息还包括发送方IP、发送方标识、端口号、平台版本号、软件版本号和主用备用信息中的至少一项。S401: Determine a corresponding MSS system through the configuration information, where the configuration information also includes at least one item of sender IP, sender ID, port number, platform version number, software version number, and primary and backup information.

S402:将所述模拟数据发送至所述MSS系统中。S402: Send the simulation data to the MSS system.

通过配置信息确定后续数据要发送的对应MSS系统,其中,配置信息包括发送方IP、发送方标识、端口号、平台版本号、软件版本号和主用备用信息中的至少一项。通过上述配置信息可以确定对应的MSS系统,在确定了待发送的MSS系统之后,再将所述模拟数据发送至所述MSS系统中。Determine the corresponding MSS system to which subsequent data is to be sent through configuration information, wherein the configuration information includes at least one of sender IP, sender ID, port number, platform version number, software version number, and primary and backup information. The corresponding MSS system can be determined through the above configuration information, and after the MSS system to be sent is determined, the simulation data is sent to the MSS system.

在本实施例中,通过所述配置信息确定对应的MSS系统之后,将所述模拟数据发送至所述MSS系统中,可以通过在交互界面的配置实现和不同MSS系统的交互,提高了该模拟数据测试对象的普适性,可以和多不同的MSS系统进行数据交互,进一步实现了测试的高效和便捷。In this embodiment, after the corresponding MSS system is determined through the configuration information, the simulation data is sent to the MSS system, and the interaction with different MSS systems can be realized through the configuration of the interactive interface, which improves the simulation The universality of the data test object enables data interaction with many different MSS systems, further realizing the efficiency and convenience of the test.

在一个实施例中,如图5所示,所述按照预设的周期信息从所述交互界面上提取周期性数据,包括:In one embodiment, as shown in FIG. 5, the extraction of periodic data from the interactive interface according to preset periodic information includes:

S501:从所述交互界面上提取配置信息,所述配置信息包括周期信息。S501: Extract configuration information from the interactive interface, where the configuration information includes cycle information.

S502:启动定时器,当所述定时器每达到所述周期信息指示的一个周期时,从所述交互界面上提取周期性数据。S502: Start a timer, and extract periodic data from the interactive interface when the timer reaches a period indicated by the period information.

通过在交互界面上提取配置信息,配置信息中包括周期信息。该配置信息可以在配置页面中,也可以单独设置在主页面上。然后启动定时器,当所述定时器每达到所述周期信息指示的一个周期时,从所述交互界面上提取周期性数据。即,所述定时器每到达一次所述周期信息指示的一个周期,都从所述交互界面上提取周期性数据。By extracting the configuration information on the interactive interface, the configuration information includes cycle information. The configuration information can be set on the configuration page or on the main page separately. Then a timer is started, and when the timer reaches a cycle indicated by the cycle information, periodic data is extracted from the interactive interface. That is, every time the timer reaches a period indicated by the period information, periodic data is extracted from the interactive interface.

在本实施例中,先从所述交互界面上提取配置信息,所述配置信息包括周期信息。进而启动定时器,当所述定时器每达到所述周期信息指示的一个周期时,从所述交互界面上提取周期性数据。通过交互界面可以实时调整周期信息,并且通过定时器周期性地指示数据的提取和发送,保证了数据提取和发送的灵活和准确。In this embodiment, the configuration information is first extracted from the interactive interface, and the configuration information includes period information. Further, a timer is started, and when the timer reaches a cycle indicated by the cycle information, periodic data is extracted from the interactive interface. The periodic information can be adjusted in real time through the interactive interface, and the timer is used to periodically instruct the data extraction and transmission, which ensures the flexibility and accuracy of data extraction and transmission.

在一个实施例中,所述将所述模拟数据发送至MSS系统中,包括:In one embodiment, the sending the simulation data to the MSS system includes:

通过触发式线程将所述模拟数据发送至MSS系统中,其中,所述触发式线程为根据所述配置信息创建。The simulation data is sent to the MSS system through a trigger thread, wherein the trigger thread is created according to the configuration information.

通过设置数据类型、网络类型等数据,并且根据上述配置信息创建触发式线程。在该触发式线程中,可以通过DataFactory实例对编辑数据进行组装,得到模拟数据,再将模拟数据发送至MSS系统中。可选地,可以由NetWork线程通过套接字(socket)将模拟数据发送至MSS系统中。其中,DataFactory可以为预定义的类或者函数,通过DataFactory将编辑数据根据对应的通信协议进行组装,得到模拟数据。By setting data such as data type and network type, and creating a trigger thread according to the above configuration information. In this trigger thread, the edited data can be assembled through the DataFactory instance to obtain the simulated data, and then the simulated data can be sent to the MSS system. Optionally, the simulated data can be sent to the MSS system by the NetWork thread through a socket. Among them, 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.

在一个具体实施方式中,如图6所示,对于周期性数据,本发明一实施例的具体实现过程如下:In a specific implementation, as shown in FIG. 6, for periodic data, the specific implementation process of an embodiment of the present invention is as follows:

首先,程序端创建一周期处理消息线程(设置数据类型以及网络类型),并且创建一定时器,通过配置信息设置IP地址、端口等信息。并且创建一触发式线程,相对应地通过配置信息设置IP地址、端口等信息。启动定时器,在定时器每到达一个周期时,执行触发式线程,将周期性数据发送至对应的MSS系统中。First, the terminal creates a thread for periodic message processing (setting the data type and network type), and creates a timer to set the IP address, port and other information through the configuration information. And create a trigger thread, correspondingly set the IP address, port and other information through the configuration information. Start the timer, and when the timer reaches a cycle, execute the trigger thread to send the periodic data to the corresponding MSS system.

在一个具体实施方式中,如图7所示,对于触发式数据,本发明一实施例的具体实现过程如下:In a specific implementation, as shown in FIG. 7, for triggered data, the specific implementation process of an embodiment of the present invention is as follows:

首先,程序端创建一触发式线程通过配置信息设置IP地址、端口等信息,并且创建NetWork线程。在接收到触发指令之后,根据对应的通信协议通过DataFactory对触发式数据进行组装,得到模拟数据,再由NetWork线程通过套接字(socket)将模拟数据发送至MSS系统中。可以理解地,该触发式线程也可用作周期性数据发送的触发式线程。First, the terminal creates a trigger thread to set the IP address, port and other information through configuration information, and creates a NetWork thread. After receiving the trigger command, the trigger data is assembled through DataFactory according to the corresponding communication protocol to obtain the simulation data, and then the NetWork thread sends the simulation data to the MSS system through the socket. Understandably, the trigger thread can also be used as a trigger thread for periodic data sending.

应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that the sequence numbers of the steps in the above embodiments do not mean the order of execution, and the execution order of each process should be determined by its functions and internal logic, and should not constitute any limitation to the implementation process of the embodiment of the present invention.

在一实施例中,提供一种MSS系统模拟数据构造装置,该MSS系统模拟数据构造装置与上述实施例中MSS系统模拟数据构造方法一一对应。如图8所示,该MSS系统模拟数据构造装置包括编辑数据获取模块801、数据组装模块802和数据发送模块803。各功能模块详细说明如下:In one embodiment, a device for constructing MSS system simulation data is provided, and the device for constructing MSS system simulation data corresponds to the method for constructing MSS system simulation data in the above-mentioned embodiments. As shown in FIG. 8 , the MSS system simulation data construction device includes an editing data acquisition module 801 , a data assembly module 802 and a data sending module 803 . The detailed description of each functional module is as follows:

编辑数据获取模块801,用于获取交互界面上的编辑数据;Editing data acquisition module 801, configured to acquire editing data on the interactive interface;

数据组装模块802,用于根据对应的通信协议对所述编辑数据进行组装,得到模拟数据;A data assembly module 802, configured to assemble the edited data according to a corresponding communication protocol to obtain simulated data;

数据发送模块803,用于将所述模拟数据发送至MSS系统中,以指示所述MSS系统在对应的界面上展示所述模拟数据。The data sending module 803 is configured to send the simulation data to the MSS system, so as to instruct the MSS system to display the simulation data on a corresponding interface.

优选地,所述编辑数据包括周期性数据和触发式数据,所述编辑数据获取模块801还用于按照预设的周期信息从所述交互界面上提取周期性数据;和/或,若接收到触发指令,则从所述交互界面上提取触发式数据,所述触发指令指示所述触发式数据的发送时机。Preferably, the editing data includes periodic data and trigger data, and the editing data acquisition module 801 is further configured to extract periodic data from the interactive interface according to preset periodic information; and/or, if received trigger instruction, extract the trigger data from the interactive interface, where the trigger instruction indicates the sending timing of the trigger data.

优选地,所述编辑数据获取模块801还用于在所述交互界面上展示主界面,所述主界面包括子系统标签,所述子系统标签指示对应的子系统;响应于用户对所述子系统标签的选择,在所述交互界面上展示对应的子界面,所述子界面包括配置页面和至少一个数据状态显示页面;提取所述配置页面和/或所述数据状态显示页面上的数据,得到所述编辑数据。Preferably, the editing data acquisition module 801 is further configured to display a main interface on the interactive interface, the main interface includes a subsystem label, and the subsystem label indicates the corresponding subsystem; The selection of the system label, displaying the corresponding sub-interface on the interactive interface, the sub-interface includes a configuration page and at least one data status display page; extracting the data on the configuration page and/or the data status display page, Get the edited data.

优选地,所述编辑数据获取模块801还用于提取所述配置页面上的配置信息,所述配置信息包括周期信息;根据所述周期信息从所述数据状态显示页面上提取对应的周期性数据;若接收到触发指令,则从所述数据状态显示页面上提取触发式数据,所述触发指令指示所述触发式数据的发送时机。Preferably, the edit data acquisition module 801 is also used to extract the configuration information on the configuration page, the configuration information includes cycle information; extract corresponding periodic data from the data status display page according to the cycle information ; If a trigger instruction is received, extract the trigger data from the data status display page, the trigger instruction indicates the sending timing of the trigger data.

优选地,所述数据发送模块803还用于通过所述配置信息确定对应的MSS系统,所述配置信息还包括发送方IP、发送方标识、端口号、平台版本号、软件版本号和主用备用信息中的至少一项。将所述模拟数据发送至所述MSS系统中。Preferably, the data sending module 803 is also used to determine the corresponding MSS system through the configuration information, and the configuration information also includes sender IP, sender ID, port number, platform version number, software version number and main At least one item of alternate information. Send the simulated data to the MSS system.

优选地,所述编辑数据获取模块801还用于从所述交互界面上提取配置信息,所述配置信息包括周期信息;根据所述周期信息创建定时器;当所述定时器达到所述周期信息指示的一个周期时,从所述交互界面上提取周期性数据。Preferably, the editing data acquisition module 801 is further configured to extract configuration information from the interactive interface, the configuration information includes period information; create a timer according to the period information; when the timer reaches the period information At one cycle indicated, the periodic data is extracted from the interactive interface.

优选地,所述数据发送模块803还用于通过触发式线程将所述模拟数据发送至MSS系统中,其中,所述触发式线程为根据所述配置信息创建。Preferably, the data sending module 803 is further configured to send the simulated data to the MSS system through a trigger thread, wherein the trigger thread is created according to the configuration information.

关于MSS系统模拟数据构造装置的具体限定可以参见上文中对于MSS系统模拟数据构造方法的限定,在此不再赘述。上述MSS系统模拟数据构造装置中的各个模块可全部或部分通过软件、硬件及其组合来实现。上述各模块可以硬件形式内嵌于或独立于计算机设备中的处理器中,也可以以软件形式存储于计算机设备中的存储器中,以便于处理器调用执行以上各个模块对应的操作。For specific limitations on the MSS system simulation data construction device, please refer to the above-mentioned limitations on the MSS system simulation data construction method, which will not be repeated here. Each module in the above-mentioned MSS system simulation data construction device can be fully or partially realized by software, hardware and combinations thereof. The above-mentioned modules can be embedded in or independent of the processor in the computer device in the form of hardware, and can also be stored in the memory of the computer device in the form of software, so that the processor can invoke and execute the corresponding operations of the above-mentioned modules.

在一个实施例中,提供了一种计算机设备,该计算机设备可以是终端,其内部结构图可以如图9所示。该计算机设备包括通过系统总线连接的处理器、存储器、网络接口、显示屏和输入装置。其中,该计算机设备的处理器用于提供计算和控制能力。该计算机设备的存储器包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机程序。该内存储器为非易失性存储介质中的操作系统和计算机程序的运行提供环境。该计算机设备的网络接口用于与外部服务器通过网络连接通信。该计算机程序被处理器执行时以实现一种MSS系统模拟数据构造方法。In one embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure 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 through a system bus. Wherein, the processor of the computer device is used to provide calculation and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface of the computer device is used to communicate with the external server through the network connection. When the computer program is executed by a processor, a method for constructing MSS system simulation data is realized.

在一个实施例中,提供了一种计算机设备,包括存储器、处理器及存储在存储器上并可在处理器上运行的计算机程序,处理器执行计算机程序时实现上述实施例中的MSS系统模拟数据构造方法。In one embodiment, a computer device is provided, including a memory, a processor, and a computer program stored on the memory and operable on the processor. When the processor executes the computer program, the simulation data of the MSS system in the above-mentioned embodiments is realized. Construction method.

在一个实施例中,提供了一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时实现上述实施例中的MSS系统模拟数据构造方法。In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the method for constructing MSS system simulation data in the above-mentioned embodiments is implemented.

本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一非易失性计算机可读取存储介质中,该计算机程序在执行时,可包括如上述各方法的实施例的流程。其中,本申请所提供的各实施例中所使用的对存储器、存储、数据库或其它介质的任何引用,均可包括非易失性和/或易失性存储器。非易失性存储器可包括只读存储器(ROM)、可编程ROM(PROM)、电可编程ROM(EPROM)、电可擦除可编程ROM(EEPROM)或闪存。易失性存储器可包括随机存取存储器(RAM)或者外部高速缓冲存储器。作为说明而非局限,RAM以多种形式可得,诸如静态RAM(SRAM)、动态RAM(DRAM)、同步DRAM(SDRAM)、双数据率SDRAM(DDRSDRAM)、增强型SDRAM(ESDRAM)、同步链路(Synchlink)DRAM(SLDRAM)、存储器总线(Rambus)直接RAM(RDRAM)、直接存储器总线动态RAM(DRDRAM)、以及存储器总线动态RAM(RDRAM)等。Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above-mentioned embodiments can be completed by instructing related hardware through computer programs, and the computer programs can be stored in a non-volatile computer-readable memory In the medium, when the computer program is executed, it may include the processes of the embodiments of the above-mentioned methods. Wherein, any references to memory, storage, database or other media used in the various embodiments provided in the present application may include non-volatile and/or volatile memory. Nonvolatile 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 many forms such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Chain Synchlink DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.

所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。Those skilled in the art can clearly understand that for the convenience and brevity of description, only the division of the above-mentioned functional units and modules is used for illustration. In practical applications, the above-mentioned functions can be assigned to different functional units, Completion of modules means that the internal structure of the device is divided into different functional units or modules to complete all or part of the functions described above.

以上所述实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围,均应包含在本发明的保护范围之内。The above-described embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: it can still carry out the foregoing embodiments Modifications to the technical solutions recorded in the examples, or equivalent replacement of some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the various embodiments of the present invention, and should be included in within the protection scope of the present invention.

Claims (9)

Translated fromChinese
1.一种MSS系统模拟数据构造方法,其特征在于,包括:1. A MSS system simulation data construction method is characterized in that, comprising:获取交互界面上的编辑数据,包括:Get edited data on the interactive interface, including:在所述交互界面上展示主界面,所述主界面包括子系统标签,所述子系统标签指示对应的子系统;A main interface is displayed on the interactive interface, the main interface includes a subsystem label, and the subsystem label indicates a corresponding subsystem;响应于用户对所述子系统标签的选择,在所述交互界面上展示对应的子界面,所述子界面包括配置页面和至少一个数据状态显示页面,所述配置页面上的数据可以指示所述数据状态显示页面上的数据的提取时机,所述数据状态显示页面根据维护支持子系统MSS与各个子系统的通信协议来进行设计;In response to the user's selection of the subsystem label, a corresponding sub-interface is displayed on the interactive interface, the sub-interface includes a configuration page and at least one data status display page, and the data on the configuration page may indicate the The timing of data extraction on the data status display page, the data status display page is designed according to the communication protocol between the maintenance support subsystem MSS and each subsystem;提取所述配置页面和/或所述数据状态显示页面上的数据,得到所述编辑数据;Extracting the data on the configuration page and/or the data status display page to obtain the edited data;根据对应的通信协议对所述编辑数据进行组装,得到模拟数据;Assembling the edited data according to a corresponding communication protocol to obtain simulated data;将所述模拟数据发送至MSS系统中,以指示所述MSS系统在对应的界面上展示所述模拟数据。Sending the simulation data to the MSS system to instruct the MSS system to display the simulation data on a corresponding interface.2.如权利要求1所述的MSS系统模拟数据构造方法,其特征在于,所述编辑数据包括周期性数据和触发式数据,所述获取交互界面上的编辑数据,包括:2. the MSS system simulation data construction method as claimed in claim 1, is characterized in that, described editing data comprises periodic data and trigger type data, and described acquisition data editing on the interactive interface comprises:按照预设的周期信息从所述交互界面上提取周期性数据;extracting periodic data from the interactive interface according to preset periodic information;和/或,and / or,若接收到触发指令,则从所述交互界面上提取触发式数据,所述触发指令指示所述触发式数据的发送时机。If a trigger instruction is received, the trigger data is extracted from the interactive interface, and the trigger instruction indicates a sending opportunity of the trigger data.3.如权利要求1所述的MSS系统模拟数据构造方法,其特征在于,所述提取所述配置页面和/或所述数据状态显示页面上的数据,得到所述编辑数据,包括:3. MSS system simulation data construction method as claimed in claim 1, is characterized in that, described extracting the data on described configuration page and/or described data status display page, obtains described editing data, comprises:提取所述配置页面上的配置信息,所述配置信息包括周期信息;extracting configuration information on the configuration page, where the configuration information includes cycle information;根据所述周期信息从所述数据状态显示页面上提取对应的周期性数据;Extracting corresponding periodic data from the data status display page according to the periodic information;若接收到触发指令,则从所述数据状态显示页面上提取触发式数据,所述触发指令指示所述触发式数据的发送时机。If a trigger instruction is received, the trigger data is extracted from the data status display page, and the trigger instruction indicates the sending timing of the trigger data.4.如权利要求3所述的MSS系统模拟数据构造方法,其特征在于,所述将所述模拟数据发送至MSS系统中,包括:4. the MSS system simulation data construction method as claimed in claim 3, is characterized in that, described described simulation data is sent in the MSS system, comprises:通过所述配置信息确定对应的MSS系统,所述配置信息还包括发送方IP、发送方标识、端口号、平台版本号、软件版本号和主用备用信息中的至少一项;The corresponding MSS system is determined through the configuration information, and the configuration information also includes at least one of sender IP, sender ID, port number, platform version number, software version number, and primary and backup information;将所述模拟数据发送至所述MSS系统中。Send the simulated data to the MSS system.5.如权利要求2所述的MSS系统模拟数据构造方法,其特征在于,所述按照预设的周期信息从所述交互界面上提取周期性数据,包括:5. The MSS system simulation data construction method as claimed in claim 2, is characterized in that, described according to preset periodic information extracts periodic data from described interactive interface, comprises:从所述交互界面上提取配置信息,所述配置信息包括周期信息;Extract configuration information from the interactive interface, where the configuration information includes cycle information;根据所述周期信息创建定时器;creating a timer according to the period information;当所述定时器达到所述周期信息指示的一个周期时,从所述交互界面上提取周期性数据。When the timer reaches a cycle indicated by the cycle information, the periodic data is extracted from the interactive interface.6.如权利要求5所述的MSS系统模拟数据构造方法,其特征在于,所述将所述模拟数据发送至MSS系统中,包括:6. the MSS system simulation data construction method as claimed in claim 5, is characterized in that, described described simulation data is sent in the MSS system, comprises:通过触发式线程将所述模拟数据发送至MSS系统中,其中,所述触发式线程为根据所述配置信息创建。The simulation data is sent to the MSS system through a trigger thread, wherein the trigger thread is created according to the configuration information.7.一种MSS系统模拟数据构造装置,其特征在于,包括:7. An MSS system simulation data construction device is characterized in that, comprising:编辑数据获取模块,用于获取交互界面上的编辑数据,包括:The editing data acquisition module is used to acquire the editing data on the interactive interface, including:在所述交互界面上展示主界面,所述主界面包括子系统标签,所述子系统标签指示对应的子系统;A main interface is displayed on the interactive interface, the main interface includes a subsystem label, and the subsystem label indicates a corresponding subsystem;响应于用户对所述子系统标签的选择,在所述交互界面上展示对应的子界面,所述子界面包括配置页面和至少一个数据状态显示页面,所述配置页面上的数据可以指示所述数据状态显示页面上的数据的提取时机,所述数据状态显示页面根据维护支持子系统MSS与各个子系统的通信协议来进行设计;In response to the user's selection of the subsystem label, a corresponding sub-interface is displayed on the interactive interface, the sub-interface includes a configuration page and at least one data status display page, and the data on the configuration page may indicate the The timing of data extraction on the data status display page, the data status display page is designed according to the communication protocol between the maintenance support subsystem MSS and each subsystem;提取所述配置页面和/或所述数据状态显示页面上的数据,得到所述编辑数据;Extracting the data on the configuration page and/or the data status display page to obtain the edited data;数据组装模块,用于根据对应的通信协议对所述编辑数据进行组装,得到模拟数据;A data assembly module, configured to assemble the edited data according to a corresponding communication protocol to obtain simulated data;数据发送模块,用于将所述模拟数据发送至MSS系统中,以指示所述MSS系统在对应的界面上展示所述模拟数据。A data sending module, configured to send the simulation data to the MSS system, so as to instruct the MSS system to display the simulation data on a corresponding interface.8.一种计算机设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至6任一项所述MSS系统模拟数据构造方法。8. A computer device, comprising a memory, a processor, and a computer program stored in the memory and operable on the processor, characterized in that, when the processor executes the computer program, the computer program according to claim The MSS system simulation data construction method described in any one of 1 to 6.9.一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至6任一项所述MSS系统模拟数据构造方法。9. A computer-readable storage medium, the computer-readable storage medium is stored with a computer program, characterized in that, when the computer program is executed by a processor, it realizes the MSS system simulation as described in any one of claims 1 to 6 Data construction method.
CN201911055852.XA2019-10-312019-10-31 MSS system simulation data construction method, device, equipment and storage mediumActiveCN112749046B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201911055852.XACN112749046B (en)2019-10-312019-10-31 MSS system simulation data construction method, device, equipment and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201911055852.XACN112749046B (en)2019-10-312019-10-31 MSS system simulation data construction method, device, equipment and storage medium

Publications (2)

Publication NumberPublication Date
CN112749046A CN112749046A (en)2021-05-04
CN112749046Btrue CN112749046B (en)2023-08-11

Family

ID=75645639

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201911055852.XAActiveCN112749046B (en)2019-10-312019-10-31 MSS system simulation data construction method, device, equipment and storage medium

Country Status (1)

CountryLink
CN (1)CN112749046B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN113890836A (en)*2021-08-182022-01-04浙江众合科技股份有限公司MSS performance test method, equipment and medium based on pcap file modification and play
CN114282693B (en)*2021-11-222024-12-17北京思特奇信息技术股份有限公司Visual operation and maintenance method and platform system based on terminal mss
CN114237606B (en)*2022-01-062025-04-22成都怡康科技有限公司 Independent display method and device and application thereof on smart wearable device

Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102303608A (en)*2011-06-162012-01-04大连理工大学Embedded, mobile and intelligent interconnection drive assisting system
WO2016045579A1 (en)*2014-09-222016-03-31努比亚技术有限公司Application interaction control method and apparatus, and terminal
CN105550083A (en)*2015-12-092016-05-04北京交控科技股份有限公司MSS (maintenance support subsystem) automatic test method and system
CN105739854A (en)*2016-01-212016-07-06努比亚技术有限公司Interaction information processing method and apparatus
CN106218551A (en)*2016-07-292016-12-14北京车和家信息技术有限责任公司The scaling method of automobile, demarcation terminal and calibration system
CN106559270A (en)*2016-11-302017-04-05交控科技股份有限公司A kind of data analysing method and device of urban rail signalling arrangement
CN108099818A (en)*2016-11-252018-06-01比亚迪股份有限公司The self-learning method and self learning system and vehicle of vehicle configuration information
CN108206751A (en)*2016-12-192018-06-26比亚迪股份有限公司Emulation test system and method based on analog platform
CN109787974A (en)*2019-01-142019-05-21浙江数链科技有限公司Message data stream generating method, device, computer equipment and storage medium

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US10462298B2 (en)*2017-01-102019-10-29Ebay Inc.Interactive user interface for profile management

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN102303608A (en)*2011-06-162012-01-04大连理工大学Embedded, mobile and intelligent interconnection drive assisting system
WO2016045579A1 (en)*2014-09-222016-03-31努比亚技术有限公司Application interaction control method and apparatus, and terminal
CN105550083A (en)*2015-12-092016-05-04北京交控科技股份有限公司MSS (maintenance support subsystem) automatic test method and system
CN105739854A (en)*2016-01-212016-07-06努比亚技术有限公司Interaction information processing method and apparatus
CN106218551A (en)*2016-07-292016-12-14北京车和家信息技术有限责任公司The scaling method of automobile, demarcation terminal and calibration system
CN108099818A (en)*2016-11-252018-06-01比亚迪股份有限公司The self-learning method and self learning system and vehicle of vehicle configuration information
CN106559270A (en)*2016-11-302017-04-05交控科技股份有限公司A kind of data analysing method and device of urban rail signalling arrangement
CN108206751A (en)*2016-12-192018-06-26比亚迪股份有限公司Emulation test system and method based on analog platform
CN109787974A (en)*2019-01-142019-05-21浙江数链科技有限公司Message data stream generating method, device, computer equipment and storage medium

Also Published As

Publication numberPublication date
CN112749046A (en)2021-05-04

Similar Documents

PublicationPublication DateTitle
CN112749046B (en) MSS system simulation data construction method, device, equipment and storage medium
CN110311831B (en)Container cloud-based system resource monitoring method and related equipment
CN101710352B (en)Method, system and graphical user interface for configuring simulator and simulating a plurality of devices
CN104750063B (en)For configuring the system and industrial safety system collocation method of industry security relay
US20150106791A1 (en)System and method for automating build deployment and testing processes
CN104765678A (en)Method and device for testing applications on mobile terminal
US9164851B2 (en)Keyboard, video and mouse switch identifying and displaying nodes experiencing a problem
CN110704097A (en)Data collection method and device, electronic equipment and storage medium
CN105260082A (en)Display method for test data and development terminal
KR20150025106A (en)Verification apparatus, terminal device, system, method and computer-readable medium for monitoring of application verification result
CN117608825A (en)Resource management method based on multi-cloud management platform and related equipment
CN102752146A (en)Cluster topological graph generation method and server
KR102838346B1 (en)System and method for verifying virtual ecu based on docker host
JP2014217186A (en)Electronic equipment, verification method and verification program
CN106357466B (en)A kind of internet product monitoring method and monitoring system
CN104184762A (en)Fault information feedback method and system of server
KR101022186B1 (en) Integrated control and control system and method
CN108983083B (en)Electric tool switch debugging control method, device and system
CN110978051A (en)Robot simulation device, robot simulation system, robot simulation method, readable medium, and electronic apparatus
JP2023126206A (en)Maintenance and inspection result presentation device
CN102455958A (en) test system
CA2863186C (en)Methods and systems in an automation system for viewing a current value of a point identified in code of a corresponding point control process
CN112799957A (en) User behavior-based troubleshooting method, system, device and medium
CN109542717A (en)Information publishing method, system, human-computer interface device and readable storage medium
CN119402341A (en) A test method, test platform and host computer for vehicle data upload function

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp