CN115866091B - Signal processing method and device, electronic equipment and storage medium - Google Patents

Signal processing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115866091B
CN115866091B CN202310043969.6A CN202310043969A CN115866091B CN 115866091 B CN115866091 B CN 115866091B CN 202310043969 A CN202310043969 A CN 202310043969A CN 115866091 B CN115866091 B CN 115866091B
Authority
CN
China
Prior art keywords
signal
receiving end
sending
type
protocol
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310043969.6A
Other languages
Chinese (zh)
Other versions
CN115866091A (en
Inventor
罗克清
朱永权
杜波
朱旭权
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Philisense Information Security Technology Co ltd
Original Assignee
Beijing Philisense Information Security Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Philisense Information Security Technology Co ltd filed Critical Beijing Philisense Information Security Technology Co ltd
Priority to CN202310043969.6A priority Critical patent/CN115866091B/en
Publication of CN115866091A publication Critical patent/CN115866091A/en
Application granted granted Critical
Publication of CN115866091B publication Critical patent/CN115866091B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present application relates to the field of signal processing technologies, and in particular, to a signal processing method, a device, an electronic apparatus, and a storage medium, where the method includes receiving a plurality of transmission signals, where the transmission signals are sent by a transmitting end device, and the transmission signals include information of the receiving end device; dividing a plurality of sending signals into a plurality of signal groups according to the receiving end equipment information, wherein the receiving end equipment information corresponding to at least one sending signal contained in each signal group is the same; integrating at least one transmitting signal in each signal group to obtain an integrated signal; and sending the integrated signal to the corresponding receiving end equipment. The method has the effects of reducing the operation pressure of the computer and improving the communication efficiency between devices.

Description

Signal processing method and device, electronic equipment and storage medium
Technical Field
The present disclosure relates to the field of signal processing technologies, and in particular, to a signal processing method, a signal processing device, an electronic device, and a storage medium.
Background
With the development of the internet of things technology, a plurality of devices can communicate by transmitting and receiving signals, but because the properties of the plurality of devices are different, the corresponding functions are also different, so that the type of the communicable signal corresponding to each device may also be different, for example, the signal sent by the remote control device is an infrared signal, the signal sent by the PLC (programmable logic controller) is a level signal, and in order to enable communication between different devices, after the sending end device sends the signal, the signal needs to be processed according to the receiving end device, so that the communication between the sending end device and the receiving end device is realized.
However, since the transmitting-end device and the receiving-end device are of a large variety, and each device type may include a plurality of devices, for example, the devices of the transport type may include trucks, trains, and planes, when there are a plurality of devices of the transmitting-end device and the receiving-end device and when communication is required between any devices, a computer is required to frequently recognize and forward each signal, the operation pressure of the computer may be increased, resulting in a reduction in the signal processing rate, and thus a delay may occur in communication between the devices.
Disclosure of Invention
In order to reduce the operation pressure of a computer and improve the communication efficiency between devices, the application provides a signal processing method, a signal processing device, an electronic device and a storage medium.
In a first aspect, the present application provides a signal processing method, which adopts the following technical scheme:
a signal processing method, comprising:
receiving a plurality of sending signals, wherein the sending signals are sent by sending terminal equipment, and the sending signals comprise receiving terminal equipment information;
dividing a plurality of sending signals into a plurality of signal groups according to the receiving end equipment information, wherein the receiving end equipment information corresponding to at least one sending signal contained in each signal group is the same;
Integrating at least one transmitting signal in each signal group to obtain an integrated signal;
and sending the integrated signal to corresponding receiving end equipment.
Through adopting above-mentioned technical scheme, through dividing a plurality of transmit signals according to receiving terminal equipment information, obtain a plurality of signal groups, the rethread is carried out the transmit signal in the signal group and is integrated and obtain integrated signal, through sending integrated signal to receiving terminal equipment, so that receiving terminal equipment receives a signal once, can accomplish at least one operation that the integrated signal corresponds, and not send the different transmit signal that send to same receiving terminal equipment alone, if send different transmit signal to receiving terminal equipment, need the computer to carry out frequent discernment and retransmission to each transmit signal, can increase the operating pressure of computer, thereby lead to signal processing rate reduction, and this application is through carrying out the integration with at least one transmit signal that sends to same receiving terminal equipment, in order to reduce the frequency of computer processing signal discernment and signal retransmission, so as to reduce the operating pressure of computer, thereby be convenient for improve the rate of computer to signal processing.
In one possible implementation manner, the integrating at least one transmission signal in each signal group to obtain an integrated signal includes:
Acquiring workflow information of the receiving end equipment from a work log according to receiving end equipment information corresponding to a sending signal in a signal group;
determining a workflow sequence of the receiving end equipment according to the workflow information, wherein the workflow sequence comprises a plurality of workflow nodes;
analyzing each sending signal in the signal group to obtain a corresponding processing node, and sequencing and integrating a plurality of sending signals in the signal group according to the workflow sequence to obtain an integrated signal.
By adopting the technical scheme, when a plurality of sending signals are received, the plurality of sending signals are obtained to correspond to the workflow information of the receiving end equipment, and the plurality of sending signals are sequenced according to the workflow information of the receiving end equipment, so that the receiving end equipment can orderly execute corresponding operations, the condition that the receiving end equipment is disordered in execution when executing the operations corresponding to the plurality of sending signals is reduced, the plurality of sending signals are integrated into an integrated signal, and the integrated signal is forwarded to the receiving end equipment, so that the times of identifying and forwarding the signals by a computer are reduced, and the working pressure of the computer is reduced.
In one possible implementation manner, the sorting and integrating the multiple sending signals in the signal group according to the workflow sequence to obtain an integrated signal further includes:
judging whether the receiving end equipment has an instant node according to the workflow information of the receiving end equipment, wherein a sending signal corresponding to the instant node needs to be forwarded at the first time;
when the instant node exists, the sending signal corresponding to the instant node is sent to the corresponding receiving end equipment.
By adopting the technical scheme, when the processing nodes corresponding to the plurality of transmission signals comprise the instant nodes, the transmission signals corresponding to the instant nodes are forwarded in time, instead of waiting for a period of time to reach the forwarding time and then forwarding, and losses caused by untimely signal processing are reduced by forwarding the transmission signals corresponding to the instant nodes in time.
In one possible implementation manner, the sending the integrated signal to the corresponding receiving end device further includes:
determining a receiving signal type of the receiving end equipment according to the receiving end equipment information, wherein the receiving signal type is used for representing a signal protocol type which can be received by the receiving end equipment, and the receiving signal type at least comprises one receiving signal type;
Matching the protocol type of each transmitted signal in the integrated signal with the signal protocol type, and if the protocol type is not matched with the signal protocol type, determining a target protocol conversion program from protocol conversion programs corresponding to at least one received signal type, wherein the protocol conversion program is used for converting the protocol of the signal;
carrying out protocol conversion on each transmission signal in the integrated signal to obtain a converted integrated signal, wherein the protocol type corresponding to each transmission signal in the converted integrated signal is matched with the signal protocol type of the receiving terminal equipment;
wherein sending the integrated signal to a corresponding receiving end device includes:
and sending the converted integrated signal to corresponding receiving end equipment.
By adopting the technical scheme, when the transmission signal is transmitted to the receiving end equipment, whether the protocol type of the transmission signal is consistent with the protocol type which can be received by the receiving end equipment is judged, and when the protocol type corresponding to the transmission signal is different from the protocol type which can be received by the receiving end equipment, the protocol type of the transmission signal is converted so that the receiving end equipment can identify the specific content of the transmission signal and execute corresponding operation according to the content, thereby being convenient for reducing the probability of property loss caused by misoperation.
In one possible implementation manner, the determining the target protocol conversion program from the protocol conversion programs corresponding to at least one received signal type includes:
acquiring processing information of each protocol conversion program, wherein the processing information comprises the quantity to be processed and the processing rate;
when the protocol conversion program comprises a plurality of protocol conversion paths, determining the number of passing points of each protocol conversion path and local processing efficiency, and determining the waiting processing duration of each protocol conversion program according to the number of the passing points and the local processing efficiency, wherein the local processing efficiency is the processing efficiency between adjacent passing points;
and determining the protocol conversion path with the shortest waiting processing time as a target protocol conversion program.
By adopting the technical scheme, the waiting processing time length of each protocol conversion program is determined, the target protocol conversion program is determined according to the processing time length, and the target protocol conversion program with the shortest waiting processing time length is selected to convert the protocol type of the transmitted signal, so that the rate of forwarding the signal is conveniently improved, and the communication efficiency between devices is conveniently improved.
In one possible implementation, the method further includes:
Detecting whether a signal path exists in a transmission signal or not, wherein the signal path is composed of a transmitting end device, a receiving end device and the target protocol conversion program;
and when the signal path exists, transmitting the transmission signal to receiving end equipment.
By adopting the technical scheme, after the transmission signal sent by the transmitting end equipment is received, whether the corresponding signal path exists or not can be judged, and when the signal path exists in the transmission signal, the transmission signal is directly forwarded to the receiving end equipment through the signal path, instead of repeatedly identifying the protocol type of the receiving end equipment and determining a protocol conversion program, the transmission signal is directly forwarded through the signal path, so that the processing efficiency of the transmission signal is conveniently improved.
In one possible implementation, the method further includes:
when the fact that a signal path does not exist in a sending signal is detected, judging whether similar equipment exists in the receiving end equipment according to receiving end equipment information included in the sending signal, wherein the similar equipment is equipment of the same type as the receiving end equipment;
if so, judging whether the similar equipment has a signal path, and transmitting the transmitting signal to corresponding receiving end equipment through the signal path of the similar equipment when the similar equipment has the signal path.
By adopting the technical scheme, when no signal path exists between the sending end equipment and the receiving end equipment, whether the receiving end equipment is similar equipment or not and whether the signal path exists between the sending end equipment and the similar equipment or not can be judged, when the receiving end equipment is similar equipment and the signal path exists between the sending end equipment and the similar equipment, a sending signal is forwarded to the similar equipment through the signal path and is forwarded to the receiving end equipment by the similar equipment, so that the steps and times of signal forwarding processing by a computer are reduced, namely the times of identifying and converting protocol types of the signal are reduced, and the pressure of the computer when the signal processing is performed is reduced.
In a second aspect, the present application provides a signal processing apparatus, which adopts the following technical scheme:
a signal processing apparatus comprising:
the receiving signal module is used for receiving a plurality of sending signals, wherein the sending signals are sent by sending terminal equipment, and the sending signals comprise receiving terminal equipment information;
the signal dividing module is used for dividing the plurality of sending signals into a plurality of signal groups according to the receiving end equipment information, wherein the receiving end equipment information corresponding to at least one sending signal contained in each signal group is the same;
The signal integration module is used for integrating at least one sending signal in each signal group to obtain an integrated signal;
and the signal sending module is used for sending the integrated signal to corresponding receiving end equipment.
Through adopting above-mentioned technical scheme, through dividing a plurality of transmit signals according to receiving terminal equipment information, obtain a plurality of signal groups, the rethread is carried out the transmit signal in the signal group and is integrated and obtain integrated signal, through sending integrated signal to receiving terminal equipment, so that receiving terminal equipment receives a signal once, can accomplish at least one operation that the integrated signal corresponds, and not send the different transmit signal that send to same receiving terminal equipment alone, if send different transmit signal to receiving terminal equipment, need the computer to carry out frequent discernment and retransmission to each transmit signal, can increase the operating pressure of computer, thereby lead to signal processing rate reduction, and this application is through carrying out the integration with at least one transmit signal that sends to same receiving terminal equipment, in order to reduce the frequency of computer processing signal discernment and signal retransmission, so as to reduce the operating pressure of computer, thereby be convenient for improve the rate of computer to signal processing.
In one possible implementation manner, the signal integrating module is specifically configured to, when integrating at least one transmission signal in each signal group to obtain an integrated signal:
acquiring workflow information of the receiving end equipment from a work log according to receiving end equipment information corresponding to a sending signal in a signal group;
determining a workflow sequence of the receiving end equipment according to the workflow information, wherein the workflow sequence comprises a plurality of workflow nodes;
analyzing each sending signal in the signal group to obtain a corresponding processing node, and sequencing and integrating a plurality of sending signals in the signal group according to the workflow sequence to obtain an integrated signal.
In one possible implementation, the apparatus further includes:
the instant judging module is used for judging whether the receiving end equipment has an instant node according to the workflow information of the receiving end equipment, and a transmitting signal corresponding to the instant node needs to be forwarded at the first time;
and the instant node execution module is used for transmitting a transmitting signal corresponding to the instant node to corresponding receiving end equipment when the instant node exists.
In one possible implementation, the apparatus further includes:
A receiving type determining module, configured to determine a receiving signal type of the receiving end device according to the receiving end device information, where the receiving signal type is used to characterize a signal protocol type that can be received by the receiving end device, and the receiving signal type includes at least one receiving signal type;
a determining conversion program module, configured to match a protocol type of each transmission signal in the integrated signal with the signal protocol type, and if not, determine a target protocol conversion program from the protocol conversion programs corresponding to at least one received signal type, where the protocol conversion program is configured to convert a protocol of the signal;
the protocol conversion module is used for carrying out protocol conversion on each transmission signal in the integrated signal to obtain a converted integrated signal, and the protocol type corresponding to each transmission signal in the converted integrated signal is matched with the signal protocol type of the receiving terminal equipment;
the signal sending module is specifically configured to, when sending the integrated signal to a corresponding receiving end device:
and sending the converted integrated signal to corresponding receiving end equipment.
In one possible implementation manner, the determining conversion program module is specifically configured to, when determining the target protocol conversion program from the protocol conversion programs corresponding to the at least one received signal type:
Acquiring processing information of each protocol conversion program, wherein the processing information comprises the quantity to be processed and the processing rate;
when the protocol conversion program comprises a plurality of protocol conversion paths, determining the number of passing points of each protocol conversion path and local processing efficiency, and determining the waiting processing duration of each protocol conversion program according to the number of the passing points and the local processing efficiency, wherein the local processing efficiency is the processing efficiency between adjacent passing points;
and determining the protocol conversion path with the shortest waiting processing time as a target protocol conversion program.
In one possible implementation, the apparatus further includes:
the signal path detection module is used for detecting whether a signal path exists in a transmission signal or not, and the signal path is composed of a transmitting end device, a receiving end device and the target protocol conversion program;
and the path forwarding module is used for sending the sending signal to the receiving terminal equipment through the signal path when the sending signal has the signal path.
In one possible implementation, the apparatus further includes:
the same-type equipment determining module is used for judging whether the same-type equipment exists in the receiving end equipment according to the receiving end equipment information included in the sending signal when the sending signal is detected to have no signal path, wherein the same-type equipment is the same-type equipment as the receiving end equipment;
And the similar forwarding module is used for judging whether the similar equipment has a signal path when the similar equipment exists in the receiving end equipment, and transmitting the transmitting signal to the corresponding receiving end equipment through the signal path of the similar equipment when the similar equipment has the signal path.
In a third aspect, the present application provides an electronic device, which adopts the following technical scheme:
an electronic device, the electronic device comprising:
at least one processor;
a memory;
at least one application, wherein the at least one application is stored in memory and configured to be executed by at least one processor, the at least one application configured to: the method of signal processing described above is performed.
In a fourth aspect, the present application provides a computer readable storage medium, which adopts the following technical scheme:
a computer-readable storage medium, comprising: a computer program capable of being loaded by a processor and executing the above-described signal processing method is stored.
In summary, the present application includes at least one of the following beneficial technical effects:
1. the method comprises the steps of dividing a plurality of sending signals according to receiving end equipment information to obtain a plurality of signal groups, integrating the sending signals in the signal groups to obtain an integrated signal, sending the integrated signal to the receiving end equipment to enable the receiving end equipment to receive the signal once, and completing at least one operation corresponding to the integrated signal instead of independently sending different sending signals sent to the same receiving end equipment.
2. The method comprises the steps of determining the waiting processing time length of each protocol conversion program, determining the target protocol conversion program according to the processing time length, and converting the protocol type of a transmitted signal by selecting the target protocol conversion program with the shortest waiting processing time length, so that the rate of forwarding the signal is conveniently improved, and the communication efficiency between devices is conveniently improved.
Drawings
Fig. 1 is a schematic flow chart of a signal processing method in an embodiment of the present application;
FIG. 2 is a schematic diagram of device communication in an embodiment of the present application;
fig. 3 is a schematic structural diagram of a signal processing device in an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device in an embodiment of the present application.
Detailed Description
The present application is described in further detail below in conjunction with figures 1-4.
Modifications of the embodiments which do not creatively contribute to the invention may be made by those skilled in the art after reading the present specification, but are protected by patent laws only within the scope of claims of the present application.
For the purposes of making the objects, technical solutions and advantages of the embodiments of the present application more clear, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be made by one of ordinary skill in the art based on the embodiments herein without making any inventive effort, are intended to be within the scope of the present application.
In order to reduce the operation pressure of a computer and improve the communication efficiency between devices, in this embodiment, a plurality of signal groups are obtained by dividing a plurality of transmission signals according to the information of the receiving end device, and then the transmission signals in the signal groups are integrated to obtain an integrated signal, and by transmitting the integrated signal to the receiving end device, so that the receiving end device receives a signal once, at least one operation corresponding to the integrated signal can be completed, instead of separately transmitting different transmission signals transmitted to the same receiving end device, if the different transmission signals are transmitted to the receiving end device, the computer is required to frequently identify and forward each transmission signal, which may increase the operation pressure of the computer, thereby resulting in a reduction in the signal processing rate.
Specifically, the embodiment of the application provides a signal processing method, which is executed by an electronic device, where the electronic device may be a server or a terminal device, and the server may be an independent physical server, a server cluster or a distributed system formed by a plurality of physical servers, or a cloud server that provides cloud computing service. The terminal device may be a smart phone, a tablet computer, a notebook computer, a desktop computer, etc., but is not limited thereto, and the terminal device and the server may be directly or indirectly connected through a wired or wireless communication manner, which is not limited herein.
Referring to fig. 1, fig. 1 is a flowchart of a signal processing method according to an embodiment of the present application, where the method includes step S110, step S120, step S130, and step S140, where:
step S110: and receiving a plurality of transmission signals, wherein the transmission signals are sent out by the transmitting end equipment, and the transmission signals comprise receiving end equipment information.
Specifically, the complete communication process at least includes a transmitting end device and a receiving end device, the transmitting end device sends a transmitting signal, the receiving end device receives the transmitting signal, so as to establish a connection between the transmitting end device and the receiving end device, when there are multiple transmitting end devices and receiving end devices, one transmitting end device can send transmitting information to multiple receiving end devices, and one receiving end device can also receive the transmitting signals sent by the multiple transmitting end devices. As shown in fig. 2, in a certain manufacturing plant, the sending end device may be a terminal device corresponding to an engineer station end, a terminal device corresponding to a configuration server end, a terminal device corresponding to a WEB server end, and a terminal device corresponding to an application server end; the receiving end device may be a terminal device corresponding to the acquisition substation, a terminal device corresponding to the transport means, a numerical control machine, a PLC, a water pump, and a sensor, and the electronic device may be a plurality of transmission signals received simultaneously, or may receive a plurality of transmission signals within a preset time period, where the preset time period is not specifically limited in the embodiment of the present application, and the specific preset time period may be input by a user.
Because the protocols of the sending or receiving signals corresponding to different devices are different, if the sending signals received by the receiving end device are different from the protocol types of the signals which can be checked by the receiving end device, the content of the sending signals may be leaked, for example, the protocol type of the sending signals sent by the receiving end device is A, the protocol type of the sending signals which can be received by the receiving end device is B, if the receiving end device can receive the complete sending signals, the sending signals with the protocol type of A need to be converted into the sending signals with the protocol type of B, and then the sending signals are forwarded to the receiving end device, so that the sending end device can be received by the electronic device after sending the sending signals, and the electronic device can perform protocol type conversion on the sending signals according to the protocol type which can be received by the receiving end device.
Step S120: and dividing the plurality of sending signals into a plurality of signal groups according to the receiving end equipment information, wherein the receiving end equipment information corresponding to at least one sending signal contained in each signal group is the same.
Specifically, since each transmission signal includes the information of the receiving end device, after the electronic device receives the plurality of transmission signals, the plurality of transmission signals can be classified according to the information of the receiving end device to form a plurality of signal groups, at least one transmission signal forms a signal group, and the receiving end devices corresponding to the transmission signals in the same signal group are the same. For example, a receiving end device corresponding to the transmission signal 1 sent by the transmitting end device 1 is a device a; the receiving end equipment corresponding to the sending signal 2 sent by the sending end equipment 2 is equipment a; the receiving end equipment corresponding to the sending signal 3 sent by the sending end equipment 3 is equipment a; and the receiving end equipment corresponding to the sending signal 4 sent by the sending end equipment 4 is equipment b, and the sending signal 1, the sending signal 2, the sending signal 3 and the sending signal 4 are divided into two signal groups according to the receiving end equipment corresponding to each sending signal, wherein one signal group comprises the sending signal 1, the sending signal 2 and the sending signal 3, the receiving end equipment corresponding to the signal group is equipment a, the other sending signal group is the sending signal 4, and the receiving end equipment corresponding to the signal group is equipment b.
Step S130: and integrating at least one transmitting signal in each signal group to obtain an integrated signal.
Step S140: and sending the integrated signal to the corresponding receiving end equipment.
Specifically, the integrated signal is a signal group with an execution sequence, for example, the receiving end device is a numerically-controlled machine tool, the multiple sending signals in the signal group include a start signal, a feeding signal, a cleaning machine tool signal and a self-checking signal, after the multiple sending signals are sent to the numerically-controlled machine tool at the same time, the numerically-controlled machine tool may randomly execute one of the sending signals, the randomly executing sending signals may cause the numerically-controlled machine tool to execute confusion, for example, according to practical operation experience, it may be determined that the feeding operation needs to be executed after the numerically-controlled machine tool is started, if the numerically-controlled machine tool randomly executes any one of the multiple sending signals, it may cause the operation corresponding to the feeding signal to be executed first, then execute the operation corresponding to the start signal, at this time, the multiple sending signals may be integrated, that is, i.e. the multiple sending signals are ordered according to a normal working flow of the receiving end device, after receiving the multiple sending signals are received, the receiving end device can work according to the normal working flow.
The method comprises the steps of integrating a plurality of sending signals, integrating the plurality of sending signals according to the process flow of receiving end equipment, converting the protocol types corresponding to the plurality of sending signals into the protocol types acceptable by the receiving end equipment, and after integrating the plurality of sending signals, determining the protocol types acceptable by the receiving end equipment once, namely converting the protocol types corresponding to all sending signals in a signal group without identifying and determining the protocol types acceptable by the receiving end equipment when forwarding each sending signal.
For the embodiment of the application, a plurality of sending signals are divided according to the information of the receiving end equipment to obtain a plurality of signal groups, then sending signals in the signal groups to be integrated to obtain integrated signals, sending the integrated signals to the receiving end equipment to enable the receiving end equipment to receive signals once, at least one operation corresponding to the integrated signals can be completed, instead of sending different sending signals sent to the same receiving end equipment independently, if different sending signals are sent to the receiving end equipment, a computer is required to frequently identify and forward each sending signal, the operation pressure of the computer can be increased, so that the signal processing rate is reduced.
In order to reduce the working pressure of the computer in the process of identifying and forwarding signals, the step S130 of integrating at least one transmission signal in each signal group to obtain an integrated signal may specifically include a step S1301 (not shown in the drawing), a step S1302 (not shown in the drawing), and a step S1303 (not shown in the drawing), where:
step S1301: and acquiring the workflow information of the receiving end equipment from the work log according to the receiving end equipment information corresponding to the sending signals in the signal group.
Specifically, each receiving end device corresponds to a work log, and the work log of the receiving end device is used for recording the work flow of the receiving end device, for example, when the receiving end device is a numerical control machine tool, the work flow and the operation time of the numerical control machine tool are recorded in the work log corresponding to the numerical control machine tool, and the work log of each receiving end device is conveniently obtained through the information of the receiving end device, so that the work flow corresponding to each receiving end device is conveniently determined.
Step S1302: and determining a workflow sequence of the receiving end equipment according to the workflow information, wherein the workflow sequence comprises a plurality of workflow nodes.
Specifically, the workflow information includes the working content of the receiving end device in the running process, the workflow sequence is the corresponding execution flow when the working content is completed, the execution flow is formed by a plurality of workflow nodes, for example, when the receiving end device is a water pump, the workflow sequence of the water outlet pump is determined to be the inspection of the water pump and the motor according to the workflow information, the water pump is restarted, the flow of the water pump is regulated after the water pump normally operates, the water pump is detected at regular time in the working process of the water pump, the water pump is closed after the water pump is completed, the water pump is overhauled at last, and the plurality of workflow nodes in the workflow sequence of the water pump are as follows: the first node is used for checking the water pump and the motor; a second node starts a water pump; node three, adjust the water pump flow; a fourth node overhauls regularly; a fifth node, closing the water pump; and six, overhauling the water pump.
Step S1303: analyzing each sending signal in the signal group to obtain a corresponding processing node, and sequencing and integrating a plurality of sending signals in the signal group according to the workflow sequence to obtain an integrated signal.
Specifically, the sending signal includes specific content of the sending information besides the receiving end equipment information, and text recognition is performed on the specific content of the sending information so as to determine the processing node corresponding to the sending information. After the specific content of the sending information is obtained, performing sentence segmentation on the sending information, namely performing sentence segmentation on the obtained specific content of the sending information, wherein the sentence segmentation mode at least comprises any one of the following steps: the specific word segmentation processing mode is not specifically limited in the embodiment of the present application, for example, the jieba library can be used for sentence segmentation, and the jieba library has three word segmentation modes, namely, an accurate mode, a full mode and a search engine mode, in the embodiment of the present application, the accurate mode can be used, that is, a section of text is accurately cut into a plurality of Chinese words, and the plurality of Chinese words are combined to accurately restore the text into the previous text, wherein no redundant word exists.
After the concrete content of the sending signals is cut, semantic recognition is carried out on each sentence to determine the semantic meaning corresponding to each sentence, the central sentence corresponding to each sending signal is conveniently determined according to the semantic meaning, the processing node corresponding to each sending signal is conveniently determined through the central sentence, each processing node corresponds to the processing node description, the central sentence of the sending signals is matched with the processing node description, if the similarity is higher than a preset threshold, the central sentence representing the sending signals is similar to the processing node description, and the sending signals are determined to correspond to the processing nodes.
After determining the processing node corresponding to each sending signal, sequencing the sending signals according to the sequence of each processing node in the workflow sequence, integrating the sending signals according to the sequencing result, wherein the integrated signals comprise the specific contents of the sending signals.
For the embodiment of the application, when a plurality of sending signals are received, the plurality of sending signals are acquired to correspond to the workflow information of the receiving end equipment, and the plurality of sending signals are sequenced according to the workflow information of the receiving end equipment, so that the receiving end equipment can orderly execute corresponding operations, the condition that the receiving end equipment is disordered in execution when executing the operations corresponding to the plurality of sending signals is reduced, the plurality of sending signals are integrated to an integrated signal, and then the integrated signal is forwarded to the receiving end equipment, so that the times of identifying and forwarding the signals by a computer are reduced, and the working pressure of the computer is reduced.
Further, in step S1303, the plurality of transmission signals in the signal group are sequentially integrated according to the workflow sequence to obtain an integrated signal, and step Sa1 (not shown in the drawing) and step Sa2 (not shown in the drawing) are further included before, where:
step Sa1: and judging whether the receiving end equipment has an instant node according to the workflow information of the receiving end equipment, wherein a transmitting signal corresponding to the instant node needs to be forwarded at the first time.
Specifically, the workflows corresponding to different receiving end devices are different, a plurality of processing nodes exist in the workflows, and whether the processing nodes need to execute immediately after sending signals or not is conveniently determined according to the working contents corresponding to the processing nodes.
For example, when the receiving end device is a numerical control machine tool, the transmitting end device is an engineer station, the specific content of the transmitted signal is a changed drawing, the engineer station may send the changed drawing obtained by performing data change after the related engineer identifies that the deviation occurs in the design content of the product, or may be newly uploaded by a client according to the requirement of the client, and the changed drawing is the work of the numerical control machine tool which needs to be processed in the first time because the drawing relates to the manufacture of the product. Each receiving terminal device is correspondingly provided with at least one instant node, and the instant nodes can be determined according to historical experience or according to actual conditions by a user.
Step Sa2: when the instant node exists, the sending signal corresponding to the instant node is sent to the corresponding receiving terminal equipment.
Specifically, when the sending information corresponding to the instant node is detected, the sending information is forwarded in time.
In this embodiment of the present application, if the processing node corresponding to the received transmission signal is an immediate node, the transmission signal is forwarded after the signal is integrated without reaching a preset duration, for example, in general cases, the received transmission signal is processed once every 5 minutes, when the receiving end device is a numerical control machine tool, and when the received multiple transmission signals include updated drawing nodes, that is, include the immediate node, the transmission signal corresponding to the immediate node is not forwarded after waiting for 5 minutes to finish, but the corresponding transmission signal is forwarded immediately, if the numerical control machine tool cannot timely produce a product according to the modified drawing, the product may be wasted, and other non-immediate nodes correspond to the transmission signal, for example, the timing cleaning numerical control machine tool, the timing maintenance numerical control machine tool, and the like may be processed after waiting slightly.
For the embodiment of the application, when the processing nodes corresponding to the plurality of sending signals include the instant node, the sending signals corresponding to the instant node are forwarded in time, instead of waiting for a period of time to reach the forwarding time and then forwarding, and losses caused by untimely signal processing are reduced by forwarding the sending signals corresponding to the instant node in time.
Further, in order to facilitate the receiving end device to receive the complete transmission signal, step S140 transmits the integrated signal to the corresponding receiving end device, and further includes step Sb1 (not shown in the drawing), step Sb2 (not shown in the drawing) and step Sb3 (not shown in the drawing), wherein:
step Sb1: and determining the type of a received signal of the receiving end equipment according to the information of the receiving end equipment, wherein the type of the received signal is used for representing the type of a signal protocol which can be received by the receiving end equipment.
Wherein the received signal type includes at least one.
Specifically, before transmitting the transmission signal to the receiving end device, it is required to determine whether the protocol type of the transmission signal is consistent with the protocol type that the receiving end device can accept, if not, the transmission signal is required to perform signal protocol conversion according to the protocol type that the receiving end device can receive, so that the receiving device can identify the content of the transmission signal, and execute corresponding operation according to the content.
The protocol types corresponding to signals that can be received and output by different devices are different, for example, the signal protocol types that can be received by a PLC (programmable logic controller) are a digital input signal and an analog input signal, but the output signal is a level signal, and if the protocol type corresponding to the input signal is different from the protocol type corresponding to the signal that can be received, insufficient signal content reception may be caused, and thus execution errors may be caused.
The sending signal comprises receiving end equipment information, the type of the signal which can be received by the receiving end equipment can be conveniently determined through the receiving end equipment information, namely, the protocol type corresponding to the signal which can be received can be conveniently determined through the corresponding relation between the receiving end equipment information slave equipment and the type, and the type of the signal which can be received by the receiving end equipment can be conveniently determined through the corresponding relation between the equipment and the type, wherein the corresponding relation between the equipment and the type can be determined according to historical received signal data.
Step Sb2: and matching the protocol type of each transmitted signal in the integrated signal with the signal protocol type, and if the protocol type is not matched with the signal protocol type, determining a target protocol conversion program from the protocol conversion programs corresponding to at least one received signal type.
The protocol conversion program is used for converting the protocol of the signal.
Step Sb3: and carrying out protocol conversion on each transmission signal in the integrated signal to obtain a converted integrated signal, wherein the protocol type corresponding to each transmission signal in the converted integrated signal is matched with the signal protocol type of the receiving end equipment.
Specifically, the integrated signal is formed by a plurality of transmission signals, and since each transmission signal is sent by a corresponding transmitting end device, the protocol types corresponding to the plurality of transmission signals may be different. The protocol conversion program is used for converting the protocol types, if the protocol types which can be received by the receiving end device are C types, the protocol types of the two sending signals contained in the integrated signal are A types and B types respectively, and because the protocol types are different, the protocol types of the two sending signals in the integrated signal need to be converted into the protocol types which can be received by the receiving end device, namely, the protocol types are converted into C types, and the protocol types are converted from A types into C types, and are different from the protocol conversion program which is converted from B types into C types, so that when the target conversion program is determined, the protocol types corresponding to the sending information sent by the receiving end and the protocol types which can be received by the receiving end are determined together.
When there are multiple protocol types receivable by the receiving end device, the transmitting signal can be converted into any receivable protocol type and then forwarded, instead of converting all the protocol types of the transmitting signal by one protocol conversion program, so as to facilitate increasing the rate of processing the signal types, for example, the receiving end device can receive the protocol types A, B and C, if the type corresponding to the transmitting signal is A, B or C, the transmitting signal can be directly forwarded, and if the type corresponding to the transmitting signal is X other than A, B, C, the protocol type corresponding to the transmitting signal is converted into any one of A, B, C, and then the transmitting signal is converted.
Wherein, step S140 sends the integrated signal to the corresponding receiving end device, including step S1401 (not shown in the drawings), wherein:
step S1401: and sending the converted integrated signal to corresponding receiving end equipment.
Specifically, the integrated signal after protocol conversion has the same protocol type as the signal that can be received by the receiving end device, so that the receiving end device can receive the whole content of the transmitted signal.
For the embodiment of the application, when the sending signal is sent to the receiving end device, whether the protocol type of the sending signal is consistent with the protocol type which can be received by the receiving end device is judged first, and when the protocol type corresponding to the sending signal is different from the protocol type which can be received by the receiving end device, the protocol type of the sending signal is converted so that the receiving end device can identify the specific content of the sending signal and execute corresponding operation according to the content, thereby being convenient for reducing the probability of property loss caused by misoperation.
Further, in order to improve accuracy of determining the target protocol conversion procedure, the determining the target protocol conversion procedure in step Sb2 from the protocol conversion procedures corresponding to at least one received signal type may specifically include step Sc1 (not shown in the drawing), step Sc2 (not shown in the drawing), and step Sc3 (not shown in the drawing), where:
step Sc1: processing information of each protocol conversion program is obtained, wherein the processing information comprises the quantity to be processed and the processing rate.
Specifically, there are multiple protocol conversion programs in the electronic device, each protocol conversion program can convert the protocol type of the transmitted signal, the result of the conversion of different protocol conversion programs is different, for example, the conversion program for converting the class a protocol into the class B protocol is different from the conversion program for converting the class a protocol into the class C protocol, although the types of the protocols corresponding to the signals capable of being transmitted and received corresponding to different devices are different, the types of the commonly used signals may be the same, for example, the sensor and the PLC can both receive analog signals, so that when the protocol conversion program is utilized, the busy degree of the different protocol conversion programs is different, the number of protocol conversion programs needed to be performed is more, and the number of protocol conversion programs needed to be performed is less.
For example, the type of the protocol corresponding to the transmission signal 1 sent by the transmitting end device 1 is a type, the type of the protocol corresponding to the transmission signal 2 sent by the transmitting end device 2 is a type, the type of the protocol corresponding to the transmission signal 3 sent by the transmitting end device 2 is a type B, and the type of the protocol corresponding to the receiving end device can be received by the receiving end device is a type C, so that the transmission signal 1, the transmission signal 2 and the transmission signal 3 all need to be subjected to protocol conversion, at this time, according to the type of the protocol sent by the transmitting end and the type of the protocol received by the receiving end, the corresponding target protocol conversion program is selected to be a-to-C, and B-to-C, since the protocol conversion program can only process one protocol conversion operation at a time, and the target protocol conversion programs required to be passed by the transmitting end device 1 and the transmitting end device 2 are the same, when the transmitting end device 1 performs protocol conversion, the transmitting end device 2 may need to wait, at this time, the number of waiting for processing of the target protocol conversion program a-to-C is 1, and the processing efficiency is the time required for converting the protocol type a to the protocol type to be C.
Step Sc2: when the protocol conversion program comprises a plurality of protocol conversion paths, determining the number of passing points of each protocol conversion path and local processing efficiency, and determining the waiting processing duration of each protocol conversion program according to the number of the passing points and the local processing efficiency, wherein the local processing efficiency is the processing efficiency between adjacent passing points.
Specifically, the protocol conversion path is a protocol conversion subroutine included in the protocol conversion program, for example, in the protocol conversion program a to C, a class a protocol can be directly converted into a class C protocol, or a class a protocol can be converted into a class B protocol, and then the class B protocol is converted into a class C protocol, where the class a protocol is directly converted into the class C protocol, the class a protocol is converted into the class B protocol, and then the class B protocol is converted into the class C protocol, which belongs to the protocol conversion path of the protocol conversion program, that is, all belongs to the protocol conversion subroutine. The passing points in the protocol conversion path are conversion positions required to pass from the input protocol type to the output protocol type, wherein the A-type protocol is converted into the B-type protocol, and then the B-type protocol is converted into the C-type protocol in a protocol conversion subprogram, the number of the passing points is 2, the local processing efficiency is the processing efficiency of converting the A-type protocol into the B-type protocol, and the processing efficiency of converting the B-type protocol into the C-type protocol, so that the waiting processing time length is convenient to determine according to the number of the passing points and the processing efficiency. When selecting from a plurality of protocol conversion paths, determining according to the waiting processing duration of each protocol conversion path.
Step Sc3: and determining the protocol conversion path with the shortest waiting processing time as a target protocol conversion program.
Specifically, the waiting time lengths corresponding to the protocol conversion paths are sequenced, and the protocol conversion path with the shortest waiting time length is determined according to the sequencing result.
For the embodiment of the application, the waiting processing time length of each protocol conversion program is determined, the target protocol conversion program is determined according to the processing time length, and the target protocol conversion program with the shortest waiting processing time length is selected to convert the protocol type of the transmitted signal, so that the rate of forwarding the signal is conveniently improved, and the communication efficiency between devices is conveniently improved.
Further, in order to increase the rate of processing the transmission signal, the embodiment of the present application further includes a step Sd1 (not shown in the drawings) and a step Sd2 (not shown in the drawings), where:
step Sd1: and detecting whether a signal path exists in the transmission signal or not, wherein the signal path is composed of a transmitting end device, a receiving end device and a target protocol conversion program.
Specifically, the signal path is a channel through which a transmission signal sent by the transmitting end device is directly forwarded to the receiving end device, for example, the transmitting end device 1 sends the transmission signal to the receiving end device 1 for the first time, and a protocol type that the receiving end device 1 can receive is different from a protocol type of the transmission signal, so when the transmission signal is forwarded to the receiving end device 1, a target protocol conversion program needs to be determined from a plurality of protocol conversion programs, and then the protocol type of the transmission signal is converted into a protocol type that the receiving end device can receive by the target protocol conversion program, and at this time, the transmitting end device 1, the target protocol conversion program and the receiving end device 1 form the signal path.
Step Sd2: when the transmission signal has a signal path, the transmission signal is transmitted to the receiving-end device through the signal path.
Specifically, the transmission signal includes the transmission end device information and the receiving end device information, each transmission information is bound with the corresponding signal path, and whether the signal path exists in the transmission signal can be determined through the transmission signal. For example, the transmitting end device 1, the target protocol conversion program, and the receiving end device 1 constitute a signal path, and when the transmitting end device 1 needs to send a transmission signal to the receiving end device 1 again, it is not necessary to determine the type of protocol that the receiving end can receive, and it is not necessary to determine the target protocol conversion program from among the plurality of protocol conversion programs, and forward the transmission signal according to the signal path corresponding to the transmission signal.
For the embodiment of the application, after receiving the transmission signal sent by the transmitting end device, whether the transmission signal has a corresponding signal path or not can be judged, when the transmission signal has the signal path, the transmission signal is directly forwarded to the receiving end device through the signal path, instead of repeatedly identifying the protocol type of the receiving end device and determining a protocol conversion program, the transmission signal is directly forwarded through the signal path, and the efficiency of processing the transmission signal is conveniently improved.
Further, the signal processing method provided in the embodiment of the present application further includes a step Sd3 (not shown in the drawing) and a step Sd4 (not shown in the drawing), where:
step Sd3: when the fact that the signal path does not exist in the sending signal is detected, judging whether the receiving end equipment has the same type of equipment according to the receiving end equipment information included in the sending signal, wherein the same type of equipment is the same type of equipment as the receiving end equipment.
Specifically, there may be a plurality of receiving end devices of the same type, for example, the receiving end devices of the transport means type may be trucks, trains or planes, where the trains and the planes are similar devices of the trucks, and the protocol types of signals that can be received by the receiving end devices of the same type are the same, for example, after receiving a transmission signal, it may be known from the information of the transmitting end device and the information of the receiving end device contained in the transmission signal that the transmitting end device is device 1, the receiving end device is device 2, and the device 1 and the device 2 are in first communication, so that the transmission signal does not have a signal path, and at this time, it may be determined whether the device 2 has similar devices according to a device division relationship, where the device division relationship includes all the transmitting end devices and type plans thereof, and all the receiving end devices and type plans thereof, and it is convenient to determine whether the transmitting end device or the receiving end device has similar devices through the device division relationship.
Step Sd4: if the receiving end equipment has the same type of equipment, judging whether the same type of equipment has a signal path, and when the same type of equipment has the signal path, transmitting a transmitting signal to the corresponding receiving end equipment through the signal path of the same type of equipment.
Specifically, the manner of judging whether the similar devices have signal paths is the same as the manner of judging whether the sending end device has signal paths or not, for example, the sending end device 1 needs to send a sending signal to the receiving end device 2, but since the sending end device 1 sends sending information to the receiving end device 2 for the first time, there is no signal path between the sending end device 1 and the receiving end device 2, at this time, it is determined that the receiving end device 2 has the same type of device 3 through a device division relationship, and a signal path a exists between the sending end device 1 and the same type of device 3, at this time, the sending signal can be forwarded to the same type of device 3, and then the sending signal can be forwarded to the receiving end device 2 through the same type of device 3.
For the embodiment of the application, when no signal path exists between the sending end equipment and the receiving end equipment, whether the receiving end equipment has the same type of equipment and whether the receiving end equipment has the same type of equipment or not can be judged, when the receiving end equipment has the same type of equipment and the signal path exists between the sending end equipment and the similar type of equipment, a sending signal is forwarded to the same type of equipment through the signal path and is forwarded to the receiving end equipment by the same type of equipment, so that the steps and times of signal forwarding of a computer processing are reduced, namely the times of identifying and converting protocol types of the signal are reduced, and the pressure of the computer when the signal processing is carried out is reduced.
The above-described embodiments describe a signal processing method from the viewpoint of a method flow, and the following embodiments describe a signal processing apparatus from the viewpoint of a virtual module or a virtual unit, which is described in detail in the following embodiments.
The embodiment of the present application provides a signal processing apparatus, as shown in fig. 3, the apparatus may specifically include a signal receiving module 310, a signal dividing module 320, a signal integrating module 330, and a signal sending module 340, where:
A receiving signal module 310, configured to receive a plurality of sending signals, where the sending signals are sent by a sending end device, and the sending signals include receiving end device information;
the signal dividing module 320 is configured to divide the plurality of sending signals into a plurality of signal groups according to the receiving end device information, where at least one sending signal included in each signal group corresponds to the same receiving end device information;
the signal integration module 330 is configured to integrate at least one transmission signal in each signal group to obtain an integrated signal;
the signal sending module 340 is configured to send the integrated signal to a corresponding receiving end device.
In one possible implementation manner, the signal integration module 330 is specifically configured to, when integrating at least one transmission signal in each signal group to obtain an integrated signal:
acquiring workflow information of the receiving end equipment from the work log according to the receiving end equipment information corresponding to the sending signals in the signal group;
determining a workflow sequence of the receiving end equipment according to the workflow information, wherein the workflow sequence comprises a plurality of workflow nodes;
analyzing each sending signal in the signal group to obtain a corresponding processing node, and sequencing and integrating a plurality of sending signals in the signal group according to the workflow sequence to obtain an integrated signal.
In one possible implementation, the apparatus further includes:
the instant judging module is used for judging whether the receiving end equipment has an instant node according to the workflow information of the receiving end equipment, and a transmitting signal corresponding to the instant node needs to be forwarded at the first time;
and the instant node execution module is used for transmitting a transmitting signal corresponding to the instant node to corresponding receiving end equipment when the instant node exists.
In one possible implementation, the apparatus further includes:
the receiving type determining module is used for determining a receiving signal type of the receiving end equipment according to the receiving end equipment information, wherein the receiving signal type is used for representing a signal protocol type which can be received by the receiving end equipment, and the receiving signal type at least comprises one receiving signal type;
a determining conversion program module, configured to match a protocol type of each transmission signal in the integrated signal with a signal protocol type, and if not, determine a target protocol conversion program from a protocol conversion program corresponding to at least one received signal type, where the protocol conversion program is configured to convert a protocol of the signal;
the protocol conversion module is used for carrying out protocol conversion on each transmission signal in the integrated signal to obtain a converted integrated signal, and the protocol type corresponding to each transmission signal in the converted integrated signal is matched with the signal protocol type of the receiving end equipment;
The signal sending module 340 is specifically configured to, when sending the integrated signal to the corresponding receiving end device:
and sending the converted integrated signal to corresponding receiving end equipment.
In one possible implementation manner, the determining conversion program module is specifically configured to, when determining the target protocol conversion program from the protocol conversion programs corresponding to the at least one received signal type:
acquiring processing information of each protocol conversion program, wherein the processing information comprises the quantity to be processed and the processing rate;
when the protocol conversion program comprises a plurality of protocol conversion paths, determining the number of passing points and local processing efficiency of each protocol conversion path, and determining the waiting processing duration of each protocol conversion program according to the number of passing points and the local processing efficiency, wherein the local processing efficiency is the processing efficiency between adjacent passing points;
and determining the protocol conversion path with the shortest waiting processing time as a target protocol conversion program.
In one possible implementation, the apparatus further includes:
the signal path detection module is used for detecting whether a signal path exists in a transmission signal or not, and the signal path is composed of a transmitting end device, a receiving end device and a target protocol conversion program;
And the path forwarding module is used for sending the sending signal to the receiving end equipment through the signal path when the sending signal has the signal path.
In one possible implementation, the apparatus further includes:
the same-type equipment determining module is used for judging whether the same-type equipment exists in the receiving end equipment according to the receiving end equipment information included in the sending signal when the sending signal is detected to have no signal path, wherein the same-type equipment is equipment of the same type as the receiving end equipment;
and the similar forwarding module is used for judging whether the similar equipment has a signal path when the similar equipment exists in the receiving end equipment, and transmitting a transmission signal to the corresponding receiving end equipment through the signal path of the similar equipment when the similar equipment has the signal path.
In an embodiment of the present application, as shown in fig. 4, an electronic device 400 shown in fig. 4 includes: a processor 401 and a memory 403. Processor 401 is connected to memory 403, such as via bus 402. Optionally, the electronic device 400 may also include a transceiver 404. It should be noted that, in practical applications, the transceiver 404 is not limited to one, and the structure of the electronic device 400 is not limited to the embodiment of the present application.
The processor 401 may be a CPU (Central Processing Unit ), general purpose processor, DSP (Digital Signal Processor, data signal processor), ASIC (Application Specific Integrated Circuit ), FPGA (Field Programmable Gate Array, field programmable gate array) or other programmable logic device, transistor logic device, hardware components, or any combination thereof. Which may implement or perform the various exemplary logic blocks, modules, and circuits described in connection with this disclosure. Processor 401 may also be a combination that implements computing functionality, such as a combination comprising one or more microprocessors, a combination of a DSP and a microprocessor, or the like.
Bus 402 may include a path to transfer information between the components. Bus 402 may be a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus or EISA (Extended Industry Standard Architecture ) bus, among others. Bus 402 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in fig. 4, but not only one bus or one type of bus.
The Memory 403 may be, but is not limited to, a ROM (Read Only Memory) or other type of static storage device that can store static information and instructions, a RAM (Random Access Memory ) or other type of dynamic storage device that can store information and instructions, an EEPROM (Electrically Erasable Programmable Read Only Memory ), a CD-ROM (Compact Disc Read Only Memory, compact disc Read Only Memory) or other optical disk storage, optical disk storage (including compact discs, laser discs, optical discs, digital versatile discs, blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer.
The memory 403 is used for storing application program codes for executing the present application and is controlled to be executed by the processor 301. The processor 401 is arranged to execute application code stored in the memory 403 for implementing what is shown in the foregoing method embodiments.
Among them, electronic devices include, but are not limited to: mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and the like, and stationary terminals such as digital TVs, desktop computers, and the like. But may also be a server or the like. The electronic device shown in fig. 4 is only an example and should not be construed as limiting the functionality and scope of use of the embodiments herein.
The present application provides a computer readable storage medium having a computer program stored thereon, which when run on a computer, causes the computer to perform the corresponding method embodiments described above. Compared with the related art, in the embodiment of the application, the plurality of sending signals are divided according to the information of the receiving end equipment to obtain the plurality of signal groups, then the sending signals in the signal groups are integrated to obtain the integrated signals, the integrated signals are sent to the receiving end equipment to enable the receiving end equipment to receive the signals once, at least one operation corresponding to the integrated signals can be completed, instead of independently sending different sending signals sent to the same receiving end equipment, if different sending signals are sent to the receiving end equipment, a computer is required to frequently identify and forward each sending signal, the operation pressure of the computer can be increased, so that the signal processing rate is reduced, and the frequency of identifying and forwarding the computer processing signals is reduced by integrating at least one sending signal sent to the same receiving end equipment, so that the working pressure of the computer is reduced, and the rate of the computer processing the signal is improved.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein. Moreover, at least some of the steps in the flowcharts of the figures may include a plurality of sub-steps or stages that are not necessarily performed at the same time, but may be performed at different times, the order of their execution not necessarily being sequential, but may be performed in turn or alternately with other steps or at least a portion of the other steps or stages.
The foregoing is only a partial embodiment of the present application, and it should be noted that, for a person skilled in the art, several improvements and modifications can be made without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (7)

1. A signal processing method, comprising:
receiving a plurality of sending signals, wherein the sending signals are sent by sending terminal equipment, and the sending signals comprise receiving terminal equipment information;
Dividing a plurality of sending signals into a plurality of signal groups according to the receiving end equipment information, wherein the receiving end equipment information corresponding to at least one sending signal contained in each signal group is the same;
integrating at least one transmitting signal in each signal group to obtain an integrated signal;
transmitting the integrated signal to a corresponding receiving end device;
wherein, the integrating at least one transmission signal in each signal group to obtain an integrated signal includes: acquiring workflow information of the receiving end equipment from a work log according to receiving end equipment information corresponding to a sending signal in a signal group; determining a workflow sequence of the receiving end equipment according to the workflow information, wherein the workflow sequence comprises a plurality of workflow nodes; analyzing each sending signal in the signal group to obtain a corresponding processing node, sequencing a plurality of sending signals according to the sequence of each processing node in the workflow sequence, and integrating the plurality of sending signals according to the sequencing result to obtain an integrated signal;
wherein, the sending the integrated signal to the corresponding receiving end device further includes: determining a receiving signal type of the receiving end equipment according to the receiving end equipment information, wherein the receiving signal type is used for representing a signal protocol type which can be received by the receiving end equipment, and the receiving signal type at least comprises one receiving signal type; matching the protocol type of each transmitted signal in the integrated signal with the signal protocol type, and if the protocol type is not matched with the signal protocol type, determining a target protocol conversion program from protocol conversion programs corresponding to at least one received signal type, wherein the protocol conversion program is used for converting the protocol of the signal; carrying out protocol conversion on each transmission signal in the integrated signal to obtain a converted integrated signal, wherein the protocol type corresponding to each transmission signal in the converted integrated signal is matched with the signal protocol type of the receiving terminal equipment; wherein sending the integrated signal to a corresponding receiving end device includes: transmitting the converted integrated signal to corresponding receiving end equipment; wherein the determining a target protocol conversion program from the protocol conversion programs corresponding to the at least one received signal type includes: acquiring processing information of each protocol conversion program, wherein the processing information comprises the quantity to be processed and the processing rate; when the protocol conversion program comprises a plurality of protocol conversion paths, determining the number of passing points of each protocol conversion path and local processing efficiency, and determining the waiting processing duration of each protocol conversion program according to the number of the passing points and the local processing efficiency, wherein the local processing efficiency is the processing efficiency between adjacent passing points; and determining the protocol conversion path with the shortest waiting processing time as a target protocol conversion program.
2. The method of claim 1, wherein the sorting and integrating the plurality of transmission signals in the signal group according to the workflow sequence to obtain an integrated signal further comprises:
judging whether the receiving end equipment has an instant node according to the workflow information of the receiving end equipment, wherein a sending signal corresponding to the instant node needs to be forwarded at the first time;
when the instant node exists, the sending signal corresponding to the instant node is sent to the corresponding receiving end equipment.
3. A signal processing method according to claim 1, further comprising:
detecting whether a signal path exists in a transmission signal or not, wherein the signal path is composed of a transmitting end device, a receiving end device and the target protocol conversion program;
and when the signal path exists, transmitting the transmission signal to receiving end equipment.
4. A signal processing method according to claim 3, further comprising:
when the fact that a signal path does not exist in a sending signal is detected, judging whether similar equipment exists in the receiving end equipment according to receiving end equipment information included in the sending signal, wherein the similar equipment is equipment of the same type as the receiving end equipment;
If so, judging whether the similar equipment has a signal path, and transmitting the transmitting signal to corresponding receiving end equipment through the signal path of the similar equipment when the similar equipment has the signal path.
5. A signal processing apparatus, comprising:
the receiving signal module is used for receiving a plurality of sending signals, wherein the sending signals are sent by sending terminal equipment, and the sending signals comprise receiving terminal equipment information;
the signal dividing module is used for dividing the plurality of sending signals into a plurality of signal groups according to the receiving end equipment information, wherein the receiving end equipment information corresponding to at least one sending signal contained in each signal group is the same;
the signal integration module is used for integrating at least one sending signal in each signal group to obtain an integrated signal;
a signal sending module, configured to send the integrated signal to a corresponding receiving end device;
the signal integration module is specifically configured to, when integrating at least one transmission signal in each signal group to obtain an integrated signal: acquiring workflow information of the receiving end equipment from a work log according to receiving end equipment information corresponding to a sending signal in a signal group; determining a workflow sequence of the receiving end equipment according to the workflow information, wherein the workflow sequence comprises a plurality of workflow nodes; analyzing each sending signal in the signal group to obtain a corresponding processing node, sequencing a plurality of sending signals according to the sequence of each processing node in the workflow sequence, and integrating the plurality of sending signals according to the sequencing result to obtain an integrated signal;
Wherein the apparatus further comprises: a receiving type determining module, configured to determine a receiving signal type of the receiving end device according to the receiving end device information, where the receiving signal type is used to characterize a signal protocol type that can be received by the receiving end device, and the receiving signal type includes at least one receiving signal type; a determining conversion program module, configured to match a protocol type of each transmission signal in the integrated signal with the signal protocol type, and if not, determine a target protocol conversion program from the protocol conversion programs corresponding to at least one received signal type, where the protocol conversion program is configured to convert a protocol of the signal; the protocol conversion module is used for carrying out protocol conversion on each transmission signal in the integrated signal to obtain a converted integrated signal, and the protocol type corresponding to each transmission signal in the converted integrated signal is matched with the signal protocol type of the receiving terminal equipment; the signal sending module is specifically configured to, when sending the integrated signal to a corresponding receiving end device: transmitting the converted integrated signal to corresponding receiving end equipment; the determining conversion program module is specifically configured to, when determining a target protocol conversion program from the protocol conversion programs corresponding to at least one received signal type: acquiring processing information of each protocol conversion program, wherein the processing information comprises the quantity to be processed and the processing rate; when the protocol conversion program comprises a plurality of protocol conversion paths, determining the number of passing points of each protocol conversion path and local processing efficiency, and determining the waiting processing duration of each protocol conversion program according to the number of the passing points and the local processing efficiency, wherein the local processing efficiency is the processing efficiency between adjacent passing points; and determining the protocol conversion path with the shortest waiting processing time as a target protocol conversion program.
6. An electronic device, comprising:
at least one processor;
a memory;
at least one application, wherein the at least one application is stored in memory and configured to be executed by at least one processor, the at least one application configured to: performing the signal processing method of any of claims 1-4.
7. A computer-readable storage medium, comprising: a computer program stored which can be loaded by a processor and which performs the method according to any of claims 1-4.
CN202310043969.6A 2023-01-29 2023-01-29 Signal processing method and device, electronic equipment and storage medium Active CN115866091B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310043969.6A CN115866091B (en) 2023-01-29 2023-01-29 Signal processing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310043969.6A CN115866091B (en) 2023-01-29 2023-01-29 Signal processing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN115866091A CN115866091A (en) 2023-03-28
CN115866091B true CN115866091B (en) 2023-05-16

Family

ID=85657344

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310043969.6A Active CN115866091B (en) 2023-01-29 2023-01-29 Signal processing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115866091B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102148863A (en) * 2011-01-27 2011-08-10 华为技术有限公司 Method and device for delivering M2M (machine to machine) service messages
CN103532823A (en) * 2012-07-04 2014-01-22 中兴通讯股份有限公司 Message processing method, device and system for Internet of Things
CN104869153A (en) * 2015-04-23 2015-08-26 北京海尔广科数字技术有限公司 Message transmission method and apparatus for Internet of things
CN109688164A (en) * 2019-02-22 2019-04-26 中国联合网络通信集团有限公司 Method for converting protocol and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP4183123A4 (en) * 2020-08-17 2024-04-24 Samsung Electronics Co Ltd Methods and systems for aggregating and exchanging messages in an iot communication system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102148863A (en) * 2011-01-27 2011-08-10 华为技术有限公司 Method and device for delivering M2M (machine to machine) service messages
CN103532823A (en) * 2012-07-04 2014-01-22 中兴通讯股份有限公司 Message processing method, device and system for Internet of Things
CN104869153A (en) * 2015-04-23 2015-08-26 北京海尔广科数字技术有限公司 Message transmission method and apparatus for Internet of things
CN109688164A (en) * 2019-02-22 2019-04-26 中国联合网络通信集团有限公司 Method for converting protocol and device

Also Published As

Publication number Publication date
CN115866091A (en) 2023-03-28

Similar Documents

Publication Publication Date Title
CN100535890C (en) Representation of a deleted interpolation n-gram language model in ARPA standard format
US20150278703A1 (en) Mutual information with absolute dependency for feature selection in machine learning models
US8407221B2 (en) Generalized notion of similarities between uncertain time series
CN103346800A (en) Method and device for compressing data
CN112835885B (en) Processing method, device and system for distributed form storage
KR20190118637A (en) Method of generating network configuration information and communication device
CN111897660A (en) Model deployment method, model deployment device and terminal equipment
CN115866091B (en) Signal processing method and device, electronic equipment and storage medium
CN106202440A (en) Data processing method, device and equipment
WO2018138205A1 (en) Model search method and device based on semantic model framework
CN101604336A (en) A kind of method and system that carries out data detection, correction from the source
EP3015931A1 (en) Plc system with a webserver and a partitioned memory
US11146571B2 (en) Data transmission method, apparatus, terminal device, and medium
US20240012831A1 (en) Data exchange method and apparatus, readable storage medium, and data exchange system
CN111369186B (en) Logistics pushing method, device, server and readable storage medium
CN114579580A (en) Data storage method and data query method and device
CN114461193A (en) Method, device, equipment and storage medium for generating communication protocol code
CN105704686B (en) A kind of instant communication method based on short message, apparatus and system
CN112597119A (en) Method and device for generating processing log and storage medium
CN112677986A (en) Vehicle energy consumption information monitoring processing method and device
CN107689880B (en) Method and device for tracking information
CN109785102A (en) System of account information-pushing method, device, computer equipment and storage medium
CN117252513A (en) Warehouse-in and warehouse-out statistical method, device, equipment and medium for flange storage workshop
CN112579961B (en) Method, device, equipment and readable storage medium for constructing Web navigation page
CN115222371B (en) Problem troubleshooting method and device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant