Road traffic signal machine, signal control platform and communication connection method and system thereof
By initiating and decrypting verification communication connection requests in the physical communication link between the road traffic signal and the signal control platform, the communication connection abnormality caused by version mismatch is solved, and the fast and secure access signal control of the signal is realized platform.
Patent Information
- Application Number
- CN202411308899.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2024-12-27
AI Technical Summary
When accessing the signal control platform, road traffic signals need to artificially distinguish between plain text and cipher text master program versions, resulting in abnormal communication connection when the version does not match.
By creating a physical communication link between the road traffic signal and the signal control platform, launching a plain text or cipher text communication connection request, and receiving and decrypting the cipher text information within a preset time for verification, feedback the response result based on the verification results, and automatically Make sure to enter the corresponding communication working mode to avoid artificially distinguishing versions.
It realizes that the road traffic signal automatically enters the corresponding communication working mode, and quickly and safely accesses the signal control platform, avoiding communication connection abnormalities caused by version mismatch.
Smart Images

Figure CN119211327A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of road traffic signal machines, and in particular, relates to a road traffic signal machine, a signal control platform, and a communication connection method and system thereof. Background Art
[0002] The communication access to the signal control platform of a road traffic signal is a basic requirement for a road traffic signal. Normally, a road traffic signal only supports a single ciphertext communication connection or a plaintext communication connection, which results in the existence of multiple ciphertext and plaintext master control program versions for the road traffic signal. When the road traffic signal accesses the signal control platform through communication, it is necessary to manually distinguish between the road traffic signal with the plaintext master control program version and the road traffic signal with the ciphertext master control program version. If the versions do not match, the communication connection of the road traffic signal will be abnormal. Summary of the invention
[0003] The present application aims to solve at least one of the technical problems existing in the related art. To this end, the present application proposes a road traffic signal, a signal control platform and a communication connection method and system thereof, which can realize safe and fast access of road traffic signals to the signal control platform without distinguishing different versions of road traffic signals.
[0004] In a first aspect, the present application provides a communication connection method for a road traffic signal, which is applied to the road traffic signal, and the method includes:
[0005] The road traffic signal creates a physical communication link channel with the signal control platform, and initiates a communication connection request to the signal control platform through the physical communication link channel, wherein the communication connection request includes a plaintext communication connection request or a ciphertext communication connection request;
[0006] receiving a first response result fed back by the signal control platform in response to the communication connection request, wherein the first response result includes first ciphertext information fed back in response to the ciphertext communication connection request;
[0007] If the first ciphertext information is received within a first preset time, the first ciphertext information is decrypted to obtain the decrypted ciphertext information, and the decrypted ciphertext information is verified to obtain a verification result, and a second response result is fed back to the signal control platform based on the verification result, so that the signal control platform determines that the road traffic signal enters the ciphertext communication working mode or closes the communication connection based on the second response result after receiving the second response result.
[0008] In a second aspect, the present application provides a communication connection method for a road traffic signal, which is applied to a signal control platform, and the method includes:
[0009] After the road traffic signal establishes a physical communication link channel with the signal control platform and initiates a communication connection request to the signal control platform through the physical communication link channel, the signal control platform feeds back a first response result for the communication connection request to the road traffic signal, wherein the communication connection request includes a plaintext communication connection request or a ciphertext communication connection request, and the first response result includes first ciphertext information fed back within a first preset time for the ciphertext communication connection request and no information is fed back for the plaintext communication connection request;
[0010] A second response result fed back by the road traffic signal after decryption and verification of the first ciphertext information is received, and according to the second response result, it is determined that the road traffic signal enters a ciphertext communication working mode or closes the communication connection.
[0011] In a third aspect, the present application provides a road traffic signal, the road traffic signal comprising:
[0012] A communication connection module, wherein the road traffic signal creates a physical communication link channel with the signal control platform, and initiates a communication connection request to the signal control platform through the physical communication link channel, wherein the communication connection request includes a plaintext communication connection request or a ciphertext communication connection request;
[0013] A response receiving module, configured to receive a first response result fed back by the signal control platform in response to the communication connection request, wherein the first response result includes first ciphertext information fed back in response to the ciphertext communication connection request;
[0014] a decryption verification response module, for decrypting the first ciphertext information to obtain the decrypted ciphertext information if the first ciphertext information is received within a first preset time, verifying the decrypted ciphertext information to obtain a verification result, and feeding back a second response result to the signal control platform according to the verification result, so that the signal control platform determines whether the road traffic signal enters the ciphertext communication working mode or closes the communication connection according to the second response result after receiving the second response result;
[0015] In a fourth aspect, the present application provides a signal control platform, which includes:
[0016] a response feedback module, configured to feedback a first response result to the communication connection request to the road traffic signal after the road traffic signal creates a physical communication link channel with the signal control platform and initiates a communication connection request to the signal control platform through the physical communication link channel, wherein the communication connection request includes a plaintext communication connection request or a ciphertext communication connection request, and the first response result includes first ciphertext information fed back within a first preset time for the ciphertext communication connection request and no information is fed back for the plaintext communication connection request;
[0017] The receiving control module is used to receive a second response result fed back by the road traffic signal after decryption and verification of the first ciphertext information, and determine whether the road traffic signal enters a ciphertext communication working mode or closes the communication connection according to the second response result.
[0018] In a fifth aspect, the present application provides a communication connection system for a road traffic signal, including a road traffic signal and a signal control platform, wherein:
[0019] The road traffic signal is used to establish a physical communication link channel with the signal control platform, and initiate a communication connection request to the signal control platform through the physical communication link channel, wherein the communication connection request includes a plaintext communication connection request or a ciphertext communication connection request;
[0020] The signal control platform is used to feed back a first response result to the communication connection request to the road traffic signal, wherein the first response result includes first ciphertext information fed back to the ciphertext communication connection request;
[0021] The road traffic signal is further configured to, when receiving the first ciphertext information within a first preset time, decrypt the first ciphertext information to obtain decrypted ciphertext information, verify the decrypted ciphertext information to obtain a verification result, and feed back a second response result to the signal control platform according to the verification result;
[0022] The signal control platform is also used to receive the second response result and determine that the road traffic signal enters a ciphertext communication working mode or closes the communication connection according to the second response result.
[0023] In a sixth aspect, the present application provides an electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the communication connection method for a road traffic signal as described in the first or second aspect above is implemented.
[0024] In a seventh aspect, the present application provides a non-transitory computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the communication connection method for a road traffic signal as described in the first aspect or the second aspect above is implemented.
[0025] In an eighth aspect, the present application provides a chip, comprising a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the communication connection method of the road traffic signal as described in the first aspect or the second aspect.
[0026] In the first aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the communication connection method of the road traffic signal as described in the first aspect or the second aspect above.
[0027] The above one or more technical solutions in the embodiments of the present application have at least the following technical effects:
[0028] According to the road traffic signal, signal control platform and communication connection method and system thereof provided in the embodiment of the present application, the road traffic signal creates a physical communication link channel with the signal control platform. After initiating a communication connection request to the signal control platform through the physical communication link channel, if the road traffic signal receives the first ciphertext information fed back by the signal control platform in response to the communication connection request within a first preset time, the first ciphertext information is decrypted and verified, and a second response result is fed back to the signal control platform according to the verification result. The signal control platform determines whether the road traffic signal enters the ciphertext communication working mode or closes the communication connection according to the second response result. As a result, the road traffic signal can automatically enter the corresponding communication working mode when communicating with the signal control platform, without manually distinguishing the versions of the road traffic signal, and there will be no abnormal communication connection of the road traffic signal due to version mismatch, thereby realizing quick access of the road traffic signal to the signal control platform, and through decryption and verification, it can also ensure that the road traffic signal is safely connected to the signal control platform.
[0029] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0031] Figure 1 This is one of the flow charts of the communication connection method of the road traffic signal provided in the embodiment of the present application;
[0032] Figure 2 This is a second flow chart of the communication connection method of the road traffic signal provided in the embodiment of the present application;
[0033] Figure 3 It is a structural schematic diagram of a road traffic signal provided in an embodiment of the present application;
[0034] Figure 4 is a schematic diagram of the structure of the signal control platform provided in the embodiment of the present application;
[0035] Figure 5 It is a structural schematic diagram of a communication connection system of a road traffic signal provided in an embodiment of the present application;
[0036] Figure 6 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0037] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments in the present application belong to the scope of protection of this application.
[0038] The terms "first", "second", etc. in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable under appropriate circumstances, so that the embodiments of the present application can be implemented in an order other than those illustrated or described here, and the objects distinguished by "first", "second", etc. are generally of one type, and the number of objects is not limited. For example, the first object can be one or more. In addition, "and / or" in the specification and claims represents at least one of the connected objects, and the character " / " generally indicates that the objects associated with each other are in an "or" relationship.
[0039] In conjunction with the accompanying drawings, the road traffic signal, signal control platform, and communication connection method, system, electronic device, and readable storage medium provided in the embodiments of the present application are described in detail through specific embodiments and their application scenarios.
[0040] Traditional road traffic signals only support one communication connection mode, either ciphertext communication connection or plaintext communication connection. This means that when the road traffic signal is connected to the signal control platform, it is necessary to distinguish the main control program version supported by the road traffic signal, and then select the corresponding plaintext or ciphertext communication connection mode to connect with the signal control platform. If they do not match, for example: the road traffic signal supports the plaintext communication connection mode, but the ciphertext communication connection mode is selected, it will cause abnormal communication connection between the road traffic signal and the signal control platform.
[0041] like Figure 1 As shown, the communication connection method of the road traffic signal is applied to the road traffic signal, and the method includes:
[0042] S110, the road traffic signal creates a physical communication link channel with the signal control platform, and initiates a communication connection request to the signal control platform through the physical communication link channel, wherein the communication connection request includes a plaintext communication connection request or a ciphertext communication connection request.
[0043] It can be understood that the physical communication link channel established by the road traffic signal here with the signal control platform only maintains the link connection state and does not perform any substantial communication data interaction.
[0044] S120, receiving a first response result fed back by the signal control platform in response to the communication connection request, wherein the first response result includes first ciphertext information fed back in response to the ciphertext communication connection request.
[0045] It is understandable that the first response result includes the first ciphertext information of the signal control platform for the ciphertext communication connection request and the response to the plaintext communication connection request. In some embodiments, the response to the plaintext communication connection request is not to feedback any information. For the road traffic signal, it means that no feedback information from the signal control platform is received. In order to avoid long waiting time for the road traffic signal, a first preset time can be set according to the network environment and the expected average response time.
[0046] In some embodiments, if no feedback information from the signal control platform regarding the communication connection request is received within a first preset time, the road traffic signal enters a plain text communication working mode according to the plain text communication working instruction of the signal control platform.
[0047] If the road traffic signal does not receive any information within the first preset time, it considers that the communication connection request it initiated is a plaintext communication connection request, and then enters the plaintext communication working mode. The plaintext communication working mode only maintains the basic physical link connection.
[0048] In some embodiments, the communication working mode that the road traffic signal enters can be controlled by the signal control platform, so the signal control platform can send a plain text communication working instruction to the road traffic signal, and the road traffic signal enters the plain text communication working mode according to the plain text communication working instruction, thereby realizing the overall control of the signal control platform and facilitating subsequent coordination. Of course, the road traffic signal can also autonomously enter the plain text communication working mode when it does not receive any information fed back by the signal control platform for the communication connection request within the first preset time.
[0049] S130, if the first ciphertext information is received within the first preset time, the first ciphertext information is decrypted to obtain the decrypted ciphertext information, and the decrypted ciphertext information is verified to obtain a verification result, and a second response result is fed back to the signal control platform according to the verification result, so that the signal control platform determines that the road traffic signal enters the ciphertext communication working mode or closes the communication connection according to the second response result after receiving the second response result.
[0050] It is understandable that if the road traffic signal receives the first ciphertext information within the first preset time, it means that the signal control platform determines that the communication connection request initiated by the road traffic signal is a ciphertext communication connection request. At this time, in order to ensure the security of the communication connection, the road traffic signal needs to perform security verification, specifically decrypting the first ciphertext information and verifying the decrypted ciphertext information, and feeding back the second response result to the signal control platform based on the verification result. The signal control platform determines whether the ciphertext communication connection request requested by the road traffic signal is safe based on the second response result, and then decides whether to enter the ciphertext communication mode or close the communication connection. The decryption and verification process here is not the main innovation of this application, and can be implemented by conventional decryption and verification methods, such as: decryption can be implemented by symmetric key algorithm, asymmetric key algorithm, etc., and verification can be implemented by comparing the decrypted information with known information, etc. As long as the security of the communication connection can be ensured, there is no restriction here.
[0051] In some embodiments, step S300 includes: if the verification result is that the verification is passed, the second ciphertext information is fed back to the signal control platform, so that the signal control platform receives the second ciphertext information within a second preset time and controls the road traffic signal to enter the ciphertext communication working mode according to the second ciphertext information. If the verification result is that the verification is not passed, no information is fed back to the signal control platform, so that when the signal control platform does not receive the information fed back by the road traffic signal within the second preset time, it closes the communication connection between it and the road traffic signal.
[0052] It is worth noting that the road traffic signal that initiates the communication connection request can be a road traffic signal from a legitimate manufacturer (such as its own or a friendly company) or a road traffic signal from an illegal manufacturer. Only the road traffic signal from a legitimate manufacturer is considered legitimate when initiating a ciphertext communication connection request, and the road traffic signal from an illegal manufacturer is considered illegal when initiating a ciphertext communication connection request. However, the road traffic signal from an illegal manufacturer can make a plaintext communication connection request and enter the plaintext communication working mode, that is, only maintain the basic physical link connection. Therefore, it is necessary to perform security verification on the road traffic signal that requests a ciphertext communication connection to ensure that it is from a legitimate manufacturer, thereby avoiding security risks.
[0053] Specifically, if the road traffic signal can decrypt and verify the first ciphertext information, on the one hand, it can verify that the signal control platform for which it requests communication connection is safe, and on the other hand, if the decryption verification is successful, it can also determine to a certain extent that the road traffic signal is legal. It can be understood that the first ciphertext information can be agreed upon in advance between the road traffic signal and the signal control platform, and the identity security verification of the two can be achieved through decryption verification and the like. If the verification fails, the road traffic signal cannot feedback any information to the signal control platform, and the signal control platform does not receive any information feedback from the road traffic signal within the second preset time, that is, the ciphertext communication connection request requested by the road traffic signal is considered to be illegal, and therefore it is necessary to clear the ciphertext communication connection between it and the road traffic signal. If the verification passes, the signal control platform can receive the second ciphertext information feedback from the road traffic signal within the second preset time, so that the road traffic signal can be controlled to enter the ciphertext communication working mode.
[0054] In some embodiments, the signal control platform decrypts and verifies the second ciphertext information, thereby verifying the security of the road traffic signal. It is understandable that the second ciphertext information may also be pre-agreed between the road traffic signal and the signal control platform, and the road traffic signal can only know how the feedback second ciphertext information is composed after the decryption verification is passed, thereby excluding illegal road traffic signals.
[0055] According to the communication connection method of the road traffic signal provided in the embodiment of the present application, the road traffic signal creates a physical communication link channel with the signal control platform, and after initiating a communication connection request to the signal control platform through the physical communication link channel, if the road traffic signal receives the first ciphertext information fed back by the signal control platform in response to the communication connection request within a first preset time, the first ciphertext information is decrypted and verified, and a second response result is fed back to the signal control platform according to the verification result. The signal control platform determines whether the road traffic signal enters the ciphertext communication working mode or closes the communication connection according to the second response result. As a result, the road traffic signal can automatically enter the corresponding communication working mode when communicating with the signal control platform, without manually distinguishing the versions of the road traffic signal, and there will be no abnormal communication connection of the road traffic signal due to version mismatch, thereby realizing the quick access of the road traffic signal to the signal control platform, and the decryption and verification can also ensure that the road traffic signal can safely access the signal control platform.
[0056] It is worth noting that in the process of implementing this method, command symbol identifiers are not used to distinguish between plaintext communication connection requests and ciphertext communication connection requests. Instead, a time timeout mechanism is used to determine the plaintext communication connection requests and ciphertext communication connections. This is because the plaintext communication connection request only maintains the basic physical link connection and does not involve any data interaction, so no information feedback is generated. However, a full-function communication operation is required after the ciphertext communication connection request, so data interaction will occur. It is precisely by utilizing this feature between the road traffic signal and the signal control platform that the distinction between plaintext communication connection requests and ciphertext communication connection requests is achieved, and the problem of additional resource occupation caused by the need for road signal machines to support the contents of these communication protocol command identifiers in advance when using traditional technologies to make distinctions using command symbol identifiers is overcome.
[0057] It should be noted that the first preset time and the second preset time in the aforementioned embodiment may be the same or different, and the first preset time and the second preset time may be adaptively updated. The road traffic signal and the signal control platform will record the average response time and change trend within the preset historical time period, and adjust the first preset time and the second preset time accordingly to ensure that the first response result and the second response result will not be missed as much as possible.
[0058] In some embodiments, the road traffic signal is connected to the main signal control platform through the first network port and the first network, and is connected to the backup signal control platform through the second network port and the second network. When the road traffic signal determines that the communication connection between the main signal control platform and the road traffic signal fails, it switches to the second network port and the second network to communicate with the backup signal control platform.
[0059] In order to ensure the high security and high reliability of the communication connection between the road traffic signal and the signal control platform, the road traffic signal adopts a dual-port dual-network mode to maintain physical communication link communication with the signal control platform. When one of the networks or network ports fails, it can switch to the other network or network port for communication connection.
[0060] like Figure 2 As shown, the communication connection method of the road traffic signal is applied to the signal control platform, and the method includes:
[0061] S210, after the road traffic signal establishes a physical communication link channel with the signal control platform and initiates a communication connection request to the signal control platform through the physical communication link channel, the signal control platform feeds back a first response result for the communication connection request to the road traffic signal, wherein the communication connection request includes a plaintext communication connection request or a ciphertext communication connection request, and the first response result includes first ciphertext information fed back for the ciphertext communication connection request within a first preset time and no information is fed back for the plaintext communication connection request.
[0062] S220, receiving a second response result fed back by the road traffic signal after decryption verification of the first ciphertext information, and determining whether the road traffic signal enters a ciphertext communication working mode or closes the communication connection according to the second response result.
[0063] According to the communication connection method of the road traffic signal provided in the embodiment of the present application, the road traffic signal creates a physical communication link channel with the signal control platform, and after initiating a communication connection request to the signal control platform through the physical communication link channel, if the road traffic signal receives the first ciphertext information fed back by the signal control platform in response to the communication connection request within a first preset time, the first ciphertext information is decrypted and verified, and a second response result is fed back to the signal control platform according to the verification result. The signal control platform determines whether the road traffic signal enters the ciphertext communication working mode or closes the communication connection according to the second response result. As a result, the road traffic signal can automatically enter the corresponding communication working mode when communicating with the signal control platform, without manually distinguishing the versions of the road traffic signal, and there will be no abnormal communication connection of the road traffic signal due to version mismatch, thereby realizing the quick access of the road traffic signal to the signal control platform, and the decryption and verification can also ensure that the road traffic signal can safely access the signal control platform.
[0064] The technical effects of other aspects of this embodiment can refer to the effects of the aforementioned application and road traffic signal side, and will not be described here to avoid repetition.
[0065] In some embodiments, the method further includes: if the signal control platform determines that the communication connection request is the plain text communication connection request, controlling the road traffic signal to enter a plain text communication working mode.
[0066] In some embodiments, step S220 includes: if no information fed back by the road traffic signal is received within a second preset time, closing the communication connection between the road traffic signal and the road traffic signal. If a second ciphertext information fed back by the road traffic signal is received within the second preset time, controlling the road traffic signal to enter a ciphertext communication working mode.
[0067] In some embodiments, the method further includes: monitoring and recording network parameters of the communication network between the method and the road traffic signal as well as key events and timestamps during the communication process.
[0068] In this embodiment, the signal control platform also regularly monitors various network parameters of the communication network, including network delay, packet loss rate, etc., so as to timely detect potential network problems and take corresponding countermeasures. In addition, the signal control platform also records key events and timestamps during the communication process, so that when problems occur, it can be traced back and analyzed in time.
[0069] The communication connection method of the road traffic signal provided in the embodiment of the present application can be executed by the road traffic signal. In the embodiment of the present application, the road traffic signal provided in the embodiment of the present application is described by taking the road traffic signal executing the communication connection method of the road traffic signal as an example.
[0070] The present application also provides a road traffic signal. Figure 3 As shown, the road traffic signal includes:
[0071] The communication connection module 110, the road traffic signal machine establishes a physical communication link channel with the signal control platform, and initiates a communication connection request to the signal control platform through the physical communication link channel, wherein the communication connection request includes a plain text communication connection request or a cipher text communication connection request;
[0072] A response receiving module 120, configured to receive a first response result fed back by the signal control platform in response to the communication connection request, wherein the first response result includes first ciphertext information fed back in response to the ciphertext communication connection request;
[0073] The decryption verification response module 130 is used to decrypt the first ciphertext information if the first ciphertext information is received within a first preset time to obtain the decrypted ciphertext information, and to verify the decrypted ciphertext information to obtain a verification result, and to feedback a second response result to the signal control platform based on the verification result, so that the signal control platform determines whether the road traffic signal enters the ciphertext communication working mode or closes the communication connection based on the second response result after receiving the second response result.
[0074] According to the road traffic signal provided in the embodiment of the present application, a physical communication link channel with the signal control platform is created. After a communication connection request is initiated to the signal control platform through the physical communication link channel, if the road traffic signal receives the first ciphertext information fed back by the signal control platform in response to the communication connection request within a first preset time, the first ciphertext information is decrypted and verified, and a second response result is fed back to the signal control platform according to the verification result. The signal control platform determines whether the road traffic signal enters the ciphertext communication working mode or closes the communication connection according to the second response result. As a result, the road traffic signal can automatically enter the corresponding communication working mode when communicating with the signal control platform, without the need to manually distinguish the versions of the road traffic signal, and there will be no abnormal communication connection of the road traffic signal due to version mismatch, thereby realizing quick access of the road traffic signal to the signal control platform, and through decryption and verification, it can also ensure that the road traffic signal can be safely connected to the signal control platform.
[0075] In some embodiments, the decryption verification response module 130 is also used to, if no feedback information from the signal control platform regarding the communication connection request is received within a first preset time, then the road traffic signal enters a plain text communication working mode according to the plain text communication working instruction of the signal control platform.
[0076] In some embodiments, the response receiving module 120 is also used to feedback second ciphertext information to the signal control platform if the verification result is passed, so that the signal control platform receives the second ciphertext information within a second preset time and controls the road traffic signal to enter the ciphertext communication working mode according to the second ciphertext information; if the verification result is not passed, no information is fed back to the signal control platform, so that when the signal control platform does not receive the information fed back by the road traffic signal within the second preset time, it closes the communication connection between it and the road traffic signal.
[0077] In some embodiments, the road traffic signal is communicatively connected to the main signal control platform through a first network port and a first network, and is communicatively connected to the backup signal control platform through a second network port and a second network; the road traffic signal also includes a switching module, which is used to switch to the second network port and the second network to communicate with the backup signal control platform when it is determined that the communication connection between it and the main signal control platform fails.
[0078] The road traffic signal in this embodiment can implement each process of the above-mentioned communication connection method embodiment of the road traffic signal and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0079] The communication connection method of the road traffic signal provided in the embodiment of the present application can be executed by a signal control platform. In the embodiment of the present application, the signal control platform is taken as an example to illustrate the communication connection method of the road traffic signal performed by the signal control platform.
[0080] The present application also provides a signal control platform, such as Figure 4 As shown, it includes: a response feedback module 210, which is used to feedback a first response result for the communication connection request to the road traffic signal after the road traffic signal creates a physical communication link channel with the signal control platform and initiates a communication connection request to the signal control platform through the physical communication link channel, wherein the communication connection request includes a plaintext communication connection request or a ciphertext communication connection request, and the first response result includes first ciphertext information fed back within a first preset time for the ciphertext communication connection request and no information is fed back for the plaintext communication connection request;
[0081] The receiving control module 220 is used to receive a second response result fed back by the road traffic signal after decryption and verification of the first ciphertext information, and determine whether the road traffic signal enters a ciphertext communication working mode or closes the communication connection according to the second response result.
[0082] According to the signal control platform provided in the embodiment of the present application, after the road traffic signal creates a physical communication link channel with the signal control platform and initiates a communication connection request to the signal control platform through the physical communication link channel, if the road traffic signal receives the first ciphertext information fed back by the signal control platform in response to the communication connection request within a first preset time, the first ciphertext information is decrypted and verified, and a second response result is fed back to the signal control platform based on the verification result. The signal control platform determines whether the road traffic signal enters the ciphertext communication working mode or closes the communication connection based on the second response result. As a result, the road traffic signal can automatically enter the corresponding communication working mode when communicating with the signal control platform, without the need to manually distinguish the versions of the road traffic signal, and there will be no abnormal communication connection of the road traffic signal due to version mismatch, thereby realizing quick access of the road traffic signal to the signal control platform, and through decryption and verification, it can also ensure that the road traffic signal can be safely connected to the signal control platform.
[0083] In some embodiments, the response feedback module 210 is further used to control the road traffic signal to enter a plain text communication working mode if the signal control platform determines that the communication connection request is the plain text communication connection request.
[0084] In some embodiments, the receiving control module 220 is also used to close the communication connection between it and the road traffic signal if no information fed back by the road traffic signal is received within a second preset time; if second encrypted information fed back by the road traffic signal is received within the second preset time, control the road traffic signal to enter the encrypted communication working mode.
[0085] In some embodiments, the signal control platform further includes a monitoring and recording module for monitoring and recording network parameters of the communication network between the signal control platform and the road traffic signal as well as key events and timestamps during the communication process.
[0086] The signal control platform in this embodiment can implement each process of the above-mentioned communication connection method embodiment of the road traffic signal machine, and can achieve the same technical effect. In order to avoid repetition, it will not be repeated here.
[0087] In some embodiments, the present application also provides a communication connection system for a road traffic signal, such as Figure 5 As shown, it includes a road traffic signal 100 and a signal control platform 200, wherein:
[0088] The road traffic signal 100 is used to establish a physical communication link channel with the signal control platform, and initiate a communication connection request to the signal control platform through the physical communication link channel, wherein the communication connection request includes a plain text communication connection request or a cipher text communication connection request;
[0089] The signal control platform 200 is used to feed back a first response result to the communication connection request to the road traffic signal, wherein the first response result includes first ciphertext information fed back to the ciphertext communication connection request;
[0090] The road traffic signal 100 is further configured to, when receiving the first ciphertext information within a first preset time, decrypt the first ciphertext information to obtain decrypted ciphertext information, verify the decrypted ciphertext information to obtain a verification result, and feed back a second response result to the signal control platform according to the verification result;
[0091] The signal control platform 200 is further used to receive the second response result and determine whether the road traffic signal enters the encrypted communication working mode or closes the communication connection according to the second response result.
[0092] According to the communication connection system of the road traffic signal provided by the embodiment of the present application, after the road traffic signal creates a physical communication link channel with the signal control platform and initiates a communication connection request to the signal control platform through the physical communication link channel, if the road traffic signal receives the first ciphertext information fed back by the signal control platform in response to the communication connection request within a first preset time, the first ciphertext information is decrypted and verified, and a second response result is fed back to the signal control platform according to the verification result. The signal control platform determines whether the road traffic signal enters the ciphertext communication working mode or closes the communication connection according to the second response result. As a result, the road traffic signal can automatically enter the corresponding communication working mode when communicating with the signal control platform, without manually distinguishing the versions of the road traffic signal, and there will be no abnormal communication connection of the road traffic signal due to version mismatch, thereby realizing the quick access of the road traffic signal to the signal control platform, and the safe access of the road traffic signal to the signal control platform can be ensured through decryption and verification.
[0093] In some embodiments, the road traffic signal 100 is also used to enter the plain text communication working mode according to the plain text communication working instruction of the signal control platform if no feedback information of the signal control platform in response to the communication connection request is received within a first preset time.
[0094] In some embodiments, the signal control platform 200 is also used to close the communication connection between it and the road traffic signal if no information fed back by the road traffic signal is received within a second preset time; if second encrypted information fed back by the road traffic signal is received within the second preset time, the road traffic signal is controlled to enter an encrypted communication working mode.
[0095] The communication connection system of the road traffic signal in this embodiment can implement each process of the above-mentioned communication connection method embodiment of the road traffic signal and can achieve the same technical effect. To avoid repetition, it will not be described again here.
[0096] The communication connection system of the road traffic signal in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or it can be other devices other than a terminal. Exemplarily, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted electronic device, a mobile Internet device (Mobile Internet Device, MID), an augmented reality (augmented reality, AR) / virtual reality (virtual reality, VR) device, a robot, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant, PDA), etc. It can also be a server, a network attached storage (Network Attached Storage, NAS), a personal computer (personal computer, PC), a television (television, TV), a teller machine or a self-service machine, etc., and the embodiment of the present application is not specifically limited.
[0097] The communication connection system of the road traffic signal in the embodiment of the present application may be a device having an operating system. The operating system may be a Microsoft (Windows) operating system, an Android (Android) operating system, an IOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.
[0098] The communication connection system of the road traffic signal provided in the embodiment of the present application can realize Figure 1 to Figure 2 To avoid repetition, the various processes implemented by the method embodiment are not described here.
[0099] The communication connection method of the road traffic signal can be applied to a terminal, and can be specifically executed by hardware or software in the terminal.
[0100] The communication connection method for a road traffic signal provided in an embodiment of the present application may be executed by an electronic device or a functional module or functional entity in an electronic device that can implement the communication connection method for a road traffic signal. The electronic devices mentioned in the embodiment of the present application include but are not limited to mobile phones, tablet computers, computers, cameras, and wearable devices. The communication connection method for a road traffic signal provided in an embodiment of the present application is described below using an electronic device as an example of an execution subject.
[0101] In some embodiments, Figure 6 As shown, the embodiment of the present application also provides an electronic device 800, including a processor 801, a memory 802, and a computer program stored in the memory 802 and executable on the processor 801. When the program is executed by the processor 801, each process of the above-mentioned communication connection method embodiment of the road traffic signal is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0102] It should be noted that the electronic devices in the embodiments of the present application include the mobile electronic devices and non-mobile electronic devices mentioned above.
[0103] The embodiment of the present application also provides a non-transitory computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various processes of the above-mentioned road traffic signal communication connection method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0104] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0105] An embodiment of the present application also provides a computer program product, including a computer program, which implements the communication connection method of the above-mentioned road traffic signal when executed by a processor.
[0106] The processor is the processor in the electronic device described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk.
[0107] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned communication connection method embodiment of the road traffic signal, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.
[0108] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.
[0109] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise one..." do not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.
[0110] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the relevant technology, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present application.
[0111] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms without departing from the purpose of the present application and the scope of protection of the claims, all of which are within the protection of the present application.
[0112] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "illustrative embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials, or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.
[0113] Although the embodiments of the present application have been shown and described, those skilled in the art will appreciate that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present application, and that the scope of the present application is defined by the claims and their equivalents.
Claims
1. A communication connection method for a road traffic signal, characterized in that: Applied to the road traffic signal, the method comprises: The road traffic signal creates a physical communication link channel with the signal control platform, and initiates a communication connection request to the signal control platform through the physical communication link channel, wherein the communication connection request includes a plaintext communication connection request or a ciphertext communication connection request; receiving a first response result fed back by the signal control platform in response to the communication connection request, wherein the first response result includes first ciphertext information fed back in response to the ciphertext communication connection request; If the first ciphertext information is received within a first preset time, the first ciphertext information is decrypted to obtain the decrypted ciphertext information, and the decrypted ciphertext information is verified to obtain a verification result, and a second response result is fed back to the signal control platform based on the verification result, so that the signal control platform determines that the road traffic signal enters the ciphertext communication working mode or closes the communication connection based on the second response result after receiving the second response result.
2. The method according to claim 1, characterized in that The first response result also includes not feeding back any information for the plaintext communication connection request; the method also includes: If no feedback information from the signal control platform regarding the communication connection request is received within the first preset time, the road traffic signal enters a plain text communication working mode according to the plain text communication working instruction of the signal control platform.
3. The method according to claim 1, characterized in that Feeding back a second response result to the signal control platform according to the verification result, so that the signal control platform determines that the road traffic signal enters the ciphertext communication working mode or closes the communication connection according to the second response result, includes: If the verification result is that the verification is passed, the second ciphertext information is fed back to the signal control platform, so that the signal control platform receives the second ciphertext information within a second preset time and controls the road traffic signal to enter the ciphertext communication working mode according to the second ciphertext information; If the verification result is not passed, no information will be fed back to the signal control platform, so that when the signal control platform does not receive the information fed back by the road traffic signal within the second preset time, it will close the communication connection between it and the road traffic signal.
4. The method according to any one of claims 1 to 3, characterized in that: The road traffic signal is connected to the main signal control platform through the first network port and the first network, and is connected to the backup signal control platform through the second network port and the second network; When the road traffic signal determines that the communication connection between the road traffic signal and the main signal control platform fails, the road traffic signal switches to the second network port and the second network to communicate with the backup signal control platform.
5. A communication connection method for a road traffic signal, characterized in that: Applied to a signal control platform, the method comprises: After the road traffic signal establishes a physical communication link channel with the signal control platform and initiates a communication connection request to the signal control platform through the physical communication link channel, the signal control platform feeds back a first response result for the communication connection request to the road traffic signal, wherein the communication connection request includes a plaintext communication connection request or a ciphertext communication connection request, and the first response result includes first ciphertext information fed back within a first preset time for the ciphertext communication connection request and no information is fed back for the plaintext communication connection request; A second response result fed back by the road traffic signal after decryption and verification of the first ciphertext information is received, and according to the second response result, it is determined that the road traffic signal enters a ciphertext communication working mode or closes the communication connection.
6. The method according to claim 5, characterized in that The method further comprises: If the signal control platform determines that the communication connection request is the plain text communication connection request, control the road traffic signal to enter the plain text communication working mode; as well as The step of determining, according to the second response result, that the road traffic signal enters a ciphertext communication working mode or closes a communication connection comprises: If no information fed back by the road traffic signal is received within the second preset time, closing the communication connection between the road traffic signal and the road traffic signal; If the second ciphertext information fed back by the road traffic signal is received within the second preset time, the road traffic signal is controlled to enter the ciphertext communication working mode.
7. The method according to claim 5, characterized in that The method further comprises: Monitor and record the network parameters of the communication network between it and the road traffic signal as well as key events and timestamps during the communication process.
8. A road traffic signal, characterized in that: include: A communication connection module, wherein the road traffic signal creates a physical communication link channel with the signal control platform, and initiates a communication connection request to the signal control platform through the physical communication link channel, wherein the communication connection request includes a plaintext communication connection request or a ciphertext communication connection request; A response receiving module, configured to receive a first response result fed back by the signal control platform in response to the communication connection request, wherein the first response result includes first ciphertext information fed back in response to the ciphertext communication connection request; A decryption verification response module is used to decrypt the first ciphertext information if the first ciphertext information is received within a first preset time to obtain the decrypted ciphertext information, and to verify the decrypted ciphertext information to obtain a verification result, and to feed back a second response result to the signal control platform based on the verification result, so that the signal control platform determines whether the road traffic signal enters the ciphertext communication working mode or closes the communication connection based on the second response result after receiving the second response result.
9. A signal control platform, characterized in that: include: A response feedback module, configured to feedback a first response result to the communication connection request to the road traffic signal after the road traffic signal establishes a physical communication link channel with the signal control platform and initiates a communication connection request to the signal control platform through the physical communication link channel, wherein the communication connection request includes a plaintext communication connection request or a ciphertext communication connection request, and the first response result includes first ciphertext information fed back within a first preset time for the ciphertext communication connection request and no information is fed back for the plaintext communication connection request; The receiving control module is used to receive a second response result fed back by the road traffic signal after decryption and verification of the first ciphertext information, and determine whether the road traffic signal enters a ciphertext communication working mode or closes the communication connection according to the second response result.
10. A communication connection system for a road traffic signal, characterized in that: It includes road traffic signal and signal control platform, including: The road traffic signal is used to establish a physical communication link channel with the signal control platform, and initiate a communication connection request to the signal control platform through the physical communication link channel, wherein the communication connection request includes a plaintext communication connection request or a ciphertext communication connection request; The signal control platform is used to feed back a first response result to the communication connection request to the road traffic signal, wherein the first response result includes first ciphertext information fed back to the ciphertext communication connection request; The road traffic signal is further configured to, when receiving the first ciphertext information within a first preset time, decrypt the first ciphertext information to obtain decrypted ciphertext information, verify the decrypted ciphertext information to obtain a verification result, and feed back a second response result to the signal control platform according to the verification result; The signal control platform is also used to receive the second response result and determine whether the road traffic signal enters the encrypted communication working mode or closes the communication connection according to the second response result.
