CN116436905A - Network broadcast communication method and device, storage medium and computer equipment - Google Patents
Network broadcast communication method and device, storage medium and computer equipment Download PDFInfo
- Publication number
- CN116436905A CN116436905A CN202310427890.3A CN202310427890A CN116436905A CN 116436905 A CN116436905 A CN 116436905A CN 202310427890 A CN202310427890 A CN 202310427890A CN 116436905 A CN116436905 A CN 116436905A
- Authority
- CN
- China
- Prior art keywords
- communication
- identifier
- terminal
- current terminal
- registered
- 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.)
- Granted
Links
- 230000006854 communication Effects 0.000 title claims abstract description 319
- 238000004891 communication Methods 0.000 title claims abstract description 306
- 238000000034 method Methods 0.000 title claims abstract description 70
- 238000012795 verification Methods 0.000 claims description 9
- 238000013475 authorization Methods 0.000 claims description 6
- 238000010586 diagram Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 3
- 230000006870 function Effects 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 230000032683 aging Effects 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
- H04L65/403—Arrangements for multi-party communication, e.g. for conferences
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/04—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
- H04L63/0428—Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/0807—Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/08—Network architectures or network communication protocols for network security for authentication of entities
- H04L63/083—Network architectures or network communication protocols for network security for authentication of entities using passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
- H04L65/1073—Registration or de-registration
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/80—Responding to QoS
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Multimedia (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Business, Economics & Management (AREA)
- General Business, Economics & Management (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The application provides a network broadcast communication method, a device, a storage medium and computer equipment, wherein when receiving registration communication data sent by a current terminal, the computer equipment determines whether the registration communication data contains a communication identifier, and if the registration communication data contains the communication identifier, the computer equipment determines whether the communication identifier is an effective identifier; and under the condition that the communication identifier is an effective identifier, determining whether the corresponding identity identifier of each registered terminal contains the communication identifier, if not, registering the current terminal, and allowing the current terminal registered to carry out broadcast communication service with the computer equipment. In the communication process of the computer equipment and the terminals, the computer equipment only performs broadcast communication with each registered terminal, and communication data sent by non-registered terminals are not accepted, so that the communication data is prevented from being attacked and used in the communication process, and the safety of data communication is improved.
Description
Technical Field
The present disclosure relates to the field of communications security technologies, and in particular, to a method and apparatus for networked broadcast communications, a storage medium, and a computer device.
Background
The networked broadcasting system is a bidirectional audio amplifying system transmitted by a digital network and comprises at least one networked host, a plurality of networked terminals and a plurality of loudspeakers, wherein the networked host and the networked terminals use digital data communication to transmit audio data on a local area network and a wide area network. Compared with the traditional broadcasting system, the audio quality of the transmitted audio is better, and the maintenance and management are more convenient.
The inventor finds that the devices in the current networked broadcasting system communicate by adopting a private communication protocol, and a plurality of unsafe factors exist in the network environment where the networked broadcasting system is located, so that the transmitted communication data is easy to be falsified in the actual network data communication process, and the safety of the data communication is reduced.
Disclosure of Invention
The present application aims to solve at least one of the above technical drawbacks, and in particular, the technical drawbacks of the prior art that the communication data is vulnerable to attack and impersonation during the communication process.
A networked broadcast communication method, comprising:
when receiving registration communication data sent by a current terminal, determining whether the registration communication data contains a communication identifier or not, wherein the communication identifier comprises an identifier number and a secret key;
if the registered communication data contains the communication identifier, determining whether the communication identifier is a valid identifier;
if the communication identifier is an effective identifier, judging whether each registered identity identifier corresponding to each registered terminal comprises the communication identifier or not;
if the corresponding identity of each registered terminal does not include the communication identity, determining that the communication identity is the identity which is pre-allocated to the current terminal, executing corresponding registration operation on the current terminal to complete registration of the current terminal, and carrying out broadcast communication with the current terminal which completes registration when receiving broadcast communication data sent by the current terminal which completes registration.
In the above network broadcast communication method, optionally, the determining whether the registered communication data includes a communication identifier includes:
traversing character segments at each predetermined location in the registered communication data;
determining whether a first character string meeting a first set format and a second character string meeting a second set format exist in each character segment, wherein the first character string represents the identification number, and the second character string represents the secret key;
and when the first character string meeting the first setting format and the second character string meeting the second setting format exist in each character segment at the same time, determining that the registered communication data contains the communication identifier.
In the above network broadcast communication method, optionally, the determining whether the communication identifier is a valid identifier includes:
invoking a preset verification algorithm to verify the identification number and the secret key included in the communication identification, and determining whether the identification number is matched with the secret key;
and when the identification number is determined to be matched with the key, determining that the communication identification is a valid identification.
In the above-mentioned network broadcast communication method, optionally, the process of assigning an identity to the current terminal includes:
starting a preset terminal identity generating tool, and triggering the terminal identity generating tool to send a multicast packet to a local area network where the terminal identity generating tool is located;
when the current terminal receives the multicast packet, the current terminal feeds back a terminal data packet to the terminal identity generating tool, wherein the terminal data packet contains parameter information of the current terminal, and the current terminal and the terminal identity generating tool are in the same local area network;
when receiving an authorization instruction of a user to the current terminal, the terminal identity generating tool generates a key and an identification number corresponding to the current terminal according to the parameter information of the current terminal;
and forming the communication identifier by the secret key and the identification number to serve as the identity identifier of the current terminal to be distributed to the current terminal for storage.
The above-mentioned network broadcast communication method, optionally, further includes:
and discarding the registered communication data sent by the current terminal if the registered communication data does not contain the communication identifier.
The above-mentioned network broadcast communication method, optionally, further includes:
and discarding the registered communication data sent by the current terminal if the communication identifier is a non-valid identifier.
A networked broadcast communication device, comprising:
a first determining unit, configured to determine, when receiving registration communication data sent by a current terminal, whether the registration communication data includes a communication identifier, where the communication identifier includes an identifier number and a key;
the second determining unit is used for determining whether the communication identifier is a valid identifier or not if the registered communication data contains the communication identifier;
the judging unit is used for judging whether the communication identification is included in the identification corresponding to each registered terminal if the communication identification is an effective identification;
and the communication unit is used for determining the communication identifier as the identifier which is pre-allocated to the current terminal if the communication identifier is not included in the identifiers corresponding to the registered terminals, executing corresponding registration operation on the current terminal so as to finish registration of the current terminal, and carrying out broadcast communication with the current terminal which finishes registration when receiving the broadcast communication data sent by the current terminal which finishes registration.
In the above-described networked broadcast communication method, optionally, the second determining unit includes:
a traversing subunit, configured to traverse a character segment at each predetermined position in the registered communication data;
a first determining subunit, configured to determine whether a first character string satisfying a first setting format and a second character string satisfying a second setting format exist in each character segment, where the first character string represents the identification number, and the second character string represents the key;
and the second determining subunit is used for determining that the registered communication data contains the communication identifier when the first character string meeting the first setting format and the second character string meeting the second setting format exist in the character segments at the same time.
A storage medium having stored therein computer readable instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of the networked broadcast communication method of any of the above.
An electronic device, comprising: one or more processors, and memory; the memory has stored therein computer readable instructions that, when executed by the one or more processors, perform the steps of any of the above-described networked broadcast communication methods.
In the networked broadcast communication method, the device, the storage medium and the computer equipment, when the computer equipment receives the registered communication data sent by the current terminal, determining whether the registered communication data contains a communication identifier, and if the registered communication data contains the communication identifier, determining whether the communication identifier is an effective identifier; and under the condition that the communication identifier is an effective identifier, determining whether the corresponding identity identifier of each registered terminal contains the communication identifier, if not, registering the current terminal, and allowing the current terminal registered to carry out broadcast communication service with the computer equipment. In the communication process of the computer equipment and the terminals, the computer equipment only performs broadcast communication with each registered terminal, and communication data sent by non-registered terminals are not accepted, so that the communication data is prevented from being attacked and used in the communication process, and the safety of data communication is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described below, it being obvious that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive faculty for a person skilled in the art.
Fig. 1 is a flow chart of a method for networked broadcast communication according to an embodiment of the present application;
fig. 2 is another flow chart of a method for networked broadcast communication according to an embodiment of the present application;
FIG. 3 is a diagram illustrating an exemplary method of networked broadcast communication according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of a networked broadcast communication device according to an embodiment of the present application;
fig. 5 is an internal structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The embodiment of the application provides a networked broadcast communication method, which can be applied to various networked broadcast system platforms, wherein an execution subject of the method can be various processors, terminals or computer devices associated in the networked broadcast system platform, and fig. 1 shows a flow schematic diagram of the networked broadcast communication method, and specifically includes the steps of:
s101: when receiving registration communication data sent by a current terminal, determining whether the registration communication data contains a communication identifier or not, wherein the communication identifier comprises an identifier number and a secret key;
in the networked system platform, at least one networked host and a plurality of networked terminals are arranged, broadcast communication can be performed between each terminal and the host on the basis of meeting communication conditions, communication data is transmitted to the host by the terminals, and the communication data is played by the host.
In this embodiment, a precondition for performing broadcast communication between the computer device and each terminal is that the terminal needs to register in the computer device, and only the terminal that passes the registration can be allowed to perform broadcast communication with the computer device.
In the actual broadcast communication process, when the computer equipment receives communication data sent by any terminal, determining whether the terminal is a registered terminal, namely whether the terminal is registered in the computer equipment, and if the terminal is a legal terminal in the network communication process with the computer equipment, only the communication data sent by the registered terminal is received by the computer equipment, and broadcast communication is carried out according to the received communication data.
In this embodiment, when any one of the terminals initiates a registration procedure to the computer device, the terminal may be regarded as a current terminal, and when the computer device receives registration communication data sent by the current terminal, the computer device determines whether the registration communication data includes a communication identifier, where the communication identifier includes an identification number and a key.
In this embodiment, the registration communication data sent by the current terminal may be a registration request, so as to trigger the computer device to start a registration authentication process for the current terminal.
The communication identifier comprises an identification number and a key, wherein the identification number and the key respectively belong to a character string with a corresponding preset format.
S102: if the registered communication data contains the communication identifier, determining whether the communication identifier is a valid identifier;
in this embodiment of the present application, the computer device further determines whether the communication identifier is a valid identifier when determining that the registered communication data sent by the current terminal includes the communication identifier. I.e. further determining if the source of the communication identity is the identity assigned to the current terminal by the predetermined device.
In this embodiment of the present application, if the registration communication data sent by the current terminal does not include the communication identifier, the registration communication data is discarded, and the registration process initiated by the current terminal is ended.
S103: if the communication identifier is an effective identifier, judging whether each registered identity identifier corresponding to each registered terminal comprises the communication identifier or not;
in this embodiment of the present application, when determining that the communication identifier is a valid identifier, the computer device further determines whether the identity identifier corresponding to each registered terminal that has completed registration includes the communication identifier, where each registered terminal corresponds to one identity identifier, and determines whether each registered terminal that has registered corresponds to each identity identifier includes the communication identifier, so as to further determine whether the communication identifier is the same as the identity identifier corresponding to a certain registered terminal, so as to determine whether the communication identifier in the registered communication data sent by the current terminal is unique, so as to prevent the current terminal from impersonating the identity identifier corresponding to other registered terminals.
In this embodiment of the present application, if the communication identifier is a non-valid identifier, the registration communication data is discarded, and the registration process initiated by the current terminal is ended.
S104: if the corresponding identity of each registered terminal does not include the communication identity, determining that the communication identity is the identity which is pre-allocated to the current terminal, executing corresponding registration operation on the current terminal to complete registration of the current terminal, and carrying out broadcast communication with the current terminal which completes registration when receiving broadcast communication data sent by the current terminal which completes registration.
In the embodiment of the application, if the corresponding identity of each registered terminal does not include the communication identifier, it may be determined that the communication identifier is an identity pre-assigned to the current terminal, which indicates that the current terminal meets a registration condition, and the computer device starts a registration process for the current terminal, performs a corresponding registration operation to complete registration for the current terminal, and in a subsequent process, when broadcast communication data sent by the current terminal after the registration is received again, the computer device may directly perform a broadcast communication service with the current terminal.
In the method provided by the embodiment of the application, when receiving the registration communication data sent by the current terminal, the computer equipment determines whether the registration communication data contains a communication identifier, and if the registration communication data contains the communication identifier, determines whether the communication identifier is an effective identifier; and under the condition that the communication identifier is an effective identifier, determining whether the corresponding identity identifier of each registered terminal contains the communication identifier, if not, registering the current terminal, and allowing the current terminal registered to carry out broadcast communication service with the computer equipment. In the communication process of the computer equipment and the terminals, each terminal needs to register with the computer equipment, the computer equipment only performs broadcast communication with each registered terminal, and communication data sent by non-registered terminals are not accepted, so that the communication data is prevented from being attacked and used in the communication process, and the safety of data communication is improved.
In the embodiment of the application, in the process of the network broadcast communication between each network terminal and the network host in the same local area network, when the terminal performs the broadcast communication with the computer equipment corresponding to the network host, the terminal needs to apply for registration to the computer equipment first.
The terminal sends a registration request to the computer equipment, wherein the registration request can be the registration communication data, the computer equipment responds to the registration request sent by the terminal when receiving the registration request or at a specific moment after receiving the registration request, and further determines whether the registration request contains a communication identifier or not, and the precondition that each terminal is allowed to carry out broadcast communication with the computer equipment is that the terminal is pre-allocated with the communication identifier corresponding to the terminal. The communication identifier includes a key corresponding to the terminal and the identifier number mentioned in the above example.
In this application example, when the terminal sends communication data to the computer device for broadcast communication, the terminal encrypts the communication data to be sent according to the key in the allocated communication identifier, and the communication data needs to include the identifier number.
In the method provided by the embodiment of the application, the terminal needs to register with the computer equipment, namely the networked host in advance in the process of broadcasting communication with the computer equipment, and only through the terminal registered in the computer equipment, the communication data sent to the computer equipment can be accepted in the process of broadcasting communication, so that the broadcasting communication is further carried out, the effectiveness of the terminal accessed to the computer equipment in the process of broadcasting communication is ensured, and the safety of the broadcasting communication is improved.
Referring to fig. 2, in a specific implementation process of the method for networked broadcast communication provided in the embodiment of the present application, a specific process for determining whether the registered communication data includes a communication identifier includes:
s201: traversing character segments at each predetermined location in the registered communication data;
in the embodiment of the application, the computer device may traverse the character segments of each predetermined location in the registration communication data, and the identification number and the key may exist in a specific location of the registration communication data according to the actual requirement.
S202: determining whether a first character string meeting a first set format and a second character string meeting a second set format exist in each character segment, wherein the first character string represents the identification number, and the second character string represents the secret key;
in the embodiment of the application, the identification number and the key exist in the form of character strings, corresponding fixed formats are preset, and in the actual operation process, if the first character string with the first set format exists, the identification number can be determined to exist in the registered communication data. If there is a second string in the second set format, it may be determined that a key exists in the registered communication data.
S203: and when the first character string meeting the first setting format and the second character string meeting the second setting format exist in each character segment at the same time, determining that the registered communication data contains the communication identifier.
In the embodiment of the present application, if the identification number and the key are both present in the registration communication data, it may be determined that the communication identification is present in the registration communication data.
The network broadcast communication method provided in the embodiment of the present application, the process of determining whether the communication identifier is a valid identifier, includes:
invoking a preset verification algorithm to verify the identification number and the secret key included in the communication identification, and determining whether the identification number is matched with the secret key;
and when the identification number is determined to be matched with the key, determining that the communication identification is a valid identification.
In the embodiment of the application, a corresponding verification algorithm is set, so that the identification number and the key included in the communication identification can be further verified, and if the identification number and the key are obtained through verification, the communication identification can be determined to be an effective identification.
In this embodiment of the present application, a process of assigning an identity to the current terminal includes:
starting a preset terminal identity generating tool, and triggering the terminal identity generating tool to send a multicast packet to a local area network where the terminal identity generating tool is located;
when the current terminal receives the multicast packet, the current terminal feeds back a terminal data packet to the terminal identity generating tool, wherein the terminal data packet contains parameter information of the current terminal, and the current terminal and the terminal identity generating tool are in the same local area network;
when receiving an authorization instruction of a user to the current terminal, the terminal identity generating tool generates a key and an identification number corresponding to the current terminal according to the parameter information of the current terminal;
and forming the communication identifier by the secret key and the identification number to serve as the identity identifier of the current terminal to be distributed to the current terminal for storage.
In the method provided by the embodiment of the application, a terminal identity generating tool is set in a local area network where each terminal and each computer device are located, and the terminal identity generating tool can be started only by a preset authority. When each terminal needs to be accessed to the local area network in an online manner, the terminal with the identity mark can perform broadcast communication in the current local area network only by distributing the corresponding identity mark to the terminal.
The terminal identity generating tool starts a searching function and sends a multicast packet to the local area network, and when each terminal in the local area network receives the multicast packet, the terminal feeds back a terminal data packet to the terminal identity generating tool, wherein the terminal data packet contains each parameter information of the terminal, such as the name, IP address and other terminal information of the terminal.
And each terminal feeding back the terminal data packet to the terminal identity generating tool is displayed on a display screen of the terminal identity generating tool, a user of the local area network control center selects corresponding terminals which can be accessed to broadcast communication on the display screen, the terminals are authorized, and the terminal identity generating tool generates a secret key and an identification number corresponding to the terminal according to parameter information of the terminal when receiving an authorization instruction of the user to the specific terminal.
The terminal identity generating tool forms the generated secret key and the generated identification number corresponding to the terminal into a communication identification to serve as the identity identification of the terminal, and distributes the communication identification to the terminal for permanent storage.
In the method provided by the embodiment of the application, the registration communication data sent by the terminal to the computer equipment are encrypted by the corresponding key, and in the process of verifying whether the registration communication data sent by the terminal contains the corresponding communication identifier, the computer equipment needs to apply a preset decryption algorithm to decrypt the registration communication data, then perform character string traversal, and traverse each data character in the decrypted registration communication data to determine whether the registration communication data contains the communication identifier.
Referring to fig. 3, a specific example diagram provided in an embodiment of the present application is shown, which is a specific system architecture of a broadcast communication network platform, and includes a terminal identity generating tool, a networked terminal, and a networked host, where the corresponding computer device that specifically performs broadcast communication is a corresponding computer device of the networked host.
In a specific implementation process, after a batch of networked terminals are produced, before batch aging, a networked terminal identity generating tool needs to be connected, and all the used communication is based on network communication. All the networked terminals and the terminal identity generating tool are in the same local area network, only one terminal is shown in fig. 3, a plurality of terminals can be arranged in the local area network in the actual application process, and a user clicks an automatic search button on the terminal identity generating tool to send a multicast packet to the local area network; after receiving the multicast packet, the terminal replies a data packet to the terminal identity generating tool, wherein the data packet contains some parameter information of the terminal. All terminal information is displayed on a terminal identity generating tool interface, a user selects a terminal needing authorization, then clicks an authorization function button, and the generated unique identification number and the secret key are sent to each networked terminal together for permanent storage. The identification number can be an electronic identification card number allocated to the terminal and used for corresponding identity authentication of the terminal.
In the practical application process, the host and the terminal are connected together through a network cable and a switch. When registering with the host, the terminal needs to carry the identification number and the secret key, and if the information is not available, the host directly confirms that the terminal is not authorized and the registration is unsuccessful. The host receives the identification number and the secret key, performs electronic identity verification, and adds a core verification algorithm in the verification process. Verification is passed, which means that the terminal is legal and registration is successful; failure to verify indicates that the terminal is not legitimate and the registration is unsuccessful.
In this embodiment, the terminal that registers successfully may include its own electronic id card number in each piece of communication content with the host. The host receives the data packet of the terminal and performs legal data acceptance, and the process mainly relates to MD5 technical citation. Legal data will be processed by normal reception and illegal data will be lost directly.
According to the networked broadcast communication method provided by the embodiment of the application, aiming at the phenomenon that in the actual use of the existing technical scheme, abnormal networked terminal products are accessed into a networked broadcast system project, and communication data are easy to forge. Compared with the prior art, the technical scheme of the application uses the electronic identity card number to authorize legal identity for the networked product, and equipment without legal identity is not allowed to be accessed into the project. In addition, in the normal operation communication process, an electronic identification card number detection process is added, so that the communication data is safe and reliable.
The following describes a networked broadcast communication device provided in an embodiment of the present application, and the networked broadcast communication device described below and the networked broadcast communication method described above may be referred to correspondingly to each other.
In one embodiment, the present application also provides a networked broadcast communication apparatus. As shown in fig. 4, the apparatus specifically includes:
a first determining unit 301, configured to determine, when receiving registration communication data sent by a current terminal, whether the registration communication data includes a communication identifier, where the communication identifier includes an identification number and a key;
a second determining unit 302, configured to determine whether the communication identifier is a valid identifier if the registered communication data includes the communication identifier;
a judging unit 303, configured to judge whether each identity identifier corresponding to each registered terminal includes the communication identifier if the communication identifier is a valid identifier;
and the communication unit 304 is configured to determine that the communication identifier is an identifier pre-allocated to the current terminal if the corresponding identifier of each registered terminal does not include the communication identifier, perform a corresponding registration operation on the current terminal to complete registration of the current terminal, and perform broadcast communication with the current terminal after registration is completed when broadcast communication data sent by the current terminal after registration is received.
In the device provided by the embodiment of the application, the device is arranged in the computer equipment, when receiving the registration communication data sent by the current terminal, whether the registration communication data contains a communication identifier is determined, and if the registration communication data contains the communication identifier, whether the communication identifier is an effective identifier is determined; and under the condition that the communication identifier is an effective identifier, determining whether the corresponding identity identifier of each registered terminal contains the communication identifier, if not, registering the current terminal, and allowing the current terminal registered to carry out broadcast communication service with the computer equipment. In the communication process of the computer equipment and the terminals, the computer equipment only performs broadcast communication with each registered terminal, and the communication data sent by the non-registered terminal is not accepted, so that the communication data is prevented from being attacked and used in the communication process, and the safety of data communication is improved
On the basis of fig. 4, in the apparatus provided in the embodiment of the present application, the second determining unit includes:
a traversing subunit, configured to traverse a character segment at each predetermined position in the registered communication data;
a first determining subunit, configured to determine whether a first character string satisfying a first setting format and a second character string satisfying a second setting format exist in each character segment, where the first character string represents the identification number, and the second character string represents the key;
and the second determining subunit is used for determining that the registered communication data contains the communication identifier when the first character string meeting the first setting format and the second character string meeting the second setting format exist in the character segments at the same time.
In one embodiment, the present application also provides a storage medium having stored therein computer readable instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of the networked broadcast communication method as in any embodiment.
In one embodiment, the present application also provides a computer device having stored therein computer readable instructions that, when executed by one or more processors, cause the one or more processors to perform the steps of the networked broadcast communication method as in any embodiment.
Schematically, fig. 5 is a schematic internal structure of a computer device provided in an embodiment of the present application, where in an example, the computer device may be a server. Referring to FIG. 5, computer device 900 includes a processing component 902 that further includes one or more processors, and memory resources represented by memory 901, for storing instructions, such as applications, executable by processing component 902. The application program stored in the memory 901 may include one or more modules each corresponding to a set of instructions. Further, the processing component 902 is configured to execute instructions to perform the steps of the networked broadcast communication method of any of the embodiments described above.
The computer device 900 may also include a power component 903 configured to perform power management of the computer device 900, a wired or wireless network interface 904 configured to connect the computer device 900 to a network, and an input output (I/O) interface 905. The computer device 900 may operate based on an operating system stored in memory 901, such as Windows Server TM, mac OS XTM, unix, linux, free BSDTM, or the like.
It will be appreciated by those skilled in the art that the internal structure of the computer device shown in the present application is merely a block diagram of some of the structures related to the aspects of the present application and does not constitute a limitation of the computer device to which the aspects of the present application apply, and that a particular computer device may include more or less components than those shown in the figures, or may combine some of the components, or have a different arrangement of the components.
Finally, it is further noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Herein, "a," "an," "the," and "the" may also include plural forms, unless the context clearly indicates otherwise. Plural means at least two cases such as 2, 3, 5 or 8, etc. "and/or" includes any and all combinations of the associated listed items.
In the present specification, each embodiment is described in a progressive manner, and each embodiment focuses on the difference from other embodiments, and may be combined according to needs, and the same similar parts may be referred to each other.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A method of networked broadcast communication, comprising:
when receiving registration communication data sent by a current terminal, determining whether the registration communication data contains a communication identifier or not, wherein the communication identifier comprises an identifier number and a secret key;
if the registered communication data contains the communication identifier, determining whether the communication identifier is a valid identifier;
if the communication identifier is an effective identifier, judging whether each registered identity identifier corresponding to each registered terminal comprises the communication identifier or not;
if the corresponding identity of each registered terminal does not include the communication identity, determining that the communication identity is the identity which is pre-allocated to the current terminal, executing corresponding registration operation on the current terminal to complete registration of the current terminal, and carrying out broadcast communication with the current terminal which completes registration when receiving broadcast communication data sent by the current terminal which completes registration.
2. The networked broadcast communication method of claim 1, wherein determining whether the registered communication data includes a communication identifier comprises:
traversing character segments at each predetermined location in the registered communication data;
determining whether a first character string meeting a first set format and a second character string meeting a second set format exist in each character segment, wherein the first character string represents the identification number, and the second character string represents the secret key;
and when the first character string meeting the first setting format and the second character string meeting the second setting format exist in each character segment at the same time, determining that the registered communication data contains the communication identifier.
3. The networked broadcast communication method according to claim 1 or 2, wherein the determining whether the communication identifier is a valid identifier includes:
invoking a preset verification algorithm to verify the identification number and the secret key included in the communication identification, and determining whether the identification number is matched with the secret key;
and when the identification number is determined to be matched with the key, determining that the communication identification is a valid identification.
4. The networked broadcast communication method according to claim 1, wherein the process of assigning an identity to the current terminal comprises:
starting a preset terminal identity generating tool, and triggering the terminal identity generating tool to send a multicast packet to a local area network where the terminal identity generating tool is located;
when the current terminal receives the multicast packet, the current terminal feeds back a terminal data packet to the terminal identity generating tool, wherein the terminal data packet contains parameter information of the current terminal, and the current terminal and the terminal identity generating tool are in the same local area network;
when receiving an authorization instruction of a user to the current terminal, the terminal identity generating tool generates a key and an identification number corresponding to the current terminal according to the parameter information of the current terminal;
and forming the communication identifier by the secret key and the identification number to serve as the identity identifier of the current terminal to be distributed to the current terminal for storage.
5. The networked broadcast communication method of claim 1, further comprising:
and discarding the registered communication data sent by the current terminal if the registered communication data does not contain the communication identifier.
6. The networked broadcast communication method of claim 1, further comprising:
and discarding the registered communication data sent by the current terminal if the communication identifier is a non-valid identifier.
7. A networked broadcast communication apparatus, comprising:
a first determining unit, configured to determine, when receiving registration communication data sent by a current terminal, whether the registration communication data includes a communication identifier, where the communication identifier includes an identifier number and a key;
the second determining unit is used for determining whether the communication identifier is a valid identifier or not if the registered communication data contains the communication identifier;
the judging unit is used for judging whether the communication identification is included in the identification corresponding to each registered terminal if the communication identification is an effective identification;
and the communication unit is used for determining the communication identifier as the identifier which is pre-allocated to the current terminal if the communication identifier is not included in the identifiers corresponding to the registered terminals, executing corresponding registration operation on the current terminal so as to finish registration of the current terminal, and carrying out broadcast communication with the current terminal which finishes registration when receiving the broadcast communication data sent by the current terminal which finishes registration.
8. The networked broadcast communication method according to claim 7, wherein the second determination unit includes:
a traversing subunit, configured to traverse a character segment at each predetermined position in the registered communication data;
a first determining subunit, configured to determine whether a first character string satisfying a first setting format and a second character string satisfying a second setting format exist in each character segment, where the first character string represents the identification number, and the second character string represents the key;
and the second determining subunit is used for determining that the registered communication data contains the communication identifier when the first character string meeting the first setting format and the second character string meeting the second setting format exist in the character segments at the same time.
9. A storage medium having stored therein computer readable instructions which, when executed by one or more processors, cause the one or more processors to perform the steps of the networked broadcast communication method of any of claims 1 to 6.
10. An electronic device, comprising: one or more processors, and memory; stored in the memory are computer readable instructions which, when executed by the one or more processors, perform the steps of the networked broadcast communication method of any one of claims 1 to 6.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310427890.3A CN116436905B (en) | 2023-04-19 | 2023-04-19 | Network broadcast communication method and device, storage medium and computer equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310427890.3A CN116436905B (en) | 2023-04-19 | 2023-04-19 | Network broadcast communication method and device, storage medium and computer equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116436905A true CN116436905A (en) | 2023-07-14 |
CN116436905B CN116436905B (en) | 2023-11-28 |
Family
ID=87081283
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310427890.3A Active CN116436905B (en) | 2023-04-19 | 2023-04-19 | Network broadcast communication method and device, storage medium and computer equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116436905B (en) |
Citations (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020178366A1 (en) * | 2001-05-24 | 2002-11-28 | Amiran Ofir | Method for performing on behalf of a registered user an operation on data stored on a publicly accessible data access server |
CN102196438A (en) * | 2010-03-16 | 2011-09-21 | 高通股份有限公司 | Communication terminal identifier management methods and device |
CN103107974A (en) * | 2011-11-09 | 2013-05-15 | 腾讯科技(深圳)有限公司 | Method for registration and login of users and mobile terminal |
CN103685249A (en) * | 2013-12-03 | 2014-03-26 | 华为技术有限公司 | Method for application registration, terminals and server |
CN104636921A (en) * | 2013-11-06 | 2015-05-20 | 腾讯科技(深圳)有限公司 | Online payment method, online payment system and online payment server system based on communication group |
CN105391695A (en) * | 2015-10-20 | 2016-03-09 | 山东泰信电子股份有限公司 | Terminal registration method and verification method |
CN105516172A (en) * | 2015-12-25 | 2016-04-20 | 湖北海洋文化传播有限公司 | Identity authentication terminal, identity authentication system and online affair handling platform |
CN106302544A (en) * | 2016-10-18 | 2017-01-04 | 深圳市金立通信设备有限公司 | A kind of safe verification method and system |
CN106714137A (en) * | 2016-12-14 | 2017-05-24 | 北京佰才邦技术有限公司 | Registration method and device, calling method and device and application server and system |
CN106936798A (en) * | 2015-12-31 | 2017-07-07 | 中国移动通信集团江苏有限公司 | A kind of service authentication method and device |
CN107539271A (en) * | 2017-08-22 | 2018-01-05 | 济宁中科先进技术研究院有限公司 | Low-power consumption high safety vehicle anti-theft tracing system and its method |
CN107659664A (en) * | 2017-10-30 | 2018-02-02 | 珠海格力电器股份有限公司 | Message transmission method, device and system |
CN107733891A (en) * | 2017-10-17 | 2018-02-23 | 深圳市金立通信设备有限公司 | A kind of user registering method, server and computer-readable recording medium |
CN108234450A (en) * | 2017-12-08 | 2018-06-29 | 海信集团有限公司 | A kind of identity authentication method, the method for endpoint registration, server and terminal |
WO2019052281A1 (en) * | 2017-09-12 | 2019-03-21 | 京信通信系统(中国)有限公司 | Block chain-based mobile terminal authentication management method and apparatus, and corresponding mobile terminal |
CN110071950A (en) * | 2018-01-23 | 2019-07-30 | 中兴通讯股份有限公司 | Information transferring method, transferring device, terminal, controlled plant and storage medium |
CN110291757A (en) * | 2017-02-21 | 2019-09-27 | 科因普拉格株式会社 | For providing the method for simplified account register service, user authentication service and utilizing its certificate server |
CN111200574A (en) * | 2018-11-16 | 2020-05-26 | 北京嘀嘀无限科技发展有限公司 | Account establishing method, device and equipment and computer readable storage medium |
CN111355571A (en) * | 2018-12-21 | 2020-06-30 | 中国电信股份有限公司 | Method, terminal, connection management platform and system for generating identity authentication private key |
CN112448930A (en) * | 2019-09-02 | 2021-03-05 | 北京车和家信息技术有限公司 | Account registration method, device, server and computer readable storage medium |
CN112910663A (en) * | 2021-01-14 | 2021-06-04 | 网易(杭州)网络有限公司 | Method, device, equipment and storage medium for message broadcasting and terminal registration |
CN113225188A (en) * | 2020-01-19 | 2021-08-06 | 华为技术有限公司 | Login authentication method, device and system |
CN113254969A (en) * | 2021-06-08 | 2021-08-13 | 挂号网(杭州)科技有限公司 | Service data processing method and device, electronic equipment and storage medium |
CN114024750A (en) * | 2021-11-05 | 2022-02-08 | 北京天融信网络安全技术有限公司 | Gateway access authentication method and device |
CN114584971A (en) * | 2022-02-15 | 2022-06-03 | 北京快乐茄信息技术有限公司 | Account registration method and device, electronic equipment and storage medium |
CN115022980A (en) * | 2022-06-07 | 2022-09-06 | 夏文祥 | Method and device for randomly accessing terminal to network |
CN115396887A (en) * | 2022-07-22 | 2022-11-25 | 西安电子科技大学 | Rapid and safe switching authentication method, device and system for high-speed mobile terminal |
-
2023
- 2023-04-19 CN CN202310427890.3A patent/CN116436905B/en active Active
Patent Citations (27)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020178366A1 (en) * | 2001-05-24 | 2002-11-28 | Amiran Ofir | Method for performing on behalf of a registered user an operation on data stored on a publicly accessible data access server |
CN102196438A (en) * | 2010-03-16 | 2011-09-21 | 高通股份有限公司 | Communication terminal identifier management methods and device |
CN103107974A (en) * | 2011-11-09 | 2013-05-15 | 腾讯科技(深圳)有限公司 | Method for registration and login of users and mobile terminal |
CN104636921A (en) * | 2013-11-06 | 2015-05-20 | 腾讯科技(深圳)有限公司 | Online payment method, online payment system and online payment server system based on communication group |
CN103685249A (en) * | 2013-12-03 | 2014-03-26 | 华为技术有限公司 | Method for application registration, terminals and server |
CN105391695A (en) * | 2015-10-20 | 2016-03-09 | 山东泰信电子股份有限公司 | Terminal registration method and verification method |
CN105516172A (en) * | 2015-12-25 | 2016-04-20 | 湖北海洋文化传播有限公司 | Identity authentication terminal, identity authentication system and online affair handling platform |
CN106936798A (en) * | 2015-12-31 | 2017-07-07 | 中国移动通信集团江苏有限公司 | A kind of service authentication method and device |
CN106302544A (en) * | 2016-10-18 | 2017-01-04 | 深圳市金立通信设备有限公司 | A kind of safe verification method and system |
CN106714137A (en) * | 2016-12-14 | 2017-05-24 | 北京佰才邦技术有限公司 | Registration method and device, calling method and device and application server and system |
CN110291757A (en) * | 2017-02-21 | 2019-09-27 | 科因普拉格株式会社 | For providing the method for simplified account register service, user authentication service and utilizing its certificate server |
CN107539271A (en) * | 2017-08-22 | 2018-01-05 | 济宁中科先进技术研究院有限公司 | Low-power consumption high safety vehicle anti-theft tracing system and its method |
WO2019052281A1 (en) * | 2017-09-12 | 2019-03-21 | 京信通信系统(中国)有限公司 | Block chain-based mobile terminal authentication management method and apparatus, and corresponding mobile terminal |
CN107733891A (en) * | 2017-10-17 | 2018-02-23 | 深圳市金立通信设备有限公司 | A kind of user registering method, server and computer-readable recording medium |
CN107659664A (en) * | 2017-10-30 | 2018-02-02 | 珠海格力电器股份有限公司 | Message transmission method, device and system |
CN108234450A (en) * | 2017-12-08 | 2018-06-29 | 海信集团有限公司 | A kind of identity authentication method, the method for endpoint registration, server and terminal |
CN110071950A (en) * | 2018-01-23 | 2019-07-30 | 中兴通讯股份有限公司 | Information transferring method, transferring device, terminal, controlled plant and storage medium |
CN111200574A (en) * | 2018-11-16 | 2020-05-26 | 北京嘀嘀无限科技发展有限公司 | Account establishing method, device and equipment and computer readable storage medium |
CN111355571A (en) * | 2018-12-21 | 2020-06-30 | 中国电信股份有限公司 | Method, terminal, connection management platform and system for generating identity authentication private key |
CN112448930A (en) * | 2019-09-02 | 2021-03-05 | 北京车和家信息技术有限公司 | Account registration method, device, server and computer readable storage medium |
CN113225188A (en) * | 2020-01-19 | 2021-08-06 | 华为技术有限公司 | Login authentication method, device and system |
CN112910663A (en) * | 2021-01-14 | 2021-06-04 | 网易(杭州)网络有限公司 | Method, device, equipment and storage medium for message broadcasting and terminal registration |
CN113254969A (en) * | 2021-06-08 | 2021-08-13 | 挂号网(杭州)科技有限公司 | Service data processing method and device, electronic equipment and storage medium |
CN114024750A (en) * | 2021-11-05 | 2022-02-08 | 北京天融信网络安全技术有限公司 | Gateway access authentication method and device |
CN114584971A (en) * | 2022-02-15 | 2022-06-03 | 北京快乐茄信息技术有限公司 | Account registration method and device, electronic equipment and storage medium |
CN115022980A (en) * | 2022-06-07 | 2022-09-06 | 夏文祥 | Method and device for randomly accessing terminal to network |
CN115396887A (en) * | 2022-07-22 | 2022-11-25 | 西安电子科技大学 | Rapid and safe switching authentication method, device and system for high-speed mobile terminal |
Non-Patent Citations (1)
Title |
---|
野狼谷,: ""SpringBoot注册登录(三):注册——验证账号密码是否符合格式及后台完成注册功能"", 《WWW.CNBLOGS.COM/YELANGGU/P/ 10215875.HTML》 * |
Also Published As
Publication number | Publication date |
---|---|
CN116436905B (en) | 2023-11-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107979514B (en) | Method and device for binding devices | |
CN108259502B (en) | Authentication method for obtaining interface access authority, server and storage medium | |
CN109120649B (en) | Key agreement method, cloud server, device, storage medium and system | |
CN106657152B (en) | Authentication method, server and access control device | |
CN110113355B (en) | Internet of things cloud access method and device | |
CN113099443A (en) | Equipment authentication method, device, equipment and system | |
CN102955700A (en) | System and method for upgrading software | |
CN112313648A (en) | Authentication system, authentication method, application providing device, authentication device, and authentication program | |
CN110995710B (en) | Smart home authentication method based on eUICC | |
CN110662091B (en) | Third-party live video access method, storage medium, electronic device and system | |
EP3724798B1 (en) | Method for authenticating a user based on an image relation rule and corresponding first user device, server and system | |
CN107872445B (en) | Access authentication method, device and authentication system | |
CN111131300A (en) | Communication method, terminal and server | |
CN114189863B (en) | Binding method and device of intelligent door lock, storage medium and electronic device | |
CN112380501B (en) | Equipment operation method, device, equipment and storage medium | |
CN112565281B (en) | Information processing method, server and system of service key | |
CN108881280B (en) | Access method, content distribution network system and access system | |
CN108063748B (en) | User authentication method, device and system | |
CN114499999B (en) | Identity authentication method, device, platform, vehicle, equipment and medium | |
WO2006024216A1 (en) | A method for implementing certificating and a system thereof | |
CN110598469A (en) | Information processing method and device and computer storage medium | |
CN116436905B (en) | Network broadcast communication method and device, storage medium and computer equipment | |
CN112818329B (en) | Authentication method and device, user side, equipment side and storage medium | |
CN110381505B (en) | Method and device for accessing network hard disk video recorder | |
CN111835765B (en) | Verification method and device |
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 |