Method, system and device for implementing signaling tracking and storage medium

By using a capture card carrying a Bluetooth chip and a websocket server in signaling tracking, signaling tracking processing between the target device and the SIM card is realized, which solves the lack of flexibility and scalability of signaling tracking in the existing technology. problems, avoiding acquisition line damage and data loss, and meeting the needs of modern signaling tracking and analysis.

CN118632192APending Publication Date: 2024-09-10SICHUAN JINGKING WEIDA SMART TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410869164.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-01
Publication Date
2024-09-10

AI Technical Summary

Technical Problem

In the existing technology, signaling tracking can only be collected on site, which lacks flexibility and scalability. The collection line is easily damaged, and data may not be collected or may be lost due to poor contact.

Method used

Using a capture card carrying a Bluetooth chip, through the websocket server, client and socket server of the transfer service program, the signaling tracking processing between the target device and the SIM card is realized, using the APDU command header, process word, data body and status Words for data transmission, supporting remote interaction and debugging analysis.

Benefits of technology

It achieves the flexibility and scalability of signaling, avoids data loss problems caused by damage to the acquisition line and poor contact, and meets the requirements of modern signaling tracking and analysis.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118632192A
    Figure CN118632192A
Patent Text Reader

Abstract

The invention relates to the technical field of wireless communication, in particular to a signaling tracking implementation method, system and device and a storage medium. Sending an instruction header of a first APDU to the acquisition card carrying the Bluetooth chip by using target equipment, sending request information for executing a data body of the first APDU instruction to the acquisition card carrying the Bluetooth chip by the target equipment, and returning a status word to the target SIM card by using a preset first channel; the target device sends a second APDU instruction to the acquisition card carrying the Bluetooth chip, transmits the instruction header by using a preset second channel, and transmits the executed process word, data volume and status word information to a preset target SIM card by using a preset third channel; and the target SIM card forwards the process word information, the data body information and the status word information to the target equipment, so that tracking processing of the signaling is realized. The method is not limited to an on-site acquisition mode to realize tracking processing of signaling, and can also realize remote interaction and debugging analysis.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of wireless communication technology, and in particular to a method, system, device and storage medium for implementing signaling tracking. Background Art

[0002] Signaling Trace is an essential technical means in the operation and maintenance of telecommunication networks. It collects signaling interaction signals between telecommunication network devices, converts them into instructions and saves them for operation and maintenance personnel to use for process analysis and fault location.

[0003] In the prior art, the head of the acquisition line is placed in the card tray and inserted into the mobile phone. The other end of the acquisition line is connected to a dedicated acquisition device, and the SIM card to be tested is inserted into the acquisition device. The acquisition device will collect the level signal of the I / O port, convert it into instructions through analysis, and then save it. However, when signaling tracking is performed in this way in the prior art, only on-site collection can be performed, which cannot meet the current requirements of signaling tracking and analysis, lacks flexibility and scalability, and in addition, the acquisition line is easily damaged, and the mobile phone card tray will also be damaged. Data is often unable to be collected or lost due to poor contact. Summary of the invention

[0004] In view of this, the purpose of the present invention is to provide a method, system, device and storage medium for implementing signaling tracking, so as to solve the problem that in the prior art, when performing signaling tracking, only on-site collection can be performed, which cannot meet the current requirements of signaling tracking and analysis, lacks flexibility and scalability, and in addition, the collection line is easily damaged, and the mobile phone card tray will also be damaged, and data cannot be collected or lost due to poor contact.

[0005] According to a first aspect of an embodiment of the present invention, a method for implementing signaling tracing is provided, including:

[0006] Get the target device, target SIM card and acquisition card with Bluetooth chip, and start the preset websocket server, websocket client and socket server in the transfer service program;

[0007] The acquisition card carrying the Bluetooth chip is loaded into the target device, and a reset response instruction is sent to the target device, and the target device and the acquisition card carrying the Bluetooth chip perform a PPS process to obtain a first execution result;

[0008] Using the first execution result, the target device sends a first APDU instruction header to the acquisition card carrying the Bluetooth chip. If the preset debugger simulation execution result shows that the APDU instruction header format is correct, the data process word is allowed to be sent, and the process word is transmitted to the target SIM card through the acquisition card carrying the Bluetooth chip using the preset first processing rule, and the target SIM card transmits the process word to the target device;

[0009] The target device transmits the process word to the target device by using the target SIM card, and the target device sends a request message for executing the data body of the first APDU instruction to the acquisition card carrying the Bluetooth chip, uses a preset debugger to simulate the execution of the processed data body, and returns a status word to the target SIM card by using a preset first channel; the target SIM card forwards the status word to the target device;

[0010] As a result of forwarding the status word to the target device by the target SIM card, the target device sends a second APDU instruction to the acquisition card carrying the Bluetooth chip, transmits the instruction header by using the preset second channel, and transmits the executed process word, data body and status word information to the preset target SIM card by using the preset third channel; the target SIM card forwards the process word, data body and status word information to the target device to realize signaling tracking processing.

[0011] Further, the target device sends a first APDU instruction header to the acquisition card carrying the Bluetooth chip by using the first execution result, and if the preset debugger simulation execution result is that the APDU instruction header format is correct, the data process word is allowed to be sent, and the process word is transferred to the target SIM card through the acquisition card carrying the Bluetooth chip by using the preset first processing rule, and the target SIM card transfers the process word to the target device, including:

[0012] Using the first execution result, the target device sends a first APDU instruction header to the acquisition card carrying the Bluetooth chip, the acquisition card carrying the Bluetooth chip receives the first APDU instruction header sent by the target device, and the acquisition card carrying the Bluetooth chip transmits the first APDU instruction header to the preset debugger in the order of the local PC, the websocket client, the websocket server, the socket server in the transfer service program, and the preset plug-in;

[0013] If the preset debugger simulation execution result is that the APDU instruction header format is correct, the data process word is allowed to be sent down, and the process word is passed to the target SIM card through the acquisition card carrying the Bluetooth chip according to the preset plug-in, the socket server in the transfer service program, the websocket server, the websocket client, the local PC, and the acquisition card carrying the Bluetooth chip using the preset first processing rule. The target SIM card passes the process word to the target device.

[0014] Further, the result of using the target SIM card to transfer the process word to the target device, the target device sends a request message for executing the data body of the first APDU instruction to the acquisition card carrying the Bluetooth chip, uses a preset debugger to simulate the execution of the data body data, and uses a preset first channel to return the status word to the target SIM card, including:

[0015] As a result of transmitting the process word to the target device by using the target SIM card, the target device sends a request message of executing the data body of the first APDU instruction to the acquisition card carrying the Bluetooth chip, and transmits the request message to the preset debugger according to the acquisition card carrying the Bluetooth chip, the local PC, the websocket client, the websocket server, the socket server in the transfer service program, and the preset plug-in;

[0016] Utilize the preset debugger simulation execution to process the data body data, and utilize the preset first channel to return the status word to the target SIM card;

[0017] The preset first channel includes: a preset plug-in, a socket server in a transfer service program, a websocket server, a websocket client, a local PC, a capture card with a Bluetooth chip, and a target SIM card.

[0018] Further, as a result of forwarding the status word to the target device by the target SIM card, the target device sends a second APDU instruction header to the acquisition card carrying the Bluetooth chip, transmits the instruction header by using the preset second channel, and transmits the executed process word, data body and status word information to the preset target SIM card by using the preset third channel; the target SIM card forwards the process word, data body and status word information to the target device, and realizes the tracking processing of signaling, including:

[0019] As a result of forwarding the status word to the target device by the target SIM card, the target device sends a second APDU instruction header to the acquisition card carrying the Bluetooth chip, and transmits the second APDU instruction header to the preset debugger in the order of the acquisition card carrying the Bluetooth chip, the local PC, the websocket client, the websocket server, the socket server in the transfer service program, and the preset plug-in;

[0020] The execution results of the two APDU instruction headers, including the process word, data body and status word information, are transmitted to the target SIM card according to the preset plug-in, the socket server, the websocket server, the websocket client, the local PC and the acquisition card with the Bluetooth chip in the transfer service program;

[0021] The target SIM card forwards the process word, data body and status word information to the target device to implement signaling tracking processing.

[0022] According to a second aspect of an embodiment of the present invention, a system for implementing signaling tracing is provided, including:

[0023] The acquisition module is used to acquire the target device, the target SIM card and the acquisition card with the Bluetooth chip, and start the preset websocket server, websocket client and socket server in the transfer service program;

[0024] A first data processing module is used to load the acquisition card carrying the Bluetooth chip into the target device and send a reset response instruction to the target device, so that the target device and the acquisition card carrying the Bluetooth chip execute a PPS process to obtain a first execution result;

[0025] A second data processing module is used for using the first execution result, the target device sends a first APDU instruction header to the acquisition card carrying the Bluetooth chip, if the preset debugger simulation execution result is that the APDU instruction header format is correct, then allowing the data process word to be sent, using the preset first processing rule to pass the process word to the target SIM card through the acquisition card carrying the Bluetooth chip, and the target SIM card passes the process word to the target device;

[0026] The third data processing module is used to transmit the process word to the target device by using the target SIM card, the target device sends a request message for executing the data body of the first APDU instruction to the acquisition card carrying the Bluetooth chip, uses a preset debugger to simulate the execution of the processed data body data, and uses a preset first channel to return a status word to the target SIM card; the target SIM card forwards the status word to the target device;

[0027] The fourth data processing module is used for forwarding the result of the status word to the target device by using the target SIM card, the target device sends a second APDU instruction to the acquisition card carrying the Bluetooth chip, transmits the instruction header by using the preset second channel, and transmits the executed process word, data body and status word information to the preset target SIM card by using the preset third channel; the target SIM card forwards the process word, data body and status word information to the target device to realize signaling tracking processing.

[0028] According to a third aspect of an embodiment of the present invention, a device for implementing signaling tracking is provided, including:

[0029] a memory having an executable program stored therein;

[0030] A processor is used to execute the executable program in the memory to implement the steps of any one of the above methods.

[0031] According to a fourth aspect of an embodiment of the present invention, a computer-readable storage medium is provided, including:

[0032] The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the steps of any one of the above methods.

[0033] The technical solution provided by the embodiments of the present invention may have the following beneficial effects:

[0034] It can be understood that the technical solution provided by the present invention obtains the target device, the target SIM card and the acquisition card carrying the Bluetooth chip, and starts the preset websocket server, websocket client and socket server in the transfer service program;

[0035] The acquisition card carrying the Bluetooth chip is loaded into the target device, and a reset response instruction is sent to the target device, and the target device and the acquisition card carrying the Bluetooth chip perform a PPS process to obtain a first execution result;

[0036] Using the first execution result, the target device sends a first APDU instruction header to the acquisition card carrying the Bluetooth chip. If the preset debugger simulation execution result shows that the APDU instruction header format is correct, the data process word is allowed to be sent, and the process word is transmitted to the target SIM card through the acquisition card carrying the Bluetooth chip using the preset first processing rule, and the target SIM card transmits the process word to the target device;

[0037] The target device transmits the process word to the target device by using the target SIM card, and the target device sends a request message for executing the data body of the first APDU instruction to the acquisition card carrying the Bluetooth chip, uses a preset debugger to simulate the execution of the processed data body, and returns a status word to the target SIM card by using a preset first channel; the target SIM card forwards the status word to the target device;

[0038] As a result of forwarding the status word to the target device by the target SIM card, the target device sends a second APDU instruction to the acquisition card carrying the Bluetooth chip, transmits the instruction header by using the preset second channel, and transmits the executed process word, data body and status word information to the preset target SIM card by using the preset third channel; the target SIM card forwards the process word, data body and status word information to the target device to realize signaling tracking processing.

[0039] It can be understood that the technical solution provided by the present invention is not limited to the form of on-site collection to realize signaling tracking and processing, but can also realize remote interaction and debugging analysis. The technical solution provided by this application has certain flexibility and scalability, which can meet the current requirements of signaling tracking and analysis, and help solve the problem that the collection line is easily damaged and the mobile phone card tray is also damaged, and data cannot be collected or lost due to poor contact.

[0040] It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0042] Figure 1 It is a schematic diagram of steps of a method for implementing signaling tracking according to an exemplary embodiment;

[0043] Figure 2 is a schematic flow chart showing steps of an interactive process of signaling tracing according to an exemplary embodiment;

[0044] Figure 3 is a schematic flow chart of on-site collection according to an exemplary embodiment;

[0045] Figure 4 is a schematic diagram showing the composition of a signaling tracking implementation system according to an exemplary embodiment;

[0046] Figure 5is a structural diagram of a signaling tracking implementation system according to an exemplary embodiment;

[0047] Figure 6 The figure is a schematic diagram showing the composition of a signaling tracking implementation device according to an exemplary embodiment. DETAILED DESCRIPTION

[0048] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0049] Embodiment 1

[0050] See also Figure 1 , Figure 1 The present invention is a schematic diagram of a method for implementing signaling tracking according to an exemplary embodiment, wherein the method includes:

[0051] S1. Get the target device, target SIM card and acquisition card with Bluetooth chip, and start the preset websocket server, websocket client and socket server in the transfer service program;

[0052] S2. The acquisition card carrying the Bluetooth chip is loaded into the target device, and a reset response instruction is issued to the target device. The target device and the acquisition card carrying the Bluetooth chip execute the PPS process to obtain a first execution result;

[0053] S3. Using the first execution result, the target device sends a first APDU instruction header to the acquisition card carrying the Bluetooth chip. If the preset debugger simulation execution result shows that the APDU instruction header format is correct, the data process word is allowed to be sent down, and the process word is transmitted to the target SIM card through the acquisition card carrying the Bluetooth chip using the preset first processing rule, and the target SIM card transmits the process word to the target device;

[0054] S4. The target device sends a request message for executing the data body of the first APDU instruction to the acquisition card carrying the Bluetooth chip by using the target SIM card to transfer the process word to the target device, uses a preset debugger to simulate the execution of the data body data, and returns a status word to the target SIM card using a preset first channel; the target SIM card forwards the status word to the target device;

[0055] S5. Based on the result of forwarding the status word to the target device by the target SIM card, the target device sends a second APDU instruction to the acquisition card carrying the Bluetooth chip, transmits the instruction header by the preset second channel, and transmits the executed process word, data body and status word information to the preset target SIM card by the preset third channel; the target SIM card forwards the process word, data body and status word information to the target device to realize signaling tracking processing.

[0056] In a specific implementation, the target device sends a first APDU instruction header to the acquisition card carrying the Bluetooth chip by using the first execution result, and if the preset debugger simulation execution result shows that the APDU instruction header format is correct, the data process word is allowed to be sent, and the process word is transferred to the target SIM card through the acquisition card carrying the Bluetooth chip by using the preset first processing rule, and the target SIM card transfers the process word to the target device, including:

[0057] Using the first execution result, the target device sends a first APDU instruction header to the acquisition card carrying the Bluetooth chip, the acquisition card carrying the Bluetooth chip receives the first APDU instruction header sent by the target device, and the acquisition card carrying the Bluetooth chip transmits the first APDU instruction header to the preset debugger in the order of the local PC, the websocket client, the websocket server, the socket server in the transfer service program, and the preset plug-in;

[0058] If the preset debugger simulation execution result is that the APDU instruction header format is correct, the data process word is allowed to be sent down, and the process word is passed to the target SIM card through the acquisition card carrying the Bluetooth chip according to the preset plug-in, the socket server in the transfer service program, the websocket server, the websocket client, the local PC, and the acquisition card carrying the Bluetooth chip using the preset first processing rule. The target SIM card passes the process word to the target device.

[0059] In a specific implementation, the process word is transmitted to the target device by using the target SIM card, the target device sends a request message for executing the data body of the first APDU instruction to the acquisition card carrying the Bluetooth chip, uses a preset debugger to simulate the execution of the data body data, and uses a preset first channel to return the status word to the target SIM card, including:

[0060] As a result of transmitting the process word to the target device by using the target SIM card, the target device sends a request message of executing the data body of the first APDU instruction to the acquisition card carrying the Bluetooth chip, and transmits the request message to the preset debugger according to the acquisition card carrying the Bluetooth chip, the local PC, the websocket client, the websocket server, the socket server in the transfer service program, and the preset plug-in;

[0061] Utilize the preset debugger simulation execution to process the data body data, and utilize the preset first channel to return the status word to the target SIM card;

[0062] The preset first channel includes: a preset plug-in, a socket server in a transfer service program, a websocket server, a websocket client, a local PC, a capture card with a Bluetooth chip, and a target SIM card.

[0063] In a specific implementation, as a result of forwarding the status word to the target device by using the target SIM card, the target device sends a second APDU instruction header to the acquisition card carrying the Bluetooth chip, transmits the instruction header by using the preset second channel, and transmits the executed process word, data body and status word information to the preset target SIM card by using the preset third channel; the target SIM card forwards the process word, data body and status word information to the target device, and realizes the tracking processing of signaling, including:

[0064] As a result of forwarding the status word to the target device by the target SIM card, the target device sends a second APDU instruction header to the acquisition card carrying the Bluetooth chip, and transmits the second APDU instruction header to the preset debugger in the order of the acquisition card carrying the Bluetooth chip, the local PC, the websocket client, the websocket server, the socket server in the transfer service program, and the preset plug-in;

[0065] The execution results of the two APDU instruction headers, including the process word, data body and status word information, are transmitted to the target SIM card according to the preset plug-in, the socket server, the websocket server, the websocket client, the local PC and the acquisition card with the Bluetooth chip in the transfer service program;

[0066] The target SIM card forwards the process word, data body and status word information to the target device to implement signaling tracking processing.

[0067] In specific implementation, the technical solution provided by the present invention is not limited to the form of on-site collection to realize signaling tracking and processing, but can also realize remote interaction and debugging analysis. The technical solution provided by this application has certain flexibility and scalability, and can meet the current requirements of signaling tracking and analysis.

[0068] The acquisition card has no business logic and is only responsible for forwarding data. However, the machine-card interaction has strict timing requirements. Forwarding and remote processing take time and are prone to abnormal operation due to timeouts. This is not the working condition when there is no acquisition. Therefore, it is necessary to design certain logic to eliminate the interference caused by the acquisition itself.

[0069] In the specific implementation, please combine the above steps S1-S5, and Figure 2 , the specific implementation process is as follows:

[0070] Taking remote debugging as an example, the whole process is described:

[0071] 1. Deploy a service program in the cloud, which starts the websocket service.

[0072] 2. Start the acquisition application on the local PC. The application starts the Bluetooth service. The application acts as a websocket client to connect to the websocket server on the cloud.

[0073] 3. The remote debugging PC starts the transfer service program, and the transfer service program connects to the cloud websocket server.

[0074] 4. The transit server starts the socket server.

[0075] 5. The remote debugging PC starts the development debugging tool, starts the debugging tool plug-in, and connects to the socket server of the transfer server.

[0076] 6. Insert the SIM card encapsulated with the Bluetooth chip (hereinafter referred to as the acquisition card) into the mobile phone.

[0077] 7. Turn on the phone, reset the card, and send ATR (response to reset) to the phone.

[0078] 8. The mobile phone and the capture card execute the PPS (protocol and parameter selection) process.

[0079] 9. The mobile phone sends the first APDU (Application Protocol Data Unit, used to transfer data and perform specific operations between the smart card and the card reader) instruction header to the acquisition card.

[0080] 10. The acquisition card starts the timer, and the duration is set to 75% of the timeout period, which is referred to as a waiting cycle below.

[0081] 11. The SIM card of the acquisition card sends a reset notification to the Bluetooth chip of the acquisition card through the SPI interface, such as the agreed string "RESET".

[0082] 12. After receiving “RESET”, the Bluetooth chip sends the signal to the local PC via Bluetooth.

[0083] 13. After the Bluetooth server of the acquisition application on the local PC receives the "RESET" message, it sends it to the cloud server through the websocket client.

[0084] 14. The cloud server records "RESET" in the log and forwards this message to the remote relay service program.

[0085] 15. The relay service program forwards "RESET" to the development tool plug-in.

[0086] 16. The development tool plug-in sends a reset command to the debugging environment.

[0087] 17. The card emulation executes the reset command and replies ATR to the plug-in.

[0088] 18. The plugin sends the ATR to the transit service.

[0089] 19. The transit service sends ATR to the cloud.

[0090] 20. Record logs in the cloud.

[0091] 21. Forward ATR to local PC.

[0092] 22. The local PC sends the ATR to the Bluetooth chip of the acquisition card via Bluetooth.

[0093] 23. The Bluetooth chip sends ATR to the SIM card via SPI.

[0094] 24. In the above process, the SIM timer may have reached a cycle and sent the process word '60' to the mobile phone to request a delay.

[0095] 25, another cycle has come, send '60' again. Keep sending until you receive no reply.

[0096] 26. The SIM card of the acquisition card sends the first APDU command header received previously to the Bluetooth card.

[0097] 27. Bluetooth card->local PC->cloud->remote transfer service->plug-in->debugger.

[0098] 28. The debugger simulation execution result shows that the APDU instruction header format is correct, data can be sent, and the "data sending process word is allowed" is sent.

[0099] 29. The process of word transfer: plug-in->remote transfer service->cloud->local PC->local PC->Bluetooth card->SIM card of acquisition card.

[0100] 30. After receiving the process word, the SIM card of the acquisition card turns off the timer and forwards the process word to the mobile phone.

[0101] 31. The data body of the APDU command sent by the mobile phone.

[0102] 32. After the SIM card of the acquisition card receives the data body, the timer is turned on again.

[0103] 33. Data transmission: Bluetooth card->local PC->cloud->remote transfer service->plug-in->debugger.

[0104] 34. The debugger simulates execution and processes data, sending a status word.

[0105] 35. Status word transmission: plug-in->remote transfer service->cloud->local PC->local PC->Bluetooth card->SIM card of acquisition card.

[0106] 36. After the SIM card of the acquisition card receives the status word, the timer is turned off. (If the status word is not received within a cycle, it will automatically send 60)

[0107] 37. The SIM card of the acquisition card forwards the status word to the mobile phone.

[0108] 38. The SIM card of the acquisition card goes into sleep mode and waits for the next instruction to wake it up.

[0109] 39. The mobile phone sends the second APDU command header to the acquisition card. (The first command is a process with data, and the second is assumed to be a data fetching command)

[0110] 40. The acquisition card starts the timer.

[0111] 41. APDU command header transmission: Bluetooth card->local PC->cloud->remote transfer service->plug-in->debugger.

[0112] 42. After execution, the return value is: process word + data body + status word.

[0113] 43. Transmission: plugin->remote transfer service->cloud->local PC->local PC->Bluetooth card->SIM card of acquisition card. Logs are recorded in the cloud in the middle.

[0114] 44. The capture card starts the timer.

[0115] 45. The acquisition card sends the above data combination to the mobile phone.

[0116] 46. ​​The SIM card of the acquisition card goes into sleep mode and waits for the next instruction to wake it up.

[0117] 47. Repeat the above process.

[0118] When forwarding to the real card or development environment, the instructions are stored in the log file at the same time. This file can be used as a script later to analyze the problem in detail without the mobile phone environment. After all links are ready, all data from the card reset are transmitted through websocket to ensure the response speed of the instructions.

[0119] In specific implementation, a signaling tracking implementation method in this application is mainly applicable to the following working modes:

[0120] Working mode 1: On-site collection

[0121] Applicable scenario: The mobile phone and card to be analyzed are in other places, and technical support personnel collect data after arriving at the site.

[0122] 48. Working process:

[0123] 1. Equipment preparation Figure 3 , the capture card is inserted into the phone, and the problem card is inserted into the card reader connected to the laptop.

[0124] 2. Start the local card reader driver service and power on the problem card.

[0125] 3. Enter the web interface of the collector and enable the Bluetooth service.

[0126] 4. Turn on the phone and start collecting data.

[0127] 5. Upload data to the cloud server.

[0128] Working mode 2: Remote interaction

[0129] Applicable scenario: The mobile phone to be analyzed is in another place, and R&D personnel send the same card to the other place for analysis.

[0130] The laptop computer responsible for data collection is not connected to the card reader, but transmits the data to the cloud server.

[0131] The computer responsible for analysis connects to the cloud server to obtain instructions and forwards them to the card reader to achieve remote interaction.

[0132] Working mode three: debugging and analysis

[0133] The computer responsible for analysis needs to be connected to the card reader when collecting data normally. When problem analysis is required, it does not need to be connected to the actual card reader, but can be connected to the development environment, so that card code tracking and analysis can be achieved when the mobile phone is online.

[0134] See also Figure 4 , Figure 4 The present invention is a schematic diagram showing the composition of a signaling tracking implementation system according to an exemplary embodiment, wherein the system includes:

[0135] The acquisition module 10 is used to acquire the target device, the target SIM card and the acquisition card carrying the Bluetooth chip, and start the preset websocket server, websocket client and socket server in the transfer service program;

[0136] The first data processing module 20 is used to load the acquisition card carrying the Bluetooth chip into the target device and send a reset response instruction to the target device, so that the target device and the acquisition card carrying the Bluetooth chip execute a PPS process to obtain a first execution result;

[0137] The second data processing module 30 is used for using the first execution result, the target device sends a first APDU instruction header to the acquisition card carrying the Bluetooth chip, if the preset debugger simulation execution result is that the APDU instruction header format is correct, then allowing the data process word to be sent, using the preset first processing rule to pass the process word to the target SIM card through the acquisition card carrying the Bluetooth chip, and the target SIM card passes the process word to the target device;

[0138] The third data processing module 40 is used to transmit the process word to the target device by using the target SIM card, the target device sends a request message for executing the data body of the first APDU instruction to the acquisition card carrying the Bluetooth chip, uses a preset debugger to simulate the execution of the processed data body data, and uses a preset first channel to return a status word to the target SIM card; the target SIM card forwards the status word to the target device;

[0139] The fourth data processing module 50 is used to use the target SIM card to forward the result of the status word to the target device, the target device sends a second APDU instruction to the acquisition card carrying the Bluetooth chip, uses the preset second channel to transmit the instruction header, and transmits the executed process word, data body and status word information to the preset target SIM card using the preset third channel; the target SIM card forwards the process word, data body and status word information to the target device to realize signaling tracking processing.

[0140] For specific implementation, please refer to Figure 5 This application requires a special SIM chip: a chip with a Bluetooth interface. This chip is designed to achieve another contactless application. The present invention only uses its Bluetooth channel to replace the original acquisition soft wire. The other parts use general devices and systems.

[0141] Specifically, the SIM card with Bluetooth in this application has the same appearance as the ordinary SIM card, the pin and interface protocol meet the requirements of ISO7816, and is packaged as 4FF (nanoSIM card). It can be placed on the card tray like an ordinary card and inserted into the mobile phone. The internal structure of the card is as follows: Figure 5 shown.

[0142] See also Figure 6 , Figure 6 The present invention is a schematic diagram showing a signaling tracking implementation device according to an exemplary embodiment, wherein the device includes:

[0143] A memory 61 on which an executable program is stored;

[0144] The processor 62 is used to execute the executable program in the memory 61 to implement the steps of any one of the above methods.

[0145] In addition, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the steps of any of the above methods. The storage medium may be a disk, an optical disk, a read-only memory (ROM), a random access memory (RAM), a flash memory, a hard disk (HDD), or a solid-state drive (SSD); the storage medium may also include a combination of the above-mentioned types of memory.

[0146] It can be understood that the same or similar parts of the above embodiments can be referenced to each other, and the contents not described in detail in some embodiments can refer to the same or similar contents in other embodiments.

[0147] It should be noted that, in the description of the present invention, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, the meaning of "plurality" refers to at least two.

[0148] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by those skilled in the art to which the embodiments of the present invention belong.

[0149] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, a plurality of steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0150] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0151] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0152] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0153] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0154] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. A method for implementing signaling tracking, characterized in that: The method comprises: Get the target device, target SIM card and acquisition card with Bluetooth chip, and start the preset websocket server, websocket client and socket server in the transfer service program; The acquisition card carrying the Bluetooth chip is loaded into the target device, and a reset response instruction is sent to the target device, and the target device and the acquisition card carrying the Bluetooth chip perform a PPS process to obtain a first execution result; Using the first execution result, the target device sends a first APDU instruction header to the acquisition card carrying the Bluetooth chip. If the preset debugger simulation execution result shows that the APDU instruction header format is correct, the data process word is allowed to be sent, and the process word is transmitted to the target SIM card through the acquisition card carrying the Bluetooth chip using the preset first processing rule, and the target SIM card transmits the process word to the target device; The target device transmits the process word to the target device by using the target SIM card, and the target device sends a request message for executing the data body of the first APDU instruction to the acquisition card carrying the Bluetooth chip, uses a preset debugger to simulate the execution of the processed data body, and returns a status word to the target SIM card by using a preset first channel; the target SIM card forwards the status word to the target device; As a result of forwarding the status word to the target device by the target SIM card, the target device sends a second APDU instruction to the acquisition card carrying the Bluetooth chip, transmits the instruction header by using the preset second channel, and transmits the executed process word, data body and status word information to the preset target SIM card by using the preset third channel; the target SIM card forwards the process word, data body and status word information to the target device to realize signaling tracking processing.

2. The method according to claim 1, characterized in that The target device sends a first APDU instruction header to the acquisition card carrying the Bluetooth chip by using the first execution result, and if the preset debugger simulation execution result shows that the APDU instruction header format is correct, the data process word is allowed to be sent, and the process word is transmitted to the target SIM card through the acquisition card carrying the Bluetooth chip by using the preset first processing rule, and the target SIM card transmits the process word to the target device, including: Using the first execution result, the target device sends a first APDU instruction header to the acquisition card carrying the Bluetooth chip, the acquisition card carrying the Bluetooth chip receives the first APDU instruction header sent by the target device, and the acquisition card carrying the Bluetooth chip transmits the first APDU instruction header to the preset debugger in the order of the local PC, the websocket client, the websocket server, the socket server in the transfer service program, and the preset plug-in; If the preset debugger simulation execution result is that the APDU instruction header format is correct, the data process word is allowed to be sent down, and the process word is passed to the target SIM card through the acquisition card carrying the Bluetooth chip according to the preset plug-in, the socket server in the transfer service program, the websocket server, the websocket client, the local PC, and the acquisition card carrying the Bluetooth chip using the preset first processing rule. The target SIM card passes the process word to the target device.

3. The method according to claim 1, characterized in that The result of using the target SIM card to transmit the process word to the target device, the target device sends a request message for executing the data body of the first APDU instruction to the acquisition card carrying the Bluetooth chip, uses a preset debugger to simulate the execution of the processed data body data, and uses a preset first channel to return a status word to the target SIM card, including: As a result of transmitting the process word to the target device by using the target SIM card, the target device sends a request message of executing the data body of the first APDU instruction to the acquisition card carrying the Bluetooth chip, and transmits the request message to the preset debugger according to the acquisition card carrying the Bluetooth chip, the local PC, the websocket client, the websocket server, the socket server in the transfer service program, and the preset plug-in; Utilize the preset debugger simulation execution to process the data body data, and utilize the preset first channel to return the status word to the target SIM card; The preset first channel includes: a preset plug-in, a socket server in a transfer service program, a websocket server, a websocket client, a local PC, a capture card with a Bluetooth chip, and a target SIM card.

4. The method according to claim 1, characterized in that: As a result of forwarding the status word to the target device by using the target SIM card, the target device sends a second APDU instruction header to the acquisition card carrying the Bluetooth chip, transmits the instruction header by using the preset second channel, and transmits the executed process word, data body and status word information to the preset target SIM card by using the preset third channel; The target SIM card forwards the process word, data body and status word information to the target device to implement signaling tracking processing, including: As a result of forwarding the status word to the target device by the target SIM card, the target device sends a second APDU instruction header to the acquisition card carrying the Bluetooth chip, and transmits the second APDU instruction header to the preset debugger in the order of the acquisition card carrying the Bluetooth chip, the local PC, the websocket client, the websocket server, the socket server in the transfer service program, and the preset plug-in; The execution results of the two APDU instruction headers, including the process word, data body and status word information, are transmitted to the target SIM card according to the preset plug-in, the socket server, the websocket server, the websocket client, the local PC and the acquisition card with the Bluetooth chip in the transfer service program; The target SIM card forwards the process word, data body and status word information to the target device to implement signaling tracking processing.

5. A signaling tracking implementation system, applied to a signaling tracking implementation method as described in any one of claims 1 to 4, characterized in that: The system comprises: The acquisition module is used to acquire the target device, the target SIM card and the acquisition card with the Bluetooth chip, and start the preset websocket server, websocket client and socket server in the transfer service program; A first data processing module is used to load the acquisition card carrying the Bluetooth chip into the target device and send a reset response instruction to the target device, so that the target device and the acquisition card carrying the Bluetooth chip execute a PPS process to obtain a first execution result; A second data processing module is used for using the first execution result, the target device sends a first APDU instruction header to the acquisition card carrying the Bluetooth chip, if the preset debugger simulation execution result is that the APDU instruction header format is correct, then allowing the data process word to be sent, using the preset first processing rule to pass the process word to the target SIM card through the acquisition card carrying the Bluetooth chip, and the target SIM card passes the process word to the target device; The third data processing module is used to transmit the process word to the target device by using the target SIM card, the target device sends a request message for executing the data body of the first APDU instruction to the acquisition card carrying the Bluetooth chip, uses a preset debugger to simulate the execution of the processed data body data, and uses a preset first channel to return a status word to the target SIM card; the target SIM card forwards the status word to the target device; The fourth data processing module is used for forwarding the result of the status word to the target device by using the target SIM card, the target device sends a second APDU instruction to the acquisition card carrying the Bluetooth chip, transmits the instruction header by using the preset second channel, and transmits the executed process word, data body and status word information to the preset target SIM card by using the preset third channel; the target SIM card forwards the process word, data body and status word information to the target device to realize signaling tracking processing.

6. A signaling tracking implementation device, characterized in that: The device comprises: A memory having an executable program stored therein; A processor, configured to execute the executable program in the memory to implement the steps of the method according to any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a computer to execute the steps of the method according to any one of claims 1 to 4.