Real-time Remote Signaling Acquisition Method and Platform Based on Converged Terminal

By introducing a system in the fusion terminal that independently undertakes remote signaling acquisition and position determination from the processing core, and combining cross-core shared storage and inter-core notification signals, the problems of remote signaling position response delay and instability caused by direct acquisition by the main core are solved, thereby improving the real-time performance and stability of remote signaling acquisition.

CN123068152APending Publication Date: 2026-11-10NANJING XIESHENG INTELLIGENT TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611350194.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-09-02
Publication Date
2026-11-10

AI Technical Summary

Technical Problem

In existing converged terminal remote signaling acquisition solutions, direct acquisition by the main core results in large and unstable remote signaling change response delays, competition for acquisition and service resources, high data interaction latency, and poor consistency, failing to meet real-time and stability requirements.

Method used

The system adopts a method where each processing core independently undertakes remote signaling acquisition and position determination. It achieves master-slave core data interaction through cross-core shared storage area and inter-core notification signals, thereby reducing remote signaling position response latency and improving the real-time performance and stability of acquisition.

Benefits of technology

By using an independent core to handle remote signaling acquisition, the latency of remote signaling change response is reduced, the real-time performance and stability of acquisition are improved, low latency and consistency of data interaction are ensured, erroneous and missed acquisitions are reduced, and the accuracy and reliability of remote signaling change response are improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123068152A_ABST
    Figure CN123068152A_ABST
Patent Text Reader

Abstract

This invention provides a real-time remote signaling acquisition method and platform based on a converged terminal, relating to the field of data processing technology. The main processor configures the underlying hardware interface corresponding to the remote signaling input channel as a dedicated peripheral for the slave processing core, constructing a cross-core shared storage area. The slave processing core acquires the input level status based on the remote signaling input channel and continuously acquires the input level status to obtain a state sequence. When the state sequence meets preset stability conditions, it generates state change event data. The slave processing core writes the state change event data into the cross-core shared storage area and sends an inter-core notification signal to the main processing core, enabling the main processing core to read the state change event data in the cross-core shared storage area and execute business processing. This allows for master-slave core data interaction through the cross-core shared storage area combined with the inter-core notification signal, reducing response latency and improving the real-time performance and stability of remote signaling acquisition.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data processing technology, and in particular to a real-time remote signaling acquisition method and platform based on a converged terminal. Background Technology

[0002] Real-time remote signaling acquisition is a core data acquisition function in fields such as industrial measurement and control and power automation. It belongs to the real-time application of remote signaling technology in the industrial four-remote system (remote signaling, telemetry, remote control, and remote adjustment). It refers to the high-frequency, low-latency acquisition and uploading of discrete status quantities such as switch status, working mode, and alarm signals of field equipment through remote communication, so as to realize the synchronous perception of the operating status of field equipment by the remote monitoring center.

[0003] Current converged terminal remote signaling acquisition generally adopts a main-core direct acquisition scheme. The main core runs a Linux system and directly reads remote signaling signals through GPIO. The main core determines position changes through polling or interrupts and performs status filtering, debouncing, and reporting. There is no independent real-time core, and acquisition and service share CPU resources. In the existing scheme, the main core runs a non-real-time system, resulting in large and unstable remote signaling position change response latency. Acquisition and service resources compete for resources, which easily leads to missed acquisitions, incorrect acquisitions, and delayed reporting. There is no low-latency data sharing mechanism between the main core and the acquisition unit, resulting in high data interaction latency and poor consistency. In other words, a dedicated real-time core cannot handle remote signaling acquisition, resulting in slow remote signaling position change response and insufficient real-time performance and stability of acquisition.

[0004] Therefore, having an independent real-time core handle remote signaling acquisition and establishing a low-latency data interaction mechanism between the main core and the real-time core has become a problem that needs to be solved in this field. Summary of the Invention

[0005] This invention provides a real-time remote signaling acquisition method and platform based on a converged terminal. The slave processing core independently undertakes remote signaling acquisition and position determination, and realizes master-slave core data interaction through cross-core shared storage area combined with inter-core notification signals, thereby reducing remote signaling position response latency and improving the real-time performance and stability of remote signaling acquisition.

[0006] A first aspect of the present invention provides a real-time remote signaling acquisition method based on a fusion terminal, comprising: The main processing core responds to the system startup information and configures the underlying hardware interface corresponding to the remote signaling input channel as a dedicated peripheral for the slave processing core, while also building a cross-core shared storage area; The processing core acquires the input level status based on the remote signaling input channel and continuously collects the input level status to form a status sequence; The processing core performs stability determination based on the state sequence and generates state change event data when the state sequence meets the preset stability conditions. The processing core writes state change event data to the cross-core shared memory area and sends an inter-core notification signal to the main processing core, enabling the main processing core to read the state change event data in the cross-core shared memory area and execute business processing.

[0007] Optionally, in one possible implementation of the first aspect, the step of acquiring the input level state from the processing core based on the remote signaling input channel and continuously acquiring the input level state to form a state sequence includes: Trigger the signal from the level change of the remote signaling input channel of the processing core response, record the current moment as the change time marker, and obtain the current input level status; The processing core repeatedly samples the remote signaling input channel based on a periodic sampling mechanism, and aggregates the multiple input level states obtained from the sampling in chronological order to form a state sequence.

[0008] Optionally, in one possible implementation of the first aspect, the repeated sampling of the remote signaling input channel based on the periodic sampling mechanism includes: The hardware edge-triggered mechanism of the remote signaling input channel is shielded from the processing core, and an internal timer is started; The processing core reads the current input level status of the remote signaling input channel multiple times consecutively according to a fixed time interval set by the internal timer; When the processing core determines that a preset number of consecutive reads has been reached, it completes the repeated sampling of the remote signaling input channel.

[0009] Optionally, in one possible implementation of the first aspect, the processing core performs a stability determination based on the state sequence, and generates state change event data when the state sequence meets a preset stability condition, including: The consistency of multiple input level states in the state sequence is compared and analyzed from the processing core. When the multiple input level states remain consistent, the processing core determines that the state sequence meets a preset stability condition and determines that a physical shift has occurred. Based on physical displacement, the processing core encapsulates the channel identification information, displacement status, and displacement time stamp to generate state change event data.

[0010] Optionally, in one possible implementation of the first aspect, writing state change event data from the processing core to a cross-core shared memory area and sending an inter-core notification signal to the main processing core includes: The processing core writes state change event data to a preset physical shared storage address area; Update the status identification information in the shared storage area from the processing kernel; The processing core triggers an inter-core interrupt signal to notify the main processing core to read event data.

[0011] A second aspect of the present invention provides a real-time remote signaling acquisition platform based on a fusion terminal, comprising: The channel binding unit is used by the main processing core to execute the system startup process and perform dedicated binding configuration on the remote signaling input channel, while building a cross-core shared storage area; The acquisition unit is used to obtain the input level status from the processing core based on the remote signaling input channel, and to continuously acquire the input level status to form a state sequence; The determination unit is used to determine stability based on the state sequence and generate state change event data. The interaction unit is used to write state change event data to the cross-core shared storage area and send inter-core notification signals to the main processing core to trigger event data reading and business processing.

[0012] A third aspect of the present invention provides an electronic device comprising: a memory, a processor, and a computer program, the computer program being stored in the memory, and the processor executing the computer program to perform the methods described in the first aspect of the present invention and various possible methods related to the first aspect.

[0013] A fourth aspect of the present invention provides a storage medium storing a computer program, which, when executed by a processor, is used to implement the first aspect of the present invention and various methods possibly involved in the first aspect.

[0014] The beneficial effects of this invention are as follows: 1. In this invention, the slave processing core independently undertakes remote signaling acquisition and change determination, while the master processing core is only responsible for reading and business processing, thereby reducing the remote signaling change response latency. Furthermore, the master and slave cores can interact with each other by sharing a storage area across cores and using inter-core notification signals, which improves the real-time performance and stability of remote signaling acquisition. 2. This invention converts edge triggering into timer periodic sampling by shielding the edge triggering, so that the change confirmation process is not affected by edge jitter, thereby improving the continuity and reliability of state sequence acquisition. 3. This invention eliminates transient level fluctuations caused by mechanical vibration and electromagnetic interference through multiple sampling consistency comparisons, thereby improving the accuracy of physical displacement determination. It also encapsulates the displacement time marker and displacement status together to ensure the time accuracy and content integrity of the status change event data. 4. This invention writes state change event data from the processing core to a preset physical shared storage address area, updates the state identifier information in the shared storage area, and triggers an inter-core interrupt signal to notify the main processing core to read the event data. Zero-copy data transfer is achieved by directly writing to the preset physical address, and master-slave core read-write synchronization is achieved by cooperating with the state identifier information and the inter-core interrupt signal, ensuring data consistency and transmission efficiency. Attached Figure Description

[0015] Figure 1 A flowchart illustrating the real-time remote signaling acquisition method based on a fusion terminal provided by the present invention; Figure 2 This is a schematic diagram of the structure of the real-time remote signaling acquisition platform based on a fusion terminal provided by the present invention; Figure 3 This is a schematic diagram of the hardware structure of an electronic device provided by the present invention. Detailed Implementation

[0016] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0017] The terms "first," "second," "third," "fourth," etc. (if present) in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein.

[0018] It should be understood that in the various embodiments of the present invention, the sequence number of each process does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.

[0019] It should be understood that in this invention, "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion, for example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units that are explicitly listed, but may include other steps or units that are not explicitly listed or that are inherent to such process, method, product, or device.

[0020] It should be understood that in this invention, "multiple" refers to two or more. "And / or" is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "Contains A, B, and C", "Contains A, B, and C" means that all three A, B, and C are contained; "Contains A, B, or C" means that one of A, B, and C is contained; "Contains A, B, and / or C" means that any one, two, or three of A, B, and C are contained.

[0021] It should be understood that in this invention, "B corresponding to A", "B corresponding to A", "A and B correspond", or "B and A correspond" means that B is associated with A, and B can be determined based on A. Determining B based on A does not mean determining B solely based on A; B can also be determined based on A and / or other information. Matching A and B is defined as a similarity between A and B that is greater than or equal to a preset threshold.

[0022] Depending on the context, "if" as used here can be interpreted as "when," "when," "in response to determination," or "in response to detection."

[0023] The technical solution of the present invention will be described in detail below with reference to specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments.

[0024] This invention provides a real-time remote signaling acquisition method based on a converged terminal, such as... Figure 1 As shown, it includes: S1. The main processing core responds to the system startup information and configures the underlying hardware interface corresponding to the remote signaling input channel as a dedicated peripheral of the slave processing core, while building a cross-core shared storage area. S2. The processing core acquires the input level status based on the remote signaling input channel, and continuously collects the input level status to form a status sequence; S3. The processing core performs stability determination based on the state sequence, and generates state change event data when the state sequence meets the preset stability conditions. S4. Write the state change event data from the processing core to the cross-core shared storage area and send an inter-core notification signal to the main processing core, so that the main processing core can read the state change event data from the cross-core shared storage area and execute business processing.

[0025] It should be noted that the converged terminal is a core device in the power distribution network used for data acquisition, communication, and control. This invention implements remote signaling acquisition based on the AMP architecture. AMP is an asymmetric multiprocessing architecture, running a master processing core and a slave processing core on the same chip. The master processing core handles service processing, while the slave processing core handles real-time acquisition. The master processing core can be an application core running a Linux system, such as an ARM Cortex-A53; the slave processing core can be a real-time core running a bare-metal program or a real-time operating system, such as an ARM Cortex-M0. The processor used in the converged terminal can be an RK3562J chip that integrates an ARM Cortex-A53 master processing core and an ARM Cortex-M0 slave processing core.

[0026] The remote signaling input channel can be an input channel for receiving switch signals. For example, it could be an interface connecting to the auxiliary contacts of a pole-mounted circuit breaker, where the open / closed state of the auxiliary contacts reflects the closing and tripping states of the circuit breaker. The underlying hardware interface can be a pin on the chip used to receive the level signal from the remote signaling input channel, such as a GPIO pin. A dedicated peripheral can be a peripheral resource configured to be accessed only by the slave processing core. After the underlying hardware interface is configured as a dedicated peripheral for the slave processing core, the master processing core no longer directly accesses the underlying hardware interface; instead, it is monitored independently by the slave processing core.

[0027] The cross-core shared memory region is a memory area accessible to both the master and slave processing cores. It resides within a Double Data Rate Synchronous Dynamic Random Access Memory (DRAM) and has a fixed physical address. This region is used for data interaction and synchronization between the master and slave processing cores, who transfer data by reading and writing to it. Essentially, configuring the underlying hardware interface as a dedicated peripheral for the slave processing core and constructing the cross-core shared memory region isolates the master and slave processing cores in terms of hardware resources. This ensures that the remote signaling acquisition by the slave processing core is unaffected by the master processing core's system scheduling or interrupt preemption.

[0028] In S1, the converged terminal powers on and starts up. The main processing core responds to the system startup information and starts the operating system, while the slave processing core starts the real-time firmware. During startup, the main processing core configures the underlying hardware interface corresponding to the remote signaling input channel as a dedicated peripheral for the slave processing core and allocates a fixed physical address area in memory as a cross-core shared storage area. The slave processing core completes the initialization of the underlying hardware interface, including configuring the underlying hardware interface to input mode, enabling edge interrupts, setting anti-jitter parameters, and initializing the cross-core shared storage area. After completing the configuration, the main processing core no longer participates in the remote signaling acquisition process and only waits for inter-core notification signals.

[0029] In some embodiments, step S2 involves the processing core acquiring the input level state based on the remote signaling input channel and continuously acquiring the input level state to form a state sequence, including S21-S22: S21. Trigger the signal from the level change of the remote signaling input channel of the processing core response, record the current moment as the change time marker, and obtain the current input level status; S22. The processing core repeatedly samples the remote signaling input channel based on the periodic sampling mechanism, and aggregates the multiple input level states obtained by sampling in chronological order to form a state sequence.

[0030] It should be noted that the input level state can be the level value of the remote signaling input channel at a certain moment. For example, the input level state can be a high level state or a low level state, with a high level state corresponding to circuit breaker closing and a low level state corresponding to circuit breaker tripping. The level change trigger signal can be a trigger signal generated by the hardware edge interrupt mechanism of the underlying hardware interface. When the level of the remote signaling input channel changes, the hardware edge interrupt mechanism generates a level change trigger signal and notifies the slave processing core. The change time stamp can be the moment when the level changes. When the slave processing core responds to the level change trigger signal, it reads the current moment from the internal high-precision timer as the change time stamp.

[0031] The periodic sampling mechanism can be a mechanism that repeatedly samples the remote signaling input channel at fixed time intervals. The state sequence can be a sequence formed by arranging multiple input level states obtained from multiple repeated samplings in chronological order. In S22, after the processing core responds to the trigger signal of the level change, it starts the periodic sampling mechanism to repeatedly sample the remote signaling input channel, and aggregates the input level states obtained from each sampling in chronological order to form a state sequence.

[0032] In some embodiments, the re-sampling of the remote signaling input channel based on the periodic sampling mechanism in step S22 includes S221-S223: S221. The hardware edge triggering mechanism of the remote signaling input channel is shielded from the processing core, and an internal timer is started; S222. The processing core reads the current input level status of the remote signaling input channel multiple times consecutively according to the fixed time interval set by the internal timer; S223. When the processing core determines that the preset number of consecutive reads has been reached, it completes the repeated sampling of the remote signaling input channel.

[0033] It should be noted that the hardware edge-triggered mechanism can be a mechanism where the underlying hardware interface automatically generates an interrupt signal when a level transition occurs. In the S221, after the processing core responds to the level change trigger signal, the hardware edge-triggered mechanism of the remote signaling input channel is disabled to avoid repeated edge interrupts interfering with sampling during the sampling process. The internal timer can be a high-precision timer within the processing core, used to generate sampling cycles at fixed time intervals.

[0034] The fixed time interval can be the time interval between two adjacent samples set by the internal timer. For example, the fixed time interval could be 0.1 milliseconds. The number of consecutive reads can be the total number of consecutive samples required in the periodic sampling mechanism. For example, the number of consecutive reads could be 10.

[0035] In S222, the processing core reads the current input level state of the remote signaling input channel once every fixed time interval according to the fixed time interval generated by the internal timer, and obtains multiple input level states by reading multiple times in a row.

[0036] In S223, when the processing core determines that the number of input level states read has reached the preset number of consecutive reads, it completes the repeated sampling of the remote signaling input channel and aggregates the multiple input level states read continuously in time order to form a state sequence.

[0037] Through the above implementation, the present invention records the change time stamp and obtains the current input level state by triggering the level change of the remote signaling input channel of the processing core response. It shields the hardware edge triggering mechanism of the remote signaling input channel and starts an internal timer. It reads the current input level state multiple times continuously at fixed time intervals. When the preset number of consecutive reads is reached, it completes repeated sampling. It aggregates multiple input level states in chronological order to form a state sequence. By shielding the edge triggering and converting it to timer periodic sampling, the change confirmation process is not affected by edge jitter, thus improving the continuity and reliability of state sequence acquisition.

[0038] In some embodiments, step S3 involves the processing core performing a stability determination based on the state sequence, and generating state change event data when the state sequence meets a preset stability condition, including steps S31-S33: S31. The consistency of multiple input level states in the state sequence is compared and analyzed from the processing core; S32. When the multiple input level states remain consistent, the processing core determines that the state sequence meets the preset stability condition and determines that a physical shift has occurred. S33. Based on the physical displacement, the processing core encapsulates the channel identification information, displacement status, and displacement time stamp to generate state change event data.

[0039] It should be noted that consistency comparison analysis can be a process of determining whether multiple input level states in a state sequence have the same value.

[0040] In S31, the processing core compares the multiple input level states in the state sequence one by one to determine whether all the multiple input level states are the same. The preset stability condition can be that all the multiple input level states in the state sequence are consistent, for example, the signal is sampled continuously at a fixed time interval of 0.1ms and the sampled values ​​are the same for 10 consecutive times.

[0041] In S32, when multiple input level states are consistent, the processing core determines that the state sequence meets the preset stability condition and confirms that a real physical change has occurred in the remote signaling input channel; when multiple input level states are not consistent, the processing core determines that the state sequence does not meet the preset stability condition, confirms that the level change of the remote signaling input channel is jitter or interference, discards the current state sequence and returns to monitoring.

[0042] Physical change refers to the actual state change of the switching device corresponding to the remote signaling input channel, distinguished from brief level fluctuations caused by mechanical vibration or electromagnetic interference. Channel identification information can be the number used to identify the remote signaling input channel. For example, the channel identification information can be the interface number corresponding to the remote signaling input channel, such as 05. Change state can be the level state of the remote signaling input channel after the physical change. For example, the change state can be a low level state, corresponding to a circuit breaker tripping.

[0043] Among them, the status change event data can be a data frame encapsulated by channel identification information, change status, change time stamp and check code.

[0044] A checksum can be a verification value used to verify the integrity of data related to a status change event.

[0045] In S33, the processing core encapsulates the channel identification information, change status, change time stamp and check code according to the preset frame format based on the determined physical change, and generates state change event data.

[0046] Through the above implementation, the present invention performs consistency comparison on multiple input level states in the state sequence from the processing core. When multiple input level states are consistent, it is determined that the preset stability condition is met and a physical change has occurred. Based on the physical change, the channel identification information, change state, and change time stamp are encapsulated to generate state change event data. By performing multiple sampling consistency comparisons, the transient fluctuations in level caused by mechanical vibration and electromagnetic interference are eliminated, thereby improving the accuracy of physical change determination. Furthermore, the change time stamp and change state are encapsulated together to ensure the time accuracy and content integrity of the state change event data.

[0047] In some embodiments, step S4, in which the slave processing core writes the state change event data to the cross-core shared memory area and sends an inter-core notification signal to the master processing core, causes the master processing core to read the state change event data in the cross-core shared memory area and execute business processing, including S41-S43: S41. Write the state change event data from the processing core to the preset physical shared storage address area; S42. Update the status identification information in the shared storage area from the processing core; S43. Trigger an inter-core interrupt signal from the processing core to notify the main processing core to read event data.

[0048] It should be noted that the preset physical shared memory address range can be a fixed physical address range in the cross-core shared memory region used to store state change event data.

[0049] In S41, after generating state change event data from the processing core, the state change event data is directly written to a preset physical shared memory address area. The writing process directly operates on physical memory without any data transfer operations by the operating system. The status identification information can be flags in the shared memory area used to identify the data read / write status. For example, the status identification information can include a write completion flag and a read completion flag. A write completion flag of 1 indicates that the data writing from the processing core has been completed, and a read completion flag of 1 indicates that the main processing core has completed the data reading.

[0050] In S42, after the processing core finishes writing the state change event data, it updates the state flag information in the shared memory area and sets the write completion flag to a valid value, indicating that the data is ready. The inter-core interrupt signal can be a hardware interrupt signal triggered by the processing core to the master processing core, used to notify the master processing core that there is ready data in the cross-core shared memory area.

[0051] In S43, the interrupt controller inside the processing core operation chip triggers an inter-core interrupt signal to the main processing core. After the trigger is completed, the processing core returns to continue monitoring the remote signaling input channel.

[0052] In S4, the main processing core responds to the inter-core interrupt signal, suspends the current non-urgent task, reads the status change event data according to the preset physical shared memory address area, and updates the read completion flag in the status identification information. After reading the status change event data, the main processing core translates the data into a power grid standard protocol message, such as an IEC104 protocol message, and sends it to the dispatch center through the communication network to complete the service processing. While the main processing core is performing service processing, the slave processing core continues to execute the next round of remote signaling acquisition, with the main and slave processing cores working in parallel and non-blocking.

[0053] Through the above implementation, the present invention writes state change event data from the processing core to a preset physical shared storage address area, updates the state identifier information in the shared storage area, and triggers an inter-core interrupt signal to notify the main processing core to read the event data. Zero-copy data transmission is achieved by directly writing to the preset physical address, and master-slave core read-write synchronization is achieved by cooperating with the state identifier information and the inter-core interrupt signal, ensuring data consistency and transmission efficiency.

[0054] See Figure 2 This is a schematic diagram of the structure of the real-time remote signaling acquisition platform based on a fusion terminal provided by the present invention. The platform includes: The channel binding unit is used by the main processing core to execute the system startup process and perform dedicated binding configuration on the remote signaling input channel, while building a cross-core shared storage area; The acquisition unit is used to obtain the input level status from the processing core based on the remote signaling input channel, and to continuously acquire the input level status to form a state sequence; The determination unit is used to determine stability based on the state sequence and generate state change event data. The interaction unit is used to write state change event data to the cross-core shared storage area and send inter-core notification signals to the main processing core to trigger event data reading and business processing.

[0055] See Figure 3 This is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of the present invention. The electronic device 30 includes: a processor 31, a memory 32, and a computer program; wherein... The memory 32 is used to store the computer program, and the memory may also be flash memory. The computer program is, for example, an application program or functional module that implements the above method.

[0056] Processor 31 is configured to execute the computer program stored in the memory to implement the various steps performed by the device in the above method. For details, please refer to the relevant descriptions in the preceding method embodiments.

[0057] Alternatively, the memory 32 can be either standalone or integrated with the processor 31.

[0058] When the memory 32 is a device independent of the processor 31, the device may further include: Bus 33 is used to connect the memory 32 and the processor 31.

[0059] The present invention also provides a readable storage medium storing a computer program, which, when executed by a processor, is used to implement the methods provided in the various embodiments described above.

[0060] The readable storage medium can be a computer storage medium or a communication medium. A communication medium includes any medium that facilitates the transfer of computer programs from one location to another. A computer storage medium can be any available medium accessible to a general-purpose or special-purpose computer. For example, a readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application-Specific Integrated Circuit (ASIC). Alternatively, the ASIC can be located in a user equipment. Of course, the processor and the readable storage medium can also exist as discrete components in a communication device. The readable storage medium can be a read-only memory (ROM), random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device, etc.

[0061] The present invention also provides a program product including executable instructions stored in a readable storage medium. At least one processor of the device can read the executable instructions from the readable storage medium, and the at least one processor executes the executable instructions to cause the device to implement the methods provided in the various embodiments described above.

[0062] In the embodiments of the above-described device, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly manifested as execution by a hardware processor, or execution by a combination of hardware and software modules within the processor.

[0063] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.

Claims

1. A real-time remote signaling acquisition method based on a converged terminal, characterized in that, include: The main processing core responds to the system startup information and configures the underlying hardware interface corresponding to the remote signaling input channel as a dedicated peripheral for the slave processing core, while also building a cross-core shared storage area; The processing core acquires the input level status based on the remote signaling input channel and continuously collects the input level status to form a status sequence; The processing core performs stability determination based on the state sequence and generates state change event data when the state sequence meets the preset stability conditions. The processing core writes state change event data to the cross-core shared memory area and sends an inter-core notification signal to the main processing core, enabling the main processing core to read the state change event data in the cross-core shared memory area and execute business processing.

2. The method according to claim 1, characterized in that, The process of acquiring the input level state from the processing core based on the remote signaling input channel and continuously acquiring the input level state to form a state sequence includes: Trigger the signal from the level change of the remote signaling input channel of the processing core response, record the current moment as the change time marker, and obtain the current input level status; The processing core repeatedly samples the remote signaling input channel based on a periodic sampling mechanism, and aggregates the multiple input level states obtained from the sampling in chronological order to form a state sequence.

3. The method according to claim 2, characterized in that, The re-sampling of the remote signaling input channel based on the periodic sampling mechanism includes: The hardware edge-triggered mechanism of the remote signaling input channel is shielded from the processing core, and an internal timer is started; The processing core reads the current input level status of the remote signaling input channel multiple times consecutively according to a fixed time interval set by the internal timer; When the processing core determines that a preset number of consecutive reads has been reached, it completes the repeated sampling of the remote signaling input channel.

4. The method according to claim 2, characterized in that, The process core performs stability determination based on the state sequence, and generates state change event data when the state sequence meets preset stability conditions, including: The consistency of multiple input level states in the state sequence is compared and analyzed from the processing core. When the multiple input level states remain consistent, the processing core determines that the state sequence meets a preset stability condition and determines that a physical shift has occurred. Based on physical displacement, the processing core encapsulates the channel identification information, displacement status, and displacement time stamp to generate state change event data.

5. The method according to claim 1, characterized in that, The step of writing state change event data from the processing core to the cross-core shared memory area and sending an inter-core notification signal to the main processing core includes: The processing core writes state change event data to a preset physical shared storage address area; Update the status identification information in the shared storage area from the processing kernel; The processing core triggers an inter-core interrupt signal to notify the main processing core to read event data.

6. A real-time remote signaling acquisition platform based on a converged terminal, characterized in that, include: The channel binding unit is used by the main processing core to execute the system startup process and perform dedicated binding configuration on the remote signaling input channel, while building a cross-core shared storage area; The acquisition unit is used to obtain the input level status from the processing core based on the remote signaling input channel, and to continuously acquire the input level status to form a state sequence; The determination unit is used to determine stability based on the state sequence and generate state change event data. The interaction unit is used to write state change event data to the cross-core shared storage area and send inter-core notification signals to the main processing core to trigger event data reading and business processing.

7. An electronic device, characterized in that, include: The method comprises a memory, a processor, and a computer program, wherein the computer program is stored in the memory and the processor executes the computer program to perform the method according to any one of claims 1 to 5.

8. A storage medium, characterized in that, The storage medium stores a computer program, which, when executed by a processor, is used to implement the method described in any one of claims 1 to 5.