Information acquisition methods and devices, electronic equipment

By receiving and sending a set of operation events with time tags at the receiving end, calculating the event transmission delay, and generating a set of event information, the problem of manual input of operation events affecting test accuracy is solved, and automated testing of reverse operation events is realized. Stability evaluation meets the need for processing performance comparisons between different devices or versions.

CN112069011BActive Publication Date: 2024-09-13XIAN WANXIANG ELECTRONICS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010937315.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-09-08
Publication Date
2024-09-13
Estimated Expiration
2040-09-08

AI Technical Summary

Technical Problem

In the existing technology, manual input of operation events is limited, resulting in inaccurate test results of reverse operation events and unable to meet the need for comparison of reverse operation event processing performance between different devices or versions.

Method used

By pre-establishing a connection with the event-generating device at the receiving end, it receives and sends a collection of operational events with event identifiers and issuing time points, records the receiving time points, calculates the event transmission delay, and generates an event information collection to evaluate the stability of event transmission. sex and real-time.

Benefits of technology

Automated testing is realized, the accuracy and stability of the test are improved, and it can meet the comparison needs of reverse operation event processing performance between different devices or versions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112069011B
    Figure CN112069011B
Patent Text Reader

Abstract

The present invention discloses an information acquisition method and device, and an electronic device. The information acquisition method includes: receiving an operation event set to be tested from an event generating device, wherein each operation event in the operation event set carries an event identifier and an event issuance time point; sending each operation event to an image source device, wherein the image source device records the receiving time point when receiving the operation event; determining the event transmission delay of each operation event based on the issuance time point and the receiving time point; generating an event information set based at least on the event transmission delay and the operation event set. The present invention solves the technical problem in the related art that manually inputting operation events will affect the accuracy of the test results, resulting in the inability to meet the test requirements of the actual processing performance of the reverse operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of testing technology, and in particular to an information acquisition method and device, and electronic equipment. Background Art

[0002] In the related art, the image transmission system includes: an image source device, a collection end, and a receiving end. The collection end (S end) collects the desktop image of the image source device, encodes the collected desktop image (corresponding to the display after decoding by the R end) and sends it to the receiving end (R end), and the receiving end decodes the received desktop image data and displays it on the connected display.

[0003] The data processing in the image transmission system mainly includes two aspects: one is image data. The S end captures the desktop screen of the image source device and sends the captured image data to the R end, which restores the image data and displays it on the monitor. The other is reverse operation events. The R end sends the reverse operation events generated by the user's operation actions on the input device to the image source device, and the image source device executes the reverse operation events.

[0004] It should be noted that the real-time and stability of reverse operation events have a great impact on user experience. For example, when a user clicks the mouse on the R side, he expects to see the execution effect immediately; if the transmission delay of the reverse control data is large, or there is a failure in the transmission and processing of the reverse control data, the user cannot see the execution effect on the R side or the execution effect has a significant delay, and the user experience will be poor.

[0005] During product development and operation and maintenance, the current reverse operation events are manually input by testers through the R-side input device, and then the real-time and stability of the reverse operation events of the image transmission system are measured. However, due to the limited types of manually input operation events, the limited input duration, and the fact that the operation events input each time cannot be exactly the same, the accuracy of the test results of the reverse operation events will be affected. In particular, it cannot meet the test requirements for comparing the processing performance of reverse operation events between the same device but different versions, or the same version but different devices, or the same version but different networks.

[0006] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0007] The embodiments of the present invention provide an information acquisition method and device, and an electronic device to at least solve the technical problem in the related art that manual input operation events will affect the accuracy of the test results, resulting in the inability to meet the test requirements of the actual processing performance of the reverse operation.

[0008] According to one aspect of an embodiment of the present invention, there is provided an information acquisition method, which is applied to a receiving end, wherein the receiving end pre-establishes a connection with an event generating device, and the information acquisition method comprises: receiving a set of operation events to be tested from the event generating device, wherein each operation event in the set of operation events carries an event identifier and an event issuance time point; sending each of the operation events to an image source device, wherein the reception time point is recorded when the image source device receives the operation event; determining an event transmission delay of each of the operation events based on the issuance time point and the reception time point; and generating an event information set based at least on the event transmission delay and the set of operation events.

[0009] Optionally, before receiving the set of operation events to be tested from the event generating device, the information acquisition method further includes: the event generating device establishing a connection with the receiving end through a preset port; after receiving the test instruction, the event generating device sends the set of operation events to the receiving end according to preset output rules.

[0010] Optionally, the preset output rule includes at least one of the following: an output time point, a stop output time point, a sequence of output operation events, a number of output operation events, an output frequency, and a duration of output.

[0011] Optionally, the operation event set includes the following types of operation events: keyboard events, mouse events, touch screen events, gesture events, and gravity sensing events.

[0012] Optionally, the step of generating an event information set based at least on the event transmission delay and the operation event set includes: determining a pre-set delay threshold, wherein the delay threshold is used to evaluate the stability of the event transmission delay; comparing the event transmission delay with the delay threshold to obtain a comparison result; determining the number of operation events in the operation event set sent; and generating the event information set based on the comparison result and the number of operation events.

[0013] Optionally, if there are multiple delay thresholds, after generating the event information set, the information acquisition method also includes: determining the delay threshold interval to which each delay threshold belongs; based on the event information set, determining the number of operation events in each delay threshold interval and the ratio of all operation events in each delay threshold interval to the total number of events; based on the number of operation events in each delay threshold interval and the ratio of all operation events in each delay threshold interval to the total number of events, analyzing the stability of the target image transmission system.

[0014] Optionally, a monitoring application APP is pre-set on the image source device, wherein the monitoring application APP is used to monitor the time point when the operating system on the image source device receives an operation event.

[0015] According to another aspect of an embodiment of the present invention, there is also provided an information acquisition device, which is applied to a receiving end, and the receiving end pre-establishes a connection with an event generating device, and the information acquisition device includes: a receiving unit, which is used to receive a set of operation events to be tested from the event generating device, wherein each operation event in the operation event set carries an event identifier and an event issuance time point; a sending unit, which is used to send each of the operation events to an image source device, wherein the receiving time point is recorded when the image source device receives the operation event; a determining unit, which is used to determine an event transmission delay of each of the operation events based on the issuance time point and the receiving time point; and a generating unit, which is used to generate an event information set based at least on the event transmission delay and the operation event set.

[0016] Optionally, the information acquisition device also includes: a connection unit, used for the event generating device to establish a connection with the receiving end through a preset port before receiving the operation event set to be tested from the event generating device; and a first sending module, used for controlling the event generating device to send the operation event set to the receiving end according to a preset output rule after receiving the test instruction.

[0017] Optionally, the preset output rule includes at least one of the following: an output time point, a stop output time point, a sequence of output operation events, a number of output operation events, an output frequency, and a duration of output.

[0018] Optionally, the operation event set includes the following types of operation events: keyboard events, mouse events, touch screen events, gesture events, and gravity sensing events.

[0019] Optionally, the generation unit includes: a first determination module, used to determine a pre-set delay threshold, wherein the delay threshold is used to evaluate the stability of the event transmission delay; a first comparison module, used to compare the event transmission delay and the delay threshold to obtain a comparison result; a second determination module, used to determine the number of operation events in the sent operation event set; and a generation module, used to generate the event information set based on the comparison result and the number of operation events.

[0020] Optionally, if there are multiple delay thresholds, the information acquisition device also includes: a third determination module, used to determine the delay threshold interval to which each delay threshold belongs after generating an event information set; a fourth determination module, used to determine the number of operation events in each delay threshold interval and the ratio of all operation events in each delay threshold interval to the total number of events based on the event information set; an analysis module, used to analyze the stability of the target image transmission system based on the number of operation events in each delay threshold interval and the ratio of all operation events in each delay threshold interval to the total number of events.

[0021] Optionally, a monitoring application APP is pre-set on the image source device, wherein the monitoring application APP is used to monitor the time point when the operating system on the image source device receives an operation event.

[0022] According to another aspect of an embodiment of the present invention, there is further provided an electronic device, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above-mentioned information acquisition methods by executing the executable instructions.

[0023] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is further provided, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned information acquisition methods.

[0024] In an embodiment of the present invention, when testing the processing performance of a reverse operation event, a set of operation events to be tested is first received from an event generating device, wherein each operation event in the set of operation events carries an event identifier and an event issuance time point, and each operation event is sent to an image source device, wherein the image source device records the receiving time point when receiving the operation event, determines the event transmission delay of each operation event based on the issuance time point and the receiving time point, and generates an event information set based at least on the event transmission delay and the set of operation events. In this embodiment, multiple operation events can be preset in the event generating device, and after receiving multiple operation events transmitted by the event generating device, the receiving end sends each operation event to the image source device, and generates an event information set of the reverse operation event by comparing the operation event received by the image source device with the operation event output by the generating device. The event information set can reflect the stability and real-time performance of the operation event, can realize test automation operation, and improve the accuracy and stability of the test, thereby solving the technical problem in the related art that manually inputting operation events will affect the accuracy of the test results, resulting in failure to meet the test requirements of the actual processing performance of the reverse operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0025] The drawings described herein are used to provide a further understanding of the present invention and constitute a part of this application. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute an improper limitation of the present invention. In the drawings:

[0026] Figure 1 is a flow chart of an optional information acquisition method according to an embodiment of the present invention;

[0027] Figure 2 is a schematic diagram of an optional image transmission system according to an embodiment of the present invention;

[0028] Figure 3 is a schematic diagram of an optional information acquisition device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0029] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0030] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0031] According to an embodiment of the present invention, multiple operation events and output rules of the operation events can be preset in the event generating device in advance, and the multiple operation events can be output to the receiving end (R end) by the event generating device according to the preset output rules; at the same time, multiple operation events received by the image source device are monitored; by comparing the operation events received by the image source device with the operation events output by the event generating device, an event information set of the reverse operation event is generated, wherein the event information set can reflect the stability and real-time performance of the operation event.

[0032] In the present invention, multiple operation events can be output to the R end through the event generation device, simulating the operation events input by the user at the input device of the R end. Since the operation events output by the event generation device are single and stable, the information acquisition method of the present invention can meet the test requirements for the processing performance comparison of reverse operation events between the same device but different versions, or between the same version but different devices or networks, and the test results are accurate.

[0033] According to an embodiment of the present invention, an information acquisition method embodiment is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0034] An information acquisition method provided by an embodiment of the present invention is applied to a receiving end, where a connection is pre-established between the receiving end and an event generating device, and the receiving end can also be connected to a display and an input device (keyboard, mouse, touch screen).

[0035] Figure 1 is a flowchart of an optional information acquisition method according to an embodiment of the present invention. Figure 1 As shown, the method comprises the following steps:

[0036] Step S102, receiving a set of operation events to be tested from an event generating device, wherein each operation event in the set of operation events carries an event identifier and a time point of event issuance;

[0037] Step S104, sending each operation event to the image source device, wherein the receiving time point is recorded when the image source device receives the operation event;

[0038] Step S106, determining the event transmission delay of each operation event based on the sending time point and the receiving time point;

[0039] Step S108: Generate an event information set based at least on the event transmission delay and the operation event set.

[0040] Through the above steps, when testing the processing performance of the reverse operation event, the operation event set to be tested can be first received from the event generation device, wherein each operation event in the operation event set carries an event identifier and the time point of the event issuance, and each operation event is sent to the image source device, wherein the image source device records the receiving time point when receiving the operation event, and determines the event transmission delay of each operation event based on the issuance time point and the receiving time point, and generates an event information set based at least on the event transmission delay and the operation event set. In this embodiment, multiple operation events can be preset in the event generation device, and after receiving multiple operation events transmitted by the event generation device, the receiving end sends each operation event to the image source device, and generates an event information set of the reverse operation event by comparing the operation event received by the image source device with the operation event output by the generation device. The event information set can reflect the stability and real-time performance of the operation event, can realize test automation operation, and improve the accuracy and stability of the test, thereby solving the technical problem in the related art that manually inputting operation events will affect the accuracy of the test results, resulting in failure to meet the test requirements of the actual processing performance of the reverse operation.

[0041] The image transmission system involved in the embodiment of the present invention may include an image source device, a collection end, a transfer server, a receiving end and an event generating device. Figure 2 is a schematic diagram of an optional image transmission system according to an embodiment of the present invention, such as Figure 2 As shown, in the image transmission system, the image source device, the acquisition end, the transfer server, the receiving end and the event generating device are connected in sequence. The image transmission system is suitable for test scenarios. The event generating device and the receiving end can be connected through a preset port (such as a USB port). The event generating device is a device that can simulate output operation events through the port connected to the receiving end.

[0042] The present invention is described below in conjunction with the above-mentioned various implementation steps.

[0043] Optionally, before receiving the operation event set to be tested from the event generating device, the information acquisition method also includes: the event generating device establishes a connection with the receiving end through a preset port; after receiving the test instruction, the event generating device sends the operation event set to the receiving end according to preset output rules.

[0044] In the embodiment of the present invention, the preset output rule includes at least one of the following: output time point, output stop time point, order of output operation events, number of output operation events, output frequency, and output duration.

[0045] The event generating device determines the preset output rule to be used, and after receiving the start output instruction, outputs the operation event to the connected receiving end (R end), and the operation event carries the event identifier of the operation event (e.g., event) and the time point of issuing the operation event. In the embodiment of the present invention, the time point when the event generating device issues the operation event is the issuing event point of the operation event.

[0046] Step S102: receiving a set of operation events to be tested from an event generating device, wherein each operation event in the set of operation events carries an event identifier and a time point of event issuance.

[0047] Optionally, the operation event set includes the following types of operation events: keyboard events, mouse events, touch screen events, gesture events, and gravity sensing events. Multiple operation events are preset in the event generating device, and the operation events include multiple categories, specifically including keyboard and mouse events, touch screen events, gesture events, gravity sensing events, etc. Each type of operation event may include multiple operation events with different parameter settings. For example, the displacement and sensitivity of mouse events are different; the action amplitude and action direction of gravity sensing events are different.

[0048] The event generation device can not only preset a variety of operation events, but also preset various output rules. The preset output rules include the order of outputting operation events, the number of output operation events, the output frequency, the duration of output, etc. When the event generation device needs to output an operation event, setting the preset output rules can enable the event generation device to output the preset operation event to the receiving end according to the event output rules.

[0049] In an optional implementation, operations can be directly performed on the event generating device to control the output operation event, specifically, control the start of output, control the stop of output, set output rules, etc. A computer can also be connected to the event generating device to control the event generating device through the computer.

[0050] When testing the real-time performance of reverse operation events, the output frequency can be set higher, and the types and quantity of output operation events can be larger, so that when an event occurs, the device can output a larger number and a larger variety of operation events in a short time. If the real-time performance of the processing flow of reverse operation events in the system is defective, system crashes, link congestion and other faults may occur.

[0051] When testing the stability of the reverse operation event, the duration of the output can be set to be longer, so that the device can maintain the output of the reverse operation event for a long time. If there are defects in the stability of the reverse operation event processing flow in the system, the system may crash and the reverse operation event may not be transmitted normally.

[0052] Step S104: Send each operation event to the image source device, wherein the image source device records the receiving time point when receiving the operation event.

[0053] After receiving the operation event from the event generating device, the receiving end may first send the operation event to the collecting end, and then forward the operation event received by the collecting end to the image source device.

[0054] After receiving an operation event, the image source device determines the receiving time point of the operation event; obtains the sending time point of the operation event and the identifier of the operation event from the operation event; and determines the delay of the operation event in the image transmission system based on the receiving time point and the sending time point, and each delay corresponds to an identifier of an operation event.

[0055] Optionally, a monitoring application APP is pre-set on the image source device, wherein the monitoring application APP is used to monitor the time point when the operating system on the image source device receives the operation event. That is, an APP can be preset on the image source device, and the APP can be used to monitor the time point when the operating system on the image source device obtains the operation event, which is recorded as the receiving time point. At the same time, the sending time point of the operation event can also be obtained from the operation event. According to the receiving time point and the sending time point of the operation event, the transmission delay of the operation event in the target image transmission system is determined.

[0056] Step S106: determining the event transmission delay of each operation event based on the sending time point and the receiving time point.

[0057] Step S108: Generate an event information set based at least on the event transmission delay and the operation event set.

[0058] In an embodiment of the present invention, the step of generating an event information set based at least on an event transmission delay and an operation event set includes: determining a preset delay threshold, wherein the delay threshold is used to evaluate the stability of the event transmission delay; comparing the event transmission delay and the delay threshold to obtain a comparison result; determining the number of operation events in the sent operation event set; and generating an event information set based on the comparison result and the number of operation events.

[0059] Optionally, if there are multiple delay thresholds, after generating the event information set, the information acquisition method also includes: determining the delay threshold interval to which each delay threshold belongs; based on the event information set, determining the number of operation events in each delay threshold interval and the ratio of all operation events in each delay threshold interval to the total number of events; based on the number of operation events in each delay threshold interval and the ratio of all operation events in each delay threshold interval to the total number of events, analyzing the stability of the target image transmission system.

[0060] For example, the event information set includes a preset delay threshold, the number of operation events in the event information set that are greater than the delay threshold, and the proportion of these operation events in the total number of operation events.

[0061] Under normal circumstances, the event transmission delay should be less than the preset delay threshold. That is, when the delay is less than or equal to the preset delay threshold, the user experience is good. When a system failure occurs during the test, the delay may increase, or even the image source device may not receive the operation event. In this case, the event transmission delay of the operation event is usually greater than the preset delay threshold. When the delay of the operation event is greater than the preset delay threshold, it can be considered that the system's processing flow for the reverse operation event fails.

[0062] If the total number of events is greater than the number of delays, it means that some operation events are lost and the image source device has not received these operation events. Of course, you can also set multiple delay thresholds and count the number of operation events in each delay threshold interval and the proportion of the total. From these data, you can see the target image transmission system's ability to handle reverse operation events, which includes the stability and real-time performance of the processing flow.

[0063] In the embodiment of the present invention, the event generating device sends out the operation event according to the set output rule, and can perform multiple, identical repeated executions, that is, singleness and stability. Compared with the existing manual input that cannot strictly guarantee the singleness and stability of the operation event, the embodiment of the present invention can test different versions on the same device, or the same version but different devices, or the same version but different networking test requirements, and can use the same output rule for multiple tests based on the information acquisition method of the present invention, and can obtain accurate test results.

[0064] Figure 3 is a schematic diagram of an optional information acquisition device according to an embodiment of the present invention, which is applied to a receiving end, and the receiving end pre-establishes a connection with an event-generating device, such as Figure 3 As shown, the information acquisition device includes: a receiving unit 31, a sending unit 33, a determining unit 35, and a generating unit 37, wherein:

[0065] The receiving unit 31 is used to receive a set of operation events to be tested from an event generating device, wherein each operation event in the set of operation events carries an event identifier and a time point of event issuance;

[0066] The sending unit 33 is used to send each operation event to the image source device, wherein the image source device records the receiving time point when receiving the operation event;

[0067] A determination unit 35, configured to determine an event transmission delay of each operation event based on a sending time point and a receiving time point;

[0068] The generating unit 37 is configured to generate an event information set based at least on the event transmission delay and the operation event set.

[0069] The above-mentioned information acquisition device can, when testing the processing performance of the reverse operation event, first receive the operation event set to be tested from the event generating device through the receiving unit 31, wherein each operation event in the operation event set carries an event identifier and the event issuance time point, and send each operation event to the image source device through the sending unit 33, wherein the receiving time point is recorded when the image source device receives the operation event, and determine the event transmission delay of each operation event based on the issuance time point and the receiving time point through the determination unit 35, and generate an event information set based on at least the event transmission delay and the operation event set through the generation unit 37. In this embodiment, multiple operation events can be preset in the event generating device. After receiving the multiple operation events transmitted by the event generating device, the receiving end sends each operation event to the image source device. By comparing the operation event received by the image source device with the operation event output by the generating device, an event information set of the reverse operation event is generated. The event information set can reflect the stability and real-time performance of the operation event, realize test automation operation, and improve the accuracy and stability of the test, thereby solving the technical problem in the related technology that manually inputting operation events will affect the accuracy of the test results, resulting in the inability to meet the test requirements of the actual processing performance of the reverse operation.

[0070] Optionally, the information acquisition device also includes: a connection unit, which is used for the event generating device to establish a connection with the receiving end through a preset port before receiving the operation event set to be tested from the event generating device; and a first sending module, which is used to control the event generating device to send the operation event set to the receiving end according to preset output rules after receiving the test instruction.

[0071] Optionally, the preset output rule includes at least one of the following: an output time point, a stop output time point, a sequence of output operation events, a number of output operation events, an output frequency, and a duration of output.

[0072] Alternatively, the operation event set includes the following types of operation events: keyboard events, mouse events, touch screen events, gesture events, and gravity sensing events.

[0073] In an embodiment of the present invention, the generation unit includes: a first determination module, used to determine a pre-set delay threshold, wherein the delay threshold is used to evaluate the stability of the event transmission delay; a first comparison module, used to compare the event transmission delay and the delay threshold to obtain a comparison result; a second determination module, used to determine the number of operation events in the sent operation event set; and a generation module, used to generate an event information set based on the comparison result and the number of operation events.

[0074] Optionally, if there are multiple delay thresholds, the information acquisition device also includes: a third determination module, used to determine the delay threshold interval to which each delay threshold belongs after generating an event information set; a fourth determination module, used to determine the number of operation events in each delay threshold interval and the ratio of all operation events in each delay threshold interval to the total number of events based on the event information set; an analysis module, used to analyze the stability of the target image transmission system based on the number of operation events in each delay threshold interval and the ratio of all operation events in each delay threshold interval to the total number of events.

[0075] Optionally, a monitoring application APP is pre-set on the image source device, wherein the monitoring application APP is used to monitor the time point when the operating system on the image source device receives the operation event.

[0076] The above-mentioned information acquisition device may also include a processor and a memory. The above-mentioned receiving unit 31, sending unit 33, determination unit 35, generation unit 37, etc. are all stored in the memory as program units, and the processor executes the above-mentioned program units stored in the memory to realize corresponding functions.

[0077] The processor includes a kernel, which retrieves the corresponding program unit from the memory. The kernel can be set to one or more kernels, and generates an event information set based on at least the event transmission delay and the operation event set by adjusting kernel parameters.

[0078] The above-mentioned memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one storage chip.

[0079] According to another aspect of an embodiment of the present invention, there is also provided an electronic device, including: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute any one of the above-mentioned information acquisition methods by executing the executable instructions.

[0080] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium including a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute any one of the above-mentioned information acquisition methods.

[0081] The present application also provides a computer program product, which, when executed on a data processing device, is suitable for executing a program that initializes the following method steps: receiving a set of operation events to be tested from an event generating device, wherein each operation event in the operation event set carries an event identifier and an event issuance time point; sending each operation event to an image source device, wherein the reception time point is recorded when the image source device receives the operation event; determining an event transmission delay of each operation event based on the issuance time point and the reception time point; and generating an event information set based at least on the event transmission delay and the operation event set.

[0082] The serial numbers of the above embodiments of the present invention are only for description and do not represent the advantages or disadvantages of the embodiments.

[0083] In the above embodiments of the present invention, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0084] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. Among them, the device embodiments described above are only schematic. For example, the division of the units can be a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of units or modules, which can be electrical or other forms.

[0085] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple units. Some or all of the units may be selected according to actual needs to achieve the purpose of the present embodiment.

[0086] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0087] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.

[0088] The above is only a preferred embodiment of the present invention. It should be pointed out that for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.

Claims

1. A method for obtaining information, It is characterized in that Applied to a receiving end, the receiving end is pre-connected with an event generating device, a plurality of operation events and preset output rules of the operation events are preset in the event generating device, the event generating device simulates the operation events input by the user at the input device of the receiving end, and outputs a plurality of reverse operation events to the receiving end according to the preset output rules, the information acquisition method comprises: Receiving a set of operation events to be tested from the event generating device, wherein each operation event in the set of operation events carries an event identifier and a time point of event issuance; Sending each of the operation events to the image source device, wherein the image source device records a receiving time point when receiving the operation event, and obtains the issuing time point of the operation event and an identifier of the operation event from the operation event; Based on the sending time point and the receiving time point, determining an event transmission delay of each of the operation events, each of the event transmission delays corresponds to an identifier of the operation event; Generating an event information set based at least on the event transmission delay and the operation event set, including: Determine a preset delay threshold, wherein the delay threshold is used to evaluate the stability of the event transmission delay; compare the event transmission delay and the delay threshold to obtain a comparison result; determine the number of operation events in the sent operation event set; and generate the event information set based on the comparison result and the number of operation events.

2. The information acquisition method according to claim 1, It is characterized in that Before receiving the set of operation events to be tested from the event generating device, the information acquisition method further includes: The event generating device establishes a connection with the receiving end via a preset port; After receiving the test instruction, the event generating device sends an operation event set to the receiving end according to a preset output rule.

3. The information acquisition method according to claim 2, It is characterized in that The preset output rule includes at least one of the following: output time point, output stop time point, order of output operation events, number of output operation events, output frequency, and output duration.

4. The information acquisition method according to any one of claims 1 to 3, It is characterized in that The operation event set includes the following types of operation events: keyboard events, mouse events, touch screen events, gesture events, and gravity sensing events.

5. The information acquisition method according to claim 1, It is characterized in that If there are multiple delay thresholds, after generating the event information set, the information acquisition method further includes: Determine the delay threshold interval to which each delay threshold belongs; Based on the event information set, determine the number of operation events in each delay threshold interval and the ratio of all operation events in each delay threshold interval to the total number of events; Based on the number of operation events in each delay threshold interval and the ratio of all operation events in each delay threshold interval to the total number of events, the stability of the target image transmission system is analyzed.

6. The information acquisition method according to claim 1, It is characterized in that A monitoring application APP is pre-set on the image source device, wherein the monitoring application APP is used to monitor a receiving time point when an operating system on the image source device receives an operation event.

7. An information acquisition device, It is characterized in that Applied to a receiving end, the receiving end is pre-connected with an event generating device, a plurality of operation events and preset output rules of the operation events are preset in the event generating device, the operation event input by the user at the input device of the receiving end is simulated by the event generating device, and a plurality of reverse operation events are output to the receiving end according to the preset output rules, the information acquisition device comprises: A receiving unit, configured to receive a set of operation events to be tested from the event generating device, wherein each operation event in the set of operation events carries an event identifier and a time point of event issuance; A sending unit, configured to send each of the operation events to an image source device, wherein when the image source device receives the operation event, a receiving time point is recorded, and an issuing time point of the operation event and an identifier of the operation event are obtained from the operation event; A determining unit, configured to determine an event transmission delay of each of the operation events based on the sending time point and the receiving time point, wherein each of the event transmission delays corresponds to an identifier of the operation event; A generating unit, used to generate an event information set based at least on the event transmission delay and the operation event set, wherein the generating unit comprises: a first determining module, used to determine a preset delay threshold, wherein the delay threshold is used to evaluate the stability of the event transmission delay; a first comparing module, used to compare the event transmission delay and the delay threshold to obtain a comparison result; a second determining module, used to determine the number of operation events in the sent operation event set; and a generating module, used to generate the event information set based on the comparison result and the number of operation events.

8. An electronic device, It is characterized in that include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to execute the information acquisition method according to any one of claims 1 to 6 by executing the executable instructions.

9. A computer-readable storage medium, It is characterized in that The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the information acquisition method according to any one of claims 1 to 6.