A method, apparatus, device, and medium for detecting a calling end

By automatically completing the end-calling detection process on the detection platform using the control end and the robot arm, the inefficiency and accuracy problems caused by manual participation in the existing technology are solved, and efficient and accurate end-calling detection is achieved.

CN119155202BActive Publication Date: 2025-07-01ALIPAY (HANGZHOU) INFORMATION TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411607342.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-12
Publication Date
2025-07-01
Estimated Expiration
2044-11-12

AI Technical Summary

Technical Problem

In the prior art, the end-to-end detection process requires a lot of manual participation, resulting in inefficiency. Due to the instability of manual operations, the end-to-end success rate and accuracy are difficult to guarantee.

Method used

By using the control end and the robot arm on the detection platform, the robot arm is controlled to move the first device to the recognition range of the second device, collect page information of the call-up device, and generate a detection report based on this, and automatically complete the call-up detection process.

Benefits of technology

No large amount of manual participation is required, which improves the efficiency and accuracy of end-calling detection and can conduct end-calling detection efficiently and accurately.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119155202B_ABST
    Figure CN119155202B_ABST
Patent Text Reader

Abstract

An embodiment of this specification discloses a method, apparatus, device, and medium for detecting a calling end. This solution can be applied to a detection platform, which at least includes a control end and a robotic arm connected to the control end. This solution may include: the control end controls the robotic arm carrying the first device to move the first device to a range where the first device can identify with the second device; one of the first device and the second device is a calling end device, and the other is a called end device, and the calling end device is used to call the called end device; the control end collects page information of the called end device; the control end generates a detection report for detecting whether the called end device is called based on the page information.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a method, device, equipment and medium for detecting a calling end. Background Art

[0002] With the continuous development of computer technology, users can use different communication methods through mobile terminals to communicate to meet business needs, such as using near-field communication to complete payment, take public transportation, etc.; using Bluetooth communication to complete data transmission, payment, etc.; using scanning code image communication methods to complete payment, obtain data information, etc. In the process of communicating using different communication methods, it is necessary to call the terminal to realize the corresponding function.

[0003] Therefore, how to perform call detection efficiently and accurately is a technical problem that needs to be solved urgently. Summary of the invention

[0004] The embodiments of this specification provide a method, device, equipment and medium for detecting a calling terminal, so as to perform calling terminal detection efficiently and accurately.

[0005] To solve the above technical problems, the embodiments of this specification are implemented as follows:

[0006] The embodiment of this specification provides a method for detecting a calling terminal, the method is applied to a detection platform, the detection platform at least includes a control terminal and a mechanical arm connected to the control terminal; the method includes:

[0007] The control end controls the mechanical arm carrying the first device to move the first device to a range where the first device can be identified with the second device; one of the first device and the second device is a calling device, and the other is a called device, and the calling device is used to call up the called device;

[0008] The control end collects page information of the called end device;

[0009] The control end generates a detection report for detecting whether the called end device is woken up based on the page information.

[0010] The embodiment of the present specification provides a device for detecting a call end, the device is applied to a detection platform, the detection platform at least includes a control end and a mechanical arm connected to the control end; the device includes:

[0011] A mobile module, configured to control the robotic arm carrying the first device to move the first device to a range where the first device can identify with the second device; one of the first device and the second device is a calling device, and the other is a called device, and the calling device is used to call the called device;

[0012] An information acquisition module, configured to acquire the page information of the called device;

[0013] A report generation module, configured to generate a detection report for detecting whether the called device is called based on the page information.

[0014] An embodiment of the present specification provides a device for detecting a calling end, including:

[0015] At least one processor; and,

[0016] A memory communicatively connected to the at least one processor; wherein,

[0017] The memory stores instructions executable by the at least one processor, and when the instructions are executed by the at least one processor, the at least one processor is enabled to:

[0018] Control the robotic arm carrying the first device to move the first device to a range where the first device can identify with the second device; one of the first device and the second device is a calling device, and the other is a called device, and the calling device is used to call the called device;

[0019] Acquire the page information of the called device;

[0020] Generate a detection report for detecting whether the called device is called based on the page information.

[0021] A computer-readable medium provided by an embodiment of the present specification, on which computer-readable instructions are stored, and the computer-readable instructions can be executed by a processor to implement a method for detecting a calling end.

[0022] At least one embodiment of the present specification can achieve the following beneficial effects: The control end of the detection platform can control the robotic arm carrying the first device to move the first device to a range where the first device can identify with the second device, and can also acquire the page information of the first device and the second device as the called device, and generate a detection report for detecting whether the called device is called based on the page information. Therefore, without excessive manual participation, the detection efficiency can be improved. On the other hand, by controlling the robotic arm, the first device can be moved efficiently and accurately for calling end detection, improving the accuracy of calling end detection. Brief Description of the Drawings

[0023] To more clearly illustrate the technical solutions in the embodiments of this specification or the prior art, the following will briefly introduce the accompanying drawings required for use in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only some embodiments recorded in this application. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained based on these drawings.

[0024] Figure 1 It is a schematic diagram of an application scenario of a method for detecting a calling end provided by an embodiment of this specification;

[0025] Figure 2 It is a schematic flowchart of a method for detecting a calling end provided by an embodiment of this specification;

[0026] Figure 3 It is a swimlane diagram of a method for detecting a calling end provided by an embodiment of this specification;

[0027] Figure 4 It is a schematic structural diagram of a device for detecting a calling end provided by an embodiment of this specification;

[0028] Figure 5 It is a schematic structural diagram of a device for detecting a calling end provided by an embodiment of this specification. Detailed implementation manners

[0029] To make the objectives, technical solutions, and advantages of one or more embodiments of this specification clearer, the following will clearly and completely describe the technical solutions of one or more embodiments of this specification in conjunction with the specific embodiments of this specification and the corresponding accompanying drawings. Obviously, the described embodiments are only some embodiments of this specification, rather than all embodiments. Based on the embodiments in this specification, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope protected by one or more embodiments of this specification.

[0030] To facilitate the understanding of the embodiments of this specification, some terms are now explained.

[0031] Control end: Refers to the terminal for running automated tests, such as a computer, a central control device, etc. It is responsible for controlling the execution end to execute test tasks, can also collect test data, and can upload the test data to a report platform for generating test reports. In practical applications, the control end and the report platform can be the same device or different devices, or the control end and the report platform can belong to the server ends in a server cluster.

[0032] Execution end: Refers to the terminal for executing test tasks, specifically including a robotic arm and a first device. The robotic arm can hold the first device and perform various actions.

[0033] Device end: It refers to the other end corresponding to the execution end and used to complete the call end detection. Specifically, it may include a second device that cooperates with the first device to perform call end detection.

[0034] Among them, the first device or the second device may be a device with short - distance communication function, such as a device with NFC function, a device with Bluetooth function, a device with ZigBee function. It includes but is not limited to payment devices based on near - field communication, NFC access control devices, NFC cards that can simulate various scenarios, single - chip microcomputers (MCUs) in various business scenarios, such as MCU units of devices that process business through NFC in various devices like turnstiles, self - service vending machines, self - service checkout machines, and devices with Bluetooth function, etc.

[0035] The first device or the second device may also be a device with shooting or scanning function, such as a terminal device with an image acquisition component, etc. The first device or the second device may also be a device carrying a coded image, which can be an electronic device or a non - electronic device in the form of a card, etc.

[0036] Reporting platform: It refers to the platform for collecting information. In practical applications, the creation, execution, and report display of device - capability automation tasks can all be completed on this platform.

[0037] In the prior art, in order to detect the call end capability, usually a person holds the mobile phone end to contact or approach the corresponding device to complete the call end test. The call end test process consumes too much labor. On the other hand, when the user uses the mobile phone end to identify with the target device to call the end, the relative position, angle, contact time, etc. between the mobile phone end and the target device are different, which will cause instability of quality indicators such as call end success rate. And when using different variables to test the call end in the way of manual testing, the person holding the mobile phone end cannot accurately control the variables, making the test results inaccurate.

[0038] The following will, in conjunction with the accompanying drawings, elaborate on the technical solutions provided by each embodiment of this specification.

[0039] To solve the defects in the prior art, the following embodiments are given in this solution:

[0040] Figure 1 It is a schematic diagram of the application scenario of a method for detecting call end in the embodiments of this specification. As Figure 1As shown, the solution may include a control end 1, an execution end 2, and a device end 3. Among them, the first device can be used as the device to be called, and the second device can be used as the calling device. Alternatively, the first device can be used as the calling device, and the second device can be used as the device to be called. The execution end 2 may include a robotic arm and a first device; the device end 3 may include one or more second devices. The control end 1 can control the execution end 2 to approach or contact the device end 3, so that the first device in the execution end 2 is within the recognition range of the device end 3. The first device executes the calling process based on the interaction with the device end 3. The control end 1 can also obtain the display page of the device to be called and generate a detection report.

[0041] In practical applications, to facilitate the calling test by testers, communication can also be carried out between the operation end and the control end, so that the operation end can control the control end to execute the test process. The operation end can be located outside the detection platform, at a place convenient for testers to operate, such as an office desk, a control room, etc. The operation end can be a device such as a computer or an operation platform that can control the control end. The tester can remotely control the control end through the operation end, so that the control end can control the robotic arm to move, so as to move the first device to within the range where it can be recognized by the second device, and complete the calling test.

[0042] Next, a method for detecting a calling end provided in the embodiments of the specification will be specifically described in conjunction with the accompanying drawings.

[0043] Figure 2 It is a schematic flowchart of a method for detecting a calling end provided in the embodiments of this specification. From a program perspective, the execution subject of the process can be a program carried on the detection platform. From a hardware perspective, the execution subject of the process can be a detection platform for detecting a calling end. The detection platform can at least include a control end and a robotic arm connected to the control end.

[0044] As Figure 2 shown, the process may include the following steps.

[0045] Step 202: The control end controls the robotic arm carrying the first device to move the first device to within the range where the first device can be recognized by the second device; one of the first device and the second device is a calling device, and the other is a device to be called. The calling device is used to call the device to be called.

[0046] In practical applications, the first device can be the calling device, and the second device can be the called device; or the first device can be the called device, and the second device can be the calling device. This can be set according to actual needs. In the embodiments of this specification, the control device can be a device such as a computer, a console, a server cluster, etc. In practical applications, if the first device carried by the robotic arm is a mobile terminal, such as a smart phone, a wearable device, a tablet, etc.; the second device can be a device capable of interacting with the first device, such as various bus cards, POS machines, ordering signs, simulation cards for simulating container devices, devices with code images, Bluetooth devices, etc. If the second device can be a mobile terminal, such as a smart phone, a wearable device, a tablet, etc.; then the first device grabbed by the robotic arm is a device capable of interacting with the second device, such as various bus cards, POS machines, ordering signs, simulation cards for simulating container devices, device cards with code images, Bluetooth devices, etc. The specific types of the first device and the second device are not specifically limited here and can be set based on actual test requirements. It can be understood that a device can represent the general term for production materials and material resources that can be used by users for a long time in production and basically maintain their original physical forms and functions during repeated use. A device can be an item used to complete a specific function or task, such as an electronic device in the form of a computer, a mobile terminal, etc., or a non-electronic device in the form of a card, etc. The code image can be a code image in the form of a one-dimensional code, a two-dimensional code, a three-dimensional code, etc.

[0047] The robotic arm can be a multi-axis robotic arm, also known as a robot manipulator, and can have components such as claws for fixing items, magnetic suction cups, pressure-sensitive tapes, pneumatic suction cups, etc., and can drive the device to move flexibly in all directions. The multi-axis robotic arm can be a six-axis robotic arm, a seven-axis robotic arm, a five-axis robotic arm, etc.

[0048] Among them, the calling end can represent waking up the called device or invoking the target application for processing services in the called device. The target application can be an APP, a mini-program, a browser page, an H5 page, and so on. Any event that can cause the relevant page of the service to be processed to be displayed in the called device can be called a calling-end event.

[0049] In the embodiments of this specification, the first device or the second device can carry calling-end information for invoking the called party. The calling-end information can include at least one of short-range communication information, image information, audio information, and temperature information.

[0050] Short-distance communication information can be data or information transmitted between two or more devices through short-distance communication technologies to complete the calling of the terminal. Short-distance communication technologies can include NFC communication technology, Bluetooth communication technology, UWB ultra-wideband technology, ZigBee communication technology, and so on. Short-distance communication information can include NFC tag information, Bluetooth tag information, UWB tag information, ZigBee tag information, and other short-distance communication information. In practical applications, short-distance communication information can be information in the form of a link, such as URL, HTML, and other link information; it can also be other forms of string information, such as JavaScript functions, redirects, and other string information.

[0051] Image information can be image data of the terminal that can be recognized through face-to-face communication, such as one-dimensional code, two-dimensional code, three-dimensional code, art code, and other code image information.

[0052] Audio information can be voice information of the terminal completed through specific voices. Such as specific voices for waking up the mobile phone assistant, voice information for waking up the terminal applications in the terminal, and so on.

[0053] Temperature information can be temperature information of the terminal completed through a specific temperature. For example, waking up the terminal through temperature, so that the terminal changes from the screen-off state to the screen-on state, which can be used to detect whether the terminal can normally sense temperature and wake up the terminal through the sensed temperature.

[0054] The above range for recognition can represent the range capable of short-distance communication, the range capable of collecting images, the range capable of recognizing audio, or the range capable of recognizing temperature, and so on. It can be set according to the actual requirements of terminal calling tests.

[0055] As an implementation method, if the terminal information is short-distance communication information. Assume that the second device is the calling device and has the terminal information, and the first device is the called device. The first device can obtain the terminal information from the second device through short-distance communication, and then the first device can trigger the execution of the calling process to wake up the target application in the first device. As another implementation method, assume that the second device is the calling device and the first device is the called device and has the terminal information. The second device can obtain the terminal information from the first device through short-distance communication, and the second device can interact with the server of the target application based on the terminal information, so that the first device executes the calling process to wake up the target application in the first device.

[0056] As an implementation manner, if the calling-end information is image information, such as a code image. The second device is the calling-end device and has the calling-end information, and the first device is the called-end device. The control end can control the first device and the second device to perform face-to-face communication to complete the calling-end detection. Specifically, it can be to control the first device to turn on the camera to scan or capture the code image on the second device, and then the calling-end information can be obtained from the second device. The first device can execute the calling-end process based on the calling-end information to evoke the target application in the first device.

[0057] As an implementation manner, if the calling-end information is audio information, such as specified voice information, the second device is the calling-end device and has the calling-end information, and the first device is the called-end device. The second device can model the preset audio so that the first device can obtain the audio information as the calling-end information from the second device, and then execute the calling-end process to evoke the target application in the first device. If the calling-end information is temperature information, the second device can model the preset temperature corresponding to the temperature information to complete the calling-end event with the first device.

[0058] In practical applications, the first device can also be used as the calling-end device, and the second device can be used as the called-end device. The corresponding calling-end methods can be implemented based on at least one of the above implementation manners, which will not be listed one by one here.

[0059] The short-distance communication information in the embodiments of this specification can include the communication information required for communication methods such as NFC, Bluetooth, WI-FI, Zigbee, and ultra-wideband. When testing the calling-end through short-distance communication, the short-distance communication range for short-distance communication can be determined based on the corresponding communication method. Specifically, it can be determined based on expert experience or historical data, or can be set by the service provider of the target application according to actual business requirements, and no specific limitation is made here.

[0060] Step 204: The control end collects the page information of the called-end device.

[0061] In the embodiments of this specification, the page of the called-end device can be a page representing the short-distance communication result information, or a page corresponding to the result information of the scanned image, or a final result page evoked based on the preset temperature or preset audio; it can also be one or more calling-end pages displayed during the process of evoking the target application, and no specific limitation is made here.

[0062] In the embodiments of this specification, the page information collected by the control end can include the page information displayed by the called-end device before the calling-end test; it can also include the page information displayed by the called-end device during the calling-end process; it can also represent the page displayed by the called-end device after the calling-end test.

[0063] In practical applications, if the calling end information is short-range communication information, the page of the called end device may include the page of the called end device after the first device is within the short-range communication range of the second device; it may also include the page of the called end device before the first device is within the short-range communication range of the second device; it may also include the page of the called end device when the first device is far from the second device and outside the short-range communication range of the second device. The page information of the called end device may also include the page of the called end device before the first device and the second device establish a communication connection; it may also include the page of the called end device during the process of the first device and the second device establishing communication; it may also include the page of the called end device after the first device and the second device establish communication. The timing of starting to collect the page can be set according to actual needs, and the specific timing of collecting the page is not specifically limited here.

[0064] As an implementation manner, in the embodiments of this specification, the control end may only collect the page information displayed by the first device to verify the calling end capability of the first device.

[0065] As an implementation manner, the control end may also collect the page information displayed in the calling end device. For example, the page information displayed in the calling end device before, during, or after the calling end test can be used to verify the communication capability or the calling end capability of the calling end device. Specifically, the control end may collect both the page information displayed in the called end device and the page information displayed in the calling end device.

[0066] As another implementation manner, the control end may also only collect the page information displayed in the calling end device.

[0067] In practical applications, a communication connection may be established between the control end and the called end device so that the control end can monitor the page information displayed by the called end device. For example, by enabling the developer mode in the called end device, the control end can obtain the page information displayed by the called end device as a developer. In practical applications, an external image acquisition device may also be used to collect the page information displayed in the called end device. For example, a camera can be set on the first device or at other positions where the page information displayed in the first device can be collected. Some plugins or programs that can obtain page information can also be loaded in the called end device so that the control end can obtain the page information displayed in the called end device. In practical applications, if the control end has a display screen, the display screen of the control end can synchronously or with a small delay display the page information displayed in the called end device.

[0068] If it is necessary to collect the page information displayed by the called device, a communication connection can be established between the control device and the called device so that the control device can monitor the page information displayed by the called device. For example, the called device can be in the developer mode, and the control device can obtain the page information displayed by the called device in the identity of a developer. It is also possible to use an external image acquisition device to collect the page information displayed in the called device. For example, a camera can be set on the called device or at other positions where the page information displayed in the called device can be collected. It is also possible to load some plugins or programs capable of obtaining page information in the called device so that the control device can obtain the page information displayed in the called device. In practical applications, if the control device has a display screen, the display screen of the control device can display the page displayed in the called device synchronously or with a small delay.

[0069] In practical applications, the page displayed by the called device can include the page displayed by the called device after the first device is within the short-distance communication range of the second device; it can also include the page displayed by the called device before the first device is within the short-distance communication range of the second device; it can also include the page displayed by the called device when the first device is moved away from the second device so that the first device is outside the short-distance communication range of the second device. The page displayed by the second device can also include the page displayed by the called device before the first device and the second device establish a communication connection; it can also include the page displayed by the called device during the process of establishing communication between the first device and the second device; it can also include the page displayed by the called device after the first device and the second device establish communication. The timing of starting to collect the page can be set according to actual needs.

[0070] Step 206: The control device generates a detection report based on the page information for detecting whether the called device is awakened.

[0071] In the embodiments of this specification, if the control device has the function of generating a detection report, the control device can generate a detection report based on the collected page information. If the control device does not have the function of generating a detection report, the control device can send the collected page information to a report platform for generating a detection report, and the report platform generates a detection report based on the received page information. The specific generation method of the detection report can be determined according to the actual situation and is not specifically limited here.

[0072] In the embodiments of this specification, the awakening of the called device can mean awakening the target application corresponding to the calling information in the called device; or it can also mean waking up the called device from the screen-off state to the screen-on state and other various awakening situations. The specific calling situation can be determined based on the set calling information and will not be listed one by one here.

[0073] The detection report in the embodiments of this specification may include one or more of the device information of the first device, the device information of the second device, the detection conditions, and the detection results. The device information of the first device may include at least one of the brand, model, resolution, system version, target application version, etc. of the first device. The device information of the second device may include at least one of the model, brand, resolution, system version, etc. of the second device. The detection conditions may represent the conditions set during the detection, such as the distance between the first device and the second device, the communication duration, etc.

[0074] In the embodiments of this specification, the control end can detect the situation where the calling end needs to be called during the process of completing some business items. The business items can specifically be business items related to NFC, such as at least one of payment-related services based on near-field communication, NFC cabinets, NFC ordering, NFC membership login or payment, etc.; they can also be business items related to travel completed through short-range communication, such as public transportation cards, subway cards, train tickets, airplane tickets, etc.; they can also be business items for obtaining the right to use items through short-range communication, such as the use or rental of sports tools. The business items can specifically also be business items related to code scanning and recognition, such as services performed by scanning code images such as payment codes, collection codes, ticket electronic codes, product codes, and ride codes. The business items can also be business items related to audio recognition, such as voice calling the end, intelligent voice interaction, etc. The business items can also be business items related to temperature sensing, for example, detection of screen lighting or turning off the screen according to temperature control.

[0075] If the real devices involved in the calling end detection by the control end are large in actual applications, the main modules used to complete communication or call the end in the real devices can be simulated to obtain a simulated card, and the simulated card can be used as the first device or the second device for calling end testing. For example, the second device can be the control unit on the cabinet, and there is no need to use the entire cabinet as the second device.

[0076] It should be understood that the order of some steps in the methods described in one or more embodiments of this specification can be interchanged according to actual needs, or some of the steps can also be omitted or deleted.

[0077] Through Figure 2 the method in, the control end of the detection platform can control the robotic arm carrying the first device to move the first device to a range where the first device and the second device can identify each other, and can also collect the page information indicating the page displayed by the called device in the first device and the second device, and generate a detection report for detecting whether the called device is called based on the page information. Thus, without too much manual participation, the detection efficiency can be improved. On the other hand, by controlling the robotic arm, the first device can be moved efficiently and precisely for calling end detection, improving the accuracy of calling end detection.

[0078] Based on Figure 2 For the method, embodiments of this specification also provide some specific implementation schemes of this method, which are described below.

[0079] Optionally, the method described in the embodiments of this specification may further include:

[0080] The control end controls the robotic arm to keep the first device stay within the range for a preset duration;

[0081] After the preset duration, the control end controls the robotic arm to move the first device away from the second device.

[0082] The preset duration in the embodiments of this specification can be set based on actual test requirements. If it is to detect whether the called device can be called within a specified duration, the preset duration can be set as the specified duration; if it is to detect whether it can be called within a duration less than the specified duration, the preset duration can be set as a duration less than the specified duration. The specified duration can be the duration required for the devices to complete identification, such as the duration required for short - distance communication, the duration required for face - to - face communication, etc. Specifically, the specified duration can be determined based on the historical duration used in historical call - end success events; it can also be determined based on expert experience; it can also be determined based on the service requirement data provided by the service provider of any device that needs to perform identification interaction. For example, based on the service requirement of the target application that the terminal can call the target application within 2 seconds, the above - mentioned specified duration can be the call - end duration required by this service provider.

[0083] Assume the specified duration is 2 seconds. To test whether the first device can be successfully called when the identification duration between the first device and the second device is less than the specified duration, the preset duration can be set to 1 second. The control end can control the robotic arm to keep the first device stay within the identification range of the second device for 1 second, and then the control end can control the robotic arm to move the first device away from the second device.

[0084] In practical applications, when calling the end through short - distance communication, the positional relationship between the first device and the second device may be different due to the operations of different users. To more accurately simulate the situation of real users using the first device and to detect the influence of different orientations on call - end detection, optionally, in the range, the first device and the second device have at least one of the following positional relationships:

[0085] The first device is parallel to the second device;

[0086] There is an included angle between the plane where the first device is located and the plane where the second device is located;

[0087] The distance between the first test point of the first device and the second test point of the second device is equal to a preset distance; the preset distance is a distance at which recognition can be performed; the first device or the second device has one or more test points.

[0088] In the embodiments of this specification, the parallelism between the first device and the second device may indicate that the plane where the first device is located and the plane where the second device is located are in a parallel state. For example, assume that the first device is a mobile phone, a smart watch, or other planar devices with at least one plane, and the second device is a short-distance payment device for payment. The second device also has at least one plane. A plane of the first device and a plane of the second device being parallel to each other may indicate that the first device and the second device are parallel. For example, the plane where the display screen of the first device is located is parallel to the page of the second device that displays a prompt sign for the user to make a payment through short-distance communication; or, the second device is a device carrying a code image, and the plane where the display screen of the first device is located is parallel to the plane where the second device displays the code image.

[0089] In practical applications, if the first device is a mobile phone, the back of the first device can be brought close to the page of the second device that displays a prompt sign for the user to make a payment through short-distance communication. If the first device is a wearable device such as a smart watch, the front of the first device can be brought close to the page of the second device that displays a prompt sign for the user to make a payment through short-distance communication.

[0090] In practical applications, to improve the success rate of short-distance communication, the area where the short-distance communication module is located in the first device and the area where the short-distance communication module is located in the second device can be brought close to each other. The parallelism between the first device and the second device mentioned above can also be expressed as the parallelism between these two areas. For example, the front of the first device is parallel to the operation surface of the second device, or the back of the first device is parallel to the operation surface of the second device.

[0091] In practical applications, to improve the success rate of face-to-face communication between the first device and the second device in the call-end test, the area where the camera is located in the first device and the area where the code image is located in the second device can be brought close to each other so that the two areas are parallel to each other. Or, the voice recognition area of the first device and the voice broadcast area of the second device can be brought close to each other so that the two areas are parallel to each other. It is also possible to completely fit the temperature sensing area of the first device and the temperature simulation area of the second device so that the two areas are parallel to each other.

[0092] In the embodiments of this specification, there may be an included angle between the plane where the first device is located and the plane where the second device is located, and the two planes may be in a non-parallel state. For example, assume that the first device is a planar device such as a mobile phone or a smart watch with at least one plane, and the second device is a short-distance payment device for payment, and the second device also has at least one plane. One plane of the first device and one plane of the second device may intersect, which may indicate that there is an included angle between the plane where the first device is located and the plane where the second device is located, and they are in a non-parallel state. For example, there may be an included angle between the plane where the display screen of the first device is located and the page of the second device that displays a prompt logo for prompting the user to make a payment through short-distance communication. For the method of waking up the device through face-to-face, voice, temperature, etc., the included angle between the plane where the first device is located and the plane where the second device is located can also be made based on the above method, which will not be listed one by one here.

[0093] In practical applications, there may be an included angle between the plane where the first device is located and the plane where the second device is located. Specifically, the first device may tilt in one direction. For example, the first device tilts to the left, to the right, upward, or downward relative to the second device, etc.

[0094] In the embodiments of this specification, the first test point may represent the position point in the first device of a module with communication or recognition functions in the first device, such as a short-distance communication module, an image acquisition module, a temperature sensing recognition module, a voice recognition module, etc. The second test point may represent the position point in the second device of a module with communication or recognition functions in the second device, such as a short-distance communication module, a code image module, a voice broadcast module, a temperature simulation module, etc. The preset distance may represent a specified standard distance for communication or recognition, such as 2 cm, 3 cm, etc.

[0095] In practical applications, it is also possible to test the situation where the first device is not directly facing the second device, such as test scenarios of being offset to the left, to the right, upward, or downward. The first test point of the first device and the second test point of the second device are not directly facing each other, and there is an offset between them, which can be expressed as the projection of the first test point on the second device not coinciding with the second test point. If the first test point of the first device and the second test point of the second device are directly facing each other, the projection of the first test point of the first device on the second device and the second test point may coincide.

[0096] In the embodiments of this specification, multiple test points can be set in the first device. For example, the center point, corner points, etc. of the first device can be used as test points, or the front or back of the first device can be evenly divided into several regions, and the center points of each region can be used as test points. Similarly, the second device can also include multiple test points. For example, the center point, corner points, etc. of the second device can be used as test points, or the front or back of the second device can be evenly divided into several regions, and the center points of each region can be used as test points. The above-mentioned first test point can be at least one of the multiple test points in the first device, and the above-mentioned second test point can be at least one of the multiple test points in the second device.

[0097] In the embodiments of this specification, different test points can be tested. In this way, the first device can be in different positions relative to the second device. Furthermore, when the first device and the second device are in different position states, it can be detected whether the connection can be established, which can improve the integrity of the detection.

[0098] In practical applications, within the short-distance communication range, the control terminal can also use a robotic arm for micro-movement, so that the first device can generate fine movements, which can simulate the state of a real person holding the first device, such as micro-vibrations, etc., thereby improving the effectiveness of the connection establishment test.

[0099] In the embodiments of this specification, the page information collected can include the page information displayed by the first device when the relative positions of the first device and the second device are different. Specifically, multiple position commands can be executed. For example, after the control terminal controls the robotic arm to move the first device to a detection position, the first device is then moved to another detection position. In this way, the control terminal can collect the page information displayed by the first device in different position relationships. The control terminal can also control the robotic arm to move the first device to a detection position, then move the first device back to the initial position, and then move the first device to another detection position. Furthermore, the control terminal can collect the page information of the first device at different positions.

[0100] The generated detection report can include information on the relative positions of the first device and the second device; and / or, it can also include information on the relative positions between the first test point and the second test point; and / or, it can also include test condition information such as the contact duration between the first device and the second device within the short-distance communication range, etc., so as to be able to determine the connection establishment results obtained under different test conditions.

[0101] In practical applications, when a user uses a terminal to interact with service devices such as a payment device or an access control device to process services, the direction in which the user holds the first device close to the second device can be different for different users or at different times. To more accurately detect the calling end capabilities, in the embodiments of this specification, the control end can also control the robotic arm to move the first device closer to the second device from different directions. As an implementation manner, optionally, in the embodiments of this specification, the control end controls the robotic arm carrying the first device to move the first device to a range where the first device and the second device can perform identification, which may specifically include:

[0102] The control end controls the robotic arm to move the first device to the position of the second device in a preset direction, so that the first device is within the range of performing identification with the second device; the preset direction includes any one of a direction perpendicular to the plane where the second device is located and a direction forming a preset angle with the plane.

[0103] When the preset direction is a direction perpendicular to the plane where the second device is located, it may indicate that the first device can approach the second device from above or below the second device.

[0104] For example, assuming that the first device is a mobile phone and the second device is a near-field communication-based payment device, the preset direction being a direction perpendicular to the plane where the second device is located may indicate that the user holds the mobile phone and approaches the near-field communication-based payment device from above the near-field communication-based payment device.

[0105] When the preset direction is a direction forming a preset angle with the plane where the second device is located, it may indicate that the first device can approach the second device from the side of the second device. For example, assuming that the first device is a mobile phone and the second device is a near-field communication-based payment device, the preset direction may be a direction with an angle less than 90 degrees with the plane where the second device is located, which may indicate that the user holds the mobile phone and approaches the near-field communication-based payment device from the side of the near-field communication-based payment device.

[0106] In practical applications, the control end can control the robotic arm to move the first device from the first position to within the short-distance communication range; the first position can represent a position outside the short-distance communication range, and the line connecting the first position and the center point of the short-distance communication range can form a preset angle with the plane where the second device is located, and the angle of this preset angle can be any angle from 0° to 90°. Thus, the calling end situation of the first device can be detected when the first device approaches the second device from different directions.

[0107] In practical applications, the preset direction can also be a direction parallel to the plane where the second device is located, which can indicate that the angle between the line connecting the first position and the center point of the short-distance communication range and the plane where the second device is located is 0°. Specifically, the distance between the plane where the first device is located and the plane where the second device is located can meet the standard distance specified for short-distance communication. The first device can be moved so that the first device and the second device can be within the short-distance communication range. If the preset direction is a direction perpendicular to the plane where the second device is located, specifically, the distance between the plane where the first device is located and the plane where the second device is located is greater than the standard distance specified for short-distance communication. The first device can be moved so that the first device and the second device can be within the short-distance communication range, thereby simulating the movement situation of a real person using the first device for short-distance communication in the above manner and improving the effectiveness of the test.

[0108] In practical applications, if the second device is a code image device, a temperature simulation card, a voice simulation or broadcast card, etc., the above method can also be used for the call-end test, which will not be elaborated here one by one.

[0109] As an implementation manner, optionally, the robotic arm described in the embodiments of the present specification includes a plurality of robotic sub-arms, and the control end controls the robotic arm carrying the first device to move the first device to a range where the first device and the second device can be recognized. Specifically, it may include:

[0110] The control end controls at least one robotic sub-arm of the robotic arm to move to move the first device to a range where it can be recognized with the second device.

[0111] In the embodiments of the present specification, the control end can control each robotic sub-arm to move in a preset direction so that the first device and the second device can be within the recognition range. The movement situation of the control end controlling each robotic sub-arm can be set based on actual test requirements, which will not be elaborated here one by one.

[0112] As an implementation manner, optionally, the detection platform described in the embodiments of the present specification further includes one or more guide rails and a moving component, and the robotic arm is connected to the guide rail through the moving component; the control end controls the robotic arm carrying the first device to move the first device to a range where the first device and the second device can be recognized. Specifically, it may include:

[0113] The control end controls the moving component to move along the guide rail so that the robotic arm connected to the moving component moves to a preset position; the robotic arm at the preset position can make the first device within the recognition range.

[0114] In the embodiments of this specification, the moving component can be a part of the robotic arm; or it can be a component outside the robotic arm that can be detachably connected to the robotic arm. The moving component can enable the robotic arm to move along the guide rail.

[0115] As an implementation manner, the robotic arm can be in a certain fixed state, and the control end can drive the movement of the robotic arm on the guide rail by controlling the moving component, so that the first device and the second device are within the range for identification.

[0116] As another implementation manner, if the second device is within the reach range of the robotic arm, the control end can only control the movement of at least one of the mechanical sub-arms in each mechanical sub-arm of the robotic arm, so that the first device and the second device are within the range for identification.

[0117] As another implementation manner, the control end can make the first device within the range for identification by controlling the movement of the robotic arm and the movement of the moving component. Specifically, the control end can first control the moving component to move along the guide rail so that the robotic arm reaches the specified position, and then control the movement of at least one of the mechanical sub-arms in each mechanical sub-arm of the robotic arm, so that the first device and the second device are within the range for identification. Or, the control end can first control the movement of at least one of the mechanical sub-arms in each mechanical sub-arm of the robotic arm, and then control the moving component to move along the guide rail so that the robotic arm reaches the specified position, so that the first device and the second device are within the range for identification. Or, while the control end controls the movement of at least one of the mechanical sub-arms in each mechanical sub-arm of the robotic arm, it also controls the moving component to move along the guide rail so that the robotic arm reaches the specified position, so that the first device and the second device are within the range for identification. The movement modes of the robotic arm and the guide rail can be determined based on actual test requirements and are not specifically limited here.

[0118] In practical applications, the guide rail can be laid based on test requirements and the movable range of the robotic arm; if the movable range of the robotic arm is small, the guide rail can be laid over a large area to facilitate moving the robotic arm to an appropriate position, and then adjusting the first device to within the range where short-distance communication with the second device can be carried out; if the movable range of the robotic arm is large, a small number of guide rails can be laid to facilitate the use of the robotic arm for call-end testing.

[0119] In practical applications, one guide rail can be laid in the test scenario, which is only used for the robotic arm to move in the front-back direction or left-right direction; or two guide rails can be laid to form a cross, so that the robotic arm can move in the four directions of front, back, left, and right. The detection platform in the embodiments of this specification can include one or more guide rails. Specifically, the number and position of the guide rails can be set based on the movable range of the robotic arm and the relationship with the test equipment.

[0120] To improve the test convenience, as an implementation, optionally, the detection platform described in the embodiments of this specification may further include a device placement component; the device placement component includes one or more device placement areas; the second device is located in the first device placement area of the device placement component.

[0121] In the embodiments of this specification, the device placement component can be used to place the second device. The device placement component can be a shelf-type placement component, which can include one or more layers of placement areas and can place multiple second devices at one time. The device placement component can also be a component for placing one second device, such as a tray, a small detection table, etc.

[0122] The device placement component can also include a unit for fixing the second device, such as a card slot, a pocket, a suction cup, a hook, a placement plane, etc.

[0123] In practical applications, communication lines can be arranged in the device placement component, which can be used to connect to the second device for communicating with the second device or providing power to the second device. In this way, the control end can collect relevant information of the second device, such as the device information of the second device, the page information displayed on the second device, etc. Through the communication line, the control end can also control the update of the information in the second device. For example, after a test is completed using the first device and the second device, the label information in the second device can be cleared and other label information can be re-burned, so as to perform a new calling-end test based on the second device with other label information re-burned and the first device.

[0124] In practical applications, the second device can be an MCU unit, and different calling-end information can be loaded into the second device, so that the second device has different functions. For example, by loading information for ordering food through NFC communication into the second device, the second device can be simulated as an ordering device or an ordering card. Another example is by loading information for taking a bus into the second device, the second device can be simulated as a bus card or a card reader, etc.

[0125] The second device can also be connected to the control end through wireless communication, so that the control end can collect the information of the second device and control the update of the information in the second device through wireless communication.

[0126] Multiple second devices with different or the same functions can also be placed in the device placement component to improve the test efficiency.

[0127] In the embodiments of this specification, a moving component for moving equipment placement component or a guide rail for moving equipment placement component can be provided on the equipment placement component to facilitate placement or recovery of the second device. Specifically, the equipment placement component can be moved to the vicinity of the mechanical arm by the moving component for moving equipment placement component or the guide rail for moving equipment placement component, so that the mechanical arm obtains the second device from the equipment placement component, or places the second device in the equipment placement component.

[0128] In actual applications, the robotic arm can take the first device close to the second device placed on the device placement component to complete the call-end test; or, the robotic arm first takes the second device from the device placement component, places the second device in the test position, and then takes the first device close to the second device to complete the call-end test.

[0129] The device placement component can also be used to place the first device. The robotic arm can take the second device and place it close to the first device placed on the device placement component to complete the call-end test; alternatively, the robotic arm first takes the first device from the device placement component and places the first device close to the pre-placed second device to complete the call-end test. This can be set according to the actual test environment of the layout, and is not specifically limited here.

[0130] In practical applications, in order to improve detection efficiency, multiple devices that can communicate with the first device over a short distance can be placed in the device placement component. As an implementation mode, optionally, the device placement component in the embodiment of this specification also includes a third device located in the second device placement area; the distance between the third device and the second device is greater than or equal to a preset threshold; the method may also include:

[0131] The control end controls the mechanical arm to move the first device to a range within which the first device and the third device can be recognized.

[0132] In the embodiments of this specification, the third device can be a device for testing that has different or the same functions as the second device, such as the second device is a device with tag information burned in for realizing the NFC member login function; the third device can be a device with tag information burned in for realizing the payment function based on near field communication; for example, the same code image can be displayed in the second device and the third device; for example, the same or different audio information can be played in the second device and the third device, etc. The preset threshold can be set based on expert experience; it can also be set based on the ability of the first device and the second device to identify each other. It can be understood that by setting a distance between the third device and the second device that is greater than or equal to the preset threshold, when the call-end function is tested by the third device and the first device, the second device will not affect the test result; when the call-end function is tested by the second device and the first device, the third device will not affect the test result.

[0133] In practical applications, the calling-end test can be performed based on a preset test case, and the control end can perform the calling-end test based on the preset test case. Specifically, the control end can control the movement or stop of the robotic arm by executing the test case and collect the display pages of at least one of the first device and the second device.

[0134] The test case can include information such as a case number, a test purpose, preconditions, test steps, and expected results.

[0135] The case number can be used to represent the number of the test case, and a string can be used as the case number. For example, the case number: TC001.

[0136] The test purpose can be used to represent the purpose of performing the test using the test case. For example, the test purpose: Verify the calling-end function of paying by NFC method.

[0137] The preconditions can be used to represent the preparatory work that needs to be done before the test. For example, the preconditions can include that the user account in the target application has been logged in, the second device is in a normal working state, the robotic arm fixes the first device, and the first device is in the state of being unlocked with the screen on, etc.

[0138] The test steps can be used to represent the steps that need to be completed in sequence when performing the test using the test case.

[0139] For example, the test steps can include at least one of the following steps:

[0140] Step 1: Log in to the target application.

[0141] Step 2: Exit the target application process so that the next time the target application is opened, it is a cold start.

[0142] Step 3: Control the robotic arm to position X.

[0143] Among them, position X can be a series of positions where the robotic arm can move to enable the first device to reach the specified position. Position X can also represent the position where the first device can establish a short-distance communication connection with the second device. Position X can also be other test positions set according to the test requirements.

[0144] Step 4: Control the robotic arm to lower the first device to a preset position so that the distance between the first device and the second device is a preset distance, such as 2 cm.

[0145] Step 5: Detect whether the page displayed on the first device is the payment page.

[0146] It can be understood that the above test steps are only an example, and in practical applications, the test steps can be set according to the actual test tasks.

[0147] The expected result can be used to represent the effect that is hoped to be achieved when executing the test using the test case. For example, the expected result is that the payment page of Alipay is pulled up on the mobile phone side, and there is a payment timeout prompt on the page.

[0148] After setting the preconditions, the control terminal can perform tests according to the test steps, obtain a detection report, and determine whether the current test reaches the expected result based on the detection report. It is possible to use test cases to test the result of the calling terminal when the first device and the second device are within the range of non-short-distance communication, or it is also possible to use test cases to test the calling terminal result of the first device under different scenarios.

[0149] The test types of test cases can include functional testing, UI testing, regression testing, performance testing, etc. Cross-platform testing can be performed using UI automation frameworks such as webdriver and Totoro, and at least one of Junit, TestNG, Mocha, Appium, etc. can be used as a test framework.

[0150] To more clearly illustrate a method for detecting a calling terminal provided in the embodiments of this specification, here, the example of detecting the calling terminal in the manner of short-distance communication is used for illustration. Figure 3 This is a swimlane diagram of a method for detecting a calling terminal provided in the embodiments of this specification. As Figure 3 shown, the solution can include a test preparation stage, a short-distance communication stage, and a test result generation stage. A detection platform can be used for calling terminal detection, and the detection platform can at least include a control terminal and a robotic arm, specifically including:

[0151] Step 302: The control terminal loads the test case.

[0152] The control terminal can obtain the test case from the test case library. The test case can be pre-written by testers; it can also be obtained based on expert experience.

[0153] Step 304: The control terminal detects the state of the first device.

[0154] In the embodiments of this specification, the control terminal can detect the controllable state of the first device. Specifically, it can detect the adb permission of the first device, that is, detect whether the developer options of the first device are enabled; it can also detect the background service of the controlled end of the first device; it can also detect the installation state of the target application; it can also detect the login state of the target application; it can also detect the running state of the first device, etc., which will not be listed one by one here. The control terminal can communicate with the first device or control the first device through wireless communication or wired communication.

[0155] Step 306: The control terminal controls the robotic arm to move to a specified position by executing the test case.

[0156] In the embodiments of this specification, the specified position may represent the test position.

[0157] Specifically, the specified position may be a position where the first device and the second device can establish a short - distance communication connection, and the control terminal can control the robotic arm to move the first device to within the range where it can communicate with the second device in a short - distance manner.

[0158] The specified position may also be a position outside the range of short - distance communication with the second device.

[0159] The specific position information of the specified position can be set according to the requirements of the actual test task.

[0160] In the embodiments of this specification, the detection platform may be provided with a guide rail and a moving component; the control terminal can control the robotic arm to move on the guide rail through the moving component, facilitating the movement to a suitable position so that the first device and the second device are within the range where they can communicate in a short - distance manner. Or the control terminal can also control the movement of the mechanical sub - arm in the robotic arm so that the first device and the second device are within the range where they can communicate in a short - distance manner. Or the control terminal controls the movement of the mechanical sub - arm in the robotic arm and also controls the movement of the robotic arm on the guide rail so that the first device and the second device are within the range where they can communicate in a short - distance manner.

[0161] In the embodiments of this specification, the first device or the second device can be placed in the device placement component; the first device or the second device can be one or more.

[0162] Step 308: The control terminal controls the robotic arm to keep the first device stay within the short - distance communication range for a preset duration.

[0163] Step 310: The second device sends a wake - up terminal message to the first device.

[0164] As an implementation manner, when the first device is within the range of short - distance communication with the second device, the second device can send a wake - up terminal message to the first device.

[0165] Step 312: The first device obtains the wake - up terminal message in the second device through short - distance communication.

[0166] In the embodiments of this specification, the wake - up terminal message may at least include the identification information of the target application.

[0167] Step 314: The first device executes the wake - up terminal process based on the wake - up terminal message and displays the wake - up related page.

[0168] In the embodiments of this specification, the wake - up terminal process may be that the first device starts the target application in the first device based on the identification information of the target application in the wake - up terminal message.

[0169] Step 316: The control end collects the page related to the calling end displayed in the first device.

[0170] Step 318: The control end generates a detection report based on the collected page related to the calling end.

[0171] In the embodiments of this specification, the control end can generate a detection report based on the expected results in the test case and the page related to the calling end. The detection report can include information such as the calling end detection result information, the calling end detection condition information, and the test case information for the calling end detection. In practical applications, the page information of the second device can also be obtained.

[0172] In the embodiments of this specification, the first device can also have calling end information, and the first device or the second device executes the calling end process based on the calling end information of the first device; or other methods such as face-to-face communication, voice recognition, and temperature sensor recognition are used for calling end detection. The specific calling end detection process can refer to the methods in the above embodiments to execute corresponding steps, which will not be elaborated here one by one.

[0173] Through the above method, the control end can control the robotic arm to move the first device so that the first device and the second device are within the range of short-distance communication, completing the calling end test, avoiding the unstable influence brought by the manual test process, and improving the effectiveness and accuracy of the calling end test.

[0174] Based on the same idea, the embodiments of this specification also provide a device corresponding to the above method. Figure 4 It is a schematic structural diagram of a device for detecting the calling end provided by the embodiments of this specification. As Figure 4 shown, the device is applied to a detection platform, and the detection platform at least includes a control end and a robotic arm connected to the control end; the device can include:

[0175] A moving module 402, configured to control the robotic arm carrying the first device to move the first device to a range where the first device and the second device can be recognized; one of the first device and the second device is a calling end device, and the other is a called end device, and the calling end device is used to call the called end device;

[0176] An information collection module 404, configured to collect the page information displayed by the called end device;

[0177] A report generation module 406, configured to generate a detection report for detecting whether the called end device is called based on the page information.

[0178] Based on Figure 4 the device, the embodiments of this specification also provide some specific implementation schemes of the method, which will be described below.

[0179] Optionally, the device can also be used for:

[0180] The control terminal controls the robotic arm to keep the first device stay within the range for a preset duration;

[0181] After the preset duration, the control terminal controls the robotic arm to move the first device away from the second device.

[0182] Optionally, within the range, there is at least one of the following positional relationships between the first device and the second device:

[0183] The first device is parallel to the second device;

[0184] There is an included angle between the plane where the first device is located and the plane where the second device is located;

[0185] The distance between the first test point of the first device and the second test point of the second device is equal to a preset distance; the preset distance is a distance at which recognition can be performed; the first device or the second device has one or more test points.

[0186] Optionally, the moving module can specifically be used for:

[0187] The control terminal controls the robotic arm to move the first device towards the position of the second device in a preset direction, so that the first device is within the range for recognition with the second device; the preset direction includes any one of a direction perpendicular to the plane where the second device is located and a direction forming a preset included angle with the plane.

[0188] Optionally, the robotic arm includes a plurality of robotic sub - arms; the moving module can specifically be used for:

[0189] The control terminal controls at least one robotic sub - arm of the robotic arm to move to move the first device into the range for recognition with the second device.

[0190] Optionally, the detection platform further includes one or more guide rails and moving components, and the robotic arm is connected to the guide rails through the moving components; the moving module can specifically be used for:

[0191] The control terminal controls the moving component to move along the guide rail, so that the robotic arm connected to the moving component moves to a preset position; the robotic arm at the preset position can make the first device be within the range for recognition.

[0192] Optionally, the detection platform further includes a device placement component; the device placement component includes one or more device placement areas; the second device is located in the first device placement area of the device placement component.

[0193] Optionally, the device placement component further includes a third device located in the second device placement area; the distance between the third device and the second device is greater than or equal to a preset threshold; the apparatus can also be used for:

[0194] The control end controls the robotic arm to move the first device to a range where the first device can identify with the third device.

[0195] Optionally, the first device or the second device carries call end information for calling the called end; the call end information includes at least one of short - distance communication information, image information, audio information, and temperature information.

[0196] Optionally, the apparatus can also be used for:

[0197] Collect the page information displayed on the call end device.

[0198] Based on the same idea, the embodiments of this specification also provide a device corresponding to the above - mentioned method.

[0199] Figure 5 It is a schematic structural diagram of a device for detecting a call end provided by the embodiments of this specification. As Figure 5 shown, the device 500 may include:

[0200] At least one processor 510; and,

[0201] A memory 530 communicatively connected to the at least one processor; wherein,

[0202] The memory 530 stores instructions 520 executable by the at least one processor 510, and when the instructions are executed by the at least one processor 510, the at least one processor 510 can:

[0203] Control the robotic arm carrying the first device to move the first device to a range where the first device can identify with the second device; one of the first device and the second device is a call end device, and the other is a called end device, and the call end device is used to call the called end device;

[0204] Collect the page information displayed on the called end device;

[0205] Generate a detection report for detecting whether the called end device is called based on the page information.

[0206] The above device may be a test device for performing call-end testing, and may at least include a control end and a robotic arm.

[0207] Based on the same idea, the embodiments of this specification also provide a computer-readable medium corresponding to the above method. Computer-readable instructions are stored on the computer-readable medium, and the computer-readable instructions can be executed by a processor to implement the above method for detecting a call end.

[0208] Each embodiment in this specification is described in a progressive manner. For the same or similar parts among the embodiments, reference can be made to each other. The key point of each embodiment is to illustrate the differences from other embodiments. In particular, Figure 5 For the device shown, since it is basically similar to the method embodiment, the description is relatively simple. For related parts, reference can be made to the partial description of the method embodiment.

[0209] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data for analysis, stored data, displayed data, etc.) involved in this application are all information and data that have been authorized by the user or fully authorized by all parties. Moreover, the collection, use, and processing of relevant data need to comply with the relevant laws, regulations, and standards in the relevant region, and corresponding operation entrances are provided for users to choose to authorize or refuse.

[0210] In the 1990s, improvements to a technology could be clearly distinguished as either hardware improvements (e.g., improvements to circuit structures such as diodes, transistors, switches, etc.) or software improvements (improvements to method flows). However, with the development of technology, many method flow improvements today can be regarded as direct improvements to hardware circuit structures. Almost all designers obtain the corresponding hardware circuit structure by programming the improved method flow into the hardware circuit. Therefore, it cannot be said that an improvement to a method flow cannot be implemented using a hardware entity module. For example, a Programmable Logic Device (PLD) (such as a Field Programmable Gate Array (FPGA)) is an integrated circuit whose logic function is determined by the user programming the device. Designers can program themselves to "integrate" a digital system onto a single PLD, without having to ask a chip manufacturer to design and fabricate a dedicated integrated circuit chip. Moreover, nowadays, instead of manually fabricating integrated circuit chips, this programming is mostly implemented using "logic compiler" software, which is similar to the software compilers used in program development and writing. The original code before compilation also has to be written in a specific programming language, which is called a Hardware Description Language (HDL). There is not just one type of HDL, but many, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), Confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), Lava, Lola, MyHDL, PALASM, RHDL (Ruby Hardware Description Language), etc. The most commonly used ones currently are VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog. Those skilled in the art should also be aware that by simply performing some logical programming on the method flow using the above-mentioned several hardware description languages and programming it into an integrated circuit, it is easy to obtain the hardware circuit that implements the logical method flow.

[0211] The controller can be implemented in any suitable manner. For example, the controller can take the form of, for example, a microprocessor or a processor and a computer-readable medium storing computer-readable program code (such as software or firmware) executable by the (micro)processor, logic gates, switches, an application specific integrated circuit (ASIC), a programmable logic controller, and an embedded microcontroller. Examples of the controller include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320. The memory controller can also be implemented as part of the control logic of the memory. Those skilled in the art also know that in addition to implementing the controller in the form of pure computer-readable program code, it is entirely possible to logically program the method steps to enable the controller to be implemented in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc. to achieve the same function. Therefore, such a controller can be considered a hardware component, and the devices included therein for implementing various functions can also be regarded as the structures within the hardware component. Or even, the devices for implementing various functions can be regarded as either software modules for implementing the method or structures within the hardware component.

[0212] The systems, devices, modules, or units illustrated in the above embodiments can be specifically implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer. Specifically, the computer can be, for example, a personal computer, a laptop computer, a cellular phone, a camera phone, a smart phone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or any combination of these devices.

[0213] For the convenience of description, when describing the above devices, they are described separately as various units according to their functions. Of course, when implementing the present application, the functions of each unit can be implemented in the same or multiple software and / or hardware.

[0214] Those skilled in the art should understand that the embodiments of the present invention can be provided as a method, a system, or a computer program product. Therefore, the present invention can take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present invention can take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk memories, CD-ROMs, optical memories, etc.) containing computer-usable program code.

[0215] The present invention is described with reference to flowchart illustrations and / or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It should be understood that each flow and / or block of the flowchart illustrations and / or block diagrams, and combinations of flows and / or blocks in the flowchart illustrations and / or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions executed by the processor of the computer or other programmable data processing apparatus create means for implementing the functions specified in the flowchart flow or flows and / or block or blocks. Figure 1 in a flow or flows and / or block or blocks Figure 1 or blocks.

[0216] These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means that implement the functions specified in the flowchart flow or flows and / or block or blocks. Figure 1 in a flow or flows and / or block or blocks Figure 1 or blocks.

[0217] These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer-implemented process, such that the instructions executed on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and / or block or blocks. Figure 1 in a flow or flows and / or block or blocks Figure 1 or blocks.

[0218] In a typical configuration, a computing device includes one or more processors (CPUs), an input / output interface, a network interface, and memory.

[0219] The memory may include non-permanent memory in the form of computer-readable media, random access memory (RAM), and / or non-volatile memory such as read only memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.

[0220] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined in this article, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0221] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0222] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems or computer program products. Therefore, the present application may take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0223] The present application may be described in the general context of computer-executable instructions executed by a computer, such as program modules. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform specific tasks or implement specific abstract data types. The present application may also be practiced in distributed computing environments where tasks are performed by remote processing devices connected through a communication network. In a distributed computing environment, program modules may be located in local and remote computer storage media, including storage devices.

[0224] The above are only embodiments of the present application and are not intended to limit the present application. For those skilled in the art, various changes and modifications can be made to the present application. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included within the scope of the claims of the present application.

Claims

1. A method for detecting a call terminal, the method being applied to a detection platform, the detection platform comprising at least a control terminal and a mechanical arm connected to the control terminal; the method comprising: The control end controls the mechanical arm carrying the first device to move the first device to a range where the first device and the second device can be identified, and controls the mechanical arm to keep the first device within the range for a preset time; The preset duration is set based on actual test requirements; If the purpose is to detect whether the called end device can call the end within a specified time, the preset time is set to the specified time; if the purpose is to detect whether the called end device can call the end within a time shorter than the specified time, the preset time is set to a time shorter than the specified time; the specified time is the time required for the calling end to identify; one of the first device and the second device is the calling end device, and the other is the called end device, and the calling end device is used to call the called end device; The control end collects page information of the called end device; The control end is in communication connection with the called end device, the called end device is in developer mode, and the control end obtains the page information displayed by the called end device as a developer; The control end generates a detection report for detecting whether the called end device is woken up based on the page information.

2. The method according to claim 1, further comprising: The control end controls the robotic arm to keep the first device within the range for a preset time period; After the preset time period, the control end controls the robotic arm to move the first device away from the second device.

3. The method according to claim 1, wherein within the range, the first device and the second device have at least one of the following positional relationships: The first device is parallel to the second device; There is an angle between the plane where the first device is located and the plane where the second device is located; The distance between the first test point of the first device and the second test point of the second device is equal to a preset distance; the preset distance is a distance that can be identified; the first device or the second device has one or more test points.

4. The method according to claim 1, wherein the control end controls the mechanical arm carrying the first device to move the first device to a range within which the first device can be identified with the second device, specifically comprising: The control end controls the robotic arm to move the first device to the position of the second device in a preset direction, so that the first device is within the range for identification with the second device; the preset direction includes any one of a direction perpendicular to the plane where the second device is located and a direction forming a preset angle with the plane.

5. The method according to claim 1, wherein the mechanical arm comprises a plurality of mechanical sub-arms, and the control end controls the mechanical arm carrying the first device to move the first device to a range where the first device can be identified with the second device, specifically comprising: The control end controls at least one mechanical sub-arm of the mechanical arm to move the first device into a range for identification with the second device.

6. The method according to claim 1, wherein the detection platform further comprises one or more guide rails and a moving component, and the mechanical arm is connected to the guide rails through the moving component; and the control end controls the mechanical arm carrying the first device to move the first device to a range where the first device and the second device can be identified, specifically comprising: The control end controls the moving part to move along the guide rail, so that the mechanical arm connected to the moving part moves to a preset position; the mechanical arm at the preset position can make the first device be located within the range for identification.

7. According to the method of claim 1, the detection platform also includes a device placement component; the device placement component includes one or more device placement areas; the second device is located in a first device placement area of ​​the device placement component.

8. The method according to claim 7, wherein the device placement component further comprises a third device located in the second device placement area; the distance between the third device and the second device is greater than or equal to a preset threshold; and the method further comprises: The control end controls the mechanical arm to move the first device to a range within which the first device and the third device can be recognized.

9. The method according to claim 1, wherein the first device or the second device carries calling terminal information for calling the called party; the calling terminal information includes at least one of short-range communication information, image information, audio information, and temperature information.

10. The method according to claim 1, further comprising: Collect page information displayed in the calling device.

11. A device for detecting a call end, the device being applied to a detection platform, the detection platform comprising at least a control end and a mechanical arm connected to the control end; the device comprising: A moving module, used to control the mechanical arm carrying the first device to move the first device to a range where the first device can be identified with the second device, and to control the mechanical arm to keep the first device within the range for a preset time; The preset duration is set based on actual test requirements; If the purpose is to detect whether the called end device can call the end within a specified time, the preset time is set to the specified time; if the purpose is to detect whether the called end device can call the end within a time shorter than the specified time, the preset time is set to a time shorter than the specified time; the specified time is the time required for the calling end to identify; one of the first device and the second device is the calling end device, and the other is the called end device, and the calling end device is used to call the called end device; An information collection module, used to collect page information of the called terminal device; The control end is in communication connection with the called end device, the called end device is in developer mode, and the control end obtains the page information displayed by the called end device as a developer; The report generation module is used to generate a detection report for detecting whether the called end device is awakened based on the page information.

12. A device for detecting a calling terminal, comprising: at least one processor; as well as, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to: Control a robotic arm carrying a first device to move the first device to a range where the first device can be identified with a second device, and control the robotic arm to keep the first device within the range for a preset time; the preset time is set based on actual test requirements; if the purpose is to detect whether the called device can call the end within a specified time, the preset time is set to the specified time; if the purpose is to detect whether the called device can call the end within a time shorter than the specified time, the preset time is set to a time shorter than the specified time; the specified time is the time required for calling end identification; one of the first device and the second device is a calling device, and the other is a called device, and the calling device is used to call the called device; Collecting page information of the called device; the control end is in communication connection with the called device, the called device is in developer mode, and the control end obtains the page information displayed by the called device as a developer; Based on the page information, a detection report is generated for detecting whether the called device is woken up.

13. A computer-readable medium having computer-readable instructions stored thereon, wherein the computer-readable instructions can be executed by a processor to implement the method for detecting a calling terminal according to any one of claims 1 to 10.

Citation Information

Patent Citations

  • Authentication system and method of card reader

    CN114519411A

  • NFC tag wake-up function verification test system and method based on mechanical arm

    CN117715100A